@everymatrix/casino-games-category-section-nd 1.94.61 → 1.94.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFilter-CqMCN5p8.js → CasinoFilter-8ZOwcEg2.js} +1 -1
- package/components/{CasinoFilter-PlAxsVl9.cjs → CasinoFilter-DZAkhTTh.cjs} +1 -1
- package/components/{CasinoFilter-Cv-jXVwH.js → CasinoFilter-gkcCF5PE.js} +1 -1
- package/components/{CasinoGameThumbnailNd-DEtJd7X-.cjs → CasinoGameThumbnailNd-Bz-WLu9l.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-md4YgiUv.js → CasinoGameThumbnailNd-CNsWE_Yz.js} +1 -1
- package/components/{CasinoGameThumbnailNd-VLAxPwN0.js → CasinoGameThumbnailNd-DxnuGdVG.js} +1 -1
- package/components/{CasinoGamesCategorySectionNd-DreztP-l.js → CasinoGamesCategorySectionNd-Bv50yTwt.js} +4 -4
- package/components/{CasinoGamesCategorySectionNd-CtVhjTbC.js → CasinoGamesCategorySectionNd-CNvIV5S8.js} +4 -4
- package/components/{CasinoGamesCategorySectionNd-BJLE8OWg.cjs → CasinoGamesCategorySectionNd-CryIXNDn.cjs} +1 -1
- package/components/{CasinoSort-Bycwm5CV.cjs → CasinoSort-B-ceqNrX.cjs} +1 -1
- package/components/{CasinoSort-BmdiI6qr.js → CasinoSort-C5abypI2.js} +1 -1
- package/components/{CasinoSort-DIyuOyru.js → CasinoSort-CTn8ubKg.js} +1 -1
- package/es2015/casino-games-category-section-nd.cjs +1 -1
- package/es2015/casino-games-category-section-nd.js +1 -1
- package/esnext/casino-games-category-section-nd.js +1 -1
- package/package.json +1 -1
|
@@ -15,4 +15,4 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
15
15
|
`+n.map(function(r,a){return a+1+") "+r.toString()}).join(`
|
|
16
16
|
`):"",this.name="UnsubscriptionError",this.errors=n}});function xn(t,e){if(t){var n=t.indexOf(e);0<=n&&t.splice(n,1)}}var Jt=function(){function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var e,n,r,a,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=In(o),u=s.next();!u.done;u=s.next()){var c=u.value;c.remove(this)}}catch(y){e={error:y}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}else o.remove(this);var d=this.initialTeardown;if(Me(d))try{d()}catch(y){i=y instanceof yn?y.errors:[y]}var g=this._finalizers;if(g){this._finalizers=null;try{for(var p=In(g),v=p.next();!v.done;v=p.next()){var b=v.value;try{hr(b)}catch(y){i=i!=null?i:[],y instanceof yn?i=Ln(Ln([],Gn(i)),Gn(y.errors)):i.push(y)}}}catch(y){r={error:y}}finally{try{v&&!v.done&&(a=p.return)&&a.call(p)}finally{if(r)throw r.error}}}if(i)throw new yn(i)}},t.prototype.add=function(e){var n;if(e&&e!==this)if(this.closed)hr(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}},t.prototype._hasParent=function(e){var n=this._parentage;return n===e||Array.isArray(n)&&n.includes(e)},t.prototype._addParent=function(e){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e},t.prototype._removeParent=function(e){var n=this._parentage;n===e?this._parentage=null:Array.isArray(n)&&xn(n,e)},t.prototype.remove=function(e){var n=this._finalizers;n&&xn(n,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),ba=Jt.EMPTY;function _a(t){return t instanceof Jt||t&&"closed"in t&&Me(t.remove)&&Me(t.add)&&Me(t.unsubscribe)}function hr(t){Me(t)?t():t.unsubscribe()}var Qi={Promise:void 0},Ji={setTimeout:function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,Ln([t,e],Gn(n)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function Zi(t){Ji.setTimeout(function(){throw t})}function mr(){}function Ut(t){t()}var ya=function(t){Et(e,t);function e(n){var r=t.call(this)||this;return r.isStopped=!1,n?(r.destination=n,_a(n)&&n.add(r)):r.destination=eo,r}return e.create=function(n,r,a){return new Fn(n,r,a)},e.prototype.next=function(n){this.isStopped||this._next(n)},e.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(n){this.destination.next(n)},e.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(Jt),$i=function(){function t(e){this.partialObserver=e}return t.prototype.next=function(e){var n=this.partialObserver;if(n.next)try{n.next(e)}catch(r){Bt(r)}},t.prototype.error=function(e){var n=this.partialObserver;if(n.error)try{n.error(e)}catch(r){Bt(r)}else Bt(e)},t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(n){Bt(n)}},t}(),Fn=function(t){Et(e,t);function e(n,r,a){var i=t.call(this)||this,o;return Me(n)||!n?o={next:n!=null?n:void 0,error:r!=null?r:void 0,complete:a!=null?a:void 0}:o=n,i.destination=new $i(o),i}return e}(ya);function Bt(t){Zi(t)}function Ki(t){throw t}var eo={closed:!0,next:mr,error:Ki,complete:mr},to=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function no(t){return t}function ro(t){return t.length===0?no:t.length===1?t[0]:function(n){return t.reduce(function(r,a){return a(r)},n)}}var dr=function(){function t(e){e&&(this._subscribe=e)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(e,n,r){var a=this,i=io(e)?e:new Fn(e,n,r);return Ut(function(){var o=a,s=o.operator,u=o.source;i.add(s?s.call(i,u):u?a._subscribe(i):a._trySubscribe(i))}),i},t.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(n){e.error(n)}},t.prototype.forEach=function(e,n){var r=this;return n=gr(n),new n(function(a,i){var o=new Fn({next:function(s){try{e(s)}catch(u){i(u),o.unsubscribe()}},error:i,complete:a});r.subscribe(o)})},t.prototype._subscribe=function(e){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(e)},t.prototype[to]=function(){return this},t.prototype.pipe=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return ro(e)(this)},t.prototype.toPromise=function(e){var n=this;return e=gr(e),new e(function(r,a){var i;n.subscribe(function(o){return i=o},function(o){return a(o)},function(){return r(i)})})},t.create=function(e){return new t(e)},t}();function gr(t){var e;return(e=t!=null?t:Qi.Promise)!==null&&e!==void 0?e:Promise}function ao(t){return t&&Me(t.next)&&Me(t.error)&&Me(t.complete)}function io(t){return t&&t instanceof ya||ao(t)&&_a(t)}var oo=va(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),wa=function(t){Et(e,t);function e(){var n=t.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return e.prototype.lift=function(n){var r=new pr(this,this);return r.operator=n,r},e.prototype._throwIfClosed=function(){if(this.closed)throw new oo},e.prototype.next=function(n){var r=this;Ut(function(){var a,i;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=In(r.currentObservers),s=o.next();!s.done;s=o.next()){var u=s.value;u.next(n)}}catch(c){a={error:c}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}}})},e.prototype.error=function(n){var r=this;Ut(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var a=r.observers;a.length;)a.shift().error(n)}})},e.prototype.complete=function(){var n=this;Ut(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(n){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,n)},e.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},e.prototype._innerSubscribe=function(n){var r=this,a=this,i=a.hasError,o=a.isStopped,s=a.observers;return i||o?ba:(this.currentObservers=null,s.push(n),new Jt(function(){r.currentObservers=null,xn(s,n)}))},e.prototype._checkFinalizedStatuses=function(n){var r=this,a=r.hasError,i=r.thrownError,o=r.isStopped;a?n.error(i):o&&n.complete()},e.prototype.asObservable=function(){var n=new dr;return n.source=this,n},e.create=function(n,r){return new pr(n,r)},e}(dr),pr=function(t){Et(e,t);function e(n,r){var a=t.call(this)||this;return a.destination=n,a.source=r,a}return e.prototype.next=function(n){var r,a;(a=(r=this.destination)===null||r===void 0?void 0:r.next)===null||a===void 0||a.call(r,n)},e.prototype.error=function(n){var r,a;(a=(r=this.destination)===null||r===void 0?void 0:r.error)===null||a===void 0||a.call(r,n)},e.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},e.prototype._subscribe=function(n){var r,a;return(a=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&a!==void 0?a:ba},e}(wa),Ea={now:function(){return(Ea.delegate||Date).now()},delegate:void 0},so=function(t){Et(e,t);function e(n,r,a){n===void 0&&(n=1/0),r===void 0&&(r=1/0),a===void 0&&(a=Ea);var i=t.call(this)||this;return i._bufferSize=n,i._windowTime=r,i._timestampProvider=a,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,n),i._windowTime=Math.max(1,r),i}return e.prototype.next=function(n){var r=this,a=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,s=r._timestampProvider,u=r._windowTime;a||(i.push(n),!o&&i.push(s.now()+u)),this._trimBuffer(),t.prototype.next.call(this,n)},e.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),a=this,i=a._infiniteTimeWindow,o=a._buffer,s=o.slice(),u=0;u<s.length&&!n.closed;u+=i?1:2)n.next(s[u]);return this._checkFinalizedStatuses(n),r},e.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,a=n._timestampProvider,i=n._buffer,o=n._infiniteTimeWindow,s=(o?1:2)*r;if(r<1/0&&s<i.length&&i.splice(0,i.length-s),!o){for(var u=a.now(),c=0,d=1;d<i.length&&i[d]<=u;d+=2)c=d;c&&i.splice(0,c+1)}},e}(wa);const vr=[],br={},lo=(t,e=0)=>{if(vr.indexOf(t)==-1){const n=new so(e);br[t]=n,vr.push(t)}return br[t]},Xe=[];function uo(t,e){return{subscribe:Zt(t,e).subscribe}}function Zt(t,e=ee){let n;const r=new Set;function a(s){if(qn(t,s)&&(t=s,n)){const u=!Xe.length;for(const c of r)c[1](),Xe.push(c,t);if(u){for(let c=0;c<Xe.length;c+=2)Xe[c][0](Xe[c+1]);Xe.length=0}}}function i(s){a(s(t))}function o(s,u=ee){const c=[s,u];return r.add(c),r.size===1&&(n=e(a,i)||ee),s(t),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:a,update:i,subscribe:o}}function nt(t,e,n){const r=!Array.isArray(t),a=r?[t]:t;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=e.length<2;return uo(n,(o,s)=>{let u=!1;const c=[];let d=0,g=ee;const p=()=>{if(d)return;g();const b=e(r?c[0]:c,o,s);i?o(b):g=Xn(b)?b:ee},v=a.map((b,y)=>ta(b,f=>{c[y]=f,d&=~(1<<y),u&&p()},()=>{d|=1<<y}));return u=!0,p(),function(){Ue(v),g(),u=!1}})}function co(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var fo=function(e){return ho(e)&&!mo(e)};function ho(t){return!!t&&typeof t=="object"}function mo(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||vo(t)}var go=typeof Symbol=="function"&&Symbol.for,po=go?Symbol.for("react.element"):60103;function vo(t){return t.$$typeof===po}function bo(t){return Array.isArray(t)?[]:{}}function yt(t,e){return e.clone!==!1&&e.isMergeableObject(t)?$e(bo(t),t,e):t}function _o(t,e,n){return t.concat(e).map(function(r){return yt(r,n)})}function yo(t,e){if(!e.customMerge)return $e;var n=e.customMerge(t);return typeof n=="function"?n:$e}function wo(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function _r(t){return Object.keys(t).concat(wo(t))}function Sa(t,e){try{return e in t}catch(n){return!1}}function Eo(t,e){return Sa(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function So(t,e,n){var r={};return n.isMergeableObject(t)&&_r(t).forEach(function(a){r[a]=yt(t[a],n)}),_r(e).forEach(function(a){Eo(t,a)||(Sa(t,a)&&n.isMergeableObject(e[a])?r[a]=yo(a,n)(t[a],e[a],n):r[a]=yt(e[a],n))}),r}function $e(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||_o,n.isMergeableObject=n.isMergeableObject||fo,n.cloneUnlessOtherwiseSpecified=yt;var r=Array.isArray(e),a=Array.isArray(t),i=r===a;return i?r?n.arrayMerge(t,e,n):So(t,e,n):yt(e,n)}$e.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(r,a){return $e(r,a,n)},{})};var Co=$e,To=Co;const Mo=co(To);var Bn=function(t,e){return Bn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},Bn(t,e)};function $t(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Bn(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var ye=function(){return ye=Object.assign||function(e){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ye.apply(this,arguments)};function Po(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(t);a<r.length;a++)e.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(t,r[a])&&(n[r[a]]=t[r[a]]);return n}function wn(t,e,n){if(n||arguments.length===2)for(var r=0,a=e.length,i;r<a;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function En(t,e){var n=e&&e.cache?e.cache:Go,r=e&&e.serializer?e.serializer:Ho,a=e&&e.strategy?e.strategy:No;return a(t,{cache:n,serializer:r})}function Oo(t){return t==null||typeof t=="number"||typeof t=="boolean"}function ko(t,e,n,r){var a=Oo(r)?r:n(r),i=e.get(a);return typeof i=="undefined"&&(i=t.call(this,r),e.set(a,i)),i}function Ca(t,e,n){var r=Array.prototype.slice.call(arguments,3),a=n(r),i=e.get(a);return typeof i=="undefined"&&(i=t.apply(this,r),e.set(a,i)),i}function Ta(t,e,n,r,a){return n.bind(e,t,r,a)}function No(t,e){var n=t.length===1?ko:Ca;return Ta(t,this,n,e.cache.create(),e.serializer)}function Ao(t,e){return Ta(t,this,Ca,e.cache.create(),e.serializer)}var Ho=function(){return JSON.stringify(arguments)},Io=function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(e){return this.cache[e]},t.prototype.set=function(e,n){this.cache[e]=n},t}(),Go={create:function(){return new Io}},Sn={variadic:Ao},Wt=function(){return Wt=Object.assign||function(e){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Wt.apply(this,arguments)};var L;(function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(L||(L={}));var j;(function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"})(j||(j={}));var Ke;(function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"})(Ke||(Ke={}));function yr(t){return t.type===j.literal}function Lo(t){return t.type===j.argument}function Ma(t){return t.type===j.number}function Pa(t){return t.type===j.date}function Oa(t){return t.type===j.time}function ka(t){return t.type===j.select}function Na(t){return t.type===j.plural}function xo(t){return t.type===j.pound}function Aa(t){return t.type===j.tag}function Ha(t){return!!(t&&typeof t=="object"&&t.type===Ke.number)}function Dn(t){return!!(t&&typeof t=="object"&&t.type===Ke.dateTime)}var Ia=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Fo=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Bo(t){var e={};return t.replace(Fo,function(n){var r=n.length;switch(n[0]){case"G":e.era=r===4?"long":r===5?"narrow":"short";break;case"y":e.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][r-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][r-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][r-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][r-1];break;case"s":e.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),e}var Y=function(){return Y=Object.assign||function(e){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Y.apply(this,arguments)};var Do=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ro(t){if(t.length===0)throw new Error("Number skeleton cannot be empty");for(var e=t.split(Do).filter(function(p){return p.length>0}),n=[],r=0,a=e;r<a.length;r++){var i=a[r],o=i.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var s=o[0],u=o.slice(1),c=0,d=u;c<d.length;c++){var g=d[c];if(g.length===0)throw new Error("Invalid number skeleton")}n.push({stem:s,options:u})}return n}function Uo(t){return t.replace(/^(.*?)-/,"")}var wr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ga=/^(@+)?(\+|#+)?[rs]?$/g,zo=/(\*)(0+)|(#+)(0+)|(0+)/g,La=/^(0+)$/;function Er(t){var e={};return t[t.length-1]==="r"?e.roundingPriority="morePrecision":t[t.length-1]==="s"&&(e.roundingPriority="lessPrecision"),t.replace(Ga,function(n,r,a){return typeof a!="string"?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):a==="+"?e.minimumSignificantDigits=r.length:r[0]==="#"?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+(typeof a=="string"?a.length:0)),""}),e}function xa(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function jo(t){var e;if(t[0]==="E"&&t[1]==="E"?(e={notation:"engineering"},t=t.slice(2)):t[0]==="E"&&(e={notation:"scientific"},t=t.slice(1)),e){var n=t.slice(0,2);if(n==="+!"?(e.signDisplay="always",t=t.slice(2)):n==="+?"&&(e.signDisplay="exceptZero",t=t.slice(2)),!La.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Sr(t){var e={},n=xa(t);return n||e}function Wo(t){for(var e={},n=0,r=t;n<r.length;n++){var a=r[n];switch(a.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=a.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=Uo(a.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=Y(Y(Y({},e),{notation:"scientific"}),a.options.reduce(function(u,c){return Y(Y({},u),Sr(c))},{}));continue;case"engineering":e=Y(Y(Y({},e),{notation:"engineering"}),a.options.reduce(function(u,c){return Y(Y({},u),Sr(c))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(a.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(zo,function(u,c,d,g,p,v){if(c)e.minimumIntegerDigits=d.length;else{if(g&&p)throw new Error("We currently do not support maximum integer digits");if(v)throw new Error("We currently do not support exact integer digits")}return""});continue}if(La.test(a.stem)){e.minimumIntegerDigits=a.stem.length;continue}if(wr.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(wr,function(u,c,d,g,p,v){return d==="*"?e.minimumFractionDigits=c.length:g&&g[0]==="#"?e.maximumFractionDigits=g.length:p&&v?(e.minimumFractionDigits=p.length,e.maximumFractionDigits=p.length+v.length):(e.minimumFractionDigits=c.length,e.maximumFractionDigits=c.length),""});var i=a.options[0];i==="w"?e=Y(Y({},e),{trailingZeroDisplay:"stripIfInteger"}):i&&(e=Y(Y({},e),Er(i)));continue}if(Ga.test(a.stem)){e=Y(Y({},e),Er(a.stem));continue}var o=xa(a.stem);o&&(e=Y(Y({},e),o));var s=jo(a.stem);s&&(e=Y(Y({},e),s))}return e}var Dt={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Vo(t,e){for(var n="",r=0;r<t.length;r++){var a=t.charAt(r);if(a==="j"){for(var i=0;r+1<t.length&&t.charAt(r+1)===a;)i++,r++;var o=1+(i&1),s=i<2?1:3+(i>>1),u="a",c=Yo(e);for((c=="H"||c=="k")&&(s=0);s-- >0;)n+=u;for(;o-- >0;)n=c+n}else a==="J"?n+="H":n+=a}return n}function Yo(t){var e=t.hourCycle;if(e===void 0&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=t.language,r;n!=="root"&&(r=t.maximize().region);var a=Dt[r||""]||Dt[n||""]||Dt["".concat(n,"-001")]||Dt["001"];return a[0]}var Cn,Xo=new RegExp("^".concat(Ia.source,"*")),qo=new RegExp("".concat(Ia.source,"*$"));function B(t,e){return{start:t,end:e}}var Qo=!!String.prototype.startsWith&&"_a".startsWith("a",1),Jo=!!String.fromCodePoint,Zo=!!Object.fromEntries,$o=!!String.prototype.codePointAt,Ko=!!String.prototype.trimStart,es=!!String.prototype.trimEnd,ts=!!Number.isSafeInteger,ns=ts?Number.isSafeInteger:function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Rn=!0;try{var rs=Ba("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Rn=((Cn=rs.exec("a"))===null||Cn===void 0?void 0:Cn[0])==="a"}catch(t){Rn=!1}var Cr=Qo?function(e,n,r){return e.startsWith(n,r)}:function(e,n,r){return e.slice(r,r+n.length)===n},Un=Jo?String.fromCodePoint:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r="",a=e.length,i=0,o;a>i;){if(o=e[i++],o>1114111)throw RangeError(o+" is not a valid code point");r+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return r},Tr=Zo?Object.fromEntries:function(e){for(var n={},r=0,a=e;r<a.length;r++){var i=a[r],o=i[0],s=i[1];n[o]=s}return n},Fa=$o?function(e,n){return e.codePointAt(n)}:function(e,n){var r=e.length;if(!(n<0||n>=r)){var a=e.charCodeAt(n),i;return a<55296||a>56319||n+1===r||(i=e.charCodeAt(n+1))<56320||i>57343?a:(a-55296<<10)+(i-56320)+65536}},as=Ko?function(e){return e.trimStart()}:function(e){return e.replace(Xo,"")},is=es?function(e){return e.trimEnd()}:function(e){return e.replace(qo,"")};function Ba(t,e){return new RegExp(t,e)}var zn;if(Rn){var Mr=Ba("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");zn=function(e,n){var r;Mr.lastIndex=n;var a=Mr.exec(e);return(r=a[1])!==null&&r!==void 0?r:""}}else zn=function(e,n){for(var r=[];;){var a=Fa(e,n);if(a===void 0||Da(a)||us(a))break;r.push(a),n+=a>=65536?2:1}return Un.apply(void 0,r)};var os=function(){function t(e,n){n===void 0&&(n={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return t.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(e,n,r){for(var a=[];!this.isEOF();){var i=this.char();if(i===123){var o=this.parseArgument(e,r);if(o.err)return o;a.push(o.val)}else{if(i===125&&e>0)break;if(i===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),a.push({type:j.pound,location:B(s,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(L.UNMATCHED_CLOSING_TAG,B(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&jn(this.peek()||0)){var o=this.parseTag(e,n);if(o.err)return o;a.push(o.val)}else{var o=this.parseLiteral(e,n);if(o.err)return o;a.push(o.val)}}}return{val:a,err:null}},t.prototype.parseTag=function(e,n){var r=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:j.literal,value:"<".concat(a,"/>"),location:B(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,n,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!jn(this.char()))return this.error(L.INVALID_TAG,B(s,this.clonePosition()));var u=this.clonePosition(),c=this.parseTagName();return a!==c?this.error(L.UNMATCHED_CLOSING_TAG,B(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:j.tag,value:a,children:o,location:B(r,this.clonePosition())},err:null}:this.error(L.INVALID_TAG,B(s,this.clonePosition())))}else return this.error(L.UNCLOSED_TAG,B(r,this.clonePosition()))}else return this.error(L.INVALID_TAG,B(r,this.clonePosition()))},t.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&ls(this.char());)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(e,n){for(var r=this.clonePosition(),a="";;){var i=this.tryParseQuote(n);if(i){a+=i;continue}var o=this.tryParseUnquoted(e,n);if(o){a+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){a+=s;continue}break}var u=B(r,this.clonePosition());return{val:{type:j.literal,value:a,location:u},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ss(this.peek()||0))?(this.bump(),"<"):null},t.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return Un.apply(void 0,n)},t.prototype.tryParseUnquoted=function(e,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&e>0?null:(this.bump(),Un(r))},t.prototype.parseArgument=function(e,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE,B(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(L.EMPTY_ARGUMENT,B(r,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(L.MALFORMED_ARGUMENT,B(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE,B(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:j.argument,value:a,location:B(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE,B(r,this.clonePosition())):this.parseArgumentOptions(e,n,a,r);default:return this.error(L.MALFORMED_ARGUMENT,B(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),n=this.offset(),r=zn(this.message,n),a=n+r.length;this.bumpTo(a);var i=this.clonePosition(),o=B(e,i);return{value:r,location:o}},t.prototype.parseArgumentOptions=function(e,n,r,a){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(L.EXPECT_ARGUMENT_TYPE,B(o,u));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var d=this.clonePosition(),g=this.parseSimpleArgStyleIfPossible();if(g.err)return g;var p=is(g.val);if(p.length===0)return this.error(L.EXPECT_ARGUMENT_STYLE,B(this.clonePosition(),this.clonePosition()));var v=B(d,this.clonePosition());c={style:p,styleLocation:v}}var b=this.tryParseArgumentClose(a);if(b.err)return b;var y=B(a,this.clonePosition());if(c&&Cr(c==null?void 0:c.style,"::",0)){var f=as(c.style.slice(2));if(s==="number"){var g=this.parseNumberSkeletonFromString(f,c.styleLocation);return g.err?g:{val:{type:j.number,value:r,location:y,style:g.val},err:null}}else{if(f.length===0)return this.error(L.EXPECT_DATE_TIME_SKELETON,y);var m=f;this.locale&&(m=Vo(f,this.locale));var p={type:Ke.dateTime,pattern:m,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Bo(m):{}},C=s==="date"?j.date:j.time;return{val:{type:C,value:r,location:y,style:p},err:null}}}return{val:{type:s==="number"?j.number:s==="date"?j.date:j.time,value:r,location:y,style:(i=c==null?void 0:c.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(L.EXPECT_SELECT_ARGUMENT_OPTIONS,B(S,Wt({},S)));this.bumpSpace();var T=this.parseIdentifierIfPossible(),A=0;if(s!=="select"&&T.value==="offset"){if(!this.bumpIf(":"))return this.error(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,B(this.clonePosition(),this.clonePosition()));this.bumpSpace();var g=this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(g.err)return g;this.bumpSpace(),T=this.parseIdentifierIfPossible(),A=g.val}var I=this.tryParsePluralOrSelectOptions(e,s,n,T);if(I.err)return I;var b=this.tryParseArgumentClose(a);if(b.err)return b;var H=B(a,this.clonePosition());return s==="select"?{val:{type:j.select,value:r,options:Tr(I.val),location:H},err:null}:{val:{type:j.plural,value:r,options:Tr(I.val),offset:A,pluralType:s==="plural"?"cardinal":"ordinal",location:H},err:null}}default:return this.error(L.INVALID_ARGUMENT_TYPE,B(o,u))}},t.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE,B(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(L.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,B(a,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(e,n){var r=[];try{r=Ro(e)}catch(a){return this.error(L.INVALID_NUMBER_SKELETON,n)}return{val:{type:Ke.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?Wo(r):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(e,n,r,a){for(var i,o=!1,s=[],u=new Set,c=a.value,d=a.location;;){if(c.length===0){var g=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_SELECTOR,L.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;d=B(g,this.clonePosition()),c=this.message.slice(g.offset,this.offset())}else break}if(u.has(c))return this.error(n==="select"?L.DUPLICATE_SELECT_ARGUMENT_SELECTOR:L.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,d);c==="other"&&(o=!0),this.bumpSpace();var v=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,B(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(e+1,n,r);if(b.err)return b;var y=this.tryParseArgumentClose(v);if(y.err)return y;s.push([c,{value:b.val,location:B(v,this.clonePosition())}]),u.add(c),this.bumpSpace(),i=this.parseIdentifierIfPossible(),c=i.value,d=i.location}return s.length===0?this.error(n==="select"?L.EXPECT_SELECT_ARGUMENT_SELECTOR:L.EXPECT_PLURAL_ARGUMENT_SELECTOR,B(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(L.MISSING_OTHER_CLAUSE,B(this.clonePosition(),this.clonePosition())):{val:s,err:null}},t.prototype.tryParseDecimalInteger=function(e,n){var r=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)i=!0,o=o*10+(s-48),this.bump();else break}var u=B(a,this.clonePosition());return i?(o*=r,ns(o)?{val:o,err:null}:this.error(n,u)):this.error(e,u)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var n=Fa(this.message,e);if(n===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return n},t.prototype.error=function(e,n){return{val:null,err:{kind:e,message:this.message,location:n}}},t.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},t.prototype.bumpIf=function(e){if(Cr(this.message,e,this.offset())){for(var n=0;n<e.length;n++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(e){var n=this.offset(),r=this.message.indexOf(e,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var n=this.offset();if(n===e)break;if(n>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Da(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(e>=65536?2:1));return r!=null?r:null},t}();function jn(t){return t>=97&&t<=122||t>=65&&t<=90}function ss(t){return jn(t)||t===47}function ls(t){return t===45||t===46||t>=48&&t<=57||t===95||t>=97&&t<=122||t>=65&&t<=90||t==183||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function Da(t){return t>=9&&t<=13||t===32||t===133||t>=8206&&t<=8207||t===8232||t===8233}function us(t){return t>=33&&t<=35||t===36||t>=37&&t<=39||t===40||t===41||t===42||t===43||t===44||t===45||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||t===91||t===92||t===93||t===94||t===96||t===123||t===124||t===125||t===126||t===161||t>=162&&t<=165||t===166||t===167||t===169||t===171||t===172||t===174||t===176||t===177||t===182||t===187||t===191||t===215||t===247||t>=8208&&t<=8213||t>=8214&&t<=8215||t===8216||t===8217||t===8218||t>=8219&&t<=8220||t===8221||t===8222||t===8223||t>=8224&&t<=8231||t>=8240&&t<=8248||t===8249||t===8250||t>=8251&&t<=8254||t>=8257&&t<=8259||t===8260||t===8261||t===8262||t>=8263&&t<=8273||t===8274||t===8275||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||t===8608||t>=8609&&t<=8610||t===8611||t>=8612&&t<=8613||t===8614||t>=8615&&t<=8621||t===8622||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||t===8658||t===8659||t===8660||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||t===8968||t===8969||t===8970||t===8971||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||t===9001||t===9002||t>=9003&&t<=9083||t===9084||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||t===9655||t>=9656&&t<=9664||t===9665||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||t===9839||t>=9840&&t<=10087||t===10088||t===10089||t===10090||t===10091||t===10092||t===10093||t===10094||t===10095||t===10096||t===10097||t===10098||t===10099||t===10100||t===10101||t>=10132&&t<=10175||t>=10176&&t<=10180||t===10181||t===10182||t>=10183&&t<=10213||t===10214||t===10215||t===10216||t===10217||t===10218||t===10219||t===10220||t===10221||t===10222||t===10223||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||t===10627||t===10628||t===10629||t===10630||t===10631||t===10632||t===10633||t===10634||t===10635||t===10636||t===10637||t===10638||t===10639||t===10640||t===10641||t===10642||t===10643||t===10644||t===10645||t===10646||t===10647||t===10648||t>=10649&&t<=10711||t===10712||t===10713||t===10714||t===10715||t>=10716&&t<=10747||t===10748||t===10749||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||t===11158||t>=11159&&t<=11263||t>=11776&&t<=11777||t===11778||t===11779||t===11780||t===11781||t>=11782&&t<=11784||t===11785||t===11786||t===11787||t===11788||t===11789||t>=11790&&t<=11798||t===11799||t>=11800&&t<=11801||t===11802||t===11803||t===11804||t===11805||t>=11806&&t<=11807||t===11808||t===11809||t===11810||t===11811||t===11812||t===11813||t===11814||t===11815||t===11816||t===11817||t>=11818&&t<=11822||t===11823||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||t===11840||t===11841||t===11842||t>=11843&&t<=11855||t>=11856&&t<=11857||t===11858||t>=11859&&t<=11903||t>=12289&&t<=12291||t===12296||t===12297||t===12298||t===12299||t===12300||t===12301||t===12302||t===12303||t===12304||t===12305||t>=12306&&t<=12307||t===12308||t===12309||t===12310||t===12311||t===12312||t===12313||t===12314||t===12315||t===12316||t===12317||t>=12318&&t<=12319||t===12320||t===12336||t===64830||t===64831||t>=65093&&t<=65094}function Wn(t){t.forEach(function(e){if(delete e.location,ka(e)||Na(e))for(var n in e.options)delete e.options[n].location,Wn(e.options[n].value);else Ma(e)&&Ha(e.style)||(Pa(e)||Oa(e))&&Dn(e.style)?delete e.style.location:Aa(e)&&Wn(e.children)})}function cs(t,e){e===void 0&&(e={}),e=Wt({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var n=new os(t,e).parse();if(n.err){var r=SyntaxError(L[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return e!=null&&e.captureLocation||Wn(n.val),n.val}var et;(function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"})(et||(et={}));var Kt=function(t){$t(e,t);function e(n,r,a){var i=t.call(this,n)||this;return i.code=r,i.originalMessage=a,i}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),Pr=function(t){$t(e,t);function e(n,r,a,i){return t.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(a).join('", "'),'"'),et.INVALID_VALUE,i)||this}return e}(Kt),fs=function(t){$t(e,t);function e(n,r,a){return t.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),et.INVALID_VALUE,a)||this}return e}(Kt),hs=function(t){$t(e,t);function e(n,r){return t.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),et.MISSING_VALUE,r)||this}return e}(Kt),ce;(function(t){t[t.literal=0]="literal",t[t.object=1]="object"})(ce||(ce={}));function ms(t){return t.length<2?t:t.reduce(function(e,n){var r=e[e.length-1];return!r||r.type!==ce.literal||n.type!==ce.literal?e.push(n):r.value+=n.value,e},[])}function ds(t){return typeof t=="function"}function zt(t,e,n,r,a,i,o){if(t.length===1&&yr(t[0]))return[{type:ce.literal,value:t[0].value}];for(var s=[],u=0,c=t;u<c.length;u++){var d=c[u];if(yr(d)){s.push({type:ce.literal,value:d.value});continue}if(xo(d)){typeof i=="number"&&s.push({type:ce.literal,value:n.getNumberFormat(e).format(i)});continue}var g=d.value;if(!(a&&g in a))throw new hs(g,o);var p=a[g];if(Lo(d)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),s.push({type:typeof p=="string"?ce.literal:ce.object,value:p});continue}if(Pa(d)){var v=typeof d.style=="string"?r.date[d.style]:Dn(d.style)?d.style.parsedOptions:void 0;s.push({type:ce.literal,value:n.getDateTimeFormat(e,v).format(p)});continue}if(Oa(d)){var v=typeof d.style=="string"?r.time[d.style]:Dn(d.style)?d.style.parsedOptions:r.time.medium;s.push({type:ce.literal,value:n.getDateTimeFormat(e,v).format(p)});continue}if(Ma(d)){var v=typeof d.style=="string"?r.number[d.style]:Ha(d.style)?d.style.parsedOptions:void 0;v&&v.scale&&(p=p*(v.scale||1)),s.push({type:ce.literal,value:n.getNumberFormat(e,v).format(p)});continue}if(Aa(d)){var b=d.children,y=d.value,f=a[y];if(!ds(f))throw new fs(y,"function",o);var m=zt(b,e,n,r,a,i),C=f(m.map(function(A){return A.value}));Array.isArray(C)||(C=[C]),s.push.apply(s,C.map(function(A){return{type:typeof A=="string"?ce.literal:ce.object,value:A}}))}if(ka(d)){var S=d.options[p]||d.options.other;if(!S)throw new Pr(d.value,p,Object.keys(d.options),o);s.push.apply(s,zt(S.value,e,n,r,a));continue}if(Na(d)){var S=d.options["=".concat(p)];if(!S){if(!Intl.PluralRules)throw new Kt(`Intl.PluralRules is not available in this environment.
|
|
17
17
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
18
|
-
`,et.MISSING_INTL_API,o);var T=n.getPluralRules(e,{type:d.pluralType}).select(p-(d.offset||0));S=d.options[T]||d.options.other}if(!S)throw new Pr(d.value,p,Object.keys(d.options),o);s.push.apply(s,zt(S.value,e,n,r,a,p-(d.offset||0)));continue}}return ms(s)}function gs(t,e){return e?ye(ye(ye({},t||{}),e||{}),Object.keys(t).reduce(function(n,r){return n[r]=ye(ye({},t[r]),e[r]||{}),n},{})):t}function ps(t,e){return e?Object.keys(t).reduce(function(n,r){return n[r]=gs(t[r],e[r]),n},ye({},t)):t}function Tn(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,n){t[e]=n}}}}}function vs(t){return t===void 0&&(t={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:En(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,wn([void 0],n,!1)))},{cache:Tn(t.number),strategy:Sn.variadic}),getDateTimeFormat:En(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,wn([void 0],n,!1)))},{cache:Tn(t.dateTime),strategy:Sn.variadic}),getPluralRules:En(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,wn([void 0],n,!1)))},{cache:Tn(t.pluralRules),strategy:Sn.variadic})}}var bs=function(){function t(e,n,r,a){n===void 0&&(n=t.defaultLocale);var i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var c=i.formatToParts(u);if(c.length===1)return c[0].value;var d=c.reduce(function(g,p){return!g.length||p.type!==ce.literal||typeof g[g.length-1]!="string"?g.push(p.value):g[g.length-1]+=p.value,g},[]);return d.length<=1?d[0]||"":d},this.formatToParts=function(u){return zt(i.ast,i.locales,i.formatters,i.formats,u,void 0,i.message)},this.resolvedOptions=function(){var u;return{locale:((u=i.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=n,this.resolvedLocale=t.resolveLocale(n),typeof e=="string"){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=a||{};o.formatters;var s=Po(o,["formatters"]);this.ast=t.__parse(e,ye(ye({},s),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=ps(t.formats,r),this.formatters=a&&a.formatters||vs(this.formatterCache)}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(e){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(e);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},t.__parse=cs,t.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"}}},t}();function _s(t,e){if(e==null)return;if(e in t)return t[e];const n=e.split(".");let r=t;for(let a=0;a<n.length;a++)if(typeof r=="object"){if(a>0){const i=n.slice(a,n.length).join(".");if(i in r){r=r[i];break}}r=r[n[a]]}else r=void 0;return r}const Ae={},ys=(t,e,n)=>n&&(e in Ae||(Ae[e]={}),t in Ae[e]||(Ae[e][t]=n),n),Ra=(t,e)=>{if(e==null)return;if(e in Ae&&t in Ae[e])return Ae[e][t];const n=en(e);for(let r=0;r<n.length;r++){const a=n[r],i=Es(a,t);if(i)return ys(t,e,i)}};let Qn;const rt=Zt({});function ws(t){return Qn[t]||null}function Ua(t){return t in Qn}function Es(t,e){if(!Ua(t))return null;const n=ws(t);return _s(n,e)}function Ss(t){if(t==null)return;const e=en(t);for(let n=0;n<e.length;n++){const r=e[n];if(Ua(r))return r}}function Jn(t,...e){delete Ae[t],rt.update(n=>(n[t]=Mo.all([n[t]||{},...e]),n))}nt([rt],([t])=>Object.keys(t));rt.subscribe(t=>Qn=t);const jt={};function Cs(t,e){jt[t].delete(e),jt[t].size===0&&delete jt[t]}function za(t){return jt[t]}function Ts(t){return en(t).map(e=>{const n=za(e);return[e,n?[...n]:[]]}).filter(([,e])=>e.length>0)}function Vn(t){return t==null?!1:en(t).some(e=>{var n;return(n=za(e))==null?void 0:n.size})}function Ms(t,e){return Promise.all(e.map(r=>(Cs(t,r),r().then(a=>a.default||a)))).then(r=>Jn(t,...r))}const gt={};function ja(t){if(!Vn(t))return t in gt?gt[t]:Promise.resolve();const e=Ts(t);return gt[t]=Promise.all(e.map(([n,r])=>Ms(n,r))).then(()=>{if(Vn(t))return ja(t);delete gt[t]}),gt[t]}const Ps={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"}}},Os={fallbackLocale:null,loadingDelay:200,formats:Ps,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ks=Os;function tt(){return ks}const Mn=Zt(!1);var Ns=Object.defineProperty,As=Object.defineProperties,Hs=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertySymbols,Is=Object.prototype.hasOwnProperty,Gs=Object.prototype.propertyIsEnumerable,kr=(t,e,n)=>e in t?Ns(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ls=(t,e)=>{for(var n in e||(e={}))Is.call(e,n)&&kr(t,n,e[n]);if(Or)for(var n of Or(e))Gs.call(e,n)&&kr(t,n,e[n]);return t},xs=(t,e)=>As(t,Hs(e));let Yn;const Vt=Zt(null);function Nr(t){return t.split("-").map((e,n,r)=>r.slice(0,n+1).join("-")).reverse()}function en(t,e=tt().fallbackLocale){const n=Nr(t);return e?[...new Set([...n,...Nr(e)])]:n}function ze(){return Yn!=null?Yn:void 0}Vt.subscribe(t=>{Yn=t!=null?t:void 0,typeof window!="undefined"&&t!=null&&document.documentElement.setAttribute("lang",t)});const Fs=t=>{if(t&&Ss(t)&&Vn(t)){const{loadingDelay:e}=tt();let n;return typeof window!="undefined"&&ze()!=null&&e?n=window.setTimeout(()=>Mn.set(!0),e):Mn.set(!0),ja(t).then(()=>{Vt.set(t)}).finally(()=>{clearTimeout(n),Mn.set(!1)})}return Vt.set(t)},je=xs(Ls({},Vt),{set:Fs}),tn=t=>{const e=Object.create(null);return r=>{const a=JSON.stringify(r);return a in e?e[a]:e[a]=t(r)}};var Bs=Object.defineProperty,Yt=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,Va=Object.prototype.propertyIsEnumerable,Ar=(t,e,n)=>e in t?Bs(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Zn=(t,e)=>{for(var n in e||(e={}))Wa.call(e,n)&&Ar(t,n,e[n]);if(Yt)for(var n of Yt(e))Va.call(e,n)&&Ar(t,n,e[n]);return t},at=(t,e)=>{var n={};for(var r in t)Wa.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&Yt)for(var r of Yt(t))e.indexOf(r)<0&&Va.call(t,r)&&(n[r]=t[r]);return n};const wt=(t,e)=>{const{formats:n}=tt();if(t in n&&e in n[t])return n[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Ds=tn(t=>{var e=t,{locale:n,format:r}=e,a=at(e,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(a=wt("number",r)),new Intl.NumberFormat(n,a)}),Rs=tn(t=>{var e=t,{locale:n,format:r}=e,a=at(e,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?a=wt("date",r):Object.keys(a).length===0&&(a=wt("date","short")),new Intl.DateTimeFormat(n,a)}),Us=tn(t=>{var e=t,{locale:n,format:r}=e,a=at(e,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?a=wt("time",r):Object.keys(a).length===0&&(a=wt("time","short")),new Intl.DateTimeFormat(n,a)}),zs=(t={})=>{var e=t,{locale:n=ze()}=e,r=at(e,["locale"]);return Ds(Zn({locale:n},r))},js=(t={})=>{var e=t,{locale:n=ze()}=e,r=at(e,["locale"]);return Rs(Zn({locale:n},r))},Ws=(t={})=>{var e=t,{locale:n=ze()}=e,r=at(e,["locale"]);return Us(Zn({locale:n},r))},Vs=tn((t,e=ze())=>new bs(t,e,tt().formats,{ignoreTag:tt().ignoreTag})),Ys=(t,e={})=>{var n,r,a,i;let o=e;typeof t=="object"&&(o=t,t=o.id);const{values:s,locale:u=ze(),default:c}=o;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let d=Ra(t,u);if(!d)d=(i=(a=(r=(n=tt()).handleMissingMessage)==null?void 0:r.call(n,{locale:u,id:t,defaultValue:c}))!=null?a:c)!=null?i:t;else if(typeof d!="string")return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof d}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),d;if(!s)return d;let g=d;try{g=Vs(d,u).format(s)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,p.message)}return g},Xs=(t,e)=>Ws(e).format(t),qs=(t,e)=>js(e).format(t),Qs=(t,e)=>zs(e).format(t),Js=(t,e=ze())=>Ra(t,e),Ya=nt([je,rt],()=>Ys);nt([je],()=>Xs);nt([je],()=>qs);nt([je],()=>Qs);nt([je,rt],()=>Js);window.emWidgets={topic:lo};const De=t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Xa=t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Pn(t,e){const n=window.navigator.userAgent;return De(n)?e=t.filter(r=>{if(r.gameModel&&(r.gameModel.platform.includes("iPad")||r.gameModel.platform.includes("iPhone")||r.gameModel.platform.includes("Android")))return r}):e=t.filter(r=>{if(r.gameModel&&r.gameModel.platform.includes("PC"))return r}),e}String(Number.MAX_SAFE_INTEGER).length;const Je="__WIDGET_GLOBAL_STYLE_CACHE__";function qa(t,e){if(t){const n=document.createElement("style");n.innerHTML=e,t.appendChild(n)}}function Qa(t,e){if(!t||!e)return;const n=new URL(e);fetch(n.href).then(r=>r.text()).then(r=>{const a=document.createElement("style");a.innerHTML=r,t&&t.appendChild(a)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function Ja(t,e,n,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return n=Zs(t,e),n;window[Je]||(window[Je]={}),n=$s(t,e);const i=n.unsubscribe.bind(n),o=()=>{if(window[Je][e]){const s=window[Je][e];s.refCount>1?s.refCount=s.refCount-1:delete window[Je][e]}i()};return n.unsubscribe=o,n}function Zs(t,e){const n=document.createElement("style");return window.emMessageBus.subscribe(e,r=>{t&&(n.innerHTML=r,t.appendChild(n))})}function $s(t,e){return window.emMessageBus.subscribe(e,n=>{if(!t)return;const r=t.getRootNode(),a=window[Je];let i=a[e]&&a[e].sheet;i?a[e].refCount=a[e].refCount+1:(i=new CSSStyleSheet,i.replaceSync(n),a[e]={sheet:i,refCount:1});const o=r.adoptedStyleSheets||[];o.includes(i)||(r.adoptedStyleSheets=[...o,i])})}function Ks(t,e){Jn(t,e)}function el(t){je.set(t)}var be=(t=>(t[t.MORE=1]="MORE",t[t.END=-1]="END",t))(be||{});const tl={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待",playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare.",playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente",playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando",playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor",playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз",playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare",playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje",playNow:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra.",playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie.",playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando",playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno.",playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo.",playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando",playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando",playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"},"en-us":{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}};function Xt(t){"@babel/helpers - typeof";return Xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xt(t)}function Re(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function te(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function oe(t){te(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||Xt(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function nl(t,e){te(2,arguments);var n=oe(t).getTime(),r=Re(e);return new Date(n+r)}var rl={};function nn(){return rl}function al(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}function il(t){return te(1,arguments),t instanceof Date||Xt(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ol(t){if(te(1,arguments),!il(t)&&typeof t!="number")return!1;var e=oe(t);return!isNaN(Number(e))}function Hr(t,e){return te(2,arguments),oe(t).getTime()-oe(e).getTime()}function sl(t,e){te(2,arguments);var n=Re(e);return nl(t,-n)}var ll=864e5;function ul(t){te(1,arguments);var e=oe(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=e.getTime(),a=n-r;return Math.floor(a/ll)+1}function qt(t){te(1,arguments);var e=1,n=oe(t),r=n.getUTCDay(),a=(r<e?7:0)+r-e;return n.setUTCDate(n.getUTCDate()-a),n.setUTCHours(0,0,0,0),n}function Za(t){te(1,arguments);var e=oe(t),n=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var a=qt(r),i=new Date(0);i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0);var o=qt(i);return e.getTime()>=a.getTime()?n+1:e.getTime()>=o.getTime()?n:n-1}function cl(t){te(1,arguments);var e=Za(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var r=qt(n);return r}var fl=6048e5;function hl(t){te(1,arguments);var e=oe(t),n=qt(e).getTime()-cl(e).getTime();return Math.round(n/fl)+1}function Qt(t,e){var n,r,a,i,o,s,u,c;te(1,arguments);var d=nn(),g=Re((n=(r=(a=(i=e==null?void 0:e.weekStartsOn)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&a!==void 0?a:d.weekStartsOn)!==null&&r!==void 0?r:(u=d.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=oe(t),v=p.getUTCDay(),b=(v<g?7:0)+v-g;return p.setUTCDate(p.getUTCDate()-b),p.setUTCHours(0,0,0,0),p}function $a(t,e){var n,r,a,i,o,s,u,c;te(1,arguments);var d=oe(t),g=d.getUTCFullYear(),p=nn(),v=Re((n=(r=(a=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:p.firstWeekContainsDate)!==null&&r!==void 0?r:(u=p.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(g+1,0,v),b.setUTCHours(0,0,0,0);var y=Qt(b,e),f=new Date(0);f.setUTCFullYear(g,0,v),f.setUTCHours(0,0,0,0);var m=Qt(f,e);return d.getTime()>=y.getTime()?g+1:d.getTime()>=m.getTime()?g:g-1}function ml(t,e){var n,r,a,i,o,s,u,c;te(1,arguments);var d=nn(),g=Re((n=(r=(a=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:d.firstWeekContainsDate)!==null&&r!==void 0?r:(u=d.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&n!==void 0?n:1),p=$a(t,e),v=new Date(0);v.setUTCFullYear(p,0,g),v.setUTCHours(0,0,0,0);var b=Qt(v,e);return b}var dl=6048e5;function gl(t,e){te(1,arguments);var n=oe(t),r=Qt(n,e).getTime()-ml(n,e).getTime();return Math.round(r/dl)+1}function U(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length<e;)r="0"+r;return n+r}var Ne={y:function(e,n){var r=e.getUTCFullYear(),a=r>0?r:1-r;return U(n==="yy"?a%100:a,n.length)},M:function(e,n){var r=e.getUTCMonth();return n==="M"?String(r+1):U(r+1,2)},d:function(e,n){return U(e.getUTCDate(),n.length)},a:function(e,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,n){return U(e.getUTCHours()%12||12,n.length)},H:function(e,n){return U(e.getUTCHours(),n.length)},m:function(e,n){return U(e.getUTCMinutes(),n.length)},s:function(e,n){return U(e.getUTCSeconds(),n.length)},S:function(e,n){var r=n.length,a=e.getUTCMilliseconds(),i=Math.floor(a*Math.pow(10,r-3));return U(i,n.length)}},qe={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},pl={G:function(e,n,r){var a=e.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(a,{width:"abbreviated"});case"GGGGG":return r.era(a,{width:"narrow"});case"GGGG":default:return r.era(a,{width:"wide"})}},y:function(e,n,r){if(n==="yo"){var a=e.getUTCFullYear(),i=a>0?a:1-a;return r.ordinalNumber(i,{unit:"year"})}return Ne.y(e,n)},Y:function(e,n,r,a){var i=$a(e,a),o=i>0?i:1-i;if(n==="YY"){var s=o%100;return U(s,2)}return n==="Yo"?r.ordinalNumber(o,{unit:"year"}):U(o,n.length)},R:function(e,n){var r=Za(e);return U(r,n.length)},u:function(e,n){var r=e.getUTCFullYear();return U(r,n.length)},Q:function(e,n,r){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"Q":return String(a);case"QQ":return U(a,2);case"Qo":return r.ordinalNumber(a,{unit:"quarter"});case"QQQ":return r.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,n,r){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"q":return String(a);case"qq":return U(a,2);case"qo":return r.ordinalNumber(a,{unit:"quarter"});case"qqq":return r.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,n,r){var a=e.getUTCMonth();switch(n){case"M":case"MM":return Ne.M(e,n);case"Mo":return r.ordinalNumber(a+1,{unit:"month"});case"MMM":return r.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(a,{width:"wide",context:"formatting"})}},L:function(e,n,r){var a=e.getUTCMonth();switch(n){case"L":return String(a+1);case"LL":return U(a+1,2);case"Lo":return r.ordinalNumber(a+1,{unit:"month"});case"LLL":return r.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(a,{width:"wide",context:"standalone"})}},w:function(e,n,r,a){var i=gl(e,a);return n==="wo"?r.ordinalNumber(i,{unit:"week"}):U(i,n.length)},I:function(e,n,r){var a=hl(e);return n==="Io"?r.ordinalNumber(a,{unit:"week"}):U(a,n.length)},d:function(e,n,r){return n==="do"?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):Ne.d(e,n)},D:function(e,n,r){var a=ul(e);return n==="Do"?r.ordinalNumber(a,{unit:"dayOfYear"}):U(a,n.length)},E:function(e,n,r){var a=e.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(a,{width:"short",context:"formatting"});case"EEEE":default:return r.day(a,{width:"wide",context:"formatting"})}},e:function(e,n,r,a){var i=e.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(n){case"e":return String(o);case"ee":return U(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,n,r,a){var i=e.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(n){case"c":return String(o);case"cc":return U(o,n.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,n,r){var a=e.getUTCDay(),i=a===0?7:a;switch(n){case"i":return String(i);case"ii":return U(i,n.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(a,{width:"short",context:"formatting"});case"iiii":default:return r.day(a,{width:"wide",context:"formatting"})}},a:function(e,n,r){var a=e.getUTCHours(),i=a/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,n,r){var a=e.getUTCHours(),i;switch(a===12?i=qe.noon:a===0?i=qe.midnight:i=a/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,n,r){var a=e.getUTCHours(),i;switch(a>=17?i=qe.evening:a>=12?i=qe.afternoon:a>=4?i=qe.morning:i=qe.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,n,r){if(n==="ho"){var a=e.getUTCHours()%12;return a===0&&(a=12),r.ordinalNumber(a,{unit:"hour"})}return Ne.h(e,n)},H:function(e,n,r){return n==="Ho"?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Ne.H(e,n)},K:function(e,n,r){var a=e.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(a,{unit:"hour"}):U(a,n.length)},k:function(e,n,r){var a=e.getUTCHours();return a===0&&(a=24),n==="ko"?r.ordinalNumber(a,{unit:"hour"}):U(a,n.length)},m:function(e,n,r){return n==="mo"?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Ne.m(e,n)},s:function(e,n,r){return n==="so"?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Ne.s(e,n)},S:function(e,n){return Ne.S(e,n)},X:function(e,n,r,a){var i=a._originalDate||e,o=i.getTimezoneOffset();if(o===0)return"Z";switch(n){case"X":return Gr(o);case"XXXX":case"XX":return Fe(o);case"XXXXX":case"XXX":default:return Fe(o,":")}},x:function(e,n,r,a){var i=a._originalDate||e,o=i.getTimezoneOffset();switch(n){case"x":return Gr(o);case"xxxx":case"xx":return Fe(o);case"xxxxx":case"xxx":default:return Fe(o,":")}},O:function(e,n,r,a){var i=a._originalDate||e,o=i.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+Ir(o,":");case"OOOO":default:return"GMT"+Fe(o,":")}},z:function(e,n,r,a){var i=a._originalDate||e,o=i.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+Ir(o,":");case"zzzz":default:return"GMT"+Fe(o,":")}},t:function(e,n,r,a){var i=a._originalDate||e,o=Math.floor(i.getTime()/1e3);return U(o,n.length)},T:function(e,n,r,a){var i=a._originalDate||e,o=i.getTime();return U(o,n.length)}};function Ir(t,e){var n=t>0?"-":"+",r=Math.abs(t),a=Math.floor(r/60),i=r%60;if(i===0)return n+String(a);var o=e;return n+String(a)+o+U(i,2)}function Gr(t,e){if(t%60===0){var n=t>0?"-":"+";return n+U(Math.abs(t)/60,2)}return Fe(t,e)}function Fe(t,e){var n=e||"",r=t>0?"-":"+",a=Math.abs(t),i=U(Math.floor(a/60),2),o=U(a%60,2);return r+i+n+o}var Lr=function(e,n){switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Ka=function(e,n){switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},vl=function(e,n){var r=e.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return Lr(e,n);var o;switch(a){case"P":o=n.dateTime({width:"short"});break;case"PP":o=n.dateTime({width:"medium"});break;case"PPP":o=n.dateTime({width:"long"});break;case"PPPP":default:o=n.dateTime({width:"full"});break}return o.replace("{{date}}",Lr(a,n)).replace("{{time}}",Ka(i,n))},bl={p:Ka,P:vl},_l=["D","DD"],yl=["YY","YYYY"];function wl(t){return _l.indexOf(t)!==-1}function El(t){return yl.indexOf(t)!==-1}function xr(t,e,n){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Sl={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Cl=function(e,n,r){var a,i=Sl[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+a:a+" ago":a};function On(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var Tl={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ml={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Pl={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ol={date:On({formats:Tl,defaultWidth:"full"}),time:On({formats:Ml,defaultWidth:"full"}),dateTime:On({formats:Pl,defaultWidth:"full"})},kl={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Nl=function(e,n,r,a){return kl[e]};function pt(t){return function(e,n){var r=n!=null&&n.context?String(n.context):"standalone",a;if(r==="formatting"&&t.formattingValues){var i=t.defaultFormattingWidth||t.defaultWidth,o=n!=null&&n.width?String(n.width):i;a=t.formattingValues[o]||t.formattingValues[i]}else{var s=t.defaultWidth,u=n!=null&&n.width?String(n.width):t.defaultWidth;a=t.values[u]||t.values[s]}var c=t.argumentCallback?t.argumentCallback(e):e;return a[c]}}var Al={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Hl={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Il={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Gl={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ll={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},xl={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Fl=function(e,n){var r=Number(e),a=r%100;if(a>20||a<10)switch(a%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Bl={ordinalNumber:Fl,era:pt({values:Al,defaultWidth:"wide"}),quarter:pt({values:Hl,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:pt({values:Il,defaultWidth:"wide"}),day:pt({values:Gl,defaultWidth:"wide"}),dayPeriod:pt({values:Ll,defaultWidth:"wide",formattingValues:xl,defaultFormattingWidth:"wide"})};function vt(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,a=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(a);if(!i)return null;var o=i[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],u=Array.isArray(s)?Rl(s,function(g){return g.test(o)}):Dl(s,function(g){return g.test(o)}),c;c=t.valueCallback?t.valueCallback(u):u,c=n.valueCallback?n.valueCallback(c):c;var d=e.slice(o.length);return{value:c,rest:d}}}function Dl(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function Rl(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}function Ul(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var a=r[0],i=e.match(t.parsePattern);if(!i)return null;var o=t.valueCallback?t.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;var s=e.slice(a.length);return{value:o,rest:s}}}var zl=/^(\d+)(th|st|nd|rd)?/i,jl=/\d+/i,Wl={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Vl={any:[/^b/i,/^(a|c)/i]},Yl={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Xl={any:[/1/i,/2/i,/3/i,/4/i]},ql={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ql={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Jl={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Zl={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},$l={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Kl={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},eu={ordinalNumber:Ul({matchPattern:zl,parsePattern:jl,valueCallback:function(e){return parseInt(e,10)}}),era:vt({matchPatterns:Wl,defaultMatchWidth:"wide",parsePatterns:Vl,defaultParseWidth:"any"}),quarter:vt({matchPatterns:Yl,defaultMatchWidth:"wide",parsePatterns:Xl,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:vt({matchPatterns:ql,defaultMatchWidth:"wide",parsePatterns:Ql,defaultParseWidth:"any"}),day:vt({matchPatterns:Jl,defaultMatchWidth:"wide",parsePatterns:Zl,defaultParseWidth:"any"}),dayPeriod:vt({matchPatterns:$l,defaultMatchWidth:"any",parsePatterns:Kl,defaultParseWidth:"any"})},tu={code:"en-US",formatDistance:Cl,formatLong:Ol,formatRelative:Nl,localize:Bl,match:eu,options:{weekStartsOn:0,firstWeekContainsDate:1}},nu=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ru=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,au=/^'([^]*?)'?$/,iu=/''/g,ou=/[a-zA-Z]/;function su(t,e,n){var r,a,i,o,s,u,c,d,g,p,v,b,y,f;te(2,arguments);var m=String(e),C=nn(),S=(r=(a=void 0)!==null&&a!==void 0?a:C.locale)!==null&&r!==void 0?r:tu,T=Re((i=(o=(s=(u=void 0)!==null&&u!==void 0?u:void 0)!==null&&s!==void 0?s:C.firstWeekContainsDate)!==null&&o!==void 0?o:(c=C.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(T>=1&&T<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var A=Re((g=(p=(v=(b=void 0)!==null&&b!==void 0?b:void 0)!==null&&v!==void 0?v:C.weekStartsOn)!==null&&p!==void 0?p:(y=C.locale)===null||y===void 0||(f=y.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&g!==void 0?g:0);if(!(A>=0&&A<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!S.localize)throw new RangeError("locale must contain localize property");if(!S.formatLong)throw new RangeError("locale must contain formatLong property");var I=oe(t);if(!ol(I))throw new RangeError("Invalid time value");var H=al(I),Q=sl(I,H),se={firstWeekContainsDate:T,weekStartsOn:A,locale:S,_originalDate:I},Ee=m.match(ru).map(function(J){var de=J[0];if(de==="p"||de==="P"){var Pe=bl[de];return Pe(J,S.formatLong)}return J}).join("").match(nu).map(function(J){if(J==="''")return"'";var de=J[0];if(de==="'")return lu(J);var Pe=pl[de];if(Pe)return El(J)&&xr(J,e,String(t)),wl(J)&&xr(J,e,String(t)),Pe(Q,J,S.localize,se);if(de.match(ou))throw new RangeError("Format string contains an unescaped latin alphabet character `"+de+"`");return J}).join("");return Ee}function lu(t){var e=t.match(au);return e?e[1].replace(iu,"'"):t}function uu(t,e){te(2,arguments);var n=oe(t),r=oe(e);return n.getTime()>r.getTime()}function cu(t,e){te(2,arguments);var n=oe(t),r=oe(e);return n.getTime()<r.getTime()}function ei(t,e,n){return window.emMessageBus&&(e=window.emMessageBus.subscribe(t,n)),e}const Fr=(t,e=null)=>{try{return t?JSON.parse(t):e}catch(n){return e}};if(typeof window!="undefined"){let t=function(e){return function(...n){try{return e.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoGameThumbnailNd-DEtJd7X-.cjs")).then(({default:e})=>{!customElements.get("casino-game-thumbnail-nd")&&customElements.define("casino-game-thumbnail-nd",e.element)})}if(typeof window!="undefined"){let t=function(e){return function(...n){try{return e.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoFilter-PlAxsVl9.cjs")).then(({default:e})=>{!customElements.get("casino-filter")&&customElements.define("casino-filter",e.element)})}if(typeof window!="undefined"){let t=function(e){return function(...n){try{return e.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoSort-Bycwm5CV.cjs")).then(({default:e})=>{!customElements.get("casino-sort")&&customElements.define("casino-sort",e.element)})}function fu(t){ra(t,"svelte-3d5n3f",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:var(--emw--border-radius-small, 5px);background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 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(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-large, 24px);font-weight:var(--emw--font-weight-regular, 400)}.CategoryLoadMore{font-size:var(--emw--font-size-small, 14px);color:var(--emw--casino-typography, #FFFFFF)}.NoSearchResults{color:var(--emw--casino-typography, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:var(--emw--font-size-medium, 16px)}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-medium, 16px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;margin-bottom:16px;gap:10px}.CasinoGamesHeader .CategoryIcon{display:flex;place-content:center;background-color:transparent;position:relative;align-items:center;justify-content:center}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer;margin-left:auto}.CasinoGamesHeader .CategoryLoadMore{font-weight:var(--emw--font-weight-normal, 400)}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%}.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-height-scroll, 180px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-height-scroll, 180px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);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:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-height-scroll, 180px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:35px;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:var(--emw--casino-category-grid-gap, 16px)}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-left:auto}.SingleOrEmptyCategoryFilterContainer{margin-left:auto}.SearchLoading{display:block;padding:50px;color:var(--emw--casino-typography, #FFFFFF)}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-small, 110px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-small, 110px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-small, 110px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small-scroll, 100px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-small-scroll, 100px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-small-scroll, 100px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-small-scroll, 100px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium, 122px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium, 122px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 480px){.CategoryFilterContainer{gap:16px}.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium, 122px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium, 122px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium-scroll, 120px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium-scroll, 120px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesContainer .CasinoGamesGrid,.GameContainer.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium-scroll, 120px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px)}.CasinoGamesContainer .CasinoGamesGrid.GamesListIncreasedGap,.GameContainer.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap-scroll-mediu, 10px)}.CasinoGamesContainer .CasinoGamesGrid .GameInfo .GameInfoName,.GameContainer.CasinoGamesGridSlider .GameInfo .GameInfoName{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider{padding-bottom:10px}.GameInnerContainer{border-radius:var(--emw--border-radius-large, 10px)}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{gap:2px}.CasinoGamesHeader{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:center}.CategoryFilterContainer{width:100%}}.DualRing{display:block;width:80px;height:80px;margin:0 auto}.DualRing:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, #22B04E);border-color:var(--emw--casino-color-primary, #22B04E) transparent var(--emw--casino-color-primary, #22B04E);animation:DualRing 1.2s linear infinite}@keyframes DualRing{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CategoryIcon svg{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.CategoryIconAnimation{position:relative;width:55px;height:55px;border-radius:50%;background:linear-gradient(45deg, transparent, transparent 40%, var(--emw--casino-categories-animation-main, #ffff00)), linear-gradient(var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511), var(--emfe-casino-categories-animation-contrast, #141414));animation:rotate 3.5s linear infinite}.CategoryIconAnimation:before,.CategoryIconAnimation:after{content:" ";position:absolute;inset:5px;background:linear-gradient(var(--emw--casino-categories-animation-fill-main-color, #0E1511), var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511));border-radius:inherit}.CategoryIconAnimation:before{background:linear-gradient(45deg, transparent, transparent 40%, var(--emw--casino-categories-animation-main, #ffff00));filter:blur(12px)}@keyframes rotate{100%{transform:rotate(360deg);filter:hue-rotate(360deg)}}')}function Br(t,e,n){const r=t.slice();return r[106]=e[n],r[108]=n,r}function Dr(t,e,n){const r=t.slice();return r[106]=e[n],r[108]=n,r}function Rr(t,e,n){const r=t.slice();return r[106]=e[n],r[108]=n,r}function hu(t){let e;function n(i,o){if(i[28])return pu;if(i[38])return gu}let r=n(t),a=r&&r(t);return{c(){e=N("div"),a&&a.c()},m(i,o){k(i,e,o),a&&a.m(e,null)},p(i,o){r===(r=n(i))&&a?a.p(i,o):(a&&a.d(1),a=r&&r(i),a&&(a.c(),a.m(e,null)))},d(i){i&&M(e),a&&a.d()}}}function mu(t){let e,n,r;function a(d,g){return d[32]?Lu:d[29].length?Iu:Gu}let i=a(t),o=i(t);function s(d,g){return d[29]?Fu:xu}let u=s(t),c=u(t);return{c(){e=N("div"),n=N("div"),o.c(),r=me(),c.c(),_(n,"class","CasinoGamesHeader Searched "+(De(t[43])?"CasinoGamesHeaderMobile":"")),_(e,"class","CasinoGamesContainer")},m(d,g){k(d,e,g),O(e,n),o.m(n,null),O(e,r),c.m(e,null)},p(d,g){i===(i=a(d))&&o?o.p(d,g):(o.d(1),o=i(d),o&&(o.c(),o.m(n,null))),u===(u=s(d))&&c?c.p(d,g):(c.d(1),c=u(d),c&&(c.c(),c.m(e,null)))},d(d){d&&M(e),o.d(),c.d()}}}function du(t){let e;function n(i,o){return Bu}let a=n()(t);return{c(){a.c(),e=we()},m(i,o){a.m(i,o),k(i,e,o)},p:ee,d(i){i&&M(e),a.d(i)}}}function gu(t){let e,n,r,a,i=t[20]!=="true"&&Ur(t);function o(c,d){return c[25]&&!c[35]?_u:c[41]?bu:vu}let s=o(t),u=s(t);return{c(){e=N("div"),i&&i.c(),n=me(),r=N("ul"),u.c(),_(r,"class",a=(t[41].items.length!=0?"CasinoGamesGrid":"")+" GamesListIncreasedGap"),_(e,"class","CasinoGamesContainer")},m(c,d){k(c,e,d),i&&i.m(e,null),O(e,n),O(e,r),u.m(r,null),t[62](r)},p(c,d){c[20]!=="true"?i?i.p(c,d):(i=Ur(c),i.c(),i.m(e,n)):i&&(i.d(1),i=null),s===(s=o(c))&&u?u.p(c,d):(u.d(1),u=s(c),u&&(u.c(),u.m(r,null))),d[1]&1024&&a!==(a=(c[41].items.length!=0?"CasinoGamesGrid":"")+" GamesListIncreasedGap")&&_(r,"class",a)},d(c){c&&M(e),i&&i.d(),u.d(),t[62](null)}}}function pu(t){let e,n,r=t[20]!=="true"&&Xr(t);function a(s,u){return s[25]&&!s[35]?Au:s[29].length!==0?Nu:ku}let i=a(t),o=i(t);return{c(){e=N("div"),r&&r.c(),n=me(),o.c(),_(e,"class","CasinoGamesContainer")},m(s,u){k(s,e,u),r&&r.m(e,null),O(e,n),o.m(e,null)},p(s,u){s[20]!=="true"?r?r.p(s,u):(r=Xr(s),r.c(),r.m(e,n)):r&&(r.d(1),r=null),i===(i=a(s))&&o?o.p(s,u):(o.d(1),o=i(s),o&&(o.c(),o.m(e,null)))},d(s){s&&M(e),r&&r.d(),o.d()}}}function Ur(t){let e,n,r=t[42]("favorites")+"",a,i,o,s,u=t[41].items.length+"",c,d;return{c(){e=N("div"),n=N("h3"),a=q(r),i=me(),o=N("span"),s=q("("),c=q(u),d=q(")"),_(o,"class","CategoryFavName"),_(n,"class","CategoryName"),_(e,"class","CasinoGamesHeader")},m(g,p){k(g,e,p),O(e,n),O(n,a),O(n,i),O(n,o),O(o,s),O(o,c),O(o,d),t[61](n)},p(g,p){p[1]&2048&&r!==(r=g[42]("favorites")+"")&&fe(a,r),p[1]&1024&&u!==(u=g[41].items.length+"")&&fe(c,u)},d(g){g&&M(e),t[61](null)}}}function vu(t){let e,n=t[42]("waiting")+"",r;return{c(){e=N("p"),r=q(n)},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("waiting")+"")&&fe(r,n)},d(a){a&&M(e)}}}function bu(t){let e,n=Be(t[41].items),r=[];for(let i=0;i<n.length;i+=1)r[i]=Yr(Br(t,n,i));let a=null;return n.length||(a=zr(t)),{c(){for(let i=0;i<r.length;i+=1)r[i].c();e=we(),a&&a.c()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);k(i,e,o),a&&a.m(i,o)},p(i,o){if(o[0]&1048553|o[1]&64896){n=Be(i[41].items);let s;for(s=0;s<n.length;s+=1){const u=Br(i,n,s);r[s]?r[s].p(u,o):(r[s]=Yr(u),r[s].c(),r[s].m(e.parentNode,e))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length,!n.length&&a?a.p(i,o):n.length?a&&(a.d(1),a=null):(a=zr(i),a.c(),a.m(e.parentNode,e))}},d(i){i&&M(e),aa(r,i),a&&a.d(i)}}}function _u(t){let e;return{c(){e=N("div"),_(e,"class","lds-dual-ring")},m(n,r){k(n,e,r)},p:ee,d(n){n&&M(e)}}}function zr(t){let e,n,r,a,i,o,s,u,c,d,g,p=t[42]("noFavoritesTitle")+"",v,b,y;function f(S,T){return De(S[43])?wu:yu}let C=f(t)(t);return{c(){e=N("p"),n=_e("svg"),r=_e("rect"),a=_e("rect"),i=_e("circle"),o=_e("path"),s=_e("path"),u=_e("path"),c=_e("path"),d=me(),g=N("span"),v=q(p),b=me(),C.c(),y=me(),_(r,"x","1"),_(r,"y","18.053"),_(r,"width","90.263"),_(r,"height","90.263"),_(r,"rx","12"),_(r,"stroke","var(--emw--color-gray-150, #828282)"),_(r,"stroke-width","1.5"),_(a,"x","106.737"),_(a,"y","56.737"),_(a,"width","90.263"),_(a,"height","90.263"),_(a,"rx","12"),_(a,"stroke","var(--emw--color-gray-150, #828282)"),_(a,"stroke-width","1.5"),_(i,"cx","70.5"),_(i,"cy","32.237"),_(i,"r","31.487"),_(i,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),_(i,"stroke-width","1.5"),_(i,"stroke-dasharray","5 0"),_(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"),_(o,"fill","var(--emw--color-gray-150, #828282)"),_(s,"d","M78 43h11v13H78V43z"),_(s,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),_(u,"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"),_(u,"fill","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),_(u,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),_(u,"stroke-linecap","round"),_(u,"stroke-linejoin","round"),_(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"),_(c,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),_(c,"stroke-width","1.5"),_(c,"stroke-linecap","round"),_(c,"stroke-linejoin","round"),_(n,"width","198"),_(n,"height","148"),_(n,"viewBox","0 0 198 148"),_(n,"fill","none"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(g,"class","NoFavoriteText NoFavoriteTextHighlight"),_(e,"class","NoFavoriteGames "+(De(t[43])?"NoFavoriteGamesMobile":""))},m(S,T){k(S,e,T),O(e,n),O(n,r),O(n,a),O(n,i),O(n,o),O(n,s),O(n,u),O(n,c),O(e,d),O(e,g),O(g,v),O(e,b),C.m(e,null),O(e,y)},p(S,T){T[1]&2048&&p!==(p=S[42]("noFavoritesTitle")+"")&&fe(v,p),C.p(S,T)},d(S){S&&M(e),C.d()}}}function yu(t){let e,n=t[42]("noFavorites")+"",r;return{c(){e=N("span"),r=q(n),_(e,"class","NoFavoriteText")},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("noFavorites")+"")&&fe(r,n)},d(a){a&&M(e)}}}function wu(t){let e,n=t[42]("noFavoritesMobile")+"",r;return{c(){e=N("span"),r=q(n),_(e,"class","NoFavoriteText")},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("noFavoritesMobile")+"")&&fe(r,n)},d(a){a&&M(e)}}}function jr(t){let e,n=t[106].gameModel.isFavorite&&Wr(t);return{c(){n&&n.c(),e=we()},m(r,a){n&&n.m(r,a),k(r,e,a)},p(r,a){r[106].gameModel.isFavorite?n?n.p(r,a):(n=Wr(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(r){r&&M(e),n&&n.d(r)}}}function Wr(t){let e,n=Eu(t);return{c(){n&&n.c(),e=we()},m(r,a){n&&n.m(r,a),k(r,e,a)},p(r,a){n.p(r,a)},d(r){r&&M(e),n&&n.d(r)}}}function Eu(t){let e,n,r;function a(s,u){var c,d,g;if(u[1]&1024&&(n=null),e==null&&(e=!!De(s[43])),e)return Cu;if(n==null&&(n=!!((g=(d=(c=s[106])==null?void 0:c.gameModel)==null?void 0:d.platform)!=null&&g.includes("PC"))),n)return Su}let i=a(t,[-1,-1,-1,-1]),o=i&&i(t);return{c(){o&&o.c(),r=we()},m(s,u){o&&o.m(s,u),k(s,r,u)},p(s,u){i===(i=a(s,u))&&o?o.p(s,u):(o&&o.d(1),o=i&&i(s),o&&(o.c(),o.m(r.parentNode,r)))},d(s){s&&M(r),o&&o.d(s)}}}function Su(t){let e,n,r,a,i,o,s,u,c,d,g,p,v,b,y;return{c(){var f,m,C,S,T,A;e=N("casino-game-thumbnail-nd"),l(e,"class",n=""+(He+(t[106].cellSize?t[106].cellSize:"1x1"))),l(e,"session",t[6]),l(e,"userid",t[7]),l(e,"lang",t[5]),l(e,"translationurl",t[12]),l(e,"favorites",t[8]),l(e,"categoryid",t[0]),l(e,"gamethumbnail",r=t[106].gameModel.thumbnail),l(e,"icon",a=t[46]((f=t[106])==null?void 0:f.icons)),l(e,"gamename",i=t[106].gameModel.name),l(e,"gamevendor",o=(S=(C=(m=t[106])==null?void 0:m.gameModel)==null?void 0:C.vendor)==null?void 0:S.logo),l(e,"gameLaunchUrl",s=t[106].launchUrl),l(e,"gameisnew",u=t[106].gameModel.isNew),l(e,"gametag",c=t[45]((T=t[106].gameModel)==null?void 0:T.advancedTags)),l(e,"gamecellsize",d=t[106].cellSize),l(e,"gameid",g=t[106].gameModel.id),l(e,"gamefunmode",p=t[106].gameModel.hasFunMode),l(e,"showgamename",t[15]),l(e,"gamefavorite",v=t[106].gameModel.isFavorite),l(e,"showfavoredcategory",t[38]),l(e,"connectlive",b=t[44][(A=t[106])==null?void 0:A.id]==1?"connect":"disconnect"),l(e,"visibilityconnect",t[39]),l(e,"currency",t[13]),l(e,"livelobbyendpoint",y=t[106].gameModel.details?t[106].gameModel.launchUrl:""),l(e,"clientstyling",t[10]),l(e,"clientstylingurl",t[11]),l(e,"endpoint",t[3]),l(e,"livecasino",t[16]),l(e,"gamepagemodalurl",t[17]),l(e,"integratedgameframedesktop",t[18]),l(e,"integratedgameframemobile",t[19]),l(e,"mbsource",t[9]),l(e,"allowsingleclickgameentry",t[14])},m(f,m){k(f,e,m)},p(f,m){var C,S,T,A,I,H;m[1]&1024&&n!==(n=""+(He+(f[106].cellSize?f[106].cellSize:"1x1")))&&l(e,"class",n),m[0]&64&&l(e,"session",f[6]),m[0]&128&&l(e,"userid",f[7]),m[0]&32&&l(e,"lang",f[5]),m[0]&4096&&l(e,"translationurl",f[12]),m[0]&256&&l(e,"favorites",f[8]),m[0]&1&&l(e,"categoryid",f[0]),m[1]&1024&&r!==(r=f[106].gameModel.thumbnail)&&l(e,"gamethumbnail",r),m[1]&1024&&a!==(a=f[46]((C=f[106])==null?void 0:C.icons))&&l(e,"icon",a),m[1]&1024&&i!==(i=f[106].gameModel.name)&&l(e,"gamename",i),m[1]&1024&&o!==(o=(A=(T=(S=f[106])==null?void 0:S.gameModel)==null?void 0:T.vendor)==null?void 0:A.logo)&&l(e,"gamevendor",o),m[1]&1024&&s!==(s=f[106].launchUrl)&&l(e,"gameLaunchUrl",s),m[1]&1024&&u!==(u=f[106].gameModel.isNew)&&l(e,"gameisnew",u),m[1]&1024&&c!==(c=f[45]((I=f[106].gameModel)==null?void 0:I.advancedTags))&&l(e,"gametag",c),m[1]&1024&&d!==(d=f[106].cellSize)&&l(e,"gamecellsize",d),m[1]&1024&&g!==(g=f[106].gameModel.id)&&l(e,"gameid",g),m[1]&1024&&p!==(p=f[106].gameModel.hasFunMode)&&l(e,"gamefunmode",p),m[0]&32768&&l(e,"showgamename",f[15]),m[1]&1024&&v!==(v=f[106].gameModel.isFavorite)&&l(e,"gamefavorite",v),m[1]&128&&l(e,"showfavoredcategory",f[38]),m[1]&1024&&b!==(b=f[44][(H=f[106])==null?void 0:H.id]==1?"connect":"disconnect")&&l(e,"connectlive",b),m[1]&256&&l(e,"visibilityconnect",f[39]),m[0]&8192&&l(e,"currency",f[13]),m[1]&1024&&y!==(y=f[106].gameModel.details?f[106].gameModel.launchUrl:"")&&l(e,"livelobbyendpoint",y),m[0]&1024&&l(e,"clientstyling",f[10]),m[0]&2048&&l(e,"clientstylingurl",f[11]),m[0]&8&&l(e,"endpoint",f[3]),m[0]&65536&&l(e,"livecasino",f[16]),m[0]&131072&&l(e,"gamepagemodalurl",f[17]),m[0]&262144&&l(e,"integratedgameframedesktop",f[18]),m[0]&524288&&l(e,"integratedgameframemobile",f[19]),m[0]&512&&l(e,"mbsource",f[9]),m[0]&16384&&l(e,"allowsingleclickgameentry",f[14])},d(f){f&&M(e)}}}function Cu(t){var a,i,o,s,u,c,d,g,p;let e=((o=(i=(a=t[106])==null?void 0:a.gameModel)==null?void 0:i.platform)==null?void 0:o.includes("iPad"))||((c=(u=(s=t[106])==null?void 0:s.gameModel)==null?void 0:u.platform)==null?void 0:c.includes("iPhone"))||((p=(g=(d=t[106])==null?void 0:d.gameModel)==null?void 0:g.platform)==null?void 0:p.includes("Android")),n,r=e&&Vr(t);return{c(){r&&r.c(),n=we()},m(v,b){r&&r.m(v,b),k(v,n,b)},p(v,b){var y,f,m,C,S,T,A,I,H;b[1]&1024&&(e=((m=(f=(y=v[106])==null?void 0:y.gameModel)==null?void 0:f.platform)==null?void 0:m.includes("iPad"))||((T=(S=(C=v[106])==null?void 0:C.gameModel)==null?void 0:S.platform)==null?void 0:T.includes("iPhone"))||((H=(I=(A=v[106])==null?void 0:A.gameModel)==null?void 0:I.platform)==null?void 0:H.includes("Android"))),e?r?r.p(v,b):(r=Vr(v),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(v){v&&M(n),r&&r.d(v)}}}function Vr(t){let e,n,r,a,i,o,s,u,c,d,g,p,v,b,y;return{c(){var f,m,C,S,T,A;e=N("casino-game-thumbnail-nd"),l(e,"class",n=""+(He+(t[106].cellSize?t[106].cellSize:"1x1"))),l(e,"session",t[6]),l(e,"userid",t[7]),l(e,"lang",t[5]),l(e,"favorites",t[8]),l(e,"categoryid",t[0]),l(e,"gamethumbnail",r=t[106].gameModel.thumbnail),l(e,"icon",a=t[46]((f=t[106])==null?void 0:f.icons)),l(e,"gamename",i=t[106].gameModel.name),l(e,"gamevendor",o=(S=(C=(m=t[106])==null?void 0:m.gameModel)==null?void 0:C.vendor)==null?void 0:S.logo),l(e,"gameLaunchUrl",s=t[106].launchUrl),l(e,"gameisnew",u=t[106].gameModel.isNew),l(e,"gametag",c=t[45]((T=t[106].gameModel)==null?void 0:T.advancedTags)),l(e,"gamecellsize",d=t[106].cellSize),l(e,"gameid",g=t[106].gameModel.id),l(e,"gamefunmode",p=t[106].gameModel.hasFunMode),l(e,"showgamename",t[15]),l(e,"gamefavorite",v=t[106].gameModel.isFavorite),l(e,"showfavoredcategory",t[38]),l(e,"connectlive",b=t[44][(A=t[106])==null?void 0:A.id]==1?"connect":"disconnect"),l(e,"visibilityconnect",t[39]),l(e,"translationurl",t[12]),l(e,"currency",t[13]),l(e,"livelobbyendpoint",y=t[106].gameModel.details?t[106].gameModel.launchUrl:""),l(e,"clientstyling",t[10]),l(e,"clientstylingurl",t[11]),l(e,"endpoint",t[3]),l(e,"livecasino",t[16]),l(e,"gamepagemodalurl",t[17]),l(e,"integratedgameframedesktop",t[18]),l(e,"integratedgameframemobile",t[19]),l(e,"allowsingleclickgameentry",t[14]),l(e,"mbsource",t[9])},m(f,m){k(f,e,m)},p(f,m){var C,S,T,A,I,H;m[1]&1024&&n!==(n=""+(He+(f[106].cellSize?f[106].cellSize:"1x1")))&&l(e,"class",n),m[0]&64&&l(e,"session",f[6]),m[0]&128&&l(e,"userid",f[7]),m[0]&32&&l(e,"lang",f[5]),m[0]&256&&l(e,"favorites",f[8]),m[0]&1&&l(e,"categoryid",f[0]),m[1]&1024&&r!==(r=f[106].gameModel.thumbnail)&&l(e,"gamethumbnail",r),m[1]&1024&&a!==(a=f[46]((C=f[106])==null?void 0:C.icons))&&l(e,"icon",a),m[1]&1024&&i!==(i=f[106].gameModel.name)&&l(e,"gamename",i),m[1]&1024&&o!==(o=(A=(T=(S=f[106])==null?void 0:S.gameModel)==null?void 0:T.vendor)==null?void 0:A.logo)&&l(e,"gamevendor",o),m[1]&1024&&s!==(s=f[106].launchUrl)&&l(e,"gameLaunchUrl",s),m[1]&1024&&u!==(u=f[106].gameModel.isNew)&&l(e,"gameisnew",u),m[1]&1024&&c!==(c=f[45]((I=f[106].gameModel)==null?void 0:I.advancedTags))&&l(e,"gametag",c),m[1]&1024&&d!==(d=f[106].cellSize)&&l(e,"gamecellsize",d),m[1]&1024&&g!==(g=f[106].gameModel.id)&&l(e,"gameid",g),m[1]&1024&&p!==(p=f[106].gameModel.hasFunMode)&&l(e,"gamefunmode",p),m[0]&32768&&l(e,"showgamename",f[15]),m[1]&1024&&v!==(v=f[106].gameModel.isFavorite)&&l(e,"gamefavorite",v),m[1]&128&&l(e,"showfavoredcategory",f[38]),m[1]&1024&&b!==(b=f[44][(H=f[106])==null?void 0:H.id]==1?"connect":"disconnect")&&l(e,"connectlive",b),m[1]&256&&l(e,"visibilityconnect",f[39]),m[0]&4096&&l(e,"translationurl",f[12]),m[0]&8192&&l(e,"currency",f[13]),m[1]&1024&&y!==(y=f[106].gameModel.details?f[106].gameModel.launchUrl:"")&&l(e,"livelobbyendpoint",y),m[0]&1024&&l(e,"clientstyling",f[10]),m[0]&2048&&l(e,"clientstylingurl",f[11]),m[0]&8&&l(e,"endpoint",f[3]),m[0]&65536&&l(e,"livecasino",f[16]),m[0]&131072&&l(e,"gamepagemodalurl",f[17]),m[0]&262144&&l(e,"integratedgameframedesktop",f[18]),m[0]&524288&&l(e,"integratedgameframemobile",f[19]),m[0]&16384&&l(e,"allowsingleclickgameentry",f[14]),m[0]&512&&l(e,"mbsource",f[9])},d(f){f&&M(e)}}}function Yr(t){let e,n=t[106].gameModel&&jr(t);return{c(){n&&n.c(),e=we()},m(r,a){n&&n.m(r,a),k(r,e,a)},p(r,a){r[106].gameModel?n?n.p(r,a):(n=jr(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(r){r&&M(e),n&&n.d(r)}}}function Xr(t){let e,n,r,a=t[28].name+"",i,o;function s(v,b){return v[28].icon?Mu:Tu}let u=s(t),c=u(t);function d(v,b){return v[27]&&v[30]?Ou:Pu}let g=d(t),p=g(t);return{c(){e=N("div"),c.c(),n=me(),r=N("h3"),i=q(a),o=me(),p.c(),_(r,"class","CategoryName"),_(e,"class","CasinoGamesHeader")},m(v,b){k(v,e,b),c.m(e,null),O(e,n),O(e,r),O(r,i),t[58](r),O(e,o),p.m(e,null)},p(v,b){u===(u=s(v))&&c?c.p(v,b):(c.d(1),c=u(v),c&&(c.c(),c.m(e,n))),b[0]&268435456&&a!==(a=v[28].name+"")&&fe(i,a),g===(g=d(v))&&p?p.p(v,b):(p.d(1),p=g(v),p&&(p.c(),p.m(e,null)))},d(v){v&&M(e),c.d(),t[58](null),p.d()}}}function Tu(t){let e;return{c(){e=N("span"),e.innerHTML='<div class="CategoryIconAnimation"></div> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>',_(e,"class","CategoryIcon")},m(n,r){k(n,e,r)},p:ee,d(n){n&&M(e)}}}function Mu(t){let e,n;return{c(){e=N("img"),kn(e.src,n=t[28].icon)||_(e,"src",n),_(e,"alt","Category Icon")},m(r,a){k(r,e,a)},p(r,a){a[0]&268435456&&!kn(e.src,n=r[28].icon)&&_(e,"src",n)},d(r){r&&M(e)}}}function Pu(t){let e,n,r,a=t[1]=="true"&&t[23]==="false"&&qr(t),i=t[2]=="true"&&Qr(t);return{c(){e=N("div"),a&&a.c(),n=me(),i&&i.c(),_(e,"class",r=t[1]=="true"&&t[23]==="false"&&t[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")},m(o,s){k(o,e,s),a&&a.m(e,null),O(e,n),i&&i.m(e,null)},p(o,s){o[1]=="true"&&o[23]==="false"?a?a.p(o,s):(a=qr(o),a.c(),a.m(e,n)):a&&(a.d(1),a=null),o[2]=="true"?i?i.p(o,s):(i=Qr(o),i.c(),i.m(e,null)):i&&(i.d(1),i=null),s[0]&8388614&&r!==(r=o[1]=="true"&&o[23]==="false"&&o[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")&&_(e,"class",r)},d(o){o&&M(e),a&&a.d(),i&&i.d()}}}function Ou(t){var g,p,v;let e,n,r=t[42]("viewAll")+"",a,i,o=((v=(p=(g=t[28])==null?void 0:g.games)==null?void 0:p.total)!=null?v:0)+"",s,u,c,d;return{c(){e=N("a"),n=N("span"),a=q(r),i=q(" ("),s=q(o),u=q(")"),_(n,"class","CategoryLoadMore"),_(e,"class","CategoryNameLink")},m(b,y){k(b,e,y),O(e,n),O(n,a),O(n,i),O(n,s),O(n,u),c||(d=ia(e,"click",t[59]),c=!0)},p(b,y){var f,m,C;y[1]&2048&&r!==(r=b[42]("viewAll")+"")&&fe(a,r),y[0]&268435456&&o!==(o=((C=(m=(f=b[28])==null?void 0:f.games)==null?void 0:m.total)!=null?C:0)+"")&&fe(s,o)},d(b){b&&M(e),c=!1,d()}}}function qr(t){let e;return{c(){e=N("casino-filter"),l(e,"clientstylingurl",t[11]),l(e,"clientstyling",t[10]),l(e,"endpoint",t[3]),l(e,"datasource",t[4]),l(e,"lang",t[5]),l(e,"categoryid",t[0]),l(e,"addfilterselector",t[1]),l(e,"addsortingselector",t[2]),l(e,"filterbylogo",t[21]),l(e,"mbsource",t[9])},m(n,r){k(n,e,r)},p(n,r){r[0]&2048&&l(e,"clientstylingurl",n[11]),r[0]&1024&&l(e,"clientstyling",n[10]),r[0]&8&&l(e,"endpoint",n[3]),r[0]&16&&l(e,"datasource",n[4]),r[0]&32&&l(e,"lang",n[5]),r[0]&1&&l(e,"categoryid",n[0]),r[0]&2&&l(e,"addfilterselector",n[1]),r[0]&4&&l(e,"addsortingselector",n[2]),r[0]&2097152&&l(e,"filterbylogo",n[21]),r[0]&512&&l(e,"mbsource",n[9])},d(n){n&&M(e)}}}function Qr(t){let e;return{c(){e=N("casino-sort"),l(e,"clientstylingurl",t[11]),l(e,"clientstyling",t[10]),l(e,"lang",t[5]),l(e,"categoryid",t[0]),l(e,"addsortingselector",t[2]),l(e,"mbsource",t[9])},m(n,r){k(n,e,r)},p(n,r){r[0]&2048&&l(e,"clientstylingurl",n[11]),r[0]&1024&&l(e,"clientstyling",n[10]),r[0]&32&&l(e,"lang",n[5]),r[0]&1&&l(e,"categoryid",n[0]),r[0]&4&&l(e,"addsortingselector",n[2]),r[0]&512&&l(e,"mbsource",n[9])},d(n){n&&M(e)}}}function ku(t){let e,n=t[42]("noResults")+"",r;return{c(){e=N("p"),r=q(n),_(e,"class","NoSearchResults")},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("noResults")+"")&&fe(r,n)},d(a){a&&M(e)}}}function Nu(t){let e,n=[],r=new Map,a,i=Be(t[29]);const o=s=>{var u;return(u=s[106])==null?void 0:u.id};for(let s=0;s<i.length;s+=1){let u=Dr(t,i,s),c=o(u);r.set(c,n[s]=Jr(c,u))}return{c(){e=N("ul");for(let s=0;s<n.length;s+=1)n[s].c();_(e,"class",a=(t[41].items.length===0&&t[38]?"":"CasinoGamesGrid")+" "+(t[27]&&t[22]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(s,u){k(s,e,u);for(let c=0;c<n.length;c+=1)n[c]&&n[c].m(e,null);t[60](e)},p(s,u){u[0]&542113769|u[1]&57600&&(i=Be(s[29]),n=ha(n,u,o,1,s,i,r,e,fa,Jr,null,Dr)),u[0]&138412032|u[1]&1152&&a!==(a=(s[41].items.length===0&&s[38]?"":"CasinoGamesGrid")+" "+(s[27]&&s[22]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&_(e,"class",a)},d(s){s&&M(e);for(let u=0;u<n.length;u+=1)n[u].d();t[60](null)}}}function Au(t){let e;return{c(){e=N("div"),_(e,"class","DualRing")},m(n,r){k(n,e,r)},p:ee,d(n){n&&M(e)}}}function Hu(t){let e,n,r,a,i,o,s,u,c,d,g,p,v,b,y;return{c(){var f,m,C,S,T;e=N("casino-game-thumbnail-nd"),l(e,"gamethumbnail",n=t[106].thumbnail),l(e,"icon",r=t[46]((f=t[106])==null?void 0:f.icons)),l(e,"session",t[6]),l(e,"userid",t[7]),l(e,"lang",t[5]),l(e,"class",a=""+(He+(t[106].cellSize?t[106].cellSize:"1x1"))),l(e,"favorites",t[8]),l(e,"categoryid",t[0]),l(e,"gamename",i=t[106].name),l(e,"gamevendor",o=(C=(m=t[106])==null?void 0:m.vendor)==null?void 0:C.logo),l(e,"gameLaunchUrl",s=t[106].launchUrl),l(e,"gameisnew",u=t[106].isNew),l(e,"gametag",c=t[45](t[106].advancedTags)),l(e,"gamecellsize",d=t[106].cellSize),l(e,"gameid",g=(S=t[106])==null?void 0:S.id),l(e,"gamefunmode",p=t[106].hasFunMode),l(e,"gamefavorite",v=t[106].isFavorite),l(e,"translationurl",t[12]),l(e,"showgamename",t[15]),l(e,"connectlive",b=t[44][(T=t[106])==null?void 0:T.id]==1?"connect":"disconnect"),l(e,"visibilityconnect",t[39]),l(e,"currency",t[13]),l(e,"livelobbyendpoint",y=t[106].details?t[106].href:""),l(e,"clientstyling",t[10]),l(e,"clientstylingurl",t[11]),l(e,"endpoint",t[3]),l(e,"livecasino",t[16]),l(e,"gamepagemodalurl",t[17]),l(e,"integratedgameframedesktop",t[18]),l(e,"integratedgameframemobile",t[19]),l(e,"casinogamesgridslider",t[22]),l(e,"mbsource",t[9]),l(e,"allowsingleclickgameentry",t[14])},m(f,m){k(f,e,m)},p(f,m){var C,S,T,A,I;m[0]&536870912&&n!==(n=f[106].thumbnail)&&l(e,"gamethumbnail",n),m[0]&536870912&&r!==(r=f[46]((C=f[106])==null?void 0:C.icons))&&l(e,"icon",r),m[0]&64&&l(e,"session",f[6]),m[0]&128&&l(e,"userid",f[7]),m[0]&32&&l(e,"lang",f[5]),m[0]&536870912&&a!==(a=""+(He+(f[106].cellSize?f[106].cellSize:"1x1")))&&l(e,"class",a),m[0]&256&&l(e,"favorites",f[8]),m[0]&1&&l(e,"categoryid",f[0]),m[0]&536870912&&i!==(i=f[106].name)&&l(e,"gamename",i),m[0]&536870912&&o!==(o=(T=(S=f[106])==null?void 0:S.vendor)==null?void 0:T.logo)&&l(e,"gamevendor",o),m[0]&536870912&&s!==(s=f[106].launchUrl)&&l(e,"gameLaunchUrl",s),m[0]&536870912&&u!==(u=f[106].isNew)&&l(e,"gameisnew",u),m[0]&536870912&&c!==(c=f[45](f[106].advancedTags))&&l(e,"gametag",c),m[0]&536870912&&d!==(d=f[106].cellSize)&&l(e,"gamecellsize",d),m[0]&536870912&&g!==(g=(A=f[106])==null?void 0:A.id)&&l(e,"gameid",g),m[0]&536870912&&p!==(p=f[106].hasFunMode)&&l(e,"gamefunmode",p),m[0]&536870912&&v!==(v=f[106].isFavorite)&&l(e,"gamefavorite",v),m[0]&4096&&l(e,"translationurl",f[12]),m[0]&32768&&l(e,"showgamename",f[15]),m[0]&536870912&&b!==(b=f[44][(I=f[106])==null?void 0:I.id]==1?"connect":"disconnect")&&l(e,"connectlive",b),m[1]&256&&l(e,"visibilityconnect",f[39]),m[0]&8192&&l(e,"currency",f[13]),m[0]&536870912&&y!==(y=f[106].details?f[106].href:"")&&l(e,"livelobbyendpoint",y),m[0]&1024&&l(e,"clientstyling",f[10]),m[0]&2048&&l(e,"clientstylingurl",f[11]),m[0]&8&&l(e,"endpoint",f[3]),m[0]&65536&&l(e,"livecasino",f[16]),m[0]&131072&&l(e,"gamepagemodalurl",f[17]),m[0]&262144&&l(e,"integratedgameframedesktop",f[18]),m[0]&524288&&l(e,"integratedgameframemobile",f[19]),m[0]&4194304&&l(e,"casinogamesgridslider",f[22]),m[0]&512&&l(e,"mbsource",f[9]),m[0]&16384&&l(e,"allowsingleclickgameentry",f[14])},d(f){f&&M(e)}}}function Jr(t,e){let n,r,a=Hu(e);return{key:t,first:null,c(){n=we(),a&&a.c(),r=we(),this.first=n},m(i,o){k(i,n,o),a&&a.m(i,o),k(i,r,o)},p(i,o){e=i,a.p(e,o)},d(i){i&&(M(n),M(r)),a&&a.d(i)}}}function Iu(t){let e,n=t[42]("searchedItems")+"",r;return{c(){e=N("h3"),r=q(n),_(e,"class","StatusText")},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("searchedItems")+"")&&fe(r,n)},d(a){a&&M(e)}}}function Gu(t){let e,n=t[42]("noResults")+"",r;return{c(){e=N("h3"),r=q(n),_(e,"class","StatusText")},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("noResults")+"")&&fe(r,n)},d(a){a&&M(e)}}}function Lu(t){let e,n=t[42]("recentSearchedItems")+"",r;return{c(){e=N("h3"),r=q(n),_(e,"class","StatusText")},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("recentSearchedItems")+"")&&fe(r,n)},d(a){a&&M(e)}}}function xu(t){let e;return{c(){e=N("p"),e.textContent="Waiting",_(e,"class","SearchWaiting")},m(n,r){k(n,e,r)},p:ee,d(n){n&&M(e)}}}function Fu(t){let e,n,r=[],a=new Map,i=!t[34]&&Zr(t),o=Be(t[29]);const s=u=>{var c;return(c=u[106])==null?void 0:c.id};for(let u=0;u<o.length;u+=1){let c=Rr(t,o,u),d=s(c);a.set(d,r[u]=$r(d,c))}return{c(){i&&i.c(),e=me(),n=N("ul");for(let u=0;u<r.length;u+=1)r[u].c();_(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(u,c){i&&i.m(u,c),k(u,e,c),k(u,n,c);for(let d=0;d<r.length;d+=1)r[d]&&r[d].m(n,null)},p(u,c){u[34]?i&&(i.d(1),i=null):i?i.p(u,c):(i=Zr(u),i.c(),i.m(e.parentNode,e)),c[0]&537919465|c[1]&49156&&(o=Be(u[29]),r=ha(r,c,s,1,u,o,a,n,fa,$r,null,Rr))},d(u){u&&(M(e),M(n)),i&&i.d(u);for(let c=0;c<r.length;c+=1)r[c].d()}}}function Zr(t){let e,n=t[42]("noRecentSearch")+"",r;return{c(){e=N("p"),r=q(n),_(e,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(De(t[43])?"NoRecentSearchesMobile":""))},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("noRecentSearch")+"")&&fe(r,n)},d(a){a&&M(e)}}}function $r(t,e){let n,r,a,i,o,s,u,c,d,g,p,v,b,y;return{key:t,first:null,c(){var f,m,C,S,T,A,I;n=N("casino-game-thumbnail-nd"),l(n,"class",r=""+(He+((f=e[106])!=null&&f.cellSize?(m=e[106])==null?void 0:m.cellSize:"1x1"))),l(n,"session",e[6]),l(n,"userid",e[7]),l(n,"lang",e[5]),l(n,"searchitem",e[33]),l(n,"favorites",e[8]),l(n,"categoryid",e[0]),l(n,"gamethumbnail",a=(C=e[106])==null?void 0:C.thumbnail),l(n,"icon",i=e[46]((S=e[106])==null?void 0:S.icons)),l(n,"gamename",o=e[106].name),l(n,"gamevendor",s=(A=(T=e[106])==null?void 0:T.vendor)==null?void 0:A.logo),l(n,"gameLaunchUrl",u=e[106].launchUrl),l(n,"gameisnew",c=e[106].isNew),l(n,"gametag",d=e[45](e[106].advancedTags)),l(n,"gamecellsize",g=e[106].cellSize),l(n,"gameid",p=(I=e[106])==null?void 0:I.id),l(n,"gamefunmode",v=e[106].hasFunMode),l(n,"showgamename",e[15]),l(n,"translationurl",e[12]),l(n,"gamefavorite",b=e[106].isFavorite),l(n,"currency",e[13]),l(n,"livelobbyendpoint",y=e[106].details?e[106].href:""),l(n,"clientstyling",e[10]),l(n,"clientstylingurl",e[11]),l(n,"endpoint",e[3]),l(n,"livecasino",e[16]),l(n,"gamepagemodalurl",e[17]),l(n,"integratedgameframedesktop",e[18]),l(n,"integratedgameframemobile",e[19]),l(n,"mbsource",e[9]),l(n,"allowsingleclickgameentry",e[14]),this.first=n},m(f,m){k(f,n,m)},p(f,m){var C,S,T,A,I,H,Q;e=f,m[0]&536870912&&r!==(r=""+(He+((C=e[106])!=null&&C.cellSize?(S=e[106])==null?void 0:S.cellSize:"1x1")))&&l(n,"class",r),m[0]&64&&l(n,"session",e[6]),m[0]&128&&l(n,"userid",e[7]),m[0]&32&&l(n,"lang",e[5]),m[1]&4&&l(n,"searchitem",e[33]),m[0]&256&&l(n,"favorites",e[8]),m[0]&1&&l(n,"categoryid",e[0]),m[0]&536870912&&a!==(a=(T=e[106])==null?void 0:T.thumbnail)&&l(n,"gamethumbnail",a),m[0]&536870912&&i!==(i=e[46]((A=e[106])==null?void 0:A.icons))&&l(n,"icon",i),m[0]&536870912&&o!==(o=e[106].name)&&l(n,"gamename",o),m[0]&536870912&&s!==(s=(H=(I=e[106])==null?void 0:I.vendor)==null?void 0:H.logo)&&l(n,"gamevendor",s),m[0]&536870912&&u!==(u=e[106].launchUrl)&&l(n,"gameLaunchUrl",u),m[0]&536870912&&c!==(c=e[106].isNew)&&l(n,"gameisnew",c),m[0]&536870912&&d!==(d=e[45](e[106].advancedTags))&&l(n,"gametag",d),m[0]&536870912&&g!==(g=e[106].cellSize)&&l(n,"gamecellsize",g),m[0]&536870912&&p!==(p=(Q=e[106])==null?void 0:Q.id)&&l(n,"gameid",p),m[0]&536870912&&v!==(v=e[106].hasFunMode)&&l(n,"gamefunmode",v),m[0]&32768&&l(n,"showgamename",e[15]),m[0]&4096&&l(n,"translationurl",e[12]),m[0]&536870912&&b!==(b=e[106].isFavorite)&&l(n,"gamefavorite",b),m[0]&8192&&l(n,"currency",e[13]),m[0]&536870912&&y!==(y=e[106].details?e[106].href:"")&&l(n,"livelobbyendpoint",y),m[0]&1024&&l(n,"clientstyling",e[10]),m[0]&2048&&l(n,"clientstylingurl",e[11]),m[0]&8&&l(n,"endpoint",e[3]),m[0]&65536&&l(n,"livecasino",e[16]),m[0]&131072&&l(n,"gamepagemodalurl",e[17]),m[0]&262144&&l(n,"integratedgameframedesktop",e[18]),m[0]&524288&&l(n,"integratedgameframemobile",e[19]),m[0]&512&&l(n,"mbsource",e[9]),m[0]&16384&&l(n,"allowsingleclickgameentry",e[14])},d(f){f&&M(n)}}}function Bu(t){let e;return{c(){e=N("p"),e.textContent="500 Error - Internal Server Error.",_(e,"class","SearchLoading")},m(n,r){k(n,e,r)},d(n){n&&M(e)}}}function Kr(t){let e;return{c(){e=N("div"),_(e,"class","sentinel")},m(n,r){k(n,e,r),t[63](e)},p:ee,d(n){n&&M(e),t[63](null)}}}function Du(t){let e,n;function r(s,u){return s[26]?du:s[31]?mu:hu}let a=r(t),i=a(t),o=!t[27]&&Kr(t);return{c(){e=N("div"),i.c(),n=me(),o&&o.c(),_(e,"class","CasinoGamesCategorySectionContainer")},m(s,u){k(s,e,u),i.m(e,null),O(e,n),o&&o.m(e,null),t[64](e)},p(s,u){a===(a=r(s))&&i?i.p(s,u):(i.d(1),i=a(s),i&&(i.c(),i.m(e,n))),s[27]?o&&(o.d(1),o=null):o?o.p(s,u):(o=Kr(s),o.c(),o.m(e,null))},i:ee,o:ee,d(s){s&&M(e),i.d(),o&&o.d(),t[64](null)}}}const He="game-tile-";function Ru(t,e,n){let r;na(t,Ya,h=>n(42,r=h));let{endpoint:a=""}=e,{datasource:i=""}=e,{lang:o=""}=e,{session:s=""}=e,{userid:u=""}=e,{favorites:c=""}=e,{mbsource:d}=e,{clientstyling:g=""}=e,{clientstylingurl:p=""}=e,{translationurl:v=""}=e,{currency:b=""}=e,{allowsingleclickgameentry:y="false"}=e,{categoryid:f=""}=e,{showgamename:m=""}=e,{livecasino:C="false"}=e,{gamepagemodalurl:S="true"}=e,{integratedgameframedesktop:T="false"}=e,{integratedgameframemobile:A="false"}=e,{casinomygames:I="false"}=e,{addfilterselector:H="false"}=e,{addsortingselector:Q="false"}=e,{filterbylogo:se=""}=e,{casinogamesgridslider:Ee="false"}=e,{fetchviaevent:J="false"}=e,{showallpage:de="casino"}=e,{actionevent:Pe="CategoryChange"}=e,{displayedgamecount:St="10"}=e,{showallbuttongamescount:Ct="10"}=e,{lobbyscreen:rn="true"}=e,{usesinglevendorfilter:an="false"}=e,{visiblegames:Tt="10"}=e,{customizesectionicon:on="true"}=e,{requiredicon:sn="false"}=e,Oe=!0,We=!1,ln,un,Se=!0,$n=window.navigator.userAgent,ne,W=[],Mt={},ke=!0,cn=Math.max(Number(Tt),1)||10,Ce=!1,Pt=!1,it=!1,fn=!0,hn=!1,ot,Kn,st,lt=!1,pe,ut,ni,ri={},mn="",er="",Ot,ge=null,Z,ct=!1,dn=!1,le,ve=[],kt=new AbortController,Nt=new AbortController,Ve={items:[],count:0,name:""};const gn=h=>{Object.keys(h).forEach(w=>{Ks(w,h[w])})},ai=()=>{fetch(v).then(w=>w.json()).then(w=>{gn(w)}).catch(w=>{console.log(w)})};gn(tl),typeof document.hidden!="undefined"?Ot="hidden":typeof document.msHidden!="undefined"?Ot="msHidden":typeof document.webkitHidden!="undefined"&&(Ot="webkitHidden");const ft=(h,w,P)=>{Nt&&Nt.abort(),Nt=new AbortController;const x=Nt.signal,{handleLoading:F=!1,updateShownCategory:R=!1}=P||{};return new Promise((E,D)=>{if(!h||!w){E([]);return}const V=`${a}/v1/player/${w}/favorites`,re={method:"GET",headers:{"X-SessionID":h},signal:x};F&&n(25,Oe=!0),fetch(V,re).then(X=>X.json()).then(X=>{var K;if(!x.aborted){if(le=[],Array.isArray(X==null?void 0:X.items)){X.items.forEach(ie=>{ie.gameModel&&(le.push(ie),ve.includes(ie==null?void 0:ie.id)||ve.push(ie==null?void 0:ie.id))});const $=(K=Pn(le))==null?void 0:K.length;window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:$})}f==="FAVORITES"&&ar(le),R&&(W.forEach($=>{$&&($.isFavorite=Ie($==null?void 0:$.id))}),n(29,W=[...W].filter($=>!!$))),E(le)}}).catch(X=>{X.name!=="AbortError"&&(n(26,We=!0),console.error(X),D(X))}).finally(()=>{F&&n(25,Oe=!1)})})},ii=({endpoint:h,datasource:w,categoryid:P,offset:x,limit:F,lang:R,userAgent:E,vendorFilters:D,vendorSort:V,usesinglevendorfilter:re,lobbyView:X,showFavGamesCategory:K,sortedBy:$})=>{var dt;const ie=x,Ge=F!=null?F:40;let Le=P,he;(P&&P.match(/\$/g)||[]).length>1?(Le=P.split("$").slice(0,2).join("$"),he=new URL(`${h}/v1/casino/groups/${w}/${Le}/subGroups`)):he=new URL(`${h}/v1/casino/groups/${w}/${P}`),he.searchParams.set("expand","games(vendor)"),he.searchParams.set("platform",Xa(E)),he.searchParams.set("pagination",`games(offset=${ie},limit=${Ge})`),he.searchParams.set("language",R);let ht="id,name,games";on==="true"&&(ht+=",icon"),he.searchParams.append("fields",ht);const mt=re==="true"?"*":P;if(D&&((dt=D[mt])!=null&&dt.length)&&(re==="true"||X===!1&&K===!1)){const Gt=D[mt].map(Lt=>`games(vendor(id=${Lt}))`).join(",");he.searchParams.set("filter",Gt)}const xe=V!=null&&V[P]&&V[P]!=="All"?V[P]:$&&$!=="All"?$:null;return xe&&(he.searchParams.set("sortedField",`games(${xe})`),(xe==="isNew"||xe==="advancedTags(name(hot))")&&he.searchParams.set("orderBy","DES")),he},At=(h,w,P)=>{kt&&kt.abort(),kt=new AbortController;const x=kt.signal;return n(25,Oe=!0),window.postMessage({type:"CategoryVendors",categoryid:w},window.location.href),new Promise((F,R)=>{fetch(h,{signal:x}).then(E=>{if(!E.ok)throw E.status===404&&window.postMessage({type:"NonExistentCategory"},window.location.origin),new Error(`HTTP ${E.status}`);return E.json()}).then(E=>{var D,V,re,X;if(!x.aborted){if(n(25,Oe=!1),n(26,We=!1),(w&&w.match(/\$/g)||[]).length>1&&(E=Array.isArray(E==null?void 0:E.items)&&(D=E.items.find(K=>K.id===w))!=null?D:E),E==null){n(26,We=!0),R(new Error("Category not found"));return}if(E.games==null||typeof E.games!="object"){n(26,We=!0),R(new Error("Category games data missing"));return}Kn=(re=(V=E==null?void 0:E.games)==null?void 0:V.total)!=null?re:0,P&&Array.isArray((X=E==null?void 0:E.games)==null?void 0:X.items)&&E.games.items.forEach(K=>{K&&(K.isFavorite=Ie(K==null?void 0:K.id))}),n(35,hn=!0),F(E)}}).catch(E=>{E.name!=="AbortError"&&(n(26,We=!0),console.error(E),R(E))}).finally(()=>{oi()})})},Ht=(h,w,P)=>new Promise((x,F)=>{const R=Fr(localStorage.getItem("vendorFiltersByCategory")),E=Fr(localStorage.getItem("vendorSortingBy")),D=ii({endpoint:a,datasource:i,categoryid:h,offset:w,limit:P,lang:o,userAgent:$n,vendorFilters:R,vendorSort:E,usesinglevendorfilter:an,lobbyView:Se,showFavGamesCategory:lt,sortedBy:er});c=="true"?ft(s,u).then(V=>{At(D,h,V).then(x).catch(F)}).catch(F):At(D,h,null).then(x).catch(F)}),It=h=>{var P,x,F,R,E,D;if(h==null)return;const w=h.games!=null?h:bn(vn({},h),{games:{count:0,total:0,items:[],pages:null}});n(28,ne=w),n(29,W=(F=(x=(P=ne==null?void 0:ne.games)==null?void 0:P.items)==null?void 0:x.filter(V=>!!V))!=null?F:[]),Mt[ne.id]=(D=(E=(R=ne==null?void 0:ne.games)==null?void 0:R.pages)==null?void 0:E.next)!=null?D:null},oi=()=>{if(!pe)return;const h=pe.getRootNode().host;h.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:h}}))},si=(h,w,P)=>{h!==""&&(n(31,Ce=!1),n(27,Se=!0),n(1,H="false"),n(2,Q="false"),n(33,it=!1),n(30,ke=+w>+P),Ht(h,0,+w).then(It))},tr=h=>{var w,P,x,F,R,E,D,V,re,X,K,$,ie,Ge,Le,he,ht,mt,xe,dt,Gt,Lt;if(!(!h.data||h.data==null))switch(h.data.type){case"MostPlayedData":if(f=="MOSTPLAYED"){const z=(P=(w=h.data)==null?void 0:w.mostPlayedGames)!=null?P:[];n(31,Ce=!1),n(27,Se=!1),n(30,ke=!1),n(29,W=z.filter(ue=>!!ue)),n(28,ne={id:"MOSTPLAYED",name:"Most Played Games",games:{count:z.length,total:z.length,items:z,pages:null}}),W&&W.forEach(ue=>{ue&&(ue.isFavorite=Ie(ue==null?void 0:ue.id))})}n(25,Oe=!1);break;case"LastPlayedData":if(f=="LASTPLAYED"){const z=(F=(x=h.data)==null?void 0:x.lastPlayedGames)!=null?F:[];n(31,Ce=!1),n(27,Se=!1),n(30,ke=!1),n(29,W=z.filter(ue=>!!ue)),n(28,ne={id:"LASTPLAYED",name:"Last Played Games",games:{count:z.length,total:z.length,items:z,pages:null}}),W&&W.forEach(ue=>{ue&&(ue.isFavorite=Ie(ue==null?void 0:ue.id))})}n(25,Oe=!1);break;case"RecentSearchData":n(31,Ce=!0),n(32,Pt=!0),Array.isArray((R=h.data)==null?void 0:R.searchData)&&h.data.searchData.length>0?(n(29,W=h.data.searchData.filter(z=>!!z)),n(34,fn=!0),W&&W.forEach(z=>{z&&(z.isFavorite=Ie(z==null?void 0:z.id))})):(n(29,W=[]),n(34,fn=!1));break;case"OutOfRecentSearches":n(31,Ce=!1),n(32,Pt=!1);break;case"SearchData":n(31,Ce=!0),n(32,Pt=!1),n(29,W=(re=(V=(D=(E=h.data)==null?void 0:E.searchData)==null?void 0:D.items)==null?void 0:V.filter(z=>!!z))!=null?re:[]),n(33,it=!0),(X=h.data)!=null&&X.receivedFavoriteResults&&(le=(K=h.data.receivedFavoriteResults.items)!=null?K:[]),W&&W.forEach(z=>{z&&(z.isFavorite=Ie(z==null?void 0:z.id))});break;case`CategoryData_${f}`:n(31,Ce=!1),n(27,Se=!0),n(1,H="false"),n(2,Q="false"),n(33,it=!1),Ht(($=h.data)==null?void 0:$.categoryId,0,(ie=h.data)==null?void 0:ie.visiblegames).then(It).finally(()=>{var z;n(30,ke=!(Kn<=((z=h.data)==null?void 0:z.visiblegames)&&Se))});break;case"CategoryChange":cn=20;break;case"ApplySorter":lr(),n(0,f=(Ge=h.data)==null?void 0:Ge.itemId),er=(Le=h.data)==null?void 0:Le.sortBy,Ht(f,0,cn).then(It).finally(()=>{n(30,ke=!1),sr()});break;case"CategoryUpdate":nr((he=h.data)==null?void 0:he.itemId);break;case`SetUnfavoredGame${f}`:ui(`${a}/v1/player/${u}/favorites`,s,(ht=h.data)==null?void 0:ht.id);break;case`SetFavoredGame${f}`:li(`${a}/v1/player/${u}/favorites`,s,(mt=h.data)==null?void 0:mt.id);break;case"UserSessionID":ln=(xe=h.data)==null?void 0:xe.session,un=(dt=h.data)==null?void 0:dt.userID;const Si=c==="true",Ci=typeof un=="string"&&un.length>0,Ti=typeof ln=="string"&&ln.length>0;Si&&Ci&&Ti&&ft(s,u,{handleLoading:!0,updateShownCategory:!0});break;case"UpdateFavoredList":f==="FAVORITES"&&rr((Gt=h.data)==null?void 0:Gt.url,(Lt=h.data)==null?void 0:Lt.sessionID);break}},nr=(h,w=!1)=>{lr(),n(31,Ce=!1),n(27,Se=rn==="true"),n(33,it=!1),n(35,hn=!1),n(0,f=h),f!=="MOSTPLAYED"&&!w&&n(30,ke=!1),I!=="true"&&(!le&&s&&ft(s,u,{handleLoading:!0,updateShownCategory:!0}),Ht(f,0,cn).then(It).finally(()=>{Se?window.postMessage({type:`CategoryData_${f}`,categoryId:f,visiblegames:Tt},window.location.href):sr()}))},Ie=h=>{var w;return(w=le==null?void 0:le.some(P=>P.id===h))!=null?w:!1},li=(h,w,P)=>xt(this,null,function*(){yield rr(h,w),ve.includes(P)||ve.push(P);let F={method:"POST",headers:{"X-SessionID":w,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:ve})};fetch(h,F).then(R=>R.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${P}`},window.location.href),window.postMessage({type:"UpdateFavoredList",url:h,sessionID:w})}).catch(R=>{console.error("Err",R)})}),ui=(h,w,P)=>{let x={method:"DELETE",headers:{"X-SessionID":w}};fetch(`${h}/${P}`,x).then(F=>F.json()).then(()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${P}`},window.location.href),window.postMessage({type:"UpdateFavoredList",url:h,sessionID:w})}),ve.includes(P)&&(ve=ve.filter(F=>F!=P))},rr=(h,w)=>xt(this,null,function*(){return fetch(h,{method:"GET",headers:{"X-SessionID":w}}).then(x=>x.json()).then(x=>{var R;le=Array.isArray(x==null?void 0:x.items)?x.items:[],J?le.forEach(E=>{ve.includes(E==null?void 0:E.id)||ve.push(E==null?void 0:E.id)}):le.forEach(E=>{E&&(E.isFavorite=Ie(E==null?void 0:E.id))});const F=(R=Pn(le))==null?void 0:R.length;f==="FAVORITES"&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:F}),ar(le))}).catch(x=>{console.error(x)})}),ar=h=>{if(!h)return;let w;w=(h==null?void 0:h.items)||h||[],w.length>0&&w.forEach(P=>{P.gameModel&&(P.gameModel.isFavorite=!0)}),n(41,Ve.items=Pn(w,Ve.items),Ve),n(41,Ve.name="Favorites",Ve),n(25,Oe=!1)},ci=h=>new Promise((w,P)=>{var R,E;if(!Mt[h])return ne&&ne.id===h&&W.length>=((E=(R=ne==null?void 0:ne.games)==null?void 0:R.total)!=null?E:0)?w(be.END):w(be.MORE);const x=new URL(Mt[h]),F=D=>{var V,re,X,K,$,ie,Ge;n(29,W=[...W,...(re=(V=D==null?void 0:D.games)==null?void 0:V.items)!=null?re:[]].filter(Le=>!!Le)),Mt[h]=($=(K=(X=D==null?void 0:D.games)==null?void 0:X.pages)==null?void 0:K.next)!=null?$:null,W.length<((Ge=(ie=D==null?void 0:D.games)==null?void 0:ie.total)!=null?Ge:0)?w(be.MORE):w(be.END)};c=="true"?ft(s,u).then(D=>{At(x,h,D).then(F).catch(()=>w(be.END))}).catch(()=>w(be.END)):At(x,h,null).then(F).catch(()=>w(be.END))}),fi=h=>{const w=h!=null?h:[];if((w==null?void 0:w.length)===0)return"";let P="",x=999999999999,F;const R=new Date(Date.now());return w.forEach((E,D)=>{if(!Array.isArray(E==null?void 0:E.schedules)||E.schedules.length===0)return;const V=new Date(E.schedules[0].startTime),re=new Date(E.schedules[0].endTime);Hr(new Date(re),new Date(R))<x&&(x=Hr(new Date(re),new Date(R)),F=D),uu(new Date(R),new Date(V))&&cu(new Date(R),new Date(re))&&F!==void 0&&w[F]&&(P=w[F].name)}),P},hi=h=>sn!=="true"?void 0:Object.values(h!=null?h:{}).pop(),ir=h=>{n(30,ke=!1),window.postMessage({type:`${Pe}`,itemId:h,showallpage:de},window.location.href)},mi=()=>{switch(f){case"FAVORITES":u&&s&&n(38,lt=!0);break;case"MOSTPLAYED":I==="false"&&u&&s&&n(38,lt=!1);break;case"LASTPLAYED":I==="false"&&u&&s&&n(38,lt=!1);break;default:nr(f,!0);break}},or=()=>{document[Ot]?n(39,mn="disconnect"):n(39,mn="connect")},di=()=>{ge&&(Z==null||Z.disconnect(),Z=new IntersectionObserver(h=>{var w;ct||dn||(w=h==null?void 0:h[0])!=null&&w.isIntersecting&&ge&&(ct=!0,Z==null||Z.unobserve(ge),ci(f).then(P=>{P===be.MORE&&(ct=!1,ge&&(Z==null||Z.observe(ge))),P===be.END&&(dn=!0,Z==null||Z.disconnect())}))}),Z.observe(ge))},sr=()=>{ge&&(ct=!1,dn=!1,di())},lr=()=>{!ge||!Z||(ct=!0,Z.unobserve(ge))},gi=()=>{el(o)};sa(()=>(window.addEventListener("visibilitychange",or),window.addEventListener("message",tr,!1),()=>{ut&&ut.unsubscribe(),window.removeEventListener("visibilitychange",or),window.removeEventListener("message",tr)})),Ri(()=>{Z==null||Z.disconnect()});function pi(h){Te[h?"unshift":"push"](()=>{st=h,n(37,st)})}const vi=h=>ir(ne.id);function bi(h){Te[h?"unshift":"push"](()=>{ot=h,n(36,ot)})}function _i(h){Te[h?"unshift":"push"](()=>{st=h,n(37,st)})}function yi(h){Te[h?"unshift":"push"](()=>{ot=h,n(36,ot)})}function wi(h){Te[h?"unshift":"push"](()=>{ge=h,n(40,ge)})}function Ei(h){Te[h?"unshift":"push"](()=>{pe=h,n(24,pe)})}return t.$$set=h=>{"endpoint"in h&&n(3,a=h.endpoint),"datasource"in h&&n(4,i=h.datasource),"lang"in h&&n(5,o=h.lang),"session"in h&&n(6,s=h.session),"userid"in h&&n(7,u=h.userid),"favorites"in h&&n(8,c=h.favorites),"mbsource"in h&&n(9,d=h.mbsource),"clientstyling"in h&&n(10,g=h.clientstyling),"clientstylingurl"in h&&n(11,p=h.clientstylingurl),"translationurl"in h&&n(12,v=h.translationurl),"currency"in h&&n(13,b=h.currency),"allowsingleclickgameentry"in h&&n(14,y=h.allowsingleclickgameentry),"categoryid"in h&&n(0,f=h.categoryid),"showgamename"in h&&n(15,m=h.showgamename),"livecasino"in h&&n(16,C=h.livecasino),"gamepagemodalurl"in h&&n(17,S=h.gamepagemodalurl),"integratedgameframedesktop"in h&&n(18,T=h.integratedgameframedesktop),"integratedgameframemobile"in h&&n(19,A=h.integratedgameframemobile),"casinomygames"in h&&n(20,I=h.casinomygames),"addfilterselector"in h&&n(1,H=h.addfilterselector),"addsortingselector"in h&&n(2,Q=h.addsortingselector),"filterbylogo"in h&&n(21,se=h.filterbylogo),"casinogamesgridslider"in h&&n(22,Ee=h.casinogamesgridslider),"fetchviaevent"in h&&n(48,J=h.fetchviaevent),"showallpage"in h&&n(49,de=h.showallpage),"actionevent"in h&&n(50,Pe=h.actionevent),"displayedgamecount"in h&&n(51,St=h.displayedgamecount),"showallbuttongamescount"in h&&n(52,Ct=h.showallbuttongamescount),"lobbyscreen"in h&&n(53,rn=h.lobbyscreen),"usesinglevendorfilter"in h&&n(23,an=h.usesinglevendorfilter),"visiblegames"in h&&n(54,Tt=h.visiblegames),"customizesectionicon"in h&&n(55,on=h.customizesectionicon),"requiredicon"in h&&n(56,sn=h.requiredicon)},t.$$.update=()=>{t.$$.dirty[0]&32&&o&&gi(),t.$$.dirty[0]&57|t.$$.dirty[1]&3276800&&(J==="false"||J==="")&&a&&o&&f&&i&&St&&Ct&&si(f,St,Ct),t.$$.dirty[0]&456&&c==="true"&&a&&s&&u&&ft(s,u,{handleLoading:!0,updateShownCategory:!0}),t.$$.dirty[0]&33&&o&&f&&mi(),t.$$.dirty[0]&4096&&v&&ai(),t.$$.dirty[0]&16778240&&g&&pe&&qa(pe,g),t.$$.dirty[0]&16779264&&p&&pe&&Qa(pe,p),t.$$.dirty[0]&16777728|t.$$.dirty[1]&67108864&&d&&pe&&n(57,ut=Ja(pe,`${d}.Style`,ut,!0)),t.$$.dirty[0]&4608&&d&&!v&&ei(`${d}.Translation`,ni,gn)},[f,H,Q,a,i,o,s,u,c,d,g,p,v,b,y,m,C,S,T,A,I,se,Ee,an,pe,Oe,We,Se,ne,W,ke,Ce,Pt,it,fn,hn,ot,st,lt,mn,ge,Ve,r,$n,ri,fi,hi,ir,J,de,Pe,St,Ct,rn,Tt,on,sn,ut,pi,vi,bi,_i,yi,wi,Ei]}class ti extends pa{constructor(e){super(),ma(this,e,Ru,Du,qn,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,mbsource:9,clientstyling:10,clientstylingurl:11,translationurl:12,currency:13,allowsingleclickgameentry:14,categoryid:0,showgamename:15,livecasino:16,gamepagemodalurl:17,integratedgameframedesktop:18,integratedgameframemobile:19,casinomygames:20,addfilterselector:1,addsortingselector:2,filterbylogo:21,casinogamesgridslider:22,fetchviaevent:48,showallpage:49,actionevent:50,displayedgamecount:51,showallbuttongamescount:52,lobbyscreen:53,usesinglevendorfilter:23,visiblegames:54,customizesectionicon:55,requiredicon:56},fu,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),G()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),G()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),G()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),G()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),G()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),G()}get mbsource(){return this.$$.ctx[9]}set mbsource(e){this.$$set({mbsource:e}),G()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),G()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),G()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),G()}get currency(){return this.$$.ctx[13]}set currency(e){this.$$set({currency:e}),G()}get allowsingleclickgameentry(){return this.$$.ctx[14]}set allowsingleclickgameentry(e){this.$$set({allowsingleclickgameentry:e}),G()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),G()}get showgamename(){return this.$$.ctx[15]}set showgamename(e){this.$$set({showgamename:e}),G()}get livecasino(){return this.$$.ctx[16]}set livecasino(e){this.$$set({livecasino:e}),G()}get gamepagemodalurl(){return this.$$.ctx[17]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),G()}get integratedgameframedesktop(){return this.$$.ctx[18]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),G()}get integratedgameframemobile(){return this.$$.ctx[19]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),G()}get casinomygames(){return this.$$.ctx[20]}set casinomygames(e){this.$$set({casinomygames:e}),G()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),G()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),G()}get filterbylogo(){return this.$$.ctx[21]}set filterbylogo(e){this.$$set({filterbylogo:e}),G()}get casinogamesgridslider(){return this.$$.ctx[22]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),G()}get fetchviaevent(){return this.$$.ctx[48]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),G()}get showallpage(){return this.$$.ctx[49]}set showallpage(e){this.$$set({showallpage:e}),G()}get actionevent(){return this.$$.ctx[50]}set actionevent(e){this.$$set({actionevent:e}),G()}get displayedgamecount(){return this.$$.ctx[51]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),G()}get showallbuttongamescount(){return this.$$.ctx[52]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),G()}get lobbyscreen(){return this.$$.ctx[53]}set lobbyscreen(e){this.$$set({lobbyscreen:e}),G()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(e){this.$$set({usesinglevendorfilter:e}),G()}get visiblegames(){return this.$$.ctx[54]}set visiblegames(e){this.$$set({visiblegames:e}),G()}get customizesectionicon(){return this.$$.ctx[55]}set customizesectionicon(e){this.$$set({customizesectionicon:e}),G()}get requiredicon(){return this.$$.ctx[56]}set requiredicon(e){this.$$set({requiredicon:e}),G()}}ga(ti,{endpoint:{},datasource:{},lang:{},session:{},userid:{},favorites:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},allowsingleclickgameentry:{},categoryid:{},showgamename:{},livecasino:{},gamepagemodalurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},casinomygames:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},casinogamesgridslider:{},fetchviaevent:{},showallpage:{},actionevent:{},displayedgamecount:{},showallbuttongamescount:{},lobbyscreen:{},usesinglevendorfilter:{},visiblegames:{},customizesectionicon:{},requiredicon:{}},[],[],!0);const Uu=Object.freeze(Object.defineProperty({__proto__:null,default:ti},Symbol.toStringTag,{value:"Module"}));exports.$dictionary=rt;exports.$format=Ya;exports.$locale=je;exports.CasinoGamesCategorySectionNd_ce=Uu;exports.HtmlTag=Bi;exports.SvelteComponent=pa;exports.addMessages=Jn;exports.append=O;exports.append_styles=ra;exports.attr=_;exports.binding_callbacks=Te;exports.component_subscribe=na;exports.create_custom_element=ga;exports.destroy_each=aa;exports.detach=M;exports.element=N;exports.empty=we;exports.ensure_array_like=Be;exports.flush=G;exports.format=su;exports.getDevice=Xa;exports.getStreamTranslations=ei;exports.init=ma;exports.insert=k;exports.isMobile=De;exports.listen=ia;exports.noop=ee;exports.onMount=sa;exports.run_all=Ue;exports.safe_not_equal=qn;exports.setClientStyling=qa;exports.setClientStylingURL=Qa;exports.setStreamStyling=Ja;exports.set_custom_element_data=l;exports.set_data=fe;exports.set_input_value=Li;exports.set_style=xi;exports.space=me;exports.src_url_equal=kn;exports.svg_element=_e;exports.text=q;exports.tick=Ui;exports.toggle_class=Fi;
|
|
18
|
+
`,et.MISSING_INTL_API,o);var T=n.getPluralRules(e,{type:d.pluralType}).select(p-(d.offset||0));S=d.options[T]||d.options.other}if(!S)throw new Pr(d.value,p,Object.keys(d.options),o);s.push.apply(s,zt(S.value,e,n,r,a,p-(d.offset||0)));continue}}return ms(s)}function gs(t,e){return e?ye(ye(ye({},t||{}),e||{}),Object.keys(t).reduce(function(n,r){return n[r]=ye(ye({},t[r]),e[r]||{}),n},{})):t}function ps(t,e){return e?Object.keys(t).reduce(function(n,r){return n[r]=gs(t[r],e[r]),n},ye({},t)):t}function Tn(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,n){t[e]=n}}}}}function vs(t){return t===void 0&&(t={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:En(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,wn([void 0],n,!1)))},{cache:Tn(t.number),strategy:Sn.variadic}),getDateTimeFormat:En(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,wn([void 0],n,!1)))},{cache:Tn(t.dateTime),strategy:Sn.variadic}),getPluralRules:En(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,wn([void 0],n,!1)))},{cache:Tn(t.pluralRules),strategy:Sn.variadic})}}var bs=function(){function t(e,n,r,a){n===void 0&&(n=t.defaultLocale);var i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var c=i.formatToParts(u);if(c.length===1)return c[0].value;var d=c.reduce(function(g,p){return!g.length||p.type!==ce.literal||typeof g[g.length-1]!="string"?g.push(p.value):g[g.length-1]+=p.value,g},[]);return d.length<=1?d[0]||"":d},this.formatToParts=function(u){return zt(i.ast,i.locales,i.formatters,i.formats,u,void 0,i.message)},this.resolvedOptions=function(){var u;return{locale:((u=i.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=n,this.resolvedLocale=t.resolveLocale(n),typeof e=="string"){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=a||{};o.formatters;var s=Po(o,["formatters"]);this.ast=t.__parse(e,ye(ye({},s),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=ps(t.formats,r),this.formatters=a&&a.formatters||vs(this.formatterCache)}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(e){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(e);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},t.__parse=cs,t.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"}}},t}();function _s(t,e){if(e==null)return;if(e in t)return t[e];const n=e.split(".");let r=t;for(let a=0;a<n.length;a++)if(typeof r=="object"){if(a>0){const i=n.slice(a,n.length).join(".");if(i in r){r=r[i];break}}r=r[n[a]]}else r=void 0;return r}const Ae={},ys=(t,e,n)=>n&&(e in Ae||(Ae[e]={}),t in Ae[e]||(Ae[e][t]=n),n),Ra=(t,e)=>{if(e==null)return;if(e in Ae&&t in Ae[e])return Ae[e][t];const n=en(e);for(let r=0;r<n.length;r++){const a=n[r],i=Es(a,t);if(i)return ys(t,e,i)}};let Qn;const rt=Zt({});function ws(t){return Qn[t]||null}function Ua(t){return t in Qn}function Es(t,e){if(!Ua(t))return null;const n=ws(t);return _s(n,e)}function Ss(t){if(t==null)return;const e=en(t);for(let n=0;n<e.length;n++){const r=e[n];if(Ua(r))return r}}function Jn(t,...e){delete Ae[t],rt.update(n=>(n[t]=Mo.all([n[t]||{},...e]),n))}nt([rt],([t])=>Object.keys(t));rt.subscribe(t=>Qn=t);const jt={};function Cs(t,e){jt[t].delete(e),jt[t].size===0&&delete jt[t]}function za(t){return jt[t]}function Ts(t){return en(t).map(e=>{const n=za(e);return[e,n?[...n]:[]]}).filter(([,e])=>e.length>0)}function Vn(t){return t==null?!1:en(t).some(e=>{var n;return(n=za(e))==null?void 0:n.size})}function Ms(t,e){return Promise.all(e.map(r=>(Cs(t,r),r().then(a=>a.default||a)))).then(r=>Jn(t,...r))}const gt={};function ja(t){if(!Vn(t))return t in gt?gt[t]:Promise.resolve();const e=Ts(t);return gt[t]=Promise.all(e.map(([n,r])=>Ms(n,r))).then(()=>{if(Vn(t))return ja(t);delete gt[t]}),gt[t]}const Ps={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"}}},Os={fallbackLocale:null,loadingDelay:200,formats:Ps,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ks=Os;function tt(){return ks}const Mn=Zt(!1);var Ns=Object.defineProperty,As=Object.defineProperties,Hs=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertySymbols,Is=Object.prototype.hasOwnProperty,Gs=Object.prototype.propertyIsEnumerable,kr=(t,e,n)=>e in t?Ns(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ls=(t,e)=>{for(var n in e||(e={}))Is.call(e,n)&&kr(t,n,e[n]);if(Or)for(var n of Or(e))Gs.call(e,n)&&kr(t,n,e[n]);return t},xs=(t,e)=>As(t,Hs(e));let Yn;const Vt=Zt(null);function Nr(t){return t.split("-").map((e,n,r)=>r.slice(0,n+1).join("-")).reverse()}function en(t,e=tt().fallbackLocale){const n=Nr(t);return e?[...new Set([...n,...Nr(e)])]:n}function ze(){return Yn!=null?Yn:void 0}Vt.subscribe(t=>{Yn=t!=null?t:void 0,typeof window!="undefined"&&t!=null&&document.documentElement.setAttribute("lang",t)});const Fs=t=>{if(t&&Ss(t)&&Vn(t)){const{loadingDelay:e}=tt();let n;return typeof window!="undefined"&&ze()!=null&&e?n=window.setTimeout(()=>Mn.set(!0),e):Mn.set(!0),ja(t).then(()=>{Vt.set(t)}).finally(()=>{clearTimeout(n),Mn.set(!1)})}return Vt.set(t)},je=xs(Ls({},Vt),{set:Fs}),tn=t=>{const e=Object.create(null);return r=>{const a=JSON.stringify(r);return a in e?e[a]:e[a]=t(r)}};var Bs=Object.defineProperty,Yt=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,Va=Object.prototype.propertyIsEnumerable,Ar=(t,e,n)=>e in t?Bs(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Zn=(t,e)=>{for(var n in e||(e={}))Wa.call(e,n)&&Ar(t,n,e[n]);if(Yt)for(var n of Yt(e))Va.call(e,n)&&Ar(t,n,e[n]);return t},at=(t,e)=>{var n={};for(var r in t)Wa.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&Yt)for(var r of Yt(t))e.indexOf(r)<0&&Va.call(t,r)&&(n[r]=t[r]);return n};const wt=(t,e)=>{const{formats:n}=tt();if(t in n&&e in n[t])return n[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Ds=tn(t=>{var e=t,{locale:n,format:r}=e,a=at(e,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(a=wt("number",r)),new Intl.NumberFormat(n,a)}),Rs=tn(t=>{var e=t,{locale:n,format:r}=e,a=at(e,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?a=wt("date",r):Object.keys(a).length===0&&(a=wt("date","short")),new Intl.DateTimeFormat(n,a)}),Us=tn(t=>{var e=t,{locale:n,format:r}=e,a=at(e,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?a=wt("time",r):Object.keys(a).length===0&&(a=wt("time","short")),new Intl.DateTimeFormat(n,a)}),zs=(t={})=>{var e=t,{locale:n=ze()}=e,r=at(e,["locale"]);return Ds(Zn({locale:n},r))},js=(t={})=>{var e=t,{locale:n=ze()}=e,r=at(e,["locale"]);return Rs(Zn({locale:n},r))},Ws=(t={})=>{var e=t,{locale:n=ze()}=e,r=at(e,["locale"]);return Us(Zn({locale:n},r))},Vs=tn((t,e=ze())=>new bs(t,e,tt().formats,{ignoreTag:tt().ignoreTag})),Ys=(t,e={})=>{var n,r,a,i;let o=e;typeof t=="object"&&(o=t,t=o.id);const{values:s,locale:u=ze(),default:c}=o;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let d=Ra(t,u);if(!d)d=(i=(a=(r=(n=tt()).handleMissingMessage)==null?void 0:r.call(n,{locale:u,id:t,defaultValue:c}))!=null?a:c)!=null?i:t;else if(typeof d!="string")return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof d}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),d;if(!s)return d;let g=d;try{g=Vs(d,u).format(s)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,p.message)}return g},Xs=(t,e)=>Ws(e).format(t),qs=(t,e)=>js(e).format(t),Qs=(t,e)=>zs(e).format(t),Js=(t,e=ze())=>Ra(t,e),Ya=nt([je,rt],()=>Ys);nt([je],()=>Xs);nt([je],()=>qs);nt([je],()=>Qs);nt([je,rt],()=>Js);window.emWidgets={topic:lo};const De=t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Xa=t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Pn(t,e){const n=window.navigator.userAgent;return De(n)?e=t.filter(r=>{if(r.gameModel&&(r.gameModel.platform.includes("iPad")||r.gameModel.platform.includes("iPhone")||r.gameModel.platform.includes("Android")))return r}):e=t.filter(r=>{if(r.gameModel&&r.gameModel.platform.includes("PC"))return r}),e}String(Number.MAX_SAFE_INTEGER).length;const Je="__WIDGET_GLOBAL_STYLE_CACHE__";function qa(t,e){if(t){const n=document.createElement("style");n.innerHTML=e,t.appendChild(n)}}function Qa(t,e){if(!t||!e)return;const n=new URL(e);fetch(n.href).then(r=>r.text()).then(r=>{const a=document.createElement("style");a.innerHTML=r,t&&t.appendChild(a)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function Ja(t,e,n,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return n=Zs(t,e),n;window[Je]||(window[Je]={}),n=$s(t,e);const i=n.unsubscribe.bind(n),o=()=>{if(window[Je][e]){const s=window[Je][e];s.refCount>1?s.refCount=s.refCount-1:delete window[Je][e]}i()};return n.unsubscribe=o,n}function Zs(t,e){const n=document.createElement("style");return window.emMessageBus.subscribe(e,r=>{t&&(n.innerHTML=r,t.appendChild(n))})}function $s(t,e){return window.emMessageBus.subscribe(e,n=>{if(!t)return;const r=t.getRootNode(),a=window[Je];let i=a[e]&&a[e].sheet;i?a[e].refCount=a[e].refCount+1:(i=new CSSStyleSheet,i.replaceSync(n),a[e]={sheet:i,refCount:1});const o=r.adoptedStyleSheets||[];o.includes(i)||(r.adoptedStyleSheets=[...o,i])})}function Ks(t,e){Jn(t,e)}function el(t){je.set(t)}var be=(t=>(t[t.MORE=1]="MORE",t[t.END=-1]="END",t))(be||{});const tl={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待",playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare.",playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente",playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando",playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor",playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз",playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare",playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje",playNow:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra.",playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie.",playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando",playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno.",playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo.",playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando",playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando",playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"},"en-us":{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}};function Xt(t){"@babel/helpers - typeof";return Xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xt(t)}function Re(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function te(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function oe(t){te(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||Xt(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function nl(t,e){te(2,arguments);var n=oe(t).getTime(),r=Re(e);return new Date(n+r)}var rl={};function nn(){return rl}function al(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}function il(t){return te(1,arguments),t instanceof Date||Xt(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ol(t){if(te(1,arguments),!il(t)&&typeof t!="number")return!1;var e=oe(t);return!isNaN(Number(e))}function Hr(t,e){return te(2,arguments),oe(t).getTime()-oe(e).getTime()}function sl(t,e){te(2,arguments);var n=Re(e);return nl(t,-n)}var ll=864e5;function ul(t){te(1,arguments);var e=oe(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=e.getTime(),a=n-r;return Math.floor(a/ll)+1}function qt(t){te(1,arguments);var e=1,n=oe(t),r=n.getUTCDay(),a=(r<e?7:0)+r-e;return n.setUTCDate(n.getUTCDate()-a),n.setUTCHours(0,0,0,0),n}function Za(t){te(1,arguments);var e=oe(t),n=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var a=qt(r),i=new Date(0);i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0);var o=qt(i);return e.getTime()>=a.getTime()?n+1:e.getTime()>=o.getTime()?n:n-1}function cl(t){te(1,arguments);var e=Za(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var r=qt(n);return r}var fl=6048e5;function hl(t){te(1,arguments);var e=oe(t),n=qt(e).getTime()-cl(e).getTime();return Math.round(n/fl)+1}function Qt(t,e){var n,r,a,i,o,s,u,c;te(1,arguments);var d=nn(),g=Re((n=(r=(a=(i=e==null?void 0:e.weekStartsOn)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&a!==void 0?a:d.weekStartsOn)!==null&&r!==void 0?r:(u=d.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=oe(t),v=p.getUTCDay(),b=(v<g?7:0)+v-g;return p.setUTCDate(p.getUTCDate()-b),p.setUTCHours(0,0,0,0),p}function $a(t,e){var n,r,a,i,o,s,u,c;te(1,arguments);var d=oe(t),g=d.getUTCFullYear(),p=nn(),v=Re((n=(r=(a=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:p.firstWeekContainsDate)!==null&&r!==void 0?r:(u=p.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(g+1,0,v),b.setUTCHours(0,0,0,0);var y=Qt(b,e),f=new Date(0);f.setUTCFullYear(g,0,v),f.setUTCHours(0,0,0,0);var m=Qt(f,e);return d.getTime()>=y.getTime()?g+1:d.getTime()>=m.getTime()?g:g-1}function ml(t,e){var n,r,a,i,o,s,u,c;te(1,arguments);var d=nn(),g=Re((n=(r=(a=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:d.firstWeekContainsDate)!==null&&r!==void 0?r:(u=d.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&n!==void 0?n:1),p=$a(t,e),v=new Date(0);v.setUTCFullYear(p,0,g),v.setUTCHours(0,0,0,0);var b=Qt(v,e);return b}var dl=6048e5;function gl(t,e){te(1,arguments);var n=oe(t),r=Qt(n,e).getTime()-ml(n,e).getTime();return Math.round(r/dl)+1}function U(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length<e;)r="0"+r;return n+r}var Ne={y:function(e,n){var r=e.getUTCFullYear(),a=r>0?r:1-r;return U(n==="yy"?a%100:a,n.length)},M:function(e,n){var r=e.getUTCMonth();return n==="M"?String(r+1):U(r+1,2)},d:function(e,n){return U(e.getUTCDate(),n.length)},a:function(e,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,n){return U(e.getUTCHours()%12||12,n.length)},H:function(e,n){return U(e.getUTCHours(),n.length)},m:function(e,n){return U(e.getUTCMinutes(),n.length)},s:function(e,n){return U(e.getUTCSeconds(),n.length)},S:function(e,n){var r=n.length,a=e.getUTCMilliseconds(),i=Math.floor(a*Math.pow(10,r-3));return U(i,n.length)}},qe={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},pl={G:function(e,n,r){var a=e.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(a,{width:"abbreviated"});case"GGGGG":return r.era(a,{width:"narrow"});case"GGGG":default:return r.era(a,{width:"wide"})}},y:function(e,n,r){if(n==="yo"){var a=e.getUTCFullYear(),i=a>0?a:1-a;return r.ordinalNumber(i,{unit:"year"})}return Ne.y(e,n)},Y:function(e,n,r,a){var i=$a(e,a),o=i>0?i:1-i;if(n==="YY"){var s=o%100;return U(s,2)}return n==="Yo"?r.ordinalNumber(o,{unit:"year"}):U(o,n.length)},R:function(e,n){var r=Za(e);return U(r,n.length)},u:function(e,n){var r=e.getUTCFullYear();return U(r,n.length)},Q:function(e,n,r){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"Q":return String(a);case"QQ":return U(a,2);case"Qo":return r.ordinalNumber(a,{unit:"quarter"});case"QQQ":return r.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,n,r){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"q":return String(a);case"qq":return U(a,2);case"qo":return r.ordinalNumber(a,{unit:"quarter"});case"qqq":return r.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,n,r){var a=e.getUTCMonth();switch(n){case"M":case"MM":return Ne.M(e,n);case"Mo":return r.ordinalNumber(a+1,{unit:"month"});case"MMM":return r.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(a,{width:"wide",context:"formatting"})}},L:function(e,n,r){var a=e.getUTCMonth();switch(n){case"L":return String(a+1);case"LL":return U(a+1,2);case"Lo":return r.ordinalNumber(a+1,{unit:"month"});case"LLL":return r.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(a,{width:"wide",context:"standalone"})}},w:function(e,n,r,a){var i=gl(e,a);return n==="wo"?r.ordinalNumber(i,{unit:"week"}):U(i,n.length)},I:function(e,n,r){var a=hl(e);return n==="Io"?r.ordinalNumber(a,{unit:"week"}):U(a,n.length)},d:function(e,n,r){return n==="do"?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):Ne.d(e,n)},D:function(e,n,r){var a=ul(e);return n==="Do"?r.ordinalNumber(a,{unit:"dayOfYear"}):U(a,n.length)},E:function(e,n,r){var a=e.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(a,{width:"short",context:"formatting"});case"EEEE":default:return r.day(a,{width:"wide",context:"formatting"})}},e:function(e,n,r,a){var i=e.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(n){case"e":return String(o);case"ee":return U(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,n,r,a){var i=e.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(n){case"c":return String(o);case"cc":return U(o,n.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,n,r){var a=e.getUTCDay(),i=a===0?7:a;switch(n){case"i":return String(i);case"ii":return U(i,n.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(a,{width:"short",context:"formatting"});case"iiii":default:return r.day(a,{width:"wide",context:"formatting"})}},a:function(e,n,r){var a=e.getUTCHours(),i=a/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,n,r){var a=e.getUTCHours(),i;switch(a===12?i=qe.noon:a===0?i=qe.midnight:i=a/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,n,r){var a=e.getUTCHours(),i;switch(a>=17?i=qe.evening:a>=12?i=qe.afternoon:a>=4?i=qe.morning:i=qe.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,n,r){if(n==="ho"){var a=e.getUTCHours()%12;return a===0&&(a=12),r.ordinalNumber(a,{unit:"hour"})}return Ne.h(e,n)},H:function(e,n,r){return n==="Ho"?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Ne.H(e,n)},K:function(e,n,r){var a=e.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(a,{unit:"hour"}):U(a,n.length)},k:function(e,n,r){var a=e.getUTCHours();return a===0&&(a=24),n==="ko"?r.ordinalNumber(a,{unit:"hour"}):U(a,n.length)},m:function(e,n,r){return n==="mo"?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Ne.m(e,n)},s:function(e,n,r){return n==="so"?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Ne.s(e,n)},S:function(e,n){return Ne.S(e,n)},X:function(e,n,r,a){var i=a._originalDate||e,o=i.getTimezoneOffset();if(o===0)return"Z";switch(n){case"X":return Gr(o);case"XXXX":case"XX":return Fe(o);case"XXXXX":case"XXX":default:return Fe(o,":")}},x:function(e,n,r,a){var i=a._originalDate||e,o=i.getTimezoneOffset();switch(n){case"x":return Gr(o);case"xxxx":case"xx":return Fe(o);case"xxxxx":case"xxx":default:return Fe(o,":")}},O:function(e,n,r,a){var i=a._originalDate||e,o=i.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+Ir(o,":");case"OOOO":default:return"GMT"+Fe(o,":")}},z:function(e,n,r,a){var i=a._originalDate||e,o=i.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+Ir(o,":");case"zzzz":default:return"GMT"+Fe(o,":")}},t:function(e,n,r,a){var i=a._originalDate||e,o=Math.floor(i.getTime()/1e3);return U(o,n.length)},T:function(e,n,r,a){var i=a._originalDate||e,o=i.getTime();return U(o,n.length)}};function Ir(t,e){var n=t>0?"-":"+",r=Math.abs(t),a=Math.floor(r/60),i=r%60;if(i===0)return n+String(a);var o=e;return n+String(a)+o+U(i,2)}function Gr(t,e){if(t%60===0){var n=t>0?"-":"+";return n+U(Math.abs(t)/60,2)}return Fe(t,e)}function Fe(t,e){var n=e||"",r=t>0?"-":"+",a=Math.abs(t),i=U(Math.floor(a/60),2),o=U(a%60,2);return r+i+n+o}var Lr=function(e,n){switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Ka=function(e,n){switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},vl=function(e,n){var r=e.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return Lr(e,n);var o;switch(a){case"P":o=n.dateTime({width:"short"});break;case"PP":o=n.dateTime({width:"medium"});break;case"PPP":o=n.dateTime({width:"long"});break;case"PPPP":default:o=n.dateTime({width:"full"});break}return o.replace("{{date}}",Lr(a,n)).replace("{{time}}",Ka(i,n))},bl={p:Ka,P:vl},_l=["D","DD"],yl=["YY","YYYY"];function wl(t){return _l.indexOf(t)!==-1}function El(t){return yl.indexOf(t)!==-1}function xr(t,e,n){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Sl={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Cl=function(e,n,r){var a,i=Sl[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+a:a+" ago":a};function On(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var Tl={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ml={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Pl={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ol={date:On({formats:Tl,defaultWidth:"full"}),time:On({formats:Ml,defaultWidth:"full"}),dateTime:On({formats:Pl,defaultWidth:"full"})},kl={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Nl=function(e,n,r,a){return kl[e]};function pt(t){return function(e,n){var r=n!=null&&n.context?String(n.context):"standalone",a;if(r==="formatting"&&t.formattingValues){var i=t.defaultFormattingWidth||t.defaultWidth,o=n!=null&&n.width?String(n.width):i;a=t.formattingValues[o]||t.formattingValues[i]}else{var s=t.defaultWidth,u=n!=null&&n.width?String(n.width):t.defaultWidth;a=t.values[u]||t.values[s]}var c=t.argumentCallback?t.argumentCallback(e):e;return a[c]}}var Al={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Hl={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Il={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Gl={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ll={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},xl={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Fl=function(e,n){var r=Number(e),a=r%100;if(a>20||a<10)switch(a%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Bl={ordinalNumber:Fl,era:pt({values:Al,defaultWidth:"wide"}),quarter:pt({values:Hl,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:pt({values:Il,defaultWidth:"wide"}),day:pt({values:Gl,defaultWidth:"wide"}),dayPeriod:pt({values:Ll,defaultWidth:"wide",formattingValues:xl,defaultFormattingWidth:"wide"})};function vt(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,a=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(a);if(!i)return null;var o=i[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],u=Array.isArray(s)?Rl(s,function(g){return g.test(o)}):Dl(s,function(g){return g.test(o)}),c;c=t.valueCallback?t.valueCallback(u):u,c=n.valueCallback?n.valueCallback(c):c;var d=e.slice(o.length);return{value:c,rest:d}}}function Dl(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function Rl(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}function Ul(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var a=r[0],i=e.match(t.parsePattern);if(!i)return null;var o=t.valueCallback?t.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;var s=e.slice(a.length);return{value:o,rest:s}}}var zl=/^(\d+)(th|st|nd|rd)?/i,jl=/\d+/i,Wl={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Vl={any:[/^b/i,/^(a|c)/i]},Yl={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Xl={any:[/1/i,/2/i,/3/i,/4/i]},ql={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ql={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Jl={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Zl={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},$l={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Kl={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},eu={ordinalNumber:Ul({matchPattern:zl,parsePattern:jl,valueCallback:function(e){return parseInt(e,10)}}),era:vt({matchPatterns:Wl,defaultMatchWidth:"wide",parsePatterns:Vl,defaultParseWidth:"any"}),quarter:vt({matchPatterns:Yl,defaultMatchWidth:"wide",parsePatterns:Xl,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:vt({matchPatterns:ql,defaultMatchWidth:"wide",parsePatterns:Ql,defaultParseWidth:"any"}),day:vt({matchPatterns:Jl,defaultMatchWidth:"wide",parsePatterns:Zl,defaultParseWidth:"any"}),dayPeriod:vt({matchPatterns:$l,defaultMatchWidth:"any",parsePatterns:Kl,defaultParseWidth:"any"})},tu={code:"en-US",formatDistance:Cl,formatLong:Ol,formatRelative:Nl,localize:Bl,match:eu,options:{weekStartsOn:0,firstWeekContainsDate:1}},nu=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ru=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,au=/^'([^]*?)'?$/,iu=/''/g,ou=/[a-zA-Z]/;function su(t,e,n){var r,a,i,o,s,u,c,d,g,p,v,b,y,f;te(2,arguments);var m=String(e),C=nn(),S=(r=(a=void 0)!==null&&a!==void 0?a:C.locale)!==null&&r!==void 0?r:tu,T=Re((i=(o=(s=(u=void 0)!==null&&u!==void 0?u:void 0)!==null&&s!==void 0?s:C.firstWeekContainsDate)!==null&&o!==void 0?o:(c=C.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(T>=1&&T<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var A=Re((g=(p=(v=(b=void 0)!==null&&b!==void 0?b:void 0)!==null&&v!==void 0?v:C.weekStartsOn)!==null&&p!==void 0?p:(y=C.locale)===null||y===void 0||(f=y.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&g!==void 0?g:0);if(!(A>=0&&A<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!S.localize)throw new RangeError("locale must contain localize property");if(!S.formatLong)throw new RangeError("locale must contain formatLong property");var I=oe(t);if(!ol(I))throw new RangeError("Invalid time value");var H=al(I),Q=sl(I,H),se={firstWeekContainsDate:T,weekStartsOn:A,locale:S,_originalDate:I},Ee=m.match(ru).map(function(J){var de=J[0];if(de==="p"||de==="P"){var Pe=bl[de];return Pe(J,S.formatLong)}return J}).join("").match(nu).map(function(J){if(J==="''")return"'";var de=J[0];if(de==="'")return lu(J);var Pe=pl[de];if(Pe)return El(J)&&xr(J,e,String(t)),wl(J)&&xr(J,e,String(t)),Pe(Q,J,S.localize,se);if(de.match(ou))throw new RangeError("Format string contains an unescaped latin alphabet character `"+de+"`");return J}).join("");return Ee}function lu(t){var e=t.match(au);return e?e[1].replace(iu,"'"):t}function uu(t,e){te(2,arguments);var n=oe(t),r=oe(e);return n.getTime()>r.getTime()}function cu(t,e){te(2,arguments);var n=oe(t),r=oe(e);return n.getTime()<r.getTime()}function ei(t,e,n){return window.emMessageBus&&(e=window.emMessageBus.subscribe(t,n)),e}const Fr=(t,e=null)=>{try{return t?JSON.parse(t):e}catch(n){return e}};if(typeof window!="undefined"){let t=function(e){return function(...n){try{return e.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoGameThumbnailNd-Bz-WLu9l.cjs")).then(({default:e})=>{!customElements.get("casino-game-thumbnail-nd")&&customElements.define("casino-game-thumbnail-nd",e.element)})}if(typeof window!="undefined"){let t=function(e){return function(...n){try{return e.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoFilter-DZAkhTTh.cjs")).then(({default:e})=>{!customElements.get("casino-filter")&&customElements.define("casino-filter",e.element)})}if(typeof window!="undefined"){let t=function(e){return function(...n){try{return e.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoSort-B-ceqNrX.cjs")).then(({default:e})=>{!customElements.get("casino-sort")&&customElements.define("casino-sort",e.element)})}function fu(t){ra(t,"svelte-3d5n3f",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:var(--emw--border-radius-small, 5px);background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 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(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-large, 24px);font-weight:var(--emw--font-weight-regular, 400)}.CategoryLoadMore{font-size:var(--emw--font-size-small, 14px);color:var(--emw--casino-typography, #FFFFFF)}.NoSearchResults{color:var(--emw--casino-typography, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:var(--emw--font-size-medium, 16px)}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-medium, 16px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;margin-bottom:16px;gap:10px}.CasinoGamesHeader .CategoryIcon{display:flex;place-content:center;background-color:transparent;position:relative;align-items:center;justify-content:center}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer;margin-left:auto}.CasinoGamesHeader .CategoryLoadMore{font-weight:var(--emw--font-weight-normal, 400)}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%}.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-height-scroll, 180px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-height-scroll, 180px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);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:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-height-scroll, 180px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:35px;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:var(--emw--casino-category-grid-gap, 16px)}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-left:auto}.SingleOrEmptyCategoryFilterContainer{margin-left:auto}.SearchLoading{display:block;padding:50px;color:var(--emw--casino-typography, #FFFFFF)}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-small, 110px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-small, 110px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-small, 110px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small-scroll, 100px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-small-scroll, 100px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-small-scroll, 100px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-small-scroll, 100px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium, 122px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium, 122px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 480px){.CategoryFilterContainer{gap:16px}.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium, 122px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium, 122px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium-scroll, 120px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium-scroll, 120px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesContainer .CasinoGamesGrid,.GameContainer.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium-scroll, 120px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px)}.CasinoGamesContainer .CasinoGamesGrid.GamesListIncreasedGap,.GameContainer.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap-scroll-mediu, 10px)}.CasinoGamesContainer .CasinoGamesGrid .GameInfo .GameInfoName,.GameContainer.CasinoGamesGridSlider .GameInfo .GameInfoName{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider{padding-bottom:10px}.GameInnerContainer{border-radius:var(--emw--border-radius-large, 10px)}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{gap:2px}.CasinoGamesHeader{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:center}.CategoryFilterContainer{width:100%}}.DualRing{display:block;width:80px;height:80px;margin:0 auto}.DualRing:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, #22B04E);border-color:var(--emw--casino-color-primary, #22B04E) transparent var(--emw--casino-color-primary, #22B04E);animation:DualRing 1.2s linear infinite}@keyframes DualRing{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CategoryIcon svg{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.CategoryIconAnimation{position:relative;width:55px;height:55px;border-radius:50%;background:linear-gradient(45deg, transparent, transparent 40%, var(--emw--casino-categories-animation-main, #ffff00)), linear-gradient(var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511), var(--emfe-casino-categories-animation-contrast, #141414));animation:rotate 3.5s linear infinite}.CategoryIconAnimation:before,.CategoryIconAnimation:after{content:" ";position:absolute;inset:5px;background:linear-gradient(var(--emw--casino-categories-animation-fill-main-color, #0E1511), var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511));border-radius:inherit}.CategoryIconAnimation:before{background:linear-gradient(45deg, transparent, transparent 40%, var(--emw--casino-categories-animation-main, #ffff00));filter:blur(12px)}@keyframes rotate{100%{transform:rotate(360deg);filter:hue-rotate(360deg)}}')}function Br(t,e,n){const r=t.slice();return r[106]=e[n],r[108]=n,r}function Dr(t,e,n){const r=t.slice();return r[106]=e[n],r[108]=n,r}function Rr(t,e,n){const r=t.slice();return r[106]=e[n],r[108]=n,r}function hu(t){let e;function n(i,o){if(i[28])return pu;if(i[38])return gu}let r=n(t),a=r&&r(t);return{c(){e=N("div"),a&&a.c()},m(i,o){k(i,e,o),a&&a.m(e,null)},p(i,o){r===(r=n(i))&&a?a.p(i,o):(a&&a.d(1),a=r&&r(i),a&&(a.c(),a.m(e,null)))},d(i){i&&M(e),a&&a.d()}}}function mu(t){let e,n,r;function a(d,g){return d[32]?Lu:d[29].length?Iu:Gu}let i=a(t),o=i(t);function s(d,g){return d[29]?Fu:xu}let u=s(t),c=u(t);return{c(){e=N("div"),n=N("div"),o.c(),r=me(),c.c(),_(n,"class","CasinoGamesHeader Searched "+(De(t[43])?"CasinoGamesHeaderMobile":"")),_(e,"class","CasinoGamesContainer")},m(d,g){k(d,e,g),O(e,n),o.m(n,null),O(e,r),c.m(e,null)},p(d,g){i===(i=a(d))&&o?o.p(d,g):(o.d(1),o=i(d),o&&(o.c(),o.m(n,null))),u===(u=s(d))&&c?c.p(d,g):(c.d(1),c=u(d),c&&(c.c(),c.m(e,null)))},d(d){d&&M(e),o.d(),c.d()}}}function du(t){let e;function n(i,o){return Bu}let a=n()(t);return{c(){a.c(),e=we()},m(i,o){a.m(i,o),k(i,e,o)},p:ee,d(i){i&&M(e),a.d(i)}}}function gu(t){let e,n,r,a,i=t[20]!=="true"&&Ur(t);function o(c,d){return c[25]&&!c[35]?_u:c[41]?bu:vu}let s=o(t),u=s(t);return{c(){e=N("div"),i&&i.c(),n=me(),r=N("ul"),u.c(),_(r,"class",a=(t[41].items.length!=0?"CasinoGamesGrid":"")+" GamesListIncreasedGap"),_(e,"class","CasinoGamesContainer")},m(c,d){k(c,e,d),i&&i.m(e,null),O(e,n),O(e,r),u.m(r,null),t[62](r)},p(c,d){c[20]!=="true"?i?i.p(c,d):(i=Ur(c),i.c(),i.m(e,n)):i&&(i.d(1),i=null),s===(s=o(c))&&u?u.p(c,d):(u.d(1),u=s(c),u&&(u.c(),u.m(r,null))),d[1]&1024&&a!==(a=(c[41].items.length!=0?"CasinoGamesGrid":"")+" GamesListIncreasedGap")&&_(r,"class",a)},d(c){c&&M(e),i&&i.d(),u.d(),t[62](null)}}}function pu(t){let e,n,r=t[20]!=="true"&&Xr(t);function a(s,u){return s[25]&&!s[35]?Au:s[29].length!==0?Nu:ku}let i=a(t),o=i(t);return{c(){e=N("div"),r&&r.c(),n=me(),o.c(),_(e,"class","CasinoGamesContainer")},m(s,u){k(s,e,u),r&&r.m(e,null),O(e,n),o.m(e,null)},p(s,u){s[20]!=="true"?r?r.p(s,u):(r=Xr(s),r.c(),r.m(e,n)):r&&(r.d(1),r=null),i===(i=a(s))&&o?o.p(s,u):(o.d(1),o=i(s),o&&(o.c(),o.m(e,null)))},d(s){s&&M(e),r&&r.d(),o.d()}}}function Ur(t){let e,n,r=t[42]("favorites")+"",a,i,o,s,u=t[41].items.length+"",c,d;return{c(){e=N("div"),n=N("h3"),a=q(r),i=me(),o=N("span"),s=q("("),c=q(u),d=q(")"),_(o,"class","CategoryFavName"),_(n,"class","CategoryName"),_(e,"class","CasinoGamesHeader")},m(g,p){k(g,e,p),O(e,n),O(n,a),O(n,i),O(n,o),O(o,s),O(o,c),O(o,d),t[61](n)},p(g,p){p[1]&2048&&r!==(r=g[42]("favorites")+"")&&fe(a,r),p[1]&1024&&u!==(u=g[41].items.length+"")&&fe(c,u)},d(g){g&&M(e),t[61](null)}}}function vu(t){let e,n=t[42]("waiting")+"",r;return{c(){e=N("p"),r=q(n)},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("waiting")+"")&&fe(r,n)},d(a){a&&M(e)}}}function bu(t){let e,n=Be(t[41].items),r=[];for(let i=0;i<n.length;i+=1)r[i]=Yr(Br(t,n,i));let a=null;return n.length||(a=zr(t)),{c(){for(let i=0;i<r.length;i+=1)r[i].c();e=we(),a&&a.c()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);k(i,e,o),a&&a.m(i,o)},p(i,o){if(o[0]&1048553|o[1]&64896){n=Be(i[41].items);let s;for(s=0;s<n.length;s+=1){const u=Br(i,n,s);r[s]?r[s].p(u,o):(r[s]=Yr(u),r[s].c(),r[s].m(e.parentNode,e))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length,!n.length&&a?a.p(i,o):n.length?a&&(a.d(1),a=null):(a=zr(i),a.c(),a.m(e.parentNode,e))}},d(i){i&&M(e),aa(r,i),a&&a.d(i)}}}function _u(t){let e;return{c(){e=N("div"),_(e,"class","lds-dual-ring")},m(n,r){k(n,e,r)},p:ee,d(n){n&&M(e)}}}function zr(t){let e,n,r,a,i,o,s,u,c,d,g,p=t[42]("noFavoritesTitle")+"",v,b,y;function f(S,T){return De(S[43])?wu:yu}let C=f(t)(t);return{c(){e=N("p"),n=_e("svg"),r=_e("rect"),a=_e("rect"),i=_e("circle"),o=_e("path"),s=_e("path"),u=_e("path"),c=_e("path"),d=me(),g=N("span"),v=q(p),b=me(),C.c(),y=me(),_(r,"x","1"),_(r,"y","18.053"),_(r,"width","90.263"),_(r,"height","90.263"),_(r,"rx","12"),_(r,"stroke","var(--emw--color-gray-150, #828282)"),_(r,"stroke-width","1.5"),_(a,"x","106.737"),_(a,"y","56.737"),_(a,"width","90.263"),_(a,"height","90.263"),_(a,"rx","12"),_(a,"stroke","var(--emw--color-gray-150, #828282)"),_(a,"stroke-width","1.5"),_(i,"cx","70.5"),_(i,"cy","32.237"),_(i,"r","31.487"),_(i,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),_(i,"stroke-width","1.5"),_(i,"stroke-dasharray","5 0"),_(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"),_(o,"fill","var(--emw--color-gray-150, #828282)"),_(s,"d","M78 43h11v13H78V43z"),_(s,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),_(u,"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"),_(u,"fill","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),_(u,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),_(u,"stroke-linecap","round"),_(u,"stroke-linejoin","round"),_(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"),_(c,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),_(c,"stroke-width","1.5"),_(c,"stroke-linecap","round"),_(c,"stroke-linejoin","round"),_(n,"width","198"),_(n,"height","148"),_(n,"viewBox","0 0 198 148"),_(n,"fill","none"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(g,"class","NoFavoriteText NoFavoriteTextHighlight"),_(e,"class","NoFavoriteGames "+(De(t[43])?"NoFavoriteGamesMobile":""))},m(S,T){k(S,e,T),O(e,n),O(n,r),O(n,a),O(n,i),O(n,o),O(n,s),O(n,u),O(n,c),O(e,d),O(e,g),O(g,v),O(e,b),C.m(e,null),O(e,y)},p(S,T){T[1]&2048&&p!==(p=S[42]("noFavoritesTitle")+"")&&fe(v,p),C.p(S,T)},d(S){S&&M(e),C.d()}}}function yu(t){let e,n=t[42]("noFavorites")+"",r;return{c(){e=N("span"),r=q(n),_(e,"class","NoFavoriteText")},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("noFavorites")+"")&&fe(r,n)},d(a){a&&M(e)}}}function wu(t){let e,n=t[42]("noFavoritesMobile")+"",r;return{c(){e=N("span"),r=q(n),_(e,"class","NoFavoriteText")},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("noFavoritesMobile")+"")&&fe(r,n)},d(a){a&&M(e)}}}function jr(t){let e,n=t[106].gameModel.isFavorite&&Wr(t);return{c(){n&&n.c(),e=we()},m(r,a){n&&n.m(r,a),k(r,e,a)},p(r,a){r[106].gameModel.isFavorite?n?n.p(r,a):(n=Wr(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(r){r&&M(e),n&&n.d(r)}}}function Wr(t){let e,n=Eu(t);return{c(){n&&n.c(),e=we()},m(r,a){n&&n.m(r,a),k(r,e,a)},p(r,a){n.p(r,a)},d(r){r&&M(e),n&&n.d(r)}}}function Eu(t){let e,n,r;function a(s,u){var c,d,g;if(u[1]&1024&&(n=null),e==null&&(e=!!De(s[43])),e)return Cu;if(n==null&&(n=!!((g=(d=(c=s[106])==null?void 0:c.gameModel)==null?void 0:d.platform)!=null&&g.includes("PC"))),n)return Su}let i=a(t,[-1,-1,-1,-1]),o=i&&i(t);return{c(){o&&o.c(),r=we()},m(s,u){o&&o.m(s,u),k(s,r,u)},p(s,u){i===(i=a(s,u))&&o?o.p(s,u):(o&&o.d(1),o=i&&i(s),o&&(o.c(),o.m(r.parentNode,r)))},d(s){s&&M(r),o&&o.d(s)}}}function Su(t){let e,n,r,a,i,o,s,u,c,d,g,p,v,b,y;return{c(){var f,m,C,S,T,A;e=N("casino-game-thumbnail-nd"),l(e,"class",n=""+(He+(t[106].cellSize?t[106].cellSize:"1x1"))),l(e,"session",t[6]),l(e,"userid",t[7]),l(e,"lang",t[5]),l(e,"translationurl",t[12]),l(e,"favorites",t[8]),l(e,"categoryid",t[0]),l(e,"gamethumbnail",r=t[106].gameModel.thumbnail),l(e,"icon",a=t[46]((f=t[106])==null?void 0:f.icons)),l(e,"gamename",i=t[106].gameModel.name),l(e,"gamevendor",o=(S=(C=(m=t[106])==null?void 0:m.gameModel)==null?void 0:C.vendor)==null?void 0:S.logo),l(e,"gameLaunchUrl",s=t[106].launchUrl),l(e,"gameisnew",u=t[106].gameModel.isNew),l(e,"gametag",c=t[45]((T=t[106].gameModel)==null?void 0:T.advancedTags)),l(e,"gamecellsize",d=t[106].cellSize),l(e,"gameid",g=t[106].gameModel.id),l(e,"gamefunmode",p=t[106].gameModel.hasFunMode),l(e,"showgamename",t[15]),l(e,"gamefavorite",v=t[106].gameModel.isFavorite),l(e,"showfavoredcategory",t[38]),l(e,"connectlive",b=t[44][(A=t[106])==null?void 0:A.id]==1?"connect":"disconnect"),l(e,"visibilityconnect",t[39]),l(e,"currency",t[13]),l(e,"livelobbyendpoint",y=t[106].gameModel.details?t[106].gameModel.launchUrl:""),l(e,"clientstyling",t[10]),l(e,"clientstylingurl",t[11]),l(e,"endpoint",t[3]),l(e,"livecasino",t[16]),l(e,"gamepagemodalurl",t[17]),l(e,"integratedgameframedesktop",t[18]),l(e,"integratedgameframemobile",t[19]),l(e,"mbsource",t[9]),l(e,"allowsingleclickgameentry",t[14])},m(f,m){k(f,e,m)},p(f,m){var C,S,T,A,I,H;m[1]&1024&&n!==(n=""+(He+(f[106].cellSize?f[106].cellSize:"1x1")))&&l(e,"class",n),m[0]&64&&l(e,"session",f[6]),m[0]&128&&l(e,"userid",f[7]),m[0]&32&&l(e,"lang",f[5]),m[0]&4096&&l(e,"translationurl",f[12]),m[0]&256&&l(e,"favorites",f[8]),m[0]&1&&l(e,"categoryid",f[0]),m[1]&1024&&r!==(r=f[106].gameModel.thumbnail)&&l(e,"gamethumbnail",r),m[1]&1024&&a!==(a=f[46]((C=f[106])==null?void 0:C.icons))&&l(e,"icon",a),m[1]&1024&&i!==(i=f[106].gameModel.name)&&l(e,"gamename",i),m[1]&1024&&o!==(o=(A=(T=(S=f[106])==null?void 0:S.gameModel)==null?void 0:T.vendor)==null?void 0:A.logo)&&l(e,"gamevendor",o),m[1]&1024&&s!==(s=f[106].launchUrl)&&l(e,"gameLaunchUrl",s),m[1]&1024&&u!==(u=f[106].gameModel.isNew)&&l(e,"gameisnew",u),m[1]&1024&&c!==(c=f[45]((I=f[106].gameModel)==null?void 0:I.advancedTags))&&l(e,"gametag",c),m[1]&1024&&d!==(d=f[106].cellSize)&&l(e,"gamecellsize",d),m[1]&1024&&g!==(g=f[106].gameModel.id)&&l(e,"gameid",g),m[1]&1024&&p!==(p=f[106].gameModel.hasFunMode)&&l(e,"gamefunmode",p),m[0]&32768&&l(e,"showgamename",f[15]),m[1]&1024&&v!==(v=f[106].gameModel.isFavorite)&&l(e,"gamefavorite",v),m[1]&128&&l(e,"showfavoredcategory",f[38]),m[1]&1024&&b!==(b=f[44][(H=f[106])==null?void 0:H.id]==1?"connect":"disconnect")&&l(e,"connectlive",b),m[1]&256&&l(e,"visibilityconnect",f[39]),m[0]&8192&&l(e,"currency",f[13]),m[1]&1024&&y!==(y=f[106].gameModel.details?f[106].gameModel.launchUrl:"")&&l(e,"livelobbyendpoint",y),m[0]&1024&&l(e,"clientstyling",f[10]),m[0]&2048&&l(e,"clientstylingurl",f[11]),m[0]&8&&l(e,"endpoint",f[3]),m[0]&65536&&l(e,"livecasino",f[16]),m[0]&131072&&l(e,"gamepagemodalurl",f[17]),m[0]&262144&&l(e,"integratedgameframedesktop",f[18]),m[0]&524288&&l(e,"integratedgameframemobile",f[19]),m[0]&512&&l(e,"mbsource",f[9]),m[0]&16384&&l(e,"allowsingleclickgameentry",f[14])},d(f){f&&M(e)}}}function Cu(t){var a,i,o,s,u,c,d,g,p;let e=((o=(i=(a=t[106])==null?void 0:a.gameModel)==null?void 0:i.platform)==null?void 0:o.includes("iPad"))||((c=(u=(s=t[106])==null?void 0:s.gameModel)==null?void 0:u.platform)==null?void 0:c.includes("iPhone"))||((p=(g=(d=t[106])==null?void 0:d.gameModel)==null?void 0:g.platform)==null?void 0:p.includes("Android")),n,r=e&&Vr(t);return{c(){r&&r.c(),n=we()},m(v,b){r&&r.m(v,b),k(v,n,b)},p(v,b){var y,f,m,C,S,T,A,I,H;b[1]&1024&&(e=((m=(f=(y=v[106])==null?void 0:y.gameModel)==null?void 0:f.platform)==null?void 0:m.includes("iPad"))||((T=(S=(C=v[106])==null?void 0:C.gameModel)==null?void 0:S.platform)==null?void 0:T.includes("iPhone"))||((H=(I=(A=v[106])==null?void 0:A.gameModel)==null?void 0:I.platform)==null?void 0:H.includes("Android"))),e?r?r.p(v,b):(r=Vr(v),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(v){v&&M(n),r&&r.d(v)}}}function Vr(t){let e,n,r,a,i,o,s,u,c,d,g,p,v,b,y;return{c(){var f,m,C,S,T,A;e=N("casino-game-thumbnail-nd"),l(e,"class",n=""+(He+(t[106].cellSize?t[106].cellSize:"1x1"))),l(e,"session",t[6]),l(e,"userid",t[7]),l(e,"lang",t[5]),l(e,"favorites",t[8]),l(e,"categoryid",t[0]),l(e,"gamethumbnail",r=t[106].gameModel.thumbnail),l(e,"icon",a=t[46]((f=t[106])==null?void 0:f.icons)),l(e,"gamename",i=t[106].gameModel.name),l(e,"gamevendor",o=(S=(C=(m=t[106])==null?void 0:m.gameModel)==null?void 0:C.vendor)==null?void 0:S.logo),l(e,"gameLaunchUrl",s=t[106].launchUrl),l(e,"gameisnew",u=t[106].gameModel.isNew),l(e,"gametag",c=t[45]((T=t[106].gameModel)==null?void 0:T.advancedTags)),l(e,"gamecellsize",d=t[106].cellSize),l(e,"gameid",g=t[106].gameModel.id),l(e,"gamefunmode",p=t[106].gameModel.hasFunMode),l(e,"showgamename",t[15]),l(e,"gamefavorite",v=t[106].gameModel.isFavorite),l(e,"showfavoredcategory",t[38]),l(e,"connectlive",b=t[44][(A=t[106])==null?void 0:A.id]==1?"connect":"disconnect"),l(e,"visibilityconnect",t[39]),l(e,"translationurl",t[12]),l(e,"currency",t[13]),l(e,"livelobbyendpoint",y=t[106].gameModel.details?t[106].gameModel.launchUrl:""),l(e,"clientstyling",t[10]),l(e,"clientstylingurl",t[11]),l(e,"endpoint",t[3]),l(e,"livecasino",t[16]),l(e,"gamepagemodalurl",t[17]),l(e,"integratedgameframedesktop",t[18]),l(e,"integratedgameframemobile",t[19]),l(e,"allowsingleclickgameentry",t[14]),l(e,"mbsource",t[9])},m(f,m){k(f,e,m)},p(f,m){var C,S,T,A,I,H;m[1]&1024&&n!==(n=""+(He+(f[106].cellSize?f[106].cellSize:"1x1")))&&l(e,"class",n),m[0]&64&&l(e,"session",f[6]),m[0]&128&&l(e,"userid",f[7]),m[0]&32&&l(e,"lang",f[5]),m[0]&256&&l(e,"favorites",f[8]),m[0]&1&&l(e,"categoryid",f[0]),m[1]&1024&&r!==(r=f[106].gameModel.thumbnail)&&l(e,"gamethumbnail",r),m[1]&1024&&a!==(a=f[46]((C=f[106])==null?void 0:C.icons))&&l(e,"icon",a),m[1]&1024&&i!==(i=f[106].gameModel.name)&&l(e,"gamename",i),m[1]&1024&&o!==(o=(A=(T=(S=f[106])==null?void 0:S.gameModel)==null?void 0:T.vendor)==null?void 0:A.logo)&&l(e,"gamevendor",o),m[1]&1024&&s!==(s=f[106].launchUrl)&&l(e,"gameLaunchUrl",s),m[1]&1024&&u!==(u=f[106].gameModel.isNew)&&l(e,"gameisnew",u),m[1]&1024&&c!==(c=f[45]((I=f[106].gameModel)==null?void 0:I.advancedTags))&&l(e,"gametag",c),m[1]&1024&&d!==(d=f[106].cellSize)&&l(e,"gamecellsize",d),m[1]&1024&&g!==(g=f[106].gameModel.id)&&l(e,"gameid",g),m[1]&1024&&p!==(p=f[106].gameModel.hasFunMode)&&l(e,"gamefunmode",p),m[0]&32768&&l(e,"showgamename",f[15]),m[1]&1024&&v!==(v=f[106].gameModel.isFavorite)&&l(e,"gamefavorite",v),m[1]&128&&l(e,"showfavoredcategory",f[38]),m[1]&1024&&b!==(b=f[44][(H=f[106])==null?void 0:H.id]==1?"connect":"disconnect")&&l(e,"connectlive",b),m[1]&256&&l(e,"visibilityconnect",f[39]),m[0]&4096&&l(e,"translationurl",f[12]),m[0]&8192&&l(e,"currency",f[13]),m[1]&1024&&y!==(y=f[106].gameModel.details?f[106].gameModel.launchUrl:"")&&l(e,"livelobbyendpoint",y),m[0]&1024&&l(e,"clientstyling",f[10]),m[0]&2048&&l(e,"clientstylingurl",f[11]),m[0]&8&&l(e,"endpoint",f[3]),m[0]&65536&&l(e,"livecasino",f[16]),m[0]&131072&&l(e,"gamepagemodalurl",f[17]),m[0]&262144&&l(e,"integratedgameframedesktop",f[18]),m[0]&524288&&l(e,"integratedgameframemobile",f[19]),m[0]&16384&&l(e,"allowsingleclickgameentry",f[14]),m[0]&512&&l(e,"mbsource",f[9])},d(f){f&&M(e)}}}function Yr(t){let e,n=t[106].gameModel&&jr(t);return{c(){n&&n.c(),e=we()},m(r,a){n&&n.m(r,a),k(r,e,a)},p(r,a){r[106].gameModel?n?n.p(r,a):(n=jr(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(r){r&&M(e),n&&n.d(r)}}}function Xr(t){let e,n,r,a=t[28].name+"",i,o;function s(v,b){return v[28].icon?Mu:Tu}let u=s(t),c=u(t);function d(v,b){return v[27]&&v[30]?Ou:Pu}let g=d(t),p=g(t);return{c(){e=N("div"),c.c(),n=me(),r=N("h3"),i=q(a),o=me(),p.c(),_(r,"class","CategoryName"),_(e,"class","CasinoGamesHeader")},m(v,b){k(v,e,b),c.m(e,null),O(e,n),O(e,r),O(r,i),t[58](r),O(e,o),p.m(e,null)},p(v,b){u===(u=s(v))&&c?c.p(v,b):(c.d(1),c=u(v),c&&(c.c(),c.m(e,n))),b[0]&268435456&&a!==(a=v[28].name+"")&&fe(i,a),g===(g=d(v))&&p?p.p(v,b):(p.d(1),p=g(v),p&&(p.c(),p.m(e,null)))},d(v){v&&M(e),c.d(),t[58](null),p.d()}}}function Tu(t){let e;return{c(){e=N("span"),e.innerHTML='<div class="CategoryIconAnimation"></div> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>',_(e,"class","CategoryIcon")},m(n,r){k(n,e,r)},p:ee,d(n){n&&M(e)}}}function Mu(t){let e,n;return{c(){e=N("img"),kn(e.src,n=t[28].icon)||_(e,"src",n),_(e,"alt","Category Icon")},m(r,a){k(r,e,a)},p(r,a){a[0]&268435456&&!kn(e.src,n=r[28].icon)&&_(e,"src",n)},d(r){r&&M(e)}}}function Pu(t){let e,n,r,a=t[1]=="true"&&t[23]==="false"&&qr(t),i=t[2]=="true"&&Qr(t);return{c(){e=N("div"),a&&a.c(),n=me(),i&&i.c(),_(e,"class",r=t[1]=="true"&&t[23]==="false"&&t[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")},m(o,s){k(o,e,s),a&&a.m(e,null),O(e,n),i&&i.m(e,null)},p(o,s){o[1]=="true"&&o[23]==="false"?a?a.p(o,s):(a=qr(o),a.c(),a.m(e,n)):a&&(a.d(1),a=null),o[2]=="true"?i?i.p(o,s):(i=Qr(o),i.c(),i.m(e,null)):i&&(i.d(1),i=null),s[0]&8388614&&r!==(r=o[1]=="true"&&o[23]==="false"&&o[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")&&_(e,"class",r)},d(o){o&&M(e),a&&a.d(),i&&i.d()}}}function Ou(t){var g,p,v;let e,n,r=t[42]("viewAll")+"",a,i,o=((v=(p=(g=t[28])==null?void 0:g.games)==null?void 0:p.total)!=null?v:0)+"",s,u,c,d;return{c(){e=N("a"),n=N("span"),a=q(r),i=q(" ("),s=q(o),u=q(")"),_(n,"class","CategoryLoadMore"),_(e,"class","CategoryNameLink")},m(b,y){k(b,e,y),O(e,n),O(n,a),O(n,i),O(n,s),O(n,u),c||(d=ia(e,"click",t[59]),c=!0)},p(b,y){var f,m,C;y[1]&2048&&r!==(r=b[42]("viewAll")+"")&&fe(a,r),y[0]&268435456&&o!==(o=((C=(m=(f=b[28])==null?void 0:f.games)==null?void 0:m.total)!=null?C:0)+"")&&fe(s,o)},d(b){b&&M(e),c=!1,d()}}}function qr(t){let e;return{c(){e=N("casino-filter"),l(e,"clientstylingurl",t[11]),l(e,"clientstyling",t[10]),l(e,"endpoint",t[3]),l(e,"datasource",t[4]),l(e,"lang",t[5]),l(e,"categoryid",t[0]),l(e,"addfilterselector",t[1]),l(e,"addsortingselector",t[2]),l(e,"filterbylogo",t[21]),l(e,"mbsource",t[9])},m(n,r){k(n,e,r)},p(n,r){r[0]&2048&&l(e,"clientstylingurl",n[11]),r[0]&1024&&l(e,"clientstyling",n[10]),r[0]&8&&l(e,"endpoint",n[3]),r[0]&16&&l(e,"datasource",n[4]),r[0]&32&&l(e,"lang",n[5]),r[0]&1&&l(e,"categoryid",n[0]),r[0]&2&&l(e,"addfilterselector",n[1]),r[0]&4&&l(e,"addsortingselector",n[2]),r[0]&2097152&&l(e,"filterbylogo",n[21]),r[0]&512&&l(e,"mbsource",n[9])},d(n){n&&M(e)}}}function Qr(t){let e;return{c(){e=N("casino-sort"),l(e,"clientstylingurl",t[11]),l(e,"clientstyling",t[10]),l(e,"lang",t[5]),l(e,"categoryid",t[0]),l(e,"addsortingselector",t[2]),l(e,"mbsource",t[9])},m(n,r){k(n,e,r)},p(n,r){r[0]&2048&&l(e,"clientstylingurl",n[11]),r[0]&1024&&l(e,"clientstyling",n[10]),r[0]&32&&l(e,"lang",n[5]),r[0]&1&&l(e,"categoryid",n[0]),r[0]&4&&l(e,"addsortingselector",n[2]),r[0]&512&&l(e,"mbsource",n[9])},d(n){n&&M(e)}}}function ku(t){let e,n=t[42]("noResults")+"",r;return{c(){e=N("p"),r=q(n),_(e,"class","NoSearchResults")},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("noResults")+"")&&fe(r,n)},d(a){a&&M(e)}}}function Nu(t){let e,n=[],r=new Map,a,i=Be(t[29]);const o=s=>{var u;return(u=s[106])==null?void 0:u.id};for(let s=0;s<i.length;s+=1){let u=Dr(t,i,s),c=o(u);r.set(c,n[s]=Jr(c,u))}return{c(){e=N("ul");for(let s=0;s<n.length;s+=1)n[s].c();_(e,"class",a=(t[41].items.length===0&&t[38]?"":"CasinoGamesGrid")+" "+(t[27]&&t[22]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(s,u){k(s,e,u);for(let c=0;c<n.length;c+=1)n[c]&&n[c].m(e,null);t[60](e)},p(s,u){u[0]&542113769|u[1]&57600&&(i=Be(s[29]),n=ha(n,u,o,1,s,i,r,e,fa,Jr,null,Dr)),u[0]&138412032|u[1]&1152&&a!==(a=(s[41].items.length===0&&s[38]?"":"CasinoGamesGrid")+" "+(s[27]&&s[22]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&_(e,"class",a)},d(s){s&&M(e);for(let u=0;u<n.length;u+=1)n[u].d();t[60](null)}}}function Au(t){let e;return{c(){e=N("div"),_(e,"class","DualRing")},m(n,r){k(n,e,r)},p:ee,d(n){n&&M(e)}}}function Hu(t){let e,n,r,a,i,o,s,u,c,d,g,p,v,b,y;return{c(){var f,m,C,S,T;e=N("casino-game-thumbnail-nd"),l(e,"gamethumbnail",n=t[106].thumbnail),l(e,"icon",r=t[46]((f=t[106])==null?void 0:f.icons)),l(e,"session",t[6]),l(e,"userid",t[7]),l(e,"lang",t[5]),l(e,"class",a=""+(He+(t[106].cellSize?t[106].cellSize:"1x1"))),l(e,"favorites",t[8]),l(e,"categoryid",t[0]),l(e,"gamename",i=t[106].name),l(e,"gamevendor",o=(C=(m=t[106])==null?void 0:m.vendor)==null?void 0:C.logo),l(e,"gameLaunchUrl",s=t[106].launchUrl),l(e,"gameisnew",u=t[106].isNew),l(e,"gametag",c=t[45](t[106].advancedTags)),l(e,"gamecellsize",d=t[106].cellSize),l(e,"gameid",g=(S=t[106])==null?void 0:S.id),l(e,"gamefunmode",p=t[106].hasFunMode),l(e,"gamefavorite",v=t[106].isFavorite),l(e,"translationurl",t[12]),l(e,"showgamename",t[15]),l(e,"connectlive",b=t[44][(T=t[106])==null?void 0:T.id]==1?"connect":"disconnect"),l(e,"visibilityconnect",t[39]),l(e,"currency",t[13]),l(e,"livelobbyendpoint",y=t[106].details?t[106].href:""),l(e,"clientstyling",t[10]),l(e,"clientstylingurl",t[11]),l(e,"endpoint",t[3]),l(e,"livecasino",t[16]),l(e,"gamepagemodalurl",t[17]),l(e,"integratedgameframedesktop",t[18]),l(e,"integratedgameframemobile",t[19]),l(e,"casinogamesgridslider",t[22]),l(e,"mbsource",t[9]),l(e,"allowsingleclickgameentry",t[14])},m(f,m){k(f,e,m)},p(f,m){var C,S,T,A,I;m[0]&536870912&&n!==(n=f[106].thumbnail)&&l(e,"gamethumbnail",n),m[0]&536870912&&r!==(r=f[46]((C=f[106])==null?void 0:C.icons))&&l(e,"icon",r),m[0]&64&&l(e,"session",f[6]),m[0]&128&&l(e,"userid",f[7]),m[0]&32&&l(e,"lang",f[5]),m[0]&536870912&&a!==(a=""+(He+(f[106].cellSize?f[106].cellSize:"1x1")))&&l(e,"class",a),m[0]&256&&l(e,"favorites",f[8]),m[0]&1&&l(e,"categoryid",f[0]),m[0]&536870912&&i!==(i=f[106].name)&&l(e,"gamename",i),m[0]&536870912&&o!==(o=(T=(S=f[106])==null?void 0:S.vendor)==null?void 0:T.logo)&&l(e,"gamevendor",o),m[0]&536870912&&s!==(s=f[106].launchUrl)&&l(e,"gameLaunchUrl",s),m[0]&536870912&&u!==(u=f[106].isNew)&&l(e,"gameisnew",u),m[0]&536870912&&c!==(c=f[45](f[106].advancedTags))&&l(e,"gametag",c),m[0]&536870912&&d!==(d=f[106].cellSize)&&l(e,"gamecellsize",d),m[0]&536870912&&g!==(g=(A=f[106])==null?void 0:A.id)&&l(e,"gameid",g),m[0]&536870912&&p!==(p=f[106].hasFunMode)&&l(e,"gamefunmode",p),m[0]&536870912&&v!==(v=f[106].isFavorite)&&l(e,"gamefavorite",v),m[0]&4096&&l(e,"translationurl",f[12]),m[0]&32768&&l(e,"showgamename",f[15]),m[0]&536870912&&b!==(b=f[44][(I=f[106])==null?void 0:I.id]==1?"connect":"disconnect")&&l(e,"connectlive",b),m[1]&256&&l(e,"visibilityconnect",f[39]),m[0]&8192&&l(e,"currency",f[13]),m[0]&536870912&&y!==(y=f[106].details?f[106].href:"")&&l(e,"livelobbyendpoint",y),m[0]&1024&&l(e,"clientstyling",f[10]),m[0]&2048&&l(e,"clientstylingurl",f[11]),m[0]&8&&l(e,"endpoint",f[3]),m[0]&65536&&l(e,"livecasino",f[16]),m[0]&131072&&l(e,"gamepagemodalurl",f[17]),m[0]&262144&&l(e,"integratedgameframedesktop",f[18]),m[0]&524288&&l(e,"integratedgameframemobile",f[19]),m[0]&4194304&&l(e,"casinogamesgridslider",f[22]),m[0]&512&&l(e,"mbsource",f[9]),m[0]&16384&&l(e,"allowsingleclickgameentry",f[14])},d(f){f&&M(e)}}}function Jr(t,e){let n,r,a=Hu(e);return{key:t,first:null,c(){n=we(),a&&a.c(),r=we(),this.first=n},m(i,o){k(i,n,o),a&&a.m(i,o),k(i,r,o)},p(i,o){e=i,a.p(e,o)},d(i){i&&(M(n),M(r)),a&&a.d(i)}}}function Iu(t){let e,n=t[42]("searchedItems")+"",r;return{c(){e=N("h3"),r=q(n),_(e,"class","StatusText")},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("searchedItems")+"")&&fe(r,n)},d(a){a&&M(e)}}}function Gu(t){let e,n=t[42]("noResults")+"",r;return{c(){e=N("h3"),r=q(n),_(e,"class","StatusText")},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("noResults")+"")&&fe(r,n)},d(a){a&&M(e)}}}function Lu(t){let e,n=t[42]("recentSearchedItems")+"",r;return{c(){e=N("h3"),r=q(n),_(e,"class","StatusText")},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("recentSearchedItems")+"")&&fe(r,n)},d(a){a&&M(e)}}}function xu(t){let e;return{c(){e=N("p"),e.textContent="Waiting",_(e,"class","SearchWaiting")},m(n,r){k(n,e,r)},p:ee,d(n){n&&M(e)}}}function Fu(t){let e,n,r=[],a=new Map,i=!t[34]&&Zr(t),o=Be(t[29]);const s=u=>{var c;return(c=u[106])==null?void 0:c.id};for(let u=0;u<o.length;u+=1){let c=Rr(t,o,u),d=s(c);a.set(d,r[u]=$r(d,c))}return{c(){i&&i.c(),e=me(),n=N("ul");for(let u=0;u<r.length;u+=1)r[u].c();_(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(u,c){i&&i.m(u,c),k(u,e,c),k(u,n,c);for(let d=0;d<r.length;d+=1)r[d]&&r[d].m(n,null)},p(u,c){u[34]?i&&(i.d(1),i=null):i?i.p(u,c):(i=Zr(u),i.c(),i.m(e.parentNode,e)),c[0]&537919465|c[1]&49156&&(o=Be(u[29]),r=ha(r,c,s,1,u,o,a,n,fa,$r,null,Rr))},d(u){u&&(M(e),M(n)),i&&i.d(u);for(let c=0;c<r.length;c+=1)r[c].d()}}}function Zr(t){let e,n=t[42]("noRecentSearch")+"",r;return{c(){e=N("p"),r=q(n),_(e,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(De(t[43])?"NoRecentSearchesMobile":""))},m(a,i){k(a,e,i),O(e,r)},p(a,i){i[1]&2048&&n!==(n=a[42]("noRecentSearch")+"")&&fe(r,n)},d(a){a&&M(e)}}}function $r(t,e){let n,r,a,i,o,s,u,c,d,g,p,v,b,y;return{key:t,first:null,c(){var f,m,C,S,T,A,I;n=N("casino-game-thumbnail-nd"),l(n,"class",r=""+(He+((f=e[106])!=null&&f.cellSize?(m=e[106])==null?void 0:m.cellSize:"1x1"))),l(n,"session",e[6]),l(n,"userid",e[7]),l(n,"lang",e[5]),l(n,"searchitem",e[33]),l(n,"favorites",e[8]),l(n,"categoryid",e[0]),l(n,"gamethumbnail",a=(C=e[106])==null?void 0:C.thumbnail),l(n,"icon",i=e[46]((S=e[106])==null?void 0:S.icons)),l(n,"gamename",o=e[106].name),l(n,"gamevendor",s=(A=(T=e[106])==null?void 0:T.vendor)==null?void 0:A.logo),l(n,"gameLaunchUrl",u=e[106].launchUrl),l(n,"gameisnew",c=e[106].isNew),l(n,"gametag",d=e[45](e[106].advancedTags)),l(n,"gamecellsize",g=e[106].cellSize),l(n,"gameid",p=(I=e[106])==null?void 0:I.id),l(n,"gamefunmode",v=e[106].hasFunMode),l(n,"showgamename",e[15]),l(n,"translationurl",e[12]),l(n,"gamefavorite",b=e[106].isFavorite),l(n,"currency",e[13]),l(n,"livelobbyendpoint",y=e[106].details?e[106].href:""),l(n,"clientstyling",e[10]),l(n,"clientstylingurl",e[11]),l(n,"endpoint",e[3]),l(n,"livecasino",e[16]),l(n,"gamepagemodalurl",e[17]),l(n,"integratedgameframedesktop",e[18]),l(n,"integratedgameframemobile",e[19]),l(n,"mbsource",e[9]),l(n,"allowsingleclickgameentry",e[14]),this.first=n},m(f,m){k(f,n,m)},p(f,m){var C,S,T,A,I,H,Q;e=f,m[0]&536870912&&r!==(r=""+(He+((C=e[106])!=null&&C.cellSize?(S=e[106])==null?void 0:S.cellSize:"1x1")))&&l(n,"class",r),m[0]&64&&l(n,"session",e[6]),m[0]&128&&l(n,"userid",e[7]),m[0]&32&&l(n,"lang",e[5]),m[1]&4&&l(n,"searchitem",e[33]),m[0]&256&&l(n,"favorites",e[8]),m[0]&1&&l(n,"categoryid",e[0]),m[0]&536870912&&a!==(a=(T=e[106])==null?void 0:T.thumbnail)&&l(n,"gamethumbnail",a),m[0]&536870912&&i!==(i=e[46]((A=e[106])==null?void 0:A.icons))&&l(n,"icon",i),m[0]&536870912&&o!==(o=e[106].name)&&l(n,"gamename",o),m[0]&536870912&&s!==(s=(H=(I=e[106])==null?void 0:I.vendor)==null?void 0:H.logo)&&l(n,"gamevendor",s),m[0]&536870912&&u!==(u=e[106].launchUrl)&&l(n,"gameLaunchUrl",u),m[0]&536870912&&c!==(c=e[106].isNew)&&l(n,"gameisnew",c),m[0]&536870912&&d!==(d=e[45](e[106].advancedTags))&&l(n,"gametag",d),m[0]&536870912&&g!==(g=e[106].cellSize)&&l(n,"gamecellsize",g),m[0]&536870912&&p!==(p=(Q=e[106])==null?void 0:Q.id)&&l(n,"gameid",p),m[0]&536870912&&v!==(v=e[106].hasFunMode)&&l(n,"gamefunmode",v),m[0]&32768&&l(n,"showgamename",e[15]),m[0]&4096&&l(n,"translationurl",e[12]),m[0]&536870912&&b!==(b=e[106].isFavorite)&&l(n,"gamefavorite",b),m[0]&8192&&l(n,"currency",e[13]),m[0]&536870912&&y!==(y=e[106].details?e[106].href:"")&&l(n,"livelobbyendpoint",y),m[0]&1024&&l(n,"clientstyling",e[10]),m[0]&2048&&l(n,"clientstylingurl",e[11]),m[0]&8&&l(n,"endpoint",e[3]),m[0]&65536&&l(n,"livecasino",e[16]),m[0]&131072&&l(n,"gamepagemodalurl",e[17]),m[0]&262144&&l(n,"integratedgameframedesktop",e[18]),m[0]&524288&&l(n,"integratedgameframemobile",e[19]),m[0]&512&&l(n,"mbsource",e[9]),m[0]&16384&&l(n,"allowsingleclickgameentry",e[14])},d(f){f&&M(n)}}}function Bu(t){let e;return{c(){e=N("p"),e.textContent="500 Error - Internal Server Error.",_(e,"class","SearchLoading")},m(n,r){k(n,e,r)},d(n){n&&M(e)}}}function Kr(t){let e;return{c(){e=N("div"),_(e,"class","sentinel")},m(n,r){k(n,e,r),t[63](e)},p:ee,d(n){n&&M(e),t[63](null)}}}function Du(t){let e,n;function r(s,u){return s[26]?du:s[31]?mu:hu}let a=r(t),i=a(t),o=!t[27]&&Kr(t);return{c(){e=N("div"),i.c(),n=me(),o&&o.c(),_(e,"class","CasinoGamesCategorySectionContainer")},m(s,u){k(s,e,u),i.m(e,null),O(e,n),o&&o.m(e,null),t[64](e)},p(s,u){a===(a=r(s))&&i?i.p(s,u):(i.d(1),i=a(s),i&&(i.c(),i.m(e,n))),s[27]?o&&(o.d(1),o=null):o?o.p(s,u):(o=Kr(s),o.c(),o.m(e,null))},i:ee,o:ee,d(s){s&&M(e),i.d(),o&&o.d(),t[64](null)}}}const He="game-tile-";function Ru(t,e,n){let r;na(t,Ya,h=>n(42,r=h));let{endpoint:a=""}=e,{datasource:i=""}=e,{lang:o=""}=e,{session:s=""}=e,{userid:u=""}=e,{favorites:c=""}=e,{mbsource:d}=e,{clientstyling:g=""}=e,{clientstylingurl:p=""}=e,{translationurl:v=""}=e,{currency:b=""}=e,{allowsingleclickgameentry:y="false"}=e,{categoryid:f=""}=e,{showgamename:m=""}=e,{livecasino:C="false"}=e,{gamepagemodalurl:S="true"}=e,{integratedgameframedesktop:T="false"}=e,{integratedgameframemobile:A="false"}=e,{casinomygames:I="false"}=e,{addfilterselector:H="false"}=e,{addsortingselector:Q="false"}=e,{filterbylogo:se=""}=e,{casinogamesgridslider:Ee="false"}=e,{fetchviaevent:J="false"}=e,{showallpage:de="casino"}=e,{actionevent:Pe="CategoryChange"}=e,{displayedgamecount:St="10"}=e,{showallbuttongamescount:Ct="10"}=e,{lobbyscreen:rn="true"}=e,{usesinglevendorfilter:an="false"}=e,{visiblegames:Tt="10"}=e,{customizesectionicon:on="true"}=e,{requiredicon:sn="false"}=e,Oe=!0,We=!1,ln,un,Se=!0,$n=window.navigator.userAgent,ne,W=[],Mt={},ke=!0,cn=Math.max(Number(Tt),1)||10,Ce=!1,Pt=!1,it=!1,fn=!0,hn=!1,ot,Kn,st,lt=!1,pe,ut,ni,ri={},mn="",er="",Ot,ge=null,Z,ct=!1,dn=!1,le,ve=[],kt=new AbortController,Nt=new AbortController,Ve={items:[],count:0,name:""};const gn=h=>{Object.keys(h).forEach(w=>{Ks(w,h[w])})},ai=()=>{fetch(v).then(w=>w.json()).then(w=>{gn(w)}).catch(w=>{console.log(w)})};gn(tl),typeof document.hidden!="undefined"?Ot="hidden":typeof document.msHidden!="undefined"?Ot="msHidden":typeof document.webkitHidden!="undefined"&&(Ot="webkitHidden");const ft=(h,w,P)=>{Nt&&Nt.abort(),Nt=new AbortController;const x=Nt.signal,{handleLoading:F=!1,updateShownCategory:R=!1}=P||{};return new Promise((E,D)=>{if(!h||!w){E([]);return}const V=`${a}/v1/player/${w}/favorites`,re={method:"GET",headers:{"X-SessionID":h},signal:x};F&&n(25,Oe=!0),fetch(V,re).then(X=>X.json()).then(X=>{var K;if(!x.aborted){if(le=[],Array.isArray(X==null?void 0:X.items)){X.items.forEach(ie=>{ie.gameModel&&(le.push(ie),ve.includes(ie==null?void 0:ie.id)||ve.push(ie==null?void 0:ie.id))});const $=(K=Pn(le))==null?void 0:K.length;window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:$})}f==="FAVORITES"&&ar(le),R&&(W.forEach($=>{$&&($.isFavorite=Ie($==null?void 0:$.id))}),n(29,W=[...W].filter($=>!!$))),E(le)}}).catch(X=>{X.name!=="AbortError"&&(n(26,We=!0),console.error(X),D(X))}).finally(()=>{F&&n(25,Oe=!1)})})},ii=({endpoint:h,datasource:w,categoryid:P,offset:x,limit:F,lang:R,userAgent:E,vendorFilters:D,vendorSort:V,usesinglevendorfilter:re,lobbyView:X,showFavGamesCategory:K,sortedBy:$})=>{var dt;const ie=x,Ge=F!=null?F:40;let Le=P,he;(P&&P.match(/\$/g)||[]).length>1?(Le=P.split("$").slice(0,2).join("$"),he=new URL(`${h}/v1/casino/groups/${w}/${Le}/subGroups`)):he=new URL(`${h}/v1/casino/groups/${w}/${P}`),he.searchParams.set("expand","games(vendor)"),he.searchParams.set("platform",Xa(E)),he.searchParams.set("pagination",`games(offset=${ie},limit=${Ge})`),he.searchParams.set("language",R);let ht="id,name,games";on==="true"&&(ht+=",icon"),he.searchParams.append("fields",ht);const mt=re==="true"?"*":P;if(D&&((dt=D[mt])!=null&&dt.length)&&(re==="true"||X===!1&&K===!1)){const Gt=D[mt].map(Lt=>`games(vendor(id=${Lt}))`).join(",");he.searchParams.set("filter",Gt)}const xe=V!=null&&V[P]&&V[P]!=="All"?V[P]:$&&$!=="All"?$:null;return xe&&(he.searchParams.set("sortedField",`games(${xe})`),(xe==="isNew"||xe==="advancedTags(name(hot))")&&he.searchParams.set("orderBy","DES")),he},At=(h,w,P)=>{kt&&kt.abort(),kt=new AbortController;const x=kt.signal;return n(25,Oe=!0),window.postMessage({type:"CategoryVendors",categoryid:w},window.location.href),new Promise((F,R)=>{fetch(h,{signal:x}).then(E=>{if(!E.ok)throw E.status===404&&window.postMessage({type:"NonExistentCategory"},window.location.origin),new Error(`HTTP ${E.status}`);return E.json()}).then(E=>{var D,V,re,X;if(!x.aborted){if(n(25,Oe=!1),n(26,We=!1),(w&&w.match(/\$/g)||[]).length>1&&(E=Array.isArray(E==null?void 0:E.items)&&(D=E.items.find(K=>K.id===w))!=null?D:E),E==null){n(26,We=!0),R(new Error("Category not found"));return}if(E.games==null||typeof E.games!="object"){n(26,We=!0),R(new Error("Category games data missing")),window.postMessage({type:"CategoryDataMissing"},window.location.href);return}Kn=(re=(V=E==null?void 0:E.games)==null?void 0:V.total)!=null?re:0,P&&Array.isArray((X=E==null?void 0:E.games)==null?void 0:X.items)&&E.games.items.forEach(K=>{K&&(K.isFavorite=Ie(K==null?void 0:K.id))}),n(35,hn=!0),F(E)}}).catch(E=>{E.name!=="AbortError"&&(n(26,We=!0),console.error(E),R(E))}).finally(()=>{oi()})})},Ht=(h,w,P)=>new Promise((x,F)=>{const R=Fr(localStorage.getItem("vendorFiltersByCategory")),E=Fr(localStorage.getItem("vendorSortingBy")),D=ii({endpoint:a,datasource:i,categoryid:h,offset:w,limit:P,lang:o,userAgent:$n,vendorFilters:R,vendorSort:E,usesinglevendorfilter:an,lobbyView:Se,showFavGamesCategory:lt,sortedBy:er});c=="true"?ft(s,u).then(V=>{At(D,h,V).then(x).catch(F)}).catch(F):At(D,h,null).then(x).catch(F)}),It=h=>{var P,x,F,R,E,D;if(h==null)return;const w=h.games!=null?h:bn(vn({},h),{games:{count:0,total:0,items:[],pages:null}});n(28,ne=w),n(29,W=(F=(x=(P=ne==null?void 0:ne.games)==null?void 0:P.items)==null?void 0:x.filter(V=>!!V))!=null?F:[]),Mt[ne.id]=(D=(E=(R=ne==null?void 0:ne.games)==null?void 0:R.pages)==null?void 0:E.next)!=null?D:null},oi=()=>{if(!pe)return;const h=pe.getRootNode().host;h.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:h}}))},si=(h,w,P)=>{h!==""&&(n(31,Ce=!1),n(27,Se=!0),n(1,H="false"),n(2,Q="false"),n(33,it=!1),n(30,ke=+w>+P),Ht(h,0,+w).then(It))},tr=h=>{var w,P,x,F,R,E,D,V,re,X,K,$,ie,Ge,Le,he,ht,mt,xe,dt,Gt,Lt;if(!(!h.data||h.data==null))switch(h.data.type){case"MostPlayedData":if(f=="MOSTPLAYED"){const z=(P=(w=h.data)==null?void 0:w.mostPlayedGames)!=null?P:[];n(31,Ce=!1),n(27,Se=!1),n(30,ke=!1),n(29,W=z.filter(ue=>!!ue)),n(28,ne={id:"MOSTPLAYED",name:"Most Played Games",games:{count:z.length,total:z.length,items:z,pages:null}}),W&&W.forEach(ue=>{ue&&(ue.isFavorite=Ie(ue==null?void 0:ue.id))})}n(25,Oe=!1);break;case"LastPlayedData":if(f=="LASTPLAYED"){const z=(F=(x=h.data)==null?void 0:x.lastPlayedGames)!=null?F:[];n(31,Ce=!1),n(27,Se=!1),n(30,ke=!1),n(29,W=z.filter(ue=>!!ue)),n(28,ne={id:"LASTPLAYED",name:"Last Played Games",games:{count:z.length,total:z.length,items:z,pages:null}}),W&&W.forEach(ue=>{ue&&(ue.isFavorite=Ie(ue==null?void 0:ue.id))})}n(25,Oe=!1);break;case"RecentSearchData":n(31,Ce=!0),n(32,Pt=!0),Array.isArray((R=h.data)==null?void 0:R.searchData)&&h.data.searchData.length>0?(n(29,W=h.data.searchData.filter(z=>!!z)),n(34,fn=!0),W&&W.forEach(z=>{z&&(z.isFavorite=Ie(z==null?void 0:z.id))})):(n(29,W=[]),n(34,fn=!1));break;case"OutOfRecentSearches":n(31,Ce=!1),n(32,Pt=!1);break;case"SearchData":n(31,Ce=!0),n(32,Pt=!1),n(29,W=(re=(V=(D=(E=h.data)==null?void 0:E.searchData)==null?void 0:D.items)==null?void 0:V.filter(z=>!!z))!=null?re:[]),n(33,it=!0),(X=h.data)!=null&&X.receivedFavoriteResults&&(le=(K=h.data.receivedFavoriteResults.items)!=null?K:[]),W&&W.forEach(z=>{z&&(z.isFavorite=Ie(z==null?void 0:z.id))});break;case`CategoryData_${f}`:n(31,Ce=!1),n(27,Se=!0),n(1,H="false"),n(2,Q="false"),n(33,it=!1),Ht(($=h.data)==null?void 0:$.categoryId,0,(ie=h.data)==null?void 0:ie.visiblegames).then(It).finally(()=>{var z;n(30,ke=!(Kn<=((z=h.data)==null?void 0:z.visiblegames)&&Se))});break;case"CategoryChange":cn=20;break;case"ApplySorter":lr(),n(0,f=(Ge=h.data)==null?void 0:Ge.itemId),er=(Le=h.data)==null?void 0:Le.sortBy,Ht(f,0,cn).then(It).finally(()=>{n(30,ke=!1),sr()});break;case"CategoryUpdate":nr((he=h.data)==null?void 0:he.itemId);break;case`SetUnfavoredGame${f}`:ui(`${a}/v1/player/${u}/favorites`,s,(ht=h.data)==null?void 0:ht.id);break;case`SetFavoredGame${f}`:li(`${a}/v1/player/${u}/favorites`,s,(mt=h.data)==null?void 0:mt.id);break;case"UserSessionID":ln=(xe=h.data)==null?void 0:xe.session,un=(dt=h.data)==null?void 0:dt.userID;const Si=c==="true",Ci=typeof un=="string"&&un.length>0,Ti=typeof ln=="string"&&ln.length>0;Si&&Ci&&Ti&&ft(s,u,{handleLoading:!0,updateShownCategory:!0});break;case"UpdateFavoredList":f==="FAVORITES"&&rr((Gt=h.data)==null?void 0:Gt.url,(Lt=h.data)==null?void 0:Lt.sessionID);break}},nr=(h,w=!1)=>{lr(),n(31,Ce=!1),n(27,Se=rn==="true"),n(33,it=!1),n(35,hn=!1),n(0,f=h),f!=="MOSTPLAYED"&&!w&&n(30,ke=!1),I!=="true"&&(!le&&s&&ft(s,u,{handleLoading:!0,updateShownCategory:!0}),Ht(f,0,cn).then(It).finally(()=>{Se?window.postMessage({type:`CategoryData_${f}`,categoryId:f,visiblegames:Tt},window.location.href):sr()}))},Ie=h=>{var w;return(w=le==null?void 0:le.some(P=>P.id===h))!=null?w:!1},li=(h,w,P)=>xt(this,null,function*(){yield rr(h,w),ve.includes(P)||ve.push(P);let F={method:"POST",headers:{"X-SessionID":w,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:ve})};fetch(h,F).then(R=>R.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${P}`},window.location.href),window.postMessage({type:"UpdateFavoredList",url:h,sessionID:w})}).catch(R=>{console.error("Err",R)})}),ui=(h,w,P)=>{let x={method:"DELETE",headers:{"X-SessionID":w}};fetch(`${h}/${P}`,x).then(F=>F.json()).then(()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${P}`},window.location.href),window.postMessage({type:"UpdateFavoredList",url:h,sessionID:w})}),ve.includes(P)&&(ve=ve.filter(F=>F!=P))},rr=(h,w)=>xt(this,null,function*(){return fetch(h,{method:"GET",headers:{"X-SessionID":w}}).then(x=>x.json()).then(x=>{var R;le=Array.isArray(x==null?void 0:x.items)?x.items:[],J?le.forEach(E=>{ve.includes(E==null?void 0:E.id)||ve.push(E==null?void 0:E.id)}):le.forEach(E=>{E&&(E.isFavorite=Ie(E==null?void 0:E.id))});const F=(R=Pn(le))==null?void 0:R.length;f==="FAVORITES"&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:F}),ar(le))}).catch(x=>{console.error(x)})}),ar=h=>{if(!h)return;let w;w=(h==null?void 0:h.items)||h||[],w.length>0&&w.forEach(P=>{P.gameModel&&(P.gameModel.isFavorite=!0)}),n(41,Ve.items=Pn(w,Ve.items),Ve),n(41,Ve.name="Favorites",Ve),n(25,Oe=!1)},ci=h=>new Promise((w,P)=>{var R,E;if(!Mt[h])return ne&&ne.id===h&&W.length>=((E=(R=ne==null?void 0:ne.games)==null?void 0:R.total)!=null?E:0)?w(be.END):w(be.MORE);const x=new URL(Mt[h]),F=D=>{var V,re,X,K,$,ie,Ge;n(29,W=[...W,...(re=(V=D==null?void 0:D.games)==null?void 0:V.items)!=null?re:[]].filter(Le=>!!Le)),Mt[h]=($=(K=(X=D==null?void 0:D.games)==null?void 0:X.pages)==null?void 0:K.next)!=null?$:null,W.length<((Ge=(ie=D==null?void 0:D.games)==null?void 0:ie.total)!=null?Ge:0)?w(be.MORE):w(be.END)};c=="true"?ft(s,u).then(D=>{At(x,h,D).then(F).catch(()=>w(be.END))}).catch(()=>w(be.END)):At(x,h,null).then(F).catch(()=>w(be.END))}),fi=h=>{const w=h!=null?h:[];if((w==null?void 0:w.length)===0)return"";let P="",x=999999999999,F;const R=new Date(Date.now());return w.forEach((E,D)=>{if(!Array.isArray(E==null?void 0:E.schedules)||E.schedules.length===0)return;const V=new Date(E.schedules[0].startTime),re=new Date(E.schedules[0].endTime);Hr(new Date(re),new Date(R))<x&&(x=Hr(new Date(re),new Date(R)),F=D),uu(new Date(R),new Date(V))&&cu(new Date(R),new Date(re))&&F!==void 0&&w[F]&&(P=w[F].name)}),P},hi=h=>sn!=="true"?void 0:Object.values(h!=null?h:{}).pop(),ir=h=>{n(30,ke=!1),window.postMessage({type:`${Pe}`,itemId:h,showallpage:de},window.location.href)},mi=()=>{switch(f){case"FAVORITES":u&&s&&n(38,lt=!0);break;case"MOSTPLAYED":I==="false"&&u&&s&&n(38,lt=!1);break;case"LASTPLAYED":I==="false"&&u&&s&&n(38,lt=!1);break;default:nr(f,!0);break}},or=()=>{document[Ot]?n(39,mn="disconnect"):n(39,mn="connect")},di=()=>{ge&&(Z==null||Z.disconnect(),Z=new IntersectionObserver(h=>{var w;ct||dn||(w=h==null?void 0:h[0])!=null&&w.isIntersecting&&ge&&(ct=!0,Z==null||Z.unobserve(ge),ci(f).then(P=>{P===be.MORE&&(ct=!1,ge&&(Z==null||Z.observe(ge))),P===be.END&&(dn=!0,Z==null||Z.disconnect())}))}),Z.observe(ge))},sr=()=>{ge&&(ct=!1,dn=!1,di())},lr=()=>{!ge||!Z||(ct=!0,Z.unobserve(ge))},gi=()=>{el(o)};sa(()=>(window.addEventListener("visibilitychange",or),window.addEventListener("message",tr,!1),()=>{ut&&ut.unsubscribe(),window.removeEventListener("visibilitychange",or),window.removeEventListener("message",tr)})),Ri(()=>{Z==null||Z.disconnect()});function pi(h){Te[h?"unshift":"push"](()=>{st=h,n(37,st)})}const vi=h=>ir(ne.id);function bi(h){Te[h?"unshift":"push"](()=>{ot=h,n(36,ot)})}function _i(h){Te[h?"unshift":"push"](()=>{st=h,n(37,st)})}function yi(h){Te[h?"unshift":"push"](()=>{ot=h,n(36,ot)})}function wi(h){Te[h?"unshift":"push"](()=>{ge=h,n(40,ge)})}function Ei(h){Te[h?"unshift":"push"](()=>{pe=h,n(24,pe)})}return t.$$set=h=>{"endpoint"in h&&n(3,a=h.endpoint),"datasource"in h&&n(4,i=h.datasource),"lang"in h&&n(5,o=h.lang),"session"in h&&n(6,s=h.session),"userid"in h&&n(7,u=h.userid),"favorites"in h&&n(8,c=h.favorites),"mbsource"in h&&n(9,d=h.mbsource),"clientstyling"in h&&n(10,g=h.clientstyling),"clientstylingurl"in h&&n(11,p=h.clientstylingurl),"translationurl"in h&&n(12,v=h.translationurl),"currency"in h&&n(13,b=h.currency),"allowsingleclickgameentry"in h&&n(14,y=h.allowsingleclickgameentry),"categoryid"in h&&n(0,f=h.categoryid),"showgamename"in h&&n(15,m=h.showgamename),"livecasino"in h&&n(16,C=h.livecasino),"gamepagemodalurl"in h&&n(17,S=h.gamepagemodalurl),"integratedgameframedesktop"in h&&n(18,T=h.integratedgameframedesktop),"integratedgameframemobile"in h&&n(19,A=h.integratedgameframemobile),"casinomygames"in h&&n(20,I=h.casinomygames),"addfilterselector"in h&&n(1,H=h.addfilterselector),"addsortingselector"in h&&n(2,Q=h.addsortingselector),"filterbylogo"in h&&n(21,se=h.filterbylogo),"casinogamesgridslider"in h&&n(22,Ee=h.casinogamesgridslider),"fetchviaevent"in h&&n(48,J=h.fetchviaevent),"showallpage"in h&&n(49,de=h.showallpage),"actionevent"in h&&n(50,Pe=h.actionevent),"displayedgamecount"in h&&n(51,St=h.displayedgamecount),"showallbuttongamescount"in h&&n(52,Ct=h.showallbuttongamescount),"lobbyscreen"in h&&n(53,rn=h.lobbyscreen),"usesinglevendorfilter"in h&&n(23,an=h.usesinglevendorfilter),"visiblegames"in h&&n(54,Tt=h.visiblegames),"customizesectionicon"in h&&n(55,on=h.customizesectionicon),"requiredicon"in h&&n(56,sn=h.requiredicon)},t.$$.update=()=>{t.$$.dirty[0]&32&&o&&gi(),t.$$.dirty[0]&57|t.$$.dirty[1]&3276800&&(J==="false"||J==="")&&a&&o&&f&&i&&St&&Ct&&si(f,St,Ct),t.$$.dirty[0]&456&&c==="true"&&a&&s&&u&&ft(s,u,{handleLoading:!0,updateShownCategory:!0}),t.$$.dirty[0]&33&&o&&f&&mi(),t.$$.dirty[0]&4096&&v&&ai(),t.$$.dirty[0]&16778240&&g&&pe&&qa(pe,g),t.$$.dirty[0]&16779264&&p&&pe&&Qa(pe,p),t.$$.dirty[0]&16777728|t.$$.dirty[1]&67108864&&d&&pe&&n(57,ut=Ja(pe,`${d}.Style`,ut,!0)),t.$$.dirty[0]&4608&&d&&!v&&ei(`${d}.Translation`,ni,gn)},[f,H,Q,a,i,o,s,u,c,d,g,p,v,b,y,m,C,S,T,A,I,se,Ee,an,pe,Oe,We,Se,ne,W,ke,Ce,Pt,it,fn,hn,ot,st,lt,mn,ge,Ve,r,$n,ri,fi,hi,ir,J,de,Pe,St,Ct,rn,Tt,on,sn,ut,pi,vi,bi,_i,yi,wi,Ei]}class ti extends pa{constructor(e){super(),ma(this,e,Ru,Du,qn,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,mbsource:9,clientstyling:10,clientstylingurl:11,translationurl:12,currency:13,allowsingleclickgameentry:14,categoryid:0,showgamename:15,livecasino:16,gamepagemodalurl:17,integratedgameframedesktop:18,integratedgameframemobile:19,casinomygames:20,addfilterselector:1,addsortingselector:2,filterbylogo:21,casinogamesgridslider:22,fetchviaevent:48,showallpage:49,actionevent:50,displayedgamecount:51,showallbuttongamescount:52,lobbyscreen:53,usesinglevendorfilter:23,visiblegames:54,customizesectionicon:55,requiredicon:56},fu,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),G()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),G()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),G()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),G()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),G()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),G()}get mbsource(){return this.$$.ctx[9]}set mbsource(e){this.$$set({mbsource:e}),G()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),G()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),G()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),G()}get currency(){return this.$$.ctx[13]}set currency(e){this.$$set({currency:e}),G()}get allowsingleclickgameentry(){return this.$$.ctx[14]}set allowsingleclickgameentry(e){this.$$set({allowsingleclickgameentry:e}),G()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),G()}get showgamename(){return this.$$.ctx[15]}set showgamename(e){this.$$set({showgamename:e}),G()}get livecasino(){return this.$$.ctx[16]}set livecasino(e){this.$$set({livecasino:e}),G()}get gamepagemodalurl(){return this.$$.ctx[17]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),G()}get integratedgameframedesktop(){return this.$$.ctx[18]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),G()}get integratedgameframemobile(){return this.$$.ctx[19]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),G()}get casinomygames(){return this.$$.ctx[20]}set casinomygames(e){this.$$set({casinomygames:e}),G()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),G()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),G()}get filterbylogo(){return this.$$.ctx[21]}set filterbylogo(e){this.$$set({filterbylogo:e}),G()}get casinogamesgridslider(){return this.$$.ctx[22]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),G()}get fetchviaevent(){return this.$$.ctx[48]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),G()}get showallpage(){return this.$$.ctx[49]}set showallpage(e){this.$$set({showallpage:e}),G()}get actionevent(){return this.$$.ctx[50]}set actionevent(e){this.$$set({actionevent:e}),G()}get displayedgamecount(){return this.$$.ctx[51]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),G()}get showallbuttongamescount(){return this.$$.ctx[52]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),G()}get lobbyscreen(){return this.$$.ctx[53]}set lobbyscreen(e){this.$$set({lobbyscreen:e}),G()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(e){this.$$set({usesinglevendorfilter:e}),G()}get visiblegames(){return this.$$.ctx[54]}set visiblegames(e){this.$$set({visiblegames:e}),G()}get customizesectionicon(){return this.$$.ctx[55]}set customizesectionicon(e){this.$$set({customizesectionicon:e}),G()}get requiredicon(){return this.$$.ctx[56]}set requiredicon(e){this.$$set({requiredicon:e}),G()}}ga(ti,{endpoint:{},datasource:{},lang:{},session:{},userid:{},favorites:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},allowsingleclickgameentry:{},categoryid:{},showgamename:{},livecasino:{},gamepagemodalurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},casinomygames:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},casinogamesgridslider:{},fetchviaevent:{},showallpage:{},actionevent:{},displayedgamecount:{},showallbuttongamescount:{},lobbyscreen:{},usesinglevendorfilter:{},visiblegames:{},customizesectionicon:{},requiredicon:{}},[],[],!0);const Uu=Object.freeze(Object.defineProperty({__proto__:null,default:ti},Symbol.toStringTag,{value:"Module"}));exports.$dictionary=rt;exports.$format=Ya;exports.$locale=je;exports.CasinoGamesCategorySectionNd_ce=Uu;exports.HtmlTag=Bi;exports.SvelteComponent=pa;exports.addMessages=Jn;exports.append=O;exports.append_styles=ra;exports.attr=_;exports.binding_callbacks=Te;exports.component_subscribe=na;exports.create_custom_element=ga;exports.destroy_each=aa;exports.detach=M;exports.element=N;exports.empty=we;exports.ensure_array_like=Be;exports.flush=G;exports.format=su;exports.getDevice=Xa;exports.getStreamTranslations=ei;exports.init=ma;exports.insert=k;exports.isMobile=De;exports.listen=ia;exports.noop=ee;exports.onMount=sa;exports.run_all=Ue;exports.safe_not_equal=qn;exports.setClientStyling=qa;exports.setClientStylingURL=Qa;exports.setStreamStyling=Ja;exports.set_custom_element_data=l;exports.set_data=fe;exports.set_input_value=Li;exports.set_style=xi;exports.space=me;exports.src_url_equal=kn;exports.svg_element=_e;exports.text=q;exports.tick=Ui;exports.toggle_class=Fi;
|