@everymatrix/casino-page 0.0.255 → 0.0.258
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-page.js +1 -1
- package/dist/casino-page.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoPage.svelte +17 -2
package/dist/casino-page.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function Z(){}function d(e){return e()}function h(){return Object.create(null)}function X(e){e.forEach(d)}function m(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function p(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Pe(e,t,n){e.$$.on_destroy.push(p(t,n))}function l(e){return e&&m(e.destroy)?e.destroy:Z}function K(e,t){e.appendChild(t)}function q(e,t,n){e.insertBefore(t,n||null)}function J(e){e.parentNode.removeChild(e)}function f(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function Q(e){return document.createElement(e)}function v(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function t(e){return document.createTextNode(e)}function ee(){return t(" ")}function c(){return t("")}function te(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function ne(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function w(e,t,n){t in e?e[t]=n:ne(e,t,n)}function re(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function C(e,t){e.value=null==t?"":t}function x(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}class g{constructor(e=null){this.a=e,this.e=this.n=null}m(e,t,n=null){this.e||(this.e=Q(t.nodeName),this.t=t,this.h(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)q(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(J)}}function r(e){const t={};for(const n of e)t[n.name]=n.value;return t}let y;function b(e){y=e}function De(e){!function(){if(!y)throw new Error("Function called outside component initialization");return y}().$$.on_mount.push(e)}const S=[],Oe=[],i=[],e=[],a=Promise.resolve();let o=!1;function _(){o||(o=!0,a.then(k))}function ve(){return _(),a}function M(e){i.push(e)}let s=!1;const u=new Set;function k(){if(!s){s=!0;do{for(let e=0;e<S.length;e+=1){var t=S[e];b(t),function(e){{var t;null!==e.fragment&&(e.update(),X(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(M))}}(t.$$)}for(b(null),S.length=0;Oe.length;)Oe.pop()();for(let e=0;e<i.length;e+=1){const n=i[e];u.has(n)||(u.add(n),n())}}while(i.length=0,S.length);for(;e.length;)e.pop()();o=!1,s=!1,u.clear()}}const F=new Set;function T(r,e,t,n,i,a,o=[-1]){var s,l=y;b(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:h(),dirty:o,skip_bound:!1};let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(S.push(e),_(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,X(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){const Z=(n=e.target,Array.from(n.childNodes));c.fragment&&c.fragment.l(Z),Z.forEach(J)}else c.fragment&&c.fragment.c();e.intro&&(s=r.$$.fragment)&&s.i&&(F.delete(s),s.i(void 0)),function(t,e,n,r){const{fragment:i,on_mount:a,on_destroy:o,after_update:s}=t.$$;i&&i.m(e,n),r||M(()=>{var e=a.map(d).filter(m);o?o.push(...e):X(e),t.$$.on_mount=[]}),s.forEach(M)}(r,e.target,e.anchor,e.customElement),k()}b(l)}let E;"function"==typeof HTMLElement&&(E=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(d).filter(m);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){X(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(X(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=Z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var L,G,I="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==I&&I,P="URLSearchParams"in I,D="Symbol"in I&&"iterator"in Symbol,O="FileReader"in I&&"Blob"in I&&function(){try{return new Blob,!0}catch(e){return!1}}(),A="FormData"in I,N="ArrayBuffer"in I;function R(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function $(e){return e="string"!=typeof e?String(e):e}function U(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return D&&(e[Symbol.iterator]=function(){return e}),e}function Y(t){this.map={},t instanceof Y?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function B(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function H(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function W(e){var t=new FileReader,n=H(t);return t.readAsArrayBuffer(e),n}function j(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function z(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:O&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:A&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:P&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():N&&O&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=j(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):N&&(ArrayBuffer.prototype.isPrototypeOf(e)||G(e))?this._bodyArrayBuffer=j(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):P&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},O&&(this.blob=function(){var e=B(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?B(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(W)}),this.text=function(){var e,t,n=B(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,n=H(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},A&&(this.formData=function(){return this.text().then(ae)}),this.json=function(){return this.text().then(JSON.parse)},this}N&&(L=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],G=ArrayBuffer.isView||function(e){return e&&-1<L.indexOf(Object.prototype.toString.call(e))}),Y.prototype.append=function(e,t){e=R(e),t=$(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},Y.prototype.delete=function(e){delete this.map[R(e)]},Y.prototype.get=function(e){return e=R(e),this.has(e)?this.map[e]:null},Y.prototype.has=function(e){return this.map.hasOwnProperty(R(e))},Y.prototype.set=function(e,t){this.map[R(e)]=$(t)},Y.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},Y.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),U(n)},Y.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),U(t)},Y.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),U(n)},D&&(Y.prototype[Symbol.iterator]=Y.prototype.entries);var V=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ie(e,t){if(!(this instanceof ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof ie){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Y(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Y(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<V.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ae(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function oe(e,t){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Y(t.headers),this.url=t.url||"",this._initBody(e)}ie.prototype.clone=function(){return new ie(this,{body:this._bodyInit})},z.call(ie.prototype),z.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Y(this.headers),url:this.url})},oe.error=function(){var e=new oe(null,{status:0,statusText:""});return e.type="error",e};var se=[301,302,303,307,308];oe.redirect=function(e,t){if(-1===se.indexOf(t))throw new RangeError("Invalid status code");return new oe(null,{status:t,headers:{location:e}})};var le=I.DOMException;try{new le}catch(Z){(le=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),le.prototype.constructor=le}function ce(r,o){return new Promise(function(i,e){var t=new ie(r,o);if(t.signal&&t.signal.aborted)return e(new le("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new Y,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;setTimeout(function(){i(new oe(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new le("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&I.location.href?I.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(O?a.responseType="blob":N&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof Y?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,$(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function Gn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}ce.polyfill=!0,I.fetch||(I.fetch=ce,I.Headers=Y,I.Request=ie,I.Response=oe),self.fetch.bind(self);var ue=function(e,t){return(ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function de(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ue(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function he(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function me(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function pe(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function fe(e){return"function"==typeof e}function ge(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var ye=ge(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function be(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var we=(_e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=he(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(fe(a))try{a()}catch(e){i=e instanceof ye?e.errors:[e]}a=this._teardowns;if(a){this._teardowns=null;try{for(var l=he(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{xe(u)}catch(e){i=null!=i?i:[],e instanceof ye?i=pe(pe([],me(i)),me(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new ye(i)}},_e.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)xe(e);else{if(e instanceof _e){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},_e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},_e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},_e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&be(t,e)},_e.prototype.remove=function(e){var t=this._teardowns;t&&be(t,e),e instanceof _e&&e._removeParent(this)},_e.EMPTY=((Xt=new _e).closed=!0,Xt),_e),Se=we.EMPTY;function _e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Ce(e){return e instanceof we||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function xe(e){fe(e)?e():e.unsubscribe()}var Me=void 0,ke=!1,Fe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,pe([],me(e)))};function Te(){}function Ee(e){e()}var Le,Ge,Ie=(de(Re,Ge=we),Re.create=function(e,t,n){return new Ae(e,t,n)},Re.prototype.next=function(e){this.isStopped||this._next(e)},Re.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Re.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Re.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ge.prototype.unsubscribe.call(this),this.destination=null)},Re.prototype._next=function(e){this.destination.next(e)},Re.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Re.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Re),Ae=(de(Ne,Le=Ie),Ne);function Ne(e,t,n){var r,i,a=Le.call(this)||this;return fe(e)?i=e:e&&(i=e.next,t=e.error,n=e.complete,a&&ke?(r=Object.create(e)).unsubscribe=function(){return a.unsubscribe()}:r=e,i=null==i?void 0:i.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),a.destination={next:i?$e(i):Te,error:$e(null!=t?t:Ue),complete:n?$e(n):Te},a}function Re(e){var t=Ge.call(this)||this;return t.isStopped=!1,e?Ce(t.destination=e)&&e.add(t):t.destination=Ye,t}function $e(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,pe([],me(e)))}catch(e){t=e,Fe(function(){throw t})}}}function Ue(e){throw e}var Ye={closed:!0,next:Te,error:Ue,complete:Te},Be="function"==typeof Symbol&&Symbol.observable||"@@observable";function He(e){return e}var We=(je.prototype.lift=function(e){var t=new je;return t.source=this,t.operator=e,t},je.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Ie||r&&fe(r.next)&&fe(r.error)&&fe(r.complete)&&Ce(r)?e:new Ae(e,t,n);return Ee(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},je.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},je.prototype.forEach=function(r,e){var i=this;return new(e=ze(e))(function(e,t){var n=i.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},je.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},je.prototype[Be]=function(){return this},je.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?He:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},je.prototype.toPromise=function(e){var r=this;return new(e=ze(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},je.create=function(e){return new je(e)},je);function je(e){e&&(this._subscribe=e)}function ze(e){return null!==(e=null!=e?e:Me)&&void 0!==e?e:Promise}var Ve,Ze,Xe,Ke=ge(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),qe=(de(rt,Xe=We),rt.prototype.lift=function(e){var t=new Je(this,this);return t.operator=e,t},rt.prototype._throwIfClosed=function(){if(this.closed)throw new Ke},rt.prototype.next=function(a){var o=this;Ee(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){var n=o.observers.slice();try{for(var r=he(n),i=r.next();!i.done;i=r.next())i.value.next(a)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},rt.prototype.error=function(t){var n=this;Ee(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},rt.prototype.complete=function(){var t=this;Ee(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},rt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(rt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),rt.prototype._trySubscribe=function(e){return this._throwIfClosed(),Xe.prototype._trySubscribe.call(this,e)},rt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},rt.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?Se:(r.push(e),new we(function(){return be(r,e)}))},rt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},rt.prototype.asObservable=function(){var e=new We;return e.source=this,e},rt.create=function(e,t){return new Je(e,t)},rt),Je=(de(nt,Ze=qe),nt.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},nt.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},nt.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},nt.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Se},nt),Qe={now:function(){return(Qe.delegate||Date).now()},delegate:void 0},et=(de(tt,Ve=qe),tt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(a.now()+t)),this._trimBuffer(),Ve.prototype.next.call(this,e)},tt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},tt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},tt);function tt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Qe);var r=Ve.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function nt(e,t){var n=Ze.call(this)||this;return n.destination=e,n.source=t,n}function rt(){var e=Xe.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let it=[],at={};const ot=[];function st(r,i=Z){let a;const o=[];function s(e){if(n(r,e)&&(r=e,a)){const e=!ot.length;for(let e=0;e<o.length;e+=1){const t=o[e];t[1](),ot.push(t,r)}if(e){for(let e=0;e<ot.length;e+=2)ot[e][0](ot[e+1]);ot.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.push(n),1===o.length&&(a=i(s)||Z),e(r),()=>{var e=o.indexOf(n);-1!==e&&o.splice(e,1),0===o.length&&(a(),a=null)}}}}function lt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:st(t,t=>{let n=!1;const r=[];let i=0,a=Z;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),u?t(e):a=m(e)?e:Z)},e=c.map((e,t)=>p(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){X(e),a()}}).subscribe}}var ct=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===ut));var t},ut="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function dt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?gt(Array.isArray(e)?[]:{},e,t):e}function ht(e,t,n){return e.concat(t).map(function(e){return dt(e,n)})}function mt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function pt(e,t){try{return t in e}catch(e){return!1}}function ft(r,i,a){var o={};return a.isMergeableObject(r)&&mt(r).forEach(function(e){o[e]=dt(r[e],a)}),mt(i).forEach(function(t){var e,n;(!pt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(pt(r,t)&&a.isMergeableObject(i[t])?o[t]=function(){if(!a.customMerge)return gt;var e=a.customMerge(t);return"function"==typeof e?e:gt}()(r[t],i[t],a):o[t]=dt(i[t],a))}),o}function gt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||ht,n.isMergeableObject=n.isMergeableObject||ct,n.cloneUnlessOtherwiseSpecified=dt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ft(e,t,n):dt(t,n)}gt.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return gt(e,t,n)},{})};var yt=gt,vt=function(e,t){return(vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function bt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}vt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var wt,St,_t,Ct=function(){return(Ct=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function xt(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function Mt(e){return e.type===St.literal}function kt(e){return e.type===St.number}function Ft(e){return e.type===St.date}function Tt(e){return e.type===St.time}function Et(e){return e.type===St.select}function Lt(e){return e.type===St.plural}function Gt(e){return e.type===St.tag}function It(e){return e&&"object"==typeof e&&e.type===_t.number}function Pt(e){return e&&"object"==typeof e&&e.type===_t.dateTime}(Kt=wt=wt||{})[Kt.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Kt[Kt.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Kt[Kt.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Kt[Kt.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Kt[Kt.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Kt[Kt.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Kt[Kt.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Kt[Kt.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Kt[Kt.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Kt[Kt.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Kt[Kt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Kt[Kt.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Kt[Kt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Kt[Kt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Kt[Kt.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Kt[Kt.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Kt[Kt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Kt[Kt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Kt[Kt.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Kt[Kt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Kt[Kt.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Kt[Kt.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Kt[Kt.INVALID_TAG=23]="INVALID_TAG",Kt[Kt.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Kt[Kt.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Kt[Kt.UNCLOSED_TAG=27]="UNCLOSED_TAG",(qt=St=St||{})[qt.literal=0]="literal",qt[qt.argument=1]="argument",qt[qt.number=2]="number",qt[qt.date=3]="date",qt[qt.time=4]="time",qt[qt.select=5]="select",qt[qt.plural=6]="plural",qt[qt.pound=7]="pound",qt[qt.tag=8]="tag",(Jt=_t=_t||{})[Jt.number=0]="number",Jt[Jt.dateTime=1]="dateTime";var Dt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ot=/(?:[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;var At,Nt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Rt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$t=/^(@+)?(\+|#+)?$/g,Ut=/(\*)(0+)|(#+)(0+)|(0+)/g,Yt=/^(0+)$/;function Bt(e){var r={};return e.replace($t,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function Ht(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Wt(e){return Ht(e)||{}}function jt(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=Ct(Ct(Ct({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return Ct(Ct({},e),Wt(t))},{}));continue;case"engineering":o=Ct(Ct(Ct({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return Ct(Ct({},e),Wt(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ut,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Yt.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(Rt.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Rt,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""}),i.options.length&&(o=Ct(Ct({},o),Bt(i.options[0])))}else $t.test(i.stem)?o=Ct(Ct({},o),Bt(i.stem)):((r=Ht(i.stem))&&(o=Ct(Ct({},o),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Yt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=Ct(Ct({},o),r)))}return o}var zt=new RegExp("^"+Dt.source+"*"),Vt=new RegExp(Dt.source+"*$");function Zt(e,t){return{start:e,end:t}}var Xt=!!String.prototype.startsWith,Be=!!String.fromCodePoint,qe=!!Object.fromEntries,Kt=!!String.prototype.codePointAt,qt=!!String.prototype.trimStart,Jt=!!String.prototype.trimEnd,Qt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dt=!0;try{Dt="a"===(null===(At=cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===At?void 0:At[0])}catch(Z){Dt=!1}var en,tn,nn=Xt?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},rn=Be?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},an=qe?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},on=Kt?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},sn=qt?function(e){return e.trimStart()}:function(e){return e.replace(zt,"")},ln=Jt?function(e){return e.trimEnd()}:function(e){return e.replace(Vt,"")};function cn(e,t){return new RegExp(e,t)}tn=Dt?(en=cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return en.lastIndex=t,null!==(e=en.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=on(e,t);if(void 0===i||mn(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return rn.apply(void 0,r)};var un=(dn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},dn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(wt.UNMATCHED_CLOSING_TAG,Zt(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&hn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{a=this.clonePosition();this.bump(),r.push({type:St.pound,location:Zt(a,this.clonePosition())})}}}return{val:r,err:null}},dn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:St.literal,value:"<"+r+"/>",location:Zt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!hn(this.char()))return this.error(wt.INVALID_TAG,Zt(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(wt.UNMATCHED_CLOSING_TAG,Zt(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:St.tag,value:r,children:e,location:Zt(n,this.clonePosition())},err:null}:this.error(wt.INVALID_TAG,Zt(t,this.clonePosition())))}return this.error(wt.UNCLOSED_TAG,Zt(n,this.clonePosition()))}return this.error(wt.INVALID_TAG,Zt(n,this.clonePosition()))},dn.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},dn.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=Zt(n,this.clonePosition());return{val:{type:St.literal,value:r,location:n},err:null}},dn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(hn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},dn.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return rn.apply(void 0,t)},dn.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),rn(n))},dn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(wt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(wt.EMPTY_ARGUMENT,Zt(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(wt.MALFORMED_ARGUMENT,Zt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(wt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:St.argument,value:r,location:Zt(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(wt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(wt.MALFORMED_ARGUMENT,Zt(n,this.clonePosition()))}},dn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=tn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:Zt(e,this.clonePosition())}},dn.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(wt.EXPECT_ARGUMENT_TYPE,Zt(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=ln(h.val)).length)return this.error(wt.EXPECT_ARGUMENT_STYLE,Zt(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:Zt(c,this.clonePosition())}}if((m=this.tryParseArgumentClose(r)).err)return m;var u=Zt(r,this.clonePosition());if(l&&nn(null==l?void 0:l.style,"::",0)){c=sn(l.style.slice(2));if("number"===o)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:St.number,value:n,location:u,style:h.val},err:null};if(0===c.length)return this.error(wt.EXPECT_DATE_TIME_SKELETON,u);var d={type:_t.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(Ot,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"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":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-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":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<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""}),i):{}};return{val:{type:"date"===o?St.date:St.time,value:n,location:u,style:d},err:null}}return{val:{type:"number"===o?St.number:"date"===o?St.date:St.time,value:n,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(wt.EXPECT_SELECT_ARGUMENT_OPTIONS,Zt(l,Ct({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==o&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(wt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Zt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(wt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,wt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=h.val}u=this.tryParsePluralOrSelectOptions(e,o,t,u);if(u.err)return u;if((m=this.tryParseArgumentClose(r)).err)return m;var m=Zt(r,this.clonePosition());return"select"===o?{val:{type:St.select,value:n,options:an(u.val),location:m},err:null}:{val:{type:St.plural,value:n,options:an(u.val),offset:l,pluralType:"plural"===o?"cardinal":"ordinal",location:m},err:null};default:return this.error(wt.INVALID_ARGUMENT_TYPE,Zt(a,s))}},dn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(wt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},dn.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(wt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Zt(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},dn.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(Nt).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(wt.INVALID_NUMBER_SKELETON,t)}return{val:{type:_t.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?jt(n):{}},err:null}},dn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(wt.EXPECT_PLURAL_ARGUMENT_SELECTOR,wt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Zt(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?wt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:wt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?wt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:wt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Zt(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;c=this.tryParseArgumentClose(d);if(c.err)return c;a.push([s,{value:u.val,location:Zt(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?wt.EXPECT_SELECT_ARGUMENT_SELECTOR:wt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Zt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(wt.MISSING_OTHER_CLAUSE,Zt(this.clonePosition(),this.clonePosition())):{val:a,err:null}},dn.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=Zt(r,this.clonePosition());return i?Qt(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},dn.prototype.offset=function(){return this.position.offset},dn.prototype.isEOF=function(){return this.offset()===this.message.length},dn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},dn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=on(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},dn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},dn.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},dn.prototype.bumpIf=function(e){if(nn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},dn.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},dn.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},dn.prototype.bumpSpace=function(){for(;!this.isEOF()&&mn(this.char());)this.bump()},dn.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},dn);function dn(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function hn(e){return 97<=e&&e<=122||65<=e&&e<=90}function mn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function pn(e,t){t=Ct({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new un(e,t).parse();if(n.err){e=SyntaxError(wt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Et(e)||Lt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else kt(e)&&It(e.style)||(Ft(e)||Tt(e))&&Pt(e.style)?delete e.style.location:Gt(e)&&n(e.children)})}(n.val),n.val}function fn(e,t){var n=t&&t.cache?t.cache:_n,r=t&&t.serializer?t.serializer:bn;return(t&&t.strategy?t.strategy:function(e,t){return vn(e,this,1===e.length?gn:yn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function gn(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function yn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function vn(e,t,n,r,i){return n.bind(t,e,r,i)}var bn=function(){return JSON.stringify(arguments)};function wn(){this.cache=Object.create(null)}wn.prototype.has=function(e){return e in this.cache},wn.prototype.get=function(e){return this.cache[e]},wn.prototype.set=function(e,t){this.cache[e]=t};var Sn,_n={create:function(){return new wn}},Cn={variadic:function(e,t){return vn(e,this,yn,t.cache.create(),t.serializer)},monadic:function(e,t){return vn(e,this,gn,t.cache.create(),t.serializer)}};(Dt=Sn=Sn||{}).MISSING_VALUE="MISSING_VALUE",Dt.INVALID_VALUE="INVALID_VALUE",Dt.MISSING_INTL_API="MISSING_INTL_API";var xn,Mn,kn,Fn,Tn,En=(bt(Nn,Tn=Error),Nn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Nn),Ln=(bt(An,Fn=En),An),In=(bt(On,kn=En),On),Pn=(bt(Dn,Mn=En),Dn);function Dn(e,t){return Mn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Sn.MISSING_VALUE,t)||this}function On(e,t,n){return kn.call(this,'Value for "'+e+'" must be of type '+t,Sn.INVALID_VALUE,n)||this}function An(e,t,n,r){return Fn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',Sn.INVALID_VALUE,r)||this}function Nn(e,t,n){e=Tn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Rn(e,t,n,r,i,a,o){if(1===e.length&&Mt(e[0]))return[{type:xn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Mt(u))s.push({type:xn.literal,value:u.value});else if(u.type===St.pound)"number"==typeof a&&s.push({type:xn.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new Pn(d,o);var h=i[d];if(u.type===St.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?xn.literal:xn.object,value:h});else if(Ft(u)){var m="string"==typeof u.style?r.date[u.style]:Pt(u.style)?u.style.parsedOptions:void 0;s.push({type:xn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(Tt(u))m="string"==typeof u.style?r.time[u.style]:Pt(u.style)?u.style.parsedOptions:void 0,s.push({type:xn.literal,value:n.getDateTimeFormat(t,m).format(h)});else if(kt(u))(m="string"==typeof u.style?r.number[u.style]:It(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:xn.literal,value:n.getNumberFormat(t,m).format(h)});else{if(Gt(u)){var p=u.children,f=u.value,d=i[f];if("function"!=typeof d)throw new In(f,"function",o);p=d(Rn(p,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),s.push.apply(s,p.map(function(e){return{type:"string"==typeof e?xn.literal:xn.object,value:e}}))}if(Et(u)){if(!(g=u.options[h]||u.options.other))throw new Ln(u.value,h,Object.keys(u.options),o);s.push.apply(s,Rn(g.value,t,n,r,i))}else if(Lt(u)){if(!(g=u.options["="+h])){if(!Intl.PluralRules)throw new En('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Sn.MISSING_INTL_API,o);var p=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[p]||u.options.other}if(!g)throw new Ln(u.value,h,Object.keys(u.options),o);s.push.apply(s,Rn(g.value,t,n,r,i,h-(u.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===xn.literal&&t.type===xn.literal?n.value+=t.value:e.push(t),e},[])}function $n(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(Dt=xn=xn||{})[Dt.literal=0]="literal",Dt[Dt.object=1]="object";var Un=(Object.defineProperty(Yn,"defaultLocale",{get:function(){return Yn.memoizedDefaultLocale||(Yn.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Yn.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Yn.memoizedDefaultLocale=null,Yn.__parse=pn,Yn.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"}}},Yn);function Yn(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=Yn.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===xn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Rn(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof e){if(this.message=e,!Yn.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Yn.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=Yn.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?Ct(Ct(Ct({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=Ct(Ct({},n[t]),r[t]||{}),e},{})):n),e},Ct({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:fn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,xt([void 0],t)))},{cache:$n((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:Cn.variadic}),getDateTimeFormat:fn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,xt([void 0],t)))},{cache:$n(r.dateTime),strategy:Cn.variadic}),getPluralRules:fn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,xt([void 0],t)))},{cache:$n(r.pluralRules),strategy:Cn.variadic})}}const Bn={},Hn=(t,n)=>{if(null!=n){if(n in Bn&&t in Bn[n])return Bn[n][t];var r,i,a=ar(n);for(let e=0;e<a.length;e++){var o=(r=a[e],i=t,zn(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return Wn[e]||null}(r),i):null);if(o)return r=t,i=n,(o=o)&&(i in Bn||(Bn[i]={}),r in Bn[i]||(Bn[i][r]=o),o)}}};let Wn;const jn=st({});function zn(e){return e in Wn}function Vn(t,...n){delete Bn[t],jn.update(e=>(e[t]=yt.all([e[t]||{},...n]),e))}lt([jn],([e])=>Object.keys(e)),jn.subscribe(e=>Wn=e);const Zn={};function Xn(e){return Zn[e]}function Kn(e){return ar(e).some(e=>{return null===(e=Xn(e))||void 0===e?void 0:e.size})}const qn={};function Jn(e){if(!Kn(e))return e in qn?qn[e]:void 0;const t=ar(e).map(e=>{var t=Xn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return qn[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){Zn[e].delete(t),0===Zn[e].size&&delete Zn[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Vn(t,...e))}(e))).then(()=>Kn(e)?Jn(e):void delete qn[e]),qn[e]}function Qn(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const er={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const tr=st(!1);let nr;const rr=st(null);function ir(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function ar(e,t=er.fallbackLocale){e=ir(e);return t?[...new Set([...e,...ir(t)])]:e}rr.subscribe(e=>{nr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const or=rr.set;rr.set=t=>{if(function(e){if(null!=e){var t=ar(e);for(let e=0;e<t.length;e++){var n=t[e];if(zn(n))return n}}}(t)&&Kn(t)){var{loadingDelay:n}=er;let e;return"undefined"!=typeof window&&null!=nr&&n?e=window.setTimeout(()=>tr.set(!0),n):tr.set(!0),Jn(t).then(()=>{or(t)}).finally(()=>{clearTimeout(e),tr.set(!1)})}return or(t)},rr.update=e=>or(e(nr));const sr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},lr=(e,t)=>{var{formats:n}=er;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},cr=sr(e=>{var{locale:t,format:n}=e,e=Qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=lr("number",n)),new Intl.NumberFormat(t,e)}),ur=sr(e=>{var{locale:t,format:n}=e,e=Qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=lr("date",n):0===Object.keys(e).length&&(e=lr("date","short")),new Intl.DateTimeFormat(t,e)}),dr=sr(e=>{var{locale:t,format:n}=e,e=Qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=lr("time",n):0===Object.keys(e).length&&(e=lr("time","short")),new Intl.DateTimeFormat(t,e)}),hr=sr((e,t=nr)=>new Un(e,t,er.formats,{ignoreTag:er.ignoreTag})),mr=lt([rr,jn],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=nr,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let a=Hn(e,r);if(a){if("string"!=typeof a)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof a}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),a}else er.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${ar(r).join('", "')}".${Kn(nr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),a=i||e;if(!n)return a;let o=a;try{o=hr(a,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return o});lt([rr],()=>(e,t)=>((e={})=>{var{locale:t=nr}=e,e=Qn(e,["locale"]);return dr(Object.assign({locale:t},e))})(t).format(e)),lt([rr],()=>(e,t)=>((e={})=>{var{locale:t=nr}=e,e=Qn(e,["locale"]);return ur(Object.assign({locale:t},e))})(t).format(e)),lt([rr],()=>(e,t)=>((e={})=>{var{locale:t=nr}=e,e=Qn(e,["locale"]);return cr(Object.assign({locale:t},e))})(t).format(e)),lt([rr,jn],()=>(e,t=nr)=>Hn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==it.indexOf(e)&&(t=new et(t),at[e]=t,it.push(e)),at[e]}};const pr=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),fr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",gr={en:{casinoPage:{search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{casinoPage:{search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{casinoPage:{search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{casinoPage:{search:"Rechercher des jeux ...",loading:"Chargement ...",searchMobile:"Rechercher",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{casinoPage:{search:"Buscar juegos ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{casinoPage:{search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{casinoPage:{search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{casinoPage:{search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{casinoPage:{search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{casinoPage:{search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{casinoPage:{search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{casinoPage:{search:"Procurar",loading:"A carregar",searchMobile:"Procurar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{casinoPage:{search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{casinoPage:{search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}},yr={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again."}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Montre plus",viewAll:"Voir tout",searchedItems:"Articles recherchés",recentSearchedItems:"Articles recherchés récemment",noRecentSearch:"Aucune recherche n'a encore commencé. Recherchez simplement un jeu.",noResults:"Désolé, aucun résultat trouvé. Veuillez réessayer"}},es:{gamesCategorySection:{showMore:"Mostrar más",viewAll:"Ver todo",searchedItems:"Artículos buscados",recentSearchedItems:"Elementos buscados recientemente",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",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"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",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"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostrar tudo",searchedItems:"Procurar resultado",recentSearchedItems:"Pesquisado recentemente",noRecentSearch:"Nenhuma pesquisa iniciada. Pesquisar simplesmente um jogo.",noResults:"Desculpe, sem qualquer correspondência. Por favor, tente novamente."}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{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."}}};var vr,br,wr=(br=vr={path:void 0,exports:{},require:function(e,t){return Gn(null==t&&vr.path)}},vr.exports,br.exports=function(){var e;function p(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(m(e,t))return;return 1}function a(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){for(var n=[],r=0;r<e.length;++r)n.push(t(e[r],r));return n}function u(e,t){for(var n in t)m(t,n)&&(e[n]=t[n]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return Et(e,t,n,r,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){if(null==e._isValid){var t=f(e),n=y.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function g(e){var t=d(NaN);return null!=e?u(f(t),e):f(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},v=p.momentProperties=[],t=!1;function b(e,t){var n,r,i;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=f(t)),a(t._locale)||(e._locale=t._locale),0<v.length)for(n=0;n<v.length;n++)a(i=t[r=v[n]])||(e[r]=i);return e}function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,p.updateOffset(this),t=!1)}function S(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function _(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,a){var o=!0;return u(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,i),o){for(var e,t,n=[],r=0;r<arguments.length;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])m(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}_(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var C={};function x(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),C[e]||(_(t),C[e]=!0)}function M(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function k(e,t){var n,r=u({},e);for(n in t)m(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)m(e,n)&&!m(t,n)&&s(e[n])&&(r[n]=u({},r[n]));return r}function F(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var T=Object.keys||function(e){var t,n=[];for(t in e)m(e,t)&&n.push(t);return n};function E(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var L=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,G=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},P={};function D(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(P[e]=i),t&&(P[t[0]]=function(){return E(i.apply(this,arguments),t[1],t[2])}),n&&(P[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function O(e,t){return e.isValid()?(t=A(t,e.localeData()),I[t]=I[t]||function(r){for(var e,i=r.match(L),t=0,a=i.length;t<a;t++)P[i[t]]?i[t]=P[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=M(i[n])?i[n].call(e,r):i[n];return t}}(t),I[t](e)):e.localeData().invalidDate()}function A(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(G.lastIndex=0;0<=n&&G.test(e);)e=e.replace(G,r),G.lastIndex=0,--n;return e}var N={};function R(e,t){var n=e.toLowerCase();N[n]=N[n+"s"]=N[t]=e}function $(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)m(e,n)&&(t=$(n))&&(r[t]=e[n]);return r}var Y={};function B(e,t){Y[e]=t}function H(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function j(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?W(t):e}function z(t,n){return function(e){return null!=e?(Z(this,t,e),p.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&H(e.year())&&1===e.month()&&29===e.date()?(n=j(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Te(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X=/\d/,K=/\d\d/,q=/\d{3}/,J=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,re=/\d{1,3}/,ie=/\d{1,4}/,ae=/[+-]?\d{1,6}/,oe=/\d+/,se=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function de(e,n,r){pe[e]=M(n)?n:function(e,t){return e&&r?r:n}}function he(e,t){return m(pe,e)?pe[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pe={},fe={};function ge(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),c(n)&&(r=function(e,t){t[n]=j(e)}),t=0;t<e.length;t++)fe[e[t]]=r}function ye(e,i){ge(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var ve,be=0,we=1,Se=2,_e=3,Ce=4,xe=5,Me=6,ke=7,Fe=8;function Te(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?H(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},D("M",["MM",2],"Mo",function(){return this.month()+1}),D("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),D("MMMM",0,0,function(e){return this.localeData().months(this,e)}),R("month","M"),B("month",8),de("M",ee),de("MM",ee,K),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[we]=j(e)-1}),ge(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[we]=r:f(n).invalidMonth=e});var Ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Le="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ge=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=ue,Pe=ue;function De(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=j(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Te(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Oe(e){return null!=e?(De(this,e),p.updateOffset(this,!0),this):V(this,"Month")}function Ae(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=d([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=me(n[a]),r[a]=me(r[a]);for(a=0;a<24;a++)i[a]=me(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ne(e){return H(e)?366:365}D("Y",0,0,function(){var e=this.year();return e<=9999?E(e,4):"+"+e}),D(0,["YY",2],0,function(){return this.year()%100}),D(0,["YYYY",4],0,"year"),D(0,["YYYYY",5],0,"year"),D(0,["YYYYYY",6,!0],0,"year"),R("year","y"),B("year",1),de("Y",se),de("YY",ee,K),de("YYYY",ie,J),de("YYYYY",ae,Q),de("YYYYYY",ae,Q),ge(["YYYYY","YYYYYY"],be),ge("YYYY",function(e,t){t[be]=2===e.length?p.parseTwoDigitYear(e):j(e)}),ge("YY",function(e,t){t[be]=p.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[be]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return j(e)+(68<j(e)?1900:2e3)};var Re=z("FullYear",!0);function $e(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Ue(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ye(e,t,n){n=7+t-n;return-(7+Ue(e,0,n).getUTCDay()-t)%7+n-1}function Be(e,t,n,r,i){var a,i=1+7*(t-1)+(7+n-r)%7+Ye(e,r,i),i=i<=0?Ne(a=e-1)+i:i>Ne(e)?(a=e+1,i-Ne(e)):(a=e,i);return{year:a,dayOfYear:i}}function He(e,t,n){var r,i,a=Ye(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+We(i=e.year()-1,t,n):a>We(e.year(),t,n)?(r=a-We(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function We(e,t,n){var r=Ye(e,t,n),n=Ye(e+1,t,n);return(Ne(e)-r+n)/7}D("w",["ww",2],"wo","week"),D("W",["WW",2],"Wo","isoWeek"),R("week","w"),R("isoWeek","W"),B("week",5),B("isoWeek",5),de("w",ee),de("ww",ee,K),de("W",ee),de("WW",ee,K),ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=j(e)});function je(e,t){return e.slice(t,7).concat(e.slice(0,t))}D("d",0,"do","day"),D("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),D("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),D("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),D("e",0,0,"weekday"),D("E",0,0,"isoWeekday"),R("day","d"),R("weekday","e"),R("isoWeekday","E"),B("day",11),B("weekday",11),B("isoWeekday",11),de("d",ee),de("e",ee),de("E",ee),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,r){t[r]=j(e)});var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ue,Ke=ue,qe=ue;function Je(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=d([2e3,1]).day(l),t=me(this.weekdaysMin(r,"")),n=me(this.weekdaysShort(r,"")),r=me(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){D(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}D("H",["HH",2],0,"hour"),D("h",["hh",2],0,Qe),D("k",["kk",2],0,function(){return this.hours()||24}),D("hmm",0,0,function(){return""+Qe.apply(this)+E(this.minutes(),2)}),D("hmmss",0,0,function(){return""+Qe.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)}),D("Hmm",0,0,function(){return""+this.hours()+E(this.minutes(),2)}),D("Hmmss",0,0,function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)}),et("a",!0),et("A",!1),R("hour","h"),B("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,K),de("hh",ee,K),de("kk",ee,K),de("hmm",te),de("hmmss",ne),de("Hmm",te),de("Hmmss",ne),ge(["H","HH"],_e),ge(["k","kk"],function(e,t,n){e=j(e);t[_e]=24===e?0:e}),ge(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ge(["h","hh"],function(e,t,n){t[_e]=j(e),f(n).bigHour=!0}),ge("hmm",function(e,t,n){var r=e.length-2;t[_e]=j(e.substr(0,r)),t[Ce]=j(e.substr(r)),f(n).bigHour=!0}),ge("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[_e]=j(e.substr(0,r)),t[Ce]=j(e.substr(r,2)),t[xe]=j(e.substr(i)),f(n).bigHour=!0}),ge("Hmm",function(e,t,n){var r=e.length-2;t[_e]=j(e.substr(0,r)),t[Ce]=j(e.substr(r))}),ge("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[_e]=j(e.substr(0,r)),t[Ce]=j(e.substr(r,2)),t[xe]=j(e.substr(i))});var nt=z("Hours",!0);var rt,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ee,monthsShort:Le,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:Ze,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},at={},ot={};function st(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=st(e[a]).split("-")).length,n=(n=st(e[a+1]))?n.split("-"):null;0<t;){if(r=ct(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}a++}return rt}function ct(t){var e;if(void 0===at[t]&&br&&br.exports)try{e=rt._abbr,Gn(),ut(e)}catch(e){at[t]=null}return at[t]}function ut(e,t){return e&&((t=a(t)?ht(e):dt(e,t))?rt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function dt(e,t){if(null===t)return delete at[e],null;var n,r=it;if(t.abbr=e,null!=at[e])x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=at[e]._config;else if(null!=t.parentLocale)if(null!=at[t.parentLocale])r=at[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return ot[t.parentLocale]||(ot[t.parentLocale]=[]),ot[t.parentLocale].push({name:e,config:t}),null;r=n._config}return at[e]=new F(k(r,t)),ot[e]&&ot[e].forEach(function(e){dt(e.name,e.config)}),ut(e),at[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!o(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function mt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[we]<0||11<t[we]?we:t[Se]<1||t[Se]>Te(t[be],t[we])?Se:t[_e]<0||24<t[_e]||24===t[_e]&&(0!==t[Ce]||0!==t[xe]||0!==t[Me])?_e:t[Ce]<0||59<t[Ce]?Ce:t[xe]<0||59<t[xe]?xe:t[Me]<0||999<t[Me]?Me:-1,f(e)._overflowDayOfYear&&(t<be||Se<t)&&(t=Se),f(e)._overflowWeeks&&-1===t&&(t=ke),f(e)._overflowWeekday&&-1===t&&(t=Fe),f(e).overflow=t),e}var pt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],bt=/^\/?Date\((-?\d+)/i,wt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _t(e){var t,n,r,i,a,o,s=e._i,l=pt.exec(s)||ft.exec(s);if(l){for(f(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){i=yt[t][0],r=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=vt.length;t<n;t++)if(vt[t][1].exec(l[3])){a=(l[2]||" ")+vt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Ft(e)}else e._isValid=!1}function Ct(e,t,n,r,i,a){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Le.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&i.push(parseInt(a,10)),i}function xt(e){var t,n,r,i,a=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Ct(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&Ve.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=a[8],t=a[9],a=a[10],i?St[i]:t?0:((t=parseInt(a,10))-(a=t%100))/100*60+a),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function kt(e){var t,n,r,i,a,o,s,l,c,u,d,h,m=[];if(!e._d){for(d=e,h=new Date(p.now()),n=d._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[Se]&&null==e._a[we]&&(null!=(d=(i=e)._w).GG||null!=d.W||null!=d.E?(l=1,c=4,a=Mt(d.GG,i._a[be],He(Lt(),1,4).year),o=Mt(d.W,1),((s=Mt(d.E,1))<1||7<s)&&(u=!0)):(l=i._locale._week.dow,c=i._locale._week.doy,h=He(Lt(),l,c),a=Mt(d.gg,i._a[be],h.year),o=Mt(d.w,h.week),null!=d.d?((s=d.d)<0||6<s)&&(u=!0):null!=d.e?(s=d.e+l,(d.e<0||6<d.e)&&(u=!0)):s=l),o<1||o>We(a,l,c)?f(i)._overflowWeeks=!0:null!=u?f(i)._overflowWeekday=!0:(c=Be(a,o,s,l,c),i._a[be]=c.year,i._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(r=Mt(e._a[be],n[be]),(e._dayOfYear>Ne(r)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),r=Ue(r,0,e._dayOfYear),e._a[we]=r.getUTCMonth(),e._a[Se]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[_e]&&0===e._a[Ce]&&0===e._a[xe]&&0===e._a[Me]&&(e._nextDay=!0,e._a[_e]=0),e._d=(e._useUTC?Ue:$e).apply(null,m),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_e]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Ft(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r=""+e._i,i=r.length,a=0,o=A(e._f,e._locale).match(L)||[],s=0;s<o.length;s++)n=o[s],(t=(r.match(he(n,e))||[])[0])&&(0<(d=r.substr(0,r.indexOf(t))).length&&f(e).unusedInput.push(d),r=r.slice(r.indexOf(t)+t.length),a+=t.length),P[n]?(t?f(e).empty=!1:f(e).unusedTokens.push(n),u=n,h=e,null!=(d=t)&&m(fe,u)&&fe[u](d,h._a,h,u)):e._strict&&!t&&f(e).unusedTokens.push(n);f(e).charsLeftOver=i-a,0<r.length&&f(e).unusedInput.push(r),e._a[_e]<=12&&!0===f(e).bigHour&&0<e._a[_e]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[_e]=(l=e._locale,c=e._a[_e],null==(i=e._meridiem)?c:null!=l.meridiemHour?l.meridiemHour(c,i):null!=l.isPM?((i=l.isPM(i))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(c=f(e).era)&&(e._a[be]=e._locale.erasConvertYear(c,e._a[be])),kt(e),mt(e)}else xt(e);else _t(e);var l,c,u,d,h}function Tt(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new w(mt(t)):(i(t)?e._d=t:o(n)?function(e){var t,n,r,i,a,o,s=!1;if(0===e._f.length)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)a=0,o=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ft(t),h(t)&&(o=!0),a+=f(t).charsLeftOver,a+=10*f(t).unusedTokens.length,f(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));u(e,n||t)}(e):n?Ft(e):a(n=(t=e)._i)?t._d=new Date(p.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=bt.exec(e._i);null===t?(_t(e),!1===e._isValid&&(delete e._isValid,xt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:p.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):o(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),kt(t)):s(n)?function(e){var t,n;e._d||(n=void 0===(t=U(e._i)).day?t.date:t.day,e._a=r([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),kt(e))}(t):c(n)?t._d=new Date(n):p.createFromInputFallback(t),h(e)||(e._d=null),e))}function Et(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(a=new w(mt(Tt(a=a))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function Lt(e,t,n,r){return Et(e,t,n,r,!1)}p.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};var Gt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),It=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Pt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return Lt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Dt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ot(e){var t=U(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(m(e,t)&&(-1===ve.call(Dt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Dt.length;++n)if(e[Dt[n]]){if(r)return!1;parseFloat(e[Dt[n]])!==j(e[Dt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=ht(),this._bubble()}function At(e){return e instanceof Ot}function Nt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Rt(e,n){D(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+E(~~(e/60),2)+n+E(~~e%60,2)})}Rt("Z",":"),Rt("ZZ",""),de("Z",ce),de("ZZ",ce),ge(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(ce,e)});var $t=/([\+\-]|\d\d)/gi;function Ut(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match($t)||["-",0,0])[1]+j(e[2]))?0:"+"===e[0]?t:-t}function Yt(e,t){var n;return t._isUTC?(n=t.clone(),t=(S(e)||i(e)?e:Lt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),p.updateOffset(n,!1),n):Lt(e).local()}function Bt(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Wt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function zt(e,t){var n,r,i=e,a=null;return At(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Wt.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:j(a[Se])*n,h:j(a[_e])*n,m:j(a[Ce])*n,s:j(a[xe])*n,ms:j(Nt(1e3*a[Me]))*n}):(a=jt.exec(e))?(n="-"===a[1]?-1:1,i={y:Vt(a[2],n),M:Vt(a[3],n),w:Vt(a[4],n),d:Vt(a[5],n),h:Vt(a[6],n),m:Vt(a[7],n),s:Vt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(a=Lt(i.from),n=Lt(i.to),r=a.isValid()&&n.isValid()?(n=Yt(n,a),a.isBefore(n)?r=Zt(a,n):((r=Zt(n,a)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new Ot(i),At(e)&&m(e,"_locale")&&(i._locale=e._locale),At(e)&&m(e,"_isValid")&&(i._isValid=e._isValid),i}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Xt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(x(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Kt(this,zt(e,t),r),this}}function Kt(e,t,n,r){var i=t._milliseconds,a=Nt(t._days),t=Nt(t._months);e.isValid()&&(r=null==r||r,t&&De(e,V(e,"Month")+t*n),a&&Z(e,"Date",V(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&p.updateOffset(e,a||t))}zt.fn=Ot.prototype,zt.invalid=function(){return zt(NaN)};var qt=Xt(1,"add"),ue=Xt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Qt(e){return S(e)||i(e)||Jt(e)||c(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!c(e)&&Jt(t)}).length),n&&r)||function(e){var t,n,r=s(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<a.length;t+=1)n=a[t],i=i||m(e,n);return r&&i}(e)||null==e;var t,n,r}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var rn=126227808e5;function an(e,t){return(e%t+t)%t}function on(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(me(i[a].name)),e.push(me(i[a].abbr)),n.push(me(i[a].narrow)),r.push(me(i[a].name)),r.push(me(i[a].abbr)),r.push(me(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function un(e,t){D(0,[e,e.length],0,t)}function dn(e,t,n,r,i){var a;return null==e?He(this,r,i).year:(t>(a=We(e,r,i))&&(t=a),function(e,t,n,r,i){i=Be(e,t,n,r,i),i=Ue(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,r,i))}D("N",0,0,"eraAbbr"),D("NN",0,0,"eraAbbr"),D("NNN",0,0,"eraAbbr"),D("NNNN",0,0,"eraName"),D("NNNNN",0,0,"eraNarrow"),D("y",["y",1],"yo","eraYear"),D("y",["yy",2],0,"eraYear"),D("y",["yyy",3],0,"eraYear"),D("y",["yyyy",4],0,"eraYear"),de("N",ln),de("NN",ln),de("NNN",ln),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),de("y",oe),de("yy",oe),de("yyy",oe),de("yyyy",oe),de("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),ge(["y","yy","yyy","yyyy"],be),ge(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[be]=n._locale.eraYearOrdinalParse(e,i):t[be]=parseInt(e,10)}),D(0,["gg",2],0,function(){return this.weekYear()%100}),D(0,["GG",2],0,function(){return this.isoWeekYear()%100}),un("gggg","weekYear"),un("ggggg","weekYear"),un("GGGG","isoWeekYear"),un("GGGGG","isoWeekYear"),R("weekYear","gg"),R("isoWeekYear","GG"),B("weekYear",1),B("isoWeekYear",1),de("G",se),de("g",se),de("GG",ee,K),de("gg",ee,K),de("GGGG",ie,J),de("gggg",ie,J),de("GGGGG",ae,Q),de("ggggg",ae,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=j(e)}),ye(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),D("Q",0,"Qo","quarter"),R("quarter","Q"),B("quarter",7),de("Q",X),ge("Q",function(e,t){t[we]=3*(j(e)-1)}),D("D",["DD",2],"Do","date"),R("date","D"),B("date",9),de("D",ee),de("DD",ee,K),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],Se),ge("Do",function(e,t){t[Se]=j(e.match(ee)[0])});ne=z("Date",!0);D("DDD",["DDDD",3],"DDDo","dayOfYear"),R("dayOfYear","DDD"),B("dayOfYear",4),de("DDD",re),de("DDDD",q),ge(["DDD","DDDD"],function(e,t,n){n._dayOfYear=j(e)}),D("m",["mm",2],0,"minute"),R("minute","m"),B("minute",14),de("m",ee),de("mm",ee,K),ge(["m","mm"],Ce);Ee=z("Minutes",!1);D("s",["ss",2],0,"second"),R("second","s"),B("second",15),de("s",ee),de("ss",ee,K),ge(["s","ss"],xe);var hn,ze=z("Seconds",!1);for(D("S",0,0,function(){return~~(this.millisecond()/100)}),D(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),D(0,["SSS",3],0,"millisecond"),D(0,["SSSS",4],0,function(){return 10*this.millisecond()}),D(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),D(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),D(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),D(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),D(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),R("millisecond","ms"),B("millisecond",16),de("S",re,X),de("SS",re,K),de("SSS",re,q),hn="SSSS";hn.length<=9;hn+="S")de(hn,oe);function mn(e,t){t[Me]=j(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ge(hn,mn);Ze=z("Milliseconds",!1),D("z",0,0,"zoneAbbr"),D("zz",0,0,"zoneName");ie=w.prototype;function pn(e){return e}ie.add=qt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=s(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||m(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Lt(),e=Yt(n,this).startOf("day"),e=p.calendarFormat(this,e)||"sameElse",t=t&&(M(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Lt(n)))},ie.clone=function(){return new w(this)},ie.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Yt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=$(t)){case"year":a=en(this,r)/12;break;case"month":a=en(this,r);break;case"quarter":a=en(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:W(a)},ie.endOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-an(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-an(t,1e3)-1}return this._d.setTime(t),p.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=O(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Lt(e).isValid())?zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Lt(),e)},ie.to=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Lt(e).isValid())?zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Lt(),e)},ie.get=function(e){return M(this[e=$(e)])?this[e]():this},ie.invalidAt=function(){return f(this).overflow},ie.isAfter=function(e,t){return e=S(e)?e:Lt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=S(e)?e:Lt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,n,r){return e=S(e)?e:Lt(e),t=S(t)?t:Lt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},ie.isSame=function(e,t){var e=S(e)?e:Lt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return h(this)},ie.lang=te,ie.locale=tn,ie.localeData=nn,ie.max=It,ie.min=Gt,ie.parsingFlags=function(){return u({},f(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)m(e,t)&&n.push({unit:t,priority:Y[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=U(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(M(this[e=$(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=an(t,6e4);break;case"second":t=this._d.valueOf(),t-=an(t,1e3)}return this._d.setTime(t),p.updateOffset(this,!0),this},ie.subtract=ue,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?O(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",O(e,"Z")):O(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},ie.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},ie.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},ie.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-p(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=Re,ie.isLeapYear=function(){return H(this.year())},ie.weekYear=function(e){return dn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return dn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Oe,ie.daysInMonth=function(){return Te(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=He(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return We(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return We(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return We(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return We(this.isoWeekYear(),1,4)},ie.date=ne,ie.day=ie.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},ie.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ie.hour=ie.hours=nt,ie.minute=ie.minutes=Ee,ie.second=ie.seconds=ze,ie.millisecond=ie.milliseconds=Ze,ie.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Bt(this);if("string"==typeof e){if(null===(e=Ut(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Bt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Kt(this,zt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Bt(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ut(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Lt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=Ht,ie.isUTC=Ht,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=n("dates accessor is deprecated. Use date instead.",ne),ie.months=n("months accessor is deprecated. Use month instead",Oe),ie.years=n("years accessor is deprecated. Use year instead",Re),ie.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),ie.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Tt(t))._a?(e=(t._isUTC?d:Lt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&j(e[o])!==j(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});J=F.prototype;function fn(e,t,n,r){var i=ht(),t=d().set(r,t);return i[n](t,e)}function gn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=fn(e,i,n,"month");return r}function yn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),c(t)&&(n=t,t=void 0),t||"");var i,a=ht(),o=e?a._week.dow:0,s=[];if(null!=n)return fn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fn(t,(i+o)%7,r,"day");return s}J.calendar=function(e,t,n){return M(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},J.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(L).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},J.invalidDate=function(){return this._invalidDate},J.ordinal=function(e){return this._ordinal.replace("%d",e)},J.preparse=pn,J.postformat=pn,J.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return M(i)?i(e,t,n,r):i.replace(/%d/i,e)},J.pastFuture=function(e,t){return M(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},J.set=function(e){var t,n;for(n in e)m(e,n)&&(M(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},J.eras=function(e,t){for(var n,r=this._eras||ht("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=p(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=p(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},J.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},J.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*n},J.erasAbbrRegex=function(e){return m(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},J.erasNameRegex=function(e){return m(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},J.erasNarrowRegex=function(e){return m(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},J.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Ge).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},J.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Ge.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},J.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))||-1!==(i=ve.call(this._longMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))||-1!==(i=ve.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},J.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Pe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},J.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},J.week=function(e){return He(e,this._week.dow,this._week.doy).week},J.firstDayOfYear=function(){return this._week.doy},J.firstDayOfWeek=function(){return this._week.dow},J.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?je(t,this._week.dow):e?t[e.day()]:t},J.weekdaysMin=function(e){return!0===e?je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},J.weekdaysShort=function(e){return!0===e?je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},J.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},J.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},J.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},J.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},J.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},J.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ut("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===j(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=n("moment.lang is deprecated. Use moment.locale instead.",ut),p.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var vn=Math.abs;function bn(e,t,n,r){n=zt(t,n);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function Sn(e){return 4800*e/146097}function _n(e){return 146097*e/4800}function Cn(e){return function(){return this.as(e)}}ae=Cn("ms"),Q=Cn("s"),X=Cn("m"),K=Cn("h"),re=Cn("d"),q=Cn("w"),qt=Cn("M"),It=Cn("Q"),Gt=Cn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}ue=xn("milliseconds"),nt=xn("seconds"),Ee=xn("minutes"),ze=xn("hours"),Ze=xn("days"),ne=xn("months"),Re=xn("years");var Mn=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Fn(e,t,n,r){var i=zt(e).abs(),a=Mn(i.as("s")),o=Mn(i.as("m")),s=Mn(i.as("h")),l=Mn(i.as("d")),c=Mn(i.as("M")),u=Mn(i.as("w")),i=Mn(i.as("y")),l=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||u<=1&&["w"]||u<n.w&&["ww",u]:l)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}var Tn=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Ln(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s=Tn(this._milliseconds)/1e3,l=Tn(this._days),c=Tn(this._months),u=this.asSeconds();return u?(e=W(s/60),t=W(e/60),s%=60,e%=60,n=W(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=En(this._months)!==En(u)?"-":"",a=En(this._days)!==En(u)?"-":"",o=En(this._milliseconds)!==En(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}J=Ot.prototype;return J.isValid=function(){return this._isValid},J.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},J.add=function(e,t){return bn(this,e,t,1)},J.subtract=function(e,t){return bn(this,e,t,-1)},J.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=$(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Sn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(_n(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},J.asMilliseconds=ae,J.asSeconds=Q,J.asMinutes=X,J.asHours=K,J.asDays=re,J.asWeeks=q,J.asMonths=qt,J.asQuarters=It,J.asYears=Gt,J.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*j(this._months/12):NaN},J._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*wn(_n(n)+t),n=t=0),r.milliseconds=e%1e3,e=W(e/1e3),r.seconds=e%60,e=W(e/60),r.minutes=e%60,e=W(e/60),r.hours=e%24,t+=W(e/24),n+=e=W(Sn(t)),t-=wn(_n(e)),e=W(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},J.clone=function(){return zt(this)},J.get=function(e){return e=$(e),this.isValid()?this[e+"s"]():NaN},J.milliseconds=ue,J.seconds=nt,J.minutes=Ee,J.hours=ze,J.days=Ze,J.weeks=function(){return W(this.days()/7)},J.months=ne,J.years=Re,J.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=kn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},kn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),r=Fn(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},J.toISOString=Ln,J.toString=Ln,J.toJSON=Ln,J.locale=tn,J.localeData=nn,J.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ln),J.lang=te,D("X",0,0,"unix"),D("x",0,0,"valueOf"),de("x",se),de("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,n){n._d=new Date(j(e))}),p.version="2.29.1",e=Lt,p.fn=ie,p.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=d,p.unix=function(e){return Lt(1e3*e)},p.months=function(e,t){return gn(e,t,"months")},p.isDate=i,p.locale=ut,p.invalid=g,p.duration=zt,p.isMoment=S,p.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},p.parseZone=function(){return Lt.apply(null,arguments).parseZone()},p.localeData=ht,p.isDuration=At,p.monthsShort=function(e,t){return gn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},p.defineLocale=dt,p.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=at[e]&&null!=at[e].parentLocale?at[e].set(k(at[e]._config,t)):(t=k(r=null!=(n=ct(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new F(t)).parentLocale=at[e],at[e]=t),ut(e)):null!=at[e]&&(null!=at[e].parentLocale?(at[e]=at[e].parentLocale,e===ut()&&ut(e)):null!=at[e]&&delete at[e]),at[e]},p.locales=function(){return T(at)},p.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},p.normalizeUnits=$,p.relativeTimeRounding=function(e){return void 0===e?Mn:"function"==typeof e&&(Mn=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},p.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},p.prototype=ie,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}(),vr.exports);const Sr={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},_r={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function Cr(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function xr(e,t,n){const r=e.slice();return r[101]=t[n],r}function Mr(e){let n,r=!pr(e[34])&&!e[0]&&e[12],i=r&&kr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){4097&t[0]&&(r=!pr(e[34])&&!e[0]&&e[12]),r?i?i.p(e,t):(i=kr(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&J(n)}}}function kr(n){let r,i,a;return{c(){r=Q("div"),r.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',ne(r,"class","FavIconContainer"),ne(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=te(r,"click",n[61]),i=!0)},p:Z,d(e){e&&J(r),i=!1,a()}}}function Fr(e){let n;return{c(){n=Q("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',ne(n,"class","FavIconContainer"),ne(n,"part","FavIconContainer")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function Tr(n){let r,i,a;return{c(){r=Q("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',ne(r,"class","FavIconContainer"),ne(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=te(r,"click",n[63]),i=!0)},p:Z,d(e){e&&J(r),i=!1,a()}}}function Er(e){let n,r,i=e[33]("gameThumbnail.new")+"";return{c(){n=Q("span"),r=t(i),ne(n,"class","GameExtraInfoLabel NewGameTag"),ne(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){q(e,n,t),K(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.new")+"")&&re(r,i)},d(e){e&&J(n)}}}function Lr(e){let n,r,i=e[33]("gameThumbnail.hot")+"";return{c(){n=Q("span"),r=t(i),ne(n,"class","GameExtraInfoLabel PopularGameTag"),ne(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){q(e,n,t),K(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.hot")+"")&&re(r,i)},d(e){e&&J(n)}}}function Gr(e){let n,r,i=!e[21]&&e[19]&&e[20]&&Ir(e);function a(e){return e[21]&&e[18]&&e[18]===Wr?Dr:e[21]&&e[18]&&e[18]===jr?Pr:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ee(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),q(e,n,t),s&&s.m(e,t),q(e,r,t)},p(e,t){!e[21]&&e[19]&&e[20]?i?i.p(e,t):(i=Ir(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&J(n),s&&s.d(e),e&&J(r)}}}function Ir(e){let n,r,i,a,o,s,l,c,u,d,h=e[33]("gameThumbnail.opens")+"",m=wr.utc(e[19]).local().format(e[20])+"",p=e[43](e[32])+"",f=e[42](e[24],e[25],e[23])+"";return{c(){n=Q("div"),r=Q("div"),i=t(h),a=ee(),o=Q("span"),s=t(m),l=ee(),u=ee(),ne(r,"class","ClosedGame"),ne(r,"part","ClosedGame"),c=new g(u),d=new g(null),ne(n,"class","GameProp LiveProps"),ne(n,"part","GameProp LiveProps")},m(e,t){q(e,n,t),K(n,r),K(r,i),K(r,a),K(r,o),K(o,s),K(n,l),c.m(p,n),K(n,u),d.m(f,n)},p(e,t){4&t[1]&&h!==(h=e[33]("gameThumbnail.opens")+"")&&re(i,h),1572864&t[0]&&m!==(m=wr.utc(e[19]).local().format(e[20])+"")&&re(s,m),2&t[1]&&p!==(p=e[43](e[32])+"")&&c.p(p),58720256&t[0]&&f!==(f=e[42](e[24],e[25],e[23])+"")&&d.p(f)},d(e){e&&J(n)}}}function Pr(n){let r,i,a,o,s,l,c=n[43](n[32])+"",u=n[42](n[24],n[25],n[23])+"",d=new Array(Vr),h=[];for(let e=0;e<d.length;e+=1)h[e]=Rr(Cr(n,d,e));return{c(){r=Q("div"),i=Q("div");for(let e=0;e<h.length;e+=1)h[e].c();a=ee(),s=ee(),ne(i,"class","LiveIcons"),ne(i,"part","LiveIcons"),o=new g(s),l=new g(null),ne(r,"class",n[28]),ne(r,"part",n[28])},m(e,t){q(e,r,t),K(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[64](i),K(r,a),o.m(c,r),K(r,s),l.m(u,r)},p(t,n){if(671089664&n[0]|8192&n[1]){let e;for(d=new Array(Vr),e=0;e<d.length;e+=1){const o=Cr(t,d,e);h[e]?h[e].p(o,n):(h[e]=Rr(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}2&n[1]&&c!==(c=t[43](t[32])+"")&&o.p(c),58720256&n[0]&&u!==(u=t[42](t[24],t[25],t[23])+"")&&l.p(u),268435456&n[0]&&ne(r,"class",t[28]),268435456&n[0]&&ne(r,"part",t[28])},d(e){e&&J(r),f(h,e),n[64](null)}}}function Dr(e){let n,r,i,a,o,s,l=e[43](e[32])+"",c=e[42](e[24],e[25],e[23])+"";function u(e){return e[30]?Ur:$r}let d=u(e),h=d(e);return{c(){n=Q("div"),r=Q("div"),h.c(),i=ee(),o=ee(),ne(r,"class","LiveIcons"),ne(r,"part","LiveIcons"),a=new g(o),s=new g(null),ne(n,"class","GameProp LiveProps BlackjackDisplay"),ne(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){q(e,n,t),K(n,r),h.m(r,null),K(n,i),a.m(l,n),K(n,o),s.m(c,n)},p(e,t){d===(d=u(e))&&h?h.p(e,t):(h.d(1),h=d(e),h&&(h.c(),h.m(r,null))),2&t[1]&&l!==(l=e[43](e[32])+"")&&a.p(l),58720256&t[0]&&c!==(c=e[42](e[24],e[25],e[23])+"")&&s.p(c)},d(e){e&&J(n),h.d()}}}function Or(e){let n;function r(e){return e[27]?Nr:Ar}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&J(n)}}}function Ar(e){let n,r,i=e[44]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[29][e[10][e[106]]])+"";return{c(){r=c(),n=new g(r)},m(e,t){n.m(i,e,t),q(e,r,t)},p(e,t){536871936&t[0]&&i!==(i=e[44]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[29][e[10][e[106]]])+"")&&n.p(i)},d(e){e&&J(r),e&&n.d()}}}function Nr(e){let n,r,i,a,o,s=e[44]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[29][e[10][e[106]][0]])+"",l=e[44]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[29][e[10][e[106]][1]])+"";return{c(){n=Q("div"),i=ee(),o=ee(),r=new g(i),a=new g(o),ne(n,"class","Double"),ne(n,"part","Double")},m(e,t){q(e,n,t),r.m(s,n),K(n,i),a.m(l,n),K(n,o)},p(e,t){536871936&t[0]&&s!==(s=e[44]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[29][e[10][e[106]][0]])+"")&&r.p(s),536871936&t[0]&&l!==(l=e[44]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[29][e[10][e[106]][1]])+"")&&a.p(l)},d(e){e&&J(n)}}}function Rr(e){let n,r=e[10]&&e[10][e[106]]&&Or(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[10]&&e[10][e[106]]?r?r.p(e,t):(r=Or(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&J(n)}}}function $r(t){let i,a=t[22],o=[];for(let e=0;e<a.length;e+=1)o[e]=Yr(xr(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(71303168&n[0]|1024&n[1]){let e;for(a=t[22],e=0;e<a.length;e+=1){var r=xr(t,a,e);o[e]?o[e].p(r,n):(o[e]=Yr(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){f(o,e),e&&J(i)}}}function Ur(e){let n,r,i=e[33]("gameThumbnail.full")+"";return{c(){n=Q("span"),r=t(i),ne(n,"class","FullTable"),ne(n,"part","FullTable")},m(e,t){q(e,n,t),K(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.full")+"")&&re(r,i)},d(e){e&&J(n)}}}function Yr(e){let n,r,i,a,o,s,l;return{c(){n=Q("span"),r=v("svg"),i=v("path"),a=v("path"),o=ee(),ne(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),ne(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),ne(r,"xmlns","http://www.w3.org/2000/svg"),ne(r,"width","13"),ne(r,"height","14"),ne(r,"viewBox","0 0 13 14"),ne(n,"class",s=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat"),ne(n,"part",l=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){q(e,n,t),K(n,r),K(r,i),K(r,a),K(n,o)},p(e,t){71303168&t[0]&&s!==(s=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")&&ne(n,"class",s),71303168&t[0]&&l!==(l=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")&&ne(n,"part",l)},d(e){e&&J(n)}}}function Br(e){let n,r;return{c(){n=Q("p"),r=t(e[3]),ne(n,"class","GameNameBelow"),ne(n,"part","GameNameBelow"),ne(n,"title",e[3])},m(e,t){q(e,n,t),K(n,r)},p(e,t){8&t[0]&&re(r,e[3]),8&t[0]&&ne(n,"title",e[3])},d(e){e&&J(n)}}}function Hr(n){let r,i,a,o,s,l,c,u,d,h,m,p,f,g,y,v,b,w,S,_,C,x,M,k,F,T,E,L,G,I,P,D,O,A,N=n[33]("gameThumbnail.playNow")+"",R=(n[4]||"-")+"",$=0<parseInt(n[7]),U=n[13]&&Mr(n);function Y(e,t){return(null==x||4099&t[0])&&(x=!(pr(e[34])||!e[0]||!e[12]||!e[1])),x?Tr:((null==M||4099&t[0])&&(M=!!(pr(e[34])&&e[0]&&e[12]&&e[1])),M?Fr:void 0)}let B=Y(n,[-1]),H=B&&B(n),W=n[6]&&Er(n),j=$&&Lr(n),z=n[9]&&Gr(n),V=n[8]&&Br(n);return{c(){r=Q("div"),i=Q("div"),a=Q("img"),c=ee(),u=Q("div"),d=Q("div"),U&&U.c(),h=ee(),m=Q("p"),p=t(n[3]),f=ee(),g=Q("button"),y=t(N),w=ee(),S=Q("span"),_=t(R),C=ee(),H&&H.c(),k=ee(),F=Q("div"),W&&W.c(),T=ee(),j&&j.c(),E=ee(),z&&z.c(),I=ee(),V&&V.c(),this.c=Z,a.src!==(o=n[2])&&ne(a,"src",o),ne(a,"class",s="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),ne(a,"part",l="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),ne(a,"alt",""),ne(a,"loading","lazy"),ne(m,"class","GameInfoName"),ne(m,"part","GameInfoName"),ne(m,"title",n[3]),ne(g,"class","GameInfoBtn"),ne(g,"part","GameInfoBtn"),ne(d,"class",v="GameInfo "+(n[14]?"GameHovered":"")),ne(d,"part",b="GameInfo "+(n[14]?"GameHovered":"")),ne(S,"class","GameInfoVendor"),ne(S,"part","GameInfoVendor"),ne(u,"class","GameInfoWrapper"),ne(u,"part","GameInfoWrapper"),ne(F,"class","GameExtraInfo"),ne(F,"part","GameExtraInfo"),ne(i,"class",L="GameInnerContainer "+(n[9]&&!n[21]||n[9]&&n[30]?"GameInnerContainerUnavailable":"")),ne(i,"part",G="GameInnerContainer "+(n[9]&&!n[21]||n[9]&&n[30]?"GameInnerContainerUnavailable":"")),ne(r,"class",P=`GameContainer ${n[31]}`),ne(r,"part",D=`GameContainer ${n[31]}`)},m(e,t){q(e,r,t),K(r,i),K(i,a),n[60](a),K(i,c),K(i,u),K(u,d),U&&U.m(d,null),K(d,h),K(d,m),K(m,p),K(d,f),K(d,g),K(g,y),K(u,w),K(u,S),K(S,_),K(i,C),H&&H.m(i,null),K(i,k),K(i,F),W&&W.m(F,null),K(F,T),j&&j.m(F,null),K(F,E),z&&z.m(F,null),K(r,I),V&&V.m(r,null),n[65](r),O||(A=[te(g,"click",n[62]),te(i,"mouseenter",n[39]),te(i,"mouseleave",n[40]),te(i,"touchstart",n[37],{passive:!0}),te(i,"touchleave",n[38])],O=!0)},p(e,t){4&t[0]&&a.src!==(o=e[2])&&ne(a,"src",o),49152&t[0]&&s!==(s="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&ne(a,"class",s),49152&t[0]&&l!==(l="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&ne(a,"part",l),e[13]?U?U.p(e,t):(U=Mr(e),U.c(),U.m(d,h)):U&&(U.d(1),U=null),8&t[0]&&re(p,e[3]),8&t[0]&&ne(m,"title",e[3]),4&t[1]&&N!==(N=e[33]("gameThumbnail.playNow")+"")&&re(y,N),16384&t[0]&&v!==(v="GameInfo "+(e[14]?"GameHovered":""))&&ne(d,"class",v),16384&t[0]&&b!==(b="GameInfo "+(e[14]?"GameHovered":""))&&ne(d,"part",b),16&t[0]&&R!==(R=(e[4]||"-")+"")&&re(_,R),B===(B=Y(e,t))&&H?H.p(e,t):(H&&H.d(1),H=B&&B(e),H&&(H.c(),H.m(i,k))),e[6]?W?W.p(e,t):(W=Er(e),W.c(),W.m(F,T)):W&&(W.d(1),W=null),128&t[0]&&($=0<parseInt(e[7])),$?j?j.p(e,t):(j=Lr(e),j.c(),j.m(F,E)):j&&(j.d(1),j=null),e[9]?z?z.p(e,t):(z=Gr(e),z.c(),z.m(F,null)):z&&(z.d(1),z=null),1075839488&t[0]&&L!==(L="GameInnerContainer "+(e[9]&&!e[21]||e[9]&&e[30]?"GameInnerContainerUnavailable":""))&&ne(i,"class",L),1075839488&t[0]&&G!==(G="GameInnerContainer "+(e[9]&&!e[21]||e[9]&&e[30]?"GameInnerContainerUnavailable":""))&&ne(i,"part",G),e[8]?V?V.p(e,t):(V=Br(e),V.c(),V.m(r,null)):V&&(V.d(1),V=null),1&t[1]&&P!==(P=`GameContainer ${e[31]}`)&&ne(r,"class",P),1&t[1]&&D!==(D=`GameContainer ${e[31]}`)&&ne(r,"part",D)},i:Z,o:Z,d(e){e&&J(r),n[60](null),U&&U.d(),H&&H.d(),W&&W.d(),j&&j.d(),z&&z.d(),V&&V.d(),n[65](null),O=!1,X(A)}}}const Wr="blackjack",jr="roulette",zr="doubleballroulette",Vr=5;function Zr(n,e,o){let t;Pe(n,mr,e=>o(33,t=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}a((l=l.apply(e,o||[])).next())})};let i,a,s,l,c,u,d,h,m,p,f,g,y,v,b,w,S,_,C,x,M,k,F,T,{session:E=""}=e,{userid:L=""}=e,{lang:G=""}=e,{clientstyling:I=""}=e,{clientstylingurl:P=""}=e,{favorites:D=""}=e,{gamethumbnail:O=""}=e,{gamename:A=""}=e,{gamevendor:N=""}=e,{gameid:R=""}=e,{gameisnew:$=""}=e,{gamepopularity:U=""}=e,{gamefunmode:Y=!1}=e,{searchitem:B=!1}=e,{gamefavorite:H=!1}=e,{showfavoredcategory:W=!1}=e,{showgamename:j=!1}=e,{currency:z=""}=e,{endpoint:V=""}=e,{livelobbyendpoint:Z=""}=e,{connectlive:X=""}=e,{visibilityconnect:K=""}=e,q=!1,J=!1,Q=!1,ee=window.navigator.userAgent,te="HH:mm",ne,re=[],ie="EUR",ae="";const oe=[Wr],se=[jr,zr],le={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ce={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(Sr).forEach(e=>{Vn(e,Sr[e])});const ue=e=>{e.data.type!==`AddFavoriteThumbnail_${R}`||W||o(0,H=!0),e.data.type!==`RemoveFavoriteThumbnail_${R}`||W||o(0,H=!1),"UserSessionID"===e.data.type&&(o(12,q=!0),e.data.session,e.data.userID)},de=e=>{pr(ee)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:Y},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),B&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},he=e=>{var t="thumbnail";H?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},me=()=>{Z&&EventSource&&!l&&N&&R&&(l=new EventSource(`${V}/encoder/lobby/updates/${N}/${R}`),l.addEventListener("message",fe))},pe=()=>{l&&(l.close(),l=void 0)},fe=a=>r(void 0,void 0,void 0,function*(){const{type:e,data:t}=a;let n;if("message"===e){if(t)try{n=JSON.parse(t)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(n){const{InternalTableId:a,MessageType:e,Results:t,Seats:r,Open:i}=n;if(a)switch(e){case"SeatsUpdated":r&&Array.isArray(r)&&(o(26,g=r),o(9,s.currentOccupiedSeats=r,s),yield ve());break;case"RouletteResultsUpdated":t&&Array.isArray(t)&&(y=t,o(9,s.currentRouletteNumbers=t,s),yield ve());break;case"DoubleBallRouletteResultsUpdated":t&&Array.isArray(t)&&(v=t,o(9,s.currentDoubleBallRouletteNumbers=t,s),yield ve());break;case"TableOpened":case"TableClosed":o(21,d=i),o(9,s.isOpen=i,s),yield ve()}}}}),ge=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",ye=(e,t)=>e.some(e=>e===t);return De(()=>(window.addEventListener("message",ue,!1),()=>{window.removeEventListener("message",ue),l&&l.removeEventListener("message",fe)})),n.$$set=e=>{"session"in e&&o(45,E=e.session),"userid"in e&&o(46,L=e.userid),"lang"in e&&o(47,G=e.lang),"clientstyling"in e&&o(48,I=e.clientstyling),"clientstylingurl"in e&&o(49,P=e.clientstylingurl),"favorites"in e&&o(1,D=e.favorites),"gamethumbnail"in e&&o(2,O=e.gamethumbnail),"gamename"in e&&o(3,A=e.gamename),"gamevendor"in e&&o(4,N=e.gamevendor),"gameid"in e&&o(5,R=e.gameid),"gameisnew"in e&&o(6,$=e.gameisnew),"gamepopularity"in e&&o(7,U=e.gamepopularity),"gamefunmode"in e&&o(50,Y=e.gamefunmode),"searchitem"in e&&o(51,B=e.searchitem),"gamefavorite"in e&&o(0,H=e.gamefavorite),"showfavoredcategory"in e&&o(52,W=e.showfavoredcategory),"showgamename"in e&&o(8,j=e.showgamename),"currency"in e&&o(53,z=e.currency),"endpoint"in e&&o(54,V=e.endpoint),"livelobbyendpoint"in e&&o(55,Z=e.livelobbyendpoint),"connectlive"in e&&o(56,X=e.connectlive),"visibilityconnect"in e&&o(57,K=e.visibilityconnect)},n.$$.update=()=>{var e,t;33554432&n.$$.dirty[1]&&X&&("disconnect"===X?pe():"connect"===X&&me()),67108864&n.$$.dirty[1]&&K&&("disconnect"===K?pe():"connect"===K&&"connect"===X&&me()),n.$$.dirty[1],8437760&n.$$.dirty[1]&&E&&L&&V&&o(12,q=!0),4&n.$$.dirty[0]&&O&&i&&o(16,i.onload=()=>{o(15,Q=!0)},i),131072&n.$$.dirty[1]&&I&&(()=>{let e=document.createElement("style");e.innerHTML=I,setTimeout(()=>{a.appendChild(e)})})(),2&n.$$.dirty[0]&&D&&"true"==D&&o(13,J=!0),262144&n.$$.dirty[1]&&P&&(()=>{let e=new URL(P),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)})})})(),25165824&n.$$.dirty[1]&&V&&Z&&(()=>{let e=new URL(`${Z.split("?")[0]}`);e.searchParams.append("platform",fr(ee)),e.searchParams.append("language",G),fetch(e).then(e=>e.json()).then(e=>{var{details:e}=e[0];o(9,s=e)})})(),512&n.$$.dirty[0]&&s&&s&&(o(21,d=s.isOpen),ne=s.betLimit||{},h=s.openHours,o(22,re=(e=>{f=e.totalSeats||7,o(26,g=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=f;e++)t.push(e);return{seats:t}})(s).seats),h&&h.value&&({value:{startTime:e,originalTimeFormat:t}}=h,o(19,u=e),o(20,te=t||te)),d&&o(18,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();ye(oe,e)?t=Wr:ye(se,e)&&(t=jr)}}return t})(s)),o(23,ie=_r[z]),o(24,m=(ne.min||{})[z]),o(25,p=(ne.max||{})[z]),y=s.currentRouletteNumbers,v=s.currentDoubleBallRouletteNumbers,b=s.vendorCategory,o(27,w=b.toLowerCase()===zr),o(10,S=(w?v:y)||[]),o(28,_="GameProp LiveProps RoulleteProps"),o(28,_+=w?" Double":""),o(29,C=ye(se,b.toLowerCase())?ce:le),M=x,o(30,x=Array.isArray(g)&&g.length===f),s.dealer&&o(32,F=s.dealer.DealerName),T=s.numberOfPlayers,o(31,ae="ListGame"),s.isOpen&&s.currentRouletteNumbers&&o(31,ae+=" GameBackdrop"),d&&x&&m&&p&&s.currentOccupiedSeats?o(31,ae+=" GameContainerDimmed"):!1===d&&u&&o(31,ae+=" GameContainerFullyDimmed"),a&&(!M&&x?(o(31,ae+=" PulsatingRedShadow"),o(31,ae=ae.replace(" PulsatingGreenShadow",""))):M&&!x&&(o(31,ae+=" PulsatingGreenShadow"),o(31,ae=ae.replace(" PulsatingRedShadow",""))))),3072&n.$$.dirty[0]&&k&&S&&(()=>{const e="FirstElementAnimated",t=k.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))})()},[H,D,O,A,N,R,$,U,j,s,S,k,q,J,!1,Q,i,a,c,u,te,d,re,ie,m,p,g,w,_,C,x,ae,F,t,ee,de,he,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},ye,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${ge(e)}-${ge(t)}`),T&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${T}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${t("gameThumbnail.dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{e=`${e} ${r}`,r=t.toString().match(/first0|second0|0/g);return 0===t||r&&0!==r.length?`\n <span\n id=${t}\n class="${e}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${e}">\n ${n}\n </span>\n `},E,L,G,I,P,Y,B,W,z,V,Z,X,K,le,ce,function(e){Oe[e?"unshift":"push"](()=>{i=e,o(16,i)})},()=>he(R),()=>de(R),()=>he(R),function(e){Oe[e?"unshift":"push"](()=>{k=e,o(11,k)})},function(e){Oe[e?"unshift":"push"](()=>{a=e,o(17,a)})}]}function Xr(e,t,n){const r=e.slice();return r[76]=t[n],r[78]=n,r}function Kr(e,t,n){const r=e.slice();return r[76]=t[n],r[79]=t,r[78]=n,r}function qr(e,t,n){const r=e.slice();return r[76]=t[n],r[78]=n,r}function Jr(e){let n;function r(e){return e[11]?ni:e[21]?ti:void 0}let i=r(e),a=i&&i(e);return{c(){n=Q("div"),a&&a.c()},m(e,t){q(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),a=i&&i(e),a&&(a.c(),a.m(n,null)))},d(e){e&&J(n),a&&a.d()}}}function Qr(e){let n,r,i;function a(e){return e[15]?wi:e[12].length?vi:bi}let o=a(e),s=o(e);function l(e){return e[12]?_i:Si}let c=l(e),u=c(e);return{c(){n=Q("div"),r=Q("div"),s.c(),i=ee(),u.c(),ne(r,"class","CasinoGamesHeader Searched "+(pr(e[27])?"CasinoGamesHeaderMobile":"")),ne(r,"part","CasinoGamesHeader Searched "+(pr(e[27])?"CasinoGamesHeaderMobile":"")),ne(n,"class","CasinoGamesContainer"),ne(n,"part","CasinoGamesContainer")},m(e,t){q(e,n,t),K(n,r),s.m(r,null),K(n,i),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),u=c(e),u&&(u.c(),u.m(n,null)))},d(e){e&&J(n),s.d(),u.d()}}}function ei(e){let n;function r(e){return e[17]?ki:Mi}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&J(n)}}}function ti(n){let r,i,a,o,s,l,c,u,d=n[25].name+"";function h(e){return e[25]?ii:ri}let m=h(n),p=m(n);return{c(){r=Q("div"),i=Q("div"),a=Q("h3"),o=t(d),s=ee(),l=Q("ul"),p.c(),ne(a,"class","CategoryName"),ne(a,"part","CategoryName"),ne(i,"class","CasinoGamesHeader"),ne(i,"part","CasinoGamesHeader"),ne(l,"class",c=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ne(l,"part",u=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ne(r,"class","CasinoGamesContainer"),ne(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),n[43](a),K(r,s),K(r,l),p.m(l,null),n[44](l)},p(e,t){33554432&t[0]&&d!==(d=e[25].name+"")&&re(o,d),m===(m=h(e))&&p?p.p(e,t):(p.d(1),p=m(e),p&&(p.c(),p.m(l,null))),33554432&t[0]&&c!==(c=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ne(l,"class",c),33554432&t[0]&&u!==(u=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ne(l,"part",u)},d(e){e&&J(r),n[43](null),p.d(),n[44](null)}}}function ni(n){let r,i,a,o,s,l,c=n[11].name+"",u=n[13]&&pi(n);function d(e){return 0!==e[12].length?gi:fi}let h=d(n),m=h(n);return{c(){r=Q("div"),i=Q("div"),a=Q("h3"),o=t(c),s=ee(),u&&u.c(),l=ee(),m.c(),ne(a,"class","CategoryName"),ne(a,"part","CategoryName"),ne(i,"class","CasinoGamesHeader"),ne(i,"part","CasinoGamesHeader"),ne(r,"class","CasinoGamesContainer"),ne(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),n[39](a),K(i,s),u&&u.m(i,null),K(r,l),m.m(r,null)},p(e,t){2048&t[0]&&c!==(c=e[11].name+"")&&re(o,c),e[13]?u?u.p(e,t):(u=pi(e),u.c(),u.m(i,null)):u&&(u.d(1),u=null),h===(h=d(e))&&m?m.p(e,t):(m.d(1),m=h(e),m&&(m.c(),m.m(r,null)))},d(e){e&&J(r),n[39](null),u&&u.d(),m.d()}}}function ri(e){let n;return{c(){n=Q("p"),n.textContent="Waiting"},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function ii(t){let r,i=t[25].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=mi(Xr(t,i,e));let o=null;return i.length||(o=ai(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);q(t,r,n),o&&o.m(t,n)},p(t,n){if(169869823&n[0]){let e;for(i=t[25].items,e=0;e<i.length;e+=1){const o=Xr(t,i,e);a[e]?a[e].p(o,n):(a[e]=mi(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):(o=ai(t),o.c(),o.m(r.parentNode,r))}},d(e){f(a,e),e&&J(r),o&&o.d(e)}}}function ai(e){let n,r,i,a,o,s,l,c=(t=e,(pr(t[27])?si:oi)(e));var t;return{c(){n=Q("p"),r=v("svg"),i=v("path"),a=ee(),o=Q("span"),o.textContent="You do not have any favored games yet.",s=ee(),c.c(),l=ee(),x(i,"fill","white"),ne(i,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),ne(r,"version","1.1"),ne(r,"class","UnfavoredIcon"),ne(r,"part","UnfavoredIcon"),ne(r,"xmlns","http://www.w3.org/2000/svg"),ne(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),ne(r,"x","50px"),ne(r,"y","50px"),ne(r,"viewBox","0 0 512.001 512.001"),x(r,"enable-background","new 0 0 512.001 512.001"),ne(r,"xml:space","preserve"),ne(o,"class","NoFavoriteText NoFavoriteTextHighlight"),ne(o,"part","NoFavoriteText NoFavoriteTextHighlight"),ne(n,"class","NoFavoriteGames "+(pr(e[27])?"NoFavoriteGamesMobile":"")),ne(n,"part","NoFavoriteGames "+(pr(e[27])?"NoFavoriteGamesMobile":""))},m(e,t){q(e,n,t),K(n,r),K(r,i),K(n,a),K(n,o),K(n,s),c.m(n,null),K(n,l)},p:Z,d(e){e&&J(n),c.d()}}}function oi(e){let n;return{c(){n=Q("span"),n.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",ne(n,"class","NoFavoriteText"),ne(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function si(e){let n;return{c(){n=Q("span"),n.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",ne(n,"class","NoFavoriteText"),ne(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function li(e){let n,r=e[76].gameModel.isFavorite&&ci(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[76].gameModel.isFavorite?r?r.p(e,t):(r=ci(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&J(n)}}}function ci(e){let n,r=function(e){let n,r,i;function a(e,t){return null==n&&(n=!!pr(e[27])),n?di:((null==r||33554432&t[0])&&(r=!!e[76].gameModel.platform.includes("PC")),r?ui:void 0)}let o=a(e,[-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),q(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&J(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&J(n)}}}function ui(e){let n,r,i,a,o,s,l,c,u,d,h,m,p;return{c(){n=Q("casino-game-thumbnail"),w(n,"class",r=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"part",i=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[76].gameModel.thumbnail),w(n,"gamename",o=e[76].gameModel.name),w(n,"gamevendor",s=e[76].gameModel.vendor.name),w(n,"gameisnew",l=e[76].gameModel.isNew),w(n,"gamepopularity",c=e[76].gameModel.popularity),w(n,"gamecellsize",u=e[76].gameModel.cellSize),w(n,"gameid",d=e[76].gameModel.id),w(n,"gamefunmode",h=e[76].gameModel.hasFunMode),w(n,"gamefavorite",m=e[76].gameModel.isFavorite),w(n,"showfavoredcategory",e[21]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",p=e[76].gameModel.details?e[76].gameModel.href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"class",r),33554432&t[0]&&i!==(i=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[76].gameModel.thumbnail)&&w(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[76].gameModel.name)&&w(n,"gamename",o),33554432&t[0]&&s!==(s=e[76].gameModel.vendor.name)&&w(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[76].gameModel.isNew)&&w(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[76].gameModel.popularity)&&w(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[76].gameModel.cellSize)&&w(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[76].gameModel.id)&&w(n,"gameid",d),33554432&t[0]&&h!==(h=e[76].gameModel.hasFunMode)&&w(n,"gamefunmode",h),33554432&t[0]&&m!==(m=e[76].gameModel.isFavorite)&&w(n,"gamefavorite",m),2097152&t[0]&&w(n,"showfavoredcategory",e[21]),128&t[0]&&w(n,"currency",e[7]),33554432&t[0]&&p!==(p=e[76].gameModel.details?e[76].gameModel.href:"")&&w(n,"livelobbyendpoint",p),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8])},d(e){e&&J(n)}}}function di(e){let n,r=e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android"),i=r&&hi(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){33554432&t[0]&&(r=e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android")),r?i?i.p(e,t):(i=hi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&J(n)}}}function hi(e){let n,r,i,a,o,s,l,c,u,d,h,m,p;return{c(){n=Q("casino-game-thumbnail"),w(n,"class",r=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"part",i=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[76].gameModel.thumbnail),w(n,"gamename",o=e[76].gameModel.name),w(n,"gamevendor",s=e[76].gameModel.vendor.name),w(n,"gameisnew",l=e[76].gameModel.isNew),w(n,"gamepopularity",c=e[76].gameModel.popularity),w(n,"gamecellsize",u=e[76].gameModel.cellSize),w(n,"gameid",d=e[76].gameModel.id),w(n,"gamefunmode",h=e[76].gameModel.hasFunMode),w(n,"gamefavorite",m=e[76].gameModel.isFavorite),w(n,"showfavoredcategory",e[21]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",p=e[76].gameModel.details?e[76].gameModel.href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"class",r),33554432&t[0]&&i!==(i=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[76].gameModel.thumbnail)&&w(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[76].gameModel.name)&&w(n,"gamename",o),33554432&t[0]&&s!==(s=e[76].gameModel.vendor.name)&&w(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[76].gameModel.isNew)&&w(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[76].gameModel.popularity)&&w(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[76].gameModel.cellSize)&&w(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[76].gameModel.id)&&w(n,"gameid",d),33554432&t[0]&&h!==(h=e[76].gameModel.hasFunMode)&&w(n,"gamefunmode",h),33554432&t[0]&&m!==(m=e[76].gameModel.isFavorite)&&w(n,"gamefavorite",m),2097152&t[0]&&w(n,"showfavoredcategory",e[21]),128&t[0]&&w(n,"currency",e[7]),33554432&t[0]&&p!==(p=e[76].gameModel.details?e[76].gameModel.href:"")&&w(n,"livelobbyendpoint",p),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8])},d(e){e&&J(n)}}}function mi(e){let n,r=e[76].gameModel&&li(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[76].gameModel?r?r.p(e,t):(r=li(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&J(n)}}}function pi(n){let r,i,a,o,s,l,c,u,d=n[26]("gamesCategorySection.viewAll")+"",h=n[11].games.total+"";return{c(){r=Q("a"),i=Q("span"),a=t(d),o=t(" ("),s=t(h),l=t(")"),ne(i,"class","CategoryLoadMore"),ne(i,"part","CategoryLoadMore"),ne(r,"class","CategoryNameLink"),ne(r,"part","CategoryNameLink")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),K(i,l),c||(u=te(r,"click",n[40]),c=!0)},p(e,t){67108864&t[0]&&d!==(d=e[26]("gamesCategorySection.viewAll")+"")&&re(a,d),2048&t[0]&&h!==(h=e[11].games.total+"")&&re(s,h)},d(e){e&&J(r),c=!1,u()}}}function fi(e){let n;return{c(){n=Q("p"),n.textContent="You don't have any games in this category.",ne(n,"class","NoSearchResults"),ne(n,"part","NoSearchResults")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function gi(n){let r,e,i,a=n[12],o=[];for(let e=0;e<a.length;e+=1)o[e]=yi(Kr(n,a,e));return{c(){r=Q("ul");for(let e=0;e<o.length;e+=1)o[e].c();ne(r,"class",e=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),ne(r,"part",i=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){q(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[42](r)},p(t,n){if(25170943&n[0]){let e;for(a=t[12],e=0;e<a.length;e+=1){const i=Kr(t,a,e);o[e]?o[e].p(i,n):(o[e]=yi(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}35651584&n[0]&&e!==(e=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ne(r,"class",e),35651584&n[0]&&i!==(i=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ne(r,"part",i)},d(e){e&&J(r),f(o,e),n[42](null)}}}function yi(e){let n,r=function(n){let r,i,a,o,s,l,c,u,d,h,m,p,f,g,y=n[78];const v=()=>n[41](r,y),b=()=>n[41](null,y);return{c(){r=Q("casino-game-thumbnail"),w(r,"session",n[2]),w(r,"userid",n[3]),w(r,"lang",n[1]),w(r,"class",i=""+(Ti+(n[76].cellSize||"1x1"))),w(r,"part",a=""+(Ti+(n[76].cellSize||"1x1"))),w(r,"favorites",n[4]),w(r,"gamethumbnail",o=n[76].thumbnail),w(r,"gamename",s=n[76].name),w(r,"gamevendor",l=n[76].vendor.name),w(r,"gameisnew",c=n[76].isNew),w(r,"gamepopularity",u=n[76].popularity),w(r,"gamecellsize",d=n[76].cellSize),w(r,"gameid",h=n[76].id),w(r,"gamefunmode",m=n[76].hasFunMode),w(r,"gamefavorite",p=n[76].isFavorite),w(r,"connectlive",f=1==n[23][n[76].id]?"connect":"disconnect"),w(r,"visibilityconnect",n[24]),w(r,"currency",n[7]),w(r,"livelobbyendpoint",g=n[76].details?n[76].href:""),w(r,"clientstyling",n[5]),w(r,"clientstylingurl",n[6]),w(r,"endpoint",n[0]),w(r,"livecasino",n[8])},m(e,t){q(e,r,t),v()},p(e,t){n=e,4&t[0]&&w(r,"session",n[2]),8&t[0]&&w(r,"userid",n[3]),2&t[0]&&w(r,"lang",n[1]),4096&t[0]&&i!==(i=""+(Ti+(n[76].cellSize||"1x1")))&&w(r,"class",i),4096&t[0]&&a!==(a=""+(Ti+(n[76].cellSize||"1x1")))&&w(r,"part",a),16&t[0]&&w(r,"favorites",n[4]),4096&t[0]&&o!==(o=n[76].thumbnail)&&w(r,"gamethumbnail",o),4096&t[0]&&s!==(s=n[76].name)&&w(r,"gamename",s),4096&t[0]&&l!==(l=n[76].vendor.name)&&w(r,"gamevendor",l),4096&t[0]&&c!==(c=n[76].isNew)&&w(r,"gameisnew",c),4096&t[0]&&u!==(u=n[76].popularity)&&w(r,"gamepopularity",u),4096&t[0]&&d!==(d=n[76].cellSize)&&w(r,"gamecellsize",d),4096&t[0]&&h!==(h=n[76].id)&&w(r,"gameid",h),4096&t[0]&&m!==(m=n[76].hasFunMode)&&w(r,"gamefunmode",m),4096&t[0]&&p!==(p=n[76].isFavorite)&&w(r,"gamefavorite",p),8392704&t[0]&&f!==(f=1==n[23][n[76].id]?"connect":"disconnect")&&w(r,"connectlive",f),16777216&t[0]&&w(r,"visibilityconnect",n[24]),128&t[0]&&w(r,"currency",n[7]),4096&t[0]&&g!==(g=n[76].details?n[76].href:"")&&w(r,"livelobbyendpoint",g),32&t[0]&&w(r,"clientstyling",n[5]),64&t[0]&&w(r,"clientstylingurl",n[6]),1&t[0]&&w(r,"endpoint",n[0]),256&t[0]&&w(r,"livecasino",n[8]),y!==n[78]&&(b(),y=n[78],v())},d(e){e&&J(r),b()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&J(n)}}}function vi(e){let n,r,i=e[26]("gamesCategorySection.searchedItems")+"";return{c(){n=Q("h3"),r=t(i),ne(n,"class","StatusText"),ne(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.searchedItems")+"")&&re(r,i)},d(e){e&&J(n)}}}function bi(e){let n,r,i=e[26]("gamesCategorySection.noResults")+"";return{c(){n=Q("h3"),r=t(i),ne(n,"class","StatusText"),ne(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noResults")+"")&&re(r,i)},d(e){e&&J(n)}}}function wi(e){let n,r,i=e[26]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=Q("h3"),r=t(i),ne(n,"class","StatusText"),ne(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.recentSearchedItems")+"")&&re(r,i)},d(e){e&&J(n)}}}function Si(e){let n;return{c(){n=Q("p"),n.textContent="Waiting",ne(n,"class","SearchWaiting"),ne(n,"part","SearchWaiting")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function _i(t){let r,i,a=!t[18]&&Ci(t),o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=xi(qr(t,o,e));return{c(){a&&a.c(),r=ee(),i=Q("ul");for(let e=0;e<s.length;e+=1)s[e].c();ne(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),ne(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),q(e,r,t),q(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[18]?a&&(a.d(1),a=null):a?a.p(t,n):(a=Ci(t),a.c(),a.m(r.parentNode,r)),70143&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){const a=qr(t,o,e);s[e]?s[e].p(a,n):(s[e]=xi(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&J(r),e&&J(i),f(s,e)}}}function Ci(e){let n,r,i=e[26]("gamesCategorySection.noRecentSearch")+"";return{c(){n=Q("p"),r=t(i),ne(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(pr(e[27])?"NoRecentSearchesMobile":"")),ne(n,"part","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(pr(e[27])?"NoRecentSearchesMobile":""))},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noRecentSearch")+"")&&re(r,i)},d(e){e&&J(n)}}}function xi(e){let n,r,i,a,o,s,l,c,u,d,h,m,p;return{c(){n=Q("casino-game-thumbnail"),w(n,"class",r=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"part",i=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"searchitem",e[16]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[76].thumbnail),w(n,"gamename",o=e[76].name),w(n,"gamevendor",s=e[76].vendor.name),w(n,"gameisnew",l=e[76].isNew),w(n,"gamepopularity",c=e[76].popularity),w(n,"gamecellsize",u=e[76].cellSize),w(n,"gameid",d=e[76].id),w(n,"gamefunmode",h=e[76].hasFunMode),w(n,"gamefavorite",m=e[76].isFavorite),w(n,"currency",e[7]),w(n,"livelobbyendpoint",p=e[76].details?e[76].href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){4096&t[0]&&r!==(r=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"class",r),4096&t[0]&&i!==(i=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),65536&t[0]&&w(n,"searchitem",e[16]),16&t[0]&&w(n,"favorites",e[4]),4096&t[0]&&a!==(a=e[76].thumbnail)&&w(n,"gamethumbnail",a),4096&t[0]&&o!==(o=e[76].name)&&w(n,"gamename",o),4096&t[0]&&s!==(s=e[76].vendor.name)&&w(n,"gamevendor",s),4096&t[0]&&l!==(l=e[76].isNew)&&w(n,"gameisnew",l),4096&t[0]&&c!==(c=e[76].popularity)&&w(n,"gamepopularity",c),4096&t[0]&&u!==(u=e[76].cellSize)&&w(n,"gamecellsize",u),4096&t[0]&&d!==(d=e[76].id)&&w(n,"gameid",d),4096&t[0]&&h!==(h=e[76].hasFunMode)&&w(n,"gamefunmode",h),4096&t[0]&&m!==(m=e[76].isFavorite)&&w(n,"gamefavorite",m),128&t[0]&&w(n,"currency",e[7]),4096&t[0]&&p!==(p=e[76].details?e[76].href:"")&&w(n,"livelobbyendpoint",p),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8])},d(e){e&&J(n)}}}function Mi(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error.",ne(n,"class","SearchLoading"),ne(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function ki(e){let n;return{c(){n=Q("p"),n.textContent="404 Error - No result found.",ne(n,"class","SearchLoading"),ne(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function Fi(n){let r;function i(e){return e[10]?ei:e[14]?Qr:Jr}let a=i(n),o=a(n);return{c(){r=Q("div"),o.c(),this.c=Z,ne(r,"class","CasinoGamesCategorySectionContainer"),ne(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){q(e,r,t),o.m(r,null),n[45](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&J(r),o.d(),n[45](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends E{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:9.6px;text-align:center;font-size:17.6px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6.4px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:4.8px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14.4px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11.2px;padding:3.2px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:4.8px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:1.6px;margin:0 1px;margin-right:6.4px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:4.8px;padding:1.6px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 20px 5px 20px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",T(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Zr,Hr,n,{session:45,userid:46,lang:47,clientstyling:48,clientstylingurl:49,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:50,searchitem:51,gamefavorite:0,showfavoredcategory:52,showgamename:8,currency:53,endpoint:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,MONEY_WHEEL_COLOR_MAP:58,ROULETTE_COLOR_MAP:59},[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","currency","endpoint","livelobbyendpoint","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[45]}set session(e){this.$set({session:e}),k()}get userid(){return this.$$.ctx[46]}set userid(e){this.$set({userid:e}),k()}get lang(){return this.$$.ctx[47]}set lang(e){this.$set({lang:e}),k()}get clientstyling(){return this.$$.ctx[48]}set clientstyling(e){this.$set({clientstyling:e}),k()}get clientstylingurl(){return this.$$.ctx[49]}set clientstylingurl(e){this.$set({clientstylingurl:e}),k()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),k()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),k()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),k()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),k()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),k()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),k()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),k()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$set({gamefunmode:e}),k()}get searchitem(){return this.$$.ctx[51]}set searchitem(e){this.$set({searchitem:e}),k()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),k()}get showfavoredcategory(){return this.$$.ctx[52]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),k()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),k()}get currency(){return this.$$.ctx[53]}set currency(e){this.$set({currency:e}),k()}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$set({endpoint:e}),k()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$set({livelobbyendpoint:e}),k()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$set({connectlive:e}),k()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$set({visibilityconnect:e}),k()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[58]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[59]}});const Ti="game-tile-";function Ei(e,t,s){let n;Pe(e,mr,e=>s(26,n=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}a((l=l.apply(e,o||[])).next())})};let i,a,o,l,c,u,d,h,m,{endpoint:p=""}=t,{datasource:f=""}=t,{lang:g=""}=t,{session:y=""}=t,{userid:v=""}=t,{favorites:b=""}=t,{clientstyling:w=""}=t,{clientstylingurl:S=""}=t,{currency:_=""}=t,{categoryid:C=""}=t,{categoryindex:x=0}=t,{categorygames:M=0}=t,{livecasino:k="false"}=t,{once:F=!0}=t,{top:T=0}=t,{bottom:E=0}=t,{left:L=0}=t,{right:G=0}=t,I=!1,P=!0,D=window.navigator.userAgent,O=[],A=!0,N=40,R=!1,$=!1,U=!1,Y=!1,B=!0,H=!1,W=!1,j=!1,z=new Array(1e4),V={},Z={items:[],count:0,name:""};Object.keys(yr).forEach(e=>{Vn(e,yr[e])});let X=new IntersectionObserver((e,t)=>{e.forEach(n=>r(void 0,void 0,void 0,function*(){var e=n.target.gameid,t=n.target.elems_index;n.isIntersecting?(1.2*t>N&&J(C),s(23,V[e]=1,V)):s(23,V[e]=0,V)}))});const K=(e,r,i,t=0)=>{let a=new URL(`${p}/casino/groups/${f}/${C}`),o=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",fr(D)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:C},window.location.href),o&&o[C])if(o[C].length&&!1===P&&!1===H){let t="";s(17,Y=!0),o[C].forEach(e=>{t+=t?`, id=${e}`:`id=${e}`}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(17,Y=!1);fetch(a).then(e=>e.json()).then(e=>{s(38,m=!0),s(10,I=!1),c=e.games.total,t(e)},e=>{s(10,I=!0),console.error(e),n(e)})})},q=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(14,R=!1),P=!1,s(13,A=!1),W=!0,s(12,O=t.data.mostPlayedGames),s(11,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(14,R=!0),W=!1,s(15,$=!0),0<t.data.searchData.length?(s(12,O=t.data.searchData),s(18,B=!0),O&&O.forEach(e=>{e.isFavorite=Q(e.id)})):(s(12,O=[]),s(18,B=!1));break;case"OutOfRecentSearches":s(14,R=!1),s(15,$=!1);break;case"SearchData":s(14,R=!0),W=!1,s(15,$=!1),s(12,O=t.data.searchData.items||[]),s(16,U=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),O&&O.forEach(e=>{e.isFavorite=Q(e.id)});break;case`CategoryData_${C}`:s(14,R=!1),P=!0,s(13,A=!0),s(16,U=!1),W=!1,j=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),K(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(11,o=e),s(12,O=o.games.items),O&&O.forEach(e=>{e.isFavorite=Q(e.id)})});break;case"CategoryChange":N=20;break;case"CategoryUpdate":s(14,R=!1),P=!1,s(16,U=!1),W=!1,s(13,A=!1),j=!0,s(29,C=t.data.itemId),K(0,0,N).then(e=>{s(11,o=e),o.games.items.forEach(e=>{e.isFavorite=Q(e.id)}),s(12,O=o.games.items),s(13,A=!1)});break;case"FavoriteUpdate":s(14,R=!1),W=!1,P=!0,s(12,O=o.games.items),O.forEach(e=>{e.isFavorite=Q(e.id)}),s(13,A=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items,t.data.triggerFactor&&!H?window.postMessage({type:"FavoriteUpdate"},window.location.href):P||W||window.postMessage({type:"CategoryUpdate",itemId:C},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&(e=t.data.receivedFavoriteResults.items,e.length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(25,Z.items=(n=e,Z.items,r=window.navigator.userAgent,pr(r)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),Z),s(25,Z.name="Favorites",Z),s(21,H=!0));break;case"UserSessionID":i=t.data.session,a=t.data.userID,"true"==b&&a&&a.length&&i&&0<i.length&&(e=>{let r={method:"GET",headers:{"X-SessionID":i}};new Promise((t,n)=>{fetch(e,r).then(e=>e.json()).then(e=>{d=e?e.items:[],O.forEach(e=>{e.isFavorite=Q(e.id)});e=O;s(12,O=void 0),s(12,O=e),t(d)}).catch(e=>{console.error(e),n(e)})})})(`${p}/player/${a}/favorites/`)}var n,r},J=e=>{N+=1,N<=c&&K(0,0,N).then(e=>{s(11,o=e),s(12,O=o.games.items),O.forEach(e=>{e.isFavorite=Q(e.id)})})},Q=t=>!!d&&-1!==d.findIndex(e=>e.id==t),ee=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return De(()=>(window.addEventListener("message",q,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",q)})),e.$$set=e=>{"endpoint"in e&&s(0,p=e.endpoint),"datasource"in e&&s(30,f=e.datasource),"lang"in e&&s(1,g=e.lang),"session"in e&&s(2,y=e.session),"userid"in e&&s(3,v=e.userid),"favorites"in e&&s(4,b=e.favorites),"clientstyling"in e&&s(5,w=e.clientstyling),"clientstylingurl"in e&&s(6,S=e.clientstylingurl),"currency"in e&&s(7,_=e.currency),"categoryid"in e&&s(29,C=e.categoryid),"categoryindex"in e&&s(31,x=e.categoryindex),"categorygames"in e&&s(32,M=e.categorygames),"livecasino"in e&&s(8,k=e.livecasino),"once"in e&&s(33,F=e.once),"top"in e&&s(34,T=e.top),"bottom"in e&&s(35,E=e.bottom),"left"in e&&s(36,L=e.left),"right"in e&&s(37,G=e.right)},e.$$.update=()=>{512&e.$$.dirty[0]|128&e.$$.dirty[1]&&m&&z&&j&&z.forEach((e,t)=>{e&&(e.elems_index=t,X.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&w&&(()=>{let e=document.createElement("style");e.innerHTML=w,setTimeout(()=>{h.appendChild(e)})})(),64&e.$$.dirty[0]&&S&&(()=>{let t=document.createElement("style");fetch(new URL(S)).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)})})()},[p,g,y,v,b,w,S,_,k,z,I,o,O,A,R,$,U,Y,B,l,u,H,h,V,"",Z,n,D,ee,C,f,x,M,F,T,E,L,G,m,function(e){Oe[e?"unshift":"push"](()=>{u=e,s(20,u)})},e=>ee(o.id,o),function(e,t){Oe[e?"unshift":"push"](()=>{z[t]=e,s(9,z)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){Oe[e?"unshift":"push"](()=>{u=e,s(20,u)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){Oe[e?"unshift":"push"](()=>{h=e,s(22,h)})}]}function Li(e,t,n){const r=e.slice();return r[117]=t[n],r[119]=n,r}function Gi(n){let r,i,a,o,s="PC"!==fr(n[38])&&"false"===n[9]&&n[34],l=s&&Pi();function c(e){return"false"===e[9]?Oi:Di}let u=c(n),d=u(n);function h(e){return e[15]?ea:e[22]?Qi:e[25]?Ji:e[20]?qi:e[26]?Ki:e[21]?void 0:Xi}let m=h(n),p=m&&m(n),f=n[17]&&"true"===n[12]&&ia(n);return{c(){r=Q("section"),l&&l.c(),i=ee(),d.c(),a=ee(),p&&p.c(),o=ee(),f&&f.c(),ne(r,"class","CategoriesLobby"),ne(r,"part","CategoriesLobby"),x(r,"max-width",n[11]+"px")},m(e,t){q(e,r,t),l&&l.m(r,null),K(r,i),d.m(r,null),K(r,a),p&&p.m(r,null),K(r,o),f&&f.m(r,null),n[69](r)},p(e,t){512&t[0]|8&t[1]&&(s="PC"!==fr(e[38])&&"false"===e[9]&&e[34]),s?l||(l=Pi(),l.c(),l.m(r,i)):l&&(l.d(1),l=null),u===(u=c(e))&&d?d.p(e,t):(d.d(1),d=u(e),d&&(d.c(),d.m(r,a))),m===(m=h(e))&&p?p.p(e,t):(p&&p.d(1),p=m&&m(e),p&&(p.c(),p.m(r,o))),e[17]&&"true"===e[12]?f?f.p(e,t):(f=ia(e),f.c(),f.m(r,null)):f&&(f.d(1),f=null),2048&t[0]&&x(r,"max-width",e[11]+"px")},d(e){e&&J(r),l&&l.d(),d.d(),p&&p.d(),f&&f.d(),n[69](null)}}}function Ii(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error",ne(n,"class","SearchLoading"),ne(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function Pi(){let n;return{c(){n=Q("div"),ne(n,"class","SearchBarPlaceholder"),ne(n,"part","SearchBarPlaceholder")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function Di(n){let r,i,a,o,s,l,c,u,d,h,m,p,f,g,y,v,b="PC"===fr(n[38])&&n[14].length||"PC"!==fr(n[38]),w=!n[34]&&Ai(),S=b&&Ni(n),_=!n[20]&&!n[25]&&!n[34]&&!n[26]&&!n[21]&&!n[24]&&!n[22]&&!n[23]&&Ri(n);return{c(){r=Q("div"),i=Q("div"),a=Q("label"),a.textContent="Search casino games",o=ee(),s=Q("div"),w&&w.c(),l=ee(),c=Q("input"),d=ee(),S&&S.c(),p=ee(),_&&_.c(),ne(a,"for","search"),ne(a,"class","SrOnly"),ne(a,"part","SrOnly"),ne(c,"id","SearchField"),ne(c,"class","SearchInput"),ne(c,"part","SearchInput"),ne(c,"placeholder",u="PC"===fr(n[38])?n[37]("casinoPage.search"):n[37]("casinoPage.searchMobile")),ne(c,"type","search"),ne(s,"class","SearchWrapper"),ne(s,"part","SearchWrapper"),ne(i,"class",h="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),ne(i,"part",m="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),ne(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==fr(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==fr(n[38])&&!oa?"CategoriesHeaderSearchActive":"")+(n[28]&&n[34]?"SearchStickTop":"")),ne(r,"part",g="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==fr(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==fr(n[38])&&!oa?"CategoriesHeaderSearchActive":"")+(n[28]&&n[34]?"SearchStickTop":"")),x(r,"top",n[28]&&n[34]?sa+"px":"")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),w&&w.m(s,null),K(s,l),K(s,c),n[62](c),C(c,n[14]),K(s,d),S&&S.m(s,null),K(r,p),_&&_.m(r,null),n[67](r),y||(v=[te(c,"focus",n[40]),te(c,"blur",n[41]),te(c,"input",n[63]),te(c,"focus",n[42])],y=!0)},p(e,t){e[34]?w&&(w.d(1),w=null):w||(w=Ai(),w.c(),w.m(s,l)),64&t[1]&&u!==(u="PC"===fr(e[38])?e[37]("casinoPage.search"):e[37]("casinoPage.searchMobile"))&&ne(c,"placeholder",u),16384&t[0]&&C(c,e[14]),16384&t[0]&&(b="PC"===fr(e[38])&&e[14].length||"PC"!==fr(e[38])),b?S?S.p(e,t):(S=Ni(e),S.c(),S.m(s,null)):S&&(S.d(1),S=null),110100480&t[0]&&h!==(h="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&ne(i,"class",h),110100480&t[0]&&m!==(m="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&ne(i,"part",m),e[20]||e[25]||e[34]||e[26]||e[21]||e[24]||e[22]||e[23]?_&&(_.d(1),_=null):_?_.p(e,t):(_=Ri(e),_.c(),_.m(r,null)),272629760&t[0]|8&t[1]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==fr(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==fr(e[38])&&!oa?"CategoriesHeaderSearchActive":"")+(e[28]&&e[34]?"SearchStickTop":""))&&ne(r,"class",f),272629760&t[0]|8&t[1]&&g!==(g="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==fr(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==fr(e[38])&&!oa?"CategoriesHeaderSearchActive":"")+(e[28]&&e[34]?"SearchStickTop":""))&&ne(r,"part",g),268435456&t[0]|8&t[1]&&x(r,"top",e[28]&&e[34]?sa+"px":"")},d(e){e&&J(r),w&&w.d(),n[62](null),S&&S.d(),_&&_.d(),n[67](null),y=!1,X(v)}}}function Oi(n){let r,i,a,o,s,l,c,u,d,h,m,p,f,g,y,v,b="PC"===fr(n[38])&&n[14].length||"PC"!==fr(n[38]),w=!n[34]&&Hi(),S=b&&Wi(n),_=!n[20]&&!n[25]&&!n[34]&&!n[26]&&!n[21]&&!n[22]&&!n[24]&&!n[23]&&ji(n);return{c(){r=Q("div"),i=Q("div"),a=Q("label"),a.textContent="Search casino games",o=ee(),s=Q("div"),w&&w.c(),l=ee(),c=Q("input"),d=ee(),S&&S.c(),p=ee(),_&&_.c(),ne(a,"for","search"),ne(a,"class","SrOnly"),ne(a,"part","SrOnly"),ne(c,"id","SearchField"),ne(c,"class","SearchInput"),ne(c,"part","SearchInput"),ne(c,"placeholder",u="PC"===fr(n[38])?n[37]("casinoPage.search"):n[37]("casinoPage.searchMobile")),ne(c,"type","search"),ne(s,"class","SearchWrapper"),ne(s,"part","SearchWrapper"),ne(i,"class",h="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),ne(i,"part",m="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),ne(r,"class",f="CategoriesHeaderSection "+("PC"!==fr(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==fr(n[38])&&!oa?"CategoriesHeaderSearchActive":"")+" "+(n[28]&&n[34]?"SearchStickTop":"")),x(r,"top",n[28]&&n[34]?sa+"px":""),ne(r,"part",g="CategoriesHeaderSection "+("PC"!==fr(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==fr(n[38])&&!oa?"CategoriesHeaderSearchActive":"")+" "+(n[28]&&n[34]?"SearchStickTop":""))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),w&&w.m(s,null),K(s,l),K(s,c),n[56](c),C(c,n[14]),K(s,d),S&&S.m(s,null),K(r,p),_&&_.m(r,null),n[61](r),y||(v=[te(c,"focus",n[40]),te(c,"blur",n[41]),te(c,"input",n[57]),te(c,"focus",n[42])],y=!0)},p(e,t){e[34]?w&&(w.d(1),w=null):w||(w=Hi(),w.c(),w.m(s,l)),64&t[1]&&u!==(u="PC"===fr(e[38])?e[37]("casinoPage.search"):e[37]("casinoPage.searchMobile"))&&ne(c,"placeholder",u),16384&t[0]&&C(c,e[14]),16384&t[0]&&(b="PC"===fr(e[38])&&e[14].length||"PC"!==fr(e[38])),b?S?S.p(e,t):(S=Wi(e),S.c(),S.m(s,null)):S&&(S.d(1),S=null),110100480&t[0]&&h!==(h="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&ne(i,"class",h),110100480&t[0]&&m!==(m="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&ne(i,"part",m),e[20]||e[25]||e[34]||e[26]||e[21]||e[22]||e[24]||e[23]?_&&(_.d(1),_=null):_?_.p(e,t):(_=ji(e),_.c(),_.m(r,null)),272629760&t[0]|8&t[1]&&f!==(f="CategoriesHeaderSection "+("PC"!==fr(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==fr(e[38])&&!oa?"CategoriesHeaderSearchActive":"")+" "+(e[28]&&e[34]?"SearchStickTop":""))&&ne(r,"class",f),268435456&t[0]|8&t[1]&&x(r,"top",e[28]&&e[34]?sa+"px":""),272629760&t[0]|8&t[1]&&g!==(g="CategoriesHeaderSection "+("PC"!==fr(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==fr(e[38])&&!oa?"CategoriesHeaderSearchActive":"")+" "+(e[28]&&e[34]?"SearchStickTop":""))&&ne(r,"part",g)},d(e){e&&J(r),w&&w.d(),n[56](null),S&&S.d(),_&&_.d(),n[61](null),y=!1,X(v)}}}function Ai(){let n;return{c(){n=Q("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',ne(n,"class","SearchIcon"),ne(n,"part","SearchWrapper")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function Ni(n){let r,i,a,o;return{c(){r=Q("span"),i=Q("div"),i.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',ne(i,"class","CloseIconContainer"),ne(i,"part","CloseIconContainer"),ne(r,"class","PC"===fr(n[38])?"ClearSearchButton":"ClearSearchButtonMobile"),ne(r,"part","PC"===fr(n[38])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),K(r,i),a||(o=te(r,"click",n[64]),a=!0)},p:Z,d(e){e&&J(r),a=!1,o()}}}function Ri(e){let n,r,i=e[35]&&$i(e),a=(!e[22]||!e[21])&&Ui(e);return{c(){n=Q("div"),i&&i.c(),r=ee(),a&&a.c(),ne(n,"class","FiltersButtonsContainer"),ne(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),K(n,r),a&&a.m(n,null)},p(e,t){e[35]?i?i.p(e,t):(i=$i(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[22]&&e[21]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Ui(e),a.c(),a.m(n,null))},d(e){e&&J(n),i&&i.d(),a&&a.d()}}}function $i(n){let r,i,a,o,s,l;return{c(){r=Q("div"),i=Q("div"),i.innerHTML='Clear\n <span class="ClearIcon" part="ClearIcon"><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg></span>',ne(i,"class","ClearButton"),ne(i,"part","ClearButton"),ne(r,"class",a="ClearFilterButtonWrapper "+(n[35]?"FiltersActive":"")),ne(r,"part",o="ClearFilterButtonWrapper "+(n[35]?"FiltersActive":""))},m(e,t){q(e,r,t),K(r,i),s||(l=te(r,"click",n[65]),s=!0)},p(e,t){16&t[1]&&a!==(a="ClearFilterButtonWrapper "+(e[35]?"FiltersActive":""))&&ne(r,"class",a),16&t[1]&&o!==(o="ClearFilterButtonWrapper "+(e[35]?"FiltersActive":""))&&ne(r,"part",o)},d(e){e&&J(r),s=!1,l()}}}function Ui(e){let n,r=!e[26]&&Yi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[26]?r&&(r.d(1),r=null):r?r.p(e,t):(r=Yi(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&J(n)}}}function Yi(n){let r,i,a,o,s,l,c,u,d,h,m,p,f=0<n[35]&&Bi(n);return{c(){r=Q("div"),i=Q("div"),i.textContent="Filters",a=ee(),o=Q("div"),s=v("svg"),l=v("defs"),c=v("style"),u=t(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=v("path"),h=ee(),f&&f.c(),ne(i,"class","FilterButton"),ne(i,"part","FilterButton"),ne(d,"class","a"),ne(d,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),ne(d,"transform","translate(-5 -6.2)"),ne(s,"xmlns","http://www.w3.org/2000/svg"),ne(s,"width","20"),ne(s,"height","20"),ne(s,"viewBox","0 0 26 26"),ne(o,"class","FilterIconContainer"),ne(o,"part","FilterIconContainer"),ne(r,"class","FilterButtonWrapper"),ne(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),K(r,i),K(r,a),K(r,o),K(o,s),K(s,l),K(l,c),K(c,u),K(s,d),K(o,h),f&&f.m(o,null),m||(p=te(r,"click",n[66]),m=!0)},p(e,t){0<e[35]?f?f.p(e,t):(f=Bi(e),f.c(),f.m(o,null)):f&&(f.d(1),f=null)},d(e){e&&J(r),f&&f.d(),m=!1,p()}}}function Bi(e){let n,r,i;return{c(){n=Q("div"),r=Q("span"),i=t(e[35]),ne(r,"class","NumberOfFilters"),ne(r,"part","NumberOfFilters"),ne(n,"class","NumberOfFiltersContainer"),ne(n,"part","NumberOfFiltersContainer")},m(e,t){q(e,n,t),K(n,r),K(r,i)},p(e,t){16&t[1]&&re(i,e[35])},d(e){e&&J(n)}}}function Hi(){let n;return{c(){n=Q("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',ne(n,"class","SearchIcon"),ne(n,"part","SearchIcon")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function Wi(n){let r,i,a,o;return{c(){r=Q("span"),i=Q("div"),i.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',ne(i,"class","CloseIconContainer"),ne(i,"part","CloseIconContainer"),ne(r,"class","PC"===fr(n[38])?"ClearSearchButton":"ClearSearchButtonMobile"),ne(r,"part","PC"===fr(n[38])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),K(r,i),a||(o=te(r,"click",n[58]),a=!0)},p:Z,d(e){e&&J(r),a=!1,o()}}}function ji(e){let n,r,i=e[35]&&zi(e),a=(!e[22]||!e[21])&&Vi(e);return{c(){n=Q("div"),i&&i.c(),r=ee(),a&&a.c(),ne(n,"class","FiltersButtonsContainer"),ne(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),K(n,r),a&&a.m(n,null)},p(e,t){e[35]?i?i.p(e,t):(i=zi(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[22]&&e[21]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Vi(e),a.c(),a.m(n,null))},d(e){e&&J(n),i&&i.d(),a&&a.d()}}}function zi(n){let r,i,a;return{c(){r=Q("div"),r.innerHTML='<div class="ClearButton" part="ClearButton">Clear\n <span class="ClearIcon" part="ClearIcon"><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg></span></div>',ne(r,"class","ClearFilterButtonWrapper"),ne(r,"part","ClearFilterButtonWrapper")},m(e,t){q(e,r,t),i||(a=te(r,"click",n[59]),i=!0)},p:Z,d(e){e&&J(r),i=!1,a()}}}function Vi(e){let n,r=!e[26]&&Zi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[26]?r&&(r.d(1),r=null):r?r.p(e,t):(r=Zi(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&J(n)}}}function Zi(n){let r,i,a,o,s,l,c,u,d,h,m,p,f,g,y;return{c(){r=Q("div"),i=Q("div"),i.textContent="Filters",a=ee(),o=Q("div"),s=v("svg"),l=v("defs"),c=v("style"),u=t(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=v("path"),h=ee(),m=Q("div"),p=Q("span"),f=t(n[35]),ne(i,"class","FilterButton"),ne(i,"part","FilterButton"),ne(d,"class","a"),ne(d,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),ne(d,"transform","translate(-5 -6.2)"),ne(s,"xmlns","http://www.w3.org/2000/svg"),ne(s,"width","20"),ne(s,"height","20"),ne(s,"viewBox","0 0 26 26"),ne(p,"class","NumberOfFilters"),ne(p,"part","NumberOfFilters"),ne(m,"class","NumberOfFiltersContainer"),ne(m,"part","NumberOfFiltersContainer"),ne(o,"class","FilterIconContainer"),ne(o,"part","FilterIconContainer"),ne(r,"class","FilterButtonWrapper"),ne(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),K(r,i),K(r,a),K(r,o),K(o,s),K(s,l),K(l,c),K(c,u),K(s,d),K(o,h),K(o,m),K(m,p),K(p,f),g||(y=te(r,"click",n[60]),g=!0)},p(e,t){16&t[1]&&re(f,e[35])},d(e){e&&J(r),g=!1,y()}}}function Xi(e){let n;return{c(){n=Q("casino-games-category-section"),w(n,"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"favorites",e[10]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"session",e[4]),w(n,"categoryid",e[31]),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[13])},m(e,t){q(e,n,t)},p(e,t){32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),1024&t[0]&&w(n,"favorites",e[10]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),16&t[0]&&w(n,"session",e[4]),1&t[1]&&w(n,"categoryid",e[31]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),8192&t[0]&&w(n,"livecasino",e[13])},d(e){e&&J(n)}}}function Ki(e){let n;function r(e){return e[27]?na:ta}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&J(n)}}}function qi(n){let r,i,a,o;return{c(){r=Q("casino-games-category-section"),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"favorites",n[10]),w(r,"categoryid","FAVORITES"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[13])},m(e,t){q(e,r,t),a||(o=l(i=n[39].call(null,r,(n[0],n[18],n[19],n[18]))),a=!0)},p(e,t){16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),1024&t[0]&&w(r,"favorites",e[10]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),8192&t[0]&&w(r,"livecasino",e[13]),i&&m(i.update)&&786433&t[0]&&i.update.call(null,(e[0],e[18],e[19],e[18]))},d(e){e&&J(r),a=!1,o()}}}function Ji(t){let i,a=t[30],o=[];for(let e=0;e<a.length;e+=1)o[e]=ra(Li(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(1073751551&n[0]){let e;for(a=t[30],e=0;e<a.length;e+=1){var r=Li(t,a,e);o[e]?o[e].p(r,n):(o[e]=ra(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){f(o,e),e&&J(i)}}}function Qi(n){let r,i,a,o;return{c(){r=Q("casino-games-category-section"),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"categoryid","Search"),w(r,"favorites",n[10]),w(r,"categoryindex","0"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[13])},m(e,t){q(e,r,t),a||(o=l(i=n[47].call(null,r,n[29])),a=!0)},p(e,t){1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),1024&t[0]&&w(r,"favorites",e[10]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),8192&t[0]&&w(r,"livecasino",e[13]),i&&m(i.update)&&536870912&t[0]&&i.update.call(null,e[29])},d(e){e&&J(r),a=!1,o()}}}function ea(e){let n,r,i=e[37]("casinoPage.loading")+"";return{c(){n=Q("p"),r=t(i),ne(n,"class","SearchLoading"),ne(n,"part","SearchLoading")},m(e,t){q(e,n,t),K(n,r)},p(e,t){64&t[1]&&i!==(i=e[37]("casinoPage.loading")+"")&&re(r,i)},d(e){e&&J(n)}}}function ta(e){let n;return{c(){n=Q("casino-games-category-section"),w(n,"session",e[4]),w(n,"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"favorites",e[10]),w(n,"categoryid","MOSTPLAYED"),w(n,"categoryindex","1"),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[13])},m(e,t){q(e,n,t)},p(e,t){16&t[0]&&w(n,"session",e[4]),32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),1024&t[0]&&w(n,"favorites",e[10]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),8192&t[0]&&w(n,"livecasino",e[13])},d(e){e&&J(n)}}}function na(e){let n;return{c(){n=Q("p"),n.textContent="You have no games played!",ne(n,"class","SearchLoading"),ne(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function ra(n){let r,i,a,o,s;return{c(){r=Q("casino-games-category-section"),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"categoryid",i=n[117]),w(r,"categoryindex",n[119]),w(r,"categorygames","9"),w(r,"favorites",n[10]),w(r,"class","CategoryContainer"),x(r,"background-color",n[119]%2!=0?n[8]:"transparent"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[13])},m(e,t){q(e,r,t),o||(s=l(a=n[46].call(null,r,n[117])),o=!0)},p(e,t){n=e,16&t[0]&&w(r,"session",n[4]),32&t[0]&&w(r,"userid",n[5]),1&t[0]&&w(r,"endpoint",n[0]),2&t[0]&&w(r,"datasource",n[1]),8&t[0]&&w(r,"lang",n[3]),4&t[0]&&w(r,"currency",n[2]),1073741824&t[0]&&i!==(i=n[117])&&w(r,"categoryid",i),1024&t[0]&&w(r,"favorites",n[10]),256&t[0]&&x(r,"background-color",n[119]%2!=0?n[8]:"transparent"),64&t[0]&&w(r,"clientstyling",n[6]),128&t[0]&&w(r,"clientstylingurl",n[7]),8192&t[0]&&w(r,"livecasino",n[13]),a&&m(a.update)&&1073741824&t[0]&&a.update.call(null,n[117])},d(e){e&&J(r),o=!1,s()}}}function ia(n){let r,i,a,o,s,l,c,u,d,h,m,p,f=n[37]("casinoPage.break")+"",g=n[37]("casinoPage.breakButton")+"";return{c(){r=Q("div"),i=Q("div"),a=v("svg"),o=v("path"),s=ee(),l=Q("p"),c=t(f),u=ee(),d=Q("button"),h=t(g),ne(o,"stroke-linecap","round"),ne(o,"stroke-linejoin","round"),ne(o,"stroke-width","2"),ne(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),ne(a,"class","w-1 h-1"),ne(a,"part","w-1 h-1"),ne(a,"fill","none"),ne(a,"stroke","white"),ne(a,"width","34px"),ne(a,"height","34px"),ne(a,"viewBox","0 0 24 24"),ne(a,"xmlns","http://www.w3.org/2000/svg"),ne(i,"class","PanicText"),ne(i,"part","PanicText"),ne(d,"class","PanicButton"),ne(d,"part","PanicButton"),ne(r,"class","PanicSection "+("PC"!==fr(n[38])?"PanicSectionMobile":"")),ne(r,"part","PanicSection "+("PC"!==fr(n[38])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),K(i,s),K(i,l),K(l,c),K(r,u),K(r,d),K(d,h),m||(p=te(d,"click",n[68]),m=!0)},p(e,t){64&t[1]&&f!==(f=e[37]("casinoPage.break")+"")&&re(c,f),64&t[1]&&g!==(g=e[37]("casinoPage.breakButton")+"")&&re(h,g)},d(e){e&&J(r),m=!1,p()}}}function aa(e){let n;function r(e){return e[16]?Ii:Gi}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&J(n)}}}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends E{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size: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:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:12.8px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",T(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ei,Fi,n,{endpoint:0,datasource:30,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:29,categoryindex:31,categorygames:32,livecasino:8,once:33,top:34,bottom:35,left:36,right:37},[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categoryindex","categorygames","livecasino","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),k()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$set({datasource:e}),k()}get lang(){return this.$$.ctx[1]}set lang(e){this.$set({lang:e}),k()}get session(){return this.$$.ctx[2]}set session(e){this.$set({session:e}),k()}get userid(){return this.$$.ctx[3]}set userid(e){this.$set({userid:e}),k()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$set({favorites:e}),k()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$set({clientstyling:e}),k()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$set({clientstylingurl:e}),k()}get currency(){return this.$$.ctx[7]}set currency(e){this.$set({currency:e}),k()}get categoryid(){return this.$$.ctx[29]}set categoryid(e){this.$set({categoryid:e}),k()}get categoryindex(){return this.$$.ctx[31]}set categoryindex(e){this.$set({categoryindex:e}),k()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$set({categorygames:e}),k()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$set({livecasino:e}),k()}get once(){return this.$$.ctx[33]}set once(e){this.$set({once:e}),k()}get top(){return this.$$.ctx[34]}set top(e){this.$set({top:e}),k()}get bottom(){return this.$$.ctx[35]}set bottom(e){this.$set({bottom:e}),k()}get left(){return this.$$.ctx[36]}set left(e){this.$set({left:e}),k()}get right(){return this.$$.ctx[37]}set right(e){this.$set({right:e}),k()}});let oa=!1;const sa=0;function la(e,t,a){let n;Pe(e,mr,e=>a(37,n=e));let i,o,s,l,c,u,d,h,r,m,p,f,{endpoint:g=""}=t,{datasource:y=""}=t,{currency:v=""}=t,{lang:b=""}=t,{session:w=""}=t,{userid:S=""}=t,{clientstyling:_=""}=t,{clientstylingurl:C=""}=t,{categorybackground:x=""}=t,{visiblegames:M="6"}=t,{alternativesearch:k="false"}=t,{favorites:F=""}=t,{mostplayed:T=""}=t,{containermaxwidth:E="1300"}=t,{lobbyid:L="casinodefault"}=t,{haspanicbutton:G="false"}=t,{mostplayedrounds:I=""}=t,{activecategory:P=""}=t,{livecasino:D="false"}=t,O=!1,A=!1,N=!1,R="",$=!1,U=!1,Y=!0,B=!1,H=!1,W=!1,j=!1,z=!0,V=!1,Z=!1,X=!1,K=!0,q=[],J="",Q=window.navigator.userAgent,ee,te,ne=[],re=!1,ie=[],ae=0,oe="",se=!1;var le,ce;[{withLocale:le,translations:ce}]=[{withLocale:"en",translations:{}}],rr.subscribe(e=>{null==e&&(jn.set(ce),rr.set(le))}),Object.keys(gr).forEach(e=>{Vn(e,gr[e])});const ue=e=>{switch(a(22,B=!1),a(14,J=""),e.data.itemId){case"LOBBY":a(25,z=!0),a(20,$=!1),a(31,l=""),a(26,V=!1),ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)},1);break;case"FAVORITES":a(25,z=!1),a(20,$=!0),a(26,V=!1),a(31,l="");break;case"MOSTPLAYED":"true"==T&&(a(15,O=!0),he({limit:100,device:fr(Q),rounds:10}).then(e=>{if(a(15,O=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(`${g}/casino/games/${e.gameId}`);t.searchParams.append("datasource",y),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{te=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:te},window.location.href)})}else a(27,Z=!0)}),a(31,l=""),a(25,z=!1),a(20,$=!1),a(26,V=!0));break;default:a(25,z=!1),a(20,$=!1),a(26,V=!1),a(31,l=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:l,index:e.data.index},window.location.href)},100)}},de=e=>{if(e.data)switch(e.data.type){case"CategoryChange":ue(e);break;case"UserSessionID":a(19,o=e.data.session),a(18,i=e.data.userID),i&&i.length&&o&&0<o.length&&me(g,o,i);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":ye(`${g}/player/${i}/favorites`,o,i,e.data.id,e.data.triggerFactor);break;case"SetFavoredGame":ge(`${g}/player/${i}/favorites`,o,i,e.data.id,e.data.triggerFactor);break;case"GetFavoredGame":i&&i.length&&o&&0<o.length&&me(g,o,i);break;case"SearchedItemClicked":_e(e.data.gameId);break;case"UpdateFilters":ke(e.data.vendorsArray),Ce();break;case"ClearFilters":Me(e.data.vendorsArray),Ce();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:oe},window.location.href),Ce();break;case"CategoryVendors":oe=e.data.categoryid,Ce();break;case"GameHovered":H=!0;break;case"GameBlur":H=!1}},he=e=>{let t=new URL(`${g}/player/${i}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order);var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),f=D?t:t.href,new Promise((t,n)=>{fetch(f).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Most Played",id:"MOSTPLAYED"}},window.location.href),window.postMessage({type:"MostPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})})};let me=(e,t,n)=>{"true"==F&&w&&n&&(fetch(`${e}/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,r&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),fe(r.items)),r)).catch(e=>{console.error(e)}),$&&ve())},pe=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,$&&ve(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const fe=(e=[])=>(ne=[],0<e.length&&e.forEach(e=>{ne.push(e.id)}),ne);let ge=(t,n,e,r,i)=>{ne.includes(r)||ne.push(r);var a={items:ne},a={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(t,a).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),pe(t,n)}).catch(e=>{console.error("Err",e)})};const ye=(t,n,e,r,i)=>{ne.includes(r)&&(ne=ne.filter(e=>e!=r)),fetch(`${t}/${r}`,{method:"DELETE",headers:{"X-SessionID":n}}).then(e=>e.json()).then(e=>{window.postMessage({type:`RemoveFavoriteThumbnail_${r}`},window.location.href),pe(t,n)})},ve=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},be=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},we=()=>{if(g&&y&&b&&(a(24,j=!0),J.length<2)){let e=be(`searchedGamesWds_${L}`),t=[];e&&(t=e.split(",")),1!=z||Y||(a(23,W=z),a(25,z=!1));let n=[],r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(`${g}/casino/games/${t[r]}`);e.searchParams.append("language",b),e.searchParams.append("datasource",y),e.searchParams.append("platform",fr(Q)),n.push((e=>new Promise((t,n)=>{a(15,O=!0),fetch(e).then(e=>e.json()).then(e=>{a(15,O=!1),t(e[0])}).catch(e=>{a(16,A=!0),a(15,O=!1),console.error(e),n(e)})}))(e))}Promise.all(n).then(e=>{a(29,s=e),Fe({},s)})}else Fe({},{})}},Se=()=>{a(24,j=!1),J.length<2&&!H&&(a(22,B=!1),a(29,s=[]),a(21,U=!1),a(25,z=W),a(23,W=!1),!1===z&&window.postMessage({type:"CategoryUpdate",itemId:l},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},_e=e=>{ie=be(`searchedGamesWds_${L}`),ie=ie?ie.split(","):[],-1===ie.indexOf(e)&&(ie.push(e),e=ie.join(","),document.cookie=`searchedGamesWds_${L}=`+e)},Ce=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&oe&&(e[oe]?a(35,ae=e[oe].length):a(35,ae=0))},xe=()=>{a(55,K=!0),a(14,J=""),a(29,s=[]),a(21,U=!1),Se()},Me=e=>{window.postMessage({type:"AvailableVendors",venArray:e},window.location.href)},ke=e=>{window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href)},Fe=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Te=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},Ee=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Le=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},Ge=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},Ie=()=>{u&&(d=u.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>d||130<d?a(28,X=!0):a(28,X=!1)};return De(()=>(window.addEventListener("scroll",Ie,!1),window.addEventListener("message",de,!1),()=>{window.removeEventListener("scroll",Ie),window.removeEventListener("message",de)})),e.$$set=e=>{"endpoint"in e&&a(0,g=e.endpoint),"datasource"in e&&a(1,y=e.datasource),"currency"in e&&a(2,v=e.currency),"lang"in e&&a(3,b=e.lang),"session"in e&&a(4,w=e.session),"userid"in e&&a(5,S=e.userid),"clientstyling"in e&&a(6,_=e.clientstyling),"clientstylingurl"in e&&a(7,C=e.clientstylingurl),"categorybackground"in e&&a(8,x=e.categorybackground),"visiblegames"in e&&a(49,M=e.visiblegames),"alternativesearch"in e&&a(9,k=e.alternativesearch),"favorites"in e&&a(10,F=e.favorites),"mostplayed"in e&&a(50,T=e.mostplayed),"containermaxwidth"in e&&a(11,E=e.containermaxwidth),"lobbyid"in e&&a(51,L=e.lobbyid),"haspanicbutton"in e&&a(12,G=e.haspanicbutton),"mostplayedrounds"in e&&a(52,I=e.mostplayedrounds),"activecategory"in e&&a(53,P=e.activecategory),"livecasino"in e&&a(13,D=e.livecasino)},e.$$.update=()=>{if(16384&e.$$.dirty[0]&&J&&(2<=J.length?a(55,K=!0):a(55,K=!1)),16395&e.$$.dirty[0]|25165824&e.$$.dirty[1])if(2<=J.length){a(22,B=!0);let e=new URL(`${g}/casino/games`);e.searchParams.append("datasource",y),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",fr(Q)),e.searchParams.append("language",b),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter",`name=${J}`),r=e,new Promise((t,n)=>{a(15,O=!0),fetch(r).then(e=>e.json()).then(e=>{a(15,O=!1),t(e)}).catch(e=>{a(16,A=!0),a(15,O=!1),console.error(e),n(e)})}).then(e=>{a(29,s=e),Le(0,e)})}else K||we(),Y&&a(54,Y=!1);var r;4194304&e.$$.dirty[1]&&P&&(a(31,l=P),ue({data:{itemId:l}})),49&e.$$.dirty[0]&&w&&S&&g&&(a(17,N=!0),a(19,o=w),a(18,i=S)),523&e.$$.dirty[0]&&g&&y&&b&&k&&(()=>{if(g||(R="Endpoint is missing! Please provide a valid endpointURL.",a(16,A=!0),a(15,O=!1),console.error(R)),y||(R="Datasource is missing! Please provide a valid datasource.",a(16,A=!0),a(15,O=!1),console.error(R)),b&&2==b.length||(R="Language is missing! Please provide a valid language (alpha2code)",a(16,A=!0),a(15,O=!1),console.error(R)),!A){a(15,O=!0),"true"==F&&me(g,o,i),t=b,rr.set(t);let e=new URL(`${g}/casino/groups/${y}`);e.searchParams.append("language",b),e.searchParams.append("platform",fr(Q)),r=e,new Promise((t,n)=>{a(15,O=!0),fetch(r).then(e=>e.json()).then(e=>{a(15,O=!1),t(e)}).catch(e=>{a(16,A=!0),a(15,O=!1),console.error(e),n(e)})}).then(e=>{e&&(h=e.items.filter(e=>0<e.games.total),a(30,q=h.map(e=>e.id)),a(15,O=!1))}),"PC"!==fr(Q)&&(m.addEventListener("focusin",e=>{a(34,re=!0)}),m.addEventListener("focusout",e=>{a(34,re=!1)})),Ce(),u=c,u&&(d=u.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}var r,t})(),8&e.$$.dirty[0]&&b&&(se&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:l},window.location.href)},500),se=!1),64&e.$$.dirty[0]&&_&&(()=>{let e=document.createElement("style");e.innerHTML=_,p.appendChild(e)})(),128&e.$$.dirty[0]&&C&&(()=>{let t=document.createElement("style");fetch(new URL(C)).then(e=>e.text()).then(e=>{t.innerHTML=e,p&&setTimeout(()=>{p.appendChild(t)},1)})})()},[g,y,v,b,w,S,_,C,x,k,F,E,G,D,J,O,A,N,i,o,$,U,B,W,j,z,V,Z,X,s,q,l,c,m,re,ae,p,n,Q,ve,we,Se,()=>{window.postMessage({type:"scroll"},window.location.href)},xe,Te,Ee,(e,t)=>{oe=t,window.postMessage({type:`CategoryData_${t}`,categoryId:t,visiblegames:M,receivedFavoriteResults:r},window.location.href)},Le,Ge,M,T,L,I,P,Y,K,function(e){Oe[e?"unshift":"push"](()=>{m=e,a(33,m)})},function(){J=this.value,a(14,J)},()=>xe(),()=>Ee(),()=>{Te()},function(e){Oe[e?"unshift":"push"](()=>{c=e,a(32,c)})},function(e){Oe[e?"unshift":"push"](()=>{m=e,a(33,m)})},function(){J=this.value,a(14,J)},()=>xe(),()=>Ee(),()=>{Te()},function(e){Oe[e?"unshift":"push"](()=>{c=e,a(32,c)})},()=>Ge(),function(e){Oe[e?"unshift":"push"](()=>{p=e,a(36,p)})}]}class ca extends E{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicButton{border-radius:2px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:48px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14.4px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:25.6px;height:25.6px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6.4px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:22px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:75px;right:0;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton,.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",T(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},la,aa,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:49,alternativesearch:9,favorites:10,mostplayed:50,containermaxwidth:11,lobbyid:51,haspanicbutton:12,mostplayedrounds:52,activecategory:53,livecasino:13},[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),k()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$set({datasource:e}),k()}get currency(){return this.$$.ctx[2]}set currency(e){this.$set({currency:e}),k()}get lang(){return this.$$.ctx[3]}set lang(e){this.$set({lang:e}),k()}get session(){return this.$$.ctx[4]}set session(e){this.$set({session:e}),k()}get userid(){return this.$$.ctx[5]}set userid(e){this.$set({userid:e}),k()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$set({clientstyling:e}),k()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$set({clientstylingurl:e}),k()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$set({categorybackground:e}),k()}get visiblegames(){return this.$$.ctx[49]}set visiblegames(e){this.$set({visiblegames:e}),k()}get alternativesearch(){return this.$$.ctx[9]}set alternativesearch(e){this.$set({alternativesearch:e}),k()}get favorites(){return this.$$.ctx[10]}set favorites(e){this.$set({favorites:e}),k()}get mostplayed(){return this.$$.ctx[50]}set mostplayed(e){this.$set({mostplayed:e}),k()}get containermaxwidth(){return this.$$.ctx[11]}set containermaxwidth(e){this.$set({containermaxwidth:e}),k()}get lobbyid(){return this.$$.ctx[51]}set lobbyid(e){this.$set({lobbyid:e}),k()}get haspanicbutton(){return this.$$.ctx[12]}set haspanicbutton(e){this.$set({haspanicbutton:e}),k()}get mostplayedrounds(){return this.$$.ctx[52]}set mostplayedrounds(e){this.$set({mostplayedrounds:e}),k()}get activecategory(){return this.$$.ctx[53]}set activecategory(e){this.$set({activecategory:e}),k()}get livecasino(){return this.$$.ctx[13]}set livecasino(e){this.$set({livecasino:e}),k()}}return customElements.get("casino-page")||customElements.define("casino-page",ca),ca});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function Z(){}function d(e){return e()}function h(){return Object.create(null)}function X(e){e.forEach(d)}function m(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function p(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Re(e,t,n){e.$$.on_destroy.push(p(t,n))}function l(e){return e&&m(e.destroy)?e.destroy:Z}function K(e,t){e.appendChild(t)}function q(e,t,n){e.insertBefore(t,n||null)}function J(e){e.parentNode.removeChild(e)}function f(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function Q(e){return document.createElement(e)}function v(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ee(e){return document.createTextNode(e)}function te(){return ee(" ")}function c(){return ee("")}function ne(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function re(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function b(e,t,n){t in e?e[t]=n:re(e,t,n)}function ae(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function C(e,t){e.value=null==t?"":t}function x(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}class t{constructor(e=null){this.a=e,this.e=this.n=null}m(e,t,n=null){this.e||(this.e=Q(t.nodeName),this.t=t,this.h(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)q(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(J)}}function r(e){const t={};for(const n of e)t[n.name]=n.value;return t}let g;function y(e){g=e}function Oe(e){!function(){if(!g)throw new Error("Function called outside component initialization");return g}().$$.on_mount.push(e)}const w=[],Ae=[],a=[],e=[],i=Promise.resolve();let o=!1;function S(){o||(o=!0,i.then(M))}function ve(){return S(),i}function _(e){a.push(e)}let s=!1;const u=new Set;function M(){if(!s){s=!0;do{for(let e=0;e<w.length;e+=1){var t=w[e];y(t),function(e){{var t;null!==e.fragment&&(e.update(),X(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(_))}}(t.$$)}for(y(null),w.length=0;Ae.length;)Ae.pop()();for(let e=0;e<a.length;e+=1){const n=a[e];u.has(n)||(u.add(n),n())}}while(a.length=0,w.length);for(;e.length;)e.pop()();o=!1,s=!1,u.clear()}}const F=new Set;function k(r,e,t,n,a,i,o=[-1]){var s,l=g;y(r);const c=r.$$={fragment:null,ctx:null,props:i,update:Z,not_equal:a,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:h(),dirty:o,skip_bound:!1};let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return c.ctx&&a(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(w.push(e),S(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,X(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){const Z=(n=e.target,Array.from(n.childNodes));c.fragment&&c.fragment.l(Z),Z.forEach(J)}else c.fragment&&c.fragment.c();e.intro&&(s=r.$$.fragment)&&s.i&&(F.delete(s),s.i(void 0)),function(t,e,n,r){const{fragment:a,on_mount:i,on_destroy:o,after_update:s}=t.$$;a&&a.m(e,n),r||_(()=>{var e=i.map(d).filter(m);o?o.push(...e):X(e),t.$$.on_mount=[]}),s.forEach(_)}(r,e.target,e.anchor,e.customElement),M()}y(l)}let T;"function"==typeof HTMLElement&&(T=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(d).filter(m);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){X(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(X(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=Z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var G,E,L="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==L&&L,I="URLSearchParams"in L,P="Symbol"in L&&"iterator"in Symbol,D="FileReader"in L&&"Blob"in L&&function(){try{return new Blob,!0}catch(e){return!1}}(),R="FormData"in L,O="ArrayBuffer"in L;function A(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function N(e){return e="string"!=typeof e?String(e):e}function $(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return P&&(e[Symbol.iterator]=function(){return e}),e}function U(t){this.map={},t instanceof U?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Y(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function B(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function H(e){var t=new FileReader,n=B(t);return t.readAsArrayBuffer(e),n}function W(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function j(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:D&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:R&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:I&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():O&&D&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=W(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):O&&(ArrayBuffer.prototype.isPrototypeOf(e)||E(e))?this._bodyArrayBuffer=W(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):I&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},D&&(this.blob=function(){var e=Y(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Y(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(H)}),this.text=function(){var e,t,n=Y(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,n=B(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},R&&(this.formData=function(){return this.text().then(ie)}),this.json=function(){return this.text().then(JSON.parse)},this}O&&(G=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],E=ArrayBuffer.isView||function(e){return e&&-1<G.indexOf(Object.prototype.toString.call(e))}),U.prototype.append=function(e,t){e=A(e),t=N(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},U.prototype.delete=function(e){delete this.map[A(e)]},U.prototype.get=function(e){return e=A(e),this.has(e)?this.map[e]:null},U.prototype.has=function(e){return this.map.hasOwnProperty(A(e))},U.prototype.set=function(e,t){this.map[A(e)]=N(t)},U.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},U.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),$(n)},U.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),$(t)},U.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),$(n)},P&&(U.prototype[Symbol.iterator]=U.prototype.entries);var z=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function V(e,t){if(!(this instanceof V))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof V){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new U(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new U(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<z.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ie(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function oe(e,t){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new U(t.headers),this.url=t.url||"",this._initBody(e)}V.prototype.clone=function(){return new V(this,{body:this._bodyInit})},j.call(V.prototype),j.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new U(this.headers),url:this.url})},oe.error=function(){var e=new oe(null,{status:0,statusText:""});return e.type="error",e};var se=[301,302,303,307,308];oe.redirect=function(e,t){if(-1===se.indexOf(t))throw new RangeError("Invalid status code");return new oe(null,{status:t,headers:{location:e}})};var le=L.DOMException;try{new le}catch(Z){(le=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),le.prototype.constructor=le}function ce(r,o){return new Promise(function(a,e){var t=new V(r,o);if(t.signal&&t.signal.aborted)return e(new le("Aborted","AbortError"));var i=new XMLHttpRequest;function n(){i.abort()}i.onload=function(){var e,n,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",n=new U,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var r="response"in i?i.response:i.responseText;setTimeout(function(){a(new oe(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new le("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&L.location.href?L.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(D?i.responseType="blob":O&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof U?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){i.setRequestHeader(e,N(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",n)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}function Ln(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}ce.polyfill=!0,L.fetch||(L.fetch=ce,L.Headers=U,L.Request=V,L.Response=oe),self.fetch.bind(self);var ue=function(e,t){return(ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function de(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ue(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function he(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function me(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function pe(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e}function fe(e){return"function"==typeof e}function ge(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var ye=ge(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function we(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var be=(_e.prototype.unsubscribe=function(){var e,t,n,r,a;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var o=he(i),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(fe(i))try{i()}catch(e){a=e instanceof ye?e.errors:[e]}i=this._teardowns;if(i){this._teardowns=null;try{for(var l=he(i),c=l.next();!c.done;c=l.next()){var u=c.value;try{xe(u)}catch(e){a=null!=a?a:[],e instanceof ye?a=pe(pe([],me(a)),me(e.errors)):a.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(a)throw new ye(a)}},_e.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)xe(e);else{if(e instanceof _e){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},_e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},_e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},_e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&we(t,e)},_e.prototype.remove=function(e){var t=this._teardowns;t&&we(t,e),e instanceof _e&&e._removeParent(this)},_e.EMPTY=((Xt=new _e).closed=!0,Xt),_e),Se=be.EMPTY;function _e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Ce(e){return e instanceof be||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function xe(e){fe(e)?e():e.unsubscribe()}var Me=void 0,Fe=!1,ke=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,pe([],me(e)))};function Te(){}function Ge(e){e()}var Ee,Le,Ie=(de(Ne,Le=be),Ne.create=function(e,t,n){return new Pe(e,t,n)},Ne.prototype.next=function(e){this.isStopped||this._next(e)},Ne.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ne.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ne.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Le.prototype.unsubscribe.call(this),this.destination=null)},Ne.prototype._next=function(e){this.destination.next(e)},Ne.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ne.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ne),Pe=(de(De,Ee=Ie),De);function De(e,t,n){var r,a,i=Ee.call(this)||this;return fe(e)?a=e:e&&(a=e.next,t=e.error,n=e.complete,i&&Fe?(r=Object.create(e)).unsubscribe=function(){return i.unsubscribe()}:r=e,a=null==a?void 0:a.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),i.destination={next:a?$e(a):Te,error:$e(null!=t?t:Ue),complete:n?$e(n):Te},i}function Ne(e){var t=Le.call(this)||this;return t.isStopped=!1,e?Ce(t.destination=e)&&e.add(t):t.destination=Ye,t}function $e(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,pe([],me(e)))}catch(e){t=e,ke(function(){throw t})}}}function Ue(e){throw e}var Ye={closed:!0,next:Te,error:Ue,complete:Te},Be="function"==typeof Symbol&&Symbol.observable||"@@observable";function He(e){return e}var We=(je.prototype.lift=function(e){var t=new je;return t.source=this,t.operator=e,t},je.prototype.subscribe=function(e,t,n){var r,a=this,i=(r=e)&&r instanceof Ie||r&&fe(r.next)&&fe(r.error)&&fe(r.complete)&&Ce(r)?e:new Pe(e,t,n);return Ge(function(){var e=a.operator,t=a.source;i.add(e?e.call(i,t):t?a._subscribe(i):a._trySubscribe(i))}),i},je.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},je.prototype.forEach=function(r,e){var a=this;return new(e=ze(e))(function(e,t){var n=a.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},je.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},je.prototype[Be]=function(){return this},je.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?He:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},je.prototype.toPromise=function(e){var r=this;return new(e=ze(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},je.create=function(e){return new je(e)},je);function je(e){e&&(this._subscribe=e)}function ze(e){return null!==(e=null!=e?e:Me)&&void 0!==e?e:Promise}var Ve,Ze,Xe,Ke=ge(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),qe=(de(rt,Xe=We),rt.prototype.lift=function(e){var t=new Je(this,this);return t.operator=e,t},rt.prototype._throwIfClosed=function(){if(this.closed)throw new Ke},rt.prototype.next=function(i){var o=this;Ge(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){var n=o.observers.slice();try{for(var r=he(n),a=r.next();!a.done;a=r.next())a.value.next(i)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},rt.prototype.error=function(t){var n=this;Ge(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},rt.prototype.complete=function(){var t=this;Ge(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},rt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(rt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),rt.prototype._trySubscribe=function(e){return this._throwIfClosed(),Xe.prototype._trySubscribe.call(this,e)},rt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},rt.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?Se:(r.push(e),new be(function(){return we(r,e)}))},rt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},rt.prototype.asObservable=function(){var e=new We;return e.source=this,e},rt.create=function(e,t){return new Je(e,t)},rt),Je=(de(nt,Ze=qe),nt.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},nt.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},nt.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},nt.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Se},nt),Qe={now:function(){return(Qe.delegate||Date).now()},delegate:void 0},et=(de(tt,Ve=qe),tt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,a=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),a||r.push(i.now()+t)),this._trimBuffer(),Ve.prototype.next.call(this,e)},tt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),a=0;a<r.length&&!e.closed;a+=n?1:2)e.next(r[a]);return this._checkFinalizedStatuses(e),t},tt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,a=(r?1:2)*e;if(e<1/0&&a<n.length&&n.splice(0,n.length-a),!r){for(var i=t.now(),o=0,s=1;s<n.length&&n[s]<=i;s+=2)o=s;o&&n.splice(0,o+1)}},tt);function tt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Qe);var r=Ve.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function nt(e,t){var n=Ze.call(this)||this;return n.destination=e,n.source=t,n}function rt(){var e=Xe.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let at=[],it={};const ot=[];function st(r,a=Z){let i;const o=[];function s(e){if(n(r,e)&&(r=e,i)){const e=!ot.length;for(let e=0;e<o.length;e+=1){const t=o[e];t[1](),ot.push(t,r)}if(e){for(let e=0;e<ot.length;e+=2)ot[e][0](ot[e+1]);ot.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.push(n),1===o.length&&(i=a(s)||Z),e(r),()=>{var e=o.indexOf(n);-1!==e&&o.splice(e,1),0===o.length&&(i(),i=null)}}}}function lt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:st(t,t=>{let n=!1;const r=[];let a=0,i=Z;const o=()=>{var e;a||(i(),e=s(l?r[0]:r,t),u?t(e):i=m(e)?e:Z)},e=c.map((e,t)=>p(e,e=>{r[t]=e,a&=~(1<<t),n&&o()},()=>{a|=1<<t}));return n=!0,o(),function(){X(e),i()}}).subscribe}}var ct=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===ut));var t},ut="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function dt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?gt(Array.isArray(e)?[]:{},e,t):e}function ht(e,t,n){return e.concat(t).map(function(e){return dt(e,n)})}function mt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function pt(e,t){try{return t in e}catch(e){return!1}}function ft(r,a,i){var o={};return i.isMergeableObject(r)&&mt(r).forEach(function(e){o[e]=dt(r[e],i)}),mt(a).forEach(function(t){var e,n;(!pt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(pt(r,t)&&i.isMergeableObject(a[t])?o[t]=function(){if(!i.customMerge)return gt;var e=i.customMerge(t);return"function"==typeof e?e:gt}()(r[t],a[t],i):o[t]=dt(a[t],i))}),o}function gt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||ht,n.isMergeableObject=n.isMergeableObject||ct,n.cloneUnlessOtherwiseSpecified=dt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ft(e,t,n):dt(t,n)}gt.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return gt(e,t,n)},{})};var yt=gt,vt=function(e,t){return(vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function wt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}vt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var bt,St,_t,Ct=function(){return(Ct=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function xt(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e}function Mt(e){return e.type===St.literal}function Ft(e){return e.type===St.number}function kt(e){return e.type===St.date}function Tt(e){return e.type===St.time}function Gt(e){return e.type===St.select}function Et(e){return e.type===St.plural}function Lt(e){return e.type===St.tag}function It(e){return e&&"object"==typeof e&&e.type===_t.number}function Pt(e){return e&&"object"==typeof e&&e.type===_t.dateTime}(Kt=bt=bt||{})[Kt.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Kt[Kt.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Kt[Kt.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Kt[Kt.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Kt[Kt.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Kt[Kt.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Kt[Kt.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Kt[Kt.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Kt[Kt.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Kt[Kt.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Kt[Kt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Kt[Kt.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Kt[Kt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Kt[Kt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Kt[Kt.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Kt[Kt.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Kt[Kt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Kt[Kt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Kt[Kt.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Kt[Kt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Kt[Kt.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Kt[Kt.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Kt[Kt.INVALID_TAG=23]="INVALID_TAG",Kt[Kt.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Kt[Kt.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Kt[Kt.UNCLOSED_TAG=27]="UNCLOSED_TAG",(qt=St=St||{})[qt.literal=0]="literal",qt[qt.argument=1]="argument",qt[qt.number=2]="number",qt[qt.date=3]="date",qt[qt.time=4]="time",qt[qt.select=5]="select",qt[qt.plural=6]="plural",qt[qt.pound=7]="pound",qt[qt.tag=8]="tag",(Jt=_t=_t||{})[Jt.number=0]="number",Jt[Jt.dateTime=1]="dateTime";var Dt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Rt=/(?:[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;var Ot,At=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Nt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$t=/^(@+)?(\+|#+)?$/g,Ut=/(\*)(0+)|(#+)(0+)|(0+)/g,Yt=/^(0+)$/;function Bt(e){var r={};return e.replace($t,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function Ht(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Wt(e){return Ht(e)||{}}function jt(e){for(var o={},t=0,n=e;t<n.length;t++){var r,a=n[t];switch(a.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=a.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=a.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=Ct(Ct(Ct({},o),{notation:"scientific"}),a.options.reduce(function(e,t){return Ct(Ct({},e),Wt(t))},{}));continue;case"engineering":o=Ct(Ct(Ct({},o),{notation:"engineering"}),a.options.reduce(function(e,t){return Ct(Ct({},e),Wt(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(a.options[0]);continue;case"integer-width":if(1<a.options.length)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(Ut,function(e,t,n,r,a,i){if(t)o.minimumIntegerDigits=n.length;else{if(r&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Yt.test(a.stem))o.minimumIntegerDigits=a.stem.length;else if(Nt.test(a.stem)){if(1<a.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(Nt,function(e,t,n,r,a,i){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:a&&i?(o.minimumFractionDigits=a.length,o.maximumFractionDigits=a.length+i.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""}),a.options.length&&(o=Ct(Ct({},o),Bt(a.options[0])))}else $t.test(a.stem)?o=Ct(Ct({},o),Bt(a.stem)):((r=Ht(a.stem))&&(o=Ct(Ct({},o),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Yt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(a.stem))&&(o=Ct(Ct({},o),r)))}return o}var zt=new RegExp("^"+Dt.source+"*"),Vt=new RegExp(Dt.source+"*$");function Zt(e,t){return{start:e,end:t}}var Xt=!!String.prototype.startsWith,Be=!!String.fromCodePoint,qe=!!Object.fromEntries,Kt=!!String.prototype.codePointAt,qt=!!String.prototype.trimStart,Jt=!!String.prototype.trimEnd,Qt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dt=!0;try{Dt="a"===(null===(Ot=cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ot?void 0:Ot[0])}catch(Z){Dt=!1}var en,tn,nn=Xt?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},rn=Be?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",a=e.length,i=0;i<a;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},an=qe?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n],i=a[0],a=a[1];t[i]=a}return t},on=Kt?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,a=e.charCodeAt(t);return a<55296||56319<a||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?a:r-56320+(a-55296<<10)+65536}},sn=qt?function(e){return e.trimStart()}:function(e){return e.replace(zt,"")},ln=Jt?function(e){return e.trimEnd()}:function(e){return e.replace(Vt,"")};function cn(e,t){return new RegExp(e,t)}tn=Dt?(en=cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return en.lastIndex=t,null!==(e=en.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var a=on(e,t);if(void 0===a||mn(a)||(33<=(n=a)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(a),t+=65536<=a?2:1}return rn.apply(void 0,r)};var un=(dn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},dn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var a,i=this.char();if(123===i){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(bt.UNMATCHED_CLOSING_TAG,Zt(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&hn(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{i=this.clonePosition();this.bump(),r.push({type:St.pound,location:Zt(i,this.clonePosition())})}}}return{val:r,err:null}},dn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:St.literal,value:"<"+r+"/>",location:Zt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,t,!0);if(a.err)return a;e=a.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!hn(this.char()))return this.error(bt.INVALID_TAG,Zt(t,this.clonePosition()));a=this.clonePosition();return r!==this.parseTagName()?this.error(bt.UNMATCHED_CLOSING_TAG,Zt(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:St.tag,value:r,children:e,location:Zt(n,this.clonePosition())},err:null}:this.error(bt.INVALID_TAG,Zt(t,this.clonePosition())))}return this.error(bt.UNCLOSED_TAG,Zt(n,this.clonePosition()))}return this.error(bt.INVALID_TAG,Zt(n,this.clonePosition()))},dn.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},dn.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var a=this.tryParseQuote(t);if(a)r+=a;else{a=this.tryParseUnquoted(e,t);if(a)r+=a;else{a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}n=Zt(n,this.clonePosition());return{val:{type:St.literal,value:r,location:n},err:null}},dn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(hn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},dn.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return rn.apply(void 0,t)},dn.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),rn(n))},dn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(bt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(bt.EMPTY_ARGUMENT,Zt(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(bt.MALFORMED_ARGUMENT,Zt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(bt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:St.argument,value:r,location:Zt(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(bt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(bt.MALFORMED_ARGUMENT,Zt(n,this.clonePosition()))}},dn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=tn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:Zt(e,this.clonePosition())}},dn.prototype.parseArgumentOptions=function(e,t,n,r){var a,i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(bt.EXPECT_ARGUMENT_TYPE,Zt(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=ln(h.val)).length)return this.error(bt.EXPECT_ARGUMENT_STYLE,Zt(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:Zt(c,this.clonePosition())}}if((m=this.tryParseArgumentClose(r)).err)return m;var u=Zt(r,this.clonePosition());if(l&&nn(null==l?void 0:l.style,"::",0)){c=sn(l.style.slice(2));if("number"===o)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:St.number,value:n,location:u,style:h.val},err:null};if(0===c.length)return this.error(bt.EXPECT_DATE_TIME_SKELETON,u);var d={type:_t.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(a={},c.replace(Rt,function(e){var t=e.length;switch(e[0]){case"G":a.era=4===t?"long":5===t?"narrow":"short";break;case"y":a.year=2===t?"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":a.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":a.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":a.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"a":a.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":a.hourCycle="h12",a.hour=["numeric","2-digit"][t-1];break;case"H":a.hourCycle="h23",a.hour=["numeric","2-digit"][t-1];break;case"K":a.hourCycle="h11",a.hour=["numeric","2-digit"][t-1];break;case"k":a.hourCycle="h24",a.hour=["numeric","2-digit"][t-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":a.minute=["numeric","2-digit"][t-1];break;case"s":a.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":a.timeZoneName=t<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""}),a):{}};return{val:{type:"date"===o?St.date:St.time,value:n,location:u,style:d},err:null}}return{val:{type:"number"===o?St.number:"date"===o?St.date:St.time,value:n,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(bt.EXPECT_SELECT_ARGUMENT_OPTIONS,Zt(l,Ct({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==o&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(bt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Zt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(bt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,bt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=h.val}u=this.tryParsePluralOrSelectOptions(e,o,t,u);if(u.err)return u;if((m=this.tryParseArgumentClose(r)).err)return m;var m=Zt(r,this.clonePosition());return"select"===o?{val:{type:St.select,value:n,options:an(u.val),location:m},err:null}:{val:{type:St.plural,value:n,options:an(u.val),offset:l,pluralType:"plural"===o?"cardinal":"ordinal",location:m},err:null};default:return this.error(bt.INVALID_ARGUMENT_TYPE,Zt(i,s))}},dn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(bt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},dn.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(bt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Zt(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},dn.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(At).filter(function(e){return 0<e.length});n<r.length;n++){var a=r[n].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var i=a[0],a=a.slice(1),o=0,s=a;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:a})}return t}(e)}catch(e){return this.error(bt.INVALID_NUMBER_SKELETON,t)}return{val:{type:_t.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?jt(n):{}},err:null}},dn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var a=!1,i=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(bt.EXPECT_PLURAL_ARGUMENT_SELECTOR,bt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Zt(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?bt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:bt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(a=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?bt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:bt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Zt(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;c=this.tryParseArgumentClose(d);if(c.err)return c;i.push([s,{value:u.val,location:Zt(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===i.length?this.error("select"===t?bt.EXPECT_SELECT_ARGUMENT_SELECTOR:bt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Zt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(bt.MISSING_OTHER_CLAUSE,Zt(this.clonePosition(),this.clonePosition())):{val:i,err:null}},dn.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,i=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;a=!0,i=10*i+(o-48),this.bump()}r=Zt(r,this.clonePosition());return a?Qt(i*=n)?{val:i,err:null}:this.error(t,r):this.error(e,r)},dn.prototype.offset=function(){return this.position.offset},dn.prototype.isEOF=function(){return this.offset()===this.message.length},dn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},dn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=on(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},dn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},dn.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},dn.prototype.bumpIf=function(e){if(nn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},dn.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},dn.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},dn.prototype.bumpSpace=function(){for(;!this.isEOF()&&mn(this.char());)this.bump()},dn.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},dn);function dn(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function hn(e){return 97<=e&&e<=122||65<=e&&e<=90}function mn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function pn(e,t){t=Ct({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new un(e,t).parse();if(n.err){e=SyntaxError(bt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Gt(e)||Et(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Ft(e)&&It(e.style)||(kt(e)||Tt(e))&&Pt(e.style)?delete e.style.location:Lt(e)&&n(e.children)})}(n.val),n.val}function fn(e,t){var n=t&&t.cache?t.cache:_n,r=t&&t.serializer?t.serializer:wn;return(t&&t.strategy?t.strategy:function(e,t){return vn(e,this,1===e.length?gn:yn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function gn(e,t,n,r){var a=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(a);return void 0===n&&(n=e.call(this,r),t.set(a,n)),n}function yn(e,t,n){var r=Array.prototype.slice.call(arguments,3),a=n(r),n=t.get(a);return void 0===n&&(n=e.apply(this,r),t.set(a,n)),n}function vn(e,t,n,r,a){return n.bind(t,e,r,a)}var wn=function(){return JSON.stringify(arguments)};function bn(){this.cache=Object.create(null)}bn.prototype.has=function(e){return e in this.cache},bn.prototype.get=function(e){return this.cache[e]},bn.prototype.set=function(e,t){this.cache[e]=t};var Sn,_n={create:function(){return new bn}},Cn={variadic:function(e,t){return vn(e,this,yn,t.cache.create(),t.serializer)},monadic:function(e,t){return vn(e,this,gn,t.cache.create(),t.serializer)}};(Dt=Sn=Sn||{}).MISSING_VALUE="MISSING_VALUE",Dt.INVALID_VALUE="INVALID_VALUE",Dt.MISSING_INTL_API="MISSING_INTL_API";var xn,Mn,Fn,kn,Tn,Gn=(wt(An,Tn=Error),An.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},An),En=(wt(On,kn=Gn),On),In=(wt(Rn,Fn=Gn),Rn),Pn=(wt(Dn,Mn=Gn),Dn);function Dn(e,t){return Mn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Sn.MISSING_VALUE,t)||this}function Rn(e,t,n){return Fn.call(this,'Value for "'+e+'" must be of type '+t,Sn.INVALID_VALUE,n)||this}function On(e,t,n,r){return kn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',Sn.INVALID_VALUE,r)||this}function An(e,t,n){e=Tn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Nn(e,t,n,r,a,i,o){if(1===e.length&&Mt(e[0]))return[{type:xn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Mt(u))s.push({type:xn.literal,value:u.value});else if(u.type===St.pound)"number"==typeof i&&s.push({type:xn.literal,value:n.getNumberFormat(t).format(i)});else{var d=u.value;if(!(a&&d in a))throw new Pn(d,o);var h=a[d];if(u.type===St.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?xn.literal:xn.object,value:h});else if(kt(u)){var m="string"==typeof u.style?r.date[u.style]:Pt(u.style)?u.style.parsedOptions:void 0;s.push({type:xn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(Tt(u))m="string"==typeof u.style?r.time[u.style]:Pt(u.style)?u.style.parsedOptions:void 0,s.push({type:xn.literal,value:n.getDateTimeFormat(t,m).format(h)});else if(Ft(u))(m="string"==typeof u.style?r.number[u.style]:It(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:xn.literal,value:n.getNumberFormat(t,m).format(h)});else{if(Lt(u)){var p=u.children,f=u.value,d=a[f];if("function"!=typeof d)throw new In(f,"function",o);p=d(Nn(p,t,n,r,a,i).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),s.push.apply(s,p.map(function(e){return{type:"string"==typeof e?xn.literal:xn.object,value:e}}))}if(Gt(u)){if(!(g=u.options[h]||u.options.other))throw new En(u.value,h,Object.keys(u.options),o);s.push.apply(s,Nn(g.value,t,n,r,a))}else if(Et(u)){if(!(g=u.options["="+h])){if(!Intl.PluralRules)throw new Gn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Sn.MISSING_INTL_API,o);var p=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[p]||u.options.other}if(!g)throw new En(u.value,h,Object.keys(u.options),o);s.push.apply(s,Nn(g.value,t,n,r,a,h-(u.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===xn.literal&&t.type===xn.literal?n.value+=t.value:e.push(t),e},[])}function $n(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(Dt=xn=xn||{})[Dt.literal=0]="literal",Dt[Dt.object=1]="object";var Un=(Object.defineProperty(Yn,"defaultLocale",{get:function(){return Yn.memoizedDefaultLocale||(Yn.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Yn.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Yn.memoizedDefaultLocale=null,Yn.__parse=pn,Yn.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"}}},Yn);function Yn(e,t,n,r){var a,i,o=this;if(void 0===t&&(t=Yn.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===xn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Nn(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof e){if(this.message=e,!Yn.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Yn.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(a=Yn.formats,(i=n)?Object.keys(a).reduce(function(e,t){var n,r;return e[t]=(n=a[t],(r=i[t])?Ct(Ct(Ct({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=Ct(Ct({},n[t]),r[t]||{}),e},{})):n),e},Ct({},a)):a),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:fn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,xt([void 0],t)))},{cache:$n((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:Cn.variadic}),getDateTimeFormat:fn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,xt([void 0],t)))},{cache:$n(r.dateTime),strategy:Cn.variadic}),getPluralRules:fn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,xt([void 0],t)))},{cache:$n(r.pluralRules),strategy:Cn.variadic})}}const Bn={},Hn=(t,n)=>{if(null!=n){if(n in Bn&&t in Bn[n])return Bn[n][t];var r,a,i=ir(n);for(let e=0;e<i.length;e++){var o=(r=i[e],a=t,zn(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return Wn[e]||null}(r),a):null);if(o)return r=t,a=n,(o=o)&&(a in Bn||(Bn[a]={}),r in Bn[a]||(Bn[a][r]=o),o)}}};let Wn;const jn=st({});function zn(e){return e in Wn}function Vn(t,...n){delete Bn[t],jn.update(e=>(e[t]=yt.all([e[t]||{},...n]),e))}lt([jn],([e])=>Object.keys(e)),jn.subscribe(e=>Wn=e);const Zn={};function Xn(e){return Zn[e]}function Kn(e){return ir(e).some(e=>{return null===(e=Xn(e))||void 0===e?void 0:e.size})}const qn={};function Jn(e){if(!Kn(e))return e in qn?qn[e]:void 0;const t=ir(e).map(e=>{var t=Xn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return qn[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){Zn[e].delete(t),0===Zn[e].size&&delete Zn[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Vn(t,...e))}(e))).then(()=>Kn(e)?Jn(e):void delete qn[e]),qn[e]}function Qn(e,t){var n={};for(a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n}const er={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const tr=st(!1);let nr;const rr=st(null);function ar(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function ir(e,t=er.fallbackLocale){e=ar(e);return t?[...new Set([...e,...ar(t)])]:e}rr.subscribe(e=>{nr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const or=rr.set;rr.set=t=>{if(function(e){if(null!=e){var t=ir(e);for(let e=0;e<t.length;e++){var n=t[e];if(zn(n))return n}}}(t)&&Kn(t)){var{loadingDelay:n}=er;let e;return"undefined"!=typeof window&&null!=nr&&n?e=window.setTimeout(()=>tr.set(!0),n):tr.set(!0),Jn(t).then(()=>{or(t)}).finally(()=>{clearTimeout(e),tr.set(!1)})}return or(t)},rr.update=e=>or(e(nr));const sr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},lr=(e,t)=>{var{formats:n}=er;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},cr=sr(e=>{var{locale:t,format:n}=e,e=Qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=lr("number",n)),new Intl.NumberFormat(t,e)}),ur=sr(e=>{var{locale:t,format:n}=e,e=Qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=lr("date",n):0===Object.keys(e).length&&(e=lr("date","short")),new Intl.DateTimeFormat(t,e)}),dr=sr(e=>{var{locale:t,format:n}=e,e=Qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=lr("time",n):0===Object.keys(e).length&&(e=lr("time","short")),new Intl.DateTimeFormat(t,e)}),hr=sr((e,t=nr)=>new Un(e,t,er.formats,{ignoreTag:er.ignoreTag})),mr=lt([rr,jn],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=nr,default:a}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Hn(e,r);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else er.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${ir(r).join('", "')}".${Kn(nr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=a||e;if(!n)return i;let o=i;try{o=hr(i,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return o});lt([rr],()=>(e,t)=>((e={})=>{var{locale:t=nr}=e,e=Qn(e,["locale"]);return dr(Object.assign({locale:t},e))})(t).format(e)),lt([rr],()=>(e,t)=>((e={})=>{var{locale:t=nr}=e,e=Qn(e,["locale"]);return ur(Object.assign({locale:t},e))})(t).format(e)),lt([rr],()=>(e,t)=>((e={})=>{var{locale:t=nr}=e,e=Qn(e,["locale"]);return cr(Object.assign({locale:t},e))})(t).format(e)),lt([rr,jn],()=>(e,t=nr)=>Hn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==at.indexOf(e)&&(t=new et(t),it[e]=t,at.push(e)),it[e]}};const pr=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),fr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",gr={en:{casinoPage:{search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{casinoPage:{search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{casinoPage:{search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{casinoPage:{search:"Rechercher des jeux ...",loading:"Chargement ...",searchMobile:"Rechercher",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{casinoPage:{search:"Buscar juegos ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{casinoPage:{search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{casinoPage:{search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{casinoPage:{search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{casinoPage:{search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{casinoPage:{search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{casinoPage:{search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{casinoPage:{search:"Procurar",loading:"A carregar",searchMobile:"Procurar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{casinoPage:{search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{casinoPage:{search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}},yr={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again."}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Montre plus",viewAll:"Voir tout",searchedItems:"Articles recherchés",recentSearchedItems:"Articles recherchés récemment",noRecentSearch:"Aucune recherche n'a encore commencé. Recherchez simplement un jeu.",noResults:"Désolé, aucun résultat trouvé. Veuillez réessayer"}},es:{gamesCategorySection:{showMore:"Mostrar más",viewAll:"Ver todo",searchedItems:"Artículos buscados",recentSearchedItems:"Elementos buscados recientemente",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",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"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",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"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostrar tudo",searchedItems:"Procurar resultado",recentSearchedItems:"Pesquisado recentemente",noRecentSearch:"Nenhuma pesquisa iniciada. Pesquisar simplesmente um jogo.",noResults:"Desculpe, sem qualquer correspondência. Por favor, tente novamente."}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{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."}}};var vr,wr,br=(wr=vr={path:void 0,exports:{},require:function(e,t){return Ln(null==t&&vr.path)}},vr.exports,wr.exports=function(){var e;function p(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(m(e,t))return;return 1}function i(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function a(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){for(var n=[],r=0;r<e.length;++r)n.push(t(e[r],r));return n}function u(e,t){for(var n in t)m(t,n)&&(e[n]=t[n]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return Gt(e,t,n,r,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){if(null==e._isValid){var t=f(e),n=y.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function g(e){var t=d(NaN);return null!=e?u(f(t),e):f(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},v=p.momentProperties=[],t=!1;function w(e,t){var n,r,a;if(i(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),i(t._i)||(e._i=t._i),i(t._f)||(e._f=t._f),i(t._l)||(e._l=t._l),i(t._strict)||(e._strict=t._strict),i(t._tzm)||(e._tzm=t._tzm),i(t._isUTC)||(e._isUTC=t._isUTC),i(t._offset)||(e._offset=t._offset),i(t._pf)||(e._pf=f(t)),i(t._locale)||(e._locale=t._locale),0<v.length)for(n=0;n<v.length;n++)i(a=t[r=v[n]])||(e[r]=a);return e}function b(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,p.updateOffset(this),t=!1)}function S(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function _(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(a,i){var o=!0;return u(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,a),o){for(var e,t,n=[],r=0;r<arguments.length;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])m(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}_(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return i.apply(this,arguments)},i)}var C={};function x(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),C[e]||(_(t),C[e]=!0)}function M(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function F(e,t){var n,r=u({},e);for(n in t)m(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)m(e,n)&&!m(t,n)&&s(e[n])&&(r[n]=u({},r[n]));return r}function k(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var T=Object.keys||function(e){var t,n=[];for(t in e)m(e,t)&&n.push(t);return n};function G(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var E=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},P={};function D(e,t,n,r){var a="string"==typeof r?function(){return this[r]()}:r;e&&(P[e]=a),t&&(P[t[0]]=function(){return G(a.apply(this,arguments),t[1],t[2])}),n&&(P[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=O(t,e.localeData()),I[t]=I[t]||function(r){for(var e,a=r.match(E),t=0,i=a.length;t<i;t++)P[a[t]]?a[t]=P[a[t]]:a[t]=(e=a[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<i;n++)t+=M(a[n])?a[n].call(e,r):a[n];return t}}(t),I[t](e)):e.localeData().invalidDate()}function O(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(L.lastIndex=0;0<=n&&L.test(e);)e=e.replace(L,r),L.lastIndex=0,--n;return e}var A={};function N(e,t){var n=e.toLowerCase();A[n]=A[n+"s"]=A[t]=e}function $(e){return"string"==typeof e?A[e]||A[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)m(e,n)&&(t=$(n))&&(r[t]=e[n]);return r}var Y={};function B(e,t){Y[e]=t}function H(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function j(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?W(t):e}function z(t,n){return function(e){return null!=e?(Z(this,t,e),p.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&H(e.year())&&1===e.month()&&29===e.date()?(n=j(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Te(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X=/\d/,K=/\d\d/,q=/\d{3}/,J=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,re=/\d{1,3}/,ae=/\d{1,4}/,ie=/[+-]?\d{1,6}/,oe=/\d+/,se=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function de(e,n,r){pe[e]=M(n)?n:function(e,t){return e&&r?r:n}}function he(e,t){return m(pe,e)?pe[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a})))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pe={},fe={};function ge(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),c(n)&&(r=function(e,t){t[n]=j(e)}),t=0;t<e.length;t++)fe[e[t]]=r}function ye(e,a){ge(e,function(e,t,n,r){n._w=n._w||{},a(e,n._w,n,r)})}var ve,we=0,be=1,Se=2,_e=3,Ce=4,xe=5,Me=6,Fe=7,ke=8;function Te(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?H(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},D("M",["MM",2],"Mo",function(){return this.month()+1}),D("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),D("MMMM",0,0,function(e){return this.localeData().months(this,e)}),N("month","M"),B("month",8),de("M",ee),de("MM",ee,K),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[be]=j(e)-1}),ge(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[be]=r:f(n).invalidMonth=e});var Ge="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ee="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=ue,Pe=ue;function De(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=j(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Te(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Re(e){return null!=e?(De(this,e),p.updateOffset(this,!0),this):V(this,"Month")}function Oe(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],a=[],i=0;i<12;i++)t=d([2e3,i]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),a.push(this.months(t,"")),a.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),a.sort(e),i=0;i<12;i++)n[i]=me(n[i]),r[i]=me(r[i]);for(i=0;i<24;i++)a[i]=me(a[i]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ae(e){return H(e)?366:365}D("Y",0,0,function(){var e=this.year();return e<=9999?G(e,4):"+"+e}),D(0,["YY",2],0,function(){return this.year()%100}),D(0,["YYYY",4],0,"year"),D(0,["YYYYY",5],0,"year"),D(0,["YYYYYY",6,!0],0,"year"),N("year","y"),B("year",1),de("Y",se),de("YY",ee,K),de("YYYY",ae,J),de("YYYYY",ie,Q),de("YYYYYY",ie,Q),ge(["YYYYY","YYYYYY"],we),ge("YYYY",function(e,t){t[we]=2===e.length?p.parseTwoDigitYear(e):j(e)}),ge("YY",function(e,t){t[we]=p.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[we]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return j(e)+(68<j(e)?1900:2e3)};var Ne=z("FullYear",!0);function $e(e,t,n,r,a,i,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,i,o),s}function Ue(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ye(e,t,n){n=7+t-n;return-(7+Ue(e,0,n).getUTCDay()-t)%7+n-1}function Be(e,t,n,r,a){var i,a=1+7*(t-1)+(7+n-r)%7+Ye(e,r,a),a=a<=0?Ae(i=e-1)+a:a>Ae(e)?(i=e+1,a-Ae(e)):(i=e,a);return{year:i,dayOfYear:a}}function He(e,t,n){var r,a,i=Ye(e.year(),t,n),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?r=i+We(a=e.year()-1,t,n):i>We(e.year(),t,n)?(r=i-We(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function We(e,t,n){var r=Ye(e,t,n),n=Ye(e+1,t,n);return(Ae(e)-r+n)/7}D("w",["ww",2],"wo","week"),D("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),B("week",5),B("isoWeek",5),de("w",ee),de("ww",ee,K),de("W",ee),de("WW",ee,K),ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=j(e)});function je(e,t){return e.slice(t,7).concat(e.slice(0,t))}D("d",0,"do","day"),D("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),D("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),D("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),D("e",0,0,"weekday"),D("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),B("day",11),B("weekday",11),B("isoWeekday",11),de("d",ee),de("e",ee),de("E",ee),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,r){t[r]=j(e)});var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ue,Ke=ue,qe=ue;function Je(){function e(e,t){return t.length-e.length}for(var t,n,r,a=[],i=[],o=[],s=[],l=0;l<7;l++)r=d([2e3,1]).day(l),t=me(this.weekdaysMin(r,"")),n=me(this.weekdaysShort(r,"")),r=me(this.weekdays(r,"")),a.push(t),i.push(n),o.push(r),s.push(t),s.push(n),s.push(r);a.sort(e),i.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){D(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}D("H",["HH",2],0,"hour"),D("h",["hh",2],0,Qe),D("k",["kk",2],0,function(){return this.hours()||24}),D("hmm",0,0,function(){return""+Qe.apply(this)+G(this.minutes(),2)}),D("hmmss",0,0,function(){return""+Qe.apply(this)+G(this.minutes(),2)+G(this.seconds(),2)}),D("Hmm",0,0,function(){return""+this.hours()+G(this.minutes(),2)}),D("Hmmss",0,0,function(){return""+this.hours()+G(this.minutes(),2)+G(this.seconds(),2)}),et("a",!0),et("A",!1),N("hour","h"),B("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,K),de("hh",ee,K),de("kk",ee,K),de("hmm",te),de("hmmss",ne),de("Hmm",te),de("Hmmss",ne),ge(["H","HH"],_e),ge(["k","kk"],function(e,t,n){e=j(e);t[_e]=24===e?0:e}),ge(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ge(["h","hh"],function(e,t,n){t[_e]=j(e),f(n).bigHour=!0}),ge("hmm",function(e,t,n){var r=e.length-2;t[_e]=j(e.substr(0,r)),t[Ce]=j(e.substr(r)),f(n).bigHour=!0}),ge("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[_e]=j(e.substr(0,r)),t[Ce]=j(e.substr(r,2)),t[xe]=j(e.substr(a)),f(n).bigHour=!0}),ge("Hmm",function(e,t,n){var r=e.length-2;t[_e]=j(e.substr(0,r)),t[Ce]=j(e.substr(r))}),ge("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[_e]=j(e.substr(0,r)),t[Ce]=j(e.substr(r,2)),t[xe]=j(e.substr(a))});var nt=z("Hours",!0);var rt,at={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ge,monthsShort:Ee,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:Ze,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},it={},ot={};function st(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,a,i=0;i<e.length;){for(t=(a=st(e[i]).split("-")).length,n=(n=st(e[i+1]))?n.split("-"):null;0<t;){if(r=ct(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(a,n)>=t-1)break;t--}i++}return rt}function ct(t){var e;if(void 0===it[t]&&wr&&wr.exports)try{e=rt._abbr,Ln(),ut(e)}catch(e){it[t]=null}return it[t]}function ut(e,t){return e&&((t=i(t)?ht(e):dt(e,t))?rt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function dt(e,t){if(null===t)return delete it[e],null;var n,r=at;if(t.abbr=e,null!=it[e])x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=it[e]._config;else if(null!=t.parentLocale)if(null!=it[t.parentLocale])r=it[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return ot[t.parentLocale]||(ot[t.parentLocale]=[]),ot[t.parentLocale].push({name:e,config:t}),null;r=n._config}return it[e]=new k(F(r,t)),ot[e]&&ot[e].forEach(function(e){dt(e.name,e.config)}),ut(e),it[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!o(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function mt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[be]<0||11<t[be]?be:t[Se]<1||t[Se]>Te(t[we],t[be])?Se:t[_e]<0||24<t[_e]||24===t[_e]&&(0!==t[Ce]||0!==t[xe]||0!==t[Me])?_e:t[Ce]<0||59<t[Ce]?Ce:t[xe]<0||59<t[xe]?xe:t[Me]<0||999<t[Me]?Me:-1,f(e)._overflowDayOfYear&&(t<we||Se<t)&&(t=Se),f(e)._overflowWeeks&&-1===t&&(t=Fe),f(e)._overflowWeekday&&-1===t&&(t=ke),f(e).overflow=t),e}var pt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,bt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _t(e){var t,n,r,a,i,o,s=e._i,l=pt.exec(s)||ft.exec(s);if(l){for(f(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){a=yt[t][0],r=!1!==yt[t][2];break}if(null==a)return e._isValid=!1;if(l[3]){for(t=0,n=vt.length;t<n;t++)if(vt[t][1].exec(l[3])){i=(l[2]||" ")+vt[t][0];break}if(null==i)return e._isValid=!1}if(!r&&null!=i)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=a+(i||"")+(o||""),kt(e)}else e._isValid=!1}function Ct(e,t,n,r,a,i){a=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ee.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&a.push(parseInt(i,10)),a}function xt(e){var t,n,r,a,i=bt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=Ct(i[4],i[3],i[2],i[5],i[6],i[7]),n=i[1],r=t,a=e,n&&Ve.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(a).weekdayMismatch=!0,a._isValid=!1):(e._a=t,e._tzm=(a=i[8],t=i[9],i=i[10],a?St[a]:t?0:((t=parseInt(i,10))-(i=t%100))/100*60+i),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function Ft(e){var t,n,r,a,i,o,s,l,c,u,d,h,m=[];if(!e._d){for(d=e,h=new Date(p.now()),n=d._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[Se]&&null==e._a[be]&&(null!=(d=(a=e)._w).GG||null!=d.W||null!=d.E?(l=1,c=4,i=Mt(d.GG,a._a[we],He(Et(),1,4).year),o=Mt(d.W,1),((s=Mt(d.E,1))<1||7<s)&&(u=!0)):(l=a._locale._week.dow,c=a._locale._week.doy,h=He(Et(),l,c),i=Mt(d.gg,a._a[we],h.year),o=Mt(d.w,h.week),null!=d.d?((s=d.d)<0||6<s)&&(u=!0):null!=d.e?(s=d.e+l,(d.e<0||6<d.e)&&(u=!0)):s=l),o<1||o>We(i,l,c)?f(a)._overflowWeeks=!0:null!=u?f(a)._overflowWeekday=!0:(c=Be(i,o,s,l,c),a._a[we]=c.year,a._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(r=Mt(e._a[we],n[we]),(e._dayOfYear>Ae(r)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),r=Ue(r,0,e._dayOfYear),e._a[be]=r.getUTCMonth(),e._a[Se]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[_e]&&0===e._a[Ce]&&0===e._a[xe]&&0===e._a[Me]&&(e._nextDay=!0,e._a[_e]=0),e._d=(e._useUTC?Ue:$e).apply(null,m),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_e]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r=""+e._i,a=r.length,i=0,o=O(e._f,e._locale).match(E)||[],s=0;s<o.length;s++)n=o[s],(t=(r.match(he(n,e))||[])[0])&&(0<(d=r.substr(0,r.indexOf(t))).length&&f(e).unusedInput.push(d),r=r.slice(r.indexOf(t)+t.length),i+=t.length),P[n]?(t?f(e).empty=!1:f(e).unusedTokens.push(n),u=n,h=e,null!=(d=t)&&m(fe,u)&&fe[u](d,h._a,h,u)):e._strict&&!t&&f(e).unusedTokens.push(n);f(e).charsLeftOver=a-i,0<r.length&&f(e).unusedInput.push(r),e._a[_e]<=12&&!0===f(e).bigHour&&0<e._a[_e]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[_e]=(l=e._locale,c=e._a[_e],null==(a=e._meridiem)?c:null!=l.meridiemHour?l.meridiemHour(c,a):null!=l.isPM?((a=l.isPM(a))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(c=f(e).era)&&(e._a[we]=e._locale.erasConvertYear(c,e._a[we])),Ft(e),mt(e)}else xt(e);else _t(e);var l,c,u,d,h}function Tt(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new b(mt(t)):(a(t)?e._d=t:o(n)?function(e){var t,n,r,a,i,o,s=!1;if(0===e._f.length)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(a=0;a<e._f.length;a++)i=0,o=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],kt(t),h(t)&&(o=!0),i+=f(t).charsLeftOver,i+=10*f(t).unusedTokens.length,f(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||o)&&(r=i,n=t,o&&(s=!0));u(e,n||t)}(e):n?kt(e):i(n=(t=e)._i)?t._d=new Date(p.now()):a(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=wt.exec(e._i);null===t?(_t(e),!1===e._isValid&&(delete e._isValid,xt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:p.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):o(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),Ft(t)):s(n)?function(e){var t,n;e._d||(n=void 0===(t=U(e._i)).day?t.date:t.day,e._a=r([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Ft(e))}(t):c(n)?t._d=new Date(n):p.createFromInputFallback(t),h(e)||(e._d=null),e))}function Gt(e,t,n,r,a){var i={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=n,i._i=e,i._f=t,i._strict=r,(i=new b(mt(Tt(i=i))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function Et(e,t,n,r){return Gt(e,t,n,r,!1)}p.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};var Lt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),It=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Pt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return Et();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Dt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rt(e){var t=U(e),n=t.year||0,r=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(m(e,t)&&(-1===ve.call(Dt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Dt.length;++n)if(e[Dt[n]]){if(r)return!1;parseFloat(e[Dt[n]])!==j(e[Dt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*i,this._months=+a+3*r+12*n,this._data={},this._locale=ht(),this._bubble()}function Ot(e){return e instanceof Rt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,n){D(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+G(~~(e/60),2)+n+G(~~e%60,2)})}Nt("Z",":"),Nt("ZZ",""),de("Z",ce),de("ZZ",ce),ge(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(ce,e)});var $t=/([\+\-]|\d\d)/gi;function Ut(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match($t)||["-",0,0])[1]+j(e[2]))?0:"+"===e[0]?t:-t}function Yt(e,t){var n;return t._isUTC?(n=t.clone(),t=(S(e)||a(e)?e:Et(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),p.updateOffset(n,!1),n):Et(e).local()}function Bt(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Wt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function zt(e,t){var n,r,a=e,i=null;return Ot(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(i=Wt.exec(e))?(n="-"===i[1]?-1:1,a={y:0,d:j(i[Se])*n,h:j(i[_e])*n,m:j(i[Ce])*n,s:j(i[xe])*n,ms:j(At(1e3*i[Me]))*n}):(i=jt.exec(e))?(n="-"===i[1]?-1:1,a={y:Vt(i[2],n),M:Vt(i[3],n),w:Vt(i[4],n),d:Vt(i[5],n),h:Vt(i[6],n),m:Vt(i[7],n),s:Vt(i[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=Et(a.from),n=Et(a.to),r=i.isValid()&&n.isValid()?(n=Yt(n,i),i.isBefore(n)?r=Zt(i,n):((r=Zt(n,i)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(a={}).ms=r.milliseconds,a.M=r.months),a=new Rt(a),Ot(e)&&m(e,"_locale")&&(a._locale=e._locale),Ot(e)&&m(e,"_isValid")&&(a._isValid=e._isValid),a}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Xt(r,a){return function(e,t){var n;return null===t||isNaN(+t)||(x(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Kt(this,zt(e,t),r),this}}function Kt(e,t,n,r){var a=t._milliseconds,i=At(t._days),t=At(t._months);e.isValid()&&(r=null==r||r,t&&De(e,V(e,"Month")+t*n),i&&Z(e,"Date",V(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&p.updateOffset(e,i||t))}zt.fn=Rt.prototype,zt.invalid=function(){return zt(NaN)};var qt=Xt(1,"add"),ue=Xt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Qt(e){return S(e)||a(e)||Jt(e)||c(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!c(e)&&Jt(t)}).length),n&&r)||function(e){var t,n,r=s(e)&&!l(e),a=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<i.length;t+=1)n=i[t],a=a||m(e,n);return r&&a}(e)||null==e;var t,n,r}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var rn=126227808e5;function an(e,t){return(e%t+t)%t}function on(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){for(var e=[],t=[],n=[],r=[],a=this.eras(),i=0,o=a.length;i<o;++i)t.push(me(a[i].name)),e.push(me(a[i].abbr)),n.push(me(a[i].narrow)),r.push(me(a[i].name)),r.push(me(a[i].abbr)),r.push(me(a[i].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function un(e,t){D(0,[e,e.length],0,t)}function dn(e,t,n,r,a){var i;return null==e?He(this,r,a).year:(t>(i=We(e,r,a))&&(t=i),function(e,t,n,r,a){a=Be(e,t,n,r,a),a=Ue(a.year,0,a.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,r,a))}D("N",0,0,"eraAbbr"),D("NN",0,0,"eraAbbr"),D("NNN",0,0,"eraAbbr"),D("NNNN",0,0,"eraName"),D("NNNNN",0,0,"eraNarrow"),D("y",["y",1],"yo","eraYear"),D("y",["yy",2],0,"eraYear"),D("y",["yyy",3],0,"eraYear"),D("y",["yyyy",4],0,"eraYear"),de("N",ln),de("NN",ln),de("NNN",ln),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),de("y",oe),de("yy",oe),de("yyy",oe),de("yyyy",oe),de("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),ge(["y","yy","yyy","yyyy"],we),ge(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[we]=n._locale.eraYearOrdinalParse(e,a):t[we]=parseInt(e,10)}),D(0,["gg",2],0,function(){return this.weekYear()%100}),D(0,["GG",2],0,function(){return this.isoWeekYear()%100}),un("gggg","weekYear"),un("ggggg","weekYear"),un("GGGG","isoWeekYear"),un("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),B("weekYear",1),B("isoWeekYear",1),de("G",se),de("g",se),de("GG",ee,K),de("gg",ee,K),de("GGGG",ae,J),de("gggg",ae,J),de("GGGGG",ie,Q),de("ggggg",ie,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=j(e)}),ye(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),D("Q",0,"Qo","quarter"),N("quarter","Q"),B("quarter",7),de("Q",X),ge("Q",function(e,t){t[be]=3*(j(e)-1)}),D("D",["DD",2],"Do","date"),N("date","D"),B("date",9),de("D",ee),de("DD",ee,K),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],Se),ge("Do",function(e,t){t[Se]=j(e.match(ee)[0])});ne=z("Date",!0);D("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),B("dayOfYear",4),de("DDD",re),de("DDDD",q),ge(["DDD","DDDD"],function(e,t,n){n._dayOfYear=j(e)}),D("m",["mm",2],0,"minute"),N("minute","m"),B("minute",14),de("m",ee),de("mm",ee,K),ge(["m","mm"],Ce);Ge=z("Minutes",!1);D("s",["ss",2],0,"second"),N("second","s"),B("second",15),de("s",ee),de("ss",ee,K),ge(["s","ss"],xe);var hn,ze=z("Seconds",!1);for(D("S",0,0,function(){return~~(this.millisecond()/100)}),D(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),D(0,["SSS",3],0,"millisecond"),D(0,["SSSS",4],0,function(){return 10*this.millisecond()}),D(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),D(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),D(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),D(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),D(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),B("millisecond",16),de("S",re,X),de("SS",re,K),de("SSS",re,q),hn="SSSS";hn.length<=9;hn+="S")de(hn,oe);function mn(e,t){t[Me]=j(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ge(hn,mn);Ze=z("Milliseconds",!1),D("z",0,0,"zoneAbbr"),D("zz",0,0,"zoneName");ae=b.prototype;function pn(e){return e}ae.add=qt,ae.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=s(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a=0;a<r.length;a+=1)n=n||m(e,r[a]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Et(),e=Yt(n,this).startOf("day"),e=p.calendarFormat(this,e)||"sameElse",t=t&&(M(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Et(n)))},ae.clone=function(){return new b(this)},ae.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Yt(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=$(t)){case"year":i=en(this,r)/12;break;case"month":i=en(this,r);break;case"quarter":i=en(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:W(i)},ae.endOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-an(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-an(t,1e3)-1}return this._d.setTime(t),p.updateOffset(this,!0),this},ae.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=R(this,e),this.localeData().postformat(e)},ae.from=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Et(e).isValid())?zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ae.fromNow=function(e){return this.from(Et(),e)},ae.to=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Et(e).isValid())?zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ae.toNow=function(e){return this.to(Et(),e)},ae.get=function(e){return M(this[e=$(e)])?this[e]():this},ae.invalidAt=function(){return f(this).overflow},ae.isAfter=function(e,t){return e=S(e)?e:Et(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ae.isBefore=function(e,t){return e=S(e)?e:Et(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ae.isBetween=function(e,t,n,r){return e=S(e)?e:Et(e),t=S(t)?t:Et(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},ae.isSame=function(e,t){var e=S(e)?e:Et(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ae.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ae.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ae.isValid=function(){return h(this)},ae.lang=te,ae.locale=tn,ae.localeData=nn,ae.max=It,ae.min=Lt,ae.parsingFlags=function(){return u({},f(this))},ae.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)m(e,t)&&n.push({unit:t,priority:Y[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=U(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(M(this[e=$(e)]))return this[e](t);return this},ae.startOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=an(t,6e4);break;case"second":t=this._d.valueOf(),t-=an(t,1e3)}return this._d.setTime(t),p.updateOffset(this,!0),this},ae.subtract=ue,ae.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ae.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ae.toDate=function(){return new Date(this.valueOf())},ae.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?R(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(e,"Z")):R(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ae.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ae[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ae.toJSON=function(){return this.isValid()?this.toISOString():null},ae.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ae.unix=function(){return Math.floor(this.valueOf()/1e3)},ae.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ae.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ae.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},ae.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},ae.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},ae.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,a=n.length;r<a;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-p(n[r].since).year())*e+n[r].offset;return this.year()},ae.year=Ne,ae.isLeapYear=function(){return H(this.year())},ae.weekYear=function(e){return dn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ae.isoWeekYear=function(e){return dn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ae.quarter=ae.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ae.month=Re,ae.daysInMonth=function(){return Te(this.year(),this.month())},ae.week=ae.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ae.isoWeek=ae.isoWeeks=function(e){var t=He(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ae.weeksInYear=function(){var e=this.localeData()._week;return We(this.year(),e.dow,e.doy)},ae.weeksInWeekYear=function(){var e=this.localeData()._week;return We(this.weekYear(),e.dow,e.doy)},ae.isoWeeksInYear=function(){return We(this.year(),1,4)},ae.isoWeeksInISOWeekYear=function(){return We(this.isoWeekYear(),1,4)},ae.date=ne,ae.day=ae.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},ae.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ae.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ae.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ae.hour=ae.hours=nt,ae.minute=ae.minutes=Ge,ae.second=ae.seconds=ze,ae.millisecond=ae.milliseconds=Ze,ae.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?a:Bt(this);if("string"==typeof e){if(null===(e=Ut(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Bt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?Kt(this,zt(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},ae.utc=function(e){return this.utcOffset(0,e)},ae.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Bt(this),"m")),this},ae.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ut(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ae.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Et(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ae.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ae.isLocal=function(){return!!this.isValid()&&!this._isUTC},ae.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ae.isUtc=Ht,ae.isUTC=Ht,ae.zoneAbbr=function(){return this._isUTC?"UTC":""},ae.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ae.dates=n("dates accessor is deprecated. Use date instead.",ne),ae.months=n("months accessor is deprecated. Use month instead",Re),ae.years=n("years accessor is deprecated. Use year instead",Ne),ae.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),ae.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!i(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=Tt(t))._a?(e=(t._isUTC?d:Et)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&j(e[o])!==j(t[o]))&&i++;return i+a}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});J=k.prototype;function fn(e,t,n,r){var a=ht(),t=d().set(r,t);return a[n](t,e)}function gn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fn(e,t,n,"month");for(var r=[],a=0;a<12;a++)r[a]=fn(e,a,n,"month");return r}function yn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),c(t)&&(n=t,t=void 0),t||"");var a,i=ht(),o=e?i._week.dow:0,s=[];if(null!=n)return fn(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=fn(t,(a+o)%7,r,"day");return s}J.calendar=function(e,t,n){return M(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},J.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(E).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},J.invalidDate=function(){return this._invalidDate},J.ordinal=function(e){return this._ordinal.replace("%d",e)},J.preparse=pn,J.postformat=pn,J.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return M(a)?a(e,t,n,r):a.replace(/%d/i,e)},J.pastFuture=function(e,t){return M(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},J.set=function(e){var t,n;for(n in e)m(e,n)&&(M(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},J.eras=function(e,t){for(var n,r=this._eras||ht("en")._eras,a=0,i=r.length;a<i;++a)switch("string"==typeof r[a].since&&(n=p(r[a].since).startOf("day"),r[a].since=n.valueOf()),typeof r[a].until){case"undefined":r[a].until=1/0;break;case"string":n=p(r[a].until).startOf("day").valueOf(),r[a].until=n.valueOf()}return r},J.erasParse=function(e,t,n){var r,a,i,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(i=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[i,o,s].indexOf(e))return l[r]},J.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*n},J.erasAbbrRegex=function(e){return m(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},J.erasNameRegex=function(e){return m(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},J.erasNarrowRegex=function(e){return m(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},J.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},J.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Le.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},J.monthsParse=function(e,t,n){var r,a;if(this._monthsParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=ve.call(this._shortMonthsParse,e))?a:null:-1!==(a=ve.call(this._longMonthsParse,e))?a:null:"MMM"===t?-1!==(a=ve.call(this._shortMonthsParse,e))||-1!==(a=ve.call(this._longMonthsParse,e))?a:null:-1!==(a=ve.call(this._longMonthsParse,e))||-1!==(a=ve.call(this._shortMonthsParse,e))?a:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},J.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Oe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Pe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},J.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Oe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},J.week=function(e){return He(e,this._week.dow,this._week.doy).week},J.firstDayOfYear=function(){return this._week.doy},J.firstDayOfWeek=function(){return this._week.dow},J.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?je(t,this._week.dow):e?t[e.day()]:t},J.weekdaysMin=function(e){return!0===e?je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},J.weekdaysShort=function(e){return!0===e?je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},J.weekdaysParse=function(e,t,n){var r,a;if(this._weekdaysParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=ve.call(this._weekdaysParse,e))?a:null:"ddd"===t?-1!==(a=ve.call(this._shortWeekdaysParse,e))?a:null:-1!==(a=ve.call(this._minWeekdaysParse,e))?a:null:"dddd"===t?-1!==(a=ve.call(this._weekdaysParse,e))||-1!==(a=ve.call(this._shortWeekdaysParse,e))||-1!==(a=ve.call(this._minWeekdaysParse,e))?a:null:"ddd"===t?-1!==(a=ve.call(this._shortWeekdaysParse,e))||-1!==(a=ve.call(this._weekdaysParse,e))||-1!==(a=ve.call(this._minWeekdaysParse,e))?a:null:-1!==(a=ve.call(this._minWeekdaysParse,e))||-1!==(a=ve.call(this._weekdaysParse,e))||-1!==(a=ve.call(this._shortWeekdaysParse,e))?a:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},J.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},J.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},J.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},J.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},J.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ut("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===j(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=n("moment.lang is deprecated. Use moment.locale instead.",ut),p.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var vn=Math.abs;function wn(e,t,n,r){n=zt(t,n);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function bn(e){return e<0?Math.floor(e):Math.ceil(e)}function Sn(e){return 4800*e/146097}function _n(e){return 146097*e/4800}function Cn(e){return function(){return this.as(e)}}ie=Cn("ms"),Q=Cn("s"),X=Cn("m"),K=Cn("h"),re=Cn("d"),q=Cn("w"),qt=Cn("M"),It=Cn("Q"),Lt=Cn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}ue=xn("milliseconds"),nt=xn("seconds"),Ge=xn("minutes"),ze=xn("hours"),Ze=xn("days"),ne=xn("months"),Ne=xn("years");var Mn=Math.round,Fn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function kn(e,t,n,r){var a=zt(e).abs(),i=Mn(a.as("s")),o=Mn(a.as("m")),s=Mn(a.as("h")),l=Mn(a.as("d")),c=Mn(a.as("M")),u=Mn(a.as("w")),a=Mn(a.as("y")),l=(i<=n.ss?["s",i]:i<n.s&&["ss",i])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||u<=1&&["w"]||u<n.w&&["ww",u]:l)||c<=1&&["M"]||c<n.M&&["MM",c]||a<=1&&["y"]||["yy",a])[2]=t,l[3]=0<+e,l[4]=r,function(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}.apply(null,l)}var Tn=Math.abs;function Gn(e){return(0<e)-(e<0)||+e}function En(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,i,o,s=Tn(this._milliseconds)/1e3,l=Tn(this._days),c=Tn(this._months),u=this.asSeconds();return u?(e=W(s/60),t=W(e/60),s%=60,e%=60,n=W(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",a=Gn(this._months)!==Gn(u)?"-":"",i=Gn(this._days)!==Gn(u)?"-":"",o=Gn(this._milliseconds)!==Gn(u)?"-":"",(u<0?"-":"")+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(l?i+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}J=Rt.prototype;return J.isValid=function(){return this._isValid},J.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},J.add=function(e,t){return wn(this,e,t,1)},J.subtract=function(e,t){return wn(this,e,t,-1)},J.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=$(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Sn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(_n(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},J.asMilliseconds=ie,J.asSeconds=Q,J.asMinutes=X,J.asHours=K,J.asDays=re,J.asWeeks=q,J.asMonths=qt,J.asQuarters=It,J.asYears=Lt,J.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*j(this._months/12):NaN},J._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*bn(_n(n)+t),n=t=0),r.milliseconds=e%1e3,e=W(e/1e3),r.seconds=e%60,e=W(e/60),r.minutes=e%60,e=W(e/60),r.hours=e%24,t+=W(e/24),n+=e=W(Sn(t)),t-=bn(_n(e)),e=W(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},J.clone=function(){return zt(this)},J.get=function(e){return e=$(e),this.isValid()?this[e+"s"]():NaN},J.milliseconds=ue,J.seconds=nt,J.minutes=Ge,J.hours=ze,J.days=Ze,J.weeks=function(){return W(this.days()/7)},J.months=ne,J.years=Ne,J.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Fn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Fn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),r=kn(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},J.toISOString=En,J.toString=En,J.toJSON=En,J.locale=tn,J.localeData=nn,J.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",En),J.lang=te,D("X",0,0,"unix"),D("x",0,0,"valueOf"),de("x",se),de("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,n){n._d=new Date(j(e))}),p.version="2.29.1",e=Et,p.fn=ae,p.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=d,p.unix=function(e){return Et(1e3*e)},p.months=function(e,t){return gn(e,t,"months")},p.isDate=a,p.locale=ut,p.invalid=g,p.duration=zt,p.isMoment=S,p.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},p.parseZone=function(){return Et.apply(null,arguments).parseZone()},p.localeData=ht,p.isDuration=Ot,p.monthsShort=function(e,t){return gn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},p.defineLocale=dt,p.updateLocale=function(e,t){var n,r;return null!=t?(r=at,null!=it[e]&&null!=it[e].parentLocale?it[e].set(F(it[e]._config,t)):(t=F(r=null!=(n=ct(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new k(t)).parentLocale=it[e],it[e]=t),ut(e)):null!=it[e]&&(null!=it[e].parentLocale?(it[e]=it[e].parentLocale,e===ut()&&ut(e)):null!=it[e]&&delete it[e]),it[e]},p.locales=function(){return T(it)},p.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},p.normalizeUnits=$,p.relativeTimeRounding=function(e){return void 0===e?Mn:"function"==typeof e&&(Mn=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==Fn[e]&&(void 0===t?Fn[e]:(Fn[e]=t,"s"===e&&(Fn.ss=t-1),!0))},p.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},p.prototype=ae,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}(),vr.exports);const Sr={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},_r={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function Cr(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function xr(e,t,n){const r=e.slice();return r[101]=t[n],r}function Mr(e){let n,r=!pr(e[35])&&!e[0]&&e[12],a=r&&Fr(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),q(e,n,t)},p(e,t){4097&t[0]&&(r=!pr(e[35])&&!e[0]&&e[12]),r?a?a.p(e,t):(a=Fr(e),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&J(n)}}}function Fr(n){let r,a,i;return{c(){r=Q("div"),r.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),a||(i=ne(r,"click",n[62]),a=!0)},p:Z,d(e){e&&J(r),a=!1,i()}}}function kr(e){let n;return{c(){n=Q("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(n,"class","FavIconContainer"),re(n,"part","FavIconContainer")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function Tr(n){let r,a,i;return{c(){r=Q("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),a||(i=ne(r,"click",n[64]),a=!0)},p:Z,d(e){e&&J(r),a=!1,i()}}}function Gr(e){let n,r,a=e[34]("gameThumbnail.new")+"";return{c(){n=Q("span"),r=ee(a),re(n,"class","GameExtraInfoLabel NewGameTag"),re(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){q(e,n,t),K(n,r)},p(e,t){8&t[1]&&a!==(a=e[34]("gameThumbnail.new")+"")&&ae(r,a)},d(e){e&&J(n)}}}function Er(e){let n,r,a=e[34]("gameThumbnail.hot")+"";return{c(){n=Q("span"),r=ee(a),re(n,"class","GameExtraInfoLabel PopularGameTag"),re(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){q(e,n,t),K(n,r)},p(e,t){8&t[1]&&a!==(a=e[34]("gameThumbnail.hot")+"")&&ae(r,a)},d(e){e&&J(n)}}}function Lr(e){let n,r,a=!e[21]&&e[19]&&e[20]&&Ir(e);function i(e){return e[21]&&e[18]&&e[18]===Wr?Dr:e[21]&&e[18]&&e[18]===jr?Pr:void 0}let o=i(e),s=o&&o(e);return{c(){a&&a.c(),n=te(),s&&s.c(),r=c()},m(e,t){a&&a.m(e,t),q(e,n,t),s&&s.m(e,t),q(e,r,t)},p(e,t){!e[21]&&e[19]&&e[20]?a?a.p(e,t):(a=Ir(e),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){a&&a.d(e),e&&J(n),s&&s.d(e),e&&J(r)}}}function Ir(e){let n,r,a,i,o,s,l,c,u,d,h=e[34]("gameThumbnail.opens")+"",m=br.utc(e[19]).local().format(e[20])+"",p=e[44](e[33])+"",f=e[43](e[25],e[26],e[24])+"";return{c(){n=Q("div"),r=Q("div"),a=ee(h),i=te(),o=Q("span"),s=ee(m),l=te(),u=te(),re(r,"class","ClosedGame"),re(r,"part","ClosedGame"),c=new t(u),d=new t(null),re(n,"class","GameProp LiveProps"),re(n,"part","GameProp LiveProps")},m(e,t){q(e,n,t),K(n,r),K(r,a),K(r,i),K(r,o),K(o,s),K(n,l),c.m(p,n),K(n,u),d.m(f,n)},p(e,t){8&t[1]&&h!==(h=e[34]("gameThumbnail.opens")+"")&&ae(a,h),1572864&t[0]&&m!==(m=br.utc(e[19]).local().format(e[20])+"")&&ae(s,m),4&t[1]&&p!==(p=e[44](e[33])+"")&&c.p(p),117440512&t[0]&&f!==(f=e[43](e[25],e[26],e[24])+"")&&d.p(f)},d(e){e&&J(n)}}}function Pr(n){let r,a,i,o,s,l,c=n[44](n[33])+"",u=n[43](n[25],n[26],n[24])+"",d=new Array(Vr),h=[];for(let e=0;e<d.length;e+=1)h[e]=Nr(Cr(n,d,e));return{c(){r=Q("div"),a=Q("div");for(let e=0;e<h.length;e+=1)h[e].c();i=te(),s=te(),re(a,"class","LiveIcons"),re(a,"part","LiveIcons"),o=new t(s),l=new t(null),re(r,"class",n[29]),re(r,"part",n[29])},m(e,t){q(e,r,t),K(r,a);for(let e=0;e<h.length;e+=1)h[e].m(a,null);n[65](a),K(r,i),o.m(c,r),K(r,s),l.m(u,r)},p(t,n){if(1342178304&n[0]|16384&n[1]){let e;for(d=new Array(Vr),e=0;e<d.length;e+=1){const o=Cr(t,d,e);h[e]?h[e].p(o,n):(h[e]=Nr(o),h[e].c(),h[e].m(a,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}4&n[1]&&c!==(c=t[44](t[33])+"")&&o.p(c),117440512&n[0]&&u!==(u=t[43](t[25],t[26],t[24])+"")&&l.p(u),536870912&n[0]&&re(r,"class",t[29]),536870912&n[0]&&re(r,"part",t[29])},d(e){e&&J(r),f(h,e),n[65](null)}}}function Dr(e){let n,r,a,i,o,s,l=e[44](e[33])+"",c=e[43](e[25],e[26],e[24])+"";function u(e){return e[31]?Ur:$r}let d=u(e),h=d(e);return{c(){n=Q("div"),r=Q("div"),h.c(),a=te(),o=te(),re(r,"class","LiveIcons"),re(r,"part","LiveIcons"),i=new t(o),s=new t(null),re(n,"class","GameProp LiveProps BlackjackDisplay"),re(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){q(e,n,t),K(n,r),h.m(r,null),K(n,a),i.m(l,n),K(n,o),s.m(c,n)},p(e,t){d===(d=u(e))&&h?h.p(e,t):(h.d(1),h=d(e),h&&(h.c(),h.m(r,null))),4&t[1]&&l!==(l=e[44](e[33])+"")&&i.p(l),117440512&t[0]&&c!==(c=e[43](e[25],e[26],e[24])+"")&&s.p(c)},d(e){e&&J(n),h.d()}}}function Rr(e){let n;function r(e){return e[28]?Ar:Or}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),q(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),i=a(e),i&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&J(n)}}}function Or(e){let n,r,a=e[45]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[30][e[10][e[106]]])+"";return{c(){r=c(),n=new t(r)},m(e,t){n.m(a,e,t),q(e,r,t)},p(e,t){1073742848&t[0]&&a!==(a=e[45]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[30][e[10][e[106]]])+"")&&n.p(a)},d(e){e&&J(r),e&&n.d()}}}function Ar(e){let n,r,a,i,o,s=e[45]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[30][e[10][e[106]][0]])+"",l=e[45]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[30][e[10][e[106]][1]])+"";return{c(){n=Q("div"),a=te(),o=te(),r=new t(a),i=new t(o),re(n,"class","Double"),re(n,"part","Double")},m(e,t){q(e,n,t),r.m(s,n),K(n,a),i.m(l,n),K(n,o)},p(e,t){1073742848&t[0]&&s!==(s=e[45]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[30][e[10][e[106]][0]])+"")&&r.p(s),1073742848&t[0]&&l!==(l=e[45]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[30][e[10][e[106]][1]])+"")&&i.p(l)},d(e){e&&J(n)}}}function Nr(e){let n,r=e[10]&&e[10][e[106]]&&Rr(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[10]&&e[10][e[106]]?r?r.p(e,t):(r=Rr(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&J(n)}}}function $r(t){let a,i=t[23],o=[];for(let e=0;e<i.length;e+=1)o[e]=Yr(xr(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,a,n)},p(t,n){if(142606336&n[0]|2048&n[1]){let e;for(i=t[23],e=0;e<i.length;e+=1){var r=xr(t,i,e);o[e]?o[e].p(r,n):(o[e]=Yr(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){f(o,e),e&&J(a)}}}function Ur(e){let n,r,a=e[34]("gameThumbnail.full")+"";return{c(){n=Q("span"),r=ee(a),re(n,"class","FullTable"),re(n,"part","FullTable")},m(e,t){q(e,n,t),K(n,r)},p(e,t){8&t[1]&&a!==(a=e[34]("gameThumbnail.full")+"")&&ae(r,a)},d(e){e&&J(n)}}}function Yr(e){let n,r,a,i,o,s,l;return{c(){n=Q("span"),r=v("svg"),a=v("path"),i=v("path"),o=te(),re(a,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),re(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),re(r,"xmlns","http://www.w3.org/2000/svg"),re(r,"width","13"),re(r,"height","14"),re(r,"viewBox","0 0 13 14"),re(n,"class",s=e[42](e[27],e[101].toString())?"ClosedSeat":"OpenSeat"),re(n,"part",l=e[42](e[27],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){q(e,n,t),K(n,r),K(r,a),K(r,i),K(n,o)},p(e,t){142606336&t[0]&&s!==(s=e[42](e[27],e[101].toString())?"ClosedSeat":"OpenSeat")&&re(n,"class",s),142606336&t[0]&&l!==(l=e[42](e[27],e[101].toString())?"ClosedSeat":"OpenSeat")&&re(n,"part",l)},d(e){e&&J(n)}}}function Br(e){let n,r;return{c(){n=Q("p"),r=ee(e[3]),re(n,"class","GameNameBelow"),re(n,"part","GameNameBelow"),re(n,"title",e[3])},m(e,t){q(e,n,t),K(n,r)},p(e,t){8&t[0]&&ae(r,e[3]),8&t[0]&&re(n,"title",e[3])},d(e){e&&J(n)}}}function Hr(n){let r,a,i,o,s,l,c,u,d,h,m,p,f,g,y,v,w,b,S,_,C,x,M,F,k,T,G,E,L,I,P,D,R,O,A=n[34]("gameThumbnail.playNow")+"",N=(n[4]||"-")+"",$=0<parseInt(n[7]),U=n[13]&&Mr(n);function Y(e,t){return(null==x||4099&t[0])&&(x=!(pr(e[35])||!e[0]||!e[12]||!e[1])),x?Tr:((null==M||4099&t[0])&&(M=!!(pr(e[35])&&e[0]&&e[12]&&e[1])),M?kr:void 0)}let B=Y(n,[-1]),H=B&&B(n),W=n[6]&&Gr(n),j=$&&Er(n),z=n[9]&&Lr(n),V=n[8]&&Br(n);return{c(){r=Q("div"),a=Q("div"),i=Q("img"),c=te(),u=Q("div"),d=Q("div"),U&&U.c(),h=te(),m=Q("p"),p=ee(n[3]),f=te(),g=Q("button"),y=ee(A),b=te(),S=Q("span"),_=ee(N),C=te(),H&&H.c(),F=te(),k=Q("div"),W&&W.c(),T=te(),j&&j.c(),G=te(),z&&z.c(),I=te(),V&&V.c(),this.c=Z,i.src!==(o=n[2])&&re(i,"src",o),re(i,"class",s="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),re(i,"part",l="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),re(i,"alt",""),re(i,"loading","lazy"),re(m,"class","GameInfoName"),re(m,"part","GameInfoName"),re(m,"title",n[3]),re(g,"class","GameInfoBtn"),re(g,"part","GameInfoBtn"),re(d,"class",v="GameInfo "+(n[14]?"GameHovered":"")),re(d,"part",w="GameInfo "+(n[14]?"GameHovered":"")),re(S,"class","GameInfoVendor"),re(S,"part","GameInfoVendor"),re(u,"class","GameInfoWrapper"),re(u,"part","GameInfoWrapper"),re(k,"class","GameExtraInfo"),re(k,"part","GameExtraInfo"),re(a,"class",E="GameInnerContainer "+(n[9]&&!n[21]&&n[22].value||n[9]&&n[31]?"GameInnerContainerUnavailable":"")),re(a,"part",L="GameInnerContainer "+(n[9]&&!n[21]||n[9]&&n[31]?"GameInnerContainerUnavailable":"")),re(r,"class",P=`GameContainer ${n[32]}`),re(r,"part",D=`GameContainer ${n[32]}`)},m(e,t){q(e,r,t),K(r,a),K(a,i),n[61](i),K(a,c),K(a,u),K(u,d),U&&U.m(d,null),K(d,h),K(d,m),K(m,p),K(d,f),K(d,g),K(g,y),K(u,b),K(u,S),K(S,_),K(a,C),H&&H.m(a,null),K(a,F),K(a,k),W&&W.m(k,null),K(k,T),j&&j.m(k,null),K(k,G),z&&z.m(k,null),K(r,I),V&&V.m(r,null),n[66](r),R||(O=[ne(g,"click",n[63]),ne(a,"mouseenter",n[40]),ne(a,"mouseleave",n[41]),ne(a,"touchstart",n[38],{passive:!0}),ne(a,"touchleave",n[39])],R=!0)},p(e,t){4&t[0]&&i.src!==(o=e[2])&&re(i,"src",o),49152&t[0]&&s!==(s="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&re(i,"class",s),49152&t[0]&&l!==(l="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&re(i,"part",l),e[13]?U?U.p(e,t):(U=Mr(e),U.c(),U.m(d,h)):U&&(U.d(1),U=null),8&t[0]&&ae(p,e[3]),8&t[0]&&re(m,"title",e[3]),8&t[1]&&A!==(A=e[34]("gameThumbnail.playNow")+"")&&ae(y,A),16384&t[0]&&v!==(v="GameInfo "+(e[14]?"GameHovered":""))&&re(d,"class",v),16384&t[0]&&w!==(w="GameInfo "+(e[14]?"GameHovered":""))&&re(d,"part",w),16&t[0]&&N!==(N=(e[4]||"-")+"")&&ae(_,N),B===(B=Y(e,t))&&H?H.p(e,t):(H&&H.d(1),H=B&&B(e),H&&(H.c(),H.m(a,F))),e[6]?W?W.p(e,t):(W=Gr(e),W.c(),W.m(k,T)):W&&(W.d(1),W=null),128&t[0]&&($=0<parseInt(e[7])),$?j?j.p(e,t):(j=Er(e),j.c(),j.m(k,G)):j&&(j.d(1),j=null),e[9]?z?z.p(e,t):(z=Lr(e),z.c(),z.m(k,null)):z&&(z.d(1),z=null),6291968&t[0]|1&t[1]&&E!==(E="GameInnerContainer "+(e[9]&&!e[21]&&e[22].value||e[9]&&e[31]?"GameInnerContainerUnavailable":""))&&re(a,"class",E),2097664&t[0]|1&t[1]&&L!==(L="GameInnerContainer "+(e[9]&&!e[21]||e[9]&&e[31]?"GameInnerContainerUnavailable":""))&&re(a,"part",L),e[8]?V?V.p(e,t):(V=Br(e),V.c(),V.m(r,null)):V&&(V.d(1),V=null),2&t[1]&&P!==(P=`GameContainer ${e[32]}`)&&re(r,"class",P),2&t[1]&&D!==(D=`GameContainer ${e[32]}`)&&re(r,"part",D)},i:Z,o:Z,d(e){e&&J(r),n[61](null),U&&U.d(),H&&H.d(),W&&W.d(),j&&j.d(),z&&z.d(),V&&V.d(),n[66](null),R=!1,X(O)}}}const Wr="blackjack",jr="roulette",zr="doubleballroulette",Vr=5;function Zr(n,e,o){let t;Re(n,mr,e=>o(34,t=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{i(l.next(e))}catch(e){t(e)}}function a(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,a)}i((l=l.apply(e,o||[])).next())})};let a,i,s,l,c,u,d,h,m,p,f,g,y,v,w,b,S,_,C,x,M,F,k,T,{session:G=""}=e,{userid:E=""}=e,{lang:L=""}=e,{clientstyling:I=""}=e,{clientstylingurl:P=""}=e,{favorites:D=""}=e,{gamethumbnail:R=""}=e,{gamename:O=""}=e,{gamevendor:A=""}=e,{gameid:N=""}=e,{gameisnew:$=""}=e,{gamepopularity:U=""}=e,{gamefunmode:Y=!1}=e,{searchitem:B=!1}=e,{gamefavorite:H=!1}=e,{showfavoredcategory:W=!1}=e,{showgamename:j=!1}=e,{currency:z=""}=e,{endpoint:V=""}=e,{livelobbyendpoint:Z=""}=e,{connectlive:X=""}=e,{visibilityconnect:K=""}=e,q=!1,J=!1,Q=!1,ee=window.navigator.userAgent,te="HH:mm",ne,re=[],ae="EUR",ie="";const oe=[Wr],se=[jr,zr],le={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ce={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(Sr).forEach(e=>{Vn(e,Sr[e])});const ue=e=>{e.data.type!==`AddFavoriteThumbnail_${N}`||W||o(0,H=!0),e.data.type!==`RemoveFavoriteThumbnail_${N}`||W||o(0,H=!1),"UserSessionID"===e.data.type&&(o(12,q=!0),e.data.session,e.data.userID)},de=e=>{pr(ee)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:Y},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),B&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},he=e=>{var t="thumbnail";H?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},me=()=>{Z&&EventSource&&!l&&A&&N&&(l=new EventSource(`${V}/encoder/lobby/updates/${A}/${N}`),l.addEventListener("message",fe))},pe=()=>{l&&(l.close(),l=void 0)},fe=i=>r(void 0,void 0,void 0,function*(){const{type:e,data:t}=i;let n;if("message"===e){if(t)try{n=JSON.parse(t)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(n){const{InternalTableId:i,MessageType:e,Results:t,Seats:r,Open:a}=n;if(i)switch(e){case"SeatsUpdated":r&&Array.isArray(r)&&(o(27,g=r),o(9,s.currentOccupiedSeats=r,s),yield ve());break;case"RouletteResultsUpdated":t&&Array.isArray(t)&&(y=t,o(9,s.currentRouletteNumbers=t,s),yield ve());break;case"DoubleBallRouletteResultsUpdated":t&&Array.isArray(t)&&(v=t,o(9,s.currentDoubleBallRouletteNumbers=t,s),yield ve());break;case"TableOpened":case"TableClosed":o(21,d=a),o(9,s.isOpen=a,s),yield ve()}}}}),ge=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",ye=(e,t)=>e.some(e=>e===t);return Oe(()=>(window.addEventListener("message",ue,!1),()=>{window.removeEventListener("message",ue),l&&l.removeEventListener("message",fe)})),n.$$set=e=>{"session"in e&&o(46,G=e.session),"userid"in e&&o(47,E=e.userid),"lang"in e&&o(48,L=e.lang),"clientstyling"in e&&o(49,I=e.clientstyling),"clientstylingurl"in e&&o(50,P=e.clientstylingurl),"favorites"in e&&o(1,D=e.favorites),"gamethumbnail"in e&&o(2,R=e.gamethumbnail),"gamename"in e&&o(3,O=e.gamename),"gamevendor"in e&&o(4,A=e.gamevendor),"gameid"in e&&o(5,N=e.gameid),"gameisnew"in e&&o(6,$=e.gameisnew),"gamepopularity"in e&&o(7,U=e.gamepopularity),"gamefunmode"in e&&o(51,Y=e.gamefunmode),"searchitem"in e&&o(52,B=e.searchitem),"gamefavorite"in e&&o(0,H=e.gamefavorite),"showfavoredcategory"in e&&o(53,W=e.showfavoredcategory),"showgamename"in e&&o(8,j=e.showgamename),"currency"in e&&o(54,z=e.currency),"endpoint"in e&&o(55,V=e.endpoint),"livelobbyendpoint"in e&&o(56,Z=e.livelobbyendpoint),"connectlive"in e&&o(57,X=e.connectlive),"visibilityconnect"in e&&o(58,K=e.visibilityconnect)},n.$$.update=()=>{var e,t;67108864&n.$$.dirty[1]&&X&&("disconnect"===X?pe():"connect"===X&&me()),134217728&n.$$.dirty[1]&&K&&("disconnect"===K?pe():"connect"===K&&"connect"===X&&me()),n.$$.dirty[1],16875520&n.$$.dirty[1]&&G&&E&&V&&o(12,q=!0),4&n.$$.dirty[0]&&R&&a&&o(16,a.onload=()=>{o(15,Q=!0)},a),262144&n.$$.dirty[1]&&I&&(()=>{let e=document.createElement("style");e.innerHTML=I,setTimeout(()=>{i.appendChild(e)})})(),2&n.$$.dirty[0]&&D&&"true"==D&&o(13,J=!0),524288&n.$$.dirty[1]&&P&&(()=>{let e=new URL(P),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)})})})(),50331648&n.$$.dirty[1]&&V&&Z&&(()=>{let e=new URL(`${Z.split("?")[0]}`);e.searchParams.append("platform",fr(ee)),e.searchParams.append("language",L),fetch(e).then(e=>e.json()).then(e=>{var{details:e}=e[0];o(9,s=e)})})(),512&n.$$.dirty[0]&&s&&s&&(o(21,d=s.isOpen),ne=s.betLimit||{},o(22,h=s.openHours),o(23,re=(e=>{f=e.totalSeats||7,o(27,g=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=f;e++)t.push(e);return{seats:t}})(s).seats),h&&h.value&&({value:{startTime:e,originalTimeFormat:t}}=h,o(19,u=e),o(20,te=t||te)),d&&o(18,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();ye(oe,e)?t=Wr:ye(se,e)&&(t=jr)}}return t})(s)),o(24,ae=_r[z]),o(25,m=(ne.min||{})[z]),o(26,p=(ne.max||{})[z]),y=s.currentRouletteNumbers,v=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,o(28,b=w.toLowerCase()===zr),o(10,S=(b?v:y)||[]),o(29,_="GameProp LiveProps RoulleteProps"),o(29,_+=b?" Double":""),o(30,C=ye(se,w.toLowerCase())?ce:le),M=x,o(31,x=Array.isArray(g)&&g.length===f),s.dealer&&o(33,k=s.dealer.DealerName),T=s.numberOfPlayers,o(32,ie="ListGame"),s.isOpen&&s.currentRouletteNumbers&&o(32,ie+=" GameBackdrop"),d&&x&&m&&p&&s.currentOccupiedSeats?o(32,ie+=" GameContainerDimmed"):!1===d&&u&&o(32,ie+=" GameContainerFullyDimmed"),i&&(!M&&x?(o(32,ie+=" PulsatingRedShadow"),o(32,ie=ie.replace(" PulsatingGreenShadow",""))):M&&!x&&(o(32,ie+=" PulsatingGreenShadow"),o(32,ie=ie.replace(" PulsatingRedShadow",""))))),3072&n.$$.dirty[0]&&F&&S&&(()=>{const e="FirstElementAnimated",t=F.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))})()},[H,D,R,O,A,N,$,U,j,s,S,F,q,J,!1,Q,a,i,c,u,te,d,h,re,ae,m,p,g,b,_,C,x,ie,k,t,ee,de,he,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},ye,(e,t,n)=>{let r,a;return null!=e&&null!=t&&(a=`\n <span>\n ${n}\n </span>\n ${ge(e)}-${ge(t)}`),T&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${T}</span>`),r||a?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${a||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${t("gameThumbnail.dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{e=`${e} ${r}`,r=t.toString().match(/first0|second0|0/g);return 0===t||r&&0!==r.length?`\n <span\n id=${t}\n class="${e}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${e}">\n ${n}\n </span>\n `},G,E,L,I,P,Y,B,W,z,V,Z,X,K,le,ce,function(e){Ae[e?"unshift":"push"](()=>{a=e,o(16,a)})},()=>he(N),()=>de(N),()=>he(N),function(e){Ae[e?"unshift":"push"](()=>{F=e,o(11,F)})},function(e){Ae[e?"unshift":"push"](()=>{i=e,o(17,i)})}]}function Xr(e,t,n){const r=e.slice();return r[76]=t[n],r[78]=n,r}function Kr(e,t,n){const r=e.slice();return r[76]=t[n],r[79]=t,r[78]=n,r}function qr(e,t,n){const r=e.slice();return r[76]=t[n],r[78]=n,r}function Jr(e){let n;function r(e){return e[11]?na:e[21]?ta:void 0}let a=r(e),i=a&&a(e);return{c(){n=Q("div"),i&&i.c()},m(e,t){q(e,n,t),i&&i.m(n,null)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),i=a&&a(e),i&&(i.c(),i.m(n,null)))},d(e){e&&J(n),i&&i.d()}}}function Qr(e){let n,r,a;function i(e){return e[15]?ba:e[12].length?va:wa}let o=i(e),s=o(e);function l(e){return e[12]?_a:Sa}let c=l(e),u=c(e);return{c(){n=Q("div"),r=Q("div"),s.c(),a=te(),u.c(),re(r,"class","CasinoGamesHeader Searched "+(pr(e[27])?"CasinoGamesHeaderMobile":"")),re(r,"part","CasinoGamesHeader Searched "+(pr(e[27])?"CasinoGamesHeaderMobile":"")),re(n,"class","CasinoGamesContainer"),re(n,"part","CasinoGamesContainer")},m(e,t){q(e,n,t),K(n,r),s.m(r,null),K(n,a),u.m(n,null)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),u=c(e),u&&(u.c(),u.m(n,null)))},d(e){e&&J(n),s.d(),u.d()}}}function ea(e){let n;function r(e){return e[17]?Fa:Ma}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),q(e,n,t)},p(e,t){a!==(a=r(e))&&(i.d(1),i=a(e),i&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&J(n)}}}function ta(n){let r,a,i,o,s,l,c,u,d=n[25].name+"";function h(e){return e[25]?aa:ra}let m=h(n),p=m(n);return{c(){r=Q("div"),a=Q("div"),i=Q("h3"),o=ee(d),s=te(),l=Q("ul"),p.c(),re(i,"class","CategoryName"),re(i,"part","CategoryName"),re(a,"class","CasinoGamesHeader"),re(a,"part","CasinoGamesHeader"),re(l,"class",c=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),re(l,"part",u=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),re(r,"class","CasinoGamesContainer"),re(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),K(r,a),K(a,i),K(i,o),n[43](i),K(r,s),K(r,l),p.m(l,null),n[44](l)},p(e,t){33554432&t[0]&&d!==(d=e[25].name+"")&&ae(o,d),m===(m=h(e))&&p?p.p(e,t):(p.d(1),p=m(e),p&&(p.c(),p.m(l,null))),33554432&t[0]&&c!==(c=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&re(l,"class",c),33554432&t[0]&&u!==(u=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&re(l,"part",u)},d(e){e&&J(r),n[43](null),p.d(),n[44](null)}}}function na(n){let r,a,i,o,s,l,c=n[11].name+"",u=n[13]&&pa(n);function d(e){return 0!==e[12].length?ga:fa}let h=d(n),m=h(n);return{c(){r=Q("div"),a=Q("div"),i=Q("h3"),o=ee(c),s=te(),u&&u.c(),l=te(),m.c(),re(i,"class","CategoryName"),re(i,"part","CategoryName"),re(a,"class","CasinoGamesHeader"),re(a,"part","CasinoGamesHeader"),re(r,"class","CasinoGamesContainer"),re(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),K(r,a),K(a,i),K(i,o),n[39](i),K(a,s),u&&u.m(a,null),K(r,l),m.m(r,null)},p(e,t){2048&t[0]&&c!==(c=e[11].name+"")&&ae(o,c),e[13]?u?u.p(e,t):(u=pa(e),u.c(),u.m(a,null)):u&&(u.d(1),u=null),h===(h=d(e))&&m?m.p(e,t):(m.d(1),m=h(e),m&&(m.c(),m.m(r,null)))},d(e){e&&J(r),n[39](null),u&&u.d(),m.d()}}}function ra(e){let n;return{c(){n=Q("p"),n.textContent="Waiting"},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function aa(t){let r,a=t[25].items,i=[];for(let e=0;e<a.length;e+=1)i[e]=ma(Xr(t,a,e));let o=null;return a.length||(o=ia(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);q(t,r,n),o&&o.m(t,n)},p(t,n){if(169869823&n[0]){let e;for(a=t[25].items,e=0;e<a.length;e+=1){const o=Xr(t,a,e);i[e]?i[e].p(o,n):(i[e]=ma(o),i[e].c(),i[e].m(r.parentNode,r))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length,!a.length&&o?o.p(t,n):a.length?o&&(o.d(1),o=null):(o=ia(t),o.c(),o.m(r.parentNode,r))}},d(e){f(i,e),e&&J(r),o&&o.d(e)}}}function ia(e){let n,r,a,i,o,s,l,c=(t=e,(pr(t[27])?sa:oa)(e));var t;return{c(){n=Q("p"),r=v("svg"),a=v("path"),i=te(),o=Q("span"),o.textContent="You do not have any favored games yet.",s=te(),c.c(),l=te(),x(a,"fill","white"),re(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),re(r,"version","1.1"),re(r,"class","UnfavoredIcon"),re(r,"part","UnfavoredIcon"),re(r,"xmlns","http://www.w3.org/2000/svg"),re(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),re(r,"x","50px"),re(r,"y","50px"),re(r,"viewBox","0 0 512.001 512.001"),x(r,"enable-background","new 0 0 512.001 512.001"),re(r,"xml:space","preserve"),re(o,"class","NoFavoriteText NoFavoriteTextHighlight"),re(o,"part","NoFavoriteText NoFavoriteTextHighlight"),re(n,"class","NoFavoriteGames "+(pr(e[27])?"NoFavoriteGamesMobile":"")),re(n,"part","NoFavoriteGames "+(pr(e[27])?"NoFavoriteGamesMobile":""))},m(e,t){q(e,n,t),K(n,r),K(r,a),K(n,i),K(n,o),K(n,s),c.m(n,null),K(n,l)},p:Z,d(e){e&&J(n),c.d()}}}function oa(e){let n;return{c(){n=Q("span"),n.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",re(n,"class","NoFavoriteText"),re(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function sa(e){let n;return{c(){n=Q("span"),n.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",re(n,"class","NoFavoriteText"),re(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function la(e){let n,r=e[76].gameModel.isFavorite&&ca(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[76].gameModel.isFavorite?r?r.p(e,t):(r=ca(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&J(n)}}}function ca(e){let n,r=function(e){let n,r,a;function i(e,t){return null==n&&(n=!!pr(e[27])),n?da:((null==r||33554432&t[0])&&(r=!!e[76].gameModel.platform.includes("PC")),r?ua:void 0)}let o=i(e,[-1]),s=o&&o(e);return{c(){s&&s.c(),a=c()},m(e,t){s&&s.m(e,t),q(e,a,t)},p(e,t){o===(o=i(e,t))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(a.parentNode,a)))},d(e){s&&s.d(e),e&&J(a)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&J(n)}}}function ua(e){let n,r,a,i,o,s,l,c,u,d,h,m,p;return{c(){n=Q("casino-game-thumbnail"),b(n,"class",r=""+(Ta+(e[76].cellSize||"1x1"))),b(n,"part",a=""+(Ta+(e[76].cellSize||"1x1"))),b(n,"session",e[2]),b(n,"userid",e[3]),b(n,"lang",e[1]),b(n,"favorites",e[4]),b(n,"gamethumbnail",i=e[76].gameModel.thumbnail),b(n,"gamename",o=e[76].gameModel.name),b(n,"gamevendor",s=e[76].gameModel.vendor.name),b(n,"gameisnew",l=e[76].gameModel.isNew),b(n,"gamepopularity",c=e[76].gameModel.popularity),b(n,"gamecellsize",u=e[76].gameModel.cellSize),b(n,"gameid",d=e[76].gameModel.id),b(n,"gamefunmode",h=e[76].gameModel.hasFunMode),b(n,"gamefavorite",m=e[76].gameModel.isFavorite),b(n,"showfavoredcategory",e[21]),b(n,"currency",e[7]),b(n,"livelobbyendpoint",p=e[76].gameModel.details?e[76].gameModel.href:""),b(n,"clientstyling",e[5]),b(n,"clientstylingurl",e[6]),b(n,"endpoint",e[0]),b(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(Ta+(e[76].cellSize||"1x1")))&&b(n,"class",r),33554432&t[0]&&a!==(a=""+(Ta+(e[76].cellSize||"1x1")))&&b(n,"part",a),4&t[0]&&b(n,"session",e[2]),8&t[0]&&b(n,"userid",e[3]),2&t[0]&&b(n,"lang",e[1]),16&t[0]&&b(n,"favorites",e[4]),33554432&t[0]&&i!==(i=e[76].gameModel.thumbnail)&&b(n,"gamethumbnail",i),33554432&t[0]&&o!==(o=e[76].gameModel.name)&&b(n,"gamename",o),33554432&t[0]&&s!==(s=e[76].gameModel.vendor.name)&&b(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[76].gameModel.isNew)&&b(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[76].gameModel.popularity)&&b(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[76].gameModel.cellSize)&&b(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[76].gameModel.id)&&b(n,"gameid",d),33554432&t[0]&&h!==(h=e[76].gameModel.hasFunMode)&&b(n,"gamefunmode",h),33554432&t[0]&&m!==(m=e[76].gameModel.isFavorite)&&b(n,"gamefavorite",m),2097152&t[0]&&b(n,"showfavoredcategory",e[21]),128&t[0]&&b(n,"currency",e[7]),33554432&t[0]&&p!==(p=e[76].gameModel.details?e[76].gameModel.href:"")&&b(n,"livelobbyendpoint",p),32&t[0]&&b(n,"clientstyling",e[5]),64&t[0]&&b(n,"clientstylingurl",e[6]),1&t[0]&&b(n,"endpoint",e[0]),256&t[0]&&b(n,"livecasino",e[8])},d(e){e&&J(n)}}}function da(e){let n,r=e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android"),a=r&&ha(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),q(e,n,t)},p(e,t){33554432&t[0]&&(r=e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android")),r?a?a.p(e,t):(a=ha(e),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&J(n)}}}function ha(e){let n,r,a,i,o,s,l,c,u,d,h,m,p;return{c(){n=Q("casino-game-thumbnail"),b(n,"class",r=""+(Ta+(e[76].cellSize||"1x1"))),b(n,"part",a=""+(Ta+(e[76].cellSize||"1x1"))),b(n,"session",e[2]),b(n,"userid",e[3]),b(n,"lang",e[1]),b(n,"favorites",e[4]),b(n,"gamethumbnail",i=e[76].gameModel.thumbnail),b(n,"gamename",o=e[76].gameModel.name),b(n,"gamevendor",s=e[76].gameModel.vendor.name),b(n,"gameisnew",l=e[76].gameModel.isNew),b(n,"gamepopularity",c=e[76].gameModel.popularity),b(n,"gamecellsize",u=e[76].gameModel.cellSize),b(n,"gameid",d=e[76].gameModel.id),b(n,"gamefunmode",h=e[76].gameModel.hasFunMode),b(n,"gamefavorite",m=e[76].gameModel.isFavorite),b(n,"showfavoredcategory",e[21]),b(n,"currency",e[7]),b(n,"livelobbyendpoint",p=e[76].gameModel.details?e[76].gameModel.href:""),b(n,"clientstyling",e[5]),b(n,"clientstylingurl",e[6]),b(n,"endpoint",e[0]),b(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(Ta+(e[76].cellSize||"1x1")))&&b(n,"class",r),33554432&t[0]&&a!==(a=""+(Ta+(e[76].cellSize||"1x1")))&&b(n,"part",a),4&t[0]&&b(n,"session",e[2]),8&t[0]&&b(n,"userid",e[3]),2&t[0]&&b(n,"lang",e[1]),16&t[0]&&b(n,"favorites",e[4]),33554432&t[0]&&i!==(i=e[76].gameModel.thumbnail)&&b(n,"gamethumbnail",i),33554432&t[0]&&o!==(o=e[76].gameModel.name)&&b(n,"gamename",o),33554432&t[0]&&s!==(s=e[76].gameModel.vendor.name)&&b(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[76].gameModel.isNew)&&b(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[76].gameModel.popularity)&&b(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[76].gameModel.cellSize)&&b(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[76].gameModel.id)&&b(n,"gameid",d),33554432&t[0]&&h!==(h=e[76].gameModel.hasFunMode)&&b(n,"gamefunmode",h),33554432&t[0]&&m!==(m=e[76].gameModel.isFavorite)&&b(n,"gamefavorite",m),2097152&t[0]&&b(n,"showfavoredcategory",e[21]),128&t[0]&&b(n,"currency",e[7]),33554432&t[0]&&p!==(p=e[76].gameModel.details?e[76].gameModel.href:"")&&b(n,"livelobbyendpoint",p),32&t[0]&&b(n,"clientstyling",e[5]),64&t[0]&&b(n,"clientstylingurl",e[6]),1&t[0]&&b(n,"endpoint",e[0]),256&t[0]&&b(n,"livecasino",e[8])},d(e){e&&J(n)}}}function ma(e){let n,r=e[76].gameModel&&la(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[76].gameModel?r?r.p(e,t):(r=la(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&J(n)}}}function pa(n){let r,a,i,o,s,l,c,u,d=n[26]("gamesCategorySection.viewAll")+"",h=n[11].games.total+"";return{c(){r=Q("a"),a=Q("span"),i=ee(d),o=ee(" ("),s=ee(h),l=ee(")"),re(a,"class","CategoryLoadMore"),re(a,"part","CategoryLoadMore"),re(r,"class","CategoryNameLink"),re(r,"part","CategoryNameLink")},m(e,t){q(e,r,t),K(r,a),K(a,i),K(a,o),K(a,s),K(a,l),c||(u=ne(r,"click",n[40]),c=!0)},p(e,t){67108864&t[0]&&d!==(d=e[26]("gamesCategorySection.viewAll")+"")&&ae(i,d),2048&t[0]&&h!==(h=e[11].games.total+"")&&ae(s,h)},d(e){e&&J(r),c=!1,u()}}}function fa(e){let n;return{c(){n=Q("p"),n.textContent="You don't have any games in this category.",re(n,"class","NoSearchResults"),re(n,"part","NoSearchResults")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function ga(n){let r,e,a,i=n[12],o=[];for(let e=0;e<i.length;e+=1)o[e]=ya(Kr(n,i,e));return{c(){r=Q("ul");for(let e=0;e<o.length;e+=1)o[e].c();re(r,"class",e=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),re(r,"part",a=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){q(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[42](r)},p(t,n){if(25170943&n[0]){let e;for(i=t[12],e=0;e<i.length;e+=1){const a=Kr(t,i,e);o[e]?o[e].p(a,n):(o[e]=ya(a),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}35651584&n[0]&&e!==(e=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&re(r,"class",e),35651584&n[0]&&a!==(a=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&re(r,"part",a)},d(e){e&&J(r),f(o,e),n[42](null)}}}function ya(e){let n,r=function(n){let r,a,i,o,s,l,c,u,d,h,m,p,f,g,y=n[78];const v=()=>n[41](r,y),w=()=>n[41](null,y);return{c(){r=Q("casino-game-thumbnail"),b(r,"session",n[2]),b(r,"userid",n[3]),b(r,"lang",n[1]),b(r,"class",a=""+(Ta+(n[76].cellSize||"1x1"))),b(r,"part",i=""+(Ta+(n[76].cellSize||"1x1"))),b(r,"favorites",n[4]),b(r,"gamethumbnail",o=n[76].thumbnail),b(r,"gamename",s=n[76].name),b(r,"gamevendor",l=n[76].vendor.name),b(r,"gameisnew",c=n[76].isNew),b(r,"gamepopularity",u=n[76].popularity),b(r,"gamecellsize",d=n[76].cellSize),b(r,"gameid",h=n[76].id),b(r,"gamefunmode",m=n[76].hasFunMode),b(r,"gamefavorite",p=n[76].isFavorite),b(r,"connectlive",f=1==n[23][n[76].id]?"connect":"disconnect"),b(r,"visibilityconnect",n[24]),b(r,"currency",n[7]),b(r,"livelobbyendpoint",g=n[76].details?n[76].href:""),b(r,"clientstyling",n[5]),b(r,"clientstylingurl",n[6]),b(r,"endpoint",n[0]),b(r,"livecasino",n[8])},m(e,t){q(e,r,t),v()},p(e,t){n=e,4&t[0]&&b(r,"session",n[2]),8&t[0]&&b(r,"userid",n[3]),2&t[0]&&b(r,"lang",n[1]),4096&t[0]&&a!==(a=""+(Ta+(n[76].cellSize||"1x1")))&&b(r,"class",a),4096&t[0]&&i!==(i=""+(Ta+(n[76].cellSize||"1x1")))&&b(r,"part",i),16&t[0]&&b(r,"favorites",n[4]),4096&t[0]&&o!==(o=n[76].thumbnail)&&b(r,"gamethumbnail",o),4096&t[0]&&s!==(s=n[76].name)&&b(r,"gamename",s),4096&t[0]&&l!==(l=n[76].vendor.name)&&b(r,"gamevendor",l),4096&t[0]&&c!==(c=n[76].isNew)&&b(r,"gameisnew",c),4096&t[0]&&u!==(u=n[76].popularity)&&b(r,"gamepopularity",u),4096&t[0]&&d!==(d=n[76].cellSize)&&b(r,"gamecellsize",d),4096&t[0]&&h!==(h=n[76].id)&&b(r,"gameid",h),4096&t[0]&&m!==(m=n[76].hasFunMode)&&b(r,"gamefunmode",m),4096&t[0]&&p!==(p=n[76].isFavorite)&&b(r,"gamefavorite",p),8392704&t[0]&&f!==(f=1==n[23][n[76].id]?"connect":"disconnect")&&b(r,"connectlive",f),16777216&t[0]&&b(r,"visibilityconnect",n[24]),128&t[0]&&b(r,"currency",n[7]),4096&t[0]&&g!==(g=n[76].details?n[76].href:"")&&b(r,"livelobbyendpoint",g),32&t[0]&&b(r,"clientstyling",n[5]),64&t[0]&&b(r,"clientstylingurl",n[6]),1&t[0]&&b(r,"endpoint",n[0]),256&t[0]&&b(r,"livecasino",n[8]),y!==n[78]&&(w(),y=n[78],v())},d(e){e&&J(r),w()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&J(n)}}}function va(e){let n,r,a=e[26]("gamesCategorySection.searchedItems")+"";return{c(){n=Q("h3"),r=ee(a),re(n,"class","StatusText"),re(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&a!==(a=e[26]("gamesCategorySection.searchedItems")+"")&&ae(r,a)},d(e){e&&J(n)}}}function wa(e){let n,r,a=e[26]("gamesCategorySection.noResults")+"";return{c(){n=Q("h3"),r=ee(a),re(n,"class","StatusText"),re(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&a!==(a=e[26]("gamesCategorySection.noResults")+"")&&ae(r,a)},d(e){e&&J(n)}}}function ba(e){let n,r,a=e[26]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=Q("h3"),r=ee(a),re(n,"class","StatusText"),re(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&a!==(a=e[26]("gamesCategorySection.recentSearchedItems")+"")&&ae(r,a)},d(e){e&&J(n)}}}function Sa(e){let n;return{c(){n=Q("p"),n.textContent="Waiting",re(n,"class","SearchWaiting"),re(n,"part","SearchWaiting")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function _a(t){let r,a,i=!t[18]&&Ca(t),o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=xa(qr(t,o,e));return{c(){i&&i.c(),r=te(),a=Q("ul");for(let e=0;e<s.length;e+=1)s[e].c();re(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),re(a,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),q(e,r,t),q(e,a,t);for(let e=0;e<s.length;e+=1)s[e].m(a,null)},p(t,n){if(t[18]?i&&(i.d(1),i=null):i?i.p(t,n):(i=Ca(t),i.c(),i.m(r.parentNode,r)),70143&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){const i=qr(t,o,e);s[e]?s[e].p(i,n):(s[e]=xa(i),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){i&&i.d(e),e&&J(r),e&&J(a),f(s,e)}}}function Ca(e){let n,r,a=e[26]("gamesCategorySection.noRecentSearch")+"";return{c(){n=Q("p"),r=ee(a),re(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(pr(e[27])?"NoRecentSearchesMobile":"")),re(n,"part","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(pr(e[27])?"NoRecentSearchesMobile":""))},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&a!==(a=e[26]("gamesCategorySection.noRecentSearch")+"")&&ae(r,a)},d(e){e&&J(n)}}}function xa(e){let n,r,a,i,o,s,l,c,u,d,h,m,p;return{c(){n=Q("casino-game-thumbnail"),b(n,"class",r=""+(Ta+(e[76].cellSize||"1x1"))),b(n,"part",a=""+(Ta+(e[76].cellSize||"1x1"))),b(n,"session",e[2]),b(n,"userid",e[3]),b(n,"lang",e[1]),b(n,"searchitem",e[16]),b(n,"favorites",e[4]),b(n,"gamethumbnail",i=e[76].thumbnail),b(n,"gamename",o=e[76].name),b(n,"gamevendor",s=e[76].vendor.name),b(n,"gameisnew",l=e[76].isNew),b(n,"gamepopularity",c=e[76].popularity),b(n,"gamecellsize",u=e[76].cellSize),b(n,"gameid",d=e[76].id),b(n,"gamefunmode",h=e[76].hasFunMode),b(n,"gamefavorite",m=e[76].isFavorite),b(n,"currency",e[7]),b(n,"livelobbyendpoint",p=e[76].details?e[76].href:""),b(n,"clientstyling",e[5]),b(n,"clientstylingurl",e[6]),b(n,"endpoint",e[0]),b(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){4096&t[0]&&r!==(r=""+(Ta+(e[76].cellSize||"1x1")))&&b(n,"class",r),4096&t[0]&&a!==(a=""+(Ta+(e[76].cellSize||"1x1")))&&b(n,"part",a),4&t[0]&&b(n,"session",e[2]),8&t[0]&&b(n,"userid",e[3]),2&t[0]&&b(n,"lang",e[1]),65536&t[0]&&b(n,"searchitem",e[16]),16&t[0]&&b(n,"favorites",e[4]),4096&t[0]&&i!==(i=e[76].thumbnail)&&b(n,"gamethumbnail",i),4096&t[0]&&o!==(o=e[76].name)&&b(n,"gamename",o),4096&t[0]&&s!==(s=e[76].vendor.name)&&b(n,"gamevendor",s),4096&t[0]&&l!==(l=e[76].isNew)&&b(n,"gameisnew",l),4096&t[0]&&c!==(c=e[76].popularity)&&b(n,"gamepopularity",c),4096&t[0]&&u!==(u=e[76].cellSize)&&b(n,"gamecellsize",u),4096&t[0]&&d!==(d=e[76].id)&&b(n,"gameid",d),4096&t[0]&&h!==(h=e[76].hasFunMode)&&b(n,"gamefunmode",h),4096&t[0]&&m!==(m=e[76].isFavorite)&&b(n,"gamefavorite",m),128&t[0]&&b(n,"currency",e[7]),4096&t[0]&&p!==(p=e[76].details?e[76].href:"")&&b(n,"livelobbyendpoint",p),32&t[0]&&b(n,"clientstyling",e[5]),64&t[0]&&b(n,"clientstylingurl",e[6]),1&t[0]&&b(n,"endpoint",e[0]),256&t[0]&&b(n,"livecasino",e[8])},d(e){e&&J(n)}}}function Ma(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function Fa(e){let n;return{c(){n=Q("p"),n.textContent="404 Error - No result found.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function ka(n){let r;function a(e){return e[10]?ea:e[14]?Qr:Jr}let i=a(n),o=i(n);return{c(){r=Q("div"),o.c(),this.c=Z,re(r,"class","CasinoGamesCategorySectionContainer"),re(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){q(e,r,t),o.m(r,null),n[45](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&J(r),o.d(),n[45](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends T{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:9.6px;text-align:center;font-size:17.6px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6.4px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:4.8px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14.4px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11.2px;padding:3.2px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:4.8px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:1.6px;margin:0 1px;margin-right:6.4px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:4.8px;padding:1.6px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 20px 5px 20px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",k(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Zr,Hr,n,{session:46,userid:47,lang:48,clientstyling:49,clientstylingurl:50,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:51,searchitem:52,gamefavorite:0,showfavoredcategory:53,showgamename:8,currency:54,endpoint:55,livelobbyendpoint:56,connectlive:57,visibilityconnect:58,MONEY_WHEEL_COLOR_MAP:59,ROULETTE_COLOR_MAP:60},[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),M()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","currency","endpoint","livelobbyendpoint","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[46]}set session(e){this.$set({session:e}),M()}get userid(){return this.$$.ctx[47]}set userid(e){this.$set({userid:e}),M()}get lang(){return this.$$.ctx[48]}set lang(e){this.$set({lang:e}),M()}get clientstyling(){return this.$$.ctx[49]}set clientstyling(e){this.$set({clientstyling:e}),M()}get clientstylingurl(){return this.$$.ctx[50]}set clientstylingurl(e){this.$set({clientstylingurl:e}),M()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),M()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),M()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),M()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),M()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),M()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),M()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),M()}get gamefunmode(){return this.$$.ctx[51]}set gamefunmode(e){this.$set({gamefunmode:e}),M()}get searchitem(){return this.$$.ctx[52]}set searchitem(e){this.$set({searchitem:e}),M()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),M()}get showfavoredcategory(){return this.$$.ctx[53]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),M()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),M()}get currency(){return this.$$.ctx[54]}set currency(e){this.$set({currency:e}),M()}get endpoint(){return this.$$.ctx[55]}set endpoint(e){this.$set({endpoint:e}),M()}get livelobbyendpoint(){return this.$$.ctx[56]}set livelobbyendpoint(e){this.$set({livelobbyendpoint:e}),M()}get connectlive(){return this.$$.ctx[57]}set connectlive(e){this.$set({connectlive:e}),M()}get visibilityconnect(){return this.$$.ctx[58]}set visibilityconnect(e){this.$set({visibilityconnect:e}),M()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[59]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[60]}});const Ta="game-tile-";function Ga(e,t,s){let n;Re(e,mr,e=>s(26,n=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{i(l.next(e))}catch(e){t(e)}}function a(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,a)}i((l=l.apply(e,o||[])).next())})};let a,i,o,l,c,u,d,h,m,{endpoint:p=""}=t,{datasource:f=""}=t,{lang:g=""}=t,{session:y=""}=t,{userid:v=""}=t,{favorites:w=""}=t,{clientstyling:b=""}=t,{clientstylingurl:S=""}=t,{currency:_=""}=t,{categoryid:C=""}=t,{categoryindex:x=0}=t,{categorygames:M=0}=t,{livecasino:F="false"}=t,{once:k=!0}=t,{top:T=0}=t,{bottom:G=0}=t,{left:E=0}=t,{right:L=0}=t,I=!1,P=!0,D=window.navigator.userAgent,R=[],O=!0,A=40,N=!1,$=!1,U=!1,Y=!1,B=!0,H=!1,W=!1,j=!1,z=new Array(1e4),V={},Z={items:[],count:0,name:""};Object.keys(yr).forEach(e=>{Vn(e,yr[e])});let X=new IntersectionObserver((e,t)=>{e.forEach(n=>r(void 0,void 0,void 0,function*(){var e=n.target.gameid,t=n.target.elems_index;n.isIntersecting?(1.2*t>A&&J(C),s(23,V[e]=1,V)):s(23,V[e]=0,V)}))});const K=(e,r,a,t=0)=>{let i=new URL(`${p}/casino/groups/${f}/${C}`),o=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",fr(D)),i.searchParams.append("pagination",`games(offset=${r},limit=${a})`),i.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:C},window.location.href),o&&o[C])if(o[C].length&&!1===P&&!1===H){let t="";s(17,Y=!0),o[C].forEach(e=>{t+=t?`, id=${e}`:`id=${e}`}),i.searchParams.append("filter",`games(vendor(${t}))`)}else s(17,Y=!1);fetch(i).then(e=>e.json()).then(e=>{s(38,m=!0),s(10,I=!1),c=e.games.total,t(e)},e=>{s(10,I=!0),console.error(e),n(e)})})},q=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(14,N=!1),P=!1,s(13,O=!1),W=!0,s(12,R=t.data.mostPlayedGames),s(11,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(14,N=!0),W=!1,s(15,$=!0),0<t.data.searchData.length?(s(12,R=t.data.searchData),s(18,B=!0),R&&R.forEach(e=>{e.isFavorite=Q(e.id)})):(s(12,R=[]),s(18,B=!1));break;case"OutOfRecentSearches":s(14,N=!1),s(15,$=!1);break;case"SearchData":s(14,N=!0),W=!1,s(15,$=!1),s(12,R=t.data.searchData.items||[]),s(16,U=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),R&&R.forEach(e=>{e.isFavorite=Q(e.id)});break;case`CategoryData_${C}`:s(14,N=!1),P=!0,s(13,O=!0),s(16,U=!1),W=!1,j=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),K(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(11,o=e),s(12,R=o.games.items),R&&R.forEach(e=>{e.isFavorite=Q(e.id)})});break;case"CategoryChange":A=20;break;case"CategoryUpdate":s(14,N=!1),P=!1,s(16,U=!1),W=!1,s(13,O=!1),j=!0,s(29,C=t.data.itemId),K(0,0,A).then(e=>{s(11,o=e),o.games.items.forEach(e=>{e.isFavorite=Q(e.id)}),s(12,R=o.games.items),s(13,O=!1)});break;case"FavoriteUpdate":s(14,N=!1),W=!1,P=!0,s(12,R=o.games.items),R.forEach(e=>{e.isFavorite=Q(e.id)}),s(13,O=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items,t.data.triggerFactor&&!H?window.postMessage({type:"FavoriteUpdate"},window.location.href):P||W||window.postMessage({type:"CategoryUpdate",itemId:C},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&(e=t.data.receivedFavoriteResults.items,e.length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(25,Z.items=(n=e,Z.items,r=window.navigator.userAgent,pr(r)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),Z),s(25,Z.name="Favorites",Z),s(21,H=!0));break;case"UserSessionID":a=t.data.session,i=t.data.userID,"true"==w&&i&&i.length&&a&&0<a.length&&(e=>{let r={method:"GET",headers:{"X-SessionID":a}};new Promise((t,n)=>{fetch(e,r).then(e=>e.json()).then(e=>{d=e?e.items:[],R.forEach(e=>{e.isFavorite=Q(e.id)});e=R;s(12,R=void 0),s(12,R=e),t(d)}).catch(e=>{console.error(e),n(e)})})})(`${p}/player/${i}/favorites/`)}var n,r},J=e=>{A+=1,A<=c&&K(0,0,A).then(e=>{s(11,o=e),s(12,R=o.games.items),R.forEach(e=>{e.isFavorite=Q(e.id)})})},Q=t=>!!d&&-1!==d.findIndex(e=>e.id==t),ee=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return Oe(()=>(window.addEventListener("message",q,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",q)})),e.$$set=e=>{"endpoint"in e&&s(0,p=e.endpoint),"datasource"in e&&s(30,f=e.datasource),"lang"in e&&s(1,g=e.lang),"session"in e&&s(2,y=e.session),"userid"in e&&s(3,v=e.userid),"favorites"in e&&s(4,w=e.favorites),"clientstyling"in e&&s(5,b=e.clientstyling),"clientstylingurl"in e&&s(6,S=e.clientstylingurl),"currency"in e&&s(7,_=e.currency),"categoryid"in e&&s(29,C=e.categoryid),"categoryindex"in e&&s(31,x=e.categoryindex),"categorygames"in e&&s(32,M=e.categorygames),"livecasino"in e&&s(8,F=e.livecasino),"once"in e&&s(33,k=e.once),"top"in e&&s(34,T=e.top),"bottom"in e&&s(35,G=e.bottom),"left"in e&&s(36,E=e.left),"right"in e&&s(37,L=e.right)},e.$$.update=()=>{512&e.$$.dirty[0]|128&e.$$.dirty[1]&&m&&z&&j&&z.forEach((e,t)=>{e&&(e.elems_index=t,X.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&b&&(()=>{let e=document.createElement("style");e.innerHTML=b,setTimeout(()=>{h.appendChild(e)})})(),64&e.$$.dirty[0]&&S&&(()=>{let t=document.createElement("style");fetch(new URL(S)).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)})})()},[p,g,y,v,w,b,S,_,F,z,I,o,R,O,N,$,U,Y,B,l,u,H,h,V,"",Z,n,D,ee,C,f,x,M,k,T,G,E,L,m,function(e){Ae[e?"unshift":"push"](()=>{u=e,s(20,u)})},e=>ee(o.id,o),function(e,t){Ae[e?"unshift":"push"](()=>{z[t]=e,s(9,z)})},function(e){Ae[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){Ae[e?"unshift":"push"](()=>{u=e,s(20,u)})},function(e){Ae[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){Ae[e?"unshift":"push"](()=>{h=e,s(22,h)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends T{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size: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:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:12.8px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",k(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ga,ka,n,{endpoint:0,datasource:30,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:29,categoryindex:31,categorygames:32,livecasino:8,once:33,top:34,bottom:35,left:36,right:37},[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),M()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categoryindex","categorygames","livecasino","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),M()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$set({datasource:e}),M()}get lang(){return this.$$.ctx[1]}set lang(e){this.$set({lang:e}),M()}get session(){return this.$$.ctx[2]}set session(e){this.$set({session:e}),M()}get userid(){return this.$$.ctx[3]}set userid(e){this.$set({userid:e}),M()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$set({favorites:e}),M()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$set({clientstyling:e}),M()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$set({clientstylingurl:e}),M()}get currency(){return this.$$.ctx[7]}set currency(e){this.$set({currency:e}),M()}get categoryid(){return this.$$.ctx[29]}set categoryid(e){this.$set({categoryid:e}),M()}get categoryindex(){return this.$$.ctx[31]}set categoryindex(e){this.$set({categoryindex:e}),M()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$set({categorygames:e}),M()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$set({livecasino:e}),M()}get once(){return this.$$.ctx[33]}set once(e){this.$set({once:e}),M()}get top(){return this.$$.ctx[34]}set top(e){this.$set({top:e}),M()}get bottom(){return this.$$.ctx[35]}set bottom(e){this.$set({bottom:e}),M()}get left(){return this.$$.ctx[36]}set left(e){this.$set({left:e}),M()}get right(){return this.$$.ctx[37]}set right(e){this.$set({right:e}),M()}});const Ea={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}}};function La(e,t,n){const r=e.slice();return r[21]=t[n],r[23]=n,r}function Ia(n){let r,a,i,o,s,l,c,u=!n[4]&&Pa(n),d=n[4]&&Ra(n);return{c(){r=Q("div"),a=Q("div"),i=Q("span"),i.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=te(),u&&u.c(),s=te(),d&&d.c(),re(i,"class","ModalCloseBtn"),re(i,"part","ModalCloseBtn"),re(i,"role","button"),re(a,"class","ModalContainer"),re(a,"part","ModalContainer"),re(r,"class","ModalWindow"),re(r,"part","ModalWindow")},m(e,t){q(e,r,t),K(r,a),K(a,i),K(a,o),u&&u.m(a,null),K(a,s),d&&d.m(a,null),l||(c=ne(i,"click",n[8]),l=!0)},p(e,t){e[4]?u&&(u.d(1),u=null):u?u.p(e,t):(u=Pa(e),u.c(),u.m(a,s)),e[4]?d?d.p(e,t):(d=Ra(e),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},d(e){e&&J(r),u&&u.d(),d&&d.d(),l=!1,c()}}}function Pa(t){let n,r,a,i,o,s,e=t[5]("randomGame.randomGameLoading")+"",l=t[1],c=[];for(let e=0;e<l.length;e+=1)c[e]=Da(La(t,l,e));return{c(){n=Q("div"),r=Q("main"),a=Q("div");for(let e=0;e<c.length;e+=1)c[e].c();i=te(),o=Q("p"),s=ee(e),re(a,"class","items"),re(a,"part","items"),x(a,"transform","translateY("+t[3]+"px)"),re(r,"class","RandomGamesSliderWrapper"),re(r,"part","RandomGamesSliderWrapper"),re(o,"class","RandomGameLoading"),re(o,"part","RandomGameLoading"),re(n,"class","RandomGameWrapper"),re(n,"part","RandomGameWrapper")},m(e,t){q(e,n,t),K(n,r),K(r,a);for(let e=0;e<c.length;e+=1)c[e].m(a,null);K(n,i),K(n,o),K(o,s)},p(t,n){if(2&n){let e;for(l=t[1],e=0;e<l.length;e+=1){var r=La(t,l,e);c[e]?c[e].p(r,n):(c[e]=Da(r),c[e].c(),c[e].m(a,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}8&n&&x(a,"transform","translateY("+t[3]+"px)"),32&n&&e!==(e=t[5]("randomGame.randomGameLoading")+"")&&ae(s,e)},d(e){e&&J(n),f(c,e)}}}function Da(e){let n,r,a,i,o,s;return{c(){n=Q("div"),r=Q("img"),s=te(),re(r,"class","RandomGameImage"),re(r,"part","RandomGameImage"),r.src!==(a=e[21].thumbnail)&&re(r,"src",a),re(r,"alt",i=e[21].name),re(r,"title",o=e[21].name),re(n,"class","item"),re(n,"part","item")},m(e,t){q(e,n,t),K(n,r),K(n,s)},p(e,t){2&t&&r.src!==(a=e[21].thumbnail)&&re(r,"src",a),2&t&&i!==(i=e[21].name)&&re(r,"alt",i),2&t&&o!==(o=e[21].name)&&re(r,"title",o)},d(e){e&&J(n)}}}function Ra(n){let r,a,i,o,s,l,c,u,d,h,m,p,f,g,y,v,w,b,S,_,C=n[0].name+"",x=n[0].vendor.name+"",M=n[5]("randomGame.playNowRandomGame")+"";return{c(){r=Q("div"),a=Q("div"),i=Q("img"),c=te(),u=Q("button"),u.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',d=te(),h=Q("div"),m=Q("p"),p=ee(C),f=te(),g=Q("p"),y=ee(x),v=te(),w=Q("button"),b=ee(M),re(i,"class","RandomGameImage"),re(i,"part","RandomGameImage"),i.src!==(o=n[0].thumbnail)&&re(i,"src",o),re(i,"alt",s=n[0].name),re(i,"title",l=n[0].name),re(u,"class","RandomTryAgain"),re(u,"part","RandomTryAgain"),re(a,"class","item"),re(a,"part","item"),re(m,"class","RandomGameTitle"),re(m,"part","RandomGameTitle"),re(g,"class","RandomGameVendor"),re(g,"part","RandomGameVendor"),re(w,"class","RandomGamePlay"),re(w,"part","RandomGamePlay"),re(h,"class","RandomGameDetails"),re(h,"part","RandomGameDetails"),re(r,"class","RandomGameWrapper"),re(r,"part","RandomGameWrapper")},m(e,t){q(e,r,t),K(r,a),K(a,i),K(a,c),K(a,u),K(r,d),K(r,h),K(h,m),K(m,p),K(h,f),K(h,g),K(g,y),K(h,v),K(h,w),K(w,b),S||(_=[ne(u,"click",n[13]),ne(w,"click",n[14])],S=!0)},p(e,t){1&t&&i.src!==(o=e[0].thumbnail)&&re(i,"src",o),1&t&&s!==(s=e[0].name)&&re(i,"alt",s),1&t&&l!==(l=e[0].name)&&re(i,"title",l),1&t&&C!==(C=e[0].name+"")&&ae(p,C),1&t&&x!==(x=e[0].vendor.name+"")&&ae(y,x),32&t&&M!==(M=e[5]("randomGame.playNowRandomGame")+"")&&ae(b,M)},d(e){e&&J(r),S=!1,X(_)}}}function Oa(n){let r,a,i,o,s,l,c,u,d,h,m,p=n[5]("randomGame.playRandomGame")+"",f=n[2]&&Ia(n);return{c(){r=Q("div"),a=Q("div"),f&&f.c(),i=te(),o=Q("div"),s=Q("button"),l=Q("span"),c=ee(p),u=te(),d=Q("span"),d.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill-rule:evenodd;clip-rule:evenodd;fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M161,16.7c-2.7,0-5.5,0.5-8.1,1.6l-44.2,18.3C98.1,41,93,53.2,97.4,63.8l18.3,44.2 c4.4,10.6,16.6,15.7,27.2,11.3l44.2-18.3c10.6-4.4,15.7-16.6,11.3-27.2l-18.3-44.2C176.8,21.6,169.1,16.7,161,16.7L161,16.7z M161,25c4.9,0,9.4,2.9,11.4,7.8l18.3,44.2c2.7,6.5-0.3,13.7-6.8,16.3l-44.2,18.3c-6.5,2.7-13.7-0.3-16.3-6.8l-18.3-44.2 c-2.7-6.5,0.3-13.7,6.8-16.3L156.1,26C157.7,25.3,159.4,25,161,25L161,25z M127.1,54.2c-1.7,0-3.2,0.7-4.4,1.8 c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4 C130.3,54.8,128.7,54.2,127.1,54.2z M147.9,62.5c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4 c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C151.2,63.2,149.6,62.5,147.9,62.5z M168.8,70.8 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C172,71.5,170.4,70.8,168.8,70.8L168.8,70.8z M39,79.2c-8.1,0.1-15.8,4.9-19.1,12.9 L1.6,136.2c-4.4,10.6,0.7,22.8,11.3,27.2l44.2,18.3c10.6,4.4,22.8-0.7,27.2-11.3l18.3-44.2c4.4-10.6-0.7-22.8-11.3-27.2L47.1,80.8 C44.5,79.7,41.7,79.1,39,79.2L39,79.2z M39,87.5c1.6,0,3.3,0.3,4.9,1l44.2,18.3c6.5,2.7,9.4,9.9,6.8,16.3l-18.3,44.2 c-2.7,6.5-9.9,9.4-16.3,6.8l-44.2-18.3c-6.5-2.7-9.4-9.9-6.8-16.3l18.3-44.2C29.6,90.4,34.1,87.5,39,87.5L39,87.5z M44.7,99.4 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C47.9,100,46.3,99.4,44.7,99.4z M75.5,112.1c-1.7,0-3.2,0.7-4.4,1.8 c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4 c0-1.7-0.7-3.2-1.8-4.4C78.7,112.8,77.1,112.1,75.5,112.1z M36.7,118.6c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4 s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4 C39.9,119.3,38.3,118.6,36.7,118.6z M67.5,131.4c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4 c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C70.7,132,69.1,131.4,67.5,131.4z M28.7,137.9c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8 c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C32,138.5,30.4,137.9,28.7,137.9z M59.5,150.6 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C62.8,151.3,61.2,150.6,59.5,150.6z"></path></svg>',this.c=Z,re(s,"class","RandomButton"),re(s,"part","RandomButton"),re(o,"class","RandomButtonWrapper"),re(o,"part","RandomButtonWrapper"),re(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),K(r,a),f&&f.m(a,null),K(a,i),K(a,o),K(o,s),K(s,l),K(l,c),K(s,u),K(s,d),h||(m=ne(s,"click",n[15]),h=!0)},p(e,[t]){e[2]?f?f.p(e,t):(f=Ia(e),f.c(),f.m(a,i)):f&&(f.d(1),f=null),32&t&&p!==(p=e[5]("randomGame.playRandomGame")+"")&&ae(c,p)},i:Z,o:Z,d(e){e&&J(r),f&&f.d(),h=!1,m()}}}function Aa(t,e,n){let r;Re(t,mr,e=>n(5,r=e));let a,{endpoint:i=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,c=[],u="",d=!1,h=0,m=0,p=!1,f=window.navigator.userAgent;Object.keys(Ea).forEach(e=>{Vn(e,Ea[e])});const g=()=>{n(3,h=0),m=0,n(4,p=!1),n(0,u=c[Math.floor(Math.random()*c.length)]),n(2,d=!0);let e=setInterval(()=>{n(3,h-=100),m++,20==m&&(n(4,p=!0),clearInterval(e))},100)},y=()=>{window.postMessage({type:s,gameId:u.gId},window.location.href),n(2,d=!1)};return t.$$set=e=>{"endpoint"in e&&n(9,i=e.endpoint),"datasource"in e&&n(10,o=e.datasource),"gameevent"in e&&n(11,s=e.gameevent),"lang"in e&&n(12,l=e.lang)},t.$$.update=()=>{var e;4096&t.$$.dirty&&l&&(e=l,rr.set(e)),1536&t.$$.dirty&&i&&o&&(()=>{let e=new URL(`${i}/casino/games`);e.searchParams.append("platform",fr(f)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),fetch(e.href).then(e=>e.json()).then(e=>{c=e.items,n(1,a=c.slice(0,19))})})()},[u,a,d,h,p,r,g,y,()=>{n(2,d=!1)},i,o,s,l,()=>g(),()=>y(),()=>g()]}function Na(e,t,n){const r=e.slice();return r[119]=t[n],r[121]=n,r}function $a(n){let r,a,i,o,s,l="PC"!==fr(n[40])&&"false"===n[9]&&n[36],c=l&&Ya();function u(e){return"false"===e[9]?Ha:Ba}let d=u(n),h=d(n),m="true"==n[14]&&ri(n);function p(e){return e[17]?ci:e[24]?li:e[27]?si:e[22]?oi:e[28]?ii:e[23]?void 0:ai}let f=p(n),g=f&&f(n),y=n[19]&&"true"===n[12]&&mi(n);return{c(){r=Q("section"),c&&c.c(),a=te(),h.c(),i=te(),m&&m.c(),o=te(),g&&g.c(),s=te(),y&&y.c(),re(r,"class","CategoriesLobby"),re(r,"part","CategoriesLobby"),x(r,"max-width",n[11]+"px")},m(e,t){q(e,r,t),c&&c.m(r,null),K(r,a),h.m(r,null),K(r,i),m&&m.m(r,null),K(r,o),g&&g.m(r,null),K(r,s),y&&y.m(r,null),n[71](r)},p(e,t){512&t[0]|32&t[1]&&(l="PC"!==fr(e[40])&&"false"===e[9]&&e[36]),l?c||(c=Ya(),c.c(),c.m(r,a)):c&&(c.d(1),c=null),d===(d=u(e))&&h?h.p(e,t):(h.d(1),h=d(e),h&&(h.c(),h.m(r,i))),"true"==e[14]?m?m.p(e,t):(m=ri(e),m.c(),m.m(r,o)):m&&(m.d(1),m=null),f===(f=p(e))&&g?g.p(e,t):(g&&g.d(1),g=f&&f(e),g&&(g.c(),g.m(r,s))),e[19]&&"true"===e[12]?y?y.p(e,t):(y=mi(e),y.c(),y.m(r,null)):y&&(y.d(1),y=null),2048&t[0]&&x(r,"max-width",e[11]+"px")},d(e){e&&J(r),c&&c.d(),h.d(),m&&m.d(),g&&g.d(),y&&y.d(),n[71](null)}}}function Ua(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function Ya(){let n;return{c(){n=Q("div"),re(n,"class","SearchBarPlaceholder"),re(n,"part","SearchBarPlaceholder")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function Ba(n){let r,a,i,o,s,l,c,u,d,h,m,p,f,g,y,v,w="PC"===fr(n[40])&&n[15].length||"PC"!==fr(n[40]),b=!n[36]&&Wa(),S=w&&ja(n),_=!n[22]&&!n[27]&&!n[36]&&!n[28]&&!n[23]&&!n[26]&&!n[24]&&!n[25]&&za(n);return{c(){r=Q("div"),a=Q("div"),i=Q("label"),i.textContent="Search casino games",o=te(),s=Q("div"),b&&b.c(),l=te(),c=Q("input"),d=te(),S&&S.c(),p=te(),_&&_.c(),re(i,"for","search"),re(i,"class","SrOnly"),re(i,"part","SrOnly"),re(c,"id","SearchField"),re(c,"class","SearchInput"),re(c,"part","SearchInput"),re(c,"placeholder",u="PC"===fr(n[40])?n[39]("casinoPage.search"):n[39]("casinoPage.searchMobile")),re(c,"type","search"),re(s,"class","SearchWrapper"),re(s,"part","SearchWrapper"),re(a,"class",h="SearchContainer "+(n[27]||n[22]||n[28]||n[25]?"":"SearchTruncated")),re(a,"part",m="SearchContainer "+(n[27]||n[22]||n[28]||n[25]?"":"SearchTruncated")),re(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==fr(n[40])?"CategoriesHeaderMobileSection":"")+" "+(n[36]?"SearchMobileActive":"")+" "+(n[36]||n[24]&&"PC"!==fr(n[40])&&!fi?"CategoriesHeaderSearchActive":"")+(n[30]&&n[36]?"SearchStickTop":"")),re(r,"part",g="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==fr(n[40])?"CategoriesHeaderMobileSection":"")+" "+(n[36]?"SearchMobileActive":"")+" "+(n[36]||n[24]&&"PC"!==fr(n[40])&&!fi?"CategoriesHeaderSearchActive":"")+(n[30]&&n[36]?"SearchStickTop":"")),x(r,"top",n[30]&&n[36]?gi+"px":"")},m(e,t){q(e,r,t),K(r,a),K(a,i),K(a,o),K(a,s),b&&b.m(s,null),K(s,l),K(s,c),n[64](c),C(c,n[15]),K(s,d),S&&S.m(s,null),K(r,p),_&&_.m(r,null),n[69](r),y||(v=[ne(c,"focus",n[42]),ne(c,"blur",n[43]),ne(c,"input",n[65]),ne(c,"focus",n[44])],y=!0)},p(e,t){e[36]?b&&(b.d(1),b=null):b||(b=Wa(),b.c(),b.m(s,l)),256&t[1]&&u!==(u="PC"===fr(e[40])?e[39]("casinoPage.search"):e[39]("casinoPage.searchMobile"))&&re(c,"placeholder",u),32768&t[0]&&C(c,e[15]),32768&t[0]&&(w="PC"===fr(e[40])&&e[15].length||"PC"!==fr(e[40])),w?S?S.p(e,t):(S=ja(e),S.c(),S.m(s,null)):S&&(S.d(1),S=null),440401920&t[0]&&h!==(h="SearchContainer "+(e[27]||e[22]||e[28]||e[25]?"":"SearchTruncated"))&&re(a,"class",h),440401920&t[0]&&m!==(m="SearchContainer "+(e[27]||e[22]||e[28]||e[25]?"":"SearchTruncated"))&&re(a,"part",m),e[22]||e[27]||e[36]||e[28]||e[23]||e[26]||e[24]||e[25]?_&&(_.d(1),_=null):_?_.p(e,t):(_=za(e),_.c(),_.m(r,null)),1090519040&t[0]|32&t[1]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==fr(e[40])?"CategoriesHeaderMobileSection":"")+" "+(e[36]?"SearchMobileActive":"")+" "+(e[36]||e[24]&&"PC"!==fr(e[40])&&!fi?"CategoriesHeaderSearchActive":"")+(e[30]&&e[36]?"SearchStickTop":""))&&re(r,"class",f),1090519040&t[0]|32&t[1]&&g!==(g="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==fr(e[40])?"CategoriesHeaderMobileSection":"")+" "+(e[36]?"SearchMobileActive":"")+" "+(e[36]||e[24]&&"PC"!==fr(e[40])&&!fi?"CategoriesHeaderSearchActive":"")+(e[30]&&e[36]?"SearchStickTop":""))&&re(r,"part",g),1073741824&t[0]|32&t[1]&&x(r,"top",e[30]&&e[36]?gi+"px":"")},d(e){e&&J(r),b&&b.d(),n[64](null),S&&S.d(),_&&_.d(),n[69](null),y=!1,X(v)}}}function Ha(n){let r,a,i,o,s,l,c,u,d,h,m,p,f,g,y,v,w="PC"===fr(n[40])&&n[15].length||"PC"!==fr(n[40]),b=!n[36]&&qa(),S=w&&Ja(n),_=!n[22]&&!n[27]&&!n[36]&&!n[28]&&!n[23]&&!n[24]&&!n[26]&&!n[25]&&Qa(n);return{c(){r=Q("div"),a=Q("div"),i=Q("label"),i.textContent="Search casino games",o=te(),s=Q("div"),b&&b.c(),l=te(),c=Q("input"),d=te(),S&&S.c(),p=te(),_&&_.c(),re(i,"for","search"),re(i,"class","SrOnly"),re(i,"part","SrOnly"),re(c,"id","SearchField"),re(c,"class","SearchInput"),re(c,"part","SearchInput"),re(c,"placeholder",u="PC"===fr(n[40])?n[39]("casinoPage.search"):n[39]("casinoPage.searchMobile")),re(c,"type","search"),re(s,"class","SearchWrapper"),re(s,"part","SearchWrapper"),re(a,"class",h="SearchContainer "+(n[27]||n[22]||n[28]||n[25]?"":"SearchTruncated")),re(a,"part",m="SearchContainer "+(n[27]||n[22]||n[28]||n[25]?"":"SearchTruncated")),re(r,"class",f="CategoriesHeaderSection "+("PC"!==fr(n[40])?"CategoriesHeaderMobileSection":"")+" "+(n[36]?"SearchMobileActive":"")+" "+(n[36]||n[24]&&"PC"!==fr(n[40])&&!fi?"CategoriesHeaderSearchActive":"")+" "+(n[30]&&n[36]?"SearchStickTop":"")),x(r,"top",n[30]&&n[36]?gi+"px":""),re(r,"part",g="CategoriesHeaderSection "+("PC"!==fr(n[40])?"CategoriesHeaderMobileSection":"")+" "+(n[36]?"SearchMobileActive":"")+" "+(n[36]||n[24]&&"PC"!==fr(n[40])&&!fi?"CategoriesHeaderSearchActive":"")+" "+(n[30]&&n[36]?"SearchStickTop":""))},m(e,t){q(e,r,t),K(r,a),K(a,i),K(a,o),K(a,s),b&&b.m(s,null),K(s,l),K(s,c),n[58](c),C(c,n[15]),K(s,d),S&&S.m(s,null),K(r,p),_&&_.m(r,null),n[63](r),y||(v=[ne(c,"focus",n[42]),ne(c,"blur",n[43]),ne(c,"input",n[59]),ne(c,"focus",n[44])],y=!0)},p(e,t){e[36]?b&&(b.d(1),b=null):b||(b=qa(),b.c(),b.m(s,l)),256&t[1]&&u!==(u="PC"===fr(e[40])?e[39]("casinoPage.search"):e[39]("casinoPage.searchMobile"))&&re(c,"placeholder",u),32768&t[0]&&C(c,e[15]),32768&t[0]&&(w="PC"===fr(e[40])&&e[15].length||"PC"!==fr(e[40])),w?S?S.p(e,t):(S=Ja(e),S.c(),S.m(s,null)):S&&(S.d(1),S=null),440401920&t[0]&&h!==(h="SearchContainer "+(e[27]||e[22]||e[28]||e[25]?"":"SearchTruncated"))&&re(a,"class",h),440401920&t[0]&&m!==(m="SearchContainer "+(e[27]||e[22]||e[28]||e[25]?"":"SearchTruncated"))&&re(a,"part",m),e[22]||e[27]||e[36]||e[28]||e[23]||e[24]||e[26]||e[25]?_&&(_.d(1),_=null):_?_.p(e,t):(_=Qa(e),_.c(),_.m(r,null)),1090519040&t[0]|32&t[1]&&f!==(f="CategoriesHeaderSection "+("PC"!==fr(e[40])?"CategoriesHeaderMobileSection":"")+" "+(e[36]?"SearchMobileActive":"")+" "+(e[36]||e[24]&&"PC"!==fr(e[40])&&!fi?"CategoriesHeaderSearchActive":"")+" "+(e[30]&&e[36]?"SearchStickTop":""))&&re(r,"class",f),1073741824&t[0]|32&t[1]&&x(r,"top",e[30]&&e[36]?gi+"px":""),1090519040&t[0]|32&t[1]&&g!==(g="CategoriesHeaderSection "+("PC"!==fr(e[40])?"CategoriesHeaderMobileSection":"")+" "+(e[36]?"SearchMobileActive":"")+" "+(e[36]||e[24]&&"PC"!==fr(e[40])&&!fi?"CategoriesHeaderSearchActive":"")+" "+(e[30]&&e[36]?"SearchStickTop":""))&&re(r,"part",g)},d(e){e&&J(r),b&&b.d(),n[58](null),S&&S.d(),_&&_.d(),n[63](null),y=!1,X(v)}}}function Wa(){let n;return{c(){n=Q("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',re(n,"class","SearchIcon"),re(n,"part","SearchWrapper")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function ja(n){let r,a,i,o;return{c(){r=Q("span"),a=Q("div"),a.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',re(a,"class","CloseIconContainer"),re(a,"part","CloseIconContainer"),re(r,"class","PC"===fr(n[40])?"ClearSearchButton":"ClearSearchButtonMobile"),re(r,"part","PC"===fr(n[40])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),K(r,a),i||(o=ne(r,"click",n[66]),i=!0)},p:Z,d(e){e&&J(r),i=!1,o()}}}function za(e){let n,r,a=e[37]&&Va(e),i=(!e[24]||!e[23])&&Za(e);return{c(){n=Q("div"),a&&a.c(),r=te(),i&&i.c(),re(n,"class","FiltersButtonsContainer"),re(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),a&&a.m(n,null),K(n,r),i&&i.m(n,null)},p(e,t){e[37]?a?a.p(e,t):(a=Va(e),a.c(),a.m(n,r)):a&&(a.d(1),a=null),e[24]&&e[23]?i&&(i.d(1),i=null):i?i.p(e,t):(i=Za(e),i.c(),i.m(n,null))},d(e){e&&J(n),a&&a.d(),i&&i.d()}}}function Va(n){let r,a,i,o,s,l;return{c(){r=Q("div"),a=Q("div"),a.innerHTML='Clear\n <span class="ClearIcon" part="ClearIcon"><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg></span>',re(a,"class","ClearButton"),re(a,"part","ClearButton"),re(r,"class",i="ClearFilterButtonWrapper "+(n[37]?"FiltersActive":"")),re(r,"part",o="ClearFilterButtonWrapper "+(n[37]?"FiltersActive":""))},m(e,t){q(e,r,t),K(r,a),s||(l=ne(r,"click",n[67]),s=!0)},p(e,t){64&t[1]&&i!==(i="ClearFilterButtonWrapper "+(e[37]?"FiltersActive":""))&&re(r,"class",i),64&t[1]&&o!==(o="ClearFilterButtonWrapper "+(e[37]?"FiltersActive":""))&&re(r,"part",o)},d(e){e&&J(r),s=!1,l()}}}function Za(e){let n,r=!e[28]&&Xa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[28]?r&&(r.d(1),r=null):r?r.p(e,t):(r=Xa(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&J(n)}}}function Xa(n){let r,a,i,o,s,l,c,u,d,h,m,p,f=0<n[37]&&Ka(n);return{c(){r=Q("div"),a=Q("div"),a.textContent="Filters",i=te(),o=Q("div"),s=v("svg"),l=v("defs"),c=v("style"),u=ee(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=v("path"),h=te(),f&&f.c(),re(a,"class","FilterButton"),re(a,"part","FilterButton"),re(d,"class","a"),re(d,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),re(d,"transform","translate(-5 -6.2)"),re(s,"xmlns","http://www.w3.org/2000/svg"),re(s,"width","20"),re(s,"height","20"),re(s,"viewBox","0 0 26 26"),re(o,"class","FilterIconContainer"),re(o,"part","FilterIconContainer"),re(r,"class","FilterButtonWrapper"),re(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),K(r,a),K(r,i),K(r,o),K(o,s),K(s,l),K(l,c),K(c,u),K(s,d),K(o,h),f&&f.m(o,null),m||(p=ne(r,"click",n[68]),m=!0)},p(e,t){0<e[37]?f?f.p(e,t):(f=Ka(e),f.c(),f.m(o,null)):f&&(f.d(1),f=null)},d(e){e&&J(r),f&&f.d(),m=!1,p()}}}function Ka(e){let n,r,a;return{c(){n=Q("div"),r=Q("span"),a=ee(e[37]),re(r,"class","NumberOfFilters"),re(r,"part","NumberOfFilters"),re(n,"class","NumberOfFiltersContainer"),re(n,"part","NumberOfFiltersContainer")},m(e,t){q(e,n,t),K(n,r),K(r,a)},p(e,t){64&t[1]&&ae(a,e[37])},d(e){e&&J(n)}}}function qa(){let n;return{c(){n=Q("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',re(n,"class","SearchIcon"),re(n,"part","SearchIcon")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function Ja(n){let r,a,i,o;return{c(){r=Q("span"),a=Q("div"),a.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',re(a,"class","CloseIconContainer"),re(a,"part","CloseIconContainer"),re(r,"class","PC"===fr(n[40])?"ClearSearchButton":"ClearSearchButtonMobile"),re(r,"part","PC"===fr(n[40])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),K(r,a),i||(o=ne(r,"click",n[60]),i=!0)},p:Z,d(e){e&&J(r),i=!1,o()}}}function Qa(e){let n,r,a=e[37]&&ei(e),i=(!e[24]||!e[23])&&ti(e);return{c(){n=Q("div"),a&&a.c(),r=te(),i&&i.c(),re(n,"class","FiltersButtonsContainer"),re(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),a&&a.m(n,null),K(n,r),i&&i.m(n,null)},p(e,t){e[37]?a?a.p(e,t):(a=ei(e),a.c(),a.m(n,r)):a&&(a.d(1),a=null),e[24]&&e[23]?i&&(i.d(1),i=null):i?i.p(e,t):(i=ti(e),i.c(),i.m(n,null))},d(e){e&&J(n),a&&a.d(),i&&i.d()}}}function ei(n){let r,a,i;return{c(){r=Q("div"),r.innerHTML='<div class="ClearButton" part="ClearButton">Clear\n <span class="ClearIcon" part="ClearIcon"><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg></span></div>',re(r,"class","ClearFilterButtonWrapper"),re(r,"part","ClearFilterButtonWrapper")},m(e,t){q(e,r,t),a||(i=ne(r,"click",n[61]),a=!0)},p:Z,d(e){e&&J(r),a=!1,i()}}}function ti(e){let n,r=!e[28]&&ni(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[28]?r&&(r.d(1),r=null):r?r.p(e,t):(r=ni(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&J(n)}}}function ni(n){let r,a,i,o,s,l,c,u,d,h,m,p,f,g,y;return{c(){r=Q("div"),a=Q("div"),a.textContent="Filters",i=te(),o=Q("div"),s=v("svg"),l=v("defs"),c=v("style"),u=ee(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=v("path"),h=te(),m=Q("div"),p=Q("span"),f=ee(n[37]),re(a,"class","FilterButton"),re(a,"part","FilterButton"),re(d,"class","a"),re(d,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),re(d,"transform","translate(-5 -6.2)"),re(s,"xmlns","http://www.w3.org/2000/svg"),re(s,"width","20"),re(s,"height","20"),re(s,"viewBox","0 0 26 26"),re(p,"class","NumberOfFilters"),re(p,"part","NumberOfFilters"),re(m,"class","NumberOfFiltersContainer"),re(m,"part","NumberOfFiltersContainer"),re(o,"class","FilterIconContainer"),re(o,"part","FilterIconContainer"),re(r,"class","FilterButtonWrapper"),re(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),K(r,a),K(r,i),K(r,o),K(o,s),K(s,l),K(l,c),K(c,u),K(s,d),K(o,h),K(o,m),K(m,p),K(p,f),g||(y=ne(r,"click",n[62]),g=!0)},p(e,t){64&t[1]&&ae(f,e[37])},d(e){e&&J(r),g=!1,y()}}}function ri(e){let n;return{c(){n=Q("casino-random-game"),b(n,"datasource",e[1]),b(n,"endpoint",e[0]),b(n,"lang",e[3]),b(n,"gameevent",e[16])},m(e,t){q(e,n,t)},p(e,t){2&t[0]&&b(n,"datasource",e[1]),1&t[0]&&b(n,"endpoint",e[0]),8&t[0]&&b(n,"lang",e[3]),65536&t[0]&&b(n,"gameevent",e[16])},d(e){e&&J(n)}}}function ai(e){let n;return{c(){n=Q("casino-games-category-section"),b(n,"userid",e[5]),b(n,"endpoint",e[0]),b(n,"datasource",e[1]),b(n,"favorites",e[10]),b(n,"lang",e[3]),b(n,"currency",e[2]),b(n,"session",e[4]),b(n,"categoryid",e[33]),b(n,"categorygames","9"),b(n,"class","CategoryContainer"),b(n,"clientstyling",e[6]),b(n,"clientstylingurl",e[7]),b(n,"livecasino",e[13])},m(e,t){q(e,n,t)},p(e,t){32&t[0]&&b(n,"userid",e[5]),1&t[0]&&b(n,"endpoint",e[0]),2&t[0]&&b(n,"datasource",e[1]),1024&t[0]&&b(n,"favorites",e[10]),8&t[0]&&b(n,"lang",e[3]),4&t[0]&&b(n,"currency",e[2]),16&t[0]&&b(n,"session",e[4]),4&t[1]&&b(n,"categoryid",e[33]),64&t[0]&&b(n,"clientstyling",e[6]),128&t[0]&&b(n,"clientstylingurl",e[7]),8192&t[0]&&b(n,"livecasino",e[13])},d(e){e&&J(n)}}}function ii(e){let n;function r(e){return e[29]?di:ui}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),q(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),i=a(e),i&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&J(n)}}}function oi(n){let r,a,i,o;return{c(){r=Q("casino-games-category-section"),b(r,"session",n[4]),b(r,"userid",n[5]),b(r,"endpoint",n[0]),b(r,"datasource",n[1]),b(r,"lang",n[3]),b(r,"currency",n[2]),b(r,"favorites",n[10]),b(r,"categoryid","FAVORITES"),b(r,"class","CategoryContainer"),b(r,"clientstyling",n[6]),b(r,"clientstylingurl",n[7]),b(r,"livecasino",n[13])},m(e,t){q(e,r,t),i||(o=l(a=n[41].call(null,r,(n[0],n[20],n[21],n[20]))),i=!0)},p(e,t){16&t[0]&&b(r,"session",e[4]),32&t[0]&&b(r,"userid",e[5]),1&t[0]&&b(r,"endpoint",e[0]),2&t[0]&&b(r,"datasource",e[1]),8&t[0]&&b(r,"lang",e[3]),4&t[0]&&b(r,"currency",e[2]),1024&t[0]&&b(r,"favorites",e[10]),64&t[0]&&b(r,"clientstyling",e[6]),128&t[0]&&b(r,"clientstylingurl",e[7]),8192&t[0]&&b(r,"livecasino",e[13]),a&&m(a.update)&&3145729&t[0]&&a.update.call(null,(e[0],e[20],e[21],e[20]))},d(e){e&&J(r),i=!1,o()}}}function si(t){let a,i=t[32],o=[];for(let e=0;e<i.length;e+=1)o[e]=hi(Na(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,a,n)},p(t,n){if(9727&n[0]|2&n[1]){let e;for(i=t[32],e=0;e<i.length;e+=1){var r=Na(t,i,e);o[e]?o[e].p(r,n):(o[e]=hi(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){f(o,e),e&&J(a)}}}function li(n){let r,a,i,o;return{c(){r=Q("casino-games-category-section"),b(r,"endpoint",n[0]),b(r,"datasource",n[1]),b(r,"lang",n[3]),b(r,"currency",n[2]),b(r,"session",n[4]),b(r,"userid",n[5]),b(r,"categoryid","Search"),b(r,"favorites",n[10]),b(r,"categoryindex","0"),b(r,"class","CategoryContainer"),b(r,"clientstyling",n[6]),b(r,"clientstylingurl",n[7]),b(r,"livecasino",n[13])},m(e,t){q(e,r,t),i||(o=l(a=n[49].call(null,r,n[31])),i=!0)},p(e,t){1&t[0]&&b(r,"endpoint",e[0]),2&t[0]&&b(r,"datasource",e[1]),8&t[0]&&b(r,"lang",e[3]),4&t[0]&&b(r,"currency",e[2]),16&t[0]&&b(r,"session",e[4]),32&t[0]&&b(r,"userid",e[5]),1024&t[0]&&b(r,"favorites",e[10]),64&t[0]&&b(r,"clientstyling",e[6]),128&t[0]&&b(r,"clientstylingurl",e[7]),8192&t[0]&&b(r,"livecasino",e[13]),a&&m(a.update)&&1&t[1]&&a.update.call(null,e[31])},d(e){e&&J(r),i=!1,o()}}}function ci(e){let n,r,a=e[39]("casinoPage.loading")+"";return{c(){n=Q("p"),r=ee(a),re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t),K(n,r)},p(e,t){256&t[1]&&a!==(a=e[39]("casinoPage.loading")+"")&&ae(r,a)},d(e){e&&J(n)}}}function ui(e){let n;return{c(){n=Q("casino-games-category-section"),b(n,"session",e[4]),b(n,"userid",e[5]),b(n,"endpoint",e[0]),b(n,"datasource",e[1]),b(n,"lang",e[3]),b(n,"currency",e[2]),b(n,"favorites",e[10]),b(n,"categoryid","MOSTPLAYED"),b(n,"categoryindex","1"),b(n,"categorygames","9"),b(n,"class","CategoryContainer"),b(n,"clientstyling",e[6]),b(n,"clientstylingurl",e[7]),b(n,"livecasino",e[13])},m(e,t){q(e,n,t)},p(e,t){16&t[0]&&b(n,"session",e[4]),32&t[0]&&b(n,"userid",e[5]),1&t[0]&&b(n,"endpoint",e[0]),2&t[0]&&b(n,"datasource",e[1]),8&t[0]&&b(n,"lang",e[3]),4&t[0]&&b(n,"currency",e[2]),1024&t[0]&&b(n,"favorites",e[10]),64&t[0]&&b(n,"clientstyling",e[6]),128&t[0]&&b(n,"clientstylingurl",e[7]),8192&t[0]&&b(n,"livecasino",e[13])},d(e){e&&J(n)}}}function di(e){let n;return{c(){n=Q("p"),n.textContent="You have no games played!",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function hi(n){let r,a,i,o,s;return{c(){r=Q("casino-games-category-section"),b(r,"session",n[4]),b(r,"userid",n[5]),b(r,"endpoint",n[0]),b(r,"datasource",n[1]),b(r,"lang",n[3]),b(r,"currency",n[2]),b(r,"categoryid",a=n[119]),b(r,"categoryindex",n[121]),b(r,"categorygames","9"),b(r,"favorites",n[10]),b(r,"class","CategoryContainer"),x(r,"background-color",n[121]%2!=0?n[8]:"transparent"),b(r,"clientstyling",n[6]),b(r,"clientstylingurl",n[7]),b(r,"livecasino",n[13])},m(e,t){q(e,r,t),o||(s=l(i=n[48].call(null,r,n[119])),o=!0)},p(e,t){n=e,16&t[0]&&b(r,"session",n[4]),32&t[0]&&b(r,"userid",n[5]),1&t[0]&&b(r,"endpoint",n[0]),2&t[0]&&b(r,"datasource",n[1]),8&t[0]&&b(r,"lang",n[3]),4&t[0]&&b(r,"currency",n[2]),2&t[1]&&a!==(a=n[119])&&b(r,"categoryid",a),1024&t[0]&&b(r,"favorites",n[10]),256&t[0]&&x(r,"background-color",n[121]%2!=0?n[8]:"transparent"),64&t[0]&&b(r,"clientstyling",n[6]),128&t[0]&&b(r,"clientstylingurl",n[7]),8192&t[0]&&b(r,"livecasino",n[13]),i&&m(i.update)&&2&t[1]&&i.update.call(null,n[119])},d(e){e&&J(r),o=!1,s()}}}function mi(n){let r,a,i,o,s,l,c,u,d,h,m,p,f=n[39]("casinoPage.break")+"",g=n[39]("casinoPage.breakButton")+"";return{c(){r=Q("div"),a=Q("div"),i=v("svg"),o=v("path"),s=te(),l=Q("p"),c=ee(f),u=te(),d=Q("button"),h=ee(g),re(o,"stroke-linecap","round"),re(o,"stroke-linejoin","round"),re(o,"stroke-width","2"),re(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),re(i,"class","w-1 h-1"),re(i,"part","w-1 h-1"),re(i,"fill","none"),re(i,"stroke","white"),re(i,"width","34px"),re(i,"height","34px"),re(i,"viewBox","0 0 24 24"),re(i,"xmlns","http://www.w3.org/2000/svg"),re(a,"class","PanicText"),re(a,"part","PanicText"),re(d,"class","PanicButton"),re(d,"part","PanicButton"),re(r,"class","PanicSection "+("PC"!==fr(n[40])?"PanicSectionMobile":"")),re(r,"part","PanicSection "+("PC"!==fr(n[40])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),K(r,a),K(a,i),K(i,o),K(a,s),K(a,l),K(l,c),K(r,u),K(r,d),K(d,h),m||(p=ne(d,"click",n[70]),m=!0)},p(e,t){256&t[1]&&f!==(f=e[39]("casinoPage.break")+"")&&ae(c,f),256&t[1]&&g!==(g=e[39]("casinoPage.breakButton")+"")&&ae(h,g)},d(e){e&&J(r),m=!1,p()}}}function pi(e){let n;function r(e){return e[18]?Ua:$a}let a=r(e),i=a(e);return{c(){i.c(),n=c(),this.c=Z},m(e,t){i.m(e,t),q(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),i=a(e),i&&(i.c(),i.m(n.parentNode,n)))},i:Z,o:Z,d(e){i.d(e),e&&J(n)}}}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends T{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px)}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}.RandomButtonWrapper .RandomButton svg{width:35px;height:35px}</style>",k(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Aa,Oa,n,{endpoint:9,datasource:10,gameevent:11,lang:12}),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),M()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang"]}get endpoint(){return this.$$.ctx[9]}set endpoint(e){this.$set({endpoint:e}),M()}get datasource(){return this.$$.ctx[10]}set datasource(e){this.$set({datasource:e}),M()}get gameevent(){return this.$$.ctx[11]}set gameevent(e){this.$set({gameevent:e}),M()}get lang(){return this.$$.ctx[12]}set lang(e){this.$set({lang:e}),M()}});let fi=!1;const gi=0;function yi(e,t,i){let n;Re(e,mr,e=>i(39,n=e));let r,{endpoint:o=""}=t,{datasource:s=""}=t,{currency:a=""}=t,{lang:l=""}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{categorybackground:m=""}=t,{visiblegames:p="6"}=t,{alternativesearch:f="false"}=t,{favorites:g=""}=t,{mostplayed:y=""}=t,{containermaxwidth:v="1300"}=t,{lobbyid:w="casinodefault"}=t,{haspanicbutton:b="false"}=t,{mostplayedrounds:S=""}=t,{activecategory:_=""}=t,{livecasino:C="false"}=t,{playrandomgame:x="false"}=t,M=window.navigator.userAgent;r=pr(M)?"OpenGameFrame":"ShowGameModal";let F,k,T,G,E,L,I,P,D,R,O,A,N=!1,$=!1,U=!1,Y="",B=!1,H=!1,W=!0,j=!1,z=!1,V=!1,Z=!1,X=!0,K=!1,q=!1,J=!1,Q=!0,ee=[],te="",ne,re,ae=[],ie=!1,oe=[],se=0,le="",ce=!1;var ue,de;[{withLocale:ue,translations:de}]=[{withLocale:"en",translations:{}}],rr.subscribe(e=>{null==e&&(jn.set(de),rr.set(ue))}),Object.keys(gr).forEach(e=>{Vn(e,gr[e])});const he=e=>{switch(i(24,j=!1),i(15,te=""),e.data.itemId){case"LOBBY":i(27,X=!0),i(22,B=!1),i(33,G=""),i(28,K=!1),ne=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)},1);break;case"FAVORITES":i(27,X=!1),i(22,B=!0),i(28,K=!1),i(33,G="");break;case"MOSTPLAYED":"true"==y&&(i(17,N=!0),pe({limit:100,device:fr(M),rounds:10}).then(e=>{if(i(17,N=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(`${o}/casino/games/${e.gameId}`);t.searchParams.append("datasource",s),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{re=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:re},window.location.href)})}else i(29,q=!0)}),i(33,G=""),i(27,X=!1),i(22,B=!1),i(28,K=!0));break;default:i(27,X=!1),i(22,B=!1),i(28,K=!1),i(33,G=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:G,index:e.data.index},window.location.href)},100)}},me=e=>{if(e.data)switch(e.data.type){case"CategoryChange":he(e);break;case"UserSessionID":i(21,k=e.data.session),i(20,F=e.data.userID),F&&F.length&&k&&0<k.length&&fe(o,k,F);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":we(`${o}/player/${F}/favorites`,k,F,e.data.id,e.data.triggerFactor);break;case"SetFavoredGame":ve(`${o}/player/${F}/favorites`,k,F,e.data.id,e.data.triggerFactor);break;case"GetFavoredGame":F&&F.length&&k&&0<k.length&&fe(o,k,F);break;case"SearchedItemClicked":xe(e.data.gameId);break;case"UpdateFilters":Te(e.data.vendorsArray),Me();break;case"ClearFilters":ke(e.data.vendorsArray),Me();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:le},window.location.href),Me();break;case"CategoryVendors":le=e.data.categoryid,Me();break;case"GameHovered":z=!0;break;case"GameBlur":z=!1}},pe=e=>{let t=new URL(`${o}/player/${F}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order);var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),A=C?t:t.href,new Promise((t,n)=>{fetch(A).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Most Played",id:"MOSTPLAYED"}},window.location.href),window.postMessage({type:"MostPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})})};let fe=(e,t,n)=>{"true"==g&&c&&n&&(fetch(`${e}/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(D=e,D&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:D},window.location.href),ye(D.items)),D)).catch(e=>{console.error(e)}),B&&be())},ge=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(D=e,B&&be(),D&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:D},window.location.href),D)).catch(e=>{console.error(e)})};const ye=(e=[])=>(ae=[],0<e.length&&e.forEach(e=>{ae.push(e.id)}),ae);let ve=(t,n,e,r,a)=>{ae.includes(r)||ae.push(r);var i={items:ae},i={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(i)};fetch(t,i).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),ge(t,n)}).catch(e=>{console.error("Err",e)})};const we=(t,n,e,r,a)=>{ae.includes(r)&&(ae=ae.filter(e=>e!=r)),fetch(`${t}/${r}`,{method:"DELETE",headers:{"X-SessionID":n}}).then(e=>e.json()).then(e=>{window.postMessage({type:`RemoveFavoriteThumbnail_${r}`},window.location.href),ge(t,n)})},be=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:D},window.location.href)},Se=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},_e=()=>{if(o&&s&&l&&(i(26,Z=!0),te.length<2)){let e=Se(`searchedGamesWds_${w}`),t=[];e&&(t=e.split(",")),1!=X||W||(i(25,V=X),i(27,X=!1));let n=[],r=0,a=t.length;if(0<a){for(r=0;r<a;r++){let e=new URL(`${o}/casino/games/${t[r]}`);e.searchParams.append("language",l),e.searchParams.append("datasource",s),e.searchParams.append("platform",fr(M)),n.push((e=>new Promise((t,n)=>{i(17,N=!0),fetch(e).then(e=>e.json()).then(e=>{i(17,N=!1),t(e[0])}).catch(e=>{i(18,$=!0),i(17,N=!1),console.error(e),n(e)})}))(e))}Promise.all(n).then(e=>{i(31,T=e),Ge({},T)})}else Ge({},{})}},Ce=()=>{i(26,Z=!1),te.length<2&&!z&&(i(24,j=!1),i(31,T=[]),i(23,H=!1),i(27,X=V),i(25,V=!1),!1===X&&window.postMessage({type:"CategoryUpdate",itemId:G},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},xe=e=>{oe=Se(`searchedGamesWds_${w}`),oe=oe?oe.split(","):[],-1===oe.indexOf(e)&&(oe.push(e),e=oe.join(","),document.cookie=`searchedGamesWds_${w}=`+e)},Me=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&le&&(e[le]?i(37,se=e[le].length):i(37,se=0))},Fe=()=>{i(57,Q=!0),i(15,te=""),i(31,T=[]),i(23,H=!1),Ce()},ke=e=>{window.postMessage({type:"AvailableVendors",venArray:e},window.location.href)},Te=e=>{window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href)},Ge=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Ee=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},Le=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Ie=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:D},window.location.href)},Pe=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},De=()=>{L&&(I=L.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>I||130<I?i(30,J=!0):i(30,J=!1)};return Oe(()=>(window.addEventListener("scroll",De,!1),window.addEventListener("message",me,!1),()=>{window.removeEventListener("scroll",De),window.removeEventListener("message",me)})),e.$$set=e=>{"endpoint"in e&&i(0,o=e.endpoint),"datasource"in e&&i(1,s=e.datasource),"currency"in e&&i(2,a=e.currency),"lang"in e&&i(3,l=e.lang),"session"in e&&i(4,c=e.session),"userid"in e&&i(5,u=e.userid),"clientstyling"in e&&i(6,d=e.clientstyling),"clientstylingurl"in e&&i(7,h=e.clientstylingurl),"categorybackground"in e&&i(8,m=e.categorybackground),"visiblegames"in e&&i(51,p=e.visiblegames),"alternativesearch"in e&&i(9,f=e.alternativesearch),"favorites"in e&&i(10,g=e.favorites),"mostplayed"in e&&i(52,y=e.mostplayed),"containermaxwidth"in e&&i(11,v=e.containermaxwidth),"lobbyid"in e&&i(53,w=e.lobbyid),"haspanicbutton"in e&&i(12,b=e.haspanicbutton),"mostplayedrounds"in e&&i(54,S=e.mostplayedrounds),"activecategory"in e&&i(55,_=e.activecategory),"livecasino"in e&&i(13,C=e.livecasino),"playrandomgame"in e&&i(14,x=e.playrandomgame)},e.$$.update=()=>{if(32768&e.$$.dirty[0]&&te&&(2<=te.length?i(57,Q=!0):i(57,Q=!1)),32779&e.$$.dirty[0]|100663296&e.$$.dirty[1])if(2<=te.length){i(24,j=!0);let e=new URL(`${o}/casino/games`);e.searchParams.append("datasource",s),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",fr(M)),e.searchParams.append("language",l),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter",`name=${te}`),r=e,new Promise((t,n)=>{i(17,N=!0),fetch(r).then(e=>e.json()).then(e=>{i(17,N=!1),t(e)}).catch(e=>{i(18,$=!0),i(17,N=!1),console.error(e),n(e)})}).then(e=>{i(31,T=e),Ie(0,e)})}else Q||_e(),W&&i(56,W=!1);var r;16777216&e.$$.dirty[1]&&_&&(i(33,G=_),he({data:{itemId:G}})),49&e.$$.dirty[0]&&c&&u&&o&&(i(19,U=!0),i(21,k=c),i(20,F=u)),523&e.$$.dirty[0]&&o&&s&&l&&f&&(()=>{if(o||(Y="Endpoint is missing! Please provide a valid endpointURL.",i(18,$=!0),i(17,N=!1),console.error(Y)),s||(Y="Datasource is missing! Please provide a valid datasource.",i(18,$=!0),i(17,N=!1),console.error(Y)),l&&2==l.length||(Y="Language is missing! Please provide a valid language (alpha2code)",i(18,$=!0),i(17,N=!1),console.error(Y)),!$){i(17,N=!0),"true"==g&&fe(o,k,F),t=l,rr.set(t);let e=new URL(`${o}/casino/groups/${s}`);e.searchParams.append("language",l),e.searchParams.append("platform",fr(M)),r=e,new Promise((t,n)=>{i(17,N=!0),fetch(r).then(e=>e.json()).then(e=>{i(17,N=!1),t(e)}).catch(e=>{i(18,$=!0),i(17,N=!1),console.error(e),n(e)})}).then(e=>{e&&(P=e.items.filter(e=>0<e.games.total),i(32,ee=P.map(e=>e.id)),i(17,N=!1))}),"PC"!==fr(M)&&(R.addEventListener("focusin",e=>{i(36,ie=!0)}),R.addEventListener("focusout",e=>{i(36,ie=!1)})),Me(),L=E,L&&(I=L.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}var r,t})(),8&e.$$.dirty[0]&&l&&(ce&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:G},window.location.href)},500),ce=!1),64&e.$$.dirty[0]&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,O.appendChild(e)})(),128&e.$$.dirty[0]&&h&&(()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,O&&setTimeout(()=>{O.appendChild(t)},1)})})()},[o,s,a,l,c,u,d,h,m,f,g,v,b,C,x,te,r,N,$,U,F,k,B,H,j,V,Z,X,K,q,J,T,ee,G,E,R,ie,se,O,n,M,be,_e,Ce,()=>{window.postMessage({type:"scroll"},window.location.href)},Fe,Ee,Le,(e,t)=>{le=t,window.postMessage({type:`CategoryData_${t}`,categoryId:t,visiblegames:p,receivedFavoriteResults:D},window.location.href)},Ie,Pe,p,y,w,S,_,W,Q,function(e){Ae[e?"unshift":"push"](()=>{R=e,i(35,R)})},function(){te=this.value,i(15,te)},()=>Fe(),()=>Le(),()=>{Ee()},function(e){Ae[e?"unshift":"push"](()=>{E=e,i(34,E)})},function(e){Ae[e?"unshift":"push"](()=>{R=e,i(35,R)})},function(){te=this.value,i(15,te)},()=>Fe(),()=>Le(),()=>{Ee()},function(e){Ae[e?"unshift":"push"](()=>{E=e,i(34,E)})},()=>Pe(),function(e){Ae[e?"unshift":"push"](()=>{O=e,i(38,O)})}]}class vi extends T{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicButton{border-radius:2px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:48px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14.4px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:25.6px;height:25.6px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6.4px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:22px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:75px;right:0;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton,.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",k(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},yi,pi,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:51,alternativesearch:9,favorites:10,mostplayed:52,containermaxwidth:11,lobbyid:53,haspanicbutton:12,mostplayedrounds:54,activecategory:55,livecasino:13,playrandomgame:14},[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),M()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino","playrandomgame"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),M()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$set({datasource:e}),M()}get currency(){return this.$$.ctx[2]}set currency(e){this.$set({currency:e}),M()}get lang(){return this.$$.ctx[3]}set lang(e){this.$set({lang:e}),M()}get session(){return this.$$.ctx[4]}set session(e){this.$set({session:e}),M()}get userid(){return this.$$.ctx[5]}set userid(e){this.$set({userid:e}),M()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$set({clientstyling:e}),M()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$set({clientstylingurl:e}),M()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$set({categorybackground:e}),M()}get visiblegames(){return this.$$.ctx[51]}set visiblegames(e){this.$set({visiblegames:e}),M()}get alternativesearch(){return this.$$.ctx[9]}set alternativesearch(e){this.$set({alternativesearch:e}),M()}get favorites(){return this.$$.ctx[10]}set favorites(e){this.$set({favorites:e}),M()}get mostplayed(){return this.$$.ctx[52]}set mostplayed(e){this.$set({mostplayed:e}),M()}get containermaxwidth(){return this.$$.ctx[11]}set containermaxwidth(e){this.$set({containermaxwidth:e}),M()}get lobbyid(){return this.$$.ctx[53]}set lobbyid(e){this.$set({lobbyid:e}),M()}get haspanicbutton(){return this.$$.ctx[12]}set haspanicbutton(e){this.$set({haspanicbutton:e}),M()}get mostplayedrounds(){return this.$$.ctx[54]}set mostplayedrounds(e){this.$set({mostplayedrounds:e}),M()}get activecategory(){return this.$$.ctx[55]}set activecategory(e){this.$set({activecategory:e}),M()}get livecasino(){return this.$$.ctx[13]}set livecasino(e){this.$set({livecasino:e}),M()}get playrandomgame(){return this.$$.ctx[14]}set playrandomgame(e){this.$set({playrandomgame:e}),M()}}return customElements.get("casino-page")||customElements.define("casino-page",vi),vi});
|
|
2
2
|
//# sourceMappingURL=casino-page.js.map
|