@everymatrix/casino-lobby 0.0.211 → 0.0.215

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function U(){}const g=e=>e;function u(e){return e()}function d(){return Object.create(null)}function B(e){e.forEach(u)}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 h(e,...t){if(null==e)return U;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function xe(e,t,n){e.$$.on_destroy.push(h(t,n))}function l(e){return e&&m(e.destroy)?e.destroy:U}var e="undefined"!=typeof window;let y=e?()=>window.performance.now():()=>Date.now(),w=e?e=>requestAnimationFrame(e):U;const v=new Set;function b(t){v.forEach(e=>{e.c(t)||(v.delete(e),e.f())}),0!==v.size&&w(b)}function H(e,t){e.appendChild(t)}function Y(e,t,n){e.insertBefore(t,n||null)}function j(e){e.parentNode.removeChild(e)}function c(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function z(e){return document.createElement(e)}function S(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function t(e){return document.createTextNode(e)}function W(){return t(" ")}function p(){return t("")}function V(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function Z(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function x(e,t,n){t in e?e[t]=n:Z(e,t,n)}function q(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function _(e,t){e.value=null==t?"":t}function E(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}let o;function f(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=z("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const r=function(){if(void 0===o){o=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){o=!0}}return o}();let i;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=V(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=V(n.contentWindow,"resize",t)}),H(e,n),()=>{(r||i&&n.contentWindow)&&i(),j(n)}}function T(e,t,n){e.classList[n?"add":"remove"](t)}function r(e){const t={};for(const n of e)t[n.name]=n.value;return t}const C=new Set;let M,k=0;function $(e,t,n,r,i,o,s,a=0){var l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*o(e);c+=100*e+`%{${s(r,1-r)}}\n`}const u=c+`100% {${s(n,1-n)}}\n}`,d=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_${a}`,h=e.ownerDocument;C.add(h);const p=h.__svelte_stylesheet||(h.__svelte_stylesheet=h.head.appendChild(z("style")).sheet),f=h.__svelte_rules||(h.__svelte_rules={});f[d]||(f[d]=!0,p.insertRule(`@keyframes ${d} ${u}`,p.cssRules.length));a=e.style.animation||"";return e.style.animation=`${a?`${a}, `:""}${d} ${r}ms linear ${i}ms 1 both`,k+=1,d}function P(e){M=e}function _e(e){!function(){if(!M)throw new Error("Function called outside component initialization");return M}().$$.on_mount.push(e)}const F=[],Ce=[],i=[],s=[],a=Promise.resolve();let I=!1;function A(){I||(I=!0,a.then(R))}function D(e){i.push(e)}let O=!1;const L=new Set;function R(){if(!O){O=!0;do{for(let e=0;e<F.length;e+=1){var t=F[e];P(t),function(e){{var t;null!==e.fragment&&(e.update(),B(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(D))}}(t.$$)}for(P(null),F.length=0;Ce.length;)Ce.pop()();for(let e=0;e<i.length;e+=1){const n=i[e];L.has(n)||(L.add(n),n())}}while(i.length=0,F.length);for(;s.length;)s.pop()();I=!1,O=!1,L.clear()}}let N;function G(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}(`${t?"intro":"outro"}${n}`))}const X=new Set;let J;function K(){J={r:0,c:[],p:J}}function Q(){J.r||B(J.c),J=J.p}function ee(e,t){e&&e.i&&(X.delete(e),e.i(t))}function te(e,t,n,r){e&&e.o&&(X.has(e)||(X.add(e),J.c.push(()=>{X.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const ne={duration:0};function re(a,e,t,n){let l=e(a,t),c=n?0:1,u=null,d=null,h=null;function p(){h&&function(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),i=n.length-r.length;i&&(e.style.animation=r.join(", "),k-=i,k||w(()=>{k||(C.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),C.clear())}))}(a,h)}function f(e,t){var n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:r=g,tick:i=U,css:o}=l||ne,s={start:y()+t,b:e};e||(s.group=J,J.r+=1),u||d?d=s:(o&&(p(),h=$(a,c,e,n,t,r,o)),e&&i(0,1),u=f(s,n),D(()=>G(a,e,"start")),function(t){let n;0===v.size&&w(b),new Promise(e=>{v.add(n={c:t,f:e})})}(e=>{return d&&e>d.start&&(u=f(d,n),d=null,G(a,u.b,"start"),o&&(p(),h=$(a,c,u.b,u.duration,0,r,l.css))),u&&(e>=u.end?(i(c=u.b,1-c),G(a,u.b,"end"),d||(u.b?p():--u.group.r||B(u.group.c)),u=null):e>=u.start&&(e=e-u.start,c=u.a+u.d*r(e/u.duration),i(c,1-c))),!(!u&&!d)}))}return{run(e){m(l)?(N||(N=Promise.resolve(),N.then(()=>{N=null})),N.then(()=>{l=l(),r(e)})):r(e)},end(){p(),u=d=null}}}function ie(e,t){e.d(1),t.delete(e.key)}function oe(r,e,t,n,i,o,s=[-1]){var a=M;P(r);const l=r.$$={fragment:null,ctx:null,props:o,update:U,not_equal:i,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:e.context||[]),callbacks:d(),dirty:s,skip_bound:!1};let c=!1;if(l.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return l.ctx&&i(l.ctx[e],l.ctx[e]=n)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](n),c&&(n=e,-1===(e=r).$$.dirty[0]&&(F.push(e),A(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],l.update(),c=!0,B(l.before_update),l.fragment=!!n&&n(l.ctx),e.target){if(e.hydrate){const U=(n=e.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(U),U.forEach(j)}else l.fragment&&l.fragment.c();e.intro&&ee(r.$$.fragment),function(t,e,n,r){const{fragment:i,on_mount:o,on_destroy:s,after_update:a}=t.$$;i&&i.m(e,n),r||D(()=>{var e=o.map(u).filter(m);s?s.push(...e):B(e),t.$$.on_mount=[]}),a.forEach(D)}(r,e.target,e.anchor,e.customElement),R()}P(a)}let se;"function"==typeof HTMLElement&&(se=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(u).filter(m);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){B(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(B(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=U}$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 ae,le,ce="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==ce&&ce,ue="URLSearchParams"in ce,de="Symbol"in ce&&"iterator"in Symbol,he="FileReader"in ce&&"Blob"in ce&&function(){try{return new Blob,!0}catch(e){return!1}}(),pe="FormData"in ce,fe="ArrayBuffer"in ce;function ge(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 me(e){return e="string"!=typeof e?String(e):e}function ye(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return de&&(e[Symbol.iterator]=function(){return e}),e}function we(t){this.map={},t instanceof we?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 ve(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function be(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Se(e){var t=new FileReader,n=be(t);return t.readAsArrayBuffer(e),n}function Me(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ke(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:he&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:pe&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ue&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():fe&&he&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=Me(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):fe&&(ArrayBuffer.prototype.isPrototypeOf(e)||le(e))?this._bodyArrayBuffer=Me(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):ue&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},he&&(this.blob=function(){var e=ve(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?ve(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(Se)}),this.text=function(){var e,t,n=ve(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=be(t),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)},pe&&(this.formData=function(){return this.text().then($e)}),this.json=function(){return this.text().then(JSON.parse)},this}fe&&(ae=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],le=ArrayBuffer.isView||function(e){return e&&-1<ae.indexOf(Object.prototype.toString.call(e))}),we.prototype.append=function(e,t){e=ge(e),t=me(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},we.prototype.delete=function(e){delete this.map[ge(e)]},we.prototype.get=function(e){return e=ge(e),this.has(e)?this.map[e]:null},we.prototype.has=function(e){return this.map.hasOwnProperty(ge(e))},we.prototype.set=function(e,t){this.map[ge(e)]=me(t)},we.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},we.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),ye(n)},we.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ye(t)},we.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),ye(n)},de&&(we.prototype[Symbol.iterator]=we.prototype.entries);var Ee=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Te(e,t){if(!(this instanceof Te))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 Te){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new we(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 we(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<Ee.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 $e(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 Pe(e,t){if(!(this instanceof Pe))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 we(t.headers),this.url=t.url||"",this._initBody(e)}Te.prototype.clone=function(){return new Te(this,{body:this._bodyInit})},ke.call(Te.prototype),ke.call(Pe.prototype),Pe.prototype.clone=function(){return new Pe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new we(this.headers),url:this.url})},Pe.error=function(){var e=new Pe(null,{status:0,statusText:""});return e.type="error",e};var Fe=[301,302,303,307,308];Pe.redirect=function(e,t){if(-1===Fe.indexOf(t))throw new RangeError("Invalid status code");return new Pe(null,{status:t,headers:{location:e}})};var Ie=ce.DOMException;try{new Ie}catch(U){(Ie=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Ie.prototype.constructor=Ie}function Ae(r,s){return new Promise(function(i,e){var t=new Te(r,s);if(t.signal&&t.signal.aborted)return e(new Ie("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var e,n,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",n=new we,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 o?o.responseURL:t.headers.get("X-Request-URL");var r="response"in o?o.response:o.responseText;setTimeout(function(){i(new Pe(r,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new Ie("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&ce.location.href?ce.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(he?o.responseType="blob":fe&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof we?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){o.setRequestHeader(e,me(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",n)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}function Fn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ae.polyfill=!0,ce.fetch||(ce.fetch=Ae,ce.Headers=we,ce.Request=Te,ce.Response=Pe);var De=self.fetch.bind(self),Oe=function(e,t){return(Oe=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 Le(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}Oe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Re(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 Ne(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function Ge(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function Ue(e){return"function"==typeof e}function Be(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 He=Be(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 Ye(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var je=(We.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Re(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(Ue(o))try{o()}catch(e){i=e instanceof He?e.errors:[e]}o=this._teardowns;if(o){this._teardowns=null;try{for(var l=Re(o),c=l.next();!c.done;c=l.next()){var u=c.value;try{Ze(u)}catch(e){i=null!=i?i:[],e instanceof He?i=Ge(Ge([],Ne(i)),Ne(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 He(i)}},We.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ze(e);else{if(e instanceof We){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},We.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},We.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},We.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ye(t,e)},We.prototype.remove=function(e){var t=this._teardowns;t&&Ye(t,e),e instanceof We&&e._removeParent(this)},We.EMPTY=((mn=new We).closed=!0,mn),We),ze=je.EMPTY;function We(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Ve(e){return e instanceof je||e&&"closed"in e&&Ue(e.remove)&&Ue(e.add)&&Ue(e.unsubscribe)}function Ze(e){Ue(e)?e():e.unsubscribe()}var qe=void 0,Xe=!1,Je=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,Ge([],Ne(e)))};function Ke(){}function Qe(e){e()}var et,tt,nt=(Le(ot,tt=je),ot.create=function(e,t,n){return new rt(e,t,n)},ot.prototype.next=function(e){this.isStopped||this._next(e)},ot.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},ot.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},ot.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,tt.prototype.unsubscribe.call(this),this.destination=null)},ot.prototype._next=function(e){this.destination.next(e)},ot.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},ot.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},ot),rt=(Le(it,et=nt),it);function it(e,t,n){var r,i,o=et.call(this)||this;return Ue(e)?i=e:e&&(i=e.next,t=e.error,n=e.complete,o&&Xe?(r=Object.create(e)).unsubscribe=function(){return o.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)),o.destination={next:i?st(i):Ke,error:st(null!=t?t:at),complete:n?st(n):Ke},o}function ot(e){var t=tt.call(this)||this;return t.isStopped=!1,e?Ve(t.destination=e)&&e.add(t):t.destination=lt,t}function st(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,Ge([],Ne(e)))}catch(e){t=e,Je(function(){throw t})}}}function at(e){throw e}var lt={closed:!0,next:Ke,error:at,complete:Ke},ct="function"==typeof Symbol&&Symbol.observable||"@@observable";function ut(e){return e}var dt=(ht.prototype.lift=function(e){var t=new ht;return t.source=this,t.operator=e,t},ht.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof nt||r&&Ue(r.next)&&Ue(r.error)&&Ue(r.complete)&&Ve(r)?e:new rt(e,t,n);return Qe(function(){var e=i.operator,t=i.source;o.add(e?e.call(o,t):t?i._subscribe(o):i._trySubscribe(o))}),o},ht.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},ht.prototype.forEach=function(r,e){var i=this;return new(e=pt(e))(function(e,t){var n=i.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},ht.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},ht.prototype[ct]=function(){return this},ht.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?ut:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},ht.prototype.toPromise=function(e){var r=this;return new(e=pt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},ht.create=function(e){return new ht(e)},ht);function ht(e){e&&(this._subscribe=e)}function pt(e){return null!==(e=null!=e?e:qe)&&void 0!==e?e:Promise}var ft,gt,mt,yt=Be(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),wt=(Le(Ct,mt=dt),Ct.prototype.lift=function(e){var t=new vt(this,this);return t.operator=e,t},Ct.prototype._throwIfClosed=function(){if(this.closed)throw new yt},Ct.prototype.next=function(o){var s=this;Qe(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var n=s.observers.slice();try{for(var r=Re(n),i=r.next();!i.done;i=r.next())i.value.next(o)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},Ct.prototype.error=function(t){var n=this;Qe(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)}})},Ct.prototype.complete=function(){var t=this;Qe(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Ct.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Ct.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Ct.prototype._trySubscribe=function(e){return this._throwIfClosed(),mt.prototype._trySubscribe.call(this,e)},Ct.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Ct.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?ze:(r.push(e),new je(function(){return Ye(r,e)}))},Ct.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Ct.prototype.asObservable=function(){var e=new dt;return e.source=this,e},Ct.create=function(e,t){return new vt(e,t)},Ct),vt=(Le(_t,gt=wt),_t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},_t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},_t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},_t.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:ze},_t),bt={now:function(){return(bt.delegate||Date).now()},delegate:void 0},St=(Le(xt,ft=wt),xt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(o.now()+t)),this._trimBuffer(),ft.prototype.next.call(this,e)},xt.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},xt.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 o=t.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},xt);function xt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=bt);var r=ft.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 _t(e,t){var n=gt.call(this)||this;return n.destination=e,n.source=t,n}function Ct(){var e=mt.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Mt=[],kt={};const Et=[];function Tt(r,i=U){let o;const s=[];function a(e){if(n(r,e)&&(r=e,o)){const e=!Et.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),Et.push(t,r)}if(e){for(let e=0;e<Et.length;e+=2)Et[e][0](Et[e+1]);Et.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=U){const n=[e,t];return s.push(n),1===s.length&&(o=i(a)||U),e(r),()=>{var e=s.indexOf(n);-1!==e&&s.splice(e,1),0===s.length&&(o(),o=null)}}}}function $t(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:Tt(t,t=>{let n=!1;const r=[];let i=0,o=U;const s=()=>{var e;i||(o(),e=a(l?r[0]:r,t),u?t(e):o=m(e)?e:U)},e=c.map((e,t)=>h(e,e=>{r[t]=e,i&=~(1<<t),n&&s()},()=>{i|=1<<t}));return n=!0,s(),function(){B(e),o()}}).subscribe}}var Pt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Ft));var t},Ft="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function It(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Rt(Array.isArray(e)?[]:{},e,t):e}function At(e,t,n){return e.concat(t).map(function(e){return It(e,n)})}function Dt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Ot(e,t){try{return t in e}catch(e){return!1}}function Lt(r,i,o){var s={};return o.isMergeableObject(r)&&Dt(r).forEach(function(e){s[e]=It(r[e],o)}),Dt(i).forEach(function(t){var e,n;(!Ot(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Ot(r,t)&&o.isMergeableObject(i[t])?s[t]=function(){if(!o.customMerge)return Rt;var e=o.customMerge(t);return"function"==typeof e?e:Rt}()(r[t],i[t],o):s[t]=It(i[t],o))}),s}function Rt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||At,n.isMergeableObject=n.isMergeableObject||Pt,n.cloneUnlessOtherwiseSpecified=It;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Lt(e,t,n):It(t,n)}Rt.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Rt(e,t,n)},{})};var Nt=Rt,Gt=function(e,t){return(Gt=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 Ut(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}Gt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Bt,Ht,Yt,jt=function(){return(jt=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 zt(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function Wt(e){return e.type===Ht.literal}function Vt(e){return e.type===Ht.number}function Zt(e){return e.type===Ht.date}function qt(e){return e.type===Ht.time}function Xt(e){return e.type===Ht.select}function Jt(e){return e.type===Ht.plural}function Kt(e){return e.type===Ht.tag}function Qt(e){return e&&"object"==typeof e&&e.type===Yt.number}function en(e){return e&&"object"==typeof e&&e.type===Yt.dateTime}(yn=Bt=Bt||{})[yn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",yn[yn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",yn[yn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",yn[yn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",yn[yn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",yn[yn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",yn[yn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",yn[yn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",yn[yn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",yn[yn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",yn[yn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",yn[yn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",yn[yn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",yn[yn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",yn[yn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",yn[yn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",yn[yn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",yn[yn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",yn[yn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",yn[yn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",yn[yn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",yn[yn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",yn[yn.INVALID_TAG=23]="INVALID_TAG",yn[yn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",yn[yn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",yn[yn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(wn=Ht=Ht||{})[wn.literal=0]="literal",wn[wn.argument=1]="argument",wn[wn.number=2]="number",wn[wn.date=3]="date",wn[wn.time=4]="time",wn[wn.select=5]="select",wn[wn.plural=6]="plural",wn[wn.pound=7]="pound",wn[wn.tag=8]="tag",(vn=Yt=Yt||{})[vn.number=0]="number",vn[vn.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,tn=/(?:[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 nn,rn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,on=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,sn=/^(@+)?(\+|#+)?$/g,an=/(\*)(0+)|(#+)(0+)|(0+)/g,ln=/^(0+)$/;function cn(e){var r={};return e.replace(sn,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 un(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 dn(e){return un(e)||{}}function hn(e){for(var s={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=jt(jt(jt({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return jt(jt({},e),dn(t))},{}));continue;case"engineering":s=jt(jt(jt({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return jt(jt({},e),dn(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.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(an,function(e,t,n,r,i,o){if(t)s.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ln.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(on.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(on,function(e,t,n,r,i,o){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),i.options.length&&(s=jt(jt({},s),cn(i.options[0])))}else sn.test(i.stem)?s=jt(jt({},s),cn(i.stem)):((r=un(i.stem))&&(s=jt(jt({},s),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)),!ln.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=jt(jt({},s),r)))}return s}var pn=new RegExp("^"+e.source+"*"),fn=new RegExp(e.source+"*$");function gn(e,t){return{start:e,end:t}}var mn=!!String.prototype.startsWith,ct=!!String.fromCodePoint,wt=!!Object.fromEntries,yn=!!String.prototype.codePointAt,wn=!!String.prototype.trimStart,vn=!!String.prototype.trimEnd,bn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(nn=$n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===nn?void 0:nn[0])}catch(U){e=!1}var Sn,xn,_n=mn?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Cn=ct?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;o<i;){if(1114111<(n=e[o++]))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},Mn=wt?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],i=i[1];t[o]=i}return t},kn=yn?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}},En=wn?function(e){return e.trimStart()}:function(e){return e.replace(pn,"")},Tn=vn?function(e){return e.trimEnd()}:function(e){return e.replace(fn,"")};function $n(e,t){return new RegExp(e,t)}xn=e?(Sn=$n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Sn.lastIndex=t,null!==(e=Sn.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=kn(e,t);if(void 0===i||Dn(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 Cn.apply(void 0,r)};var Pn=(In.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},In.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Bt.UNMATCHED_CLOSING_TAG,gn(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&An(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{o=this.clonePosition();this.bump(),r.push({type:Ht.pound,location:gn(o,this.clonePosition())})}}}return{val:r,err:null}},In.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ht.literal,value:"<"+r+"/>",location:gn(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()||!An(this.char()))return this.error(Bt.INVALID_TAG,gn(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(Bt.UNMATCHED_CLOSING_TAG,gn(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ht.tag,value:r,children:e,location:gn(n,this.clonePosition())},err:null}:this.error(Bt.INVALID_TAG,gn(t,this.clonePosition())))}return this.error(Bt.UNCLOSED_TAG,gn(n,this.clonePosition()))}return this.error(Bt.INVALID_TAG,gn(n,this.clonePosition()))},In.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())},In.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=gn(n,this.clonePosition());return{val:{type:Ht.literal,value:r,location:n},err:null}},In.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(An(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},In.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 Cn.apply(void 0,t)},In.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(),Cn(n))},In.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Bt.EXPECT_ARGUMENT_CLOSING_BRACE,gn(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Bt.EMPTY_ARGUMENT,gn(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Bt.MALFORMED_ARGUMENT,gn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Bt.EXPECT_ARGUMENT_CLOSING_BRACE,gn(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ht.argument,value:r,location:gn(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Bt.EXPECT_ARGUMENT_CLOSING_BRACE,gn(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Bt.MALFORMED_ARGUMENT,gn(n,this.clonePosition()))}},In.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=xn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:gn(e,this.clonePosition())}},In.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Bt.EXPECT_ARGUMENT_TYPE,gn(o,a));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=Tn(h.val)).length)return this.error(Bt.EXPECT_ARGUMENT_STYLE,gn(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:gn(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(r)).err)return p;var u=gn(r,this.clonePosition());if(l&&_n(null==l?void 0:l.style,"::",0)){c=En(l.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:Ht.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:Yt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(tn,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"===s?Ht.date:Ht.time,value:n,location:u,style:d},err:null}}return{val:{type:"number"===s?Ht.number:"date"===s?Ht.date:Ht.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,gn(l,jt({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(Bt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,gn(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,s,t,u);if(u.err)return u;if((p=this.tryParseArgumentClose(r)).err)return p;var p=gn(r,this.clonePosition());return"select"===s?{val:{type:Ht.select,value:n,options:Mn(u.val),location:p},err:null}:{val:{type:Ht.plural,value:n,options:Mn(u.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null};default:return this.error(Bt.INVALID_ARGUMENT_TYPE,gn(o,a))}},In.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Bt.EXPECT_ARGUMENT_CLOSING_BRACE,gn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},In.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,gn(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}},In.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(rn).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 o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(Bt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Yt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?hn(n):{}},err:null}},In.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,o=[],s=new Set,a=r.value,l=r.location;;){if(0===a.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=gn(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?Bt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Bt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(i=!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,gn(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;o.push([a,{value:u.val,location:gn(d,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===t?Bt.EXPECT_SELECT_ARGUMENT_SELECTOR:Bt.EXPECT_PLURAL_ARGUMENT_SELECTOR,gn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(Bt.MISSING_OTHER_CLAUSE,gn(this.clonePosition(),this.clonePosition())):{val:o,err:null}},In.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}r=gn(r,this.clonePosition());return i?bn(o*=n)?{val:o,err:null}:this.error(t,r):this.error(e,r)},In.prototype.offset=function(){return this.position.offset},In.prototype.isEOF=function(){return this.offset()===this.message.length},In.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},In.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=kn(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},In.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},In.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))},In.prototype.bumpIf=function(e){if(_n(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},In.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)},In.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}},In.prototype.bumpSpace=function(){for(;!this.isEOF()&&Dn(this.char());)this.bump()},In.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},In);function In(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 An(e){return 97<=e&&e<=122||65<=e&&e<=90}function Dn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function On(e,t){t=jt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Pn(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,Xt(e)||Jt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Vt(e)&&Qt(e.style)||(Zt(e)||qt(e))&&en(e.style)?delete e.style.location:Kt(e)&&n(e.children)})}(n.val),n.val}function Ln(e,t){var n=t&&t.cache?t.cache:Yn,r=t&&t.serializer?t.serializer:Un;return(t&&t.strategy?t.strategy:function(e,t){return Gn(e,this,1===e.length?Rn:Nn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Rn(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 Nn(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 Gn(e,t,n,r,i){return n.bind(t,e,r,i)}var Un=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 Hn,Yn={create:function(){return new Bn}},jn={variadic:function(e,t){return Gn(e,this,Nn,t.cache.create(),t.serializer)},monadic:function(e,t){return Gn(e,this,Rn,t.cache.create(),t.serializer)}};(e=Hn=Hn||{}).MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API";var zn,Wn,Vn,Zn,qn,Xn=(Ut(rr,qn=Error),rr.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},rr),Jn=(Ut(nr,Zn=Xn),nr),Kn=(Ut(tr,Vn=Xn),tr),Qn=(Ut(er,Wn=Xn),er);function er(e,t){return Wn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Hn.MISSING_VALUE,t)||this}function tr(e,t,n){return Vn.call(this,'Value for "'+e+'" must be of type '+t,Hn.INVALID_VALUE,n)||this}function nr(e,t,n,r){return Zn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',Hn.INVALID_VALUE,r)||this}function rr(e,t,n){e=qn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function ir(e,t,n,r,i,o,s){if(1===e.length&&Wt(e[0]))return[{type:zn.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Wt(u))a.push({type:zn.literal,value:u.value});else if(u.type===Ht.pound)"number"==typeof o&&a.push({type:zn.literal,value:n.getNumberFormat(t).format(o)});else{var d=u.value;if(!(i&&d in i))throw new Qn(d,s);var h=i[d];if(u.type===Ht.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?zn.literal:zn.object,value:h});else if(Zt(u)){var p="string"==typeof u.style?r.date[u.style]:en(u.style)?u.style.parsedOptions:void 0;a.push({type:zn.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(qt(u))p="string"==typeof u.style?r.time[u.style]:en(u.style)?u.style.parsedOptions:void 0,a.push({type:zn.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(Vt(u))(p="string"==typeof u.style?r.number[u.style]:Qt(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),a.push({type:zn.literal,value:n.getNumberFormat(t,p).format(h)});else{if(Kt(u)){var f=u.children,g=u.value,d=i[g];if("function"!=typeof d)throw new Kn(g,"function",s);f=d(ir(f,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),a.push.apply(a,f.map(function(e){return{type:"string"==typeof e?zn.literal:zn.object,value:e}}))}if(Xt(u)){if(!(m=u.options[h]||u.options.other))throw new Jn(u.value,h,Object.keys(u.options),s);a.push.apply(a,ir(m.value,t,n,r,i))}else if(Jt(u)){if(!(m=u.options["="+h])){if(!Intl.PluralRules)throw new Xn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Hn.MISSING_INTL_API,s);var f=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),m=u.options[f]||u.options.other}if(!m)throw new Jn(u.value,h,Object.keys(u.options),s);a.push.apply(a,ir(m.value,t,n,r,i,h-(u.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===zn.literal&&t.type===zn.literal?n.value+=t.value:e.push(t),e},[])}function or(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}}}}}(e=zn=zn||{})[e.literal=0]="literal",e[e.object=1]="object";var sr=(Object.defineProperty(ar,"defaultLocale",{get:function(){return ar.memoizedDefaultLocale||(ar.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),ar.memoizedDefaultLocale},enumerable:!1,configurable:!0}),ar.memoizedDefaultLocale=null,ar.__parse=On,ar.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"}}},ar);function ar(e,t,n,r){var i,o,s=this;if(void 0===t&&(t=ar.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===zn.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 ir(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!ar.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ar.__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=ar.formats,(o=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=o[t])?jt(jt(jt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=jt(jt({},n[t]),r[t]||{}),e},{})):n),e},jt({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,zt([void 0],t)))},{cache:or((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:jn.variadic}),getDateTimeFormat:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,zt([void 0],t)))},{cache:or(r.dateTime),strategy:jn.variadic}),getPluralRules:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,zt([void 0],t)))},{cache:or(r.pluralRules),strategy:jn.variadic})}}const lr={},cr=(t,n)=>{if(null!=n){if(n in lr&&t in lr[n])return lr[n][t];var r,i,o=Mr(n);for(let e=0;e<o.length;e++){var s=(r=o[e],i=t,hr(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 ur[e]||null}(r),i):null);if(s)return r=t,i=n,(s=s)&&(i in lr||(lr[i]={}),r in lr[i]||(lr[i][r]=s),s)}}};let ur;const dr=Tt({});function hr(e){return e in ur}function pr(t,...n){delete lr[t],dr.update(e=>(e[t]=Nt.all([e[t]||{},...n]),e))}$t([dr],([e])=>Object.keys(e)),dr.subscribe(e=>ur=e);const fr={};function gr(e){return fr[e]}function mr(e){return Mr(e).some(e=>{return null===(e=gr(e))||void 0===e?void 0:e.size})}const yr={};function wr(e){if(!mr(e))return e in yr?yr[e]:void 0;const t=Mr(e).map(e=>{var t=gr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return yr[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){fr[e].delete(t),0===fr[e].size&&delete fr[e]}(t,e),e().then(e=>e.default||e)))).then(e=>pr(t,...e))}(e))).then(()=>mr(e)?wr(e):void delete yr[e]),yr[e]}function vr(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 br={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 Sr=Tt(!1);let xr;const _r=Tt(null);function Cr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Mr(e,t=br.fallbackLocale){e=Cr(e);return t?[...new Set([...e,...Cr(t)])]:e}_r.subscribe(e=>{xr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const kr=_r.set;_r.set=t=>{if(function(e){if(null!=e){var t=Mr(e);for(let e=0;e<t.length;e++){var n=t[e];if(hr(n))return n}}}(t)&&mr(t)){var{loadingDelay:n}=br;let e;return"undefined"!=typeof window&&null!=xr&&n?e=window.setTimeout(()=>Sr.set(!0),n):Sr.set(!0),wr(t).then(()=>{kr(t)}).finally(()=>{clearTimeout(e),Sr.set(!1)})}return kr(t)},_r.update=e=>kr(e(xr));const Er=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Tr=(e,t)=>{var{formats:n}=br;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},$r=Er(e=>{var{locale:t,format:n}=e,e=vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Tr("number",n)),new Intl.NumberFormat(t,e)}),Pr=Er(e=>{var{locale:t,format:n}=e,e=vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Tr("date",n):0===Object.keys(e).length&&(e=Tr("date","short")),new Intl.DateTimeFormat(t,e)}),Fr=Er(e=>{var{locale:t,format:n}=e,e=vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Tr("time",n):0===Object.keys(e).length&&(e=Tr("time","short")),new Intl.DateTimeFormat(t,e)}),Ir=Er((e,t=xr)=>new sr(e,t,br.formats,{ignoreTag:br.ignoreTag})),Ar=$t([_r,dr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=xr,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=cr(e,r);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else br.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Mr(r).join('", "')}".${mr(xr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=i||e;if(!n)return o;let s=o;try{s=Ir(o,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});$t([_r],()=>(e,t)=>((e={})=>{var{locale:t=xr}=e,e=vr(e,["locale"]);return Fr(Object.assign({locale:t},e))})(t).format(e)),$t([_r],()=>(e,t)=>((e={})=>{var{locale:t=xr}=e,e=vr(e,["locale"]);return Pr(Object.assign({locale:t},e))})(t).format(e)),$t([_r],()=>(e,t)=>((e={})=>{var{locale:t=xr}=e,e=vr(e,["locale"]);return $r(Object.assign({locale:t},e))})(t).format(e)),$t([_r,dr],()=>(e,t=xr)=>cr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Mt.indexOf(e)&&(t=new St(t),kt[e]=t,Mt.push(e)),kt[e]}};const Dr=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)),Or=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Lr(r,i){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),De(`${r}/player/session/player`,{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Rr(e,t,n){const r=e.slice();return r[24]=t[n],r[26]=n,r}function Nr(t){let r,i=[],n=new Map,o=t[0];const s=e=>e[24].id;for(let e=0;e<o.length;e+=1){var a=Rr(t,o,e),l=s(a);n.set(l,i[e]=Br(l,a))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=p()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);Y(t,r,n)},p(e,t){295&t&&(o=e[0],i=function(t,n,r,i,o,s,a,l,e,c,u,d){let h=t.length,p=s.length,f=h;const g={};for(;f--;)g[t[f].key]=f;const m=[],y=new Map,w=new Map;for(f=p;f--;){const t=d(o,s,f),l=r(t);let e=a.get(l);e?i&&e.p(t,n):(e=c(l,t),e.c()),y.set(l,m[f]=e),l in g&&w.set(l,Math.abs(f-g[l]))}const v=new Set,b=new Set;function S(e){ee(e,1),e.m(l,u),a.set(e.key,e),u=e.first,p--}for(;h&&p;){const n=m[p-1],r=t[h-1],i=n.key,o=r.key;n===r?(u=n.first,h--,p--):y.has(o)?!a.has(i)||v.has(i)?S(n):b.has(o)?h--:w.get(i)>w.get(o)?(b.add(i),S(n)):(v.add(o),h--):(e(r,a),h--)}for(;h--;){const n=t[h];y.has(n.key)||e(n,a)}for(;p;)S(m[p-1]);return m}(i,t,s,1,e,o,n,r.parentNode,ie,Br,r,Rr))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&j(r)}}}function Gr(e){let n,r,i,o=e[24].name+"",s="FAVORITES"===e[24].id?"("+e[1]+")":"";return{c(){n=t(o),r=W(),i=t(s)},m(e,t){Y(e,n,t),Y(e,r,t),Y(e,i,t)},p(e,t){1&t&&o!==(o=e[24].name+"")&&q(n,o),3&t&&s!==(s="FAVORITES"===e[24].id?"("+e[1]+")":"")&&q(i,s)},d(e){e&&j(n),e&&j(r),e&&j(i)}}}function Ur(e){let n,r,i,o=e[24].label+"";return{c(){n=z("a"),r=t(o),Z(n,"href",i=e[24].path)},m(e,t){Y(e,n,t),H(n,r)},p(e,t){1&t&&o!==(o=e[24].label+"")&&q(r,o),1&t&&i!==(i=e[24].path)&&Z(n,"href",i)},d(e){e&&j(n)}}}function Br(e,n){let r,i,o,s;function a(e){return"headerMain"===e[2]?Ur:Gr}let l=a(n),c=l(n);function u(...e){return n[16](n[24],n[26],...e)}return{key:e,first:null,c(){r=z("li"),c.c(),i=W(),Z(r,"class","CarouselItem"),T(r,"active",n[5]==n[26]),this.first=r},m(e,t){Y(e,r,t),c.m(r,null),H(r,i),o||(s=V(r,"click",u),o=!0)},p(e,t){l===(l=a(n=e))&&c?c.p(n,t):(c.d(1),c=l(n),c&&(c.c(),c.m(r,i))),33&t&&T(r,"active",n[5]==n[26])},d(e){e&&j(r),c.d(),o=!1,s()}}}function Hr(n){let r,i,o,s,a,l,c,u,d,h,p,f,g=0<n[0].length&&Nr(n);return{c(){r=z("div"),i=z("div"),o=z("div"),o.innerHTML='<svg 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="M15 19l-7-7 7-7"></path></svg>',s=W(),a=z("ul"),g&&g.c(),l=W(),c=z("div"),c.innerHTML='<svg 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="M9 5l7 7-7 7"></path></svg>',this.c=U,Z(o,"class","CarouselLeftArrow"),Z(a,"class","CarouselItems"),Z(c,"class","CarouselRightArrow"),Z(i,"class",u="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),Z(i,"style",d="headerMain"===n[2]?"max-width: auto":`max-width: ${n[3]}px`),Z(r,"class",h="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":""))},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(i,s),H(i,a),g&&g.m(a,null),n[17](a),H(i,l),H(i,c),n[19](r),p||(f=[V(o,"click",n[15]),V(c,"click",n[18])],p=!0)},p(e,[t]){0<e[0].length?g?g.p(e,t):(g=Nr(e),g.c(),g.m(a,null)):g&&(g.d(1),g=null),4&t&&u!==(u="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&Z(i,"class",u),12&t&&d!==(d="headerMain"===e[2]?"max-width: auto":`max-width: ${e[3]}px`)&&Z(i,"style",d),4&t&&h!==(h="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&Z(r,"class",h)},i:U,o:U,d(e){e&&j(r),g&&g.d(),n[17](null),n[19](null),p=!1,B(f)}}}function Yr(e,t,n){let r,i,o,{sliderdata:s=[]}=t,{onclickeventname:a="defaultEvent"}=t,{favoritesnumber:l="0"}=t,{location:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{identity:h=""}=t,{containermaxwidth:p=""}=t,f=window.navigator.userAgent,g="PC"!==Or(f),m=(e,t)=>{n(5,i=t),window.postMessage({type:a,itemId:e,index:t},window.location.href)};const y=e=>{e.data&&"SetSliderIndex"==e.data.type&&n(5,i=e.data.categoryData?s.map(e=>e.id).indexOf(e.data.categoryData.id):0),e.data&&e.data.type==`SetSliderIndex_${h}`&&n(5,i=e.data.index)};let w=()=>{r.scrollBy({left:-300,behavior:"smooth"})},v=()=>{r.scrollBy({left:300,behavior:"smooth"})};return _e(()=>(window.addEventListener("message",y,!1),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"sliderdata"in e&&n(0,s=e.sliderdata),"onclickeventname"in e&&n(11,a=e.onclickeventname),"favoritesnumber"in e&&n(1,l=e.favoritesnumber),"location"in e&&n(2,c=e.location),"clientstyling"in e&&n(12,u=e.clientstyling),"clientstylingurl"in e&&n(13,d=e.clientstylingurl),"identity"in e&&n(14,h=e.identity),"containermaxwidth"in e&&n(3,p=e.containermaxwidth)},e.$$.update=()=>{4096&e.$$.dirty&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,setTimeout(()=>{o.appendChild(e)})})(),8192&e.$$.dirty&&d&&(()=>{let t=document.createElement("style");d&&fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})})()},[s,l,c,p,r,i,o,g,m,w,v,a,u,d,h,()=>w(),(e,t,n)=>m(e.id,t),function(e){Ce[e?"unshift":"push"](()=>{r=e,n(4,r)})},()=>v(),function(e){Ce[e?"unshift":"push"](()=>{o=e,n(6,o)})}]}function jr(e){let n,r;return{c(){n=z("div"),r=z("casino-slider"),x(r,"favoritesnumber",e[7]),x(r,"sliderdata",e[4]),x(r,"clientstyling",e[0]),x(r,"clientstylingurl",e[1]),x(r,"containermaxwidth",e[2]),x(r,"onclickeventname","CategoryChange"),Z(n,"class","CasinoCategoriesContainer")},m(e,t){Y(e,n,t),H(n,r)},p(e,t){128&t[0]&&x(r,"favoritesnumber",e[7]),16&t[0]&&x(r,"sliderdata",e[4]),1&t[0]&&x(r,"clientstyling",e[0]),2&t[0]&&x(r,"clientstylingurl",e[1]),4&t[0]&&x(r,"containermaxwidth",e[2])},d(e){e&&j(n)}}}function zr(e){let n;return{c(){n=z("p"),n.textContent="500 Error - Internal Server Error.",Z(n,"class","SearchLoading")},m(e,t){Y(e,n,t)},p:U,d(e){e&&j(n)}}}function Wr(e){let n;return{c(){n=z("p"),n.textContent="Please wait ..."},m(e,t){Y(e,n,t)},p:U,d(e){e&&j(n)}}}function Vr(n){let r;function i(e){return e[3]||e[8]?Wr:e[5]?zr:jr}let o=i(n),s=o(n);return{c(){r=z("div"),s.c(),this.c=U},m(e,t){Y(e,r,t),s.m(r,null),n[16](r)},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)))},i:U,o:U,d(e){e&&j(r),s.d(),n[16](null)}}}function Zr(e,t,n){let r,i,{endpoint:o=""}=t,{datasource:s=""}=t,{lang:a=""}=t,{userid:l=""}=t,{session:c=""}=t,{mostplayed:u=""}=t,{favorites:d=""}=t,{clientstyling:h=""}=t,{clientstylingurl:p=""}=t,{containermaxwidth:f=""}=t,g=!1,m=!0,y=[],w=!1,v=window.navigator.userAgent,b=!1,S=!1;const x=e=>{if(e.data)switch(e.data.type){case"UpdateCategoryFavoriteGames":case"ShowFavoriteSection":n(7,i=e.data.receivedFavoriteResults.count);break;case"UserSessionID":e.data.session&&(0==g&&(u&&M(),d&&_()),g=!0)}},_=()=>{0==b&&"true"==d&&y.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),b=!0};let C=!1;const M=()=>{u&&(n(8,C=!0),(()=>{if(u){let e=new URL(`${o}/player/${l}/games/most-played`),t=Or(v);return t?"PC"===t?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),e.searchParams.append("rounds","50"),new Promise((t,n)=>{fetch(e.href).then(e=>e.json()).then(e=>{0==e.count&&t(!1),t(!0)}).catch(e=>{console.error("err",e),n(!1)})})}})().then(e=>{0==S&&"true"==u&&e&&y.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(8,C=!1),A(),S=!0}))};return _e(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)})),e.$$set=e=>{"endpoint"in e&&n(9,o=e.endpoint),"datasource"in e&&n(10,s=e.datasource),"lang"in e&&n(11,a=e.lang),"userid"in e&&n(12,l=e.userid),"session"in e&&n(13,c=e.session),"mostplayed"in e&&n(14,u=e.mostplayed),"favorites"in e&&n(15,d=e.favorites),"clientstyling"in e&&n(0,h=e.clientstyling),"clientstylingurl"in e&&n(1,p=e.clientstylingurl),"containermaxwidth"in e&&n(2,f=e.containermaxwidth)},e.$$.update=()=>{3584&e.$$.dirty[0]&&o&&s&&a&&(()=>{if(o||(error="Endpoint is missing! Please provide a valid endpointURL.",n(5,w=!0),n(3,m=!1),console.error(error)),s||(error="Datasource is missing! Please provide a valid datasource.",n(5,w=!0),n(3,m=!1),console.error(error)),a&&2==a.length||(error="Language is missing! Please provide a valid language (alpha2code)",n(5,w=!0),n(3,m=!1),console.error(error)),!w){let e=new URL(`${o}/casino/groups/${s}`);e.searchParams.append("datasource",s),e.searchParams.append("platform",Or(v)),e.searchParams.append("language",a),fetch(e).then(e=>e.json()).then(e=>{e=e.items.filter(e=>0<e.games.total);n(4,y=y.concat(e)),y.unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(3,m=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(5,w=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(5,w=!0),console.error("There was an error while fetching the categories",e)})}})(),8704&e.$$.dirty[0]&&c&&o&&Lr(o,c).then(e=>{e.Guid,e.UserID,g=!0},e=>{g=!1,console.error("err on session",e)}),40960&e.$$.dirty[0]&&c&&d&&_(),28672&e.$$.dirty[0]&&c&&l&&u&&M(),1&e.$$.dirty[0]&&h&&(()=>{let e=document.createElement("style");e.innerHTML=h,r.appendChild(e)})(),2&e.$$.dirty[0]&&p&&(()=>{let t=document.createElement("style"),e=new URL(p);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})})()},n(7,i=0),[h,p,f,m,y,w,r,i,C,o,s,a,l,c,u,d,function(e){Ce[e?"unshift":"push"](()=>{r=e,n(6,r)})}]}customElements.get("casino-slider")||customElements.define("casino-slider",class extends se{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}.CarouselWrapper{background:#D0046C;background:-webkit-linear-gradient(to left, #FD2839, #D0046C);background:linear-gradient(to left, #FD2839, #D0046C)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;width:100%;color:#ffffff;margin:0 auto;padding:0 10px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{display:flex;height:100%;align-items:center;padding:12.8px 19.2px;font-size:16px;text-align:center;line-height:25.6px;transition:all 150ms ease-in-out;white-space:nowrap}.CarouselContainer .CarouselItems .CarouselItem:hover,.CarouselContainer .CarouselItems .CarouselItem.active{background:#07072a;cursor:pointer}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:38.4px}.CarouselContainer .CarouselLeftArrow:hover,.CarouselContainer .CarouselRightArrow:hover{cursor:pointer}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active{background:transparent}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a{border-top:1px solid #D0046C;color:#D0046C}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:#fff;text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",oe(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Yr,Hr,n,{sliderdata:0,onclickeventname:11,favoritesnumber:1,location:2,clientstyling:12,clientstylingurl:13,identity:14,containermaxwidth:3}),e&&(e.target&&Y(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["sliderdata","onclickeventname","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth"]}get sliderdata(){return this.$$.ctx[0]}set sliderdata(e){this.$set({sliderdata:e}),R()}get onclickeventname(){return this.$$.ctx[11]}set onclickeventname(e){this.$set({onclickeventname:e}),R()}get favoritesnumber(){return this.$$.ctx[1]}set favoritesnumber(e){this.$set({favoritesnumber:e}),R()}get location(){return this.$$.ctx[2]}set location(e){this.$set({location:e}),R()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$set({clientstylingurl:e}),R()}get identity(){return this.$$.ctx[14]}set identity(e){this.$set({identity:e}),R()}get containermaxwidth(){return this.$$.ctx[3]}set containermaxwidth(e){this.$set({containermaxwidth:e}),R()}}),customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends se{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'}p{color:#fff;text-align:center}.CasinoCategoriesContainer{background:black}</style>",oe(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Zr,Vr,n,{endpoint:9,datasource:10,lang:11,userid:12,session:13,mostplayed:14,favorites:15,clientstyling:0,clientstylingurl:1,containermaxwidth:2},[-1,-1]),e&&(e.target&&Y(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","favorites","clientstyling","clientstylingurl","containermaxwidth"]}get endpoint(){return this.$$.ctx[9]}set endpoint(e){this.$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[10]}set datasource(e){this.$set({datasource:e}),R()}get lang(){return this.$$.ctx[11]}set lang(e){this.$set({lang:e}),R()}get userid(){return this.$$.ctx[12]}set userid(e){this.$set({userid:e}),R()}get session(){return this.$$.ctx[13]}set session(e){this.$set({session:e}),R()}get mostplayed(){return this.$$.ctx[14]}set mostplayed(e){this.$set({mostplayed:e}),R()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$set({favorites:e}),R()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(e){this.$set({clientstylingurl:e}),R()}get containermaxwidth(){return this.$$.ctx[2]}set containermaxwidth(e){this.$set({containermaxwidth:e}),R()}});const qr={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:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},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"}}},Xr={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."}}},Jr={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT"}},fr:{gameThumbnail:{playNow:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće"}}};function Kr(e){let n,r=!Dr(e[16])&&!e[0]&&e[9],i=r&&Qr(e);return{c(){i&&i.c(),n=p()},m(e,t){i&&i.m(e,t),Y(e,n,t)},p(e,t){513&t[0]&&(r=!Dr(e[16])&&!e[0]&&e[9]),r?i?i.p(e,t):(i=Qr(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&j(n)}}}function Qr(n){let r,i,o;return{c(){r=z("div"),r.innerHTML='<svg version="1.1" class="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>',Z(r,"class","FavIconContainer")},m(e,t){Y(e,r,t),i||(o=V(r,"click",n[35]),i=!0)},p:U,d(e){e&&j(r),i=!1,o()}}}function ei(e){let n;return{c(){n=z("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',Z(n,"class","FavIconContainer")},m(e,t){Y(e,n,t)},p:U,d(e){e&&j(n)}}}function ti(n){let r,i,o;return{c(){r=z("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',Z(r,"class","FavIconContainer")},m(e,t){Y(e,r,t),i||(o=V(r,"click",n[39]),i=!0)},p:U,d(e){e&&j(r),i=!1,o()}}}function ni(e){let n,r,i=e[15]("gameThumbnail.new")+"";return{c(){n=z("span"),r=t(i),Z(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){Y(e,n,t),H(n,r)},p(e,t){32768&t[0]&&i!==(i=e[15]("gameThumbnail.new")+"")&&q(r,i)},d(e){e&&j(n)}}}function ri(e){let n,r,i=e[15]("gameThumbnail.hot")+"";return{c(){n=z("span"),r=t(i),Z(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){Y(e,n,t),H(n,r)},p(e,t){32768&t[0]&&i!==(i=e[15]("gameThumbnail.hot")+"")&&q(r,i)},d(e){e&&j(n)}}}function ii(e){let n,r;return{c(){n=z("p"),r=t(e[3]),Z(n,"class","GameNameBelow"),Z(n,"title",e[3])},m(e,t){Y(e,n,t),H(n,r)},p(e,t){8&t[0]&&q(r,e[3]),8&t[0]&&Z(n,"title",e[3])},d(e){e&&j(n)}}}function oi(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S,x,_,C,M,k,E,T,$,P=n[15]("gameThumbnail.playNow")+"",F=(n[4]||"-")+"",I=0<parseInt(n[7]),A=n[14]&&Kr(n);function D(e,t){return(null==x||515&t[0])&&(x=!(Dr(e[16])||!e[0]||!e[9]||!e[1])),x?ti:((null==_||515&t[0])&&(_=!!(Dr(e[16])&&e[0]&&e[9]&&e[1])),_?ei:void 0)}let O=D(n,[-1]),L=O&&O(n),R=n[6]&&ni(n),N=I&&ri(n),G=n[8]&&ii(n);return{c(){r=z("div"),i=z("div"),o=z("img"),l=W(),c=z("div"),u=z("div"),A&&A.c(),d=W(),h=z("p"),p=t(n[3]),f=W(),g=z("button"),m=t(P),w=W(),v=z("span"),b=t(F),S=W(),L&&L.c(),C=W(),M=z("div"),R&&R.c(),k=W(),N&&N.c(),E=W(),G&&G.c(),this.c=U,o.src!==(s=n[2])&&Z(o,"src",s),Z(o,"class",a="GameBg "+(n[10]?"GameContainerHovered":"")+" "+(n[11]?"Loaded":"")),Z(o,"alt",""),Z(o,"loading","lazy"),Z(h,"class","GameInfoName"),Z(h,"title",n[3]),Z(g,"class","GameInfoBtn"),Z(u,"class",y="GameInfo "+(n[10]?"GameHovered":"")),Z(v,"class","GameInfoVendor"),Z(c,"class","GameInfoWrapper"),Z(M,"class","GameExtraInfo"),Z(i,"class","GameInnerContainer"),Z(r,"class","GameContainer")},m(e,t){Y(e,r,t),H(r,i),H(i,o),n[34](o),H(i,l),H(i,c),H(c,u),A&&A.m(u,null),H(u,d),H(u,h),H(h,p),H(u,f),H(u,g),H(g,m),H(c,w),H(c,v),H(v,b),H(i,S),L&&L.m(i,null),H(i,C),H(i,M),R&&R.m(M,null),H(M,k),N&&N.m(M,null),H(r,E),G&&G.m(r,null),n[40](r),T||($=[V(g,"click",n[36]),V(c,"mouseenter",n[37]),V(c,"mouseleave",n[38]),V(i,"mouseenter",n[23]),V(i,"mouseleave",n[24]),V(i,"touchstart",n[21],{passive:!0}),V(i,"touchleave",n[22])],T=!0)},p(e,t){4&t[0]&&o.src!==(s=e[2])&&Z(o,"src",s),3072&t[0]&&a!==(a="GameBg "+(e[10]?"GameContainerHovered":"")+" "+(e[11]?"Loaded":""))&&Z(o,"class",a),e[14]?A?A.p(e,t):(A=Kr(e),A.c(),A.m(u,d)):A&&(A.d(1),A=null),8&t[0]&&q(p,e[3]),8&t[0]&&Z(h,"title",e[3]),32768&t[0]&&P!==(P=e[15]("gameThumbnail.playNow")+"")&&q(m,P),1024&t[0]&&y!==(y="GameInfo "+(e[10]?"GameHovered":""))&&Z(u,"class",y),16&t[0]&&F!==(F=(e[4]||"-")+"")&&q(b,F),O===(O=D(e,t))&&L?L.p(e,t):(L&&L.d(1),L=O&&O(e),L&&(L.c(),L.m(i,C))),e[6]?R?R.p(e,t):(R=ni(e),R.c(),R.m(M,k)):R&&(R.d(1),R=null),128&t[0]&&(I=0<parseInt(e[7])),I?N?N.p(e,t):(N=ri(e),N.c(),N.m(M,null)):N&&(N.d(1),N=null),e[8]?G?G.p(e,t):(G=ii(e),G.c(),G.m(r,null)):G&&(G.d(1),G=null)},i:U,o:U,d(e){e&&j(r),n[34](null),A&&A.d(),L&&L.d(),R&&R.d(),N&&N.d(),G&&G.d(),n[40](null),T=!1,B($)}}}function si(e,t,n){let r;xe(e,Ar,e=>n(15,r=e));let i,o,{session:s=""}=t,{userid:a=""}=t,{lang:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,{favorites:d=""}=t,{gamethumbnail:h=""}=t,{gamename:p=""}=t,{gamevendor:f=""}=t,{gameid:g=""}=t,{gameisnew:m=""}=t,{gamepopularity:y=""}=t,{gamefunmode:w=!1}=t,{searchitem:v=!1}=t,{gamefavorite:b=!1}=t,{showfavoredcategory:S=!1}=t,{showgamename:x=!1}=t,{endpoint:_=""}=t,C=!1,M=!1,k=!1,E=window.navigator.userAgent;Object.keys(Jr).forEach(e=>{pr(e,Jr[e])});const T=()=>{n(10,M=!0)},$=()=>{n(10,M=!1)},P=e=>{e.data.type!==`AddFavoriteThumbnail_${g}`||S||n(0,b=!0),e.data.type!==`RemoveFavoriteThumbnail_${g}`||S||n(0,b=!1),"UserSessionID"===e.data.type&&(n(9,C=!0),e.data.session,e.data.userID)},F=e=>{Dr(E)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:w},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),v&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},I=e=>{var t="thumbnail";b?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)};let A=!1;return _e(()=>(window.addEventListener("message",P,!1),()=>{window.removeEventListener("message",P)})),e.$$set=e=>{"session"in e&&n(25,s=e.session),"userid"in e&&n(26,a=e.userid),"lang"in e&&n(27,l=e.lang),"clientstyling"in e&&n(28,c=e.clientstyling),"clientstylingurl"in e&&n(29,u=e.clientstylingurl),"favorites"in e&&n(1,d=e.favorites),"gamethumbnail"in e&&n(2,h=e.gamethumbnail),"gamename"in e&&n(3,p=e.gamename),"gamevendor"in e&&n(4,f=e.gamevendor),"gameid"in e&&n(5,g=e.gameid),"gameisnew"in e&&n(6,m=e.gameisnew),"gamepopularity"in e&&n(7,y=e.gamepopularity),"gamefunmode"in e&&n(30,w=e.gamefunmode),"searchitem"in e&&n(31,v=e.searchitem),"gamefavorite"in e&&n(0,b=e.gamefavorite),"showfavoredcategory"in e&&n(32,S=e.showfavoredcategory),"showgamename"in e&&n(8,x=e.showgamename),"endpoint"in e&&n(33,_=e.endpoint)},e.$$.update=()=>{e.$$.dirty[0],100663296&e.$$.dirty[0]|4&e.$$.dirty[1]&&s&&a&&_&&n(9,C=!0),4&e.$$.dirty[0]&&h&&i&&n(12,i.onload=()=>{n(11,k=!0)},i),268435456&e.$$.dirty[0]&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{o.appendChild(e)})})(),2&e.$$.dirty[0]&&d&&"true"==d&&n(14,A=!0),536870912&e.$$.dirty[0]&&u&&(()=>{let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)})})})()},[b,d,h,p,f,g,m,y,x,C,M,k,i,o,A,r,E,T,$,F,I,()=>{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)},s,a,l,c,u,w,v,S,_,function(e){Ce[e?"unshift":"push"](()=>{i=e,n(12,i)})},()=>I(g),()=>F(g),()=>T(),()=>$(),()=>I(g),function(e){Ce[e?"unshift":"push"](()=>{o=e,n(13,o)})}]}function ai(e,t,n){const r=e.slice();return r[68]=t[n],r[70]=n,r}function li(e,t,n){const r=e.slice();return r[68]=t[n],r[71]=t,r[70]=n,r}function ci(e,t,n){const r=e.slice();return r[68]=t[n],r[70]=n,r}function ui(e){let n;function r(e){return e[9]?fi:e[19]?pi:void 0}let i=r(e),o=i&&i(e);return{c(){n=z("div"),o&&o.c()},m(e,t){Y(e,n,t),o&&o.m(n,null)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),o=i&&i(e),o&&(o.c(),o.m(n,null)))},d(e){e&&j(n),o&&o.d()}}}function di(e){let n,r,i;function o(e){return e[13]?Ii:e[10].length?Pi:Fi}let s=o(e),a=s(e);function l(e){return e[10]?Di:Ai}let c=l(e),u=c(e);return{c(){n=z("div"),r=z("div"),a.c(),i=W(),u.c(),Z(r,"class","CasinoGamesHeader Searched "+(Dr(e[23])?"CasinoGamesHeaderMobile":"")),Z(n,"class","CasinoGamesContainer")},m(e,t){Y(e,n,t),H(n,r),a.m(r,null),H(n,i),u.m(n,null)},p(e,t){s===(s=o(e))&&a?a.p(e,t):(a.d(1),a=s(e),a&&(a.c(),a.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),a.d(),u.d()}}}function hi(e){let n;function r(e){return e[15]?Ni:Ri}let i=r(e),o=i(e);return{c(){o.c(),n=p()},m(e,t){o.m(e,t),Y(e,n,t)},p(e,t){i!==(i=r(e))&&(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&j(n)}}}function pi(n){let r,i,o,s,a,l,c,u=n[21].name+"";function d(e){return e[21]?mi:gi}let h=d(n),p=h(n);return{c(){r=z("div"),i=z("div"),o=z("h3"),s=t(u),a=W(),l=z("ul"),p.c(),Z(o,"class","CategoryName"),Z(i,"class","CasinoGamesHeader"),Z(l,"class",c=(0!=n[21].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),Z(r,"class","CasinoGamesContainer")},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(o,s),n[38](o),H(r,a),H(r,l),p.m(l,null),n[39](l)},p(e,t){2097152&t[0]&&u!==(u=e[21].name+"")&&q(s,u),h===(h=d(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(l,null))),2097152&t[0]&&c!==(c=(0!=e[21].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&Z(l,"class",c)},d(e){e&&j(r),n[38](null),p.d(),n[39](null)}}}function fi(n){let r,i,o,s,a,l,c=n[9].name+"",u=n[11]&&ki(n);function d(e){return 0!==e[10].length?Ti:Ei}let h=d(n),p=h(n);return{c(){r=z("div"),i=z("div"),o=z("h3"),s=t(c),a=W(),u&&u.c(),l=W(),p.c(),Z(o,"class","CategoryName"),Z(i,"class","CasinoGamesHeader"),Z(r,"class","CasinoGamesContainer")},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(o,s),n[34](o),H(i,a),u&&u.m(i,null),H(r,l),p.m(r,null)},p(e,t){512&t[0]&&c!==(c=e[9].name+"")&&q(s,c),e[11]?u?u.p(e,t):(u=ki(e),u.c(),u.m(i,null)):u&&(u.d(1),u=null),h===(h=d(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(r,null)))},d(e){e&&j(r),n[34](null),u&&u.d(),p.d()}}}function gi(e){let n;return{c(){n=z("p"),n.textContent="Waiting"},m(e,t){Y(e,n,t)},p:U,d(e){e&&j(n)}}}function mi(t){let r,i=t[21].items,o=[];for(let e=0;e<i.length;e+=1)o[e]=Mi(ai(t,i,e));let s=null;return i.length||(s=yi(t)),{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=p(),s&&s.c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);Y(t,r,n),s&&s.m(t,n)},p(t,n){if(11010175&n[0]){let e;for(i=t[21].items,e=0;e<i.length;e+=1){const s=ai(t,i,e);o[e]?o[e].p(s,n):(o[e]=Mi(s),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length,!i.length&&s?s.p(t,n):i.length?s&&(s.d(1),s=null):(s=yi(t),s.c(),s.m(r.parentNode,r))}},d(e){c(o,e),e&&j(r),s&&s.d(e)}}}function yi(e){let n,r,i,o,s,a,l,c=(t=e,(Dr(t[23])?vi:wi)(e));var t;return{c(){n=z("p"),r=S("svg"),i=S("path"),o=W(),s=z("span"),s.textContent="You do not have any favored games yet.",a=W(),c.c(),l=W(),E(i,"fill","white"),Z(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"),Z(r,"version","1.1"),Z(r,"class","UnfavoredIcon"),Z(r,"xmlns","http://www.w3.org/2000/svg"),Z(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),Z(r,"x","50px"),Z(r,"y","50px"),Z(r,"viewBox","0 0 512.001 512.001"),E(r,"enable-background","new 0 0 512.001 512.001"),Z(r,"xml:space","preserve"),Z(s,"class","NoFavoriteText NoFavoriteTextHighlight"),Z(n,"class","NoFavoriteGames "+(Dr(e[23])?"NoFavoriteGamesMobile":""))},m(e,t){Y(e,n,t),H(n,r),H(r,i),H(n,o),H(n,s),H(n,a),c.m(n,null),H(n,l)},p:U,d(e){e&&j(n),c.d()}}}function wi(e){let n;return{c(){n=z("span"),n.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",Z(n,"class","NoFavoriteText")},m(e,t){Y(e,n,t)},d(e){e&&j(n)}}}function vi(e){let n;return{c(){n=z("span"),n.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",Z(n,"class","NoFavoriteText")},m(e,t){Y(e,n,t)},d(e){e&&j(n)}}}function bi(e){let n,r=e[68].gameModel.isFavorite&&Si(e);return{c(){r&&r.c(),n=p()},m(e,t){r&&r.m(e,t),Y(e,n,t)},p(e,t){e[68].gameModel.isFavorite?r?r.p(e,t):(r=Si(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&j(n)}}}function Si(e){let n,r=function(e){let n,r,i;function o(e,t){return null==n&&(n=!!Dr(e[23])),n?_i:((null==r||2097152&t[0])&&(r=!!e[68].gameModel.platform.includes("PC")),r?xi:void 0)}let s=o(e,[-1]),a=s&&s(e);return{c(){a&&a.c(),i=p()},m(e,t){a&&a.m(e,t),Y(e,i,t)},p(e,t){s===(s=o(e,t))&&a?a.p(e,t):(a&&a.d(1),a=s&&s(e),a&&(a.c(),a.m(i.parentNode,i)))},d(e){a&&a.d(e),e&&j(i)}}}(e);return{c(){r&&r.c(),n=p()},m(e,t){r&&r.m(e,t),Y(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&j(n)}}}function xi(e){let n,r,i,o,s,a,l,c,u,d,h;return{c(){n=z("casino-game-thumbnail"),x(n,"class",r=""+(Ui+(e[68].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",i=e[68].gameModel.thumbnail),x(n,"gamename",o=e[68].gameModel.name),x(n,"gamevendor",s=e[68].gameModel.vendor.name),x(n,"gameisnew",a=e[68].gameModel.isNew),x(n,"gamepopularity",l=e[68].gameModel.popularity),x(n,"gamecellsize",c=e[68].gameModel.cellSize),x(n,"gameid",u=e[68].gameModel.id),x(n,"gamefunmode",d=e[68].gameModel.hasFunMode),x(n,"gamefavorite",h=e[68].gameModel.isFavorite),x(n,"showfavoredcategory",e[19]),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0])},m(e,t){Y(e,n,t)},p(e,t){2097152&t[0]&&r!==(r=""+(Ui+(e[68].cellSize||"1x1")))&&x(n,"class",r),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),2097152&t[0]&&i!==(i=e[68].gameModel.thumbnail)&&x(n,"gamethumbnail",i),2097152&t[0]&&o!==(o=e[68].gameModel.name)&&x(n,"gamename",o),2097152&t[0]&&s!==(s=e[68].gameModel.vendor.name)&&x(n,"gamevendor",s),2097152&t[0]&&a!==(a=e[68].gameModel.isNew)&&x(n,"gameisnew",a),2097152&t[0]&&l!==(l=e[68].gameModel.popularity)&&x(n,"gamepopularity",l),2097152&t[0]&&c!==(c=e[68].gameModel.cellSize)&&x(n,"gamecellsize",c),2097152&t[0]&&u!==(u=e[68].gameModel.id)&&x(n,"gameid",u),2097152&t[0]&&d!==(d=e[68].gameModel.hasFunMode)&&x(n,"gamefunmode",d),2097152&t[0]&&h!==(h=e[68].gameModel.isFavorite)&&x(n,"gamefavorite",h),524288&t[0]&&x(n,"showfavoredcategory",e[19]),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0])},d(e){e&&j(n)}}}function _i(e){let n,r=e[68].gameModel.platform.includes("iPad")||e[68].gameModel.platform.includes("iPhone")||e[68].gameModel.platform.includes("Android"),i=r&&Ci(e);return{c(){i&&i.c(),n=p()},m(e,t){i&&i.m(e,t),Y(e,n,t)},p(e,t){2097152&t[0]&&(r=e[68].gameModel.platform.includes("iPad")||e[68].gameModel.platform.includes("iPhone")||e[68].gameModel.platform.includes("Android")),r?i?i.p(e,t):(i=Ci(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&j(n)}}}function Ci(e){let n,r,i,o,s,a,l,c,u,d,h;return{c(){n=z("casino-game-thumbnail"),x(n,"class",r=""+(Ui+(e[68].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",i=e[68].gameModel.thumbnail),x(n,"gamename",o=e[68].gameModel.name),x(n,"gamevendor",s=e[68].gameModel.vendor.name),x(n,"gameisnew",a=e[68].gameModel.isNew),x(n,"gamepopularity",l=e[68].gameModel.popularity),x(n,"gamecellsize",c=e[68].gameModel.cellSize),x(n,"gameid",u=e[68].gameModel.id),x(n,"gamefunmode",d=e[68].gameModel.hasFunMode),x(n,"gamefavorite",h=e[68].gameModel.isFavorite),x(n,"showfavoredcategory",e[19]),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0])},m(e,t){Y(e,n,t)},p(e,t){2097152&t[0]&&r!==(r=""+(Ui+(e[68].cellSize||"1x1")))&&x(n,"class",r),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),2097152&t[0]&&i!==(i=e[68].gameModel.thumbnail)&&x(n,"gamethumbnail",i),2097152&t[0]&&o!==(o=e[68].gameModel.name)&&x(n,"gamename",o),2097152&t[0]&&s!==(s=e[68].gameModel.vendor.name)&&x(n,"gamevendor",s),2097152&t[0]&&a!==(a=e[68].gameModel.isNew)&&x(n,"gameisnew",a),2097152&t[0]&&l!==(l=e[68].gameModel.popularity)&&x(n,"gamepopularity",l),2097152&t[0]&&c!==(c=e[68].gameModel.cellSize)&&x(n,"gamecellsize",c),2097152&t[0]&&u!==(u=e[68].gameModel.id)&&x(n,"gameid",u),2097152&t[0]&&d!==(d=e[68].gameModel.hasFunMode)&&x(n,"gamefunmode",d),2097152&t[0]&&h!==(h=e[68].gameModel.isFavorite)&&x(n,"gamefavorite",h),524288&t[0]&&x(n,"showfavoredcategory",e[19]),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0])},d(e){e&&j(n)}}}function Mi(e){let n,r=e[68].gameModel&&bi(e);return{c(){r&&r.c(),n=p()},m(e,t){r&&r.m(e,t),Y(e,n,t)},p(e,t){e[68].gameModel?r?r.p(e,t):(r=bi(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&j(n)}}}function ki(n){let r,i,o,s,a,l,c,u,d=n[22]("gamesCategorySection.viewAll")+"",h=n[9].games.total+"";return{c(){r=z("a"),i=z("span"),o=t(d),s=t(" ("),a=t(h),l=t(")"),Z(i,"class","CategoryLoadMore"),Z(r,"class","CategoryNameLink")},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(i,s),H(i,a),H(i,l),c||(u=V(r,"click",n[35]),c=!0)},p(e,t){4194304&t[0]&&d!==(d=e[22]("gamesCategorySection.viewAll")+"")&&q(o,d),512&t[0]&&h!==(h=e[9].games.total+"")&&q(a,h)},d(e){e&&j(r),c=!1,u()}}}function Ei(e){let n;return{c(){n=z("p"),n.textContent="You don't have any games in this category.",Z(n,"class","NoSearchResults")},m(e,t){Y(e,n,t)},p:U,d(e){e&&j(n)}}}function Ti(n){let i,e,o=n[10],s=[];for(let e=0;e<o.length;e+=1)s[e]=$i(li(n,o,e));return{c(){i=z("ul");for(let e=0;e<s.length;e+=1)s[e].c();Z(i,"class",e=(0===n[21].items.length&&n[19]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){Y(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null);n[37](i)},p(t,n){if(1279&n[0]){let e;for(o=t[10],e=0;e<o.length;e+=1){var r=li(t,o,e);s[e]?s[e].p(r,n):(s[e]=$i(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}2621440&n[0]&&e!==(e=(0===t[21].items.length&&t[19]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&Z(i,"class",e)},d(e){e&&j(i),c(s,e),n[37](null)}}}function $i(e){let n,r=function(n){let r,i,o,s,a,l,c,u,d,h,p,f=n[70];const g=()=>n[36](r,f),m=()=>n[36](null,f);return{c(){r=z("casino-game-thumbnail"),x(r,"session",n[2]),x(r,"userid",n[3]),x(r,"lang",n[1]),x(r,"class",i=""+(Ui+(n[68].cellSize||"1x1"))),x(r,"favorites",n[4]),x(r,"gamethumbnail",o=n[68].thumbnail),x(r,"gamename",s=n[68].name),x(r,"gamevendor",a=n[68].vendor.name),x(r,"gameisnew",l=n[68].isNew),x(r,"gamepopularity",c=n[68].popularity),x(r,"gamecellsize",u=n[68].cellSize),x(r,"gameid",d=n[68].id),x(r,"gamefunmode",h=n[68].hasFunMode),x(r,"gamefavorite",p=n[68].isFavorite),x(r,"clientstyling",n[5]),x(r,"clientstylingurl",n[6]),x(r,"endpoint",n[0])},m(e,t){Y(e,r,t),g()},p(e,t){n=e,4&t[0]&&x(r,"session",n[2]),8&t[0]&&x(r,"userid",n[3]),2&t[0]&&x(r,"lang",n[1]),1024&t[0]&&i!==(i=""+(Ui+(n[68].cellSize||"1x1")))&&x(r,"class",i),16&t[0]&&x(r,"favorites",n[4]),1024&t[0]&&o!==(o=n[68].thumbnail)&&x(r,"gamethumbnail",o),1024&t[0]&&s!==(s=n[68].name)&&x(r,"gamename",s),1024&t[0]&&a!==(a=n[68].vendor.name)&&x(r,"gamevendor",a),1024&t[0]&&l!==(l=n[68].isNew)&&x(r,"gameisnew",l),1024&t[0]&&c!==(c=n[68].popularity)&&x(r,"gamepopularity",c),1024&t[0]&&u!==(u=n[68].cellSize)&&x(r,"gamecellsize",u),1024&t[0]&&d!==(d=n[68].id)&&x(r,"gameid",d),1024&t[0]&&h!==(h=n[68].hasFunMode)&&x(r,"gamefunmode",h),1024&t[0]&&p!==(p=n[68].isFavorite)&&x(r,"gamefavorite",p),32&t[0]&&x(r,"clientstyling",n[5]),64&t[0]&&x(r,"clientstylingurl",n[6]),1&t[0]&&x(r,"endpoint",n[0]),f!==n[70]&&(m(),f=n[70],g())},d(e){e&&j(r),m()}}}(e);return{c(){r&&r.c(),n=p()},m(e,t){r&&r.m(e,t),Y(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&j(n)}}}function Pi(e){let n,r,i=e[22]("gamesCategorySection.searchedItems")+"";return{c(){n=z("h3"),r=t(i),Z(n,"class","StatusText")},m(e,t){Y(e,n,t),H(n,r)},p(e,t){4194304&t[0]&&i!==(i=e[22]("gamesCategorySection.searchedItems")+"")&&q(r,i)},d(e){e&&j(n)}}}function Fi(e){let n,r,i=e[22]("gamesCategorySection.noResults")+"";return{c(){n=z("h3"),r=t(i),Z(n,"class","StatusText")},m(e,t){Y(e,n,t),H(n,r)},p(e,t){4194304&t[0]&&i!==(i=e[22]("gamesCategorySection.noResults")+"")&&q(r,i)},d(e){e&&j(n)}}}function Ii(e){let n,r,i=e[22]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=z("h3"),r=t(i),Z(n,"class","StatusText")},m(e,t){Y(e,n,t),H(n,r)},p(e,t){4194304&t[0]&&i!==(i=e[22]("gamesCategorySection.recentSearchedItems")+"")&&q(r,i)},d(e){e&&j(n)}}}function Ai(e){let n;return{c(){n=z("p"),n.textContent="Waiting",Z(n,"class","SearchWaiting")},m(e,t){Y(e,n,t)},p:U,d(e){e&&j(n)}}}function Di(t){let r,i,o=!t[16]&&Oi(t),s=t[10],a=[];for(let e=0;e<s.length;e+=1)a[e]=Li(ci(t,s,e));return{c(){o&&o.c(),r=W(),i=z("ul");for(let e=0;e<a.length;e+=1)a[e].c();Z(i,"class","CasinoGamesGrid")},m(e,t){o&&o.m(e,t),Y(e,r,t),Y(e,i,t);for(let e=0;e<a.length;e+=1)a[e].m(i,null)},p(t,n){if(t[16]?o&&(o.d(1),o=null):o?o.p(t,n):(o=Oi(t),o.c(),o.m(r.parentNode,r)),17535&n[0]){let e;for(s=t[10],e=0;e<s.length;e+=1){const o=ci(t,s,e);a[e]?a[e].p(o,n):(a[e]=Li(o),a[e].c(),a[e].m(i,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=s.length}},d(e){o&&o.d(e),e&&j(r),e&&j(i),c(a,e)}}}function Oi(e){let n,r,i=e[22]("gamesCategorySection.noRecentSearch")+"";return{c(){n=z("p"),r=t(i),Z(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Dr(e[23])?"NoRecentSearchesMobile":""))},m(e,t){Y(e,n,t),H(n,r)},p(e,t){4194304&t[0]&&i!==(i=e[22]("gamesCategorySection.noRecentSearch")+"")&&q(r,i)},d(e){e&&j(n)}}}function Li(e){let n,r,i,o,s,a,l,c,u,d,h;return{c(){n=z("casino-game-thumbnail"),x(n,"class",r=""+(Ui+(e[68].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"searchitem",e[14]),x(n,"favorites",e[4]),x(n,"gamethumbnail",i=e[68].thumbnail),x(n,"gamename",o=e[68].name),x(n,"gamevendor",s=e[68].vendor.name),x(n,"gameisnew",a=e[68].isNew),x(n,"gamepopularity",l=e[68].popularity),x(n,"gamecellsize",c=e[68].cellSize),x(n,"gameid",u=e[68].id),x(n,"gamefunmode",d=e[68].hasFunMode),x(n,"gamefavorite",h=e[68].isFavorite),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0])},m(e,t){Y(e,n,t)},p(e,t){1024&t[0]&&r!==(r=""+(Ui+(e[68].cellSize||"1x1")))&&x(n,"class",r),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16384&t[0]&&x(n,"searchitem",e[14]),16&t[0]&&x(n,"favorites",e[4]),1024&t[0]&&i!==(i=e[68].thumbnail)&&x(n,"gamethumbnail",i),1024&t[0]&&o!==(o=e[68].name)&&x(n,"gamename",o),1024&t[0]&&s!==(s=e[68].vendor.name)&&x(n,"gamevendor",s),1024&t[0]&&a!==(a=e[68].isNew)&&x(n,"gameisnew",a),1024&t[0]&&l!==(l=e[68].popularity)&&x(n,"gamepopularity",l),1024&t[0]&&c!==(c=e[68].cellSize)&&x(n,"gamecellsize",c),1024&t[0]&&u!==(u=e[68].id)&&x(n,"gameid",u),1024&t[0]&&d!==(d=e[68].hasFunMode)&&x(n,"gamefunmode",d),1024&t[0]&&h!==(h=e[68].isFavorite)&&x(n,"gamefavorite",h),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0])},d(e){e&&j(n)}}}function Ri(e){let n;return{c(){n=z("p"),n.textContent="500 Error - Internal Server Error.",Z(n,"class","SearchLoading")},m(e,t){Y(e,n,t)},d(e){e&&j(n)}}}function Ni(e){let n;return{c(){n=z("p"),n.textContent="404 Error - No result found.",Z(n,"class","SearchLoading")},m(e,t){Y(e,n,t)},d(e){e&&j(n)}}}function Gi(n){let r;function i(e){return e[8]?hi:e[12]?di:ui}let o=i(n),s=o(n);return{c(){r=z("div"),s.c(),this.c=U,Z(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){Y(e,r,t),s.m(r,null),n[40](r)},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)))},i:U,o:U,d(e){e&&j(r),s.d(),n[40](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends se{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%}.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)}.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:#DB2777;color:#FDF2F8;font-size:16px;border:2px solid #9D174D;border-radius:4.8px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid #F9A8D4}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14.4px;font-weight:normal}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;top:8px;left:8px}.GameInnerContainer .GameExtraInfoLabel{font-size:11.2px;padding:3.2px;background-color:#DC2626;color:#FEF2F2;font-weight:bold;text-transform:uppercase;border-radius:4.8px}.GameNameBelow{color:#fff;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}</style>",oe(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},si,oi,n,{session:25,userid:26,lang:27,clientstyling:28,clientstylingurl:29,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:30,searchitem:31,gamefavorite:0,showfavoredcategory:32,showgamename:8,endpoint:33},[-1,-1]),e&&(e.target&&Y(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","endpoint"]}get session(){return this.$$.ctx[25]}set session(e){this.$set({session:e}),R()}get userid(){return this.$$.ctx[26]}set userid(e){this.$set({userid:e}),R()}get lang(){return this.$$.ctx[27]}set lang(e){this.$set({lang:e}),R()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(e){this.$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(e){this.$set({clientstylingurl:e}),R()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),R()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),R()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),R()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),R()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),R()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),R()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),R()}get gamefunmode(){return this.$$.ctx[30]}set gamefunmode(e){this.$set({gamefunmode:e}),R()}get searchitem(){return this.$$.ctx[31]}set searchitem(e){this.$set({searchitem:e}),R()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),R()}get showfavoredcategory(){return this.$$.ctx[32]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),R()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),R()}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$set({endpoint:e}),R()}});const Ui="game-tile-";function Bi(e,t,a){let n;xe(e,Ar,e=>a(22,n=e));var r=this&&this.__awaiter||function(e,s,a,l){return new(a=a||Promise)(function(n,t){function r(e){try{o(l.next(e))}catch(e){t(e)}}function i(e){try{o(l.throw(e))}catch(e){t(e)}}function o(e){var t;e.done?n(e.value):((t=e.value)instanceof a?t:new a(function(e){e(t)})).then(r,i)}o((l=l.apply(e,s||[])).next())})};let i,o,s,l,c,u,d,h,{endpoint:p=""}=t,{datasource:f=""}=t,{lang:g=""}=t,{session:m=""}=t,{userid:y=""}=t,{favorites:w=""}=t,{clientstyling:v=""}=t,{clientstylingurl:b=""}=t,{categoryid:S=""}=t,{categoryindex:x=0}=t,{categorygames:_=0}=t,{once:C=!0}=t,{top:M=0}=t,{bottom:k=0}=t,{left:E=0}=t,{right:T=0}=t,$=!1,P=!0,F=window.navigator.userAgent,I=[],A=!0,D=40,O=!1,L=!1,R=!1,N=!1,G=!0,U=!1,B=!1,H=!1,Y=new Array(1e3),j={items:[],count:0,name:""};Object.keys(Xr).forEach(e=>{pr(e,Xr[e])});let z=new IntersectionObserver((e,t)=>{e.forEach(t=>r(void 0,void 0,void 0,function*(){var e=t.target.elems_index;t.isIntersecting&&1.2*e>D&&Z(S)}))});const W=(e,r,i,t=0)=>{let o=new URL(`${p}/casino/groups/${f}/${S}`),s=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(o.searchParams.delete("pagination"),o.searchParams.append("expand","games(vendor)"),o.searchParams.append("fields","id,name,games"),o.searchParams.append("platform",Or(F)),o.searchParams.append("pagination",`games(offset=${r},limit=${i})`),o.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:S},window.location.href),s&&s[S])if(s[S].length&&!1===P&&!1===U){let t="";a(15,N=!0),s[S].forEach(e=>{t+=t?`, id=${e}`:`id=${e}`}),o.searchParams.append("filter",`games(vendor(${t}))`)}else a(15,N=!1);fetch(o).then(e=>e.json()).then(e=>{a(8,$=!1),c=e.games.total,t(e)},e=>{a(8,$=!0),console.error(e),n(e)})})},V=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":a(12,O=!1),P=!1,a(11,A=!1),B=!0,a(10,I=t.data.mostPlayedGames),a(9,s={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":a(12,O=!0),B=!1,a(13,L=!0),0<t.data.searchData.length?(a(10,I=t.data.searchData),a(16,G=!0),I&&I.forEach(e=>{e.isFavorite=q(e.id)})):(a(10,I=[]),a(16,G=!1));break;case"OutOfRecentSearches":a(12,O=!1),a(13,L=!1);break;case"SearchData":a(12,O=!0),B=!1,a(13,L=!1),a(10,I=t.data.searchData.items||[]),a(14,R=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),I&&I.forEach(e=>{e.isFavorite=q(e.id)});break;case`CategoryData_${S}`:a(12,O=!1),P=!0,a(11,A=!0),a(14,R=!1),B=!1,H=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),W(t.data.categoryId,0,t.data.visiblegames).then(e=>{a(9,s=e),a(10,I=s.games.items),I&&I.forEach(e=>{e.isFavorite=q(e.id)})});break;case"CategoryChange":D=20;break;case"CategoryUpdate":a(12,O=!1),P=!1,a(14,R=!1),B=!1,a(11,A=!1),H=!0,a(25,S=t.data.itemId),W(0,0,D).then(e=>{a(9,s=e),s.games.items.forEach(e=>{e.isFavorite=q(e.id)}),a(10,I=s.games.items),a(11,A=!1)});break;case"FavoriteUpdate":a(12,O=!1),B=!1,P=!0,a(10,I=s.games.items),I.forEach(e=>{e.isFavorite=q(e.id)}),a(11,A=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items,t.data.triggerFactor&&!U?window.postMessage({type:"FavoriteUpdate"},window.location.href):P||B||window.postMessage({type:"CategoryUpdate",itemId:S},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)}),a(21,j.items=(n=e,j.items,r=window.navigator.userAgent,Dr(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})),j),a(21,j.name="Favorites",j),a(19,U=!0));break;case"UserSessionID":i=t.data.session,o=t.data.userID,"true"==w&&o&&o.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:[],I.forEach(e=>{e.isFavorite=q(e.id)});e=I;a(10,I=void 0),a(10,I=e),t(d)}).catch(e=>{console.error(e),n(e)})})})(`${p}/player/${o}/favorites/`)}var n,r},Z=e=>{D+=10,D<=c&&W(0,0,D).then(e=>{a(9,s=e),a(10,I=s.games.items),I.forEach(e=>{e.isFavorite=q(e.id)})})},q=t=>!!d&&-1!==d.findIndex(e=>e.id==t),X=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return _e(()=>(window.addEventListener("message",V,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",V)})),e.$$set=e=>{"endpoint"in e&&a(0,p=e.endpoint),"datasource"in e&&a(26,f=e.datasource),"lang"in e&&a(1,g=e.lang),"session"in e&&a(2,m=e.session),"userid"in e&&a(3,y=e.userid),"favorites"in e&&a(4,w=e.favorites),"clientstyling"in e&&a(5,v=e.clientstyling),"clientstylingurl"in e&&a(6,b=e.clientstylingurl),"categoryid"in e&&a(25,S=e.categoryid),"categoryindex"in e&&a(27,x=e.categoryindex),"categorygames"in e&&a(28,_=e.categorygames),"once"in e&&a(29,C=e.once),"top"in e&&a(30,M=e.top),"bottom"in e&&a(31,k=e.bottom),"left"in e&&a(32,E=e.left),"right"in e&&a(33,T=e.right)},e.$$.update=()=>{128&e.$$.dirty[0]&&Y&&H&&Y.forEach((e,t)=>{e&&(e.elems_index=t,z.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&v&&(()=>{let e=document.createElement("style");e.innerHTML=v,setTimeout(()=>{h.appendChild(e)})})(),64&e.$$.dirty[0]&&b&&(()=>{let t=document.createElement("style");fetch(new URL(b)).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)})})()},[p,g,m,y,w,v,b,Y,$,s,I,A,O,L,R,N,G,l,u,U,h,j,n,F,X,S,f,x,_,C,M,k,E,T,function(e){Ce[e?"unshift":"push"](()=>{u=e,a(18,u)})},e=>X(s.id,s),function(e,t){Ce[e?"unshift":"push"](()=>{Y[t]=e,a(7,Y)})},function(e){Ce[e?"unshift":"push"](()=>{l=e,a(17,l)})},function(e){Ce[e?"unshift":"push"](()=>{u=e,a(18,u)})},function(e){Ce[e?"unshift":"push"](()=>{l=e,a(17,l)})},function(e){Ce[e?"unshift":"push"](()=>{h=e,a(20,h)})}]}function Hi(e,t,n){const r=e.slice();return r[109]=t[n],r[111]=n,r}function Yi(n){let r,i,o,s,a="PC"!==Or(n[35])&&"false"===n[8]&&n[31],l=a&&zi();function c(e){return"false"===e[8]?Vi:Wi}let u=c(n),d=u(n);function h(e){return e[13]?po:e[20]?ho:e[22]?uo:e[18]?co:e[23]?lo:e[19]?void 0:ao}let p=h(n),f=p&&p(n),g=n[15]&&"true"===n[11]&&yo(n);return{c(){r=z("section"),l&&l.c(),i=W(),d.c(),o=W(),f&&f.c(),s=W(),g&&g.c(),Z(r,"class","CategoriesLobby"),E(r,"max-width",n[10]+"px")},m(e,t){Y(e,r,t),l&&l.m(r,null),H(r,i),d.m(r,null),H(r,o),f&&f.m(r,null),H(r,s),g&&g.m(r,null),n[64](r)},p(e,t){256&t[0]|1&t[1]&&(a="PC"!==Or(e[35])&&"false"===e[8]&&e[31]),a?l||(l=zi(),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,o))),p===(p=h(e))&&f?f.p(e,t):(f&&f.d(1),f=p&&p(e),f&&(f.c(),f.m(r,s))),e[15]&&"true"===e[11]?g?g.p(e,t):(g=yo(e),g.c(),g.m(r,null)):g&&(g.d(1),g=null),1024&t[0]&&E(r,"max-width",e[10]+"px")},d(e){e&&j(r),l&&l.d(),d.d(),f&&f.d(),g&&g.d(),n[64](null)}}}function ji(e){let n;return{c(){n=z("p"),n.textContent="500 Error - Internal Server Error",Z(n,"class","SearchLoading")},m(e,t){Y(e,n,t)},p:U,d(e){e&&j(n)}}}function zi(){let n;return{c(){n=z("div"),Z(n,"class","SearchBarPlaceholder")},m(e,t){Y(e,n,t)},d(e){e&&j(n)}}}function Wi(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y="PC"===Or(n[35])&&n[12].length||"PC"!==Or(n[35]),w=!n[31]&&Zi(),v=y&&qi(n),b=!n[18]&&!n[22]&&!n[31]&&!n[23]&&!n[19]&&!n[20]&&!n[21]&&Xi(n);return{c(){r=z("div"),i=z("div"),o=z("label"),o.textContent="Search casino games",s=W(),a=z("div"),w&&w.c(),l=W(),c=z("input"),d=W(),v&&v.c(),p=W(),b&&b.c(),Z(o,"for","search"),Z(o,"class","SrOnly"),Z(c,"id","SearchField"),Z(c,"class","SearchInput"),Z(c,"placeholder",u="PC"===Or(n[35])?n[34]("casinoPage.search"):n[34]("casinoPage.searchMobile")),Z(c,"type","search"),Z(a,"class","SearchWrapper"),Z(i,"class",h="SearchContainer "+(n[22]||n[18]||n[23]||n[21]?"":"SearchTruncated")),Z(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Or(n[35])?"CategoriesHeaderMobileSection":"")+" "+(n[31]?"SearchMobileActive":"")+" "+(n[31]||n[20]&&"PC"!==Or(n[35])&&!vo?"CategoriesHeaderSearchActive":"")+(n[25]&&n[31]?"SearchStickTop":"")),E(r,"top",n[25]&&n[31]?bo+"px":"")},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(i,s),H(i,a),w&&w.m(a,null),H(a,l),H(a,c),n[57](c),_(c,n[12]),H(a,d),v&&v.m(a,null),H(r,p),b&&b.m(r,null),n[62](r),g||(m=[V(c,"focus",n[37]),V(c,"blur",n[38]),V(c,"input",n[58]),V(c,"focus",n[39])],g=!0)},p(e,t){e[31]?w&&(w.d(1),w=null):w||(w=Zi(),w.c(),w.m(a,l)),8&t[1]&&u!==(u="PC"===Or(e[35])?e[34]("casinoPage.search"):e[34]("casinoPage.searchMobile"))&&Z(c,"placeholder",u),4096&t[0]&&_(c,e[12]),4096&t[0]&&(y="PC"===Or(e[35])&&e[12].length||"PC"!==Or(e[35])),y?v?v.p(e,t):(v=qi(e),v.c(),v.m(a,null)):v&&(v.d(1),v=null),14942208&t[0]&&h!==(h="SearchContainer "+(e[22]||e[18]||e[23]||e[21]?"":"SearchTruncated"))&&Z(i,"class",h),e[18]||e[22]||e[31]||e[23]||e[19]||e[20]||e[21]?b&&(b.d(1),b=null):b?b.p(e,t):(b=Xi(e),b.c(),b.m(r,null)),34603008&t[0]|1&t[1]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Or(e[35])?"CategoriesHeaderMobileSection":"")+" "+(e[31]?"SearchMobileActive":"")+" "+(e[31]||e[20]&&"PC"!==Or(e[35])&&!vo?"CategoriesHeaderSearchActive":"")+(e[25]&&e[31]?"SearchStickTop":""))&&Z(r,"class",f),33554432&t[0]|1&t[1]&&E(r,"top",e[25]&&e[31]?bo+"px":"")},d(e){e&&j(r),w&&w.d(),n[57](null),v&&v.d(),b&&b.d(),n[62](null),g=!1,B(m)}}}function Vi(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y="PC"===Or(n[35])&&n[12].length||"PC"!==Or(n[35]),w=!n[31]&&to(),v=y&&no(n),b=!n[18]&&!n[22]&&!n[31]&&!n[23]&&!n[19]&&!n[20]&&!n[21]&&ro(n);return{c(){r=z("div"),i=z("div"),o=z("label"),o.textContent="Search casino games",s=W(),a=z("div"),w&&w.c(),l=W(),c=z("input"),d=W(),v&&v.c(),p=W(),b&&b.c(),Z(o,"for","search"),Z(o,"class","SrOnly"),Z(c,"id","SearchField"),Z(c,"class","SearchInput"),Z(c,"placeholder",u="PC"===Or(n[35])?n[34]("casinoPage.search"):n[34]("casinoPage.searchMobile")),Z(c,"type","search"),Z(a,"class","SearchWrapper"),Z(i,"class",h="SearchContainer "+(n[22]||n[18]||n[23]||n[21]?"":"SearchTruncated")),Z(r,"class",f="CategoriesHeaderSection "+("PC"!==Or(n[35])?"CategoriesHeaderMobileSection":"")+" "+(n[31]?"SearchMobileActive":"")+" "+(n[31]||n[20]&&"PC"!==Or(n[35])&&!vo?"CategoriesHeaderSearchActive":"")+" "+(n[25]&&n[31]?"SearchStickTop":"")),E(r,"top",n[25]&&n[31]?bo+"px":"")},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(i,s),H(i,a),w&&w.m(a,null),H(a,l),H(a,c),n[51](c),_(c,n[12]),H(a,d),v&&v.m(a,null),H(r,p),b&&b.m(r,null),n[56](r),g||(m=[V(c,"focus",n[37]),V(c,"blur",n[38]),V(c,"input",n[52]),V(c,"focus",n[39])],g=!0)},p(e,t){e[31]?w&&(w.d(1),w=null):w||(w=to(),w.c(),w.m(a,l)),8&t[1]&&u!==(u="PC"===Or(e[35])?e[34]("casinoPage.search"):e[34]("casinoPage.searchMobile"))&&Z(c,"placeholder",u),4096&t[0]&&_(c,e[12]),4096&t[0]&&(y="PC"===Or(e[35])&&e[12].length||"PC"!==Or(e[35])),y?v?v.p(e,t):(v=no(e),v.c(),v.m(a,null)):v&&(v.d(1),v=null),14942208&t[0]&&h!==(h="SearchContainer "+(e[22]||e[18]||e[23]||e[21]?"":"SearchTruncated"))&&Z(i,"class",h),e[18]||e[22]||e[31]||e[23]||e[19]||e[20]||e[21]?b&&(b.d(1),b=null):b?b.p(e,t):(b=ro(e),b.c(),b.m(r,null)),34603008&t[0]|1&t[1]&&f!==(f="CategoriesHeaderSection "+("PC"!==Or(e[35])?"CategoriesHeaderMobileSection":"")+" "+(e[31]?"SearchMobileActive":"")+" "+(e[31]||e[20]&&"PC"!==Or(e[35])&&!vo?"CategoriesHeaderSearchActive":"")+" "+(e[25]&&e[31]?"SearchStickTop":""))&&Z(r,"class",f),33554432&t[0]|1&t[1]&&E(r,"top",e[25]&&e[31]?bo+"px":"")},d(e){e&&j(r),w&&w.d(),n[51](null),v&&v.d(),b&&b.d(),n[56](null),g=!1,B(m)}}}function Zi(){let n;return{c(){n=z("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>',Z(n,"class","SearchIcon")},m(e,t){Y(e,n,t)},d(e){e&&j(n)}}}function qi(n){let r,i,o,s;return{c(){r=z("span"),i=z("div"),i.innerHTML='<div class="CloseIconWrapper"><div class="CloseIcon"></div></div>',Z(i,"class","CloseIconContainer"),Z(r,"class",("PC"===Or(n[35])?"ClearSearchButton":"ClearSearchButtonMobile")+" ")},m(e,t){Y(e,r,t),H(r,i),o||(s=V(r,"click",n[59]),o=!0)},p:U,d(e){e&&j(r),o=!1,s()}}}function Xi(e){let n,r,i=e[32]&&Ji(e),o=(!e[20]||!e[19])&&Ki(e);return{c(){n=z("div"),i&&i.c(),r=W(),o&&o.c(),Z(n,"class","FiltersButtonsContainer ")},m(e,t){Y(e,n,t),i&&i.m(n,null),H(n,r),o&&o.m(n,null)},p(e,t){e[32]?i?i.p(e,t):(i=Ji(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[20]&&e[19]?o&&(o.d(1),o=null):o?o.p(e,t):(o=Ki(e),o.c(),o.m(n,null))},d(e){e&&j(n),i&&i.d(),o&&o.d()}}}function Ji(n){let r,i,o,s,a;return{c(){r=z("div"),i=z("div"),i.innerHTML='Clear\n <span class="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:#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>',Z(i,"class","ClearButton"),Z(r,"class",o="ClearFilterButtonWrapper "+(n[32]?"FiltersActive":"")+" ")},m(e,t){Y(e,r,t),H(r,i),s||(a=V(r,"click",n[60]),s=!0)},p(e,t){2&t[1]&&o!==(o="ClearFilterButtonWrapper "+(e[32]?"FiltersActive":"")+" ")&&Z(r,"class",o)},d(e){e&&j(r),s=!1,a()}}}function Ki(e){let n,r=!e[23]&&Qi(e);return{c(){r&&r.c(),n=p()},m(e,t){r&&r.m(e,t),Y(e,n,t)},p(e,t){e[23]?r&&(r.d(1),r=null):r?r.p(e,t):(r=Qi(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&j(n)}}}function Qi(n){let r,i,o,s,a,l,c,u,d,h,p,f,g=0<n[32]&&eo(n);return{c(){r=z("div"),i=z("div"),i.textContent="Filters",o=W(),s=z("div"),a=S("svg"),l=S("defs"),c=S("style"),u=t(".a{fill:#fff;}"),d=S("path"),h=W(),g&&g.c(),Z(i,"class","FilterButton"),Z(d,"class","a"),Z(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"),Z(d,"transform","translate(-5 -6.2)"),Z(a,"xmlns","http://www.w3.org/2000/svg"),Z(a,"width","20"),Z(a,"height","20"),Z(a,"viewBox","0 0 26 26"),Z(s,"class","FilterIconContainer"),Z(r,"class","FilterButtonWrapper")},m(e,t){Y(e,r,t),H(r,i),H(r,o),H(r,s),H(s,a),H(a,l),H(l,c),H(c,u),H(a,d),H(s,h),g&&g.m(s,null),p||(f=V(r,"click",n[61]),p=!0)},p(e,t){0<e[32]?g?g.p(e,t):(g=eo(e),g.c(),g.m(s,null)):g&&(g.d(1),g=null)},d(e){e&&j(r),g&&g.d(),p=!1,f()}}}function eo(e){let n,r,i;return{c(){n=z("div"),r=z("span"),i=t(e[32]),Z(r,"class","NumberOfFilters"),Z(n,"class","NumberOfFiltersContainer")},m(e,t){Y(e,n,t),H(n,r),H(r,i)},p(e,t){2&t[1]&&q(i,e[32])},d(e){e&&j(n)}}}function to(){let n;return{c(){n=z("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>',Z(n,"class","SearchIcon")},m(e,t){Y(e,n,t)},d(e){e&&j(n)}}}function no(n){let r,i,o,s;return{c(){r=z("span"),i=z("div"),i.innerHTML='<div class="CloseIconWrapper"><div class="CloseIcon"></div></div>',Z(i,"class","CloseIconContainer"),Z(r,"class",("PC"===Or(n[35])?"ClearSearchButton":"ClearSearchButtonMobile")+" ")},m(e,t){Y(e,r,t),H(r,i),o||(s=V(r,"click",n[53]),o=!0)},p:U,d(e){e&&j(r),o=!1,s()}}}function ro(e){let n,r,i=e[32]&&io(e),o=(!e[20]||!e[19])&&oo(e);return{c(){n=z("div"),i&&i.c(),r=W(),o&&o.c(),Z(n,"class","FiltersButtonsContainer")},m(e,t){Y(e,n,t),i&&i.m(n,null),H(n,r),o&&o.m(n,null)},p(e,t){e[32]?i?i.p(e,t):(i=io(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[20]&&e[19]?o&&(o.d(1),o=null):o?o.p(e,t):(o=oo(e),o.c(),o.m(n,null))},d(e){e&&j(n),i&&i.d(),o&&o.d()}}}function io(n){let r,i,o;return{c(){r=z("div"),r.innerHTML='<div class="ClearButton">Clear\n <span class="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:#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>',Z(r,"class","ClearFilterButtonWrapper")},m(e,t){Y(e,r,t),i||(o=V(r,"click",n[54]),i=!0)},p:U,d(e){e&&j(r),i=!1,o()}}}function oo(e){let n,r=!e[23]&&so(e);return{c(){r&&r.c(),n=p()},m(e,t){r&&r.m(e,t),Y(e,n,t)},p(e,t){e[23]?r&&(r.d(1),r=null):r?r.p(e,t):(r=so(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&j(n)}}}function so(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y;return{c(){r=z("div"),i=z("div"),i.textContent="Filters",o=W(),s=z("div"),a=S("svg"),l=S("defs"),c=S("style"),u=t(".a{fill:#fff;}"),d=S("path"),h=W(),p=z("div"),f=z("span"),g=t(n[32]),Z(i,"class","FilterButton"),Z(d,"class","a"),Z(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"),Z(d,"transform","translate(-5 -6.2)"),Z(a,"xmlns","http://www.w3.org/2000/svg"),Z(a,"width","20"),Z(a,"height","20"),Z(a,"viewBox","0 0 26 26"),Z(f,"class","NumberOfFilters"),Z(p,"class","NumberOfFiltersContainer"),Z(s,"class","FilterIconContainer"),Z(r,"class","FilterButtonWrapper")},m(e,t){Y(e,r,t),H(r,i),H(r,o),H(r,s),H(s,a),H(a,l),H(l,c),H(c,u),H(a,d),H(s,h),H(s,p),H(p,f),H(f,g),m||(y=V(r,"click",n[55]),m=!0)},p(e,t){2&t[1]&&q(g,e[32])},d(e){e&&j(r),m=!1,y()}}}function ao(e){let n;return{c(){n=z("casino-games-category-section"),x(n,"userid",e[4]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"favorites",e[9]),x(n,"lang",e[2]),x(n,"session",e[3]),x(n,"categoryid",e[28]),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6])},m(e,t){Y(e,n,t)},p(e,t){16&t[0]&&x(n,"userid",e[4]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),512&t[0]&&x(n,"favorites",e[9]),4&t[0]&&x(n,"lang",e[2]),8&t[0]&&x(n,"session",e[3]),268435456&t[0]&&x(n,"categoryid",e[28]),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6])},d(e){e&&j(n)}}}function lo(e){let n;function r(e){return e[24]?go:fo}let i=r(e),o=i(e);return{c(){o.c(),n=p()},m(e,t){o.m(e,t),Y(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&j(n)}}}function co(n){let r,i,o,s;return{c(){r=z("casino-games-category-section"),x(r,"session",n[3]),x(r,"userid",n[4]),x(r,"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[2]),x(r,"favorites",n[9]),x(r,"categoryid","FAVORITES"),x(r,"class","CategoryContainer"),x(r,"clientstyling",n[5]),x(r,"clientstylingurl",n[6])},m(e,t){Y(e,r,t),o||(s=l(i=n[36].call(null,r,(n[0],n[16],n[17],n[16]))),o=!0)},p(e,t){8&t[0]&&x(r,"session",e[3]),16&t[0]&&x(r,"userid",e[4]),1&t[0]&&x(r,"endpoint",e[0]),2&t[0]&&x(r,"datasource",e[1]),4&t[0]&&x(r,"lang",e[2]),512&t[0]&&x(r,"favorites",e[9]),32&t[0]&&x(r,"clientstyling",e[5]),64&t[0]&&x(r,"clientstylingurl",e[6]),i&&m(i.update)&&196609&t[0]&&i.update.call(null,(e[0],e[16],e[17],e[16]))},d(e){e&&j(r),o=!1,s()}}}function uo(t){let i,o=t[27],s=[];for(let e=0;e<o.length;e+=1)s[e]=mo(Hi(t,o,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();i=p()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);Y(t,i,n)},p(t,n){if(134218495&n[0]){let e;for(o=t[27],e=0;e<o.length;e+=1){var r=Hi(t,o,e);s[e]?s[e].p(r,n):(s[e]=mo(r),s[e].c(),s[e].m(i.parentNode,i))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){c(s,e),e&&j(i)}}}function ho(n){let r,i,o,s;return{c(){r=z("casino-games-category-section"),x(r,"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[2]),x(r,"session",n[3]),x(r,"userid",n[4]),x(r,"categoryid","Search"),x(r,"favorites",n[9]),x(r,"categoryindex","0"),x(r,"clientstyling",n[5]),x(r,"clientstylingurl",n[6])},m(e,t){Y(e,r,t),o||(s=l(i=n[44].call(null,r,n[26])),o=!0)},p(e,t){1&t[0]&&x(r,"endpoint",e[0]),2&t[0]&&x(r,"datasource",e[1]),4&t[0]&&x(r,"lang",e[2]),8&t[0]&&x(r,"session",e[3]),16&t[0]&&x(r,"userid",e[4]),512&t[0]&&x(r,"favorites",e[9]),32&t[0]&&x(r,"clientstyling",e[5]),64&t[0]&&x(r,"clientstylingurl",e[6]),i&&m(i.update)&&67108864&t[0]&&i.update.call(null,e[26])},d(e){e&&j(r),o=!1,s()}}}function po(e){let n,r,i=e[34]("casinoPage.loading")+"";return{c(){n=z("p"),r=t(i),Z(n,"class","SearchLoading")},m(e,t){Y(e,n,t),H(n,r)},p(e,t){8&t[1]&&i!==(i=e[34]("casinoPage.loading")+"")&&q(r,i)},d(e){e&&j(n)}}}function fo(e){let n;return{c(){n=z("casino-games-category-section"),x(n,"session",e[3]),x(n,"userid",e[4]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"lang",e[2]),x(n,"favorites",e[9]),x(n,"categoryid","MOSTPLAYED"),x(n,"categoryindex","1"),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6])},m(e,t){Y(e,n,t)},p(e,t){8&t[0]&&x(n,"session",e[3]),16&t[0]&&x(n,"userid",e[4]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),4&t[0]&&x(n,"lang",e[2]),512&t[0]&&x(n,"favorites",e[9]),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6])},d(e){e&&j(n)}}}function go(e){let n;return{c(){n=z("p"),n.textContent="You have no games played!",Z(n,"class","SearchLoading")},m(e,t){Y(e,n,t)},p:U,d(e){e&&j(n)}}}function mo(n){let r,i,o,s,a;return{c(){r=z("casino-games-category-section"),x(r,"session",n[3]),x(r,"userid",n[4]),x(r,"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[2]),x(r,"categoryid",i=n[109]),x(r,"categoryindex",n[111]),x(r,"categorygames","9"),x(r,"favorites",n[9]),x(r,"class","CategoryContainer"),E(r,"background-color",n[111]%2!=0?n[7]:"transparent"),x(r,"clientstyling",n[5]),x(r,"clientstylingurl",n[6])},m(e,t){Y(e,r,t),s||(a=l(o=n[43].call(null,r,n[109])),s=!0)},p(e,t){n=e,8&t[0]&&x(r,"session",n[3]),16&t[0]&&x(r,"userid",n[4]),1&t[0]&&x(r,"endpoint",n[0]),2&t[0]&&x(r,"datasource",n[1]),4&t[0]&&x(r,"lang",n[2]),134217728&t[0]&&i!==(i=n[109])&&x(r,"categoryid",i),512&t[0]&&x(r,"favorites",n[9]),128&t[0]&&E(r,"background-color",n[111]%2!=0?n[7]:"transparent"),32&t[0]&&x(r,"clientstyling",n[5]),64&t[0]&&x(r,"clientstylingurl",n[6]),o&&m(o.update)&&134217728&t[0]&&o.update.call(null,n[109])},d(e){e&&j(r),s=!1,a()}}}function yo(n){let r,i,o,s,a,l,c,u,d,h,p,f,g=n[34]("casinoPage.break")+"",m=n[34]("casinoPage.breakButton")+"";return{c(){r=z("div"),i=z("div"),o=S("svg"),s=S("path"),a=W(),l=z("p"),c=t(g),u=W(),d=z("button"),h=t(m),Z(s,"stroke-linecap","round"),Z(s,"stroke-linejoin","round"),Z(s,"stroke-width","2"),Z(s,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),Z(o,"class","w-1 h-1"),Z(o,"fill","none"),Z(o,"stroke","white"),Z(o,"width","34px"),Z(o,"height","34px"),Z(o,"viewBox","0 0 24 24"),Z(o,"xmlns","http://www.w3.org/2000/svg"),Z(i,"class","PanicText"),Z(d,"class","PanicButton"),Z(r,"class","PanicSection "+("PC"!==Or(n[35])?"PanicSectionMobile":""))},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(o,s),H(i,a),H(i,l),H(l,c),H(r,u),H(r,d),H(d,h),p||(f=V(d,"click",n[63]),p=!0)},p(e,t){8&t[1]&&g!==(g=e[34]("casinoPage.break")+"")&&q(c,g),8&t[1]&&m!==(m=e[34]("casinoPage.breakButton")+"")&&q(h,m)},d(e){e&&j(r),p=!1,f()}}}function wo(e){let n;function r(e){return e[14]?ji:Yi}let i=r(e),o=i(e);return{c(){o.c(),n=p(),this.c=U},m(e,t){o.m(e,t),Y(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},i:U,o:U,d(e){o.d(e),e&&j(n)}}}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends se{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:#fff;font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:#fff}.NoSearchResults{color:#fff;text-align:left;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoRecentSearchesCenter.NoRecentSearchesMobile{text-align:left}.NoFavoriteGames{color:#fff;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:#fff;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}.CasinoGamesHeader.CasinoGamesHeaderMobile.Searched{justify-content:flex-start}.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:dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.SearchLoading{display:block;padding:50px;color:#fff}</style>",oe(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Bi,Gi,n,{endpoint:0,datasource:26,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,categoryid:25,categoryindex:27,categorygames:28,once:29,top:30,bottom:31,left:32,right:33},[-1,-1,-1]),e&&(e.target&&Y(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","categoryid","categoryindex","categorygames","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[26]}set datasource(e){this.$set({datasource:e}),R()}get lang(){return this.$$.ctx[1]}set lang(e){this.$set({lang:e}),R()}get session(){return this.$$.ctx[2]}set session(e){this.$set({session:e}),R()}get userid(){return this.$$.ctx[3]}set userid(e){this.$set({userid:e}),R()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$set({favorites:e}),R()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$set({clientstylingurl:e}),R()}get categoryid(){return this.$$.ctx[25]}set categoryid(e){this.$set({categoryid:e}),R()}get categoryindex(){return this.$$.ctx[27]}set categoryindex(e){this.$set({categoryindex:e}),R()}get categorygames(){return this.$$.ctx[28]}set categorygames(e){this.$set({categorygames:e}),R()}get once(){return this.$$.ctx[29]}set once(e){this.$set({once:e}),R()}get top(){return this.$$.ctx[30]}set top(e){this.$set({top:e}),R()}get bottom(){return this.$$.ctx[31]}set bottom(e){this.$set({bottom:e}),R()}get left(){return this.$$.ctx[32]}set left(e){this.$set({left:e}),R()}get right(){return this.$$.ctx[33]}set right(e){this.$set({right:e}),R()}});let vo=!1;const bo=0;function So(e,t,o){let n;xe(e,Ar,e=>o(34,n=e));let i,s,a,r,l,c,u,d,h,p,f,{endpoint:g=""}=t,{datasource:m=""}=t,{lang:y=""}=t,{session:w=""}=t,{userid:v=""}=t,{clientstyling:b=""}=t,{clientstylingurl:S=""}=t,{categorybackground:x=""}=t,{visiblegames:_="6"}=t,{alternativesearch:C="false"}=t,{favorites:M=""}=t,{mostplayed:k=""}=t,{lobbyid:E="casinodefault"}=t,{containermaxwidth:T=""}=t,{haspanicbutton:$="false"}=t,P=!1,F=!1,I=!1,A="",D=!1,O=!1,L=!0,R=!1,N=!1,G=!1,U=!0,B=!1,H=!1,Y=!1,j=!0,z=[],W="",V=window.navigator.userAgent,Z,q=[],X=!1,J=[],K=0,Q="";Object.keys(qr).forEach(e=>{pr(e,qr[e])});const ee=e=>{if(e.data)switch(e.data.type){case"CategoryChange":(e=>{switch(o(20,R=!1),o(12,W=""),e.data.itemId){case"LOBBY":o(22,U=!0),o(18,D=!1),o(28,r=""),o(23,B=!1);break;case"FAVORITES":o(22,U=!1),o(18,D=!0),o(23,B=!1),o(28,r="");break;case"MOSTPLAYED":"true"==k&&(o(13,P=!0),te({limit:100,device:Or(V),rounds:10}).then(e=>{if(o(13,P=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(`${g}/casino/games/${e.gameId}`);t.searchParams.append("datasource",m),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{Z=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:Z},window.location.href)})}else o(24,H=!0)}),o(28,r=""),o(22,U=!1),o(18,D=!1),o(23,B=!0));break;default:o(22,U=!1),o(18,D=!1),o(23,B=!1),o(28,r=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:r,index:e.data.index},window.location.href)})}})(e);break;case"UserSessionID":o(17,s=e.data.session),o(16,i=e.data.userID),i&&i.length&&s&&0<s.length&&ne(g,s,i);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0},window.location.href);break;case"SetUnfavoredGame":se(`${g}/player/${i}/favorites`,s,i,e.data.id,e.data.triggerFactor);break;case"SetFavoredGame":oe(`${g}/player/${i}/favorites`,s,i,e.data.id,e.data.triggerFactor);break;case"GetFavoredGame":i&&i.length&&s&&0<s.length&&ne(g,s,i);break;case"SearchedItemClicked":de(e.data.gameId);break;case"UpdateFilters":ge(e.data.vendorsArray),he();break;case"ClearFilters":fe(e.data.vendorsArray),he();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:Q},window.location.href),he();break;case"CategoryVendors":Q=e.data.categoryid,he();break;case"GameHovered":N=!0;break;case"GameBlur":N=!1}},te=e=>{let r=new URL(`${g}/player/${i}/games/most-played`);e.limit&&r.searchParams.append("limit",e.limit),e.order&&r.searchParams.append("order",e.order);var t=e.device;return t?"PC"===t?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"):r.searchParams.append("device","All"),e.rounds&&r.searchParams.append("rounds",e.rounds),new Promise((t,n)=>{fetch(r.href).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 ne=(e,t,n)=>{"true"==M&&w&&n&&(fetch(`${e}/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(h=e,h&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:h},window.location.href),ie(h.items)),h)).catch(e=>{console.error(e)}),D&&ae())},re=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(h=e,D&&ae(),h&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:h},window.location.href),h)).catch(e=>{console.error(e)})};const ie=(e=[])=>(q=[],0<e.length&&e.forEach(e=>{q.push(e.id)}),q);let oe=(t,n,e,r,i)=>{q.includes(r)||q.push(r);var o={items:q},o={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(o)};fetch(t,o).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),re(t,n)}).catch(e=>{console.error("Err",e)})};const se=(t,n,e,r,i)=>{q.includes(r)&&(q=q.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),re(t,n)})},ae=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:h},window.location.href)},le=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},ce=()=>{if(g&&m&&y&&W.length<2){let e=le(`searchedGamesWds_${E}`),t=[];e&&(t=e.split(",")),1!=U||L||(o(21,G=U),o(22,U=!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",y),e.searchParams.append("datasource",m),e.searchParams.append("platform",Or(V)),n.push((e=>new Promise((t,n)=>{o(13,P=!0),fetch(e).then(e=>e.json()).then(e=>{o(13,P=!1),t(e[0])}).catch(e=>{o(14,F=!0),o(13,P=!1),console.error(e),n(e)})}))(e))}Promise.all(n).then(e=>{o(26,a=e),me({},a)})}else me({},{})}},ue=()=>{W.length<2&&!N&&(o(20,R=!1),o(26,a=[]),o(19,O=!1),o(22,U=G),o(21,G=!1),!1===U&&window.postMessage({type:"CategoryUpdate",itemId:r},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},de=e=>{J=le(`searchedGamesWds_${E}`),J=J?J.split(","):[],-1===J.indexOf(e)&&(J.push(e),e=J.join(","),document.cookie=`searchedGamesWds_${E}=`+e)},he=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&Q&&(e[Q]?o(32,K=e[Q].length):o(32,K=0))},pe=()=>{o(50,j=!0),o(12,W=""),o(26,a=[]),o(19,O=!1),ue()},fe=e=>{window.postMessage({type:"AvailableVendors",venArray:e},window.location.href)},ge=e=>{window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href)},me=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},ye=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},we=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},ve=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:h},window.location.href)},be=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},Se=()=>{c&&(u=c.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>u||130<u?o(25,Y=!0):o(25,Y=!1)};return _e(()=>(window.addEventListener("scroll",Se,!1),window.addEventListener("message",ee,!1),()=>{window.removeEventListener("scroll",Se),window.removeEventListener("message",ee)})),e.$$set=e=>{"endpoint"in e&&o(0,g=e.endpoint),"datasource"in e&&o(1,m=e.datasource),"lang"in e&&o(2,y=e.lang),"session"in e&&o(3,w=e.session),"userid"in e&&o(4,v=e.userid),"clientstyling"in e&&o(5,b=e.clientstyling),"clientstylingurl"in e&&o(6,S=e.clientstylingurl),"categorybackground"in e&&o(7,x=e.categorybackground),"visiblegames"in e&&o(46,_=e.visiblegames),"alternativesearch"in e&&o(8,C=e.alternativesearch),"favorites"in e&&o(9,M=e.favorites),"mostplayed"in e&&o(47,k=e.mostplayed),"lobbyid"in e&&o(48,E=e.lobbyid),"containermaxwidth"in e&&o(10,T=e.containermaxwidth),"haspanicbutton"in e&&o(11,$=e.haspanicbutton)},e.$$.update=()=>{if(4096&e.$$.dirty[0]&&W&&(2<=W.length?o(50,j=!0):o(50,j=!1)),4099&e.$$.dirty[0]|786432&e.$$.dirty[1])if(2<=W.length){o(20,R=!0);let e=new URL(`${g}/casino/games`);e.searchParams.append("datasource",m),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter",`name=${W}`),r=e,new Promise((t,n)=>{o(13,P=!0),fetch(r).then(e=>e.json()).then(e=>{o(13,P=!1),t(e)}).catch(e=>{o(14,F=!0),o(13,P=!1),console.error(e),n(e)})}).then(e=>{o(26,a=e),ve(0,e)})}else j||ce(),L&&o(49,L=!1);var r;25&e.$$.dirty[0]&&w&&v&&g&&(o(15,I=!0),o(17,s=w),o(16,i=v)),263&e.$$.dirty[0]&&g&&m&&y&&C&&(()=>{if(g||(A="Endpoint is missing! Please provide a valid endpointURL.",o(14,F=!0),o(13,P=!1),console.error(A)),m||(A="Datasource is missing! Please provide a valid datasource.",o(14,F=!0),o(13,P=!1),console.error(A)),y&&2==y.length||(A="Language is missing! Please provide a valid language (alpha2code)",o(14,F=!0),o(13,P=!1),console.error(A)),!F){o(13,P=!0),"true"==M&&ne(g,s,i);let e=new URL(`${g}/casino/groups/${m}`);e.searchParams.append("language",y),e.searchParams.append("platform",Or(V)),r=e,new Promise((t,n)=>{o(13,P=!0),fetch(r).then(e=>e.json()).then(e=>{o(13,P=!1),t(e)}).catch(e=>{o(14,F=!0),o(13,P=!1),console.error(e),n(e)})}).then(e=>{e&&(d=e.items.filter(e=>0<e.games.total),o(27,z=d.map(e=>e.id)),o(13,P=!1))}),"PC"!==Or(V)&&(p.addEventListener("focusin",e=>{o(31,X=!0)}),p.addEventListener("focusout",e=>{o(31,X=!1)})),he(),c=l,c&&(u=c.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}var r})(),32&e.$$.dirty[0]&&b&&(()=>{let e=document.createElement("style");e.innerHTML=b,f.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,f&&setTimeout(()=>{f.appendChild(t)},1)})})()},[g,m,y,w,v,b,S,x,C,M,T,$,W,P,F,I,i,s,D,O,R,G,U,B,H,Y,a,z,r,l,p,X,K,f,n,V,ae,ce,ue,()=>{window.postMessage({type:"scroll"},window.location.href)},pe,ye,we,(e,t)=>{Q=t,window.postMessage({type:`CategoryData_${t}`,categoryId:t,visiblegames:_,receivedFavoriteResults:h},window.location.href)},ve,be,_,k,E,L,j,function(e){Ce[e?"unshift":"push"](()=>{p=e,o(30,p)})},function(){W=this.value,o(12,W)},()=>pe(),()=>we(),()=>{ye()},function(e){Ce[e?"unshift":"push"](()=>{l=e,o(29,l)})},function(e){Ce[e?"unshift":"push"](()=>{p=e,o(30,p)})},function(){W=this.value,o(12,W)},()=>pe(),()=>we(),()=>{ye()},function(e){Ce[e?"unshift":"push"](()=>{l=e,o(29,l)})},()=>be(),function(e){Ce[e?"unshift":"push"](()=>{f=e,o(33,f)})}]}function xo(e,{delay:t=0,duration:n=400,easing:r=g}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function _o(n){let r,i,o,s,a,t,l,c,u;return{c(){r=z("div"),i=z("div"),i.innerHTML="<slot></slot>",o=W(),s=z("span"),s.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>',Z(i,"class","ModalContainer"),Z(s,"class","ModalCloseBtn"),Z(s,"role","button"),Z(r,"class","ModalWindow"),Z(r,"id","Modal"),D(()=>n[13].call(r))},m(e,t){Y(e,r,t),H(r,i),H(r,o),H(r,s),n[12](r),a=f(r,n[13].bind(r)),l=!0,c||(u=V(s,"click",n[6]),c=!0)},p(e,t){n=e},i(e){l||(D(()=>{t=t||re(r,xo,{transitionDuration:n[1]},!0),t.run(1)}),l=!0)},o(e){t=t||re(r,xo,{transitionDuration:n[1]},!1),t.run(0),l=!1},d(e){e&&j(r),n[12](null),a(),e&&t&&t.end(),c=!1,u()}}}function Co(n){let r,i,o=n[0]&&_o(n);return{c(){r=z("div"),o&&o.c(),this.c=U},m(e,t){Y(e,r,t),o&&o.m(r,null),n[14](r),i=!0},p(e,[t]){e[0]?o?(o.p(e,t),1&t&&ee(o,1)):(o=_o(e),o.c(),ee(o,1),o.m(r,null)):o&&(K(),te(o,1,1,()=>{o=null}),Q())},i(e){i||(ee(o),i=!0)},o(e){te(o),i=!1},d(e){e&&j(r),o&&o.d(),n[14](null)}}}function Mo(e,t,n){let r,i,o,s,{show:a=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,f=!1;const g=e=>{var t;"ModalClosed"==e.data.type&&n(0,a=!1),"ShowGameModal"===e.data.type&&(n(0,a=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(0,a=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(f=e.data.detailsObtained)},m=e=>{var t;f&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return _e(()=>(window.addEventListener("message",g,!1),window.addEventListener("resize",m,!1),()=>{window.removeEventListener("message",g),window.removeEventListener("resize",g)})),e.$$set=e=>{"show"in e&&n(0,a=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(7,c=e.session),"userid"in e&&n(8,u=e.userid),"clientstyling"in e&&n(9,d=e.clientstyling),"clientstylingurl"in e&&n(10,h=e.clientstylingurl),"endpoint"in e&&n(11,p=e.endpoint)},e.$$.update=()=>{2432&e.$$.dirty&&c&&u&&p&&Lr(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),512&e.$$.dirty&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,a&&setTimeout(()=>{r.appendChild(e)})})(),1024&e.$$.dirty&&h&&(()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},[a,l,r,i,void 0,void 0,()=>{n(0,a=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},c,u,d,h,p,function(e){Ce[e?"unshift":"push"](()=>{r=e,n(2,r)})},function(){o=this.clientWidth,s=this.clientHeight,n(4,o),n(5,s)},function(e){Ce[e?"unshift":"push"](()=>{i=e,n(3,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends se{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;padding:0 10px}.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:#fff}.PanicButton{border-radius:2px;border:1px solid #D0046C;background-color:#D0046C;width:240px;height:48px;color:#fff;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}.SearchLoading{color:#fff;font-size:14.4px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:640px;margin:0 auto}.SearchContainer.SearchTruncated{margin:auto 0 auto 25%}.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:0;padding-left:8px;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:25.6px;height:25.6px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:100%;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:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;border:1px solid #58586B;border-radius:5px;text-transform:uppercase;color:#fff;cursor:pointer}.ClearFilterButtonWrapper{border:1px solid #FD2839;color:#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 #D0046C;background:#D0046C;color:#fff;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:#fff}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:25px}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:#fff;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:#fff}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid #fff;border-radius:0;background:#fff;color:#D0046C}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:#D0046C}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:#07072A}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:90%;border:1px solid #58586B;border-radius:6.4px;background-color:transparent;color:#fff;padding:12px 50px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:90%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:75px;right:0;font-size:13px;gap:6px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid #fff;background:transparent;color:#fff;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:30px;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:#000}.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:#FFF;transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:#FFF;transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:#FD2839}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:#FD2839}</style>",oe(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},So,wo,n,{endpoint:0,datasource:1,lang:2,session:3,userid:4,clientstyling:5,clientstylingurl:6,categorybackground:7,visiblegames:46,alternativesearch:8,favorites:9,mostplayed:47,lobbyid:48,containermaxwidth:10,haspanicbutton:11},[-1,-1,-1,-1]),e&&(e.target&&Y(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lobbyid","containermaxwidth","haspanicbutton"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$set({datasource:e}),R()}get lang(){return this.$$.ctx[2]}set lang(e){this.$set({lang:e}),R()}get session(){return this.$$.ctx[3]}set session(e){this.$set({session:e}),R()}get userid(){return this.$$.ctx[4]}set userid(e){this.$set({userid:e}),R()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$set({clientstylingurl:e}),R()}get categorybackground(){return this.$$.ctx[7]}set categorybackground(e){this.$set({categorybackground:e}),R()}get visiblegames(){return this.$$.ctx[46]}set visiblegames(e){this.$set({visiblegames:e}),R()}get alternativesearch(){return this.$$.ctx[8]}set alternativesearch(e){this.$set({alternativesearch:e}),R()}get favorites(){return this.$$.ctx[9]}set favorites(e){this.$set({favorites:e}),R()}get mostplayed(){return this.$$.ctx[47]}set mostplayed(e){this.$set({mostplayed:e}),R()}get lobbyid(){return this.$$.ctx[48]}set lobbyid(e){this.$set({lobbyid:e}),R()}get containermaxwidth(){return this.$$.ctx[10]}set containermaxwidth(e){this.$set({containermaxwidth:e}),R()}get haspanicbutton(){return this.$$.ctx[11]}set haspanicbutton(e){this.$set({haspanicbutton:e}),R()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends se{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}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:10;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:#ffffff;background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",oe(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Mo,Co,n,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11}),e&&(e.target&&Y(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$set({show:e}),R()}get duration(){return this.$$.ctx[1]}set duration(e){this.$set({duration:e}),R()}get session(){return this.$$.ctx[7]}set session(e){this.$set({session:e}),R()}get userid(){return this.$$.ctx[8]}set userid(e){this.$set({userid:e}),R()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$set({clientstylingurl:e}),R()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$set({endpoint:e}),R()}});const ko={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{gamePage:{signIn:"SE CONNECTER",register:"S'INSCRIRE",deposit:"DÉPOSER",playForFun:"JOUER POUR LE PLAISIR",playNow:"JOUE MAINTENANT",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{gamePage:{signIn:"INICIAR SESIÓN",register:"REGISTRARSE",deposit:"INGRESAR",playForFun:"JUEGA POR DIVERSION",playNow:"REPRODUCIR AHORA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{gamePage:{signIn:"Login",register:"REGISTAR",deposit:"Depósito",playForFun:"Play for fun",playNow:"Comece agora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}};var Eo,To,$o=(To=Eo={path:void 0,exports:{},require:function(e,t){return Fn(null==t&&Eo.path)}},Eo.exports,To.exports=function(){var e;function f(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(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(p(e,t))return;return 1}function o(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)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return $t(e,t,n,r,!0).utc()}function g(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=g(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 m(e){var t=d(NaN);return null!=e?u(g(t),e):g(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},w=f.momentProperties=[],t=!1;function v(e,t){var n,r,i;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=g(t)),o(t._locale)||(e._locale=t._locale),0<w.length)for(n=0;n<w.length;n++)o(i=t[r=w[n]])||(e[r]=i);return e}function b(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,f.updateOffset(this),t=!1)}function S(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function x(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,o){var s=!0;return u(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,i),s){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])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}x(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var _={};function C(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),_[e]||(x(t),_[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)p(t,n)&&(a(e[n])&&a(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)p(e,n)&&!p(t,n)&&a(e[n])&&(r[n]=u({},r[n]));return r}function E(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var T=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function $(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 P=/(\[[^\[]*\])|(\\)?([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,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},A={};function D(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(A[e]=i),t&&(A[t[0]]=function(){return $(i.apply(this,arguments),t[1],t[2])}),n&&(A[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function O(e,t){return e.isValid()?(t=L(t,e.localeData()),I[t]=I[t]||function(r){for(var e,i=r.match(P),t=0,o=i.length;t<o;t++)A[i[t]]?i[t]=A[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<o;n++)t+=M(i[n])?i[n].call(e,r):i[n];return t}}(t),I[t](e)):e.localeData().invalidDate()}function L(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(F.lastIndex=0;0<=n&&F.test(e);)e=e.replace(F,r),F.lastIndex=0,--n;return e}var R={};function N(e,t){var n=e.toLowerCase();R[n]=R[n+"s"]=R[t]=e}function G(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)p(e,n)&&(t=G(n))&&(r[t]=e[n]);return r}var B={};function H(e,t){B[e]=t}function Y(e){return e%4==0&&e%100!=0||e%400==0}function j(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function z(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?j(t):e}function W(t,n){return function(e){return null!=e?(Z(this,t,e),f.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&&Y(e.year())&&1===e.month()&&29===e.date()?(n=z(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Te(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var q=/\d/,X=/\d\d/,J=/\d{3}/,K=/\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}/,oe=/[+-]?\d{1,6}/,se=/\d+/,ae=/[+-]?\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){fe[e]=M(n)?n:function(e,t){return e&&r?r:n}}function he(e,t){return p(fe,e)?fe[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={},ge={};function me(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),c(n)&&(r=function(e,t){t[n]=z(e)}),t=0;t<e.length;t++)ge[e[t]]=r}function ye(e,i){me(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var we,ve=0,be=1,Se=2,xe=3,_e=4,Ce=5,Me=6,ke=7,Ee=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?Y(e)?29:28:31-n%7%2}we=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"),H("month",8),de("M",ee),de("MM",ee,X),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),me(["M","MM"],function(e,t){t[be]=z(e)-1}),me(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[be]=r:g(n).invalidMonth=e});var $e="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Pe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Fe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=ue,Ae=ue;function De(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=z(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),f.updateOffset(this,!0),this):V(this,"Month")}function Le(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],o=0;o<12;o++)t=d([2e3,o]),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),o=0;o<12;o++)n[o]=pe(n[o]),r[o]=pe(r[o]);for(o=0;o<24;o++)i[o]=pe(i[o]);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 Re(e){return Y(e)?366:365}D("Y",0,0,function(){var e=this.year();return e<=9999?$(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"),H("year",1),de("Y",ae),de("YY",ee,X),de("YYYY",ie,K),de("YYYYY",oe,Q),de("YYYYYY",oe,Q),me(["YYYYY","YYYYYY"],ve),me("YYYY",function(e,t){t[ve]=2===e.length?f.parseTwoDigitYear(e):z(e)}),me("YY",function(e,t){t[ve]=f.parseTwoDigitYear(e)}),me("Y",function(e,t){t[ve]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return z(e)+(68<z(e)?1900:2e3)};var Ne=W("FullYear",!0);function Ge(e,t,n,r,i,o,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}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 Be(e,t,n){n=7+t-n;return-(7+Ue(e,0,n).getUTCDay()-t)%7+n-1}function He(e,t,n,r,i){var o,i=1+7*(t-1)+(7+n-r)%7+Be(e,r,i),i=i<=0?Re(o=e-1)+i:i>Re(e)?(o=e+1,i-Re(e)):(o=e,i);return{year:o,dayOfYear:i}}function Ye(e,t,n){var r,i,o=Be(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?r=o+je(i=e.year()-1,t,n):o>je(e.year(),t,n)?(r=o-je(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function je(e,t,n){var r=Be(e,t,n),n=Be(e+1,t,n);return(Re(e)-r+n)/7}D("w",["ww",2],"wo","week"),D("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),H("week",5),H("isoWeek",5),de("w",ee),de("ww",ee,X),de("W",ee),de("WW",ee,X),ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=z(e)});function ze(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"),H("day",11),H("weekday",11),H("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:g(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,r){t[r]=z(e)});var We="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("_"),qe=ue,Xe=ue,Je=ue;function Ke(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],o=[],s=[],a=[],l=0;l<7;l++)r=d([2e3,1]).day(l),t=pe(this.weekdaysMin(r,"")),n=pe(this.weekdaysShort(r,"")),r=pe(this.weekdays(r,"")),i.push(t),o.push(n),s.push(r),a.push(t),a.push(n),a.push(r);i.sort(e),o.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.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)+$(this.minutes(),2)}),D("hmmss",0,0,function(){return""+Qe.apply(this)+$(this.minutes(),2)+$(this.seconds(),2)}),D("Hmm",0,0,function(){return""+this.hours()+$(this.minutes(),2)}),D("Hmmss",0,0,function(){return""+this.hours()+$(this.minutes(),2)+$(this.seconds(),2)}),et("a",!0),et("A",!1),N("hour","h"),H("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,X),de("hh",ee,X),de("kk",ee,X),de("hmm",te),de("hmmss",ne),de("Hmm",te),de("Hmmss",ne),me(["H","HH"],xe),me(["k","kk"],function(e,t,n){e=z(e);t[xe]=24===e?0:e}),me(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),me(["h","hh"],function(e,t,n){t[xe]=z(e),g(n).bigHour=!0}),me("hmm",function(e,t,n){var r=e.length-2;t[xe]=z(e.substr(0,r)),t[_e]=z(e.substr(r)),g(n).bigHour=!0}),me("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[xe]=z(e.substr(0,r)),t[_e]=z(e.substr(r,2)),t[Ce]=z(e.substr(i)),g(n).bigHour=!0}),me("Hmm",function(e,t,n){var r=e.length-2;t[xe]=z(e.substr(0,r)),t[_e]=z(e.substr(r))}),me("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[xe]=z(e.substr(0,r)),t[_e]=z(e.substr(r,2)),t[Ce]=z(e.substr(i))});var nt=W("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:$e,monthsShort:Pe,week:{dow:0,doy:6},weekdays:We,weekdaysMin:Ze,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},ot={},st={};function at(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=at(e[o]).split("-")).length,n=(n=at(e[o+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--}o++}return rt}function ct(t){var e;if(void 0===ot[t]&&To&&To.exports)try{e=rt._abbr,Fn(),ut(e)}catch(e){ot[t]=null}return ot[t]}function ut(e,t){return e&&((t=o(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 ot[e],null;var n,r=it;if(t.abbr=e,null!=ot[e])C("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=ot[e]._config;else if(null!=t.parentLocale)if(null!=ot[t.parentLocale])r=ot[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ot[e]=new E(k(r,t)),st[e]&&st[e].forEach(function(e){dt(e.name,e.config)}),ut(e),ot[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!s(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function pt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[be]<0||11<t[be]?be:t[Se]<1||t[Se]>Te(t[ve],t[be])?Se:t[xe]<0||24<t[xe]||24===t[xe]&&(0!==t[_e]||0!==t[Ce]||0!==t[Me])?xe:t[_e]<0||59<t[_e]?_e:t[Ce]<0||59<t[Ce]?Ce:t[Me]<0||999<t[Me]?Me:-1,g(e)._overflowDayOfYear&&(t<ve||Se<t)&&(t=Se),g(e)._overflowWeeks&&-1===t&&(t=ke),g(e)._overflowWeekday&&-1===t&&(t=Ee),g(e).overflow=t),e}var 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=/^\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)?)?$/,mt=/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]],wt=[["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/]],vt=/^\/?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 xt(e){var t,n,r,i,o,s,a=e._i,l=ft.exec(a)||gt.exec(a);if(l){for(g(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=wt.length;t<n;t++)if(wt[t][1].exec(l[3])){o=(l[2]||" ")+wt[t][0];break}if(null==o)return e._isValid=!1}if(!r&&null!=o)return e._isValid=!1;if(l[4]){if(!mt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=i+(o||"")+(s||""),Et(e)}else e._isValid=!1}function _t(e,t,n,r,i,o){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Pe.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&i.push(parseInt(o,10)),i}function Ct(e){var t,n,r,i,o=bt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=_t(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],r=t,i=e,n&&Ve.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=o[8],t=o[9],o=o[10],i?St[i]:t?0:((t=parseInt(o,10))-(o=t%100))/100*60+o),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(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,o,s,a,l,c,u,d,h,p=[];if(!e._d){for(d=e,h=new Date(f.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=(i=e)._w).GG||null!=d.W||null!=d.E?(l=1,c=4,o=Mt(d.GG,i._a[ve],Ye(Pt(),1,4).year),s=Mt(d.W,1),((a=Mt(d.E,1))<1||7<a)&&(u=!0)):(l=i._locale._week.dow,c=i._locale._week.doy,h=Ye(Pt(),l,c),o=Mt(d.gg,i._a[ve],h.year),s=Mt(d.w,h.week),null!=d.d?((a=d.d)<0||6<a)&&(u=!0):null!=d.e?(a=d.e+l,(d.e<0||6<d.e)&&(u=!0)):a=l),s<1||s>je(o,l,c)?g(i)._overflowWeeks=!0:null!=u?g(i)._overflowWeekday=!0:(c=He(o,s,a,l,c),i._a[ve]=c.year,i._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(r=Mt(e._a[ve],n[ve]),(e._dayOfYear>Re(r)||0===e._dayOfYear)&&(g(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]=p[t]=n[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[xe]&&0===e._a[_e]&&0===e._a[Ce]&&0===e._a[Me]&&(e._nextDay=!0,e._a[xe]=0),e._d=(e._useUTC?Ue:Ge).apply(null,p),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[xe]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Et(e){if(e._f!==f.ISO_8601)if(e._f!==f.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r=""+e._i,i=r.length,o=0,s=L(e._f,e._locale).match(P)||[],a=0;a<s.length;a++)n=s[a],(t=(r.match(he(n,e))||[])[0])&&(0<(d=r.substr(0,r.indexOf(t))).length&&g(e).unusedInput.push(d),r=r.slice(r.indexOf(t)+t.length),o+=t.length),A[n]?(t?g(e).empty=!1:g(e).unusedTokens.push(n),u=n,h=e,null!=(d=t)&&p(ge,u)&&ge[u](d,h._a,h,u)):e._strict&&!t&&g(e).unusedTokens.push(n);g(e).charsLeftOver=i-o,0<r.length&&g(e).unusedInput.push(r),e._a[xe]<=12&&!0===g(e).bigHour&&0<e._a[xe]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[xe]=(l=e._locale,c=e._a[xe],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=g(e).era)&&(e._a[ve]=e._locale.erasConvertYear(c,e._a[ve])),kt(e),pt(e)}else Ct(e);else xt(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?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new b(pt(t)):(i(t)?e._d=t:s(n)?function(e){var t,n,r,i,o,s,a=!1;if(0===e._f.length)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)o=0,s=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Et(t),h(t)&&(s=!0),o+=g(t).charsLeftOver,o+=10*g(t).unusedTokens.length,g(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));u(e,n||t)}(e):n?Et(e):o(n=(t=e)._i)?t._d=new Date(f.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=vt.exec(e._i);null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Ct(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:f.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):s(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),kt(t)):a(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):f.createFromInputFallback(t),h(e)||(e._d=null),e))}function $t(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(o=new b(pt(Tt(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Pt(e,t,n,r){return $t(e,t,n,r,!1)}f.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":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};var Ft=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()}),It=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:m()});function At(e,t){var n,r;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return Pt();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,o=t.week||t.isoWeek||0,s=t.day||0,a=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(p(e,t)&&(-1===we.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]])!==z(e[Dt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*a*60*60,this._days=+s+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ht(),this._bubble()}function Lt(e){return e instanceof Ot}function Rt(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+$(~~(e/60),2)+n+$(~~e%60,2)})}Nt("Z",":"),Nt("ZZ",""),de("Z",ce),de("ZZ",ce),me(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(ce,e)});var Gt=/([\+\-]|\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(Gt)||["-",0,0])[1]+z(e[2]))?0:"+"===e[0]?t:-t}function Bt(e,t){var n;return t._isUTC?(n=t.clone(),t=(S(e)||i(e)?e:Pt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),f.updateOffset(n,!1),n):Pt(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function Yt(){return!!this.isValid()&&this._isUTC&&0===this._offset}f.updateOffset=function(){};var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Wt(e,t){var n,r,i=e,o=null;return Lt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(o=jt.exec(e))?(n="-"===o[1]?-1:1,i={y:0,d:z(o[Se])*n,h:z(o[xe])*n,m:z(o[_e])*n,s:z(o[Ce])*n,ms:z(Rt(1e3*o[Me]))*n}):(o=zt.exec(e))?(n="-"===o[1]?-1:1,i={y:Vt(o[2],n),M:Vt(o[3],n),w:Vt(o[4],n),d:Vt(o[5],n),h:Vt(o[6],n),m:Vt(o[7],n),s:Vt(o[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(o=Pt(i.from),n=Pt(i.to),r=o.isValid()&&n.isValid()?(n=Bt(n,o),o.isBefore(n)?r=Zt(o,n):((r=Zt(n,o)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new Ot(i),Lt(e)&&p(e,"_locale")&&(i._locale=e._locale),Lt(e)&&p(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 qt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(C(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),Xt(this,Wt(e,t),r),this}}function Xt(e,t,n,r){var i=t._milliseconds,o=Rt(t._days),t=Rt(t._months);e.isValid()&&(r=null==r||r,t&&De(e,V(e,"Month")+t*n),o&&Z(e,"Date",V(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&f.updateOffset(e,o||t))}Wt.fn=Ot.prototype,Wt.invalid=function(){return Wt(NaN)};var Jt=qt(1,"add"),ue=qt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Qt(e){return S(e)||i(e)||Kt(e)||c(e)||(n=s(t=e),r=!1,n&&(r=0===t.filter(function(e){return!c(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=a(e)&&!l(e),i=!1,o=["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<o.length;t+=1)n=o[t],i=i||p(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)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.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 on(e,t){return(e%t+t)%t}function sn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function an(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(),o=0,s=i.length;o<s;++o)t.push(pe(i[o].name)),e.push(pe(i[o].abbr)),n.push(pe(i[o].narrow)),r.push(pe(i[o].name)),r.push(pe(i[o].abbr)),r.push(pe(i[o].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 o;return null==e?Ye(this,r,i).year:(t>(o=je(e,r,i))&&(t=o),function(e,t,n,r,i){i=He(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)}),me(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),de("y",se),de("yy",se),de("yyy",se),de("yyyy",se),de("yo",function(e,t){return t._eraYearOrdinalRegex||se}),me(["y","yy","yyy","yyyy"],ve),me(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ve]=n._locale.eraYearOrdinalParse(e,i):t[ve]=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"),H("weekYear",1),H("isoWeekYear",1),de("G",ae),de("g",ae),de("GG",ee,X),de("gg",ee,X),de("GGGG",ie,K),de("gggg",ie,K),de("GGGGG",oe,Q),de("ggggg",oe,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=z(e)}),ye(["gg","GG"],function(e,t,n,r){t[r]=f.parseTwoDigitYear(e)}),D("Q",0,"Qo","quarter"),N("quarter","Q"),H("quarter",7),de("Q",q),me("Q",function(e,t){t[be]=3*(z(e)-1)}),D("D",["DD",2],"Do","date"),N("date","D"),H("date",9),de("D",ee),de("DD",ee,X),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),me(["D","DD"],Se),me("Do",function(e,t){t[Se]=z(e.match(ee)[0])});ne=W("Date",!0);D("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),H("dayOfYear",4),de("DDD",re),de("DDDD",J),me(["DDD","DDDD"],function(e,t,n){n._dayOfYear=z(e)}),D("m",["mm",2],0,"minute"),N("minute","m"),H("minute",14),de("m",ee),de("mm",ee,X),me(["m","mm"],_e);$e=W("Minutes",!1);D("s",["ss",2],0,"second"),N("second","s"),H("second",15),de("s",ee),de("ss",ee,X),me(["s","ss"],Ce);var hn,We=W("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"),H("millisecond",16),de("S",re,q),de("SS",re,X),de("SSS",re,J),hn="SSSS";hn.length<=9;hn+="S")de(hn,se);function pn(e,t){t[Me]=z(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")me(hn,pn);Ze=W("Milliseconds",!1),D("z",0,0,"zoneAbbr"),D("zz",0,0,"zoneName");ie=b.prototype;function fn(e){return e}ie.add=Jt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||p(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Pt(),e=Bt(n,this).startOf("day"),e=f.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,Pt(n)))},ie.clone=function(){return new b(this)},ie.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Bt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=G(t)){case"year":o=en(this,r)/12;break;case"month":o=en(this,r);break;case"quarter":o=en(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:j(o)},ie.endOf=function(e){var t,n;if(void 0===(e=G(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,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-on(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-on(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-on(t,1e3)-1}return this._d.setTime(t),f.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=O(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Pt(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Pt(),e)},ie.to=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Pt(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Pt(),e)},ie.get=function(e){return M(this[e=G(e)])?this[e]():this},ie.invalidAt=function(){return g(this).overflow},ie.isAfter=function(e,t){return e=S(e)?e:Pt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=G(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=S(e)?e:Pt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=G(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:Pt(e),t=S(t)?t:Pt(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:Pt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=G(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=Ft,ie.parsingFlags=function(){return u({},g(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:B[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=G(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=G(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,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-=on(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=on(t,6e4);break;case"second":t=this._d.valueOf(),t-=on(t,1e3)}return this._d.setTime(t),f.updateOffset(this,!0),this},ie.subtract=ue,ie.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},ie.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.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()-f(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=Ne,ie.isLeapYear=function(){return Y(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=Ye(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return je(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return je(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return je(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return je(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=$e,ie.second=ie.seconds=We,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:Ht(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=Ht(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Xt(this,Wt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.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(Ht(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?Pt(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=Yt,ie.isUTC=Yt,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",Ne),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(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Tt(t))._a?(e=(t._isUTC?d:Pt)(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),o=0,s=0;s<r;s++)(n&&e[s]!==t[s]||!n&&z(e[s])!==z(t[s]))&&o++;return o+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=E.prototype;function gn(e,t,n,r){var i=ht(),t=d().set(r,t);return i[n](t,e)}function mn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return gn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=gn(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,o=ht(),s=e?o._week.dow:0,a=[];if(null!=n)return gn(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=gn(t,(i+s)%7,r,"day");return a}K.calendar=function(e,t,n){return M(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(P).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=fn,K.postformat=fn,K.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return M(i)?i(e,t,n,r):i.replace(/%d/i,e)},K.pastFuture=function(e,t){return M(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,n;for(n in e)p(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)},K.eras=function(e,t){for(var n,r=this._eras||ht("en")._eras,i=0,o=r.length;i<o;++i)switch("string"==typeof r[i].since&&(n=f(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=f(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},K.erasParse=function(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if(0<=[o,s,a].indexOf(e))return l[r]},K.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*n},K.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return p(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Fe).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Fe.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=we.call(this._shortMonthsParse,e))?i:null:-1!==(i=we.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=we.call(this._shortMonthsParse,e))||-1!==(i=we.call(this._longMonthsParse,e))?i:null:-1!==(i=we.call(this._longMonthsParse,e))||-1!==(i=we.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}},K.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Le.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Ae),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Le.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return Ye(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?ze(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?ze(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?ze(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=we.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=we.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=we.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=we.call(this._weekdaysParse,e))||-1!==(i=we.call(this._shortWeekdaysParse,e))||-1!==(i=we.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=we.call(this._shortWeekdaysParse,e))||-1!==(i=we.call(this._weekdaysParse,e))||-1!==(i=we.call(this._minWeekdaysParse,e))?i:null:-1!==(i=we.call(this._minWeekdaysParse,e))||-1!==(i=we.call(this._weekdaysParse,e))||-1!==(i=we.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}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.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===z(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=n("moment.lang is deprecated. Use moment.locale instead.",ut),f.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var wn=Math.abs;function vn(e,t,n,r){n=Wt(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 xn(e){return 146097*e/4800}function _n(e){return function(){return this.as(e)}}oe=_n("ms"),Q=_n("s"),q=_n("m"),X=_n("h"),re=_n("d"),J=_n("w"),Jt=_n("M"),It=_n("Q"),Ft=_n("y");function Cn(e){return function(){return this.isValid()?this._data[e]:NaN}}ue=Cn("milliseconds"),nt=Cn("seconds"),$e=Cn("minutes"),We=Cn("hours"),Ze=Cn("days"),ne=Cn("months"),Ne=Cn("years");var Mn=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function En(e,t,n,r){var i=Wt(e).abs(),o=Mn(i.as("s")),s=Mn(i.as("m")),a=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=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||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 $n(e){return(0<e)-(e<0)||+e}function Pn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,s,a=Tn(this._milliseconds)/1e3,l=Tn(this._days),c=Tn(this._months),u=this.asSeconds();return u?(e=j(a/60),t=j(e/60),a%=60,e%=60,n=j(c/12),c%=12,r=a?a.toFixed(3).replace(/\.?0+$/,""):"",i=$n(this._months)!==$n(u)?"-":"",o=$n(this._days)!==$n(u)?"-":"",s=$n(this._milliseconds)!==$n(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?o+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+r+"S":"")):"P0D"}K=Ot.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var e=this._data;return this._milliseconds=wn(this._milliseconds),this._days=wn(this._days),this._months=wn(this._months),e.milliseconds=wn(e.milliseconds),e.seconds=wn(e.seconds),e.minutes=wn(e.minutes),e.hours=wn(e.hours),e.months=wn(e.months),e.years=wn(e.years),this},K.add=function(e,t){return vn(this,e,t,1)},K.subtract=function(e,t){return vn(this,e,t,-1)},K.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=G(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(xn(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)}},K.asMilliseconds=oe,K.asSeconds=Q,K.asMinutes=q,K.asHours=X,K.asDays=re,K.asWeeks=J,K.asMonths=Jt,K.asQuarters=It,K.asYears=Ft,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*z(this._months/12):NaN},K._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(xn(n)+t),n=t=0),r.milliseconds=e%1e3,e=j(e/1e3),r.seconds=e%60,e=j(e/60),r.minutes=e%60,e=j(e/60),r.hours=e%24,t+=j(e/24),n+=e=j(Sn(t)),t-=bn(xn(e)),e=j(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},K.clone=function(){return Wt(this)},K.get=function(e){return e=G(e),this.isValid()?this[e+"s"]():NaN},K.milliseconds=ue,K.seconds=nt,K.minutes=$e,K.hours=We,K.days=Ze,K.weeks=function(){return j(this.days()/7)},K.months=ne,K.years=Ne,K.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=En(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},K.toISOString=Pn,K.toString=Pn,K.toJSON=Pn,K.locale=tn,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Pn),K.lang=te,D("X",0,0,"unix"),D("x",0,0,"valueOf"),de("x",ae),de("X",/[+-]?\d+(\.\d{1,3})?/),me("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),me("x",function(e,t,n){n._d=new Date(z(e))}),f.version="2.29.1",e=Pt,f.fn=ie,f.min=function(){return At("isBefore",[].slice.call(arguments,0))},f.max=function(){return At("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=d,f.unix=function(e){return Pt(1e3*e)},f.months=function(e,t){return mn(e,t,"months")},f.isDate=i,f.locale=ut,f.invalid=m,f.duration=Wt,f.isMoment=S,f.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},f.parseZone=function(){return Pt.apply(null,arguments).parseZone()},f.localeData=ht,f.isDuration=Lt,f.monthsShort=function(e,t){return mn(e,t,"monthsShort")},f.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},f.defineLocale=dt,f.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=ot[e]&&null!=ot[e].parentLocale?ot[e].set(k(ot[e]._config,t)):(t=k(r=null!=(n=ct(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new E(t)).parentLocale=ot[e],ot[e]=t),ut(e)):null!=ot[e]&&(null!=ot[e].parentLocale?(ot[e]=ot[e].parentLocale,e===ut()&&ut(e)):null!=ot[e]&&delete ot[e]),ot[e]},f.locales=function(){return T(ot)},f.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},f.normalizeUnits=G,f.relativeTimeRounding=function(e){return void 0===e?Mn:"function"==typeof e&&(Mn=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},f.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"},f.prototype=ie,f.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"},f}(),Eo.exports);function Po(n){let r,i=n[8]&&Ao(n);return{c(){r=z("div"),i&&i.c(),Z(r,"class","CasinoGamePageContainer")},m(e,t){Y(e,r,t),i&&i.m(r,null),n[69](r)},p(e,t){e[8]?i?i.p(e,t):(i=Ao(e),i.c(),i.m(r,null)):i&&(i.d(1),i=null)},d(e){e&&j(r),i&&i.d(),n[69](null)}}}function Fo(e){let n;return{c(){n=z("p"),n.textContent="500 Error - Internal Server Error.",Z(n,"class","SearchLoading")},m(e,t){Y(e,n,t)},p:U,d(e){e&&j(n)}}}function Io(e){let n;return{c(){n=z("p"),n.textContent="Loading, please wait ...",Z(n,"class","SearchLoading")},m(e,t){Y(e,n,t)},p:U,d(e){e&&j(n)}}}function Ao(e){let n;function r(e){return e[18]?Ro:e[4]?Lo:e[9]?Oo:Do}let i=r(e),o=i(e);return{c(){o.c(),n=p()},m(e,t){o.m(e,t),Y(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&j(n)}}}function Do(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S=n[7].name+"",x=n[20]("gamePage.signIn")+"",_=n[20]("gamePage.register")+"";return{c(){r=z("div"),i=z("h3"),o=t(S),s=W(),a=z("img"),c=W(),u=z("div"),d=z("button"),h=t(x),p=W(),f=z("button"),g=t(_),m=W(),y=z("p"),w=t(n[2]),a.src!==(l=n[7].thumbnail)&&Z(a,"src",l),Z(a,"class","GameThumbnail"),Z(a,"alt","game thumbnail"),Z(a,"loading","lazy"),Z(d,"class","LoginButton"),Z(f,"class","RegisterButton"),Z(u,"class","ButtonsContainer"),Z(r,"class","GameDetails")},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(r,s),H(r,a),H(r,c),H(r,u),H(u,d),H(d,h),H(u,p),H(u,f),H(f,g),H(r,m),H(r,y),H(y,w),v||(b=[V(d,"click",n[67]),V(f,"click",n[68])],v=!0)},p(e,t){128&t[0]&&S!==(S=e[7].name+"")&&q(o,S),128&t[0]&&a.src!==(l=e[7].thumbnail)&&Z(a,"src",l),1048576&t[0]&&x!==(x=e[20]("gamePage.signIn")+"")&&q(h,x),1048576&t[0]&&_!==(_=e[20]("gamePage.register")+"")&&q(g,_),4&t[0]&&q(w,e[2])},d(e){e&&j(r),v=!1,B(b)}}}function Oo(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S,x=n[20]("gamePage.signIn")+"",_=n[20]("gamePage.register")+"";function C(e){return e[13]?Go:No}let M=C(n),k=M(n);return{c(){r=z("div"),i=z("div"),o=z("iframe"),a=W(),l=z("div"),c=z("div"),u=z("button"),d=t(x),h=W(),p=z("button"),f=t(_),g=W(),k.c(),m=W(),y=z("p"),w=z("span"),v=t(n[2]),Z(o,"title","Games"),Z(o,"class","GamesContainer"),Z(o,"aria-hidden","false"),o.src!==(s=n[7].launchUrl)&&Z(o,"src",s),Z(u,"class","LoginButton"),Z(p,"class","RegisterButton"),Z(c,"class","ButtonsContainer"),Z(l,"class","BottomGame"),Z(y,"class","Time"),Z(i,"id","IframeGame"),E(i,"width",n[13]?"100%":n[16]),E(i,"height",n[13]?"100%":n[17]),E(i,"max-width",n[13]?"none":n[7].width+"px"),E(i,"max-height",n[13]?"none":n[7].height+100+"px"),Z(r,"id","IframeContainer"),E(r,"width",n[14]),E(r,"height",n[15]),T(r,"FullsScreenLayout",n[13])},m(e,t){Y(e,r,t),H(r,i),H(i,o),n[60](o),H(i,a),H(i,l),H(l,c),H(c,u),H(u,d),H(c,h),H(c,p),H(p,f),H(l,g),k.m(l,null),H(i,m),H(i,y),H(y,w),H(w,v),n[65](i),n[66](r),b||(S=[V(u,"click",n[61]),V(p,"click",n[62])],b=!0)},p(e,t){128&t[0]&&o.src!==(s=e[7].launchUrl)&&Z(o,"src",s),1048576&t[0]&&x!==(x=e[20]("gamePage.signIn")+"")&&q(d,x),1048576&t[0]&&_!==(_=e[20]("gamePage.register")+"")&&q(f,_),M===(M=C(e))&&k?k.p(e,t):(k.d(1),k=M(e),k&&(k.c(),k.m(l,null))),4&t[0]&&q(v,e[2]),73728&t[0]&&E(i,"width",e[13]?"100%":e[16]),139264&t[0]&&E(i,"height",e[13]?"100%":e[17]),8320&t[0]&&E(i,"max-width",e[13]?"none":e[7].width+"px"),8320&t[0]&&E(i,"max-height",e[13]?"none":e[7].height+100+"px"),16384&t[0]&&E(r,"width",e[14]),32768&t[0]&&E(r,"height",e[15]),8192&t[0]&&T(r,"FullsScreenLayout",e[13])},d(e){e&&j(r),n[60](null),k.d(),n[65](null),n[66](null),b=!1,B(S)}}}function Lo(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v=n[20]("gamePage.deposit")+"",b="true"===n[1]&&Uo(n);function S(e){return e[13]?Ho:Bo}let x=S(n),_=x(n);return{c(){r=z("div"),i=z("div"),o=z("iframe"),a=W(),l=z("div"),c=z("button"),u=t(v),d=W(),b&&b.c(),h=W(),_.c(),p=W(),f=z("p"),g=z("span"),m=t(n[2]),Z(o,"title","Games"),Z(o,"id","IframeGame"),Z(o,"class","GamesContainer"),Z(o,"aria-hidden","false"),o.src!==(s=n[7].launchUrl)&&Z(o,"src",s),Z(c,"class","DepositButton"),Z(l,"class","BottomGame"),Z(f,"class","Time"),Z(i,"id","IframeGame"),E(i,"width",n[13]?"100%":n[16]),E(i,"height",n[13]?"100%":n[17]),E(i,"max-width",n[13]?"none":n[7].width+"px"),E(i,"max-height",n[13]?"none":n[7].height+100+"px"),Z(r,"id","IframeContainer"),E(r,"width",n[14]),E(r,"height",n[15]),T(r,"FullsScreenLayout",n[13])},m(e,t){Y(e,r,t),H(r,i),H(i,o),n[53](o),H(i,a),H(i,l),H(l,c),H(c,u),H(l,d),b&&b.m(l,null),H(l,h),_.m(l,null),H(i,p),H(i,f),H(f,g),H(g,m),n[58](i),n[59](r),y||(w=V(c,"click",n[54]),y=!0)},p(e,t){128&t[0]&&o.src!==(s=e[7].launchUrl)&&Z(o,"src",s),1048576&t[0]&&v!==(v=e[20]("gamePage.deposit")+"")&&q(u,v),"true"===e[1]?b?b.p(e,t):(b=Uo(e),b.c(),b.m(l,h)):b&&(b.d(1),b=null),x===(x=S(e))&&_?_.p(e,t):(_.d(1),_=x(e),_&&(_.c(),_.m(l,null))),4&t[0]&&q(m,e[2]),73728&t[0]&&E(i,"width",e[13]?"100%":e[16]),139264&t[0]&&E(i,"height",e[13]?"100%":e[17]),8320&t[0]&&E(i,"max-width",e[13]?"none":e[7].width+"px"),8320&t[0]&&E(i,"max-height",e[13]?"none":e[7].height+100+"px"),16384&t[0]&&E(r,"width",e[14]),32768&t[0]&&E(r,"height",e[15]),8192&t[0]&&T(r,"FullsScreenLayout",e[13])},d(e){e&&j(r),n[53](null),b&&b.d(),_.d(),n[58](null),n[59](null),y=!1,w()}}}function Ro(e){let n;function r(e){return e[4]?zo:e[10]?jo:Yo}let i=r(e),o=i(e);return{c(){o.c(),n=p()},m(e,t){o.m(e,t),Y(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&j(n)}}}function No(n){let r,i,o;return{c(){r=z("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',Z(r,"class","FullscreenButton")},m(e,t){Y(e,r,t),i||(o=V(r,"click",n[64]),i=!0)},p:U,d(e){e&&j(r),i=!1,o()}}}function Go(n){let r,i,o;return{c(){r=z("button"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',Z(r,"class","FullscreenButton")},m(e,t){Y(e,r,t),i||(o=V(r,"click",n[63]),i=!0)},p:U,d(e){e&&j(r),i=!1,o()}}}function Uo(n){let r,i,o,s,a,l,c,u,d,h,p,f=n[20]("gamePage.break")+"",g=n[20]("gamePage.breakButton")+"";return{c(){r=z("div"),i=S("svg"),o=S("path"),s=W(),a=z("p"),l=t(f),c=W(),u=z("button"),d=t(g),Z(o,"stroke-linecap","round"),Z(o,"stroke-linejoin","round"),Z(o,"stroke-width","2"),Z(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),Z(i,"class","w-1 h-1"),Z(i,"fill","none"),Z(i,"stroke","white"),Z(i,"width","34px"),Z(i,"height","34px"),Z(i,"viewBox","0 0 24 24"),Z(i,"xmlns","http://www.w3.org/2000/svg"),Z(u,"class","Button"),Z(r,"class","PanicSection")},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(r,s),H(r,a),H(a,l),H(r,c),H(r,u),H(u,d),h||(p=V(u,"click",n[55]),h=!0)},p(e,t){1048576&t[0]&&f!==(f=e[20]("gamePage.break")+"")&&q(l,f),1048576&t[0]&&g!==(g=e[20]("gamePage.breakButton")+"")&&q(d,g)},d(e){e&&j(r),h=!1,p()}}}function Bo(n){let r,i,o;return{c(){r=z("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',Z(r,"class","FullscreenButton")},m(e,t){Y(e,r,t),i||(o=V(r,"click",n[57]),i=!0)},p:U,d(e){e&&j(r),i=!1,o()}}}function Ho(n){let r,i,o;return{c(){r=z("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',Z(r,"class","FullscreenButton")},m(e,t){Y(e,r,t),i||(o=V(r,"click",n[56]),i=!0)},p:U,d(e){e&&j(r),i=!1,o()}}}function Yo(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S=n[7].name+"",x=n[20]("gamePage.signIn")+"",_=n[20]("gamePage.register")+"";return{c(){r=z("div"),i=z("h3"),o=t(S),s=W(),a=z("img"),c=W(),u=z("div"),d=z("button"),h=t(x),p=W(),f=z("button"),g=t(_),m=W(),y=z("p"),w=t(n[2]),a.src!==(l=n[7].thumbnail)&&Z(a,"src",l),Z(a,"class","GameThumbnail"),Z(a,"alt","game thumbnail"),Z(a,"loading","lazy"),Z(d,"class","LoginButton"),Z(f,"class","RegisterButton"),Z(u,"class","ButtonsContainer"),Z(r,"class","GameDetails")},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(r,s),H(r,a),H(r,c),H(r,u),H(u,d),H(d,h),H(u,p),H(u,f),H(f,g),H(r,m),H(r,y),H(y,w),v||(b=[V(d,"click",n[51]),V(f,"click",n[52])],v=!0)},p(e,t){128&t[0]&&S!==(S=e[7].name+"")&&q(o,S),128&t[0]&&a.src!==(l=e[7].thumbnail)&&Z(a,"src",l),1048576&t[0]&&x!==(x=e[20]("gamePage.signIn")+"")&&q(h,x),1048576&t[0]&&_!==(_=e[20]("gamePage.register")+"")&&q(g,_),4&t[0]&&q(w,e[2])},d(e){e&&j(r),v=!1,B(b)}}}function jo(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S,x,_,C=n[7].name+"",M=n[20]("gamePage.signIn")+"",k=n[20]("gamePage.register")+"",E=n[20]("gamePage.playForFun")+"";return{c(){r=z("div"),i=z("h3"),o=t(C),s=W(),a=z("img"),c=W(),u=z("div"),d=z("button"),h=t(M),p=W(),f=z("button"),g=t(k),m=W(),y=z("button"),w=t(E),v=W(),b=z("p"),S=t(n[2]),a.src!==(l=n[7].thumbnail)&&Z(a,"src",l),Z(a,"class","GameThumbnail"),Z(a,"alt","game thumbnail"),Z(a,"loading","lazy"),Z(d,"class","LoginButton"),Z(f,"class","RegisterButton"),Z(u,"class","ButtonsContainer"),Z(y,"class","FullWidthButton"),Z(r,"class","GameDetails")},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(r,s),H(r,a),H(r,c),H(r,u),H(u,d),H(d,h),H(u,p),H(u,f),H(f,g),H(r,m),H(r,y),H(y,w),H(r,v),H(r,b),H(b,S),x||(_=[V(d,"click",n[48]),V(f,"click",n[49]),V(y,"click",n[50])],x=!0)},p(e,t){128&t[0]&&C!==(C=e[7].name+"")&&q(o,C),128&t[0]&&a.src!==(l=e[7].thumbnail)&&Z(a,"src",l),1048576&t[0]&&M!==(M=e[20]("gamePage.signIn")+"")&&q(h,M),1048576&t[0]&&k!==(k=e[20]("gamePage.register")+"")&&q(g,k),1048576&t[0]&&E!==(E=e[20]("gamePage.playForFun")+"")&&q(w,E),4&t[0]&&q(S,e[2])},d(e){e&&j(r),x=!1,B(_)}}}function zo(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S,x,_=n[7].name+"",C=n[20]("gamePage.deposit")+"",M=n[20]("gamePage.playNow")+"",k="true"==n[0]&&Wo(n),E="true"===n[1]&&qo(n);return{c(){k&&k.c(),r=W(),i=z("div"),o=z("h3"),s=t(_),a=W(),l=z("img"),u=W(),d=z("div"),h=z("button"),p=t(C),f=W(),g=z("button"),m=t(M),y=W(),E&&E.c(),w=W(),v=z("p"),b=t(n[2]),l.src!==(c=n[7].thumbnail)&&Z(l,"src",c),Z(l,"class","GameThumbnail"),Z(l,"alt","game thumbnail"),Z(l,"loading","lazy"),Z(h,"class","DepositButton"),Z(g,"class","PlayNowButton"),Z(d,"class","ButtonsContainer"),Z(i,"class","GameDetails")},m(e,t){k&&k.m(e,t),Y(e,r,t),Y(e,i,t),H(i,o),H(o,s),H(i,a),H(i,l),H(i,u),H(i,d),H(d,h),H(h,p),H(d,f),H(d,g),H(g,m),H(i,y),E&&E.m(i,null),H(i,w),H(i,v),H(v,b),S||(x=[V(h,"click",n[45]),V(g,"click",n[46])],S=!0)},p(e,t){"true"==e[0]?k?k.p(e,t):(k=Wo(e),k.c(),k.m(r.parentNode,r)):k&&(k.d(1),k=null),128&t[0]&&_!==(_=e[7].name+"")&&q(s,_),128&t[0]&&l.src!==(c=e[7].thumbnail)&&Z(l,"src",c),1048576&t[0]&&C!==(C=e[20]("gamePage.deposit")+"")&&q(p,C),1048576&t[0]&&M!==(M=e[20]("gamePage.playNow")+"")&&q(m,M),"true"===e[1]?E?E.p(e,t):(E=qo(e),E.c(),E.m(i,w)):E&&(E.d(1),E=null),4&t[0]&&q(b,e[2])},d(e){k&&k.d(e),e&&j(r),e&&j(i),E&&E.d(),S=!1,B(x)}}}function Wo(e){let n;function r(e){return e[7].isFavored?Zo:Vo}let i=r(e),o=i(e);return{c(){o.c(),n=p()},m(e,t){o.m(e,t),Y(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&j(n)}}}function Vo(n){let r,i,o;return{c(){r=z("div"),r.innerHTML='<svg version="1.1" class="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>',Z(r,"class","FavIconContainer")},m(e,t){Y(e,r,t),i||(o=V(r,"click",n[44]),i=!0)},p:U,d(e){e&&j(r),i=!1,o()}}}function Zo(n){let r,i,o;return{c(){r=z("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',Z(r,"class","FavIconContainer")},m(e,t){Y(e,r,t),i||(o=V(r,"click",n[43]),i=!0)},p:U,d(e){e&&j(r),i=!1,o()}}}function qo(n){let r,i,o,s,a,l,c,u,d,h,p,f,g=n[20]("gamePage.break")+"",m=n[20]("gamePage.breakButton")+"";return{c(){r=z("div"),i=z("div"),o=S("svg"),s=S("path"),a=W(),l=z("p"),c=t(g),u=W(),d=z("button"),h=t(m),Z(s,"stroke-linecap","round"),Z(s,"stroke-linejoin","round"),Z(s,"stroke-width","2"),Z(s,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),Z(o,"class","w-1 h-1"),Z(o,"fill","none"),Z(o,"stroke","white"),Z(o,"width","34px"),Z(o,"height","34px"),Z(o,"viewBox","0 0 24 24"),Z(o,"xmlns","http://www.w3.org/2000/svg"),Z(i,"class","PanicText"),Z(d,"class","Button"),Z(r,"class","PanicSection "+("PC"!==Or(n[21])?"PanicSectionMobile":""))},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(o,s),H(i,a),H(i,l),H(l,c),H(r,u),H(r,d),H(d,h),p||(f=V(d,"click",n[47]),p=!0)},p(e,t){1048576&t[0]&&g!==(g=e[20]("gamePage.break")+"")&&q(c,g),1048576&t[0]&&m!==(m=e[20]("gamePage.breakButton")+"")&&q(h,m)},d(e){e&&j(r),p=!1,f()}}}function Xo(e){let n;function r(e){return e[6]?Io:e[5]?Fo:Po}let i=r(e),o=i(e);return{c(){o.c(),n=p(),this.c=U},m(e,t){o.m(e,t),Y(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},i:U,o:U,d(e){o.d(e),e&&j(n)}}}function Jo(e,t,o){let n;xe(e,Ar,e=>o(20,n=e));let r,i,s,a,l,c,u,d,h,p,f,g,m,{endpoint:y=""}=t,{datasource:w=""}=t,{lang:v=""}=t,{session:b=""}=t,{userid:S=""}=t,{clientstyling:x=""}=t,{clientstylingurl:_=""}=t,{favorites:C=""}=t,{loginurl:M=""}=t,{registerurl:k=""}=t,{depositurl:E=""}=t,{loginevent:T=""}=t,{registerevent:$=""}=t,{depositevent:P=""}=t,{clockformat:F=""}=t,{haspanicbutton:I="false"}=t,A=!1,D=!1,O=!0,L=!1,R=!1,N=!1,G=!1,U=window.navigator.userAgent,B=!1,H=[];Object.keys(ko).forEach(e=>{pr(e,ko[e])});const Y=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",v),s&&0<s.length&&(o(4,A=!0),t.searchParams.append("_sid",s),t.searchParams.append("funMode",!1),t.searchParams.append("language",v)),e.launchUrl=t,e},j=n=>{switch(n.data.type){case"GameLaunchID":let e=new URL(`${y}/casino/games/${n.data.gameId}`);e.searchParams.append("language",v),fetch(e).then(e=>e.json()).then(e=>{if(o(7,a=Y(e[0])),a.launchUrl){o(8,L=!0),o(9,R=a.hasFunMode),o(10,N=a.hasAnonymousFunMode);let e=new URL(a.launchUrl);s&&0<s.length&&(o(4,A=!0),e.searchParams.append("_sid",s),e.searchParams.append("funMode",!1),e.searchParams.append("language",v),o(7,a.launchUrl=e,a))}},e=>{console.error("There was an error",e),o(5,D=!0)}).then(()=>{l&&V()}),window.postMessage({type:"RequestModalSize"},window.location.href);break;case"LaunchGameFrame":W(n.data.gameId,n.data.gameFunMode);break;case"ModalClosed":setTimeout(()=>{o(8,L=!1)},500);break;case"UserSessionID":if(0<n.data.session.length){s=n.data.session,n.data.userID,o(4,A=!0);let t=setInterval(()=>{if(a){let e=new URL(a.launchUrl);e.searchParams.append("_sid",s),e.searchParams.append("funMode",!1),e.searchParams.append("language",v),o(7,a.launchUrl=e,a),clearInterval(t)}},250)}break;case"ModalSize":o(14,u=n.data.modalContainerSize.modalWidth),o(15,d=n.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":n.data.receivedFavoriteResults&&(H=n.data.receivedFavoriteResults.items)}},z=e=>{a.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),o(7,a.isFavored=!1,a)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),o(7,a.isFavored=!0,a))};let W=(e,n)=>{let t=new URL(`${y}/casino/games/${e}`);t.searchParams.append("language",v),fetch(t).then(e=>e.json()).then(e=>{var t;o(7,a=Y(e[0])),a.launchUrl&&(o(10,N=a.hasAnonymousFunMode),o(9,R=n),o(8,L=!0),o(7,a.isFavored=(t=a.id,-1!==H.findIndex(e=>e.id==t)),a))})},V=()=>{let e=getComputedStyle(l),t=getComputedStyle(c),n=parseInt(e.width.slice(0,-2)),r=parseInt(e.height.slice(0,-2));var i=a.width/(a.height+100);h=parseInt(t.width),p=parseInt(t.height),r<n/i?(p=r,h=r*i):(h=n,p=n/i),o(16,f=Math.floor(h)+"px"),o(17,g=Math.floor(p)+"px")};const Z=e=>{window.open(e.launchUrl,"_blank")},q=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:L},window.location.href),L&&(l&&V(),window.addEventListener("ModalSize",j,!1))},X=()=>{T&&(window.postMessage({type:T,login:!0},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),M&&(window.location=loginUrl)},J=()=>{$&&(window.postMessage({type:$,register:!0},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),k&&(window.location=registerUrl)},K=()=>{P&&(window.postMessage({type:P},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),E&&(window.location=depositUrl)};function Q(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!G||ee()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Q,!1),document.addEventListener("mozfullscreenchange",Q,!1),document.addEventListener("fullscreenchange",Q,!1),document.addEventListener("MSFullscreenChange",Q,!1));const ee=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(G?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),o(13,G=!1)):(l.requestFullscreen?l.requestFullscreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.msRequestFullscreen&&l.msRequestFullscreen(),o(13,G=!0)))},te=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},ne=setInterval(()=>{o(2,r=F?$o().format(F):$o().format("LTS"))},100);return _e(()=>(window.addEventListener("resize",q,!1),window.addEventListener("message",j,!1),()=>{window.removeEventListener("resize",q),window.removeEventListener("message",j),clearInterval(ne)})),e.$$set=e=>{"endpoint"in e&&o(29,y=e.endpoint),"datasource"in e&&o(30,w=e.datasource),"lang"in e&&o(31,v=e.lang),"session"in e&&o(32,b=e.session),"userid"in e&&o(33,S=e.userid),"clientstyling"in e&&o(34,x=e.clientstyling),"clientstylingurl"in e&&o(35,_=e.clientstylingurl),"favorites"in e&&o(0,C=e.favorites),"loginurl"in e&&o(36,M=e.loginurl),"registerurl"in e&&o(37,k=e.registerurl),"depositurl"in e&&o(38,E=e.depositurl),"loginevent"in e&&o(39,T=e.loginevent),"registerevent"in e&&o(40,$=e.registerevent),"depositevent"in e&&o(41,P=e.depositevent),"clockformat"in e&&o(42,F=e.clockformat),"haspanicbutton"in e&&o(1,I=e.haspanicbutton)},e.$$.update=()=>{1610612736&e.$$.dirty[0]|1&e.$$.dirty[1]&&y&&w&&v&&(o(6,O=!1),Dr(U)&&o(18,B=!0)),536870912&e.$$.dirty[0]|6&e.$$.dirty[1]&&b&&S&&y&&Lr(y,b).then(e=>{s=e.Guid,e.UserID,o(4,A=!0)},e=>{o(4,A=!1),console.error("err on session",e)}),8&e.$$.dirty[1]&&x&&(()=>{let e=document.createElement("style");e.innerHTML=x,m.appendChild(e)})(),16&e.$$.dirty[1]&&_&&(()=>{let t=document.createElement("style");_&&fetch(new URL(_)).then(e=>e.text()).then(e=>{t.innerHTML=e,m&&setTimeout(()=>{m.appendChild(t)},1)})})()},[C,I,r,i,A,D,O,a,L,R,N,l,c,G,u,d,f,g,B,m,n,U,z,Z,X,J,K,ee,te,y,w,v,b,S,x,_,M,k,E,T,$,P,F,()=>z(a.id),()=>z(a.id),()=>K(),()=>{Z(a)},()=>te(),()=>X(),()=>J(),()=>{Z(a)},()=>X(),()=>J(),function(e){Ce[e?"unshift":"push"](()=>{i=e,o(3,i)})},()=>K(),()=>te(),()=>ee(),()=>ee(),function(e){Ce[e?"unshift":"push"](()=>{c=e,o(12,c)})},function(e){Ce[e?"unshift":"push"](()=>{l=e,o(11,l)})},function(e){Ce[e?"unshift":"push"](()=>{i=e,o(3,i)})},()=>X(),()=>J(),()=>ee(),()=>ee(),function(e){Ce[e?"unshift":"push"](()=>{c=e,o(12,c)})},function(e){Ce[e?"unshift":"push"](()=>{l=e,o(11,l)})},()=>X(),()=>J(),function(e){Ce[e?"unshift":"push"](()=>{m=e,o(19,m)})}]}function Ko(n){let r,i,o,s,a,l,c,t,u,d,h;return{c(){r=z("div"),i=z("div"),o=z("span"),o.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>',s=W(),a=z("slot"),Z(o,"class","FilterModalCloseBtn"),Z(o,"role","button"),Z(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),Z(r,"class","FilterModalWindow"),Z(r,"id","FilterModal"),D(()=>n[14].call(r))},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(i,s),H(i,a),n[13](r),c=f(r,n[14].bind(r)),u=!0,d||(h=V(o,"click",n[7]),d=!0)},p(e,t){n=e,(!u||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&Z(i,"class",l)},i(e){u||(D(()=>{t=t||re(r,xo,{transitionDuration:n[1]},!0),t.run(1)}),u=!0)},o(e){t=t||re(r,xo,{transitionDuration:n[1]},!1),t.run(0),u=!1},d(e){e&&j(r),n[13](null),c(),e&&t&&t.end(),d=!1,h()}}}function Qo(n){let r,i,o=n[0]&&Ko(n);return{c(){r=z("div"),o&&o.c(),this.c=U},m(e,t){Y(e,r,t),o&&o.m(r,null),n[15](r),i=!0},p(e,[t]){e[0]?o?(o.p(e,t),1&t&&ee(o,1)):(o=Ko(e),o.c(),ee(o,1),o.m(r,null)):o&&(K(),te(o,1,1,()=>{o=null}),Q())},i(e){i||(ee(o),i=!0)},o(e){te(o),i=!1},d(e){e&&j(r),o&&o.d(),n[15](null)}}}function es(e,t,n){let r,i,o,s,{show:a=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,f=window.navigator.userAgent,g=!1;const m=()=>{n(0,a=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},y=e=>{"ShowFilterModal"===e.data.type&&(n(0,a=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(m(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))},w=()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,i.appendChild(t)})};return _e(()=>(window.addEventListener("message",y,!1),Dr(f)&&n(2,g=!0),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"show"in e&&n(0,a=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(8,c=e.session),"userid"in e&&n(9,u=e.userid),"clientstyling"in e&&n(10,d=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint)},e.$$.update=()=>{4864&e.$$.dirty&&c&&u&&p&&Lr(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,a&&setTimeout(()=>{r.appendChild(e)})})(),2048&e.$$.dirty&&h&&w(),2049&e.$$.dirty&&a&&h&&w()},[a,l,g,r,i,void 0,void 0,m,c,u,d,h,p,function(e){Ce[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){o=this.clientWidth,s=this.clientHeight,n(5,o),n(6,s)},function(e){Ce[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends se{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'}.BottomGame{padding-left:60px;padding-right:60px;padding-bottom:15px;min-height:85px;background-color:#14143B;display:flex;justify-content:space-between;align-items:center}.DepositButton,.PlayNowButton{border:none;width:129px;height:60px;background-color:#28A745;color:white;border-radius:2px;cursor:pointer}.PlayNowButton{background-color:#D0046C}.GameThumbnail{border-radius:2px;width:270px;height:180px}.FullscreenButton{border-radius:2px;border:none;width:60px;height:60px;background-color:#D0046C;float:right;margin-top:20px}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:#fff;font-size:26px}.ButtonsContainer{width:275px;margin-top:20px;display:flex;flex-direction:row;justify-content:space-between}.RegisterButton{color:#ffffff;background-color:#D0046C;border-radius:2px;border:none;width:129px;height:60px}.LoginButton{color:#D0046C;background-color:#07072A;border-radius:2px;border:1px solid #D0046C;width:129px;height:60px}.FullWidthButton{color:#D0046C;background-color:#07072A;border-radius:2px;border:1px solid #D0046C;width:100%;height:60px;margin-top:20px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:60px;margin:20px 0 0 0;display:flex;align-items:center;justify-content:center}svg{fill:#ffffff}p{color:white}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:center}#IframeGame{width:100%;height:100%}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:47px;left:47px;cursor:pointer}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicText{display:flex;align-items:center}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection svg{fill:none}.PanicSection p{font-size:16px;color:#fff}.PanicSection .Button{border-radius:2px;border:1px solid #D0046C;background-color:#D0046C;width:240px;height:60px;color:#fff;cursor:pointer}</style>",oe(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Jo,Xo,n,{endpoint:29,datasource:30,lang:31,session:32,userid:33,clientstyling:34,clientstylingurl:35,favorites:0,loginurl:36,registerurl:37,depositurl:38,loginevent:39,registerevent:40,depositevent:41,clockformat:42,haspanicbutton:1},[-1,-1,-1]),e&&(e.target&&Y(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$set({datasource:e}),R()}get lang(){return this.$$.ctx[31]}set lang(e){this.$set({lang:e}),R()}get session(){return this.$$.ctx[32]}set session(e){this.$set({session:e}),R()}get userid(){return this.$$.ctx[33]}set userid(e){this.$set({userid:e}),R()}get clientstyling(){return this.$$.ctx[34]}set clientstyling(e){this.$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[35]}set clientstylingurl(e){this.$set({clientstylingurl:e}),R()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$set({favorites:e}),R()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$set({loginurl:e}),R()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$set({registerurl:e}),R()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$set({depositurl:e}),R()}get loginevent(){return this.$$.ctx[39]}set loginevent(e){this.$set({loginevent:e}),R()}get registerevent(){return this.$$.ctx[40]}set registerevent(e){this.$set({registerevent:e}),R()}get depositevent(){return this.$$.ctx[41]}set depositevent(e){this.$set({depositevent:e}),R()}get clockformat(){return this.$$.ctx[42]}set clockformat(e){this.$set({clockformat:e}),R()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$set({haspanicbutton:e}),R()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends se{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}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:10;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid #FD2839;border-radius:5px;position:relative;background:#fff}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:#FD2839;background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>",oe(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},es,Qo,n,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12}),e&&(e.target&&Y(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$set({show:e}),R()}get duration(){return this.$$.ctx[1]}set duration(e){this.$set({duration:e}),R()}get session(){return this.$$.ctx[8]}set session(e){this.$set({session:e}),R()}get userid(){return this.$$.ctx[9]}set userid(e){this.$set({userid:e}),R()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$set({clientstylingurl:e}),R()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$set({endpoint:e}),R()}});const ts={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement ...",filterModalTitle:"Filtrer par",filterModalSubtitle:"Vous pouvez sélectionner plusieurs fournisseurs",filterClear:"Eclaircir",filterApply:"Appliquer"}},es:{filters:{loading:"Cargando ...",filterModalTitle:"Filtrado por",filterModalSubtitle:"Puede seleccionar varios proveedores",filterClear:"Despejar",filterApply:"Solicitar"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"A carregar",filterModalTitle:"Filtrar",filterModalSubtitle:"Escolha múltipla possível",filterClear:"Limpar filtro",filterApply:"Feito"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function ns(e,t,n){const r=e.slice();return r[32]=t[n],r}function rs(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S,x=n[6]("filters.filterModalTitle")+"",_=n[6]("filters.filterModalSubtitle")+"",C=n[6]("filters.filterApply")+"",M=n[0]&&os(n),k=n[3]&&ls(n);return{c(){r=z("div"),i=z("section"),o=z("div"),s=z("h4"),a=t(x),l=W(),c=z("h5"),u=t(_),d=W(),h=z("section"),M&&M.c(),p=W(),f=z("section"),k&&k.c(),g=W(),m=z("div"),y=t(C),Z(s,"class","FilterHeaderTitle"),Z(c,"class","FilterHeaderSubtitle"),Z(o,"class","FilterHeaderDetails"),Z(i,"class","FilterHeaderSection"),Z(h,"class","FilterContentSection"),Z(m,"class",w="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),Z(f,"class","FilterFooterSection"),Z(r,"class",v="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){Y(e,r,t),H(r,i),H(i,o),H(o,s),H(s,a),H(o,l),H(o,c),H(c,u),H(r,d),H(r,h),M&&M.m(h,null),H(r,p),H(r,f),k&&k.m(f,null),H(f,g),H(f,m),H(m,y),b||(S=V(m,"click",n[19]),b=!0)},p(e,t){64&t[0]&&x!==(x=e[6]("filters.filterModalTitle")+"")&&q(a,x),64&t[0]&&_!==(_=e[6]("filters.filterModalSubtitle")+"")&&q(u,_),e[0]?M?M.p(e,t):(M=os(e),M.c(),M.m(h,null)):M&&(M.d(1),M=null),e[3]?k?k.p(e,t):(k=ls(e),k.c(),k.m(f,g)):k&&(k.d(1),k=null),64&t[0]&&C!==(C=e[6]("filters.filterApply")+"")&&q(y,C),4&t[0]&&w!==(w="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&Z(m,"class",w),2&t[0]&&v!==(v="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&Z(r,"class",v)},d(e){e&&j(r),M&&M.d(),k&&k.d(),b=!1,S()}}}function is(e){let n;return{c(){n=z("div"),Z(n,"class","lds-dual-ring")},m(e,t){Y(e,n,t)},p:U,d(e){e&&j(n)}}}function os(t){let i,o=t[0],s=[];for(let e=0;e<o.length;e+=1)s[e]=as(ns(t,o,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();i=p()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);Y(t,i,n)},p(t,n){if(129&n[0]){let e;for(o=t[0],e=0;e<o.length;e+=1){var r=ns(t,o,e);s[e]?s[e].p(r,n):(s[e]=as(r),s[e].c(),s[e].m(i.parentNode,i))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){c(s,e),e&&j(i)}}}function ss(){let n;return{c(){n=z("div"),n.innerHTML='<div class="CheckMark"></div>',Z(n,"class","FilterIconContainer")},m(e,t){Y(e,n,t)},d(e){e&&j(n)}}}function as(n){let r,i,o,s,a,l,c,u,d,h=n[32].isFilterSelected&&ss();function p(){return n[17](n[32])}return{c(){r=z("div"),i=z("img"),a=W(),h&&h.c(),l=W(),Z(i,"class","VendorImage"),i.src!==(o=n[32].image)&&Z(i,"src",o),Z(i,"alt",s=n[32].name),Z(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){Y(e,r,t),H(r,i),H(r,a),h&&h.m(r,null),H(r,l),u||(d=V(r,"click",p),u=!0)},p(e,t){n=e,1&t[0]&&i.src!==(o=n[32].image)&&Z(i,"src",o),1&t[0]&&s!==(s=n[32].name)&&Z(i,"alt",s),n[32].isFilterSelected?h||(h=ss(),h.c(),h.m(r,l)):h&&(h.d(1),h=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&Z(r,"class",c)},d(e){e&&j(r),h&&h.d(),u=!1,d()}}}function ls(e){let n,r=e[3].length&&cs(e);return{c(){r&&r.c(),n=p()},m(e,t){r&&r.m(e,t),Y(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):(r=cs(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&j(n)}}}function cs(n){let r,i,o,s,a=n[6]("filters.filterClear")+"";return{c(){r=z("div"),i=t(a),Z(r,"class","ClearFiltersButton")},m(e,t){Y(e,r,t),H(r,i),o||(s=V(r,"click",n[18]),o=!0)},p(e,t){64&t[0]&&a!==(a=e[6]("filters.filterClear")+"")&&q(i,a)},d(e){e&&j(r),o=!1,s()}}}function us(n){let r;function i(e){return e[4]?is:rs}let o=i(n),s=o(n);return{c(){r=z("div"),s.c(),this.c=U},m(e,t){Y(e,r,t),s.m(r,null),n[20](r)},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)))},i:U,o:U,d(e){e&&j(r),s.d(),n[20](null)}}}function ds(e,t,r){let n;xe(e,Ar,e=>r(6,n=e));let i,{endpoint:o=""}=t,{datasource:s=""}=t,{lang:a=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,h=[],p=!1,f=window.navigator.userAgent,g=!1,m="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),w=[],v={},b=!1;v[m]&&(v={[m]:[]});let S=[];Object.keys(ts).forEach(e=>{pr(e,ts[e])});const x=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(m&&(y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),y&&r(3,w=y[m])),!w){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[m]:w})):(e=JSON.parse(e),e[m]=w,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}_(`${o}/casino/vendors?filter=games(groups=${m})&datasource=${s}`);let e=w;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),S=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),r(3,w=S),r(2,g=!1);break;case"AvailableVendors":r(0,h=t.data.venArray),r(3,w=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":r(0,h=t.data.venArray),h&&r(3,w=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":k(),window.postMessage({type:"ApplyFilters"},window.location.href),r(2,g=!1);break;case"ModalClosed":h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":m=t.data.categoryid,y&&m&&r(3,w=y[m]);break;case"ModalLoader":r(4,b=!1)}},_=e=>new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},m&&t[m]&&(e.isFilterSelected=0<=t[m].indexOf(e.id))}),r(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})}),C=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(w.push(t.id),r(2,g=!M(w,S))):(w.includes(t.id)&&r(3,w=w.filter(e=>e!==t.id)),r(2,g=!(!w.length&&M(w,S)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},M=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},k=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),r(2,g=M(w,S)),r(3,w=[]),null!==e&&(e=JSON.parse(e),e[m]=w,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},E=()=>{r(4,b=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[m]:w})):(e=JSON.parse(e),e[m]=w,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return _e(()=>(window.addEventListener("message",x,!1),Dr(f)&&r(1,p=!0),()=>{window.removeEventListener("message",x)})),e.$$set=e=>{"endpoint"in e&&r(10,o=e.endpoint),"datasource"in e&&r(11,s=e.datasource),"lang"in e&&r(12,a=e.lang),"session"in e&&r(13,l=e.session),"userid"in e&&r(14,c=e.userid),"clientstyling"in e&&r(15,u=e.clientstyling),"clientstylingurl"in e&&r(16,d=e.clientstylingurl)},e.$$.update=()=>{32768&e.$$.dirty[0]&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,i.appendChild(e)})(),65536&e.$$.dirty[0]&&d&&(()=>{let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,i&&setTimeout(()=>{i.appendChild(t)},1)})})()},[h,p,g,w,b,i,n,C,k,E,o,s,a,l,c,u,d,e=>C(e),()=>k(),()=>E(),function(e){Ce[e?"unshift":"push"](()=>{i=e,r(5,i)})}]}function hs(e){let n,r,i,o,s,a,l,c,u,d,h,p,f,g,m;return{c(){n=z("div"),r=z("div"),i=z("div"),o=W(),s=z("div"),a=W(),l=z("casino-categories-slider"),c=W(),u=z("casino-page"),d=W(),h=z("casino-modal"),p=z("casino-game-page"),f=W(),g=z("casino-filter-modal"),m=z("casino-filter-page"),Z(i,"class","HeaderPlaceholder"),E(i,"height",e[18]+"px"),Z(s,"class","ScrollTop"),x(l,"endpoint",e[12]),x(l,"datasource",e[13]),x(l,"lang",e[14]),x(l,"session",e[0]),x(l,"userid",e[1]),x(l,"mostplayed",e[20]),x(l,"favorites",e[21]),x(l,"clientstyling",e[2]),x(l,"clientstylingurl",e[3]),x(l,"containermaxwidth",e[10]),x(u,"session",e[0]),x(u,"userid",e[1]),x(u,"endpoint",e[12]),x(u,"datasource",e[13]),x(u,"lang",e[14]),x(u,"visiblegames","10"),x(u,"alternativesearch",e[9]),x(u,"favorites",e[21]),x(u,"mostplayed",e[20]),x(u,"clientstyling",e[2]),x(u,"clientstylingurl",e[3]),x(u,"lobbyid",e[5]),x(u,"containermaxwidth",e[10]),x(u,"haspanicbutton",e[11]),x(p,"session",e[0]),x(p,"userid",e[1]),x(p,"endpoint",e[12]),x(p,"datasource",e[13]),x(p,"lang",e[14]),x(p,"loginevent",e[6]),x(p,"favorites",e[21]),x(p,"registerevent",e[7]),x(p,"depositevent",e[8]),x(p,"clientstyling",e[2]),x(p,"clientstylingurl",e[3]),x(p,"clockformat",e[4]),x(p,"haspanicbutton",e[11]),x(h,"session",e[0]),x(h,"userid",e[1]),x(h,"endpoint",e[12]),x(h,"datasource",e[13]),x(h,"lang",e[14]),x(h,"clientstyling",e[2]),x(h,"clientstylingurl",e[3]),x(m,"session",e[0]),x(m,"userid",e[1]),x(m,"endpoint",e[12]),x(m,"datasource",e[13]),x(m,"lang",e[14]),x(m,"clientstylingurl",e[3]),x(m,"clientstyling",e[2]),x(g,"clientstylingurl",e[3]),x(g,"session",e[0]),x(g,"userid",e[1]),x(g,"endpoint",e[12]),x(g,"datasource",e[13]),x(g,"lang",e[14]),x(g,"clientstyling",e[2]),Z(r,"class","WidgetsSection"),Z(n,"class","CasinoLobby")},m(e,t){Y(e,n,t),H(n,r),H(r,i),H(r,o),H(r,s),H(r,a),H(r,l),H(r,c),H(r,u),H(r,d),H(r,h),H(h,p),H(r,f),H(r,g),H(g,m)},p(e,t){262144&t[0]&&E(i,"height",e[18]+"px"),4096&t[0]&&x(l,"endpoint",e[12]),8192&t[0]&&x(l,"datasource",e[13]),16384&t[0]&&x(l,"lang",e[14]),1&t[0]&&x(l,"session",e[0]),2&t[0]&&x(l,"userid",e[1]),1048576&t[0]&&x(l,"mostplayed",e[20]),2097152&t[0]&&x(l,"favorites",e[21]),4&t[0]&&x(l,"clientstyling",e[2]),8&t[0]&&x(l,"clientstylingurl",e[3]),1024&t[0]&&x(l,"containermaxwidth",e[10]),1&t[0]&&x(u,"session",e[0]),2&t[0]&&x(u,"userid",e[1]),4096&t[0]&&x(u,"endpoint",e[12]),8192&t[0]&&x(u,"datasource",e[13]),16384&t[0]&&x(u,"lang",e[14]),512&t[0]&&x(u,"alternativesearch",e[9]),2097152&t[0]&&x(u,"favorites",e[21]),1048576&t[0]&&x(u,"mostplayed",e[20]),4&t[0]&&x(u,"clientstyling",e[2]),8&t[0]&&x(u,"clientstylingurl",e[3]),32&t[0]&&x(u,"lobbyid",e[5]),1024&t[0]&&x(u,"containermaxwidth",e[10]),2048&t[0]&&x(u,"haspanicbutton",e[11]),1&t[0]&&x(p,"session",e[0]),2&t[0]&&x(p,"userid",e[1]),4096&t[0]&&x(p,"endpoint",e[12]),8192&t[0]&&x(p,"datasource",e[13]),16384&t[0]&&x(p,"lang",e[14]),64&t[0]&&x(p,"loginevent",e[6]),2097152&t[0]&&x(p,"favorites",e[21]),128&t[0]&&x(p,"registerevent",e[7]),256&t[0]&&x(p,"depositevent",e[8]),4&t[0]&&x(p,"clientstyling",e[2]),8&t[0]&&x(p,"clientstylingurl",e[3]),16&t[0]&&x(p,"clockformat",e[4]),2048&t[0]&&x(p,"haspanicbutton",e[11]),1&t[0]&&x(h,"session",e[0]),2&t[0]&&x(h,"userid",e[1]),4096&t[0]&&x(h,"endpoint",e[12]),8192&t[0]&&x(h,"datasource",e[13]),16384&t[0]&&x(h,"lang",e[14]),4&t[0]&&x(h,"clientstyling",e[2]),8&t[0]&&x(h,"clientstylingurl",e[3]),1&t[0]&&x(m,"session",e[0]),2&t[0]&&x(m,"userid",e[1]),4096&t[0]&&x(m,"endpoint",e[12]),8192&t[0]&&x(m,"datasource",e[13]),16384&t[0]&&x(m,"lang",e[14]),8&t[0]&&x(m,"clientstylingurl",e[3]),4&t[0]&&x(m,"clientstyling",e[2]),8&t[0]&&x(g,"clientstylingurl",e[3]),1&t[0]&&x(g,"session",e[0]),2&t[0]&&x(g,"userid",e[1]),4096&t[0]&&x(g,"endpoint",e[12]),8192&t[0]&&x(g,"datasource",e[13]),16384&t[0]&&x(g,"lang",e[14]),4&t[0]&&x(g,"clientstyling",e[2])},d(e){e&&j(n)}}}function ps(e){let n,r;return{c(){n=z("p"),r=t(e[17]),E(n,"color","#fff")},m(e,t){Y(e,n,t),H(n,r)},p(e,t){131072&t[0]&&q(r,e[17])},d(e){e&&j(n)}}}function fs(n){let r,i;function o(e){return e[16]?ps:hs}let s=o(n),a=s(n);return{c(){r=z("div"),a.c(),this.c=U,Z(r,"class",i=n[15]?"DisplayNone":"")},m(e,t){Y(e,r,t),a.m(r,null),n[33](r)},p(e,t){s===(s=o(e))&&a?a.p(e,t):(a.d(1),a=s(e),a&&(a.c(),a.m(r,null))),32768&t[0]&&i!==(i=e[15]?"DisplayNone":"")&&Z(r,"class",i)},i:U,o:U,d(e){e&&j(r),a.d(),n[33](null)}}}function gs(t,e,n){let r,i,o,s,{endpoint:a=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{session:u=""}=e,{userid:d=""}=e,{opsession:h=""}=e,{clientstyling:p=""}=e,{clientstylingurl:f=""}=e,{clockformat:g=""}=e,{lobbyid:m}=e,{loginurl:y=""}=e,{registerurl:w=""}=e,{depositurl:v=""}=e,{loginevent:b=""}=e,{registerevent:S=""}=e,{depositevent:x=""}=e,{mostplayed:_=""}=e,{favorites:C=""}=e,{desktopoffset:M="0"}=e,{mobileoffset:k="0"}=e,{alternativesearch:E="false"}=e,{containermaxwidth:T=""}=e,{haspanicbutton:$="false"}=e,P=!1,F=!1,I="Loading, please wait ...",A=window.navigator.userAgent,D=0,O;var L,R;[{withLocale:L,translations:R}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(dr.set(R),_r.set(L))});const N=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":O=e.data.scrollTop,O&&(D?window.scrollTo({top:D}):(void 0).scrollIntoView());break;case"UserSessionID":e.data.session,e.data.userID}};let G,U;return _e(()=>(window.addEventListener("message",N,!1),n(18,D="PC"===Or(A)?M:k),()=>{window.removeEventListener("message",N)})),t.$$set=e=>{"endpoint"in e&&n(22,a=e.endpoint),"datasource"in e&&n(23,l=e.datasource),"lang"in e&&n(24,c=e.lang),"session"in e&&n(0,u=e.session),"userid"in e&&n(1,d=e.userid),"opsession"in e&&n(25,h=e.opsession),"clientstyling"in e&&n(2,p=e.clientstyling),"clientstylingurl"in e&&n(3,f=e.clientstylingurl),"clockformat"in e&&n(4,g=e.clockformat),"lobbyid"in e&&n(5,m=e.lobbyid),"loginurl"in e&&n(26,y=e.loginurl),"registerurl"in e&&n(27,w=e.registerurl),"depositurl"in e&&n(28,v=e.depositurl),"loginevent"in e&&n(6,b=e.loginevent),"registerevent"in e&&n(7,S=e.registerevent),"depositevent"in e&&n(8,x=e.depositevent),"mostplayed"in e&&n(29,_=e.mostplayed),"favorites"in e&&n(30,C=e.favorites),"desktopoffset"in e&&n(31,M=e.desktopoffset),"mobileoffset"in e&&n(32,k=e.mobileoffset),"alternativesearch"in e&&n(9,E=e.alternativesearch),"containermaxwidth"in e&&n(10,T=e.containermaxwidth),"haspanicbutton"in e&&n(11,$=e.haspanicbutton)},t.$$.update=()=>{var e;4194307&t.$$.dirty[0]&&u&&d&&a&&Lr(a,u).then(e=>{e.Guid,e.UserID},e=>{console.error("Error while checking the session - ",e)}),1639972864&t.$$.dirty[0]&&a&&l&&c&&_&&C&&(a||(n(17,I="Endpoint is missing! Please provide a valid endpointURL."),n(16,F=!0),console.error(I)),l||(n(17,I="Datasource is missing! Please provide a valid datasource."),n(16,F=!0),console.error(I)),c&&2==c.length||(n(17,I="Language is missing! Please provide a valid language (alpha2code)"),n(16,F=!0),console.error(I)),e=c,_r.set(e),n(12,r=a),n(13,i=l),n(14,o=c),n(20,G=_),n(21,U=C),n(16,F=!1)),t.$$.dirty[0],4&t.$$.dirty[0]&&p&&(()=>{let e=document.createElement("style");e.innerHTML=p,s.appendChild(e)})(),8&t.$$.dirty[0]&&f&&(()=>{n(15,P=!0);let t=document.createElement("style");fetch(new URL(f)).then(e=>e.text()).then(e=>{t.innerHTML=e,s&&(setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{n(15,P=!1)},500))})})()},[u,d,p,f,g,m,b,S,x,E,T,$,r,i,o,P,F,I,D,s,G,U,a,l,c,h,y,w,v,_,C,M,k,function(e){Ce[e?"unshift":"push"](()=>{s=e,n(19,s)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends se{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'}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:30px}.VendorBox{width:230px;height:125px;border:1px solid #E6E6E6;border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid #D0046C}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:#D0046C}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid #fff;border-right:2px solid #fff;display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid #D0046C;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid #F9A8D4}.FilterFooterSection .ClearFiltersButton{background:#fff;color:#D0046C}.FilterFooterSection .ApplyFiltersButton{background:#D0046C;color:#fff}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:#E6E6E6;border:1px solid #E6E6E6;pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid #E6E6E6}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:#707070}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid #fff;border-right:1px solid #fff;top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid #D0046C;border-color:#D0046C transparent #D0046C transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",oe(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ds,us,n,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},[-1,-1]),e&&(e.target&&Y(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$set({datasource:e}),R()}get lang(){return this.$$.ctx[12]}set lang(e){this.$set({lang:e}),R()}get session(){return this.$$.ctx[13]}set session(e){this.$set({session:e}),R()}get userid(){return this.$$.ctx[14]}set userid(e){this.$set({userid:e}),R()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$set({clientstylingurl:e}),R()}});class ms extends se{constructor(e){super(),this.shadowRoot.innerHTML="<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoLobby{background-color:#07072A;width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>",oe(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},gs,fs,n,{endpoint:22,datasource:23,lang:24,session:0,userid:1,opsession:25,clientstyling:2,clientstylingurl:3,clockformat:4,lobbyid:5,loginurl:26,registerurl:27,depositurl:28,loginevent:6,registerevent:7,depositevent:8,mostplayed:29,favorites:30,desktopoffset:31,mobileoffset:32,alternativesearch:9,containermaxwidth:10,haspanicbutton:11},[-1,-1]),e&&(e.target&&Y(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[23]}set datasource(e){this.$set({datasource:e}),R()}get lang(){return this.$$.ctx[24]}set lang(e){this.$set({lang:e}),R()}get session(){return this.$$.ctx[0]}set session(e){this.$set({session:e}),R()}get userid(){return this.$$.ctx[1]}set userid(e){this.$set({userid:e}),R()}get opsession(){return this.$$.ctx[25]}set opsession(e){this.$set({opsession:e}),R()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$set({clientstylingurl:e}),R()}get clockformat(){return this.$$.ctx[4]}set clockformat(e){this.$set({clockformat:e}),R()}get lobbyid(){return this.$$.ctx[5]}set lobbyid(e){this.$set({lobbyid:e}),R()}get loginurl(){return this.$$.ctx[26]}set loginurl(e){this.$set({loginurl:e}),R()}get registerurl(){return this.$$.ctx[27]}set registerurl(e){this.$set({registerurl:e}),R()}get depositurl(){return this.$$.ctx[28]}set depositurl(e){this.$set({depositurl:e}),R()}get loginevent(){return this.$$.ctx[6]}set loginevent(e){this.$set({loginevent:e}),R()}get registerevent(){return this.$$.ctx[7]}set registerevent(e){this.$set({registerevent:e}),R()}get depositevent(){return this.$$.ctx[8]}set depositevent(e){this.$set({depositevent:e}),R()}get mostplayed(){return this.$$.ctx[29]}set mostplayed(e){this.$set({mostplayed:e}),R()}get favorites(){return this.$$.ctx[30]}set favorites(e){this.$set({favorites:e}),R()}get desktopoffset(){return this.$$.ctx[31]}set desktopoffset(e){this.$set({desktopoffset:e}),R()}get mobileoffset(){return this.$$.ctx[32]}set mobileoffset(e){this.$set({mobileoffset:e}),R()}get alternativesearch(){return this.$$.ctx[9]}set alternativesearch(e){this.$set({alternativesearch:e}),R()}get containermaxwidth(){return this.$$.ctx[10]}set containermaxwidth(e){this.$set({containermaxwidth:e}),R()}get haspanicbutton(){return this.$$.ctx[11]}set haspanicbutton(e){this.$set({haspanicbutton:e}),R()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",ms),ms});
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 U(){}const g=e=>e;function d(e){return e()}function h(){return Object.create(null)}function B(e){e.forEach(d)}function m(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let n;function H(e,t){return n=n||document.createElement("a"),n.href=t,e===n.href}function p(e,...t){if(null==e)return U;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function we(e,t,n){e.$$.on_destroy.push(p(t,n))}function l(e){return e&&m(e.destroy)?e.destroy:U}var e="undefined"!=typeof window;let y=e?()=>window.performance.now():()=>Date.now(),w=e?e=>requestAnimationFrame(e):U;const v=new Set;function b(t){v.forEach(e=>{e.c(t)||(v.delete(e),e.f())}),0!==v.size&&w(b)}function Y(e,t){e.appendChild(t)}function S(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function j(e,t,n){e.insertBefore(t,n||null)}function z(e){e.parentNode.removeChild(e)}function c(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function W(e){return document.createElement(e)}function x(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function V(e){return document.createTextNode(e)}function Z(){return V(" ")}function u(){return V("")}function q(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function X(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function _(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:X(e,t,n)}function J(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function C(e,t){e.value=null==t?"":t}function E(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}let o;function f(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=W("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const r=function(){if(void 0===o){o=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){o=!0}}return o}();let i;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=q(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=q(n.contentWindow,"resize",t)}),Y(e,n),()=>{(r||i&&n.contentWindow)&&i(),z(n)}}function $(e,t,n){e.classList[n?"add":"remove"](t)}function r(e){const t={};for(const n of e)t[n.name]=n.value;return t}const M=new Set;let k,T=0;function P(e,t,n,r,i,o,s,a=0){var l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*o(e);c+=100*e+`%{${s(r,1-r)}}
2
+ `}const u=c+`100% {${s(n,1-n)}}
3
+ }`,d=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+a,h=S(e);M.add(h);const p=h.__svelte_stylesheet||(h.__svelte_stylesheet=(a=e,g=W("style"),Y((a=S(a)).head||a,g),g.sheet)),f=h.__svelte_rules||(h.__svelte_rules={});f[d]||(f[d]=!0,p.insertRule(`@keyframes ${d} `+u,p.cssRules.length));var g=e.style.animation||"";return e.style.animation=(g?g+", ":"")+d+` ${r}ms linear ${i}ms 1 both`,T+=1,d}function F(e){k=e}function ve(e){!function(){if(!k)throw new Error("Function called outside component initialization");return k}().$$.on_mount.push(e)}const I=[],be=[],i=[],s=[],a=Promise.resolve();let A=!1;function D(){A||(A=!0,a.then(G))}function L(e){i.push(e)}const O=new Set;let R,N=0;function G(){const e=k;do{for(;N<I.length;){const e=I[N];N++,F(e),function(e){{var t;null!==e.fragment&&(e.update(),B(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(L))}}(e.$$)}for(F(null),I.length=0,N=0;be.length;)be.pop()();for(let e=0;e<i.length;e+=1){const t=i[e];O.has(t)||(O.add(t),t())}}while(i.length=0,I.length);for(;s.length;)s.pop()();A=!1,O.clear(),F(e)}function K(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}((t?"intro":"outro")+n))}const Q=new Set;let ee;function te(){ee={r:0,c:[],p:ee}}function ne(){ee.r||B(ee.c),ee=ee.p}function re(e,t){e&&e.i&&(Q.delete(e),e.i(t))}function ie(e,t,n,r){e&&e.o&&(Q.has(e)||(Q.add(e),ee.c.push(()=>{Q.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const oe={duration:0};function se(a,e,t,n){let l=e(a,t),c=n?0:1,u=null,d=null,h=null;function p(){h&&function(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),i=n.length-r.length;i&&(e.style.animation=r.join(", "),T-=i,T||w(()=>{T||(M.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),M.clear())}))}(a,h)}function f(e,t){var n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:r=g,tick:i=U,css:o}=l||oe,s={start:y()+t,b:e};e||(s.group=ee,ee.r+=1),u||d?d=s:(o&&(p(),h=P(a,c,e,n,t,r,o)),e&&i(0,1),u=f(s,n),L(()=>K(a,e,"start")),function(t){let n;0===v.size&&w(b),new Promise(e=>{v.add(n={c:t,f:e})})}(e=>{return d&&e>d.start&&(u=f(d,n),d=null,K(a,u.b,"start"),o&&(p(),h=P(a,c,u.b,u.duration,0,r,l.css))),u&&(e>=u.end?(i(c=u.b,1-c),K(a,u.b,"end"),d||(u.b?p():--u.group.r||B(u.group.c)),u=null):e>=u.start&&(e=e-u.start,c=u.a+u.d*r(e/u.duration),i(c,1-c))),!(!u&&!d)}))}return{run(e){m(l)?(R||(R=Promise.resolve(),R.then(()=>{R=null})),R.then(()=>{l=l(),r(e)})):r(e)},end(){p(),u=d=null}}}function ae(e,t){e.d(1),t.delete(e.key)}function le(r,e,t,n,i,o,s,a=[-1]){var l=k;F(r);const c=r.$$={fragment:null,ctx:null,props:o,update:U,not_equal:i,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:h(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};s&&s(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var 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]&&(I.push(e),D(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,B(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){const U=(n=e.target,Array.from(n.childNodes));c.fragment&&c.fragment.l(U),U.forEach(z)}else c.fragment&&c.fragment.c();e.intro&&re(r.$$.fragment),function(t,e,n,r){const{fragment:i,on_mount:o,on_destroy:s,after_update:a}=t.$$;i&&i.m(e,n),r||L(()=>{var e=o.map(d).filter(m);s?s.push(...e):B(e),t.$$.on_mount=[]}),a.forEach(L)}(r,e.target,e.anchor,e.customElement),G()}F(l)}let ce;"function"==typeof HTMLElement&&(ce=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];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(){B(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(B(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=U}$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 ue,de,he="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==he&&he,pe="URLSearchParams"in he,fe="Symbol"in he&&"iterator"in Symbol,ge="FileReader"in he&&"Blob"in he&&function(){try{return new Blob,!0}catch(e){return!1}}(),me="FormData"in he,ye="ArrayBuffer"in he;function Se(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 xe(e){return e="string"!=typeof e?String(e):e}function _e(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return fe&&(e[Symbol.iterator]=function(){return e}),e}function Ce(t){this.map={},t instanceof Ce?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 Me(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ke(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Ee(e){var t=new FileReader,n=ke(t);return t.readAsArrayBuffer(e),n}function $e(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Te(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ge&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:me&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:pe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ye&&ge&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=$e(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ye&&(ArrayBuffer.prototype.isPrototypeOf(e)||de(e))?this._bodyArrayBuffer=$e(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):pe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ge&&(this.blob=function(){var e=Me(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?Me(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(Ee)}),this.text=function(){var e,t,n=Me(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ke(t),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)},me&&(this.formData=function(){return this.text().then(Ie)}),this.json=function(){return this.text().then(JSON.parse)},this}ye&&(ue=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],de=ArrayBuffer.isView||function(e){return e&&-1<ue.indexOf(Object.prototype.toString.call(e))}),Ce.prototype.append=function(e,t){e=Se(e),t=xe(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},Ce.prototype.delete=function(e){delete this.map[Se(e)]},Ce.prototype.get=function(e){return e=Se(e),this.has(e)?this.map[e]:null},Ce.prototype.has=function(e){return this.map.hasOwnProperty(Se(e))},Ce.prototype.set=function(e,t){this.map[Se(e)]=xe(t)},Ce.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},Ce.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),_e(n)},Ce.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),_e(t)},Ce.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),_e(n)},fe&&(Ce.prototype[Symbol.iterator]=Ce.prototype.entries);var Pe=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Fe(e,t){if(!(this instanceof Fe))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 Fe){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Ce(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 Ce(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<Pe.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 Ae(e,t){if(!(this instanceof Ae))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 Ce(t.headers),this.url=t.url||"",this._initBody(e)}Fe.prototype.clone=function(){return new Fe(this,{body:this._bodyInit})},Te.call(Fe.prototype),Te.call(Ae.prototype),Ae.prototype.clone=function(){return new Ae(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Ce(this.headers),url:this.url})},Ae.error=function(){var e=new Ae(null,{status:0,statusText:""});return e.type="error",e};var De=[301,302,303,307,308];Ae.redirect=function(e,t){if(-1===De.indexOf(t))throw new RangeError("Invalid status code");return new Ae(null,{status:t,headers:{location:e}})};var Le=he.DOMException;try{new Le}catch(U){(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 Oe(r,s){return new Promise(function(i,e){var t=new Fe(r,s);if(t.signal&&t.signal.aborted)return e(new Le("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var e,n,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",n=new Ce,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 o?o.responseURL:t.headers.get("X-Request-URL");var r="response"in o?o.response:o.responseText;setTimeout(function(){i(new Ae(r,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new Le("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&he.location.href?he.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(ge?o.responseType="blob":ye&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof Ce?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){o.setRequestHeader(e,xe(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",n)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}function Fn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Oe.polyfill=!0,he.fetch||(he.fetch=Oe,he.Headers=Ce,he.Request=Fe,he.Response=Ae);var Re=self.fetch.bind(self),Ne=function(e,t){return(Ne=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 Ge(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}Ne(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ue(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 Be(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function He(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function Ye(e){return"function"==typeof e}function je(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 ze=je(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 Ve=(qe.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Ue(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(Ye(o))try{o()}catch(e){i=e instanceof ze?e.errors:[e]}o=this._teardowns;if(o){this._teardowns=null;try{for(var l=Ue(o),c=l.next();!c.done;c=l.next()){var u=c.value;try{Je(u)}catch(e){i=null!=i?i:[],e instanceof ze?i=He(He([],Be(i)),Be(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 ze(i)}},qe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Je(e);else{if(e instanceof qe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},qe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},qe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},qe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&We(t,e)},qe.prototype.remove=function(e){var t=this._teardowns;t&&We(t,e),e instanceof qe&&e._removeParent(this)},qe.EMPTY=((Sn=new qe).closed=!0,Sn),qe),Ze=Ve.EMPTY;function qe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Xe(e){return e instanceof Ve||e&&"closed"in e&&Ye(e.remove)&&Ye(e.add)&&Ye(e.unsubscribe)}function Je(e){Ye(e)?e():e.unsubscribe()}var Ke=void 0,Qe=!1,et=!1,tt={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=tt.delegate;return((null==n?void 0:n.setTimeout)||setTimeout).apply(void 0,He([],Be(e)))},clearTimeout:function(e){var t=tt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function nt(){}var rt=null;function it(e){if(Qe){var t=!rt;if(t&&(rt={errorThrown:!1,error:null}),e(),t){var n=rt,t=n.errorThrown,n=n.error;if(rt=null,t)throw n}}else e()}var ot,st,at=(Ge(ut,st=Ve),ut.create=function(e,t,n){return new lt(e,t,n)},ut.prototype.next=function(e){this.isStopped||this._next(e)},ut.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},ut.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},ut.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,st.prototype.unsubscribe.call(this),this.destination=null)},ut.prototype._next=function(e){this.destination.next(e)},ut.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},ut.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},ut),lt=(Ge(ct,ot=at),ct);function ct(e,t,n){var r,i,o=ot.call(this)||this;return Ye(e)?i=e:e&&(i=e.next,t=e.error,n=e.complete,o&&et?(r=Object.create(e)).unsubscribe=function(){return o.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)),o.destination={next:i?dt(i):nt,error:dt(null!=t?t:ht),complete:n?dt(n):nt},o}function ut(e){var t=st.call(this)||this;return t.isStopped=!1,e?Xe(t.destination=e)&&e.add(t):t.destination=pt,t}function dt(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,He([],Be(e)))}catch(e){t=e,tt.setTimeout(function(){throw t})}}}function ht(e){throw e}var pt={closed:!0,next:nt,error:ht,complete:nt},ft="function"==typeof Symbol&&Symbol.observable||"@@observable";function gt(e){return e}var mt=(yt.prototype.lift=function(e){var t=new yt;return t.source=this,t.operator=e,t},yt.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof at||r&&Ye(r.next)&&Ye(r.error)&&Ye(r.complete)&&Xe(r)?e:new lt(e,t,n);return it(function(){var e=i.operator,t=i.source;o.add(e?e.call(o,t):t?i._subscribe(o):i._trySubscribe(o))}),o},yt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},yt.prototype.forEach=function(r,e){var i=this;return new(e=wt(e))(function(e,t){var n=i.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},yt.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},yt.prototype[ft]=function(){return this},yt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?gt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},yt.prototype.toPromise=function(e){var r=this;return new(e=wt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},yt.create=function(e){return new yt(e)},yt);function yt(e){e&&(this._subscribe=e)}function wt(e){return null!==(e=null!=e?e:Ke)&&void 0!==e?e:Promise}var vt,bt,St,xt=je(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),_t=(Ge(Tt,St=mt),Tt.prototype.lift=function(e){var t=new Ct(this,this);return t.operator=e,t},Tt.prototype._throwIfClosed=function(){if(this.closed)throw new xt},Tt.prototype.next=function(o){var s=this;it(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var n=s.observers.slice();try{for(var r=Ue(n),i=r.next();!i.done;i=r.next())i.value.next(o)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},Tt.prototype.error=function(t){var n=this;it(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)}})},Tt.prototype.complete=function(){var t=this;it(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Tt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Tt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Tt.prototype._trySubscribe=function(e){return this._throwIfClosed(),St.prototype._trySubscribe.call(this,e)},Tt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Tt.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?Ze:(r.push(e),new Ve(function(){return We(r,e)}))},Tt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Tt.prototype.asObservable=function(){var e=new mt;return e.source=this,e},Tt.create=function(e,t){return new Ct(e,t)},Tt),Ct=(Ge($t,bt=_t),$t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},$t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},$t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},$t.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Ze},$t),Mt={now:function(){return(Mt.delegate||Date).now()},delegate:void 0},kt=(Ge(Et,vt=_t),Et.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(o.now()+t)),this._trimBuffer(),vt.prototype.next.call(this,e)},Et.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},Et.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 o=t.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},Et);function Et(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Mt);var r=vt.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 $t(e,t){var n=bt.call(this)||this;return n.destination=e,n.source=t,n}function Tt(){var e=St.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Pt=[],Ft={};const It=[];function At(r,i=U){let o;const s=new Set;function a(e){if(t(r,e)&&(r=e,o)){const e=!It.length;for(const e of s)e[1](),It.push(e,r);if(e){for(let e=0;e<It.length;e+=2)It[e][0](It[e+1]);It.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=U){const n=[e,t];return s.add(n),1===s.size&&(o=i(a)||U),e(r),()=>{s.delete(n),0===s.size&&(o(),o=null)}}}}function Dt(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:At(t,t=>{let n=!1;const r=[];let i=0,o=U;const s=()=>{var e;i||(o(),e=a(l?r[0]:r,t),u?t(e):o=m(e)?e:U)},e=c.map((e,t)=>p(e,e=>{r[t]=e,i&=~(1<<t),n&&s()},()=>{i|=1<<t}));return n=!0,s(),function(){B(e),o()}}).subscribe}}function Lt(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Ot));var t}var Ot="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Rt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ht(Array.isArray(e)?[]:{},e,t):e}function Nt(e,t,n){return e.concat(t).map(function(e){return Rt(e,n)})}function Gt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Ut(e,t){try{return t in e}catch(e){return!1}}function Bt(r,i,o){var s={};return o.isMergeableObject(r)&&Gt(r).forEach(function(e){s[e]=Rt(r[e],o)}),Gt(i).forEach(function(t){var e,n;(!Ut(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Ut(r,t)&&o.isMergeableObject(i[t])?s[t]=function(e){if(!e.customMerge)return Ht;e=e.customMerge(t);return"function"==typeof e?e:Ht}(o)(r[t],i[t],o):s[t]=Rt(i[t],o))}),s}function Ht(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Nt,n.isMergeableObject=n.isMergeableObject||Lt,n.cloneUnlessOtherwiseSpecified=Rt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Bt(e,t,n):Rt(t,n)}Ht.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Ht(e,t,n)},{})};var Yt=Ht,jt=function(e,t){return(jt=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 zt(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}jt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Wt,Vt,Zt,qt=function(){return(qt=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 Jt(e){return e.type===Vt.literal}function Kt(e){return e.type===Vt.number}function Qt(e){return e.type===Vt.date}function en(e){return e.type===Vt.time}function tn(e){return e.type===Vt.select}function nn(e){return e.type===Vt.plural}function rn(e){return e.type===Vt.tag}function on(e){return e&&"object"==typeof e&&e.type===Zt.number}function sn(e){return e&&"object"==typeof e&&e.type===Zt.dateTime}(xn=Wt=Wt||{})[xn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",xn[xn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",xn[xn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",xn[xn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",xn[xn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",xn[xn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",xn[xn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",xn[xn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",xn[xn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",xn[xn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",xn[xn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",xn[xn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",xn[xn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",xn[xn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",xn[xn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",xn[xn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",xn[xn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",xn[xn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",xn[xn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",xn[xn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",xn[xn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",xn[xn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",xn[xn.INVALID_TAG=23]="INVALID_TAG",xn[xn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",xn[xn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",xn[xn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(_n=Vt=Vt||{})[_n.literal=0]="literal",_n[_n.argument=1]="argument",_n[_n.number=2]="number",_n[_n.date=3]="date",_n[_n.time=4]="time",_n[_n.select=5]="select",_n[_n.plural=6]="plural",_n[_n.pound=7]="pound",_n[_n.tag=8]="tag",(Cn=Zt=Zt||{})[Cn.number=0]="number",Cn[Cn.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,an=/(?:[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 ln,cn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,un=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,dn=/^(@+)?(\+|#+)?$/g,hn=/(\*)(0+)|(#+)(0+)|(0+)/g,pn=/^(0+)$/;function fn(e){var r={};return e.replace(dn,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 gn(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 mn(e){return gn(e)||{}}function yn(e){for(var s={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=qt(qt(qt({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return qt(qt({},e),mn(t))},{}));continue;case"engineering":s=qt(qt(qt({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return qt(qt({},e),mn(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.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(hn,function(e,t,n,r,i,o){if(t)s.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(pn.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(un.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(un,function(e,t,n,r,i,o){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),i.options.length&&(s=qt(qt({},s),fn(i.options[0])))}else dn.test(i.stem)?s=qt(qt({},s),fn(i.stem)):((r=gn(i.stem))&&(s=qt(qt({},s),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)),!pn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=qt(qt({},s),r)))}return s}var wn=new RegExp("^"+e.source+"*"),vn=new RegExp(e.source+"*$");function bn(e,t){return{start:e,end:t}}var Sn=!!String.prototype.startsWith,ft=!!String.fromCodePoint,_t=!!Object.fromEntries,xn=!!String.prototype.codePointAt,_n=!!String.prototype.trimStart,Cn=!!String.prototype.trimEnd,Mn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(ln=Ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===ln?void 0:ln[0])}catch(U){e=!1}var kn,En,$n=Sn?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Tn=ft?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;o<i;){if(1114111<(n=e[o++]))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},Pn=_t?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],i=i[1];t[o]=i}return t},In=xn?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}},An=_n?function(e){return e.trimStart()}:function(e){return e.replace(wn,"")},Dn=Cn?function(e){return e.trimEnd()}:function(e){return e.replace(vn,"")};function Ln(e,t){return new RegExp(e,t)}En=e?(kn=Ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return kn.lastIndex=t,null!==(e=kn.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=In(e,t);if(void 0===i||Gn(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 Tn.apply(void 0,r)};var On=(Rn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Rn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Wt.UNMATCHED_CLOSING_TAG,bn(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Nn(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{o=this.clonePosition();this.bump(),r.push({type:Vt.pound,location:bn(o,this.clonePosition())})}}}return{val:r,err:null}},Rn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Vt.literal,value:"<"+r+"/>",location:bn(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()||!Nn(this.char()))return this.error(Wt.INVALID_TAG,bn(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(Wt.UNMATCHED_CLOSING_TAG,bn(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Vt.tag,value:r,children:e,location:bn(n,this.clonePosition())},err:null}:this.error(Wt.INVALID_TAG,bn(t,this.clonePosition())))}return this.error(Wt.UNCLOSED_TAG,bn(n,this.clonePosition()))}return this.error(Wt.INVALID_TAG,bn(n,this.clonePosition()))},Rn.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())},Rn.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=bn(n,this.clonePosition());return{val:{type:Vt.literal,value:r,location:n},err:null}},Rn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Nn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Rn.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 Tn.apply(void 0,t)},Rn.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(),Tn(n))},Rn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Wt.EXPECT_ARGUMENT_CLOSING_BRACE,bn(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Wt.EMPTY_ARGUMENT,bn(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Wt.MALFORMED_ARGUMENT,bn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Wt.EXPECT_ARGUMENT_CLOSING_BRACE,bn(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Vt.argument,value:r,location:bn(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Wt.EXPECT_ARGUMENT_CLOSING_BRACE,bn(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Wt.MALFORMED_ARGUMENT,bn(n,this.clonePosition()))}},Rn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=En(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:bn(e,this.clonePosition())}},Rn.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Wt.EXPECT_ARGUMENT_TYPE,bn(o,a));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=Dn(h.val)).length)return this.error(Wt.EXPECT_ARGUMENT_STYLE,bn(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:bn(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(r)).err)return p;var u=bn(r,this.clonePosition());if(l&&$n(null==l?void 0:l.style,"::",0)){c=An(l.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:Vt.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:Zt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(an,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"===s?Vt.date:Vt.time,value:n,location:u,style:d},err:null}}return{val:{type:"number"===s?Vt.number:"date"===s?Vt.date:Vt.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,bn(l,qt({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(Wt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,bn(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,s,t,u);if(u.err)return u;if((p=this.tryParseArgumentClose(r)).err)return p;var p=bn(r,this.clonePosition());return"select"===s?{val:{type:Vt.select,value:n,options:Pn(u.val),location:p},err:null}:{val:{type:Vt.plural,value:n,options:Pn(u.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null};default:return this.error(Wt.INVALID_ARGUMENT_TYPE,bn(o,a))}},Rn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Wt.EXPECT_ARGUMENT_CLOSING_BRACE,bn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Rn.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,bn(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}},Rn.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(cn).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 o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(Wt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Zt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?yn(n):{}},err:null}},Rn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,o=[],s=new Set,a=r.value,l=r.location;;){if(0===a.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=bn(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?Wt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Wt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(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,bn(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;o.push([a,{value:u.val,location:bn(d,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===t?Wt.EXPECT_SELECT_ARGUMENT_SELECTOR:Wt.EXPECT_PLURAL_ARGUMENT_SELECTOR,bn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(Wt.MISSING_OTHER_CLAUSE,bn(this.clonePosition(),this.clonePosition())):{val:o,err:null}},Rn.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}r=bn(r,this.clonePosition());return i?Mn(o*=n)?{val:o,err:null}:this.error(t,r):this.error(e,r)},Rn.prototype.offset=function(){return this.position.offset},Rn.prototype.isEOF=function(){return this.offset()===this.message.length},Rn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Rn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=In(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Rn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Rn.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))},Rn.prototype.bumpIf=function(e){if($n(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Rn.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)},Rn.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}},Rn.prototype.bumpSpace=function(){for(;!this.isEOF()&&Gn(this.char());)this.bump()},Rn.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},Rn);function Rn(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 Nn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Gn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Un(e,t){t=qt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new On(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,tn(e)||nn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Kt(e)&&on(e.style)||(Qt(e)||en(e))&&sn(e.style)?delete e.style.location:rn(e)&&n(e.children)})}(n.val),n.val}function Bn(e,t){var n=t&&t.cache?t.cache:Zn,r=t&&t.serializer?t.serializer:zn;return(t&&t.strategy?t.strategy:function(e,t){return jn(e,this,1===e.length?Hn:Yn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Hn(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 jn(e,t,n,r,i){return n.bind(t,e,r,i)}var zn=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 Vn,Zn={create:function(){return new Wn}},qn={variadic:function(e,t){return jn(e,this,Yn,t.cache.create(),t.serializer)},monadic:function(e,t){return jn(e,this,Hn,t.cache.create(),t.serializer)}};(e=Vn=Vn||{}).MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API";var Xn,Jn,Kn,Qn,er,tr=(zt(lr,er=Error),lr.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},lr),nr=(zt(ar,Qn=tr),ar),rr=(zt(sr,Kn=tr),sr),ir=(zt(or,Jn=tr),or);function or(e,t){return Jn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Vn.MISSING_VALUE,t)||this}function sr(e,t,n){return Kn.call(this,'Value for "'+e+'" must be of type '+t,Vn.INVALID_VALUE,n)||this}function ar(e,t,n,r){return Qn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',Vn.INVALID_VALUE,r)||this}function lr(e,t,n){e=er.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function cr(e,t,n,r,i,o,s){if(1===e.length&&Jt(e[0]))return[{type:Xn.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Jt(u))a.push({type:Xn.literal,value:u.value});else if(u.type===Vt.pound)"number"==typeof o&&a.push({type:Xn.literal,value:n.getNumberFormat(t).format(o)});else{var d=u.value;if(!(i&&d in i))throw new ir(d,s);var h=i[d];if(u.type===Vt.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?Xn.literal:Xn.object,value:h});else if(Qt(u)){var p="string"==typeof u.style?r.date[u.style]:sn(u.style)?u.style.parsedOptions:void 0;a.push({type:Xn.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(en(u))p="string"==typeof u.style?r.time[u.style]:sn(u.style)?u.style.parsedOptions:void 0,a.push({type:Xn.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(Kt(u))(p="string"==typeof u.style?r.number[u.style]:on(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),a.push({type:Xn.literal,value:n.getNumberFormat(t,p).format(h)});else{if(rn(u)){var f=u.children,g=u.value,d=i[g];if("function"!=typeof d)throw new rr(g,"function",s);f=d(cr(f,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),a.push.apply(a,f.map(function(e){return{type:"string"==typeof e?Xn.literal:Xn.object,value:e}}))}if(tn(u)){if(!(m=u.options[h]||u.options.other))throw new nr(u.value,h,Object.keys(u.options),s);a.push.apply(a,cr(m.value,t,n,r,i))}else if(nn(u)){if(!(m=u.options["="+h])){if(!Intl.PluralRules)throw new tr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Vn.MISSING_INTL_API,s);var f=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),m=u.options[f]||u.options.other}if(!m)throw new nr(u.value,h,Object.keys(u.options),s);a.push.apply(a,cr(m.value,t,n,r,i,h-(u.offset||0)))}}}}return(e=a).length<2?e:e.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 ur(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}}}}}(e=Xn=Xn||{})[e.literal=0]="literal",e[e.object=1]="object";var dr=(Object.defineProperty(hr,"defaultLocale",{get:function(){return hr.memoizedDefaultLocale=!hr.memoizedDefaultLocale?(new Intl.NumberFormat).resolvedOptions().locale:hr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),hr.memoizedDefaultLocale=null,hr.__parse=Un,hr.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"}}},hr);function hr(e,t,n,r){var i,o,s=this;if(void 0===t&&(t=hr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.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 cr(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!hr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=hr.__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=hr.formats,(o=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=o[t])?qt(qt(qt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=qt(qt({},n[t]),r[t]||{}),e},{})):n),e},qt({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:Bn(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:ur((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:qn.variadic}),getDateTimeFormat:Bn(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:ur(r.dateTime),strategy:qn.variadic}),getPluralRules:Bn(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:ur(r.pluralRules),strategy:qn.variadic})}}const pr={},fr=(e,t,n)=>n&&(t in pr||(pr[t]={}),e in pr[t]||(pr[t][e]=n),n),gr=(t,n)=>{if(null!=n){if(n in pr&&t in pr[n])return pr[n][t];var r,i=Fr(n);for(let e=0;e<i.length;e++){var o=(r=i[e],o=t,wr(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 mr[e]||null}(r),o):null);if(o)return fr(t,n,o)}}};let mr;const yr=At({});function wr(e){return e in mr}function vr(t,...n){delete pr[t],yr.update(e=>(e[t]=Yt.all([e[t]||{},...n]),e))}Dt([yr],([e])=>Object.keys(e)),yr.subscribe(e=>mr=e);const br={};function Sr(e){return br[e]}function xr(e){return Fr(e).some(e=>{return null===(e=Sr(e))||void 0===e?void 0:e.size})}const _r={};function Cr(e){if(!xr(e))return e in _r?_r[e]:void 0;const t=Fr(e).map(e=>{var t=Sr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return _r[e]=Promise.all(t.map(([e,t])=>function(t,e){return Promise.all(e.map(e=>(function(e,t){br[e].delete(t),0===br[e].size&&delete br[e]}(t,e),e().then(e=>e.default||e)))).then(e=>vr(t,...e))}(e,t))).then(()=>xr(e)?Cr(e):void delete _r[e]),_r[e]}function Mr(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 kr={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 Er=At(!1);let $r;const Tr=At(null);function Pr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Fr(e,t=kr.fallbackLocale){e=Pr(e);return t?[...new Set([...e,...Pr(t)])]:e}Tr.subscribe(e=>{$r=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Ir=Tr.set;Tr.set=t=>{if(function(e){if(null!=e){var t=Fr(e);for(let e=0;e<t.length;e++){var n=t[e];if(wr(n))return n}}}(t)&&xr(t)){var n=kr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=$r&&n?e=window.setTimeout(()=>Er.set(!0),n):Er.set(!0),Cr(t).then(()=>{Ir(t)}).finally(()=>{clearTimeout(e),Er.set(!1)})}return Ir(t)},Tr.update=e=>Ir(e($r));const Ar=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Dr=(e,t)=>{var n=kr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Lr=Ar(e=>{var{locale:t,format:n}=e,e=Mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Dr("number",n)),new Intl.NumberFormat(t,e)}),Or=Ar(e=>{var{locale:t,format:n}=e,e=Mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Dr("date",n):0===Object.keys(e).length&&(e=Dr("date","short")),new Intl.DateTimeFormat(t,e)}),Rr=Ar(e=>{var{locale:t,format:n}=e,e=Mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Dr("time",n):0===Object.keys(e).length&&(e=Dr("time","short")),new Intl.DateTimeFormat(t,e)}),Nr=Ar((e,t=$r)=>new dr(e,t,kr.formats,{ignoreTag:kr.ignoreTag})),Gr=Dt([Tr,yr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=$r,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=gr(e,r);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else console.warn(`[svelte-i18n] The message "${e}" was not found in "${Fr(r).join('", "')}".`+(xr($r)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":"")),o=i||e;if(!n)return o;let s=o;try{s=Nr(o,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});Dt([Tr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Mr(e,["locale"]);return Rr(Object.assign({locale:t},e))})(t).format(e)),Dt([Tr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Mr(e,["locale"]);return Or(Object.assign({locale:t},e))})(t).format(e)),Dt([Tr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Mr(e,["locale"]);return Lr(Object.assign({locale:t},e))})(t).format(e)),Dt([Tr,yr],()=>(e,t=$r)=>gr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Pt.indexOf(e)&&(t=new kt(t),Ft[e]=t,Pt.push(e)),Ft[e]}};const Ur=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)),Br=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Hr(r,i){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),Re(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Yr(e,t,n){const r=e.slice();return r[24]=t[n],r[26]=n,r}function jr(t){let r,i=[],n=new Map,o=t[0];const s=e=>e[24].id;for(let e=0;e<o.length;e+=1){var a=Yr(t,o,e),l=s(a);n.set(l,i[e]=Vr(l,a))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=u()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);j(t,r,n)},p(e,t){295&t&&(o=e[0],i=function(t,n,r,i,o,s,a,l,e,c,u,d){let h=t.length,p=s.length,f=h;const g={};for(;f--;)g[t[f].key]=f;const m=[],y=new Map,w=new Map;for(f=p;f--;){const t=d(o,s,f),l=r(t);let e=a.get(l);e?i&&e.p(t,n):(e=c(l,t),e.c()),y.set(l,m[f]=e),l in g&&w.set(l,Math.abs(f-g[l]))}const v=new Set,b=new Set;function S(e){re(e,1),e.m(l,u),a.set(e.key,e),u=e.first,p--}for(;h&&p;){const n=m[p-1],r=t[h-1],i=n.key,o=r.key;n===r?(u=n.first,h--,p--):y.has(o)?!a.has(i)||v.has(i)?S(n):b.has(o)?h--:w.get(i)>w.get(o)?(b.add(i),S(n)):(v.add(o),h--):(e(r,a),h--)}for(;h--;){const n=t[h];y.has(n.key)||e(n,a)}for(;p;)S(m[p-1]);return m}(i,t,s,1,e,o,n,r.parentNode,ae,Vr,r,Yr))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&z(r)}}}function zr(e){let n,r,i,o=e[24].name+"",s="FAVORITES"===e[24].id?"("+e[1]+")":"";return{c(){n=V(o),r=Z(),i=V(s)},m(e,t){j(e,n,t),j(e,r,t),j(e,i,t)},p(e,t){1&t&&o!==(o=e[24].name+"")&&J(n,o),3&t&&s!==(s="FAVORITES"===e[24].id?"("+e[1]+")":"")&&J(i,s)},d(e){e&&z(n),e&&z(r),e&&z(i)}}}function Wr(e){let n,r,i,o=e[24].label+"";return{c(){n=W("a"),r=V(o),X(n,"href",i=e[24].path)},m(e,t){j(e,n,t),Y(n,r)},p(e,t){1&t&&o!==(o=e[24].label+"")&&J(r,o),1&t&&i!==(i=e[24].path)&&X(n,"href",i)},d(e){e&&z(n)}}}function Vr(e,n){let r,i,o,s;function a(e){return"headerMain"===e[2]?Wr:zr}let l=a(n),c=l(n);function u(...e){return n[16](n[24],n[26],...e)}return{key:e,first:null,c(){r=W("li"),c.c(),i=Z(),X(r,"class","CarouselItem"),$(r,"active",n[5]==n[26]),this.first=r},m(e,t){j(e,r,t),c.m(r,null),Y(r,i),o||(s=q(r,"click",u),o=!0)},p(e,t){l===(l=a(n=e))&&c?c.p(n,t):(c.d(1),c=l(n),c&&(c.c(),c.m(r,i))),33&t&&$(r,"active",n[5]==n[26])},d(e){e&&z(r),c.d(),o=!1,s()}}}function Zr(n){let r,i,o,s,a,l,c,u,d,h,p,f,g=0<n[0].length&&jr(n);return{c(){r=W("div"),i=W("div"),o=W("div"),o.innerHTML='<svg 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="M15 19l-7-7 7-7"></path></svg>',s=Z(),a=W("ul"),g&&g.c(),l=Z(),c=W("div"),c.innerHTML='<svg 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="M9 5l7 7-7 7"></path></svg>',this.c=U,X(o,"class","CarouselLeftArrow"),X(a,"class","CarouselItems"),X(c,"class","CarouselRightArrow"),X(i,"class",u="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),X(i,"style",d="headerMain"===n[2]?"max-width: auto":`max-width: ${n[3]}px`),X(r,"class",h="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":""))},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(i,s),Y(i,a),g&&g.m(a,null),n[17](a),Y(i,l),Y(i,c),n[19](r),p||(f=[q(o,"click",n[15]),q(c,"click",n[18])],p=!0)},p(e,[t]){0<e[0].length?g?g.p(e,t):(g=jr(e),g.c(),g.m(a,null)):g&&(g.d(1),g=null),4&t&&u!==(u="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&X(i,"class",u),12&t&&d!==(d="headerMain"===e[2]?"max-width: auto":`max-width: ${e[3]}px`)&&X(i,"style",d),4&t&&h!==(h="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&X(r,"class",h)},i:U,o:U,d(e){e&&z(r),g&&g.d(),n[17](null),n[19](null),p=!1,B(f)}}}function qr(e,t,n){let r,i,o,{sliderdata:s=[]}=t,{onclickeventname:a="defaultEvent"}=t,{favoritesnumber:l="0"}=t,{location:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{identity:h=""}=t,{containermaxwidth:p=""}=t,f=window.navigator.userAgent,g="PC"!==Br(f),m=(e,t)=>{n(5,i=t),window.postMessage({type:a,itemId:e,index:t},window.location.href)};const y=e=>{e.data&&"SetSliderIndex"==e.data.type&&n(5,i=e.data.categoryData?s.map(e=>e.id).indexOf(e.data.categoryData.id):0),e.data&&e.data.type=="SetSliderIndex_"+h&&n(5,i=e.data.index)};let w=()=>{r.scrollBy({left:-300,behavior:"smooth"})},v=()=>{r.scrollBy({left:300,behavior:"smooth"})};return ve(()=>(window.addEventListener("message",y,!1),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"sliderdata"in e&&n(0,s=e.sliderdata),"onclickeventname"in e&&n(11,a=e.onclickeventname),"favoritesnumber"in e&&n(1,l=e.favoritesnumber),"location"in e&&n(2,c=e.location),"clientstyling"in e&&n(12,u=e.clientstyling),"clientstylingurl"in e&&n(13,d=e.clientstylingurl),"identity"in e&&n(14,h=e.identity),"containermaxwidth"in e&&n(3,p=e.containermaxwidth)},e.$$.update=()=>{4096&e.$$.dirty&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,setTimeout(()=>{o.appendChild(e)})})(),8192&e.$$.dirty&&d&&(()=>{let t=document.createElement("style");d&&fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})})()},[s,l,c,p,r,i,o,g,m,w,v,a,u,d,h,()=>w(),(e,t,n)=>m(e.id,t),function(e){be[e?"unshift":"push"](()=>{r=e,n(4,r)})},()=>v(),function(e){be[e?"unshift":"push"](()=>{o=e,n(6,o)})}]}function Xr(e){let n,r;return{c(){n=W("div"),r=W("casino-slider"),_(r,"favoritesnumber",e[7]),_(r,"sliderdata",e[4]),_(r,"clientstyling",e[0]),_(r,"clientstylingurl",e[1]),_(r,"containermaxwidth",e[2]),_(r,"onclickeventname","CategoryChange"),X(n,"class","CasinoCategoriesContainer")},m(e,t){j(e,n,t),Y(n,r)},p(e,t){128&t[0]&&_(r,"favoritesnumber",e[7]),16&t[0]&&_(r,"sliderdata",e[4]),1&t[0]&&_(r,"clientstyling",e[0]),2&t[0]&&_(r,"clientstylingurl",e[1]),4&t[0]&&_(r,"containermaxwidth",e[2])},d(e){e&&z(n)}}}function Jr(e){let n;return{c(){n=W("p"),n.textContent="500 Error - Internal Server Error.",X(n,"class","SearchLoading")},m(e,t){j(e,n,t)},p:U,d(e){e&&z(n)}}}function Kr(e){let n;return{c(){n=W("p"),n.textContent="Please wait ..."},m(e,t){j(e,n,t)},p:U,d(e){e&&z(n)}}}function Qr(n){let r;function i(e){return e[3]||e[8]?Kr:e[5]?Jr:Xr}let o=i(n),s=o(n);return{c(){r=W("div"),s.c(),this.c=U},m(e,t){j(e,r,t),s.m(r,null),n[16](r)},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)))},i:U,o:U,d(e){e&&z(r),s.d(),n[16](null)}}}function ei(e,t,n){let r,i,o,{endpoint:s=""}=t,{datasource:a=""}=t,{lang:l=""}=t,{userid:c=""}=t,{session:u=""}=t,{mostplayed:d=""}=t,{favorites:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:f=""}=t,{containermaxwidth:g=""}=t,m=!0,y=[],w=!1,v=window.navigator.userAgent,b=!1,S=!1;const x=e=>{if(e.data)switch(e.data.type){case"UpdateCategoryFavoriteGames":case"ShowFavoriteSection":n(7,o=e.data.receivedFavoriteResults.count)}};let _=!1;return ve(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)})),e.$$set=e=>{"endpoint"in e&&n(9,s=e.endpoint),"datasource"in e&&n(10,a=e.datasource),"lang"in e&&n(11,l=e.lang),"userid"in e&&n(12,c=e.userid),"session"in e&&n(13,u=e.session),"mostplayed"in e&&n(14,d=e.mostplayed),"favorites"in e&&n(15,h=e.favorites),"clientstyling"in e&&n(0,p=e.clientstyling),"clientstylingurl"in e&&n(1,f=e.clientstylingurl),"containermaxwidth"in e&&n(2,g=e.containermaxwidth)},e.$$.update=()=>{3584&e.$$.dirty[0]&&s&&a&&l&&(()=>{if(s||(r="Endpoint is missing! Please provide a valid endpointURL.",n(5,w=!0),n(3,m=!1),console.error(r)),a||(r="Datasource is missing! Please provide a valid datasource.",n(5,w=!0),n(3,m=!1),console.error(r)),l&&2==l.length||(r="Language is missing! Please provide a valid language (alpha2code)",n(5,w=!0),n(3,m=!1),console.error(r)),!w){let e=new URL(s+"/casino/groups/"+a);e.searchParams.append("datasource",a),e.searchParams.append("platform",Br(v)),e.searchParams.append("language",l),fetch(e).then(e=>e.json()).then(e=>{e=e.items.filter(e=>0<e.games.total);n(4,y=y.concat(e)),y.unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(3,m=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(5,w=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(5,w=!0),console.error("There was an error while fetching the categories",e)})}})(),8704&e.$$.dirty[0]&&u&&s&&Hr(s,u).then(e=>{},e=>{console.error("err on session",e)}),40960&e.$$.dirty[0]&&u&&h&&(0==b&&"true"==h&&y.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),b=!0),28672&e.$$.dirty[0]&&u&&c&&d&&d&&(n(8,_=!0),(()=>{if(d){let e=new URL(`${s}/player/${c}/games/most-played`),t=Br(v);return t?"PC"===t?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),e.searchParams.append("rounds","50"),new Promise((t,n)=>{fetch(e.href).then(e=>e.json()).then(e=>{0==e.count&&t(!1),t(!0)}).catch(e=>{console.error("err",e),n(!1)})})}})().then(e=>{0==S&&"true"==d&&e&&y.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(8,_=!1),D(),S=!0})),1&e.$$.dirty[0]&&p&&(()=>{let e=document.createElement("style");e.innerHTML=p,i.appendChild(e)})(),2&e.$$.dirty[0]&&f&&(()=>{let t=document.createElement("style"),e=new URL(f);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},n(7,o=0),[p,f,g,m,y,w,i,o,_,s,a,l,c,u,d,h,function(e){be[e?"unshift":"push"](()=>{i=e,n(6,i)})}]}customElements.get("casino-slider")||customElements.define("casino-slider",class extends ce{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}.CarouselWrapper{background:#D0046C;background:-webkit-linear-gradient(to left, #FD2839, #D0046C);background:linear-gradient(to left, #FD2839, #D0046C)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;width:100%;color:#ffffff;margin:0 auto;padding:0 10px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{display:flex;height:100%;align-items:center;padding:12.8px 19.2px;font-size:16px;text-align:center;line-height:25.6px;transition:all 150ms ease-in-out;white-space:nowrap}.CarouselContainer .CarouselItems .CarouselItem:hover,.CarouselContainer .CarouselItems .CarouselItem.active{background:#07072a;cursor:pointer}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:38.4px}.CarouselContainer .CarouselLeftArrow:hover,.CarouselContainer .CarouselRightArrow:hover{cursor:pointer}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active{background:transparent}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a{border-top:1px solid #D0046C;color:#D0046C}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:#fff;text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",le(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},qr,Zr,t,{sliderdata:0,onclickeventname:11,favoritesnumber:1,location:2,clientstyling:12,clientstylingurl:13,identity:14,containermaxwidth:3},null),e&&(e.target&&j(e.target,this,e.anchor),e.props&&(this.$set(e.props),G()))}static get observedAttributes(){return["sliderdata","onclickeventname","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth"]}get sliderdata(){return this.$$.ctx[0]}set sliderdata(e){this.$$set({sliderdata:e}),G()}get onclickeventname(){return this.$$.ctx[11]}set onclickeventname(e){this.$$set({onclickeventname:e}),G()}get favoritesnumber(){return this.$$.ctx[1]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),G()}get location(){return this.$$.ctx[2]}set location(e){this.$$set({location:e}),G()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),G()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),G()}get identity(){return this.$$.ctx[14]}set identity(e){this.$$set({identity:e}),G()}get containermaxwidth(){return this.$$.ctx[3]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),G()}}),customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends ce{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'}p{color:#fff;text-align:center}.CasinoCategoriesContainer{background:black}</style>",le(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ei,Qr,t,{endpoint:9,datasource:10,lang:11,userid:12,session:13,mostplayed:14,favorites:15,clientstyling:0,clientstylingurl:1,containermaxwidth:2},null,[-1,-1]),e&&(e.target&&j(e.target,this,e.anchor),e.props&&(this.$set(e.props),G()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","favorites","clientstyling","clientstylingurl","containermaxwidth"]}get endpoint(){return this.$$.ctx[9]}set endpoint(e){this.$$set({endpoint:e}),G()}get datasource(){return this.$$.ctx[10]}set datasource(e){this.$$set({datasource:e}),G()}get lang(){return this.$$.ctx[11]}set lang(e){this.$$set({lang:e}),G()}get userid(){return this.$$.ctx[12]}set userid(e){this.$$set({userid:e}),G()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),G()}get mostplayed(){return this.$$.ctx[14]}set mostplayed(e){this.$$set({mostplayed:e}),G()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),G()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$$set({clientstyling:e}),G()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),G()}get containermaxwidth(){return this.$$.ctx[2]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),G()}});const ti={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:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},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"}}},ni={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."}}},ri={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT"}},fr:{gameThumbnail:{playNow:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće"}}};function ii(e){let n,r=!Ur(e[16])&&!e[0]&&e[9],i=r&&oi(e);return{c(){i&&i.c(),n=u()},m(e,t){i&&i.m(e,t),j(e,n,t)},p(e,t){513&t[0]&&(r=!Ur(e[16])&&!e[0]&&e[9]),r?i?i.p(e,t):(i=oi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&z(n)}}}function oi(n){let r,i,o;return{c(){r=W("div"),r.innerHTML='<svg version="1.1" class="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>',X(r,"class","FavIconContainer")},m(e,t){j(e,r,t),i||(o=q(r,"click",n[35]),i=!0)},p:U,d(e){e&&z(r),i=!1,o()}}}function si(e){let n;return{c(){n=W("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',X(n,"class","FavIconContainer")},m(e,t){j(e,n,t)},p:U,d(e){e&&z(n)}}}function ai(n){let r,i,o;return{c(){r=W("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',X(r,"class","FavIconContainer")},m(e,t){j(e,r,t),i||(o=q(r,"click",n[39]),i=!0)},p:U,d(e){e&&z(r),i=!1,o()}}}function li(e){let n,r,i=e[15]("gameThumbnail.new")+"";return{c(){n=W("span"),r=V(i),X(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){j(e,n,t),Y(n,r)},p(e,t){32768&t[0]&&i!==(i=e[15]("gameThumbnail.new")+"")&&J(r,i)},d(e){e&&z(n)}}}function ci(e){let n,r,i=e[15]("gameThumbnail.hot")+"";return{c(){n=W("span"),r=V(i),X(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){j(e,n,t),Y(n,r)},p(e,t){32768&t[0]&&i!==(i=e[15]("gameThumbnail.hot")+"")&&J(r,i)},d(e){e&&z(n)}}}function ui(e){let n,r;return{c(){n=W("p"),r=V(e[3]),X(n,"class","GameNameBelow"),X(n,"title",e[3])},m(e,t){j(e,n,t),Y(n,r)},p(e,t){8&t[0]&&J(r,e[3]),8&t[0]&&X(n,"title",e[3])},d(e){e&&z(n)}}}function di(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S,x,_,C,M,k,E,$,T,P=n[15]("gameThumbnail.playNow")+"",F=(n[4]||"-")+"",I=0<parseInt(n[7]),A=n[14]&&ii(n);function D(e,t){return 515&t[0]&&(x=null),515&t[0]&&(_=null),null==x&&(x=!(Ur(e[16])||!e[0]||!e[9]||!e[1])),x?ai:(null==_&&(_=!!(Ur(e[16])&&e[0]&&e[9]&&e[1])),_?si:void 0)}let L=D(n,[-1,-1]),O=L&&L(n),R=n[6]&&li(n),N=I&&ci(n),G=n[8]&&ui(n);return{c(){r=W("div"),i=W("div"),o=W("img"),l=Z(),c=W("div"),u=W("div"),A&&A.c(),d=Z(),h=W("p"),p=V(n[3]),f=Z(),g=W("button"),m=V(P),w=Z(),v=W("span"),b=V(F),S=Z(),O&&O.c(),C=Z(),M=W("div"),R&&R.c(),k=Z(),N&&N.c(),E=Z(),G&&G.c(),this.c=U,H(o.src,s=n[2])||X(o,"src",s),X(o,"class",a="GameBg "+(n[10]?"GameContainerHovered":"")+" "+(n[11]?"Loaded":"")),X(o,"alt",""),X(o,"loading","lazy"),X(h,"class","GameInfoName"),X(h,"title",n[3]),X(g,"class","GameInfoBtn"),X(u,"class",y="GameInfo "+(n[10]?"GameHovered":"")),X(v,"class","GameInfoVendor"),X(c,"class","GameInfoWrapper"),X(M,"class","GameExtraInfo"),X(i,"class","GameInnerContainer"),X(r,"class","GameContainer")},m(e,t){j(e,r,t),Y(r,i),Y(i,o),n[34](o),Y(i,l),Y(i,c),Y(c,u),A&&A.m(u,null),Y(u,d),Y(u,h),Y(h,p),Y(u,f),Y(u,g),Y(g,m),Y(c,w),Y(c,v),Y(v,b),Y(i,S),O&&O.m(i,null),Y(i,C),Y(i,M),R&&R.m(M,null),Y(M,k),N&&N.m(M,null),Y(r,E),G&&G.m(r,null),n[40](r),$||(T=[q(g,"click",n[36]),q(c,"mouseenter",n[37]),q(c,"mouseleave",n[38]),q(i,"mouseenter",n[23]),q(i,"mouseleave",n[24]),q(i,"touchstart",n[21],{passive:!0}),q(i,"touchleave",n[22])],$=!0)},p(e,t){4&t[0]&&!H(o.src,s=e[2])&&X(o,"src",s),3072&t[0]&&a!==(a="GameBg "+(e[10]?"GameContainerHovered":"")+" "+(e[11]?"Loaded":""))&&X(o,"class",a),e[14]?A?A.p(e,t):(A=ii(e),A.c(),A.m(u,d)):A&&(A.d(1),A=null),8&t[0]&&J(p,e[3]),8&t[0]&&X(h,"title",e[3]),32768&t[0]&&P!==(P=e[15]("gameThumbnail.playNow")+"")&&J(m,P),1024&t[0]&&y!==(y="GameInfo "+(e[10]?"GameHovered":""))&&X(u,"class",y),16&t[0]&&F!==(F=(e[4]||"-")+"")&&J(b,F),L===(L=D(e,t))&&O?O.p(e,t):(O&&O.d(1),O=L&&L(e),O&&(O.c(),O.m(i,C))),e[6]?R?R.p(e,t):(R=li(e),R.c(),R.m(M,k)):R&&(R.d(1),R=null),128&t[0]&&(I=0<parseInt(e[7])),I?N?N.p(e,t):(N=ci(e),N.c(),N.m(M,null)):N&&(N.d(1),N=null),e[8]?G?G.p(e,t):(G=ui(e),G.c(),G.m(r,null)):G&&(G.d(1),G=null)},i:U,o:U,d(e){e&&z(r),n[34](null),A&&A.d(),O&&O.d(),R&&R.d(),N&&N.d(),G&&G.d(),n[40](null),$=!1,B(T)}}}function hi(e,t,n){let r;we(e,Gr,e=>n(15,r=e));let i,o,{session:s=""}=t,{userid:a=""}=t,{lang:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,{favorites:d=""}=t,{gamethumbnail:h=""}=t,{gamename:p=""}=t,{gamevendor:f=""}=t,{gameid:g=""}=t,{gameisnew:m=""}=t,{gamepopularity:y=""}=t,{gamefunmode:w=!1}=t,{searchitem:v=!1}=t,{gamefavorite:b=!1}=t,{showfavoredcategory:S=!1}=t,{showgamename:x=!1}=t,{endpoint:_=""}=t,C=!1,M=!1,k=!1,E=window.navigator.userAgent;Object.keys(ri).forEach(e=>{vr(e,ri[e])});const $=()=>{n(10,M=!0)},T=()=>{n(10,M=!1)},P=e=>{e.data.type!=="AddFavoriteThumbnail_"+g||S||n(0,b=!0),e.data.type!=="RemoveFavoriteThumbnail_"+g||S||n(0,b=!1),"UserSessionID"===e.data.type&&(n(9,C=!0),e.data.session,e.data.userID)},F=e=>{Ur(E)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:w},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),v&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},I=e=>{var t="thumbnail";b?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)};let A=!1;return ve(()=>(window.addEventListener("message",P,!1),()=>{window.removeEventListener("message",P)})),e.$$set=e=>{"session"in e&&n(25,s=e.session),"userid"in e&&n(26,a=e.userid),"lang"in e&&n(27,l=e.lang),"clientstyling"in e&&n(28,c=e.clientstyling),"clientstylingurl"in e&&n(29,u=e.clientstylingurl),"favorites"in e&&n(1,d=e.favorites),"gamethumbnail"in e&&n(2,h=e.gamethumbnail),"gamename"in e&&n(3,p=e.gamename),"gamevendor"in e&&n(4,f=e.gamevendor),"gameid"in e&&n(5,g=e.gameid),"gameisnew"in e&&n(6,m=e.gameisnew),"gamepopularity"in e&&n(7,y=e.gamepopularity),"gamefunmode"in e&&n(30,w=e.gamefunmode),"searchitem"in e&&n(31,v=e.searchitem),"gamefavorite"in e&&n(0,b=e.gamefavorite),"showfavoredcategory"in e&&n(32,S=e.showfavoredcategory),"showgamename"in e&&n(8,x=e.showgamename),"endpoint"in e&&n(33,_=e.endpoint)},e.$$.update=()=>{e.$$.dirty[0],100663296&e.$$.dirty[0]|4&e.$$.dirty[1]&&s&&a&&_&&n(9,C=!0),4&e.$$.dirty[0]&&h&&i&&n(12,i.onload=()=>{n(11,k=!0)},i),268435456&e.$$.dirty[0]&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{o.appendChild(e)})})(),2&e.$$.dirty[0]&&d&&"true"==d&&n(14,A=!0),536870912&e.$$.dirty[0]&&u&&(()=>{let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)})})})()},[b,d,h,p,f,g,m,y,x,C,M,k,i,o,A,r,E,$,T,F,I,()=>{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)},s,a,l,c,u,w,v,S,_,function(e){be[e?"unshift":"push"](()=>{i=e,n(12,i)})},()=>I(g),()=>F(g),()=>$(),()=>T(),()=>I(g),function(e){be[e?"unshift":"push"](()=>{o=e,n(13,o)})}]}function pi(e,t,n){const r=e.slice();return r[67]=t[n],r[69]=n,r}function fi(e,t,n){const r=e.slice();return r[67]=t[n],r[70]=t,r[69]=n,r}function gi(e,t,n){const r=e.slice();return r[67]=t[n],r[69]=n,r}function mi(e){let n;function r(e){return e[9]?bi:e[19]?vi:void 0}let i=r(e),o=i&&i(e);return{c(){n=W("div"),o&&o.c()},m(e,t){j(e,n,t),o&&o.m(n,null)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),o=i&&i(e),o&&(o.c(),o.m(n,null)))},d(e){e&&z(n),o&&o.d()}}}function yi(e){let n,r,i;function o(e){return e[13]?Ni:e[10].length?Oi:Ri}let s=o(e),a=s(e);function l(e){return e[10]?Ui:Gi}let c=l(e),u=c(e);return{c(){n=W("div"),r=W("div"),a.c(),i=Z(),u.c(),X(r,"class","CasinoGamesHeader Searched "+(Ur(e[23])?"CasinoGamesHeaderMobile":"")),X(n,"class","CasinoGamesContainer")},m(e,t){j(e,n,t),Y(n,r),a.m(r,null),Y(n,i),u.m(n,null)},p(e,t){s===(s=o(e))&&a?a.p(e,t):(a.d(1),a=s(e),a&&(a.c(),a.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&&z(n),a.d(),u.d()}}}function wi(e){let n;function r(e){return e[15]?ji:Yi}let i=r(e),o=i(e);return{c(){o.c(),n=u()},m(e,t){o.m(e,t),j(e,n,t)},p(e,t){i!==(i=r(e))&&(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&z(n)}}}function vi(n){let r,i,o,s,a,l,c,u=n[21].name+"";function d(e){return e[21]?xi:Si}let h=d(n),p=h(n);return{c(){r=W("div"),i=W("div"),o=W("h3"),s=V(u),a=Z(),l=W("ul"),p.c(),X(o,"class","CategoryName"),X(i,"class","CasinoGamesHeader"),X(l,"class",c=(0!=n[21].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),X(r,"class","CasinoGamesContainer")},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(o,s),n[38](o),Y(r,a),Y(r,l),p.m(l,null),n[39](l)},p(e,t){2097152&t[0]&&u!==(u=e[21].name+"")&&J(s,u),h===(h=d(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(l,null))),2097152&t[0]&&c!==(c=(0!=e[21].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&X(l,"class",c)},d(e){e&&z(r),n[38](null),p.d(),n[39](null)}}}function bi(n){let r,i,o,s,a,l,c=n[9].name+"",u=n[11]&&Ii(n);function d(e){return 0!==e[10].length?Di:Ai}let h=d(n),p=h(n);return{c(){r=W("div"),i=W("div"),o=W("h3"),s=V(c),a=Z(),u&&u.c(),l=Z(),p.c(),X(o,"class","CategoryName"),X(i,"class","CasinoGamesHeader"),X(r,"class","CasinoGamesContainer")},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(o,s),n[34](o),Y(i,a),u&&u.m(i,null),Y(r,l),p.m(r,null)},p(e,t){512&t[0]&&c!==(c=e[9].name+"")&&J(s,c),e[11]?u?u.p(e,t):(u=Ii(e),u.c(),u.m(i,null)):u&&(u.d(1),u=null),h===(h=d(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(r,null)))},d(e){e&&z(r),n[34](null),u&&u.d(),p.d()}}}function Si(e){let n;return{c(){n=W("p"),n.textContent="Waiting"},m(e,t){j(e,n,t)},p:U,d(e){e&&z(n)}}}function xi(t){let r,i=t[21].items,o=[];for(let e=0;e<i.length;e+=1)o[e]=Fi(pi(t,i,e));let s=null;return i.length||(s=_i(t)),{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=u(),s&&s.c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);j(t,r,n),s&&s.m(t,n)},p(t,n){if(11010175&n[0]){let e;for(i=t[21].items,e=0;e<i.length;e+=1){const s=pi(t,i,e);o[e]?o[e].p(s,n):(o[e]=Fi(s),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length,!i.length&&s?s.p(t,n):i.length?s&&(s.d(1),s=null):(s=_i(t),s.c(),s.m(r.parentNode,r))}},d(e){c(o,e),e&&z(r),s&&s.d(e)}}}function _i(e){let n,r,i,o,s,a,l,t=(u=e,Ur(u[23])?Mi:Ci),c=t(e);var u;return{c(){n=W("p"),r=x("svg"),i=x("path"),o=Z(),s=W("span"),s.textContent="You do not have any favored games yet.",a=Z(),c.c(),l=Z(),E(i,"fill","white"),X(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"),X(r,"version","1.1"),X(r,"class","UnfavoredIcon"),X(r,"xmlns","http://www.w3.org/2000/svg"),X(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),X(r,"x","50px"),X(r,"y","50px"),X(r,"viewBox","0 0 512.001 512.001"),E(r,"enable-background","new 0 0 512.001 512.001"),X(r,"xml:space","preserve"),X(s,"class","NoFavoriteText NoFavoriteTextHighlight"),X(n,"class","NoFavoriteGames "+(Ur(e[23])?"NoFavoriteGamesMobile":""))},m(e,t){j(e,n,t),Y(n,r),Y(r,i),Y(n,o),Y(n,s),Y(n,a),c.m(n,null),Y(n,l)},p:U,d(e){e&&z(n),c.d()}}}function Ci(e){let n;return{c(){n=W("span"),n.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",X(n,"class","NoFavoriteText")},m(e,t){j(e,n,t)},d(e){e&&z(n)}}}function Mi(e){let n;return{c(){n=W("span"),n.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",X(n,"class","NoFavoriteText")},m(e,t){j(e,n,t)},d(e){e&&z(n)}}}function ki(e){let n,r=e[67].gameModel.isFavorite&&Ei(e);return{c(){r&&r.c(),n=u()},m(e,t){r&&r.m(e,t),j(e,n,t)},p(e,t){e[67].gameModel.isFavorite?r?r.p(e,t):(r=Ei(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&z(n)}}}function Ei(e){let n,r=function(e){let n,r,i;function o(e,t){return 2097152&t[0]&&(r=null),null==n&&(n=!!Ur(e[23])),n?Ti:(null==r&&(r=!!e[67].gameModel.platform.includes("PC")),r?$i:void 0)}let s=o(e,[-1,-1,-1]),a=s&&s(e);return{c(){a&&a.c(),i=u()},m(e,t){a&&a.m(e,t),j(e,i,t)},p(e,t){s===(s=o(e,t))&&a?a.p(e,t):(a&&a.d(1),a=s&&s(e),a&&(a.c(),a.m(i.parentNode,i)))},d(e){a&&a.d(e),e&&z(i)}}}(e);return{c(){r&&r.c(),n=u()},m(e,t){r&&r.m(e,t),j(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&z(n)}}}function $i(e){let n,r,i,o,s,a,l,c,u,d,h;return{c(){n=W("casino-game-thumbnail"),_(n,"class",r=""+(Wi+(e[67].cellSize||"1x1"))),_(n,"session",e[2]),_(n,"userid",e[3]),_(n,"lang",e[1]),_(n,"favorites",e[4]),_(n,"gamethumbnail",i=e[67].gameModel.thumbnail),_(n,"gamename",o=e[67].gameModel.name),_(n,"gamevendor",s=e[67].gameModel.vendor.name),_(n,"gameisnew",a=e[67].gameModel.isNew),_(n,"gamepopularity",l=e[67].gameModel.popularity),_(n,"gamecellsize",c=e[67].gameModel.cellSize),_(n,"gameid",u=e[67].gameModel.id),_(n,"gamefunmode",d=e[67].gameModel.hasFunMode),_(n,"gamefavorite",h=e[67].gameModel.isFavorite),_(n,"showfavoredcategory",e[19]),_(n,"clientstyling",e[5]),_(n,"clientstylingurl",e[6]),_(n,"endpoint",e[0])},m(e,t){j(e,n,t)},p(e,t){2097152&t[0]&&r!==(r=""+(Wi+(e[67].cellSize||"1x1")))&&_(n,"class",r),4&t[0]&&_(n,"session",e[2]),8&t[0]&&_(n,"userid",e[3]),2&t[0]&&_(n,"lang",e[1]),16&t[0]&&_(n,"favorites",e[4]),2097152&t[0]&&i!==(i=e[67].gameModel.thumbnail)&&_(n,"gamethumbnail",i),2097152&t[0]&&o!==(o=e[67].gameModel.name)&&_(n,"gamename",o),2097152&t[0]&&s!==(s=e[67].gameModel.vendor.name)&&_(n,"gamevendor",s),2097152&t[0]&&a!==(a=e[67].gameModel.isNew)&&_(n,"gameisnew",a),2097152&t[0]&&l!==(l=e[67].gameModel.popularity)&&_(n,"gamepopularity",l),2097152&t[0]&&c!==(c=e[67].gameModel.cellSize)&&_(n,"gamecellsize",c),2097152&t[0]&&u!==(u=e[67].gameModel.id)&&_(n,"gameid",u),2097152&t[0]&&d!==(d=e[67].gameModel.hasFunMode)&&_(n,"gamefunmode",d),2097152&t[0]&&h!==(h=e[67].gameModel.isFavorite)&&_(n,"gamefavorite",h),524288&t[0]&&_(n,"showfavoredcategory",e[19]),32&t[0]&&_(n,"clientstyling",e[5]),64&t[0]&&_(n,"clientstylingurl",e[6]),1&t[0]&&_(n,"endpoint",e[0])},d(e){e&&z(n)}}}function Ti(e){let n,r=e[67].gameModel.platform.includes("iPad")||e[67].gameModel.platform.includes("iPhone")||e[67].gameModel.platform.includes("Android"),i=r&&Pi(e);return{c(){i&&i.c(),n=u()},m(e,t){i&&i.m(e,t),j(e,n,t)},p(e,t){2097152&t[0]&&(r=e[67].gameModel.platform.includes("iPad")||e[67].gameModel.platform.includes("iPhone")||e[67].gameModel.platform.includes("Android")),r?i?i.p(e,t):(i=Pi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&z(n)}}}function Pi(e){let n,r,i,o,s,a,l,c,u,d,h;return{c(){n=W("casino-game-thumbnail"),_(n,"class",r=""+(Wi+(e[67].cellSize||"1x1"))),_(n,"session",e[2]),_(n,"userid",e[3]),_(n,"lang",e[1]),_(n,"favorites",e[4]),_(n,"gamethumbnail",i=e[67].gameModel.thumbnail),_(n,"gamename",o=e[67].gameModel.name),_(n,"gamevendor",s=e[67].gameModel.vendor.name),_(n,"gameisnew",a=e[67].gameModel.isNew),_(n,"gamepopularity",l=e[67].gameModel.popularity),_(n,"gamecellsize",c=e[67].gameModel.cellSize),_(n,"gameid",u=e[67].gameModel.id),_(n,"gamefunmode",d=e[67].gameModel.hasFunMode),_(n,"gamefavorite",h=e[67].gameModel.isFavorite),_(n,"showfavoredcategory",e[19]),_(n,"clientstyling",e[5]),_(n,"clientstylingurl",e[6]),_(n,"endpoint",e[0])},m(e,t){j(e,n,t)},p(e,t){2097152&t[0]&&r!==(r=""+(Wi+(e[67].cellSize||"1x1")))&&_(n,"class",r),4&t[0]&&_(n,"session",e[2]),8&t[0]&&_(n,"userid",e[3]),2&t[0]&&_(n,"lang",e[1]),16&t[0]&&_(n,"favorites",e[4]),2097152&t[0]&&i!==(i=e[67].gameModel.thumbnail)&&_(n,"gamethumbnail",i),2097152&t[0]&&o!==(o=e[67].gameModel.name)&&_(n,"gamename",o),2097152&t[0]&&s!==(s=e[67].gameModel.vendor.name)&&_(n,"gamevendor",s),2097152&t[0]&&a!==(a=e[67].gameModel.isNew)&&_(n,"gameisnew",a),2097152&t[0]&&l!==(l=e[67].gameModel.popularity)&&_(n,"gamepopularity",l),2097152&t[0]&&c!==(c=e[67].gameModel.cellSize)&&_(n,"gamecellsize",c),2097152&t[0]&&u!==(u=e[67].gameModel.id)&&_(n,"gameid",u),2097152&t[0]&&d!==(d=e[67].gameModel.hasFunMode)&&_(n,"gamefunmode",d),2097152&t[0]&&h!==(h=e[67].gameModel.isFavorite)&&_(n,"gamefavorite",h),524288&t[0]&&_(n,"showfavoredcategory",e[19]),32&t[0]&&_(n,"clientstyling",e[5]),64&t[0]&&_(n,"clientstylingurl",e[6]),1&t[0]&&_(n,"endpoint",e[0])},d(e){e&&z(n)}}}function Fi(e){let n,r=e[67].gameModel&&ki(e);return{c(){r&&r.c(),n=u()},m(e,t){r&&r.m(e,t),j(e,n,t)},p(e,t){e[67].gameModel?r?r.p(e,t):(r=ki(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&z(n)}}}function Ii(n){let r,i,o,s,a,l,c,u,d=n[22]("gamesCategorySection.viewAll")+"",h=n[9].games.total+"";return{c(){r=W("a"),i=W("span"),o=V(d),s=V(" ("),a=V(h),l=V(")"),X(i,"class","CategoryLoadMore"),X(r,"class","CategoryNameLink")},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(i,s),Y(i,a),Y(i,l),c||(u=q(r,"click",n[35]),c=!0)},p(e,t){4194304&t[0]&&d!==(d=e[22]("gamesCategorySection.viewAll")+"")&&J(o,d),512&t[0]&&h!==(h=e[9].games.total+"")&&J(a,h)},d(e){e&&z(r),c=!1,u()}}}function Ai(e){let n;return{c(){n=W("p"),n.textContent="You don't have any games in this category.",X(n,"class","NoSearchResults")},m(e,t){j(e,n,t)},p:U,d(e){e&&z(n)}}}function Di(n){let i,e,o=n[10],s=[];for(let e=0;e<o.length;e+=1)s[e]=Li(fi(n,o,e));return{c(){i=W("ul");for(let e=0;e<s.length;e+=1)s[e].c();X(i,"class",e=(0===n[21].items.length&&n[19]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){j(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null);n[37](i)},p(t,n){if(1279&n[0]){let e;for(o=t[10],e=0;e<o.length;e+=1){var r=fi(t,o,e);s[e]?s[e].p(r,n):(s[e]=Li(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}2621440&n[0]&&e!==(e=(0===t[21].items.length&&t[19]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&X(i,"class",e)},d(e){e&&z(i),c(s,e),n[37](null)}}}function Li(e){let n,r=function(n){let r,i,o,s,a,l,c,u,d,h,p,f=n[69];const g=()=>n[36](r,f),m=()=>n[36](null,f);return{c(){r=W("casino-game-thumbnail"),_(r,"session",n[2]),_(r,"userid",n[3]),_(r,"lang",n[1]),_(r,"class",i=""+(Wi+(n[67].cellSize||"1x1"))),_(r,"favorites",n[4]),_(r,"gamethumbnail",o=n[67].thumbnail),_(r,"gamename",s=n[67].name),_(r,"gamevendor",a=n[67].vendor.name),_(r,"gameisnew",l=n[67].isNew),_(r,"gamepopularity",c=n[67].popularity),_(r,"gamecellsize",u=n[67].cellSize),_(r,"gameid",d=n[67].id),_(r,"gamefunmode",h=n[67].hasFunMode),_(r,"gamefavorite",p=n[67].isFavorite),_(r,"clientstyling",n[5]),_(r,"clientstylingurl",n[6]),_(r,"endpoint",n[0])},m(e,t){j(e,r,t),g()},p(e,t){n=e,4&t[0]&&_(r,"session",n[2]),8&t[0]&&_(r,"userid",n[3]),2&t[0]&&_(r,"lang",n[1]),1024&t[0]&&i!==(i=""+(Wi+(n[67].cellSize||"1x1")))&&_(r,"class",i),16&t[0]&&_(r,"favorites",n[4]),1024&t[0]&&o!==(o=n[67].thumbnail)&&_(r,"gamethumbnail",o),1024&t[0]&&s!==(s=n[67].name)&&_(r,"gamename",s),1024&t[0]&&a!==(a=n[67].vendor.name)&&_(r,"gamevendor",a),1024&t[0]&&l!==(l=n[67].isNew)&&_(r,"gameisnew",l),1024&t[0]&&c!==(c=n[67].popularity)&&_(r,"gamepopularity",c),1024&t[0]&&u!==(u=n[67].cellSize)&&_(r,"gamecellsize",u),1024&t[0]&&d!==(d=n[67].id)&&_(r,"gameid",d),1024&t[0]&&h!==(h=n[67].hasFunMode)&&_(r,"gamefunmode",h),1024&t[0]&&p!==(p=n[67].isFavorite)&&_(r,"gamefavorite",p),32&t[0]&&_(r,"clientstyling",n[5]),64&t[0]&&_(r,"clientstylingurl",n[6]),1&t[0]&&_(r,"endpoint",n[0]),f!==n[69]&&(m(),f=n[69],g())},d(e){e&&z(r),m()}}}(e);return{c(){r&&r.c(),n=u()},m(e,t){r&&r.m(e,t),j(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&z(n)}}}function Oi(e){let n,r,i=e[22]("gamesCategorySection.searchedItems")+"";return{c(){n=W("h3"),r=V(i),X(n,"class","StatusText")},m(e,t){j(e,n,t),Y(n,r)},p(e,t){4194304&t[0]&&i!==(i=e[22]("gamesCategorySection.searchedItems")+"")&&J(r,i)},d(e){e&&z(n)}}}function Ri(e){let n,r,i=e[22]("gamesCategorySection.noResults")+"";return{c(){n=W("h3"),r=V(i),X(n,"class","StatusText")},m(e,t){j(e,n,t),Y(n,r)},p(e,t){4194304&t[0]&&i!==(i=e[22]("gamesCategorySection.noResults")+"")&&J(r,i)},d(e){e&&z(n)}}}function Ni(e){let n,r,i=e[22]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=W("h3"),r=V(i),X(n,"class","StatusText")},m(e,t){j(e,n,t),Y(n,r)},p(e,t){4194304&t[0]&&i!==(i=e[22]("gamesCategorySection.recentSearchedItems")+"")&&J(r,i)},d(e){e&&z(n)}}}function Gi(e){let n;return{c(){n=W("p"),n.textContent="Waiting",X(n,"class","SearchWaiting")},m(e,t){j(e,n,t)},p:U,d(e){e&&z(n)}}}function Ui(t){let r,i,o=!t[16]&&Bi(t),s=t[10],a=[];for(let e=0;e<s.length;e+=1)a[e]=Hi(gi(t,s,e));return{c(){o&&o.c(),r=Z(),i=W("ul");for(let e=0;e<a.length;e+=1)a[e].c();X(i,"class","CasinoGamesGrid")},m(e,t){o&&o.m(e,t),j(e,r,t),j(e,i,t);for(let e=0;e<a.length;e+=1)a[e].m(i,null)},p(t,n){if(t[16]?o&&(o.d(1),o=null):o?o.p(t,n):(o=Bi(t),o.c(),o.m(r.parentNode,r)),17535&n[0]){let e;for(s=t[10],e=0;e<s.length;e+=1){const o=gi(t,s,e);a[e]?a[e].p(o,n):(a[e]=Hi(o),a[e].c(),a[e].m(i,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=s.length}},d(e){o&&o.d(e),e&&z(r),e&&z(i),c(a,e)}}}function Bi(e){let n,r,t,i=e[22]("gamesCategorySection.noRecentSearch")+"";return{c(){n=W("p"),r=V(i),X(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Ur(e[23])?"NoRecentSearchesMobile":""))},m(e,t){j(e,n,t),Y(n,r)},p(e,t){4194304&t[0]&&i!==(i=e[22]("gamesCategorySection.noRecentSearch")+"")&&J(r,i)},d(e){e&&z(n)}}}function Hi(e){let n,r,i,o,s,a,l,c,u,d,h;return{c(){n=W("casino-game-thumbnail"),_(n,"class",r=""+(Wi+(e[67].cellSize||"1x1"))),_(n,"session",e[2]),_(n,"userid",e[3]),_(n,"lang",e[1]),_(n,"searchitem",e[14]),_(n,"favorites",e[4]),_(n,"gamethumbnail",i=e[67].thumbnail),_(n,"gamename",o=e[67].name),_(n,"gamevendor",s=e[67].vendor.name),_(n,"gameisnew",a=e[67].isNew),_(n,"gamepopularity",l=e[67].popularity),_(n,"gamecellsize",c=e[67].cellSize),_(n,"gameid",u=e[67].id),_(n,"gamefunmode",d=e[67].hasFunMode),_(n,"gamefavorite",h=e[67].isFavorite),_(n,"clientstyling",e[5]),_(n,"clientstylingurl",e[6]),_(n,"endpoint",e[0])},m(e,t){j(e,n,t)},p(e,t){1024&t[0]&&r!==(r=""+(Wi+(e[67].cellSize||"1x1")))&&_(n,"class",r),4&t[0]&&_(n,"session",e[2]),8&t[0]&&_(n,"userid",e[3]),2&t[0]&&_(n,"lang",e[1]),16384&t[0]&&_(n,"searchitem",e[14]),16&t[0]&&_(n,"favorites",e[4]),1024&t[0]&&i!==(i=e[67].thumbnail)&&_(n,"gamethumbnail",i),1024&t[0]&&o!==(o=e[67].name)&&_(n,"gamename",o),1024&t[0]&&s!==(s=e[67].vendor.name)&&_(n,"gamevendor",s),1024&t[0]&&a!==(a=e[67].isNew)&&_(n,"gameisnew",a),1024&t[0]&&l!==(l=e[67].popularity)&&_(n,"gamepopularity",l),1024&t[0]&&c!==(c=e[67].cellSize)&&_(n,"gamecellsize",c),1024&t[0]&&u!==(u=e[67].id)&&_(n,"gameid",u),1024&t[0]&&d!==(d=e[67].hasFunMode)&&_(n,"gamefunmode",d),1024&t[0]&&h!==(h=e[67].isFavorite)&&_(n,"gamefavorite",h),32&t[0]&&_(n,"clientstyling",e[5]),64&t[0]&&_(n,"clientstylingurl",e[6]),1&t[0]&&_(n,"endpoint",e[0])},d(e){e&&z(n)}}}function Yi(e){let n;return{c(){n=W("p"),n.textContent="500 Error - Internal Server Error.",X(n,"class","SearchLoading")},m(e,t){j(e,n,t)},d(e){e&&z(n)}}}function ji(e){let n;return{c(){n=W("p"),n.textContent="404 Error - No result found.",X(n,"class","SearchLoading")},m(e,t){j(e,n,t)},d(e){e&&z(n)}}}function zi(n){let r;function i(e){return e[8]?wi:e[12]?yi:mi}let o=i(n),s=o(n);return{c(){r=W("div"),s.c(),this.c=U,X(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){j(e,r,t),s.m(r,null),n[40](r)},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)))},i:U,o:U,d(e){e&&z(r),s.d(),n[40](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends ce{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%}.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)}.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:#DB2777;color:#FDF2F8;font-size:16px;border:2px solid #9D174D;border-radius:4.8px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid #F9A8D4}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14.4px;font-weight:normal}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;top:8px;left:8px}.GameInnerContainer .GameExtraInfoLabel{font-size:11.2px;padding:3.2px;background-color:#DC2626;color:#FEF2F2;font-weight:bold;text-transform:uppercase;border-radius:4.8px}.GameNameBelow{color:#fff;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}</style>",le(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},hi,di,t,{session:25,userid:26,lang:27,clientstyling:28,clientstylingurl:29,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:30,searchitem:31,gamefavorite:0,showfavoredcategory:32,showgamename:8,endpoint:33},null,[-1,-1]),e&&(e.target&&j(e.target,this,e.anchor),e.props&&(this.$set(e.props),G()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","endpoint"]}get session(){return this.$$.ctx[25]}set session(e){this.$$set({session:e}),G()}get userid(){return this.$$.ctx[26]}set userid(e){this.$$set({userid:e}),G()}get lang(){return this.$$.ctx[27]}set lang(e){this.$$set({lang:e}),G()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(e){this.$$set({clientstyling:e}),G()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),G()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),G()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),G()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),G()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),G()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),G()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),G()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),G()}get gamefunmode(){return this.$$.ctx[30]}set gamefunmode(e){this.$$set({gamefunmode:e}),G()}get searchitem(){return this.$$.ctx[31]}set searchitem(e){this.$$set({searchitem:e}),G()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),G()}get showfavoredcategory(){return this.$$.ctx[32]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),G()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$$set({showgamename:e}),G()}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$$set({endpoint:e}),G()}});const Wi="game-tile-";function Vi(e,t,a){let n;we(e,Gr,e=>a(22,n=e));let i,o,s,r,l,c,u,d,{endpoint:h=""}=t,{datasource:p=""}=t,{lang:f=""}=t,{session:g=""}=t,{userid:m=""}=t,{favorites:y=""}=t,{clientstyling:w=""}=t,{clientstylingurl:v=""}=t,{categoryid:b=""}=t,{categoryindex:S=0}=t,{categorygames:x=0}=t,{once:_=!0}=t,{top:C=0}=t,{bottom:M=0}=t,{left:k=0}=t,{right:E=0}=t,$=!1,T=!0,P=window.navigator.userAgent,F=[],I=!0,A=40,D=!1,L=!1,O=!1,R=!1,N=!0,G=!1,U=!1,B=!1,H=new Array(1e3),Y={items:[],count:0,name:""};Object.keys(ni).forEach(e=>{vr(e,ni[e])});let j=new IntersectionObserver((e,t)=>{e.forEach(async e=>{var t=e.target.elems_index;e.isIntersecting&&1.2*t>A&&V(b)})});const z=(e,r,i,t=0)=>{let o=new URL(`${h}/casino/groups/${p}/`+b),s=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(o.searchParams.delete("pagination"),o.searchParams.append("expand","games(vendor)"),o.searchParams.append("fields","id,name,games"),o.searchParams.append("platform",Br(P)),o.searchParams.append("pagination",`games(offset=${r},limit=${i})`),o.searchParams.append("language",f),window.postMessage({type:"CategoryVendors",categoryid:b},window.location.href),s&&s[b])if(s[b].length&&!1===T&&!1===G){let t="";a(15,R=!0),s[b].forEach(e=>{t+=t?", id="+e:"id="+e}),o.searchParams.append("filter",`games(vendor(${t}))`)}else a(15,R=!1);fetch(o).then(e=>e.json()).then(e=>{a(8,$=!1),l=e.games.total,t(e)},e=>{a(8,$=!0),console.error(e),n(e)})})},W=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":a(12,D=!1),T=!1,a(11,I=!1),U=!0,a(10,F=t.data.mostPlayedGames),a(9,s={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":a(12,D=!0),U=!1,a(13,L=!0),0<t.data.searchData.length?(a(10,F=t.data.searchData),a(16,N=!0),F&&F.forEach(e=>{e.isFavorite=Z(e.id)})):(a(10,F=[]),a(16,N=!1));break;case"OutOfRecentSearches":a(12,D=!1),a(13,L=!1);break;case"SearchData":a(12,D=!0),U=!1,a(13,L=!1),a(10,F=t.data.searchData.items||[]),a(14,O=!0),t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items),F&&F.forEach(e=>{e.isFavorite=Z(e.id)});break;case"CategoryData_"+b:a(12,D=!1),T=!0,a(11,I=!0),a(14,O=!1),U=!1,B=!1,t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items),z(t.data.categoryId,0,t.data.visiblegames).then(e=>{a(9,s=e),a(10,F=s.games.items),F&&F.forEach(e=>{e.isFavorite=Z(e.id)})});break;case"CategoryChange":A=20;break;case"CategoryUpdate":a(12,D=!1),T=!1,a(14,O=!1),U=!1,a(11,I=!1),B=!0,a(25,b=t.data.itemId),z(0,0,A).then(e=>{a(9,s=e),s.games.items.forEach(e=>{e.isFavorite=Z(e.id)}),a(10,F=s.games.items),a(11,I=!1)});break;case"FavoriteUpdate":a(12,D=!1),U=!1,T=!0,a(10,F=s.games.items),F.forEach(e=>{e.isFavorite=Z(e.id)}),a(11,I=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items,t.data.triggerFactor&&!G?window.postMessage({type:"FavoriteUpdate"},window.location.href):T||U||window.postMessage({type:"CategoryUpdate",itemId:b},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)}),a(21,Y.items=(n=e,Y.items,r=window.navigator.userAgent,Ur(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})),Y),a(21,Y.name="Favorites",Y),a(19,G=!0));break;case"UserSessionID":i=t.data.session,o=t.data.userID,"true"==y&&o&&o.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=>{u=e?e.items:[],F.forEach(e=>{e.isFavorite=Z(e.id)});e=F;a(10,F=void 0),a(10,F=e),t(u)}).catch(e=>{console.error(e),n(e)})})})(`${h}/player/${o}/favorites/`)}var n,r},V=e=>{A+=10,A<=l&&z(0,0,A).then(e=>{a(9,s=e),a(10,F=s.games.items),F.forEach(e=>{e.isFavorite=Z(e.id)})})},Z=t=>!!u&&-1!==u.findIndex(e=>e.id==t),q=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return ve(()=>(window.addEventListener("message",W,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",W)})),e.$$set=e=>{"endpoint"in e&&a(0,h=e.endpoint),"datasource"in e&&a(26,p=e.datasource),"lang"in e&&a(1,f=e.lang),"session"in e&&a(2,g=e.session),"userid"in e&&a(3,m=e.userid),"favorites"in e&&a(4,y=e.favorites),"clientstyling"in e&&a(5,w=e.clientstyling),"clientstylingurl"in e&&a(6,v=e.clientstylingurl),"categoryid"in e&&a(25,b=e.categoryid),"categoryindex"in e&&a(27,S=e.categoryindex),"categorygames"in e&&a(28,x=e.categorygames),"once"in e&&a(29,_=e.once),"top"in e&&a(30,C=e.top),"bottom"in e&&a(31,M=e.bottom),"left"in e&&a(32,k=e.left),"right"in e&&a(33,E=e.right)},e.$$.update=()=>{128&e.$$.dirty[0]&&H&&B&&H.forEach((e,t)=>{e&&(e.elems_index=t,j.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&w&&(()=>{let e=document.createElement("style");e.innerHTML=w,setTimeout(()=>{d.appendChild(e)})})(),64&e.$$.dirty[0]&&v&&(()=>{let t=document.createElement("style");fetch(new URL(v)).then(e=>e.text()).then(e=>{t.innerHTML=e,d&&setTimeout(()=>{d.appendChild(t)},1)})})()},[h,f,g,m,y,w,v,H,$,s,F,I,D,L,O,R,N,r,c,G,d,Y,n,P,q,b,p,S,x,_,C,M,k,E,function(e){be[e?"unshift":"push"](()=>{c=e,a(18,c)})},e=>q(s.id,s),function(e,t){be[e?"unshift":"push"](()=>{H[t]=e,a(7,H)})},function(e){be[e?"unshift":"push"](()=>{r=e,a(17,r)})},function(e){be[e?"unshift":"push"](()=>{c=e,a(18,c)})},function(e){be[e?"unshift":"push"](()=>{r=e,a(17,r)})},function(e){be[e?"unshift":"push"](()=>{d=e,a(20,d)})}]}function Zi(e,t,n){const r=e.slice();return r[109]=t[n],r[111]=n,r}function qi(n){let r,i,o,s,a="PC"!==Br(n[35])&&"false"===n[8]&&n[31],l=a&&Ji();function c(e){return"false"===e[8]?Qi:Ki}let u=c(n),d=u(n);function h(e){return e[13]?vo:e[20]?wo:e[22]?yo:e[18]?mo:e[23]?go:e[19]?void 0:fo}let p=h(n),f=p&&p(n),g=n[15]&&"true"===n[11]&&_o(n);return{c(){r=W("section"),l&&l.c(),i=Z(),d.c(),o=Z(),f&&f.c(),s=Z(),g&&g.c(),X(r,"class","CategoriesLobby"),E(r,"max-width",n[10]+"px")},m(e,t){j(e,r,t),l&&l.m(r,null),Y(r,i),d.m(r,null),Y(r,o),f&&f.m(r,null),Y(r,s),g&&g.m(r,null),n[64](r)},p(e,t){256&t[0]|1&t[1]&&(a="PC"!==Br(e[35])&&"false"===e[8]&&e[31]),a?l||(l=Ji(),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,o))),p===(p=h(e))&&f?f.p(e,t):(f&&f.d(1),f=p&&p(e),f&&(f.c(),f.m(r,s))),e[15]&&"true"===e[11]?g?g.p(e,t):(g=_o(e),g.c(),g.m(r,null)):g&&(g.d(1),g=null),1024&t[0]&&E(r,"max-width",e[10]+"px")},d(e){e&&z(r),l&&l.d(),d.d(),f&&f.d(),g&&g.d(),n[64](null)}}}function Xi(e){let n;return{c(){n=W("p"),n.textContent="500 Error - Internal Server Error",X(n,"class","SearchLoading")},m(e,t){j(e,n,t)},p:U,d(e){e&&z(n)}}}function Ji(){let n;return{c(){n=W("div"),X(n,"class","SearchBarPlaceholder")},m(e,t){j(e,n,t)},d(e){e&&z(n)}}}function Ki(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y="PC"===Br(n[35])&&n[12].length||"PC"!==Br(n[35]),w=!n[31]&&eo(),v=y&&to(n),b=!n[18]&&!n[22]&&!n[31]&&!n[23]&&!n[19]&&!n[20]&&!n[21]&&no(n);return{c(){r=W("div"),i=W("div"),o=W("label"),o.textContent="Search casino games",s=Z(),a=W("div"),w&&w.c(),l=Z(),c=W("input"),d=Z(),v&&v.c(),p=Z(),b&&b.c(),X(o,"for","search"),X(o,"class","SrOnly"),X(c,"id","SearchField"),X(c,"class","SearchInput"),X(c,"placeholder",u="PC"===Br(n[35])?n[34]("casinoPage.search"):n[34]("casinoPage.searchMobile")),X(c,"type","search"),X(a,"class","SearchWrapper"),X(i,"class",h="SearchContainer "+(n[22]||n[18]||n[23]||n[21]?"":"SearchTruncated")),X(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Br(n[35])?"CategoriesHeaderMobileSection":"")+" "+(n[31]?"SearchMobileActive":"")+" "+(n[31]||n[20]&&"PC"!==Br(n[35])&&!Mo?"CategoriesHeaderSearchActive":"")+(n[25]&&n[31]?"SearchStickTop":"")),E(r,"top",n[25]&&n[31]?ko+"px":"")},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(i,s),Y(i,a),w&&w.m(a,null),Y(a,l),Y(a,c),n[57](c),C(c,n[12]),Y(a,d),v&&v.m(a,null),Y(r,p),b&&b.m(r,null),n[62](r),g||(m=[q(c,"focus",n[37]),q(c,"blur",n[38]),q(c,"input",n[58]),q(c,"focus",n[39])],g=!0)},p(e,t){e[31]?w&&(w.d(1),w=null):w||(w=eo(),w.c(),w.m(a,l)),8&t[1]&&u!==(u="PC"===Br(e[35])?e[34]("casinoPage.search"):e[34]("casinoPage.searchMobile"))&&X(c,"placeholder",u),4096&t[0]&&C(c,e[12]),4096&t[0]&&(y="PC"===Br(e[35])&&e[12].length||"PC"!==Br(e[35])),y?v?v.p(e,t):(v=to(e),v.c(),v.m(a,null)):v&&(v.d(1),v=null),14942208&t[0]&&h!==(h="SearchContainer "+(e[22]||e[18]||e[23]||e[21]?"":"SearchTruncated"))&&X(i,"class",h),e[18]||e[22]||e[31]||e[23]||e[19]||e[20]||e[21]?b&&(b.d(1),b=null):b?b.p(e,t):(b=no(e),b.c(),b.m(r,null)),34603008&t[0]|1&t[1]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Br(e[35])?"CategoriesHeaderMobileSection":"")+" "+(e[31]?"SearchMobileActive":"")+" "+(e[31]||e[20]&&"PC"!==Br(e[35])&&!Mo?"CategoriesHeaderSearchActive":"")+(e[25]&&e[31]?"SearchStickTop":""))&&X(r,"class",f),33554432&t[0]|1&t[1]&&E(r,"top",e[25]&&e[31]?ko+"px":"")},d(e){e&&z(r),w&&w.d(),n[57](null),v&&v.d(),b&&b.d(),n[62](null),g=!1,B(m)}}}function Qi(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y="PC"===Br(n[35])&&n[12].length||"PC"!==Br(n[35]),w=!n[31]&&ao(),v=y&&lo(n),b=!n[18]&&!n[22]&&!n[31]&&!n[23]&&!n[19]&&!n[20]&&!n[21]&&co(n);return{c(){r=W("div"),i=W("div"),o=W("label"),o.textContent="Search casino games",s=Z(),a=W("div"),w&&w.c(),l=Z(),c=W("input"),d=Z(),v&&v.c(),p=Z(),b&&b.c(),X(o,"for","search"),X(o,"class","SrOnly"),X(c,"id","SearchField"),X(c,"class","SearchInput"),X(c,"placeholder",u="PC"===Br(n[35])?n[34]("casinoPage.search"):n[34]("casinoPage.searchMobile")),X(c,"type","search"),X(a,"class","SearchWrapper"),X(i,"class",h="SearchContainer "+(n[22]||n[18]||n[23]||n[21]?"":"SearchTruncated")),X(r,"class",f="CategoriesHeaderSection "+("PC"!==Br(n[35])?"CategoriesHeaderMobileSection":"")+" "+(n[31]?"SearchMobileActive":"")+" "+(n[31]||n[20]&&"PC"!==Br(n[35])&&!Mo?"CategoriesHeaderSearchActive":"")+" "+(n[25]&&n[31]?"SearchStickTop":"")),E(r,"top",n[25]&&n[31]?ko+"px":"")},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(i,s),Y(i,a),w&&w.m(a,null),Y(a,l),Y(a,c),n[51](c),C(c,n[12]),Y(a,d),v&&v.m(a,null),Y(r,p),b&&b.m(r,null),n[56](r),g||(m=[q(c,"focus",n[37]),q(c,"blur",n[38]),q(c,"input",n[52]),q(c,"focus",n[39])],g=!0)},p(e,t){e[31]?w&&(w.d(1),w=null):w||(w=ao(),w.c(),w.m(a,l)),8&t[1]&&u!==(u="PC"===Br(e[35])?e[34]("casinoPage.search"):e[34]("casinoPage.searchMobile"))&&X(c,"placeholder",u),4096&t[0]&&C(c,e[12]),4096&t[0]&&(y="PC"===Br(e[35])&&e[12].length||"PC"!==Br(e[35])),y?v?v.p(e,t):(v=lo(e),v.c(),v.m(a,null)):v&&(v.d(1),v=null),14942208&t[0]&&h!==(h="SearchContainer "+(e[22]||e[18]||e[23]||e[21]?"":"SearchTruncated"))&&X(i,"class",h),e[18]||e[22]||e[31]||e[23]||e[19]||e[20]||e[21]?b&&(b.d(1),b=null):b?b.p(e,t):(b=co(e),b.c(),b.m(r,null)),34603008&t[0]|1&t[1]&&f!==(f="CategoriesHeaderSection "+("PC"!==Br(e[35])?"CategoriesHeaderMobileSection":"")+" "+(e[31]?"SearchMobileActive":"")+" "+(e[31]||e[20]&&"PC"!==Br(e[35])&&!Mo?"CategoriesHeaderSearchActive":"")+" "+(e[25]&&e[31]?"SearchStickTop":""))&&X(r,"class",f),33554432&t[0]|1&t[1]&&E(r,"top",e[25]&&e[31]?ko+"px":"")},d(e){e&&z(r),w&&w.d(),n[51](null),v&&v.d(),b&&b.d(),n[56](null),g=!1,B(m)}}}function eo(){let n;return{c(){n=W("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>',X(n,"class","SearchIcon")},m(e,t){j(e,n,t)},d(e){e&&z(n)}}}function to(n){let r,i,o,s;return{c(){r=W("span"),i=W("div"),i.innerHTML='<div class="CloseIconWrapper"><div class="CloseIcon"></div></div>',X(i,"class","CloseIconContainer"),X(r,"class","PC"===Br(n[35])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){j(e,r,t),Y(r,i),o||(s=q(r,"click",n[59]),o=!0)},p:U,d(e){e&&z(r),o=!1,s()}}}function no(e){let n,r,i=e[32]&&ro(e),o=(!e[20]||!e[19])&&io(e);return{c(){n=W("div"),i&&i.c(),r=Z(),o&&o.c(),X(n,"class","FiltersButtonsContainer ")},m(e,t){j(e,n,t),i&&i.m(n,null),Y(n,r),o&&o.m(n,null)},p(e,t){e[32]?i?i.p(e,t):(i=ro(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[20]&&e[19]?o&&(o.d(1),o=null):o?o.p(e,t):(o=io(e),o.c(),o.m(n,null))},d(e){e&&z(n),i&&i.d(),o&&o.d()}}}function ro(n){let r,i,o,s,a;return{c(){r=W("div"),i=W("div"),i.innerHTML='Clear\n <span class="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:#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>',X(i,"class","ClearButton"),X(r,"class",o="ClearFilterButtonWrapper "+(n[32]?"FiltersActive":""))},m(e,t){j(e,r,t),Y(r,i),s||(a=q(r,"click",n[60]),s=!0)},p(e,t){2&t[1]&&o!==(o="ClearFilterButtonWrapper "+(e[32]?"FiltersActive":""))&&X(r,"class",o)},d(e){e&&z(r),s=!1,a()}}}function io(e){let n,r=!e[23]&&oo(e);return{c(){r&&r.c(),n=u()},m(e,t){r&&r.m(e,t),j(e,n,t)},p(e,t){e[23]?r&&(r.d(1),r=null):r?r.p(e,t):(r=oo(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&z(n)}}}function oo(n){let r,i,o,s,a,l,c,u,d,h,p,f,g=0<n[32]&&so(n);return{c(){r=W("div"),i=W("div"),i.textContent="Filters",o=Z(),s=W("div"),a=x("svg"),l=x("defs"),c=x("style"),u=V(".a{fill:#fff;}"),d=x("path"),h=Z(),g&&g.c(),X(i,"class","FilterButton"),X(d,"class","a"),X(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"),X(d,"transform","translate(-5 -6.2)"),X(a,"xmlns","http://www.w3.org/2000/svg"),X(a,"width","20"),X(a,"height","20"),X(a,"viewBox","0 0 26 26"),X(s,"class","FilterIconContainer"),X(r,"class","FilterButtonWrapper")},m(e,t){j(e,r,t),Y(r,i),Y(r,o),Y(r,s),Y(s,a),Y(a,l),Y(l,c),Y(c,u),Y(a,d),Y(s,h),g&&g.m(s,null),p||(f=q(r,"click",n[61]),p=!0)},p(e,t){0<e[32]?g?g.p(e,t):(g=so(e),g.c(),g.m(s,null)):g&&(g.d(1),g=null)},d(e){e&&z(r),g&&g.d(),p=!1,f()}}}function so(e){let n,r,i;return{c(){n=W("div"),r=W("span"),i=V(e[32]),X(r,"class","NumberOfFilters"),X(n,"class","NumberOfFiltersContainer")},m(e,t){j(e,n,t),Y(n,r),Y(r,i)},p(e,t){2&t[1]&&J(i,e[32])},d(e){e&&z(n)}}}function ao(){let n;return{c(){n=W("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>',X(n,"class","SearchIcon")},m(e,t){j(e,n,t)},d(e){e&&z(n)}}}function lo(n){let r,i,o,s;return{c(){r=W("span"),i=W("div"),i.innerHTML='<div class="CloseIconWrapper"><div class="CloseIcon"></div></div>',X(i,"class","CloseIconContainer"),X(r,"class","PC"===Br(n[35])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){j(e,r,t),Y(r,i),o||(s=q(r,"click",n[53]),o=!0)},p:U,d(e){e&&z(r),o=!1,s()}}}function co(e){let n,r,i=e[32]&&uo(e),o=(!e[20]||!e[19])&&ho(e);return{c(){n=W("div"),i&&i.c(),r=Z(),o&&o.c(),X(n,"class","FiltersButtonsContainer")},m(e,t){j(e,n,t),i&&i.m(n,null),Y(n,r),o&&o.m(n,null)},p(e,t){e[32]?i?i.p(e,t):(i=uo(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[20]&&e[19]?o&&(o.d(1),o=null):o?o.p(e,t):(o=ho(e),o.c(),o.m(n,null))},d(e){e&&z(n),i&&i.d(),o&&o.d()}}}function uo(n){let r,i,o;return{c(){r=W("div"),r.innerHTML='<div class="ClearButton">Clear\n <span class="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:#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>',X(r,"class","ClearFilterButtonWrapper")},m(e,t){j(e,r,t),i||(o=q(r,"click",n[54]),i=!0)},p:U,d(e){e&&z(r),i=!1,o()}}}function ho(e){let n,r=!e[23]&&po(e);return{c(){r&&r.c(),n=u()},m(e,t){r&&r.m(e,t),j(e,n,t)},p(e,t){e[23]?r&&(r.d(1),r=null):r?r.p(e,t):(r=po(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&z(n)}}}function po(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y;return{c(){r=W("div"),i=W("div"),i.textContent="Filters",o=Z(),s=W("div"),a=x("svg"),l=x("defs"),c=x("style"),u=V(".a{fill:#fff;}"),d=x("path"),h=Z(),p=W("div"),f=W("span"),g=V(n[32]),X(i,"class","FilterButton"),X(d,"class","a"),X(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"),X(d,"transform","translate(-5 -6.2)"),X(a,"xmlns","http://www.w3.org/2000/svg"),X(a,"width","20"),X(a,"height","20"),X(a,"viewBox","0 0 26 26"),X(f,"class","NumberOfFilters"),X(p,"class","NumberOfFiltersContainer"),X(s,"class","FilterIconContainer"),X(r,"class","FilterButtonWrapper")},m(e,t){j(e,r,t),Y(r,i),Y(r,o),Y(r,s),Y(s,a),Y(a,l),Y(l,c),Y(c,u),Y(a,d),Y(s,h),Y(s,p),Y(p,f),Y(f,g),m||(y=q(r,"click",n[55]),m=!0)},p(e,t){2&t[1]&&J(g,e[32])},d(e){e&&z(r),m=!1,y()}}}function fo(e){let n;return{c(){n=W("casino-games-category-section"),_(n,"userid",e[4]),_(n,"endpoint",e[0]),_(n,"datasource",e[1]),_(n,"favorites",e[9]),_(n,"lang",e[2]),_(n,"session",e[3]),_(n,"categoryid",e[28]),_(n,"categorygames","9"),_(n,"class","CategoryContainer"),_(n,"clientstyling",e[5]),_(n,"clientstylingurl",e[6])},m(e,t){j(e,n,t)},p(e,t){16&t[0]&&_(n,"userid",e[4]),1&t[0]&&_(n,"endpoint",e[0]),2&t[0]&&_(n,"datasource",e[1]),512&t[0]&&_(n,"favorites",e[9]),4&t[0]&&_(n,"lang",e[2]),8&t[0]&&_(n,"session",e[3]),268435456&t[0]&&_(n,"categoryid",e[28]),32&t[0]&&_(n,"clientstyling",e[5]),64&t[0]&&_(n,"clientstylingurl",e[6])},d(e){e&&z(n)}}}function go(e){let n;function r(e){return e[24]?So:bo}let i=r(e),o=i(e);return{c(){o.c(),n=u()},m(e,t){o.m(e,t),j(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&z(n)}}}function mo(n){let r,i,o,s;return{c(){r=W("casino-games-category-section"),_(r,"session",n[3]),_(r,"userid",n[4]),_(r,"endpoint",n[0]),_(r,"datasource",n[1]),_(r,"lang",n[2]),_(r,"favorites",n[9]),_(r,"categoryid","FAVORITES"),_(r,"class","CategoryContainer"),_(r,"clientstyling",n[5]),_(r,"clientstylingurl",n[6])},m(e,t){j(e,r,t),o||(s=l(i=n[36].call(null,r,(n[0],n[16],n[17],n[16]))),o=!0)},p(e,t){8&t[0]&&_(r,"session",e[3]),16&t[0]&&_(r,"userid",e[4]),1&t[0]&&_(r,"endpoint",e[0]),2&t[0]&&_(r,"datasource",e[1]),4&t[0]&&_(r,"lang",e[2]),512&t[0]&&_(r,"favorites",e[9]),32&t[0]&&_(r,"clientstyling",e[5]),64&t[0]&&_(r,"clientstylingurl",e[6]),i&&m(i.update)&&196609&t[0]&&i.update.call(null,(e[0],e[16],e[17],e[16]))},d(e){e&&z(r),o=!1,s()}}}function yo(t){let i,o=t[27],s=[];for(let e=0;e<o.length;e+=1)s[e]=xo(Zi(t,o,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();i=u()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);j(t,i,n)},p(t,n){if(134218495&n[0]){let e;for(o=t[27],e=0;e<o.length;e+=1){var r=Zi(t,o,e);s[e]?s[e].p(r,n):(s[e]=xo(r),s[e].c(),s[e].m(i.parentNode,i))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){c(s,e),e&&z(i)}}}function wo(n){let r,i,o,s;return{c(){r=W("casino-games-category-section"),_(r,"endpoint",n[0]),_(r,"datasource",n[1]),_(r,"lang",n[2]),_(r,"session",n[3]),_(r,"userid",n[4]),_(r,"categoryid","Search"),_(r,"favorites",n[9]),_(r,"categoryindex","0"),_(r,"clientstyling",n[5]),_(r,"clientstylingurl",n[6])},m(e,t){j(e,r,t),o||(s=l(i=n[44].call(null,r,n[26])),o=!0)},p(e,t){1&t[0]&&_(r,"endpoint",e[0]),2&t[0]&&_(r,"datasource",e[1]),4&t[0]&&_(r,"lang",e[2]),8&t[0]&&_(r,"session",e[3]),16&t[0]&&_(r,"userid",e[4]),512&t[0]&&_(r,"favorites",e[9]),32&t[0]&&_(r,"clientstyling",e[5]),64&t[0]&&_(r,"clientstylingurl",e[6]),i&&m(i.update)&&67108864&t[0]&&i.update.call(null,e[26])},d(e){e&&z(r),o=!1,s()}}}function vo(e){let n,r,i=e[34]("casinoPage.loading")+"";return{c(){n=W("p"),r=V(i),X(n,"class","SearchLoading")},m(e,t){j(e,n,t),Y(n,r)},p(e,t){8&t[1]&&i!==(i=e[34]("casinoPage.loading")+"")&&J(r,i)},d(e){e&&z(n)}}}function bo(e){let n;return{c(){n=W("casino-games-category-section"),_(n,"session",e[3]),_(n,"userid",e[4]),_(n,"endpoint",e[0]),_(n,"datasource",e[1]),_(n,"lang",e[2]),_(n,"favorites",e[9]),_(n,"categoryid","MOSTPLAYED"),_(n,"categoryindex","1"),_(n,"categorygames","9"),_(n,"class","CategoryContainer"),_(n,"clientstyling",e[5]),_(n,"clientstylingurl",e[6])},m(e,t){j(e,n,t)},p(e,t){8&t[0]&&_(n,"session",e[3]),16&t[0]&&_(n,"userid",e[4]),1&t[0]&&_(n,"endpoint",e[0]),2&t[0]&&_(n,"datasource",e[1]),4&t[0]&&_(n,"lang",e[2]),512&t[0]&&_(n,"favorites",e[9]),32&t[0]&&_(n,"clientstyling",e[5]),64&t[0]&&_(n,"clientstylingurl",e[6])},d(e){e&&z(n)}}}function So(e){let n;return{c(){n=W("p"),n.textContent="You have no games played!",X(n,"class","SearchLoading")},m(e,t){j(e,n,t)},p:U,d(e){e&&z(n)}}}function xo(n){let r,i,e,o,s,a;return{c(){r=W("casino-games-category-section"),_(r,"session",n[3]),_(r,"userid",n[4]),_(r,"endpoint",n[0]),_(r,"datasource",n[1]),_(r,"lang",n[2]),_(r,"categoryid",i=n[109]),_(r,"categoryindex",e=n[111]),_(r,"categorygames","9"),_(r,"favorites",n[9]),_(r,"class","CategoryContainer"),E(r,"background-color",n[111]%2!=0?n[7]:"transparent"),_(r,"clientstyling",n[5]),_(r,"clientstylingurl",n[6])},m(e,t){j(e,r,t),s||(a=l(o=n[43].call(null,r,n[109])),s=!0)},p(e,t){n=e,8&t[0]&&_(r,"session",n[3]),16&t[0]&&_(r,"userid",n[4]),1&t[0]&&_(r,"endpoint",n[0]),2&t[0]&&_(r,"datasource",n[1]),4&t[0]&&_(r,"lang",n[2]),134217728&t[0]&&i!==(i=n[109])&&_(r,"categoryid",i),512&t[0]&&_(r,"favorites",n[9]),128&t[0]&&E(r,"background-color",n[111]%2!=0?n[7]:"transparent"),32&t[0]&&_(r,"clientstyling",n[5]),64&t[0]&&_(r,"clientstylingurl",n[6]),o&&m(o.update)&&134217728&t[0]&&o.update.call(null,n[109])},d(e){e&&z(r),s=!1,a()}}}function _o(n){let r,i,o,s,a,l,c,u,d,h,e,p,f,g=n[34]("casinoPage.break")+"",m=n[34]("casinoPage.breakButton")+"";return{c(){r=W("div"),i=W("div"),o=x("svg"),s=x("path"),a=Z(),l=W("p"),c=V(g),u=Z(),d=W("button"),h=V(m),X(s,"stroke-linecap","round"),X(s,"stroke-linejoin","round"),X(s,"stroke-width","2"),X(s,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),X(o,"class","w-1 h-1"),X(o,"fill","none"),X(o,"stroke","white"),X(o,"width","34px"),X(o,"height","34px"),X(o,"viewBox","0 0 24 24"),X(o,"xmlns","http://www.w3.org/2000/svg"),X(i,"class","PanicText"),X(d,"class","PanicButton"),X(r,"class",e="PanicSection "+("PC"!==Br(n[35])?"PanicSectionMobile":""))},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(o,s),Y(i,a),Y(i,l),Y(l,c),Y(r,u),Y(r,d),Y(d,h),p||(f=q(d,"click",n[63]),p=!0)},p(e,t){8&t[1]&&g!==(g=e[34]("casinoPage.break")+"")&&J(c,g),8&t[1]&&m!==(m=e[34]("casinoPage.breakButton")+"")&&J(h,m)},d(e){e&&z(r),p=!1,f()}}}function Co(e){let n;function r(e){return e[14]?Xi:qi}let i=r(e),o=i(e);return{c(){o.c(),n=u(),this.c=U},m(e,t){o.m(e,t),j(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},i:U,o:U,d(e){o.d(e),e&&z(n)}}}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends ce{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:#fff;font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:#fff}.NoSearchResults{color:#fff;text-align:left;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoRecentSearchesCenter.NoRecentSearchesMobile{text-align:left}.NoFavoriteGames{color:#fff;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:#fff;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}.CasinoGamesHeader.CasinoGamesHeaderMobile.Searched{justify-content:flex-start}.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:dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.SearchLoading{display:block;padding:50px;color:#fff}</style>",le(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Vi,zi,t,{endpoint:0,datasource:26,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,categoryid:25,categoryindex:27,categorygames:28,once:29,top:30,bottom:31,left:32,right:33},null,[-1,-1,-1]),e&&(e.target&&j(e.target,this,e.anchor),e.props&&(this.$set(e.props),G()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","categoryid","categoryindex","categorygames","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),G()}get datasource(){return this.$$.ctx[26]}set datasource(e){this.$$set({datasource:e}),G()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),G()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),G()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),G()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),G()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),G()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),G()}get categoryid(){return this.$$.ctx[25]}set categoryid(e){this.$$set({categoryid:e}),G()}get categoryindex(){return this.$$.ctx[27]}set categoryindex(e){this.$$set({categoryindex:e}),G()}get categorygames(){return this.$$.ctx[28]}set categorygames(e){this.$$set({categorygames:e}),G()}get once(){return this.$$.ctx[29]}set once(e){this.$$set({once:e}),G()}get top(){return this.$$.ctx[30]}set top(e){this.$$set({top:e}),G()}get bottom(){return this.$$.ctx[31]}set bottom(e){this.$$set({bottom:e}),G()}get left(){return this.$$.ctx[32]}set left(e){this.$$set({left:e}),G()}get right(){return this.$$.ctx[33]}set right(e){this.$$set({right:e}),G()}});let Mo=!1;const ko=0;function Eo(e,t,o){let n;we(e,Gr,e=>o(34,n=e));let s,a,l,c,i,u,d,h,r,p,f,{endpoint:g=""}=t,{datasource:m=""}=t,{lang:y=""}=t,{session:w=""}=t,{userid:v=""}=t,{clientstyling:b=""}=t,{clientstylingurl:S=""}=t,{categorybackground:x=""}=t,{visiblegames:_="6"}=t,{alternativesearch:C="false"}=t,{favorites:M=""}=t,{mostplayed:k=""}=t,{lobbyid:E="casinodefault"}=t,{containermaxwidth:$=""}=t,{haspanicbutton:T="false"}=t,P=!1,F=!1,I=!1,A="",D=!1,L=!1,O=!0,R=!1,N=!1,G=!1,U=!0,B=!1,H=!1,Y=!1,j=!0,z=[],W="",V=window.navigator.userAgent,Z=[],q=[],X=!1,J=[],K=0,Q="";var ee,te;({withLocale:ee,translations:te}={withLocale:"en",translations:{}}),Tr.subscribe(e=>{null==e&&(yr.set(te),Tr.set(ee))}),Object.keys(ti).forEach(e=>{vr(e,ti[e])});const ne=e=>{if(e.data)switch(e.data.type){case"CategoryChange":(e=>{switch(o(20,R=!1),o(12,W=""),e.data.itemId){case"LOBBY":o(22,U=!0),o(18,D=!1),o(28,c=""),o(23,B=!1);break;case"FAVORITES":o(22,U=!1),o(18,D=!0),o(23,B=!1),o(28,c="");break;case"MOSTPLAYED":"true"==k&&(o(13,P=!0),(e=>{let r=new URL(`${g}/player/${s}/games/most-played`);e.limit&&r.searchParams.append("limit",e.limit),e.order&&r.searchParams.append("order",e.order);let t=e.device;return t?"PC"===t?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"):r.searchParams.append("device","All"),e.rounds&&r.searchParams.append("rounds",e.rounds),new Promise((t,n)=>{fetch(r.href).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)})})})({limit:100,device:Br(V),rounds:10}).then(e=>{if(o(13,P=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(g+"/casino/games/"+e.gameId);t.searchParams.append("datasource",m),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{Z=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:Z},window.location.href)})}else o(24,H=!0)}),o(28,c=""),o(22,U=!1),o(18,D=!1),o(23,B=!0));break;default:o(22,U=!1),o(18,D=!1),o(23,B=!1),o(28,c=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:c,index:e.data.index},window.location.href)})}})(e);break;case"UserSessionID":o(17,a=e.data.session),o(16,s=e.data.userID),s&&s.length&&a&&0<a.length&&re(g,a,s);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0},window.location.href);break;case"SetUnfavoredGame":n=`${g}/player/${s}/favorites`,r=a,s,i=e.data.id,e.data.triggerFactor,q.includes(i)&&(q=q.filter(e=>e!=i)),fetch(n+"/"+i,{method:"DELETE",headers:{"X-SessionID":r}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+i},window.location.href),ie(n,r)});break;case"SetFavoredGame":((t,n,r)=>{q.includes(r)||q.push(r);let e={items:q},i={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t,i).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),ie(t,n)}).catch(e=>{console.error("Err",e)})})(`${g}/player/${s}/favorites`,a,(s,e.data.id),e.data.triggerFactor);break;case"GetFavoredGame":s&&s.length&&a&&0<a.length&&re(g,a,s);break;case"SearchedItemClicked":(t=>{if(J=ae(`searchedGamesWds_${E}`),J=J?J.split(","):[],-1===J.indexOf(t)){let e;J.push(t),e=J.join(","),document.cookie=`searchedGamesWds_${E}=`+e}})(e.data.gameId);break;case"UpdateFilters":t=e.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),ue();break;case"ClearFilters":t=e.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:t},window.location.href),ue();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:Q},window.location.href),ue();break;case"CategoryVendors":Q=e.data.categoryid,ue();break;case"GameHovered":N=!0;break;case"GameBlur":N=!1}var t,n,r,i};let re=(e,t,n)=>{"true"==M&&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),oe(r.items)),r)).catch(e=>{console.error(e)}),D&&se())},ie=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,D&&se(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const oe=(e=[])=>(q=[],0<e.length&&e.forEach(e=>{q.push(e.id)}),q);const se=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},ae=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},le=()=>{if(g&&m&&y&&W.length<2){let e=ae("searchedGamesWds_"+E),t=[];e&&(t=e.split(",")),1!=U||O||(o(21,G=U),o(22,U=!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",y),e.searchParams.append("datasource",m),e.searchParams.append("platform",Br(V)),n.push((e=>new Promise((t,n)=>{o(13,P=!0),fetch(e).then(e=>e.json()).then(e=>{o(13,P=!1),t(e[0])}).catch(e=>{o(14,F=!0),o(13,P=!1),console.error(e),n(e)})}))(e))}Promise.all(n).then(e=>{o(26,l=e),he(0,l)})}else he(0,{})}},ce=()=>{W.length<2&&!N&&(o(20,R=!1),o(26,l=[]),o(19,L=!1),o(22,U=G),o(21,G=!1),!1===U&&window.postMessage({type:"CategoryUpdate",itemId:c},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},ue=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&Q&&(e[Q]?o(32,K=e[Q].length):o(32,K=0))},de=()=>{o(50,j=!0),o(12,W=""),o(26,l=[]),o(19,L=!1),ce()},he=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},pe=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},fe=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},ge=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},me=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},ye=()=>{u&&(d=u.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>d||130<d?o(25,Y=!0):o(25,Y=!1)};return ve(()=>(window.addEventListener("scroll",ye,!1),window.addEventListener("message",ne,!1),()=>{window.removeEventListener("scroll",ye),window.removeEventListener("message",ne)})),e.$$set=e=>{"endpoint"in e&&o(0,g=e.endpoint),"datasource"in e&&o(1,m=e.datasource),"lang"in e&&o(2,y=e.lang),"session"in e&&o(3,w=e.session),"userid"in e&&o(4,v=e.userid),"clientstyling"in e&&o(5,b=e.clientstyling),"clientstylingurl"in e&&o(6,S=e.clientstylingurl),"categorybackground"in e&&o(7,x=e.categorybackground),"visiblegames"in e&&o(46,_=e.visiblegames),"alternativesearch"in e&&o(8,C=e.alternativesearch),"favorites"in e&&o(9,M=e.favorites),"mostplayed"in e&&o(47,k=e.mostplayed),"lobbyid"in e&&o(48,E=e.lobbyid),"containermaxwidth"in e&&o(10,$=e.containermaxwidth),"haspanicbutton"in e&&o(11,T=e.haspanicbutton)},e.$$.update=()=>{if(4096&e.$$.dirty[0]&&W&&(2<=W.length?o(50,j=!0):o(50,j=!1)),4099&e.$$.dirty[0]|786432&e.$$.dirty[1])if(2<=W.length){o(20,R=!0);let e=new URL(g+"/casino/games");e.searchParams.append("datasource",m),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+W),r=e,new Promise((t,n)=>{o(13,P=!0),fetch(r).then(e=>e.json()).then(e=>{o(13,P=!1),t(e)}).catch(e=>{o(14,F=!0),o(13,P=!1),console.error(e),n(e)})}).then(e=>{o(26,l=e),ge(0,e)})}else j||le(),O&&o(49,O=!1);var r;25&e.$$.dirty[0]&&w&&v&&g&&(o(15,I=!0),o(17,a=w),o(16,s=v)),263&e.$$.dirty[0]&&g&&m&&y&&C&&(()=>{if(g||(A="Endpoint is missing! Please provide a valid endpointURL.",o(14,F=!0),o(13,P=!1),console.error(A)),m||(A="Datasource is missing! Please provide a valid datasource.",o(14,F=!0),o(13,P=!1),console.error(A)),y&&2==y.length||(A="Language is missing! Please provide a valid language (alpha2code)",o(14,F=!0),o(13,P=!1),console.error(A)),!F){o(13,P=!0),"true"==M&&re(g,a,s);let e=new URL(g+"/casino/groups/"+m);e.searchParams.append("language",y),e.searchParams.append("platform",Br(V)),r=e,new Promise((t,n)=>{o(13,P=!0),fetch(r).then(e=>e.json()).then(e=>{o(13,P=!1),t(e)}).catch(e=>{o(14,F=!0),o(13,P=!1),console.error(e),n(e)})}).then(e=>{e&&(h=e.items.filter(e=>0<e.games.total),o(27,z=h.map(e=>e.id)),o(13,P=!1))}),"PC"!==Br(V)&&(p.addEventListener("focusin",e=>{o(31,X=!0)}),p.addEventListener("focusout",e=>{o(31,X=!1)})),ue(),u=i,u&&(d=u.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}var r})(),32&e.$$.dirty[0]&&b&&(()=>{let e=document.createElement("style");e.innerHTML=b,f.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,f&&setTimeout(()=>{f.appendChild(t)},1)})})()},[g,m,y,w,v,b,S,x,C,M,$,T,W,P,F,I,s,a,D,L,R,G,U,B,H,Y,l,z,c,i,p,X,K,f,n,V,se,le,ce,()=>{window.postMessage({type:"scroll"},window.location.href)},de,pe,fe,(e,t)=>{Q=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:_,receivedFavoriteResults:r},window.location.href)},ge,me,_,k,E,O,j,function(e){be[e?"unshift":"push"](()=>{p=e,o(30,p)})},function(){W=this.value,o(12,W)},()=>de(),()=>fe(),()=>{pe()},function(e){be[e?"unshift":"push"](()=>{i=e,o(29,i)})},function(e){be[e?"unshift":"push"](()=>{p=e,o(30,p)})},function(){W=this.value,o(12,W)},()=>de(),()=>fe(),()=>{pe()},function(e){be[e?"unshift":"push"](()=>{i=e,o(29,i)})},()=>me(),function(e){be[e?"unshift":"push"](()=>{f=e,o(33,f)})}]}function $o(e,{delay:t=0,duration:n=400,easing:r=g}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function To(n){let r,i,o,s,a,t,l,c,u;return{c(){r=W("div"),i=W("div"),i.innerHTML="<slot></slot>",o=Z(),s=W("span"),s.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>',X(i,"class","ModalContainer"),X(s,"class","ModalCloseBtn"),X(s,"role","button"),X(r,"class","ModalWindow"),X(r,"id","Modal"),L(()=>n[13].call(r))},m(e,t){j(e,r,t),Y(r,i),Y(r,o),Y(r,s),n[12](r),a=f(r,n[13].bind(r)),l=!0,c||(u=q(s,"click",n[6]),c=!0)},p(e,t){n=e},i(e){l||(L(()=>{t=t||se(r,$o,{transitionDuration:n[1]},!0),t.run(1)}),l=!0)},o(e){t=t||se(r,$o,{transitionDuration:n[1]},!1),t.run(0),l=!1},d(e){e&&z(r),n[12](null),a(),e&&t&&t.end(),c=!1,u()}}}function Po(n){let r,i,o=n[0]&&To(n);return{c(){r=W("div"),o&&o.c(),this.c=U},m(e,t){j(e,r,t),o&&o.m(r,null),n[14](r),i=!0},p(e,[t]){e[0]?o?(o.p(e,t),1&t&&re(o,1)):(o=To(e),o.c(),re(o,1),o.m(r,null)):o&&(te(),ie(o,1,1,()=>{o=null}),ne())},i(e){i||(re(o),i=!0)},o(e){ie(o),i=!1},d(e){e&&z(r),o&&o.d(),n[14](null)}}}function Fo(e,t,n){let r,i,o,s,{show:a=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,f=!1;const g=e=>{var t;"ModalClosed"==e.data.type&&n(0,a=!1),"ShowGameModal"===e.data.type&&(n(0,a=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(0,a=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(f=e.data.detailsObtained)},m=e=>{var t;f&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return ve(()=>(window.addEventListener("message",g,!1),window.addEventListener("resize",m,!1),()=>{window.removeEventListener("message",g),window.removeEventListener("resize",g)})),e.$$set=e=>{"show"in e&&n(0,a=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(7,c=e.session),"userid"in e&&n(8,u=e.userid),"clientstyling"in e&&n(9,d=e.clientstyling),"clientstylingurl"in e&&n(10,h=e.clientstylingurl),"endpoint"in e&&n(11,p=e.endpoint)},e.$$.update=()=>{2432&e.$$.dirty&&c&&u&&p&&Hr(p,c).then(e=>{},e=>{console.error("err on session",e)}),512&e.$$.dirty&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,a&&setTimeout(()=>{r.appendChild(e)})})(),1024&e.$$.dirty&&h&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},[a,l,r,i,void 0,void 0,()=>{n(0,a=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},c,u,d,h,p,function(e){be[e?"unshift":"push"](()=>{r=e,n(2,r)})},function(){o=this.clientWidth,s=this.clientHeight,n(4,o),n(5,s)},function(e){be[e?"unshift":"push"](()=>{i=e,n(3,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends ce{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;padding:0 10px}.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:#fff}.PanicButton{border-radius:2px;border:1px solid #D0046C;background-color:#D0046C;width:240px;height:48px;color:#fff;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}.SearchLoading{color:#fff;font-size:14.4px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:640px;margin:0 auto}.SearchContainer.SearchTruncated{margin:auto 0 auto 25%}.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:0;padding-left:8px;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:25.6px;height:25.6px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:100%;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:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;border:1px solid #58586B;border-radius:5px;text-transform:uppercase;color:#fff;cursor:pointer}.ClearFilterButtonWrapper{border:1px solid #FD2839;color:#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 #D0046C;background:#D0046C;color:#fff;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:#fff}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:25px}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:#fff;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:#fff}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid #fff;border-radius:0;background:#fff;color:#D0046C}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:#D0046C}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:#07072A}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:90%;border:1px solid #58586B;border-radius:6.4px;background-color:transparent;color:#fff;padding:12px 50px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:90%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:75px;right:0;font-size:13px;gap:6px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid #fff;background:transparent;color:#fff;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:30px;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:#000}.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:#FFF;transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:#FFF;transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:#FD2839}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:#FD2839}</style>",le(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Eo,Co,t,{endpoint:0,datasource:1,lang:2,session:3,userid:4,clientstyling:5,clientstylingurl:6,categorybackground:7,visiblegames:46,alternativesearch:8,favorites:9,mostplayed:47,lobbyid:48,containermaxwidth:10,haspanicbutton:11},null,[-1,-1,-1,-1]),e&&(e.target&&j(e.target,this,e.anchor),e.props&&(this.$set(e.props),G()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lobbyid","containermaxwidth","haspanicbutton"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),G()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),G()}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),G()}get session(){return this.$$.ctx[3]}set session(e){this.$$set({session:e}),G()}get userid(){return this.$$.ctx[4]}set userid(e){this.$$set({userid:e}),G()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),G()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),G()}get categorybackground(){return this.$$.ctx[7]}set categorybackground(e){this.$$set({categorybackground:e}),G()}get visiblegames(){return this.$$.ctx[46]}set visiblegames(e){this.$$set({visiblegames:e}),G()}get alternativesearch(){return this.$$.ctx[8]}set alternativesearch(e){this.$$set({alternativesearch:e}),G()}get favorites(){return this.$$.ctx[9]}set favorites(e){this.$$set({favorites:e}),G()}get mostplayed(){return this.$$.ctx[47]}set mostplayed(e){this.$$set({mostplayed:e}),G()}get lobbyid(){return this.$$.ctx[48]}set lobbyid(e){this.$$set({lobbyid:e}),G()}get containermaxwidth(){return this.$$.ctx[10]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),G()}get haspanicbutton(){return this.$$.ctx[11]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),G()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends ce{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}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:10;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:#ffffff;background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",le(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Fo,Po,t,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11},null),e&&(e.target&&j(e.target,this,e.anchor),e.props&&(this.$set(e.props),G()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),G()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),G()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),G()}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),G()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),G()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),G()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),G()}});const Io={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{gamePage:{signIn:"SE CONNECTER",register:"S'INSCRIRE",deposit:"DÉPOSER",playForFun:"JOUER POUR LE PLAISIR",playNow:"JOUE MAINTENANT",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{gamePage:{signIn:"INICIAR SESIÓN",register:"REGISTRARSE",deposit:"INGRESAR",playForFun:"JUEGA POR DIVERSION",playNow:"REPRODUCIR AHORA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{gamePage:{signIn:"Login",register:"REGISTAR",deposit:"Depósito",playForFun:"Play for fun",playNow:"Comece agora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}};var Ao,Do,Lo=(Do=Ao={path:void 0,exports:{},require:function(e,t){return Fn(null==t&&Ao.path)}},Ao.exports,Do.exports=function(){var e;function f(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(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(p(e,t))return;return 1}function o(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)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return Tt(e,t,n,r,!0).utc()}function g(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=g(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 m(e){var t=d(NaN);return null!=e?u(g(t),e):g(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},w=f.momentProperties=[],t=!1;function v(e,t){var n,r,i;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=g(t)),o(t._locale)||(e._locale=t._locale),0<w.length)for(n=0;n<w.length;n++)o(i=t[r=w[n]])||(e[r]=i);return e}function b(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,f.updateOffset(this),t=!1)}function S(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function x(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,o){var s=!0;return u(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,i),s){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])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}x(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var _={};function C(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),_[e]||(x(t),_[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)p(t,n)&&(a(e[n])&&a(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)p(e,n)&&!p(t,n)&&a(e[n])&&(r[n]=u({},r[n]));return r}function E(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var $=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function T(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 P=/(\[[^\[]*\])|(\\)?([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,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},A={};function D(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(A[e]=i),t&&(A[t[0]]=function(){return T(i.apply(this,arguments),t[1],t[2])}),n&&(A[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function L(e,t){return e.isValid()?(t=O(t,e.localeData()),I[t]=I[t]||function(r){for(var e,i=r.match(P),t=0,o=i.length;t<o;t++)A[i[t]]?i[t]=A[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<o;n++)t+=M(i[n])?i[n].call(e,r):i[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(F.lastIndex=0;0<=n&&F.test(e);)e=e.replace(F,r),F.lastIndex=0,--n;return e}var R={};function N(e,t){var n=e.toLowerCase();R[n]=R[n+"s"]=R[t]=e}function G(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)p(e,n)&&(t=G(n))&&(r[t]=e[n]);return r}var B={};function H(e,t){B[e]=t}function Y(e){return e%4==0&&e%100!=0||e%400==0}function j(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function z(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?j(t):e}function W(t,n){return function(e){return null!=e?(Z(this,t,e),f.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&&Y(e.year())&&1===e.month()&&29===e.date()?(n=z(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),$e(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var q=/\d/,X=/\d\d/,J=/\d{3}/,K=/\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}/,oe=/[+-]?\d{1,6}/,se=/\d+/,ae=/[+-]?\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){fe[e]=M(n)?n:function(e,t){return e&&r?r:n}}function he(e,t){return p(fe,e)?fe[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={},ge={};function me(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),c(n)&&(r=function(e,t){t[n]=z(e)}),t=0;t<e.length;t++)ge[e[t]]=r}function ye(e,i){me(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var we,ve=0,be=1,Se=2,xe=3,_e=4,Ce=5,Me=6,ke=7,Ee=8;function $e(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?Y(e)?29:28:31-n%7%2}we=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"),H("month",8),de("M",ee),de("MM",ee,X),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),me(["M","MM"],function(e,t){t[be]=z(e)-1}),me(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[be]=r:g(n).invalidMonth=e});var Te="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Pe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Fe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=ue,Ae=ue;function De(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=z(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),$e(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Le(e){return null!=e?(De(this,e),f.updateOffset(this,!0),this):V(this,"Month")}function Oe(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],o=0;o<12;o++)t=d([2e3,o]),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),o=0;o<12;o++)n[o]=pe(n[o]),r[o]=pe(r[o]);for(o=0;o<24;o++)i[o]=pe(i[o]);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 Re(e){return Y(e)?366:365}D("Y",0,0,function(){var e=this.year();return e<=9999?T(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"),H("year",1),de("Y",ae),de("YY",ee,X),de("YYYY",ie,K),de("YYYYY",oe,Q),de("YYYYYY",oe,Q),me(["YYYYY","YYYYYY"],ve),me("YYYY",function(e,t){t[ve]=2===e.length?f.parseTwoDigitYear(e):z(e)}),me("YY",function(e,t){t[ve]=f.parseTwoDigitYear(e)}),me("Y",function(e,t){t[ve]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return z(e)+(68<z(e)?1900:2e3)};var Ne=W("FullYear",!0);function Ge(e,t,n,r,i,o,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}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 Be(e,t,n){n=7+t-n;return-(7+Ue(e,0,n).getUTCDay()-t)%7+n-1}function He(e,t,n,r,i){var o,i=1+7*(t-1)+(7+n-r)%7+Be(e,r,i),i=i<=0?Re(o=e-1)+i:i>Re(e)?(o=e+1,i-Re(e)):(o=e,i);return{year:o,dayOfYear:i}}function Ye(e,t,n){var r,i,o=Be(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?r=o+je(i=e.year()-1,t,n):o>je(e.year(),t,n)?(r=o-je(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function je(e,t,n){var r=Be(e,t,n),n=Be(e+1,t,n);return(Re(e)-r+n)/7}D("w",["ww",2],"wo","week"),D("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),H("week",5),H("isoWeek",5),de("w",ee),de("ww",ee,X),de("W",ee),de("WW",ee,X),ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=z(e)});function ze(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"),H("day",11),H("weekday",11),H("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:g(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,r){t[r]=z(e)});var We="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("_"),qe=ue,Xe=ue,Je=ue;function Ke(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],o=[],s=[],a=[],l=0;l<7;l++)r=d([2e3,1]).day(l),t=pe(this.weekdaysMin(r,"")),n=pe(this.weekdaysShort(r,"")),r=pe(this.weekdays(r,"")),i.push(t),o.push(n),s.push(r),a.push(t),a.push(n),a.push(r);i.sort(e),o.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.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)+T(this.minutes(),2)}),D("hmmss",0,0,function(){return""+Qe.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),D("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),D("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),et("a",!0),et("A",!1),N("hour","h"),H("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,X),de("hh",ee,X),de("kk",ee,X),de("hmm",te),de("hmmss",ne),de("Hmm",te),de("Hmmss",ne),me(["H","HH"],xe),me(["k","kk"],function(e,t,n){e=z(e);t[xe]=24===e?0:e}),me(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),me(["h","hh"],function(e,t,n){t[xe]=z(e),g(n).bigHour=!0}),me("hmm",function(e,t,n){var r=e.length-2;t[xe]=z(e.substr(0,r)),t[_e]=z(e.substr(r)),g(n).bigHour=!0}),me("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[xe]=z(e.substr(0,r)),t[_e]=z(e.substr(r,2)),t[Ce]=z(e.substr(i)),g(n).bigHour=!0}),me("Hmm",function(e,t,n){var r=e.length-2;t[xe]=z(e.substr(0,r)),t[_e]=z(e.substr(r))}),me("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[xe]=z(e.substr(0,r)),t[_e]=z(e.substr(r,2)),t[Ce]=z(e.substr(i))});var nt=W("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:Te,monthsShort:Pe,week:{dow:0,doy:6},weekdays:We,weekdaysMin:Ze,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},ot={},st={};function at(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=at(e[o]).split("-")).length,n=(n=at(e[o+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--}o++}return rt}function ct(t){var e;if(void 0===ot[t]&&Do&&Do.exports)try{e=rt._abbr,Fn(),ut(e)}catch(e){ot[t]=null}return ot[t]}function ut(e,t){return e&&((t=o(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 ot[e],null;var n,r=it;if(t.abbr=e,null!=ot[e])C("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=ot[e]._config;else if(null!=t.parentLocale)if(null!=ot[t.parentLocale])r=ot[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ot[e]=new E(k(r,t)),st[e]&&st[e].forEach(function(e){dt(e.name,e.config)}),ut(e),ot[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!s(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function pt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[be]<0||11<t[be]?be:t[Se]<1||t[Se]>$e(t[ve],t[be])?Se:t[xe]<0||24<t[xe]||24===t[xe]&&(0!==t[_e]||0!==t[Ce]||0!==t[Me])?xe:t[_e]<0||59<t[_e]?_e:t[Ce]<0||59<t[Ce]?Ce:t[Me]<0||999<t[Me]?Me:-1,g(e)._overflowDayOfYear&&(t<ve||Se<t)&&(t=Se),g(e)._overflowWeeks&&-1===t&&(t=ke),g(e)._overflowWeekday&&-1===t&&(t=Ee),g(e).overflow=t),e}var 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=/^\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)?)?$/,mt=/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]],wt=[["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/]],vt=/^\/?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 xt(e){var t,n,r,i,o,s,a=e._i,l=ft.exec(a)||gt.exec(a);if(l){for(g(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=wt.length;t<n;t++)if(wt[t][1].exec(l[3])){o=(l[2]||" ")+wt[t][0];break}if(null==o)return e._isValid=!1}if(!r&&null!=o)return e._isValid=!1;if(l[4]){if(!mt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=i+(o||"")+(s||""),Et(e)}else e._isValid=!1}function _t(e,t,n,r,i,o){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Pe.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&i.push(parseInt(o,10)),i}function Ct(e){var t,n,r,i,o=bt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=_t(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],r=t,i=e,n&&Ve.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=o[8],t=o[9],o=o[10],i?St[i]:t?0:((t=parseInt(o,10))-(o=t%100))/100*60+o),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(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,o,s,a,l,c,u,d,h,p=[];if(!e._d){for(d=e,h=new Date(f.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=(i=e)._w).GG||null!=d.W||null!=d.E?(l=1,c=4,o=Mt(d.GG,i._a[ve],Ye(Pt(),1,4).year),s=Mt(d.W,1),((a=Mt(d.E,1))<1||7<a)&&(u=!0)):(l=i._locale._week.dow,c=i._locale._week.doy,h=Ye(Pt(),l,c),o=Mt(d.gg,i._a[ve],h.year),s=Mt(d.w,h.week),null!=d.d?((a=d.d)<0||6<a)&&(u=!0):null!=d.e?(a=d.e+l,(d.e<0||6<d.e)&&(u=!0)):a=l),s<1||s>je(o,l,c)?g(i)._overflowWeeks=!0:null!=u?g(i)._overflowWeekday=!0:(c=He(o,s,a,l,c),i._a[ve]=c.year,i._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(r=Mt(e._a[ve],n[ve]),(e._dayOfYear>Re(r)||0===e._dayOfYear)&&(g(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]=p[t]=n[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[xe]&&0===e._a[_e]&&0===e._a[Ce]&&0===e._a[Me]&&(e._nextDay=!0,e._a[xe]=0),e._d=(e._useUTC?Ue:Ge).apply(null,p),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[xe]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Et(e){if(e._f!==f.ISO_8601)if(e._f!==f.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r=""+e._i,i=r.length,o=0,s=O(e._f,e._locale).match(P)||[],a=0;a<s.length;a++)n=s[a],(t=(r.match(he(n,e))||[])[0])&&(0<(d=r.substr(0,r.indexOf(t))).length&&g(e).unusedInput.push(d),r=r.slice(r.indexOf(t)+t.length),o+=t.length),A[n]?(t?g(e).empty=!1:g(e).unusedTokens.push(n),u=n,h=e,null!=(d=t)&&p(ge,u)&&ge[u](d,h._a,h,u)):e._strict&&!t&&g(e).unusedTokens.push(n);g(e).charsLeftOver=i-o,0<r.length&&g(e).unusedInput.push(r),e._a[xe]<=12&&!0===g(e).bigHour&&0<e._a[xe]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[xe]=(l=e._locale,c=e._a[xe],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=g(e).era)&&(e._a[ve]=e._locale.erasConvertYear(c,e._a[ve])),kt(e),pt(e)}else Ct(e);else xt(e);var l,c,u,d,h}function $t(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new b(pt(t)):(i(t)?e._d=t:s(n)?function(e){var t,n,r,i,o,s,a=!1;if(0===e._f.length)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)o=0,s=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Et(t),h(t)&&(s=!0),o+=g(t).charsLeftOver,o+=10*g(t).unusedTokens.length,g(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));u(e,n||t)}(e):n?Et(e):o(n=(t=e)._i)?t._d=new Date(f.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=vt.exec(e._i);null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Ct(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:f.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):s(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),kt(t)):a(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):f.createFromInputFallback(t),h(e)||(e._d=null),e))}function Tt(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(o=new b(pt($t(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Pt(e,t,n,r){return Tt(e,t,n,r,!1)}f.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":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};var Ft=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()}),It=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:m()});function At(e,t){var n,r;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return Pt();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 Lt(e){var t=U(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,a=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(p(e,t)&&(-1===we.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]])!==z(e[Dt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*a*60*60,this._days=+s+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ht(),this._bubble()}function Ot(e){return e instanceof Lt}function Rt(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+T(~~(e/60),2)+n+T(~~e%60,2)})}Nt("Z",":"),Nt("ZZ",""),de("Z",ce),de("ZZ",ce),me(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(ce,e)});var Gt=/([\+\-]|\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(Gt)||["-",0,0])[1]+z(e[2]))?0:"+"===e[0]?t:-t}function Bt(e,t){var n;return t._isUTC?(n=t.clone(),t=(S(e)||i(e)?e:Pt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),f.updateOffset(n,!1),n):Pt(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function Yt(){return!!this.isValid()&&this._isUTC&&0===this._offset}f.updateOffset=function(){};var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Wt(e,t){var n,r,i=e,o=null;return Ot(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(o=jt.exec(e))?(n="-"===o[1]?-1:1,i={y:0,d:z(o[Se])*n,h:z(o[xe])*n,m:z(o[_e])*n,s:z(o[Ce])*n,ms:z(Rt(1e3*o[Me]))*n}):(o=zt.exec(e))?(n="-"===o[1]?-1:1,i={y:Vt(o[2],n),M:Vt(o[3],n),w:Vt(o[4],n),d:Vt(o[5],n),h:Vt(o[6],n),m:Vt(o[7],n),s:Vt(o[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(o=Pt(i.from),n=Pt(i.to),r=o.isValid()&&n.isValid()?(n=Bt(n,o),o.isBefore(n)?r=Zt(o,n):((r=Zt(n,o)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new Lt(i),Ot(e)&&p(e,"_locale")&&(i._locale=e._locale),Ot(e)&&p(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 qt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(C(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),Xt(this,Wt(e,t),r),this}}function Xt(e,t,n,r){var i=t._milliseconds,o=Rt(t._days),t=Rt(t._months);e.isValid()&&(r=null==r||r,t&&De(e,V(e,"Month")+t*n),o&&Z(e,"Date",V(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&f.updateOffset(e,o||t))}Wt.fn=Lt.prototype,Wt.invalid=function(){return Wt(NaN)};var Jt=qt(1,"add"),ue=qt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Qt(e){return S(e)||i(e)||Kt(e)||c(e)||(n=s(t=e),r=!1,n&&(r=0===t.filter(function(e){return!c(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=a(e)&&!l(e),i=!1,o=["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<o.length;t+=1)n=o[t],i=i||p(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)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.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 on(e,t){return(e%t+t)%t}function sn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function an(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(),o=0,s=i.length;o<s;++o)t.push(pe(i[o].name)),e.push(pe(i[o].abbr)),n.push(pe(i[o].narrow)),r.push(pe(i[o].name)),r.push(pe(i[o].abbr)),r.push(pe(i[o].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 o;return null==e?Ye(this,r,i).year:(t>(o=je(e,r,i))&&(t=o),function(e,t,n,r,i){i=He(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)}),me(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),de("y",se),de("yy",se),de("yyy",se),de("yyyy",se),de("yo",function(e,t){return t._eraYearOrdinalRegex||se}),me(["y","yy","yyy","yyyy"],ve),me(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ve]=n._locale.eraYearOrdinalParse(e,i):t[ve]=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"),H("weekYear",1),H("isoWeekYear",1),de("G",ae),de("g",ae),de("GG",ee,X),de("gg",ee,X),de("GGGG",ie,K),de("gggg",ie,K),de("GGGGG",oe,Q),de("ggggg",oe,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=z(e)}),ye(["gg","GG"],function(e,t,n,r){t[r]=f.parseTwoDigitYear(e)}),D("Q",0,"Qo","quarter"),N("quarter","Q"),H("quarter",7),de("Q",q),me("Q",function(e,t){t[be]=3*(z(e)-1)}),D("D",["DD",2],"Do","date"),N("date","D"),H("date",9),de("D",ee),de("DD",ee,X),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),me(["D","DD"],Se),me("Do",function(e,t){t[Se]=z(e.match(ee)[0])});ne=W("Date",!0);D("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),H("dayOfYear",4),de("DDD",re),de("DDDD",J),me(["DDD","DDDD"],function(e,t,n){n._dayOfYear=z(e)}),D("m",["mm",2],0,"minute"),N("minute","m"),H("minute",14),de("m",ee),de("mm",ee,X),me(["m","mm"],_e);Te=W("Minutes",!1);D("s",["ss",2],0,"second"),N("second","s"),H("second",15),de("s",ee),de("ss",ee,X),me(["s","ss"],Ce);var hn,We=W("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"),H("millisecond",16),de("S",re,q),de("SS",re,X),de("SSS",re,J),hn="SSSS";hn.length<=9;hn+="S")de(hn,se);function pn(e,t){t[Me]=z(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")me(hn,pn);Ze=W("Milliseconds",!1),D("z",0,0,"zoneAbbr"),D("zz",0,0,"zoneName");ie=b.prototype;function fn(e){return e}ie.add=Jt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||p(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Pt(),e=Bt(n,this).startOf("day"),e=f.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,Pt(n)))},ie.clone=function(){return new b(this)},ie.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Bt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=G(t)){case"year":o=en(this,r)/12;break;case"month":o=en(this,r);break;case"quarter":o=en(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:j(o)},ie.endOf=function(e){var t,n;if(void 0===(e=G(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,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-on(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-on(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-on(t,1e3)-1}return this._d.setTime(t),f.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=L(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Pt(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Pt(),e)},ie.to=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Pt(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Pt(),e)},ie.get=function(e){return M(this[e=G(e)])?this[e]():this},ie.invalidAt=function(){return g(this).overflow},ie.isAfter=function(e,t){return e=S(e)?e:Pt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=G(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=S(e)?e:Pt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=G(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:Pt(e),t=S(t)?t:Pt(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:Pt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=G(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=Ft,ie.parsingFlags=function(){return u({},g(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:B[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=G(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=G(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,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-=on(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=on(t,6e4);break;case"second":t=this._d.valueOf(),t-=on(t,1e3)}return this._d.setTime(t),f.updateOffset(this,!0),this},ie.subtract=ue,ie.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},ie.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.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()?L(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",L(e,"Z")):L(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()-f(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=Ne,ie.isLeapYear=function(){return Y(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=Le,ie.daysInMonth=function(){return $e(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=Ye(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return je(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return je(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return je(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return je(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=Te,ie.second=ie.seconds=We,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:Ht(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=Ht(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Xt(this,Wt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.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(Ht(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?Pt(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=Yt,ie.isUTC=Yt,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",Le),ie.years=n("years accessor is deprecated. Use year instead",Ne),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(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=$t(t))._a?(e=(t._isUTC?d:Pt)(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),o=0,s=0;s<r;s++)(n&&e[s]!==t[s]||!n&&z(e[s])!==z(t[s]))&&o++;return o+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=E.prototype;function gn(e,t,n,r){var i=ht(),t=d().set(r,t);return i[n](t,e)}function mn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return gn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=gn(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,o=ht(),s=e?o._week.dow:0,a=[];if(null!=n)return gn(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=gn(t,(i+s)%7,r,"day");return a}K.calendar=function(e,t,n){return M(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(P).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=fn,K.postformat=fn,K.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return M(i)?i(e,t,n,r):i.replace(/%d/i,e)},K.pastFuture=function(e,t){return M(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,n;for(n in e)p(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)},K.eras=function(e,t){for(var n,r=this._eras||ht("en")._eras,i=0,o=r.length;i<o;++i)switch("string"==typeof r[i].since&&(n=f(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=f(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},K.erasParse=function(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if(0<=[o,s,a].indexOf(e))return l[r]},K.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*n},K.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return p(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Fe).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Fe.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=we.call(this._shortMonthsParse,e))?i:null:-1!==(i=we.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=we.call(this._shortMonthsParse,e))||-1!==(i=we.call(this._longMonthsParse,e))?i:null:-1!==(i=we.call(this._longMonthsParse,e))||-1!==(i=we.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}},K.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Oe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Ae),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Oe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return Ye(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?ze(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?ze(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?ze(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=we.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=we.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=we.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=we.call(this._weekdaysParse,e))||-1!==(i=we.call(this._shortWeekdaysParse,e))||-1!==(i=we.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=we.call(this._shortWeekdaysParse,e))||-1!==(i=we.call(this._weekdaysParse,e))||-1!==(i=we.call(this._minWeekdaysParse,e))?i:null:-1!==(i=we.call(this._minWeekdaysParse,e))||-1!==(i=we.call(this._weekdaysParse,e))||-1!==(i=we.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}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.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===z(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=n("moment.lang is deprecated. Use moment.locale instead.",ut),f.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var wn=Math.abs;function vn(e,t,n,r){n=Wt(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 xn(e){return 146097*e/4800}function _n(e){return function(){return this.as(e)}}oe=_n("ms"),Q=_n("s"),q=_n("m"),X=_n("h"),re=_n("d"),J=_n("w"),Jt=_n("M"),It=_n("Q"),Ft=_n("y");function Cn(e){return function(){return this.isValid()?this._data[e]:NaN}}ue=Cn("milliseconds"),nt=Cn("seconds"),Te=Cn("minutes"),We=Cn("hours"),Ze=Cn("days"),ne=Cn("months"),Ne=Cn("years");var Mn=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function En(e,t,n,r){var i=Wt(e).abs(),o=Mn(i.as("s")),s=Mn(i.as("m")),a=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=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||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 $n=Math.abs;function Tn(e){return(0<e)-(e<0)||+e}function Pn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,s,a=$n(this._milliseconds)/1e3,l=$n(this._days),c=$n(this._months),u=this.asSeconds();return u?(e=j(a/60),t=j(e/60),a%=60,e%=60,n=j(c/12),c%=12,r=a?a.toFixed(3).replace(/\.?0+$/,""):"",i=Tn(this._months)!==Tn(u)?"-":"",o=Tn(this._days)!==Tn(u)?"-":"",s=Tn(this._milliseconds)!==Tn(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?o+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+r+"S":"")):"P0D"}K=Lt.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var e=this._data;return this._milliseconds=wn(this._milliseconds),this._days=wn(this._days),this._months=wn(this._months),e.milliseconds=wn(e.milliseconds),e.seconds=wn(e.seconds),e.minutes=wn(e.minutes),e.hours=wn(e.hours),e.months=wn(e.months),e.years=wn(e.years),this},K.add=function(e,t){return vn(this,e,t,1)},K.subtract=function(e,t){return vn(this,e,t,-1)},K.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=G(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(xn(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)}},K.asMilliseconds=oe,K.asSeconds=Q,K.asMinutes=q,K.asHours=X,K.asDays=re,K.asWeeks=J,K.asMonths=Jt,K.asQuarters=It,K.asYears=Ft,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*z(this._months/12):NaN},K._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(xn(n)+t),n=t=0),r.milliseconds=e%1e3,e=j(e/1e3),r.seconds=e%60,e=j(e/60),r.minutes=e%60,e=j(e/60),r.hours=e%24,t+=j(e/24),n+=e=j(Sn(t)),t-=bn(xn(e)),e=j(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},K.clone=function(){return Wt(this)},K.get=function(e){return e=G(e),this.isValid()?this[e+"s"]():NaN},K.milliseconds=ue,K.seconds=nt,K.minutes=Te,K.hours=We,K.days=Ze,K.weeks=function(){return j(this.days()/7)},K.months=ne,K.years=Ne,K.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=En(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},K.toISOString=Pn,K.toString=Pn,K.toJSON=Pn,K.locale=tn,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Pn),K.lang=te,D("X",0,0,"unix"),D("x",0,0,"valueOf"),de("x",ae),de("X",/[+-]?\d+(\.\d{1,3})?/),me("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),me("x",function(e,t,n){n._d=new Date(z(e))}),f.version="2.29.1",e=Pt,f.fn=ie,f.min=function(){return At("isBefore",[].slice.call(arguments,0))},f.max=function(){return At("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=d,f.unix=function(e){return Pt(1e3*e)},f.months=function(e,t){return mn(e,t,"months")},f.isDate=i,f.locale=ut,f.invalid=m,f.duration=Wt,f.isMoment=S,f.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},f.parseZone=function(){return Pt.apply(null,arguments).parseZone()},f.localeData=ht,f.isDuration=Ot,f.monthsShort=function(e,t){return mn(e,t,"monthsShort")},f.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},f.defineLocale=dt,f.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=ot[e]&&null!=ot[e].parentLocale?ot[e].set(k(ot[e]._config,t)):(t=k(r=null!=(n=ct(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new E(t)).parentLocale=ot[e],ot[e]=t),ut(e)):null!=ot[e]&&(null!=ot[e].parentLocale?(ot[e]=ot[e].parentLocale,e===ut()&&ut(e)):null!=ot[e]&&delete ot[e]),ot[e]},f.locales=function(){return $(ot)},f.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},f.normalizeUnits=G,f.relativeTimeRounding=function(e){return void 0===e?Mn:"function"==typeof e&&(Mn=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},f.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"},f.prototype=ie,f.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"},f}(),Ao.exports);function Oo(n){let r,i=n[8]&&Go(n);return{c(){r=W("div"),i&&i.c(),X(r,"class","CasinoGamePageContainer")},m(e,t){j(e,r,t),i&&i.m(r,null),n[69](r)},p(e,t){e[8]?i?i.p(e,t):(i=Go(e),i.c(),i.m(r,null)):i&&(i.d(1),i=null)},d(e){e&&z(r),i&&i.d(),n[69](null)}}}function Ro(e){let n;return{c(){n=W("p"),n.textContent="500 Error - Internal Server Error.",X(n,"class","SearchLoading")},m(e,t){j(e,n,t)},p:U,d(e){e&&z(n)}}}function No(e){let n;return{c(){n=W("p"),n.textContent="Loading, please wait ...",X(n,"class","SearchLoading")},m(e,t){j(e,n,t)},p:U,d(e){e&&z(n)}}}function Go(e){let n;function r(e){return e[18]?Yo:e[4]?Ho:e[9]?Bo:Uo}let i=r(e),o=i(e);return{c(){o.c(),n=u()},m(e,t){o.m(e,t),j(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&z(n)}}}function Uo(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S=n[7].name+"",x=n[20]("gamePage.signIn")+"",_=n[20]("gamePage.register")+"";return{c(){r=W("div"),i=W("h3"),o=V(S),s=Z(),a=W("img"),c=Z(),u=W("div"),d=W("button"),h=V(x),p=Z(),f=W("button"),g=V(_),m=Z(),y=W("p"),w=V(n[2]),H(a.src,l=n[7].thumbnail)||X(a,"src",l),X(a,"class","GameThumbnail"),X(a,"alt","game thumbnail"),X(a,"loading","lazy"),X(d,"class","LoginButton"),X(f,"class","RegisterButton"),X(u,"class","ButtonsContainer"),X(r,"class","GameDetails")},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(r,s),Y(r,a),Y(r,c),Y(r,u),Y(u,d),Y(d,h),Y(u,p),Y(u,f),Y(f,g),Y(r,m),Y(r,y),Y(y,w),v||(b=[q(d,"click",n[67]),q(f,"click",n[68])],v=!0)},p(e,t){128&t[0]&&S!==(S=e[7].name+"")&&J(o,S),128&t[0]&&!H(a.src,l=e[7].thumbnail)&&X(a,"src",l),1048576&t[0]&&x!==(x=e[20]("gamePage.signIn")+"")&&J(h,x),1048576&t[0]&&_!==(_=e[20]("gamePage.register")+"")&&J(g,_),4&t[0]&&J(w,e[2])},d(e){e&&z(r),v=!1,B(b)}}}function Bo(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S,x=n[20]("gamePage.signIn")+"",_=n[20]("gamePage.register")+"";function C(e){return e[13]?zo:jo}let M=C(n),k=M(n);return{c(){r=W("div"),i=W("div"),o=W("iframe"),a=Z(),l=W("div"),c=W("div"),u=W("button"),d=V(x),h=Z(),p=W("button"),f=V(_),g=Z(),k.c(),m=Z(),y=W("p"),w=W("span"),v=V(n[2]),X(o,"title","Games"),X(o,"class","GamesContainer"),X(o,"aria-hidden","false"),H(o.src,s=n[7].launchUrl)||X(o,"src",s),X(u,"class","LoginButton"),X(p,"class","RegisterButton"),X(c,"class","ButtonsContainer"),X(l,"class","BottomGame"),X(y,"class","Time"),X(i,"id","IframeGame"),E(i,"width",n[13]?"100%":n[16]),E(i,"height",n[13]?"100%":n[17]),E(i,"max-width",n[13]?"none":n[7].width+"px"),E(i,"max-height",n[13]?"none":n[7].height+100+"px"),X(r,"id","IframeContainer"),E(r,"width",n[14]),E(r,"height",n[15]),$(r,"FullsScreenLayout",n[13])},m(e,t){j(e,r,t),Y(r,i),Y(i,o),n[60](o),Y(i,a),Y(i,l),Y(l,c),Y(c,u),Y(u,d),Y(c,h),Y(c,p),Y(p,f),Y(l,g),k.m(l,null),Y(i,m),Y(i,y),Y(y,w),Y(w,v),n[65](i),n[66](r),b||(S=[q(u,"click",n[61]),q(p,"click",n[62])],b=!0)},p(e,t){128&t[0]&&!H(o.src,s=e[7].launchUrl)&&X(o,"src",s),1048576&t[0]&&x!==(x=e[20]("gamePage.signIn")+"")&&J(d,x),1048576&t[0]&&_!==(_=e[20]("gamePage.register")+"")&&J(f,_),M===(M=C(e))&&k?k.p(e,t):(k.d(1),k=M(e),k&&(k.c(),k.m(l,null))),4&t[0]&&J(v,e[2]),73728&t[0]&&E(i,"width",e[13]?"100%":e[16]),139264&t[0]&&E(i,"height",e[13]?"100%":e[17]),8320&t[0]&&E(i,"max-width",e[13]?"none":e[7].width+"px"),8320&t[0]&&E(i,"max-height",e[13]?"none":e[7].height+100+"px"),16384&t[0]&&E(r,"width",e[14]),32768&t[0]&&E(r,"height",e[15]),8192&t[0]&&$(r,"FullsScreenLayout",e[13])},d(e){e&&z(r),n[60](null),k.d(),n[65](null),n[66](null),b=!1,B(S)}}}function Ho(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v=n[20]("gamePage.deposit")+"",b="true"===n[1]&&Wo(n);function S(e){return e[13]?Zo:Vo}let x=S(n),_=x(n);return{c(){r=W("div"),i=W("div"),o=W("iframe"),a=Z(),l=W("div"),c=W("button"),u=V(v),d=Z(),b&&b.c(),h=Z(),_.c(),p=Z(),f=W("p"),g=W("span"),m=V(n[2]),X(o,"title","Games"),X(o,"id","IframeGame"),X(o,"class","GamesContainer"),X(o,"aria-hidden","false"),H(o.src,s=n[7].launchUrl)||X(o,"src",s),X(c,"class","DepositButton"),X(l,"class","BottomGame"),X(f,"class","Time"),X(i,"id","IframeGame"),E(i,"width",n[13]?"100%":n[16]),E(i,"height",n[13]?"100%":n[17]),E(i,"max-width",n[13]?"none":n[7].width+"px"),E(i,"max-height",n[13]?"none":n[7].height+100+"px"),X(r,"id","IframeContainer"),E(r,"width",n[14]),E(r,"height",n[15]),$(r,"FullsScreenLayout",n[13])},m(e,t){j(e,r,t),Y(r,i),Y(i,o),n[53](o),Y(i,a),Y(i,l),Y(l,c),Y(c,u),Y(l,d),b&&b.m(l,null),Y(l,h),_.m(l,null),Y(i,p),Y(i,f),Y(f,g),Y(g,m),n[58](i),n[59](r),y||(w=q(c,"click",n[54]),y=!0)},p(e,t){128&t[0]&&!H(o.src,s=e[7].launchUrl)&&X(o,"src",s),1048576&t[0]&&v!==(v=e[20]("gamePage.deposit")+"")&&J(u,v),"true"===e[1]?b?b.p(e,t):(b=Wo(e),b.c(),b.m(l,h)):b&&(b.d(1),b=null),x===(x=S(e))&&_?_.p(e,t):(_.d(1),_=x(e),_&&(_.c(),_.m(l,null))),4&t[0]&&J(m,e[2]),73728&t[0]&&E(i,"width",e[13]?"100%":e[16]),139264&t[0]&&E(i,"height",e[13]?"100%":e[17]),8320&t[0]&&E(i,"max-width",e[13]?"none":e[7].width+"px"),8320&t[0]&&E(i,"max-height",e[13]?"none":e[7].height+100+"px"),16384&t[0]&&E(r,"width",e[14]),32768&t[0]&&E(r,"height",e[15]),8192&t[0]&&$(r,"FullsScreenLayout",e[13])},d(e){e&&z(r),n[53](null),b&&b.d(),_.d(),n[58](null),n[59](null),y=!1,w()}}}function Yo(e){let n;function r(e){return e[4]?Jo:e[10]?Xo:qo}let i=r(e),o=i(e);return{c(){o.c(),n=u()},m(e,t){o.m(e,t),j(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&z(n)}}}function jo(n){let r,i,o;return{c(){r=W("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',X(r,"class","FullscreenButton")},m(e,t){j(e,r,t),i||(o=q(r,"click",n[64]),i=!0)},p:U,d(e){e&&z(r),i=!1,o()}}}function zo(n){let r,i,o;return{c(){r=W("button"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',X(r,"class","FullscreenButton")},m(e,t){j(e,r,t),i||(o=q(r,"click",n[63]),i=!0)},p:U,d(e){e&&z(r),i=!1,o()}}}function Wo(n){let r,i,o,s,a,l,c,u,d,h,p,f=n[20]("gamePage.break")+"",g=n[20]("gamePage.breakButton")+"";return{c(){r=W("div"),i=x("svg"),o=x("path"),s=Z(),a=W("p"),l=V(f),c=Z(),u=W("button"),d=V(g),X(o,"stroke-linecap","round"),X(o,"stroke-linejoin","round"),X(o,"stroke-width","2"),X(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),X(i,"class","w-1 h-1"),X(i,"fill","none"),X(i,"stroke","white"),X(i,"width","34px"),X(i,"height","34px"),X(i,"viewBox","0 0 24 24"),X(i,"xmlns","http://www.w3.org/2000/svg"),X(u,"class","Button"),X(r,"class","PanicSection")},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(r,s),Y(r,a),Y(a,l),Y(r,c),Y(r,u),Y(u,d),h||(p=q(u,"click",n[55]),h=!0)},p(e,t){1048576&t[0]&&f!==(f=e[20]("gamePage.break")+"")&&J(l,f),1048576&t[0]&&g!==(g=e[20]("gamePage.breakButton")+"")&&J(d,g)},d(e){e&&z(r),h=!1,p()}}}function Vo(n){let r,i,o;return{c(){r=W("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',X(r,"class","FullscreenButton")},m(e,t){j(e,r,t),i||(o=q(r,"click",n[57]),i=!0)},p:U,d(e){e&&z(r),i=!1,o()}}}function Zo(n){let r,i,o;return{c(){r=W("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',X(r,"class","FullscreenButton")},m(e,t){j(e,r,t),i||(o=q(r,"click",n[56]),i=!0)},p:U,d(e){e&&z(r),i=!1,o()}}}function qo(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S=n[7].name+"",x=n[20]("gamePage.signIn")+"",_=n[20]("gamePage.register")+"";return{c(){r=W("div"),i=W("h3"),o=V(S),s=Z(),a=W("img"),c=Z(),u=W("div"),d=W("button"),h=V(x),p=Z(),f=W("button"),g=V(_),m=Z(),y=W("p"),w=V(n[2]),H(a.src,l=n[7].thumbnail)||X(a,"src",l),X(a,"class","GameThumbnail"),X(a,"alt","game thumbnail"),X(a,"loading","lazy"),X(d,"class","LoginButton"),X(f,"class","RegisterButton"),X(u,"class","ButtonsContainer"),X(r,"class","GameDetails")},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(r,s),Y(r,a),Y(r,c),Y(r,u),Y(u,d),Y(d,h),Y(u,p),Y(u,f),Y(f,g),Y(r,m),Y(r,y),Y(y,w),v||(b=[q(d,"click",n[51]),q(f,"click",n[52])],v=!0)},p(e,t){128&t[0]&&S!==(S=e[7].name+"")&&J(o,S),128&t[0]&&!H(a.src,l=e[7].thumbnail)&&X(a,"src",l),1048576&t[0]&&x!==(x=e[20]("gamePage.signIn")+"")&&J(h,x),1048576&t[0]&&_!==(_=e[20]("gamePage.register")+"")&&J(g,_),4&t[0]&&J(w,e[2])},d(e){e&&z(r),v=!1,B(b)}}}function Xo(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S,x,_,C=n[7].name+"",M=n[20]("gamePage.signIn")+"",k=n[20]("gamePage.register")+"",E=n[20]("gamePage.playForFun")+"";return{c(){r=W("div"),i=W("h3"),o=V(C),s=Z(),a=W("img"),c=Z(),u=W("div"),d=W("button"),h=V(M),p=Z(),f=W("button"),g=V(k),m=Z(),y=W("button"),w=V(E),v=Z(),b=W("p"),S=V(n[2]),H(a.src,l=n[7].thumbnail)||X(a,"src",l),X(a,"class","GameThumbnail"),X(a,"alt","game thumbnail"),X(a,"loading","lazy"),X(d,"class","LoginButton"),X(f,"class","RegisterButton"),X(u,"class","ButtonsContainer"),X(y,"class","FullWidthButton"),X(r,"class","GameDetails")},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(r,s),Y(r,a),Y(r,c),Y(r,u),Y(u,d),Y(d,h),Y(u,p),Y(u,f),Y(f,g),Y(r,m),Y(r,y),Y(y,w),Y(r,v),Y(r,b),Y(b,S),x||(_=[q(d,"click",n[48]),q(f,"click",n[49]),q(y,"click",n[50])],x=!0)},p(e,t){128&t[0]&&C!==(C=e[7].name+"")&&J(o,C),128&t[0]&&!H(a.src,l=e[7].thumbnail)&&X(a,"src",l),1048576&t[0]&&M!==(M=e[20]("gamePage.signIn")+"")&&J(h,M),1048576&t[0]&&k!==(k=e[20]("gamePage.register")+"")&&J(g,k),1048576&t[0]&&E!==(E=e[20]("gamePage.playForFun")+"")&&J(w,E),4&t[0]&&J(S,e[2])},d(e){e&&z(r),x=!1,B(_)}}}function Jo(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S,x,_=n[7].name+"",C=n[20]("gamePage.deposit")+"",M=n[20]("gamePage.playNow")+"",k="true"==n[0]&&Ko(n),E="true"===n[1]&&ts(n);return{c(){k&&k.c(),r=Z(),i=W("div"),o=W("h3"),s=V(_),a=Z(),l=W("img"),u=Z(),d=W("div"),h=W("button"),p=V(C),f=Z(),g=W("button"),m=V(M),y=Z(),E&&E.c(),w=Z(),v=W("p"),b=V(n[2]),H(l.src,c=n[7].thumbnail)||X(l,"src",c),X(l,"class","GameThumbnail"),X(l,"alt","game thumbnail"),X(l,"loading","lazy"),X(h,"class","DepositButton"),X(g,"class","PlayNowButton"),X(d,"class","ButtonsContainer"),X(i,"class","GameDetails")},m(e,t){k&&k.m(e,t),j(e,r,t),j(e,i,t),Y(i,o),Y(o,s),Y(i,a),Y(i,l),Y(i,u),Y(i,d),Y(d,h),Y(h,p),Y(d,f),Y(d,g),Y(g,m),Y(i,y),E&&E.m(i,null),Y(i,w),Y(i,v),Y(v,b),S||(x=[q(h,"click",n[45]),q(g,"click",n[46])],S=!0)},p(e,t){"true"==e[0]?k?k.p(e,t):(k=Ko(e),k.c(),k.m(r.parentNode,r)):k&&(k.d(1),k=null),128&t[0]&&_!==(_=e[7].name+"")&&J(s,_),128&t[0]&&!H(l.src,c=e[7].thumbnail)&&X(l,"src",c),1048576&t[0]&&C!==(C=e[20]("gamePage.deposit")+"")&&J(p,C),1048576&t[0]&&M!==(M=e[20]("gamePage.playNow")+"")&&J(m,M),"true"===e[1]?E?E.p(e,t):(E=ts(e),E.c(),E.m(i,w)):E&&(E.d(1),E=null),4&t[0]&&J(b,e[2])},d(e){k&&k.d(e),e&&z(r),e&&z(i),E&&E.d(),S=!1,B(x)}}}function Ko(e){let n;function r(e){return e[7].isFavored?es:Qo}let i=r(e),o=i(e);return{c(){o.c(),n=u()},m(e,t){o.m(e,t),j(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&z(n)}}}function Qo(n){let r,i,o;return{c(){r=W("div"),r.innerHTML='<svg version="1.1" class="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>',X(r,"class","FavIconContainer")},m(e,t){j(e,r,t),i||(o=q(r,"click",n[44]),i=!0)},p:U,d(e){e&&z(r),i=!1,o()}}}function es(n){let r,i,o;return{c(){r=W("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',X(r,"class","FavIconContainer")},m(e,t){j(e,r,t),i||(o=q(r,"click",n[43]),i=!0)},p:U,d(e){e&&z(r),i=!1,o()}}}function ts(n){let r,i,o,s,a,l,c,u,d,h,e,p,f,g=n[20]("gamePage.break")+"",m=n[20]("gamePage.breakButton")+"";return{c(){r=W("div"),i=W("div"),o=x("svg"),s=x("path"),a=Z(),l=W("p"),c=V(g),u=Z(),d=W("button"),h=V(m),X(s,"stroke-linecap","round"),X(s,"stroke-linejoin","round"),X(s,"stroke-width","2"),X(s,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),X(o,"class","w-1 h-1"),X(o,"fill","none"),X(o,"stroke","white"),X(o,"width","34px"),X(o,"height","34px"),X(o,"viewBox","0 0 24 24"),X(o,"xmlns","http://www.w3.org/2000/svg"),X(i,"class","PanicText"),X(d,"class","Button"),X(r,"class",e="PanicSection "+("PC"!==Br(n[21])?"PanicSectionMobile":""))},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(o,s),Y(i,a),Y(i,l),Y(l,c),Y(r,u),Y(r,d),Y(d,h),p||(f=q(d,"click",n[47]),p=!0)},p(e,t){1048576&t[0]&&g!==(g=e[20]("gamePage.break")+"")&&J(c,g),1048576&t[0]&&m!==(m=e[20]("gamePage.breakButton")+"")&&J(h,m)},d(e){e&&z(r),p=!1,f()}}}function ns(e){let n;function r(e){return e[6]?No:e[5]?Ro:Oo}let i=r(e),o=i(e);return{c(){o.c(),n=u(),this.c=U},m(e,t){o.m(e,t),j(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},i:U,o:U,d(e){o.d(e),e&&z(n)}}}function rs(e,t,o){let n;we(e,Gr,e=>o(20,n=e));let r,i,s,a,l,c,u,d,h,p,f,g,m,{endpoint:y=""}=t,{datasource:w=""}=t,{lang:v=""}=t,{session:b=""}=t,{userid:S=""}=t,{clientstyling:x=""}=t,{clientstylingurl:_=""}=t,{favorites:C=""}=t,{loginurl:M=""}=t,{registerurl:k=""}=t,{depositurl:E=""}=t,{loginevent:$=""}=t,{registerevent:T=""}=t,{depositevent:P=""}=t,{clockformat:F=""}=t,{haspanicbutton:I="false"}=t,A=!1,D=!1,L=!0,O=!1,R=!1,N=!1,G=!1,U=window.navigator.userAgent,B=!1,H=[];var Y,j;({withLocale:Y,translations:j}={withLocale:"en",translations:{}}),Tr.subscribe(e=>{null==e&&(yr.set(j),Tr.set(Y))}),Object.keys(Io).forEach(e=>{vr(e,Io[e])});const z=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",v),s&&0<s.length&&(o(4,A=!0),t.searchParams.append("_sid",s),t.searchParams.append("funMode",!1),t.searchParams.append("language",v)),e.launchUrl=t,e},W=n=>{switch(n.data.type){case"GameLaunchID":let e=new URL(y+"/casino/games/"+n.data.gameId);e.searchParams.append("language",v),fetch(e).then(e=>e.json()).then(e=>{if(o(7,a=z(e[0])),a.launchUrl){o(8,O=!0),o(9,R=a.hasFunMode),o(10,N=a.hasAnonymousFunMode);let e=new URL(a.launchUrl);s&&0<s.length&&(o(4,A=!0),e.searchParams.append("_sid",s),e.searchParams.append("funMode",!1),e.searchParams.append("language",v),o(7,a.launchUrl=e,a))}},e=>{console.error("There was an error",e),o(5,D=!0)}).then(()=>{l&&q()}),window.postMessage({type:"RequestModalSize"},window.location.href);break;case"LaunchGameFrame":Z(n.data.gameId,n.data.gameFunMode);break;case"ModalClosed":setTimeout(()=>{o(8,O=!1)},500);break;case"UserSessionID":if(0<n.data.session.length){s=n.data.session,n.data.userID,o(4,A=!0);let t=setInterval(()=>{if(a){let e=new URL(a.launchUrl);e.searchParams.append("_sid",s),e.searchParams.append("funMode",!1),e.searchParams.append("language",v),o(7,a.launchUrl=e,a),clearInterval(t)}},250)}break;case"ModalSize":o(14,u=n.data.modalContainerSize.modalWidth),o(15,d=n.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":n.data.receivedFavoriteResults&&(H=n.data.receivedFavoriteResults.items)}},V=e=>{a.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),o(7,a.isFavored=!1,a)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),o(7,a.isFavored=!0,a))};let Z=(e,n)=>{let t=new URL(y+"/casino/games/"+e);t.searchParams.append("language",v),fetch(t).then(e=>e.json()).then(e=>{var t;o(7,a=z(e[0])),a.launchUrl&&(o(10,N=a.hasAnonymousFunMode),o(9,R=n),o(8,O=!0),o(7,a.isFavored=(t=a.id,-1!==H.findIndex(e=>e.id==t)),a))})},q=()=>{let e=getComputedStyle(l),t=getComputedStyle(c),n=parseInt(e.width.slice(0,-2)),r=parseInt(e.height.slice(0,-2));var i=a.width/(a.height+100);h=parseInt(t.width),p=parseInt(t.height),r<n/i?(p=r,h=r*i):(h=n,p=n/i),o(16,f=Math.floor(h)+"px"),o(17,g=Math.floor(p)+"px")};const X=e=>{window.open(e.launchUrl,"_blank")},J=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:O},window.location.href),O&&(l&&q(),window.addEventListener("ModalSize",W,!1))},K=()=>{$&&(window.postMessage({type:$,login:!0},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),M&&(window.location=loginUrl)},Q=()=>{T&&(window.postMessage({type:T,register:!0},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),k&&(window.location=registerUrl)},ee=()=>{P&&(window.postMessage({type:P},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),E&&(window.location=depositUrl)};function te(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!G||ne()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",te,!1),document.addEventListener("mozfullscreenchange",te,!1),document.addEventListener("fullscreenchange",te,!1),document.addEventListener("MSFullscreenChange",te,!1));const ne=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(G?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),o(13,G=!1)):(l.requestFullscreen?l.requestFullscreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.msRequestFullscreen&&l.msRequestFullscreen(),o(13,G=!0)))},re=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},ie=setInterval(()=>{o(2,r=F?Lo().format(F):Lo().format("LTS"))},100);return ve(()=>(window.addEventListener("resize",J,!1),window.addEventListener("message",W,!1),()=>{window.removeEventListener("resize",J),window.removeEventListener("message",W),clearInterval(ie)})),e.$$set=e=>{"endpoint"in e&&o(29,y=e.endpoint),"datasource"in e&&o(30,w=e.datasource),"lang"in e&&o(31,v=e.lang),"session"in e&&o(32,b=e.session),"userid"in e&&o(33,S=e.userid),"clientstyling"in e&&o(34,x=e.clientstyling),"clientstylingurl"in e&&o(35,_=e.clientstylingurl),"favorites"in e&&o(0,C=e.favorites),"loginurl"in e&&o(36,M=e.loginurl),"registerurl"in e&&o(37,k=e.registerurl),"depositurl"in e&&o(38,E=e.depositurl),"loginevent"in e&&o(39,$=e.loginevent),"registerevent"in e&&o(40,T=e.registerevent),"depositevent"in e&&o(41,P=e.depositevent),"clockformat"in e&&o(42,F=e.clockformat),"haspanicbutton"in e&&o(1,I=e.haspanicbutton)},e.$$.update=()=>{1610612736&e.$$.dirty[0]|1&e.$$.dirty[1]&&y&&w&&v&&(o(6,L=!1),Ur(U)&&o(18,B=!0)),536870912&e.$$.dirty[0]|6&e.$$.dirty[1]&&b&&S&&y&&Hr(y,b).then(e=>{s=e.Guid,o(4,A=!0)},e=>{o(4,A=!1),console.error("err on session",e)}),8&e.$$.dirty[1]&&x&&(()=>{let e=document.createElement("style");e.innerHTML=x,m.appendChild(e)})(),16&e.$$.dirty[1]&&_&&(()=>{let t=document.createElement("style");_&&fetch(new URL(_)).then(e=>e.text()).then(e=>{t.innerHTML=e,m&&setTimeout(()=>{m.appendChild(t)},1)})})()},[C,I,r,i,A,D,L,a,O,R,N,l,c,G,u,d,f,g,B,m,n,U,V,X,K,Q,ee,ne,re,y,w,v,b,S,x,_,M,k,E,$,T,P,F,()=>V(a.id),()=>V(a.id),()=>ee(),()=>{X(a)},()=>re(),()=>K(),()=>Q(),()=>{X(a)},()=>K(),()=>Q(),function(e){be[e?"unshift":"push"](()=>{i=e,o(3,i)})},()=>ee(),()=>re(),()=>ne(),()=>ne(),function(e){be[e?"unshift":"push"](()=>{c=e,o(12,c)})},function(e){be[e?"unshift":"push"](()=>{l=e,o(11,l)})},function(e){be[e?"unshift":"push"](()=>{i=e,o(3,i)})},()=>K(),()=>Q(),()=>ne(),()=>ne(),function(e){be[e?"unshift":"push"](()=>{c=e,o(12,c)})},function(e){be[e?"unshift":"push"](()=>{l=e,o(11,l)})},()=>K(),()=>Q(),function(e){be[e?"unshift":"push"](()=>{m=e,o(19,m)})}]}function is(n){let r,i,o,s,a,l,c,t,u,d,h;return{c(){r=W("div"),i=W("div"),o=W("span"),o.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>',s=Z(),a=W("slot"),X(o,"class","FilterModalCloseBtn"),X(o,"role","button"),X(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),X(r,"class","FilterModalWindow"),X(r,"id","FilterModal"),L(()=>n[14].call(r))},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(i,s),Y(i,a),n[13](r),c=f(r,n[14].bind(r)),u=!0,d||(h=q(o,"click",n[7]),d=!0)},p(e,t){n=e,(!u||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&X(i,"class",l)},i(e){u||(L(()=>{t=t||se(r,$o,{transitionDuration:n[1]},!0),t.run(1)}),u=!0)},o(e){t=t||se(r,$o,{transitionDuration:n[1]},!1),t.run(0),u=!1},d(e){e&&z(r),n[13](null),c(),e&&t&&t.end(),d=!1,h()}}}function os(n){let r,i,o=n[0]&&is(n);return{c(){r=W("div"),o&&o.c(),this.c=U},m(e,t){j(e,r,t),o&&o.m(r,null),n[15](r),i=!0},p(e,[t]){e[0]?o?(o.p(e,t),1&t&&re(o,1)):(o=is(e),o.c(),re(o,1),o.m(r,null)):o&&(te(),ie(o,1,1,()=>{o=null}),ne())},i(e){i||(re(o),i=!0)},o(e){ie(o),i=!1},d(e){e&&z(r),o&&o.d(),n[15](null)}}}function ss(e,t,n){let r,i,o,s,{show:a=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,f=window.navigator.userAgent,g=!1;const m=()=>{n(0,a=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},y=e=>{"ShowFilterModal"===e.data.type&&(n(0,a=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(m(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))},w=()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,i.appendChild(t)})};return ve(()=>(window.addEventListener("message",y,!1),Ur(f)&&n(2,g=!0),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"show"in e&&n(0,a=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(8,c=e.session),"userid"in e&&n(9,u=e.userid),"clientstyling"in e&&n(10,d=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint)},e.$$.update=()=>{4864&e.$$.dirty&&c&&u&&p&&Hr(p,c).then(e=>{},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,a&&setTimeout(()=>{r.appendChild(e)})})(),2048&e.$$.dirty&&h&&w(),2049&e.$$.dirty&&a&&h&&w()},[a,l,g,r,i,void 0,void 0,m,c,u,d,h,p,function(e){be[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){o=this.clientWidth,s=this.clientHeight,n(5,o),n(6,s)},function(e){be[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends ce{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'}.BottomGame{padding-left:60px;padding-right:60px;padding-bottom:15px;min-height:85px;background-color:#14143B;display:flex;justify-content:space-between;align-items:center}.DepositButton,.PlayNowButton{border:none;width:129px;height:60px;background-color:#28A745;color:white;border-radius:2px;cursor:pointer}.PlayNowButton{background-color:#D0046C}.GameThumbnail{border-radius:2px;width:270px;height:180px}.FullscreenButton{border-radius:2px;border:none;width:60px;height:60px;background-color:#D0046C;float:right;margin-top:20px}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:#fff;font-size:26px}.ButtonsContainer{width:275px;margin-top:20px;display:flex;flex-direction:row;justify-content:space-between}.RegisterButton{color:#ffffff;background-color:#D0046C;border-radius:2px;border:none;width:129px;height:60px}.LoginButton{color:#D0046C;background-color:#07072A;border-radius:2px;border:1px solid #D0046C;width:129px;height:60px}.FullWidthButton{color:#D0046C;background-color:#07072A;border-radius:2px;border:1px solid #D0046C;width:100%;height:60px;margin-top:20px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:60px;margin:20px 0 0 0;display:flex;align-items:center;justify-content:center}svg{fill:#ffffff}p{color:white}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:center}#IframeGame{width:100%;height:100%}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:47px;left:47px;cursor:pointer}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicText{display:flex;align-items:center}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection svg{fill:none}.PanicSection p{font-size:16px;color:#fff}.PanicSection .Button{border-radius:2px;border:1px solid #D0046C;background-color:#D0046C;width:240px;height:60px;color:#fff;cursor:pointer}</style>",le(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},rs,ns,t,{endpoint:29,datasource:30,lang:31,session:32,userid:33,clientstyling:34,clientstylingurl:35,favorites:0,loginurl:36,registerurl:37,depositurl:38,loginevent:39,registerevent:40,depositevent:41,clockformat:42,haspanicbutton:1},null,[-1,-1,-1]),e&&(e.target&&j(e.target,this,e.anchor),e.props&&(this.$set(e.props),G()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),G()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$$set({datasource:e}),G()}get lang(){return this.$$.ctx[31]}set lang(e){this.$$set({lang:e}),G()}get session(){return this.$$.ctx[32]}set session(e){this.$$set({session:e}),G()}get userid(){return this.$$.ctx[33]}set userid(e){this.$$set({userid:e}),G()}get clientstyling(){return this.$$.ctx[34]}set clientstyling(e){this.$$set({clientstyling:e}),G()}get clientstylingurl(){return this.$$.ctx[35]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),G()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),G()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$$set({loginurl:e}),G()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$$set({registerurl:e}),G()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$$set({depositurl:e}),G()}get loginevent(){return this.$$.ctx[39]}set loginevent(e){this.$$set({loginevent:e}),G()}get registerevent(){return this.$$.ctx[40]}set registerevent(e){this.$$set({registerevent:e}),G()}get depositevent(){return this.$$.ctx[41]}set depositevent(e){this.$$set({depositevent:e}),G()}get clockformat(){return this.$$.ctx[42]}set clockformat(e){this.$$set({clockformat:e}),G()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),G()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends ce{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}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:10;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid #FD2839;border-radius:5px;position:relative;background:#fff}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:#FD2839;background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>",le(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ss,os,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12},null),e&&(e.target&&j(e.target,this,e.anchor),e.props&&(this.$set(e.props),G()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),G()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),G()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),G()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),G()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),G()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),G()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),G()}});const as={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement ...",filterModalTitle:"Filtrer par",filterModalSubtitle:"Vous pouvez sélectionner plusieurs fournisseurs",filterClear:"Eclaircir",filterApply:"Appliquer"}},es:{filters:{loading:"Cargando ...",filterModalTitle:"Filtrado por",filterModalSubtitle:"Puede seleccionar varios proveedores",filterClear:"Despejar",filterApply:"Solicitar"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"A carregar",filterModalTitle:"Filtrar",filterModalSubtitle:"Escolha múltipla possível",filterClear:"Limpar filtro",filterApply:"Feito"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function ls(e,t,n){const r=e.slice();return r[32]=t[n],r}function cs(n){let r,i,o,s,a,l,c,u,d,h,p,f,g,m,y,w,v,b,S,x=n[6]("filters.filterModalTitle")+"",_=n[6]("filters.filterModalSubtitle")+"",C=n[6]("filters.filterApply")+"",M=n[0]&&ds(n),k=n[3]&&fs(n);return{c(){r=W("div"),i=W("section"),o=W("div"),s=W("h4"),a=V(x),l=Z(),c=W("h5"),u=V(_),d=Z(),h=W("section"),M&&M.c(),p=Z(),f=W("section"),k&&k.c(),g=Z(),m=W("div"),y=V(C),X(s,"class","FilterHeaderTitle"),X(c,"class","FilterHeaderSubtitle"),X(o,"class","FilterHeaderDetails"),X(i,"class","FilterHeaderSection"),X(h,"class","FilterContentSection"),X(m,"class",w="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),X(f,"class","FilterFooterSection"),X(r,"class",v="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){j(e,r,t),Y(r,i),Y(i,o),Y(o,s),Y(s,a),Y(o,l),Y(o,c),Y(c,u),Y(r,d),Y(r,h),M&&M.m(h,null),Y(r,p),Y(r,f),k&&k.m(f,null),Y(f,g),Y(f,m),Y(m,y),b||(S=q(m,"click",n[19]),b=!0)},p(e,t){64&t[0]&&x!==(x=e[6]("filters.filterModalTitle")+"")&&J(a,x),64&t[0]&&_!==(_=e[6]("filters.filterModalSubtitle")+"")&&J(u,_),e[0]?M?M.p(e,t):(M=ds(e),M.c(),M.m(h,null)):M&&(M.d(1),M=null),e[3]?k?k.p(e,t):(k=fs(e),k.c(),k.m(f,g)):k&&(k.d(1),k=null),64&t[0]&&C!==(C=e[6]("filters.filterApply")+"")&&J(y,C),4&t[0]&&w!==(w="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&X(m,"class",w),2&t[0]&&v!==(v="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&X(r,"class",v)},d(e){e&&z(r),M&&M.d(),k&&k.d(),b=!1,S()}}}function us(e){let n;return{c(){n=W("div"),X(n,"class","lds-dual-ring")},m(e,t){j(e,n,t)},p:U,d(e){e&&z(n)}}}function ds(t){let i,o=t[0],s=[];for(let e=0;e<o.length;e+=1)s[e]=ps(ls(t,o,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();i=u()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);j(t,i,n)},p(t,n){if(129&n[0]){let e;for(o=t[0],e=0;e<o.length;e+=1){var r=ls(t,o,e);s[e]?s[e].p(r,n):(s[e]=ps(r),s[e].c(),s[e].m(i.parentNode,i))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){c(s,e),e&&z(i)}}}function hs(){let n;return{c(){n=W("div"),n.innerHTML='<div class="CheckMark"></div>',X(n,"class","FilterIconContainer")},m(e,t){j(e,n,t)},d(e){e&&z(n)}}}function ps(n){let r,i,o,s,a,l,c,u,d,h=n[32].isFilterSelected&&hs();function p(){return n[17](n[32])}return{c(){r=W("div"),i=W("img"),a=Z(),h&&h.c(),l=Z(),X(i,"class","VendorImage"),H(i.src,o=n[32].image)||X(i,"src",o),X(i,"alt",s=n[32].name),X(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){j(e,r,t),Y(r,i),Y(r,a),h&&h.m(r,null),Y(r,l),u||(d=q(r,"click",p),u=!0)},p(e,t){n=e,1&t[0]&&!H(i.src,o=n[32].image)&&X(i,"src",o),1&t[0]&&s!==(s=n[32].name)&&X(i,"alt",s),n[32].isFilterSelected?h||(h=hs(),h.c(),h.m(r,l)):h&&(h.d(1),h=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&X(r,"class",c)},d(e){e&&z(r),h&&h.d(),u=!1,d()}}}function fs(e){let n,r=e[3].length&&gs(e);return{c(){r&&r.c(),n=u()},m(e,t){r&&r.m(e,t),j(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):(r=gs(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&z(n)}}}function gs(n){let r,i,o,s,a=n[6]("filters.filterClear")+"";return{c(){r=W("div"),i=V(a),X(r,"class","ClearFiltersButton")},m(e,t){j(e,r,t),Y(r,i),o||(s=q(r,"click",n[18]),o=!0)},p(e,t){64&t[0]&&a!==(a=e[6]("filters.filterClear")+"")&&J(i,a)},d(e){e&&z(r),o=!1,s()}}}function ms(n){let r;function i(e){return e[4]?us:cs}let o=i(n),s=o(n);return{c(){r=W("div"),s.c(),this.c=U},m(e,t){j(e,r,t),s.m(r,null),n[20](r)},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)))},i:U,o:U,d(e){e&&z(r),s.d(),n[20](null)}}}function ys(e,t,i){let n;we(e,Gr,e=>i(6,n=e));let r,{endpoint:o=""}=t,{datasource:s=""}=t,{lang:a=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,h=[],p=!1,f=window.navigator.userAgent,g=!1,m="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),w=[],v={},b=!1;v[m]&&(v={[m]:[]});let S=[];var x,_;({withLocale:x,translations:_}={withLocale:"en",translations:{}}),Tr.subscribe(e=>{null==e&&(yr.set(_),Tr.set(x))}),Object.keys(as).forEach(e=>{vr(e,as[e])});const C=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(m&&(y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),y&&i(3,w=y[m])),!w){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[m]:w})):(e=JSON.parse(e),e[m]=w,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}r=`${o}/casino/vendors?filter=games(groups=${m})&datasource=`+s,new Promise((t,n)=>{fetch(r).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},m&&t[m]&&(e.isFilterSelected=0<=t[m].indexOf(e.id))}),i(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=w;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),S=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),i(3,w=S),i(2,g=!1);break;case"AvailableVendors":i(0,h=t.data.venArray),i(3,w=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(0,h=t.data.venArray),h&&i(3,w=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":E(),window.postMessage({type:"ApplyFilters"},window.location.href),i(2,g=!1);break;case"ModalClosed":h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":m=t.data.categoryid,y&&m&&i(3,w=y[m]);break;case"ModalLoader":i(4,b=!1)}var r},M=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(w.push(t.id),i(2,g=!k(w,S))):(w.includes(t.id)&&i(3,w=w.filter(e=>e!==t.id)),i(2,g=!(!w.length&&k(w,S)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},k=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},E=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(2,g=k(w,S)),i(3,w=[]),null!==e&&(e=JSON.parse(e),e[m]=w,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},$=()=>{i(4,b=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[m]:w})):(e=JSON.parse(e),e[m]=w,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return ve(()=>(window.addEventListener("message",C,!1),Ur(f)&&i(1,p=!0),()=>{window.removeEventListener("message",C)})),e.$$set=e=>{"endpoint"in e&&i(10,o=e.endpoint),"datasource"in e&&i(11,s=e.datasource),"lang"in e&&i(12,a=e.lang),"session"in e&&i(13,l=e.session),"userid"in e&&i(14,c=e.userid),"clientstyling"in e&&i(15,u=e.clientstyling),"clientstylingurl"in e&&i(16,d=e.clientstylingurl)},e.$$.update=()=>{32768&e.$$.dirty[0]&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)})(),65536&e.$$.dirty[0]&&d&&(()=>{let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,r&&setTimeout(()=>{r.appendChild(t)},1)})})()},[h,p,g,w,b,r,n,M,E,$,o,s,a,l,c,u,d,e=>M(e),()=>E(),()=>$(),function(e){be[e?"unshift":"push"](()=>{r=e,i(5,r)})}]}function ws(e){let n,r,i,o,s,a,l,c,u,d,h,p,f,g,m;return{c(){n=W("div"),r=W("div"),i=W("div"),o=Z(),s=W("div"),a=Z(),l=W("casino-categories-slider"),c=Z(),u=W("casino-page"),d=Z(),h=W("casino-modal"),p=W("casino-game-page"),f=Z(),g=W("casino-filter-modal"),m=W("casino-filter-page"),X(i,"class","HeaderPlaceholder"),E(i,"height",e[18]+"px"),X(s,"class","ScrollTop"),_(l,"endpoint",e[12]),_(l,"datasource",e[13]),_(l,"lang",e[14]),_(l,"session",e[0]),_(l,"userid",e[1]),_(l,"mostplayed",e[20]),_(l,"favorites",e[21]),_(l,"clientstyling",e[2]),_(l,"clientstylingurl",e[3]),_(l,"containermaxwidth",e[10]),_(u,"session",e[0]),_(u,"userid",e[1]),_(u,"endpoint",e[12]),_(u,"datasource",e[13]),_(u,"lang",e[14]),_(u,"visiblegames","10"),_(u,"alternativesearch",e[9]),_(u,"favorites",e[21]),_(u,"mostplayed",e[20]),_(u,"clientstyling",e[2]),_(u,"clientstylingurl",e[3]),_(u,"lobbyid",e[5]),_(u,"containermaxwidth",e[10]),_(u,"haspanicbutton",e[11]),_(p,"session",e[0]),_(p,"userid",e[1]),_(p,"endpoint",e[12]),_(p,"datasource",e[13]),_(p,"lang",e[14]),_(p,"loginevent",e[6]),_(p,"favorites",e[21]),_(p,"registerevent",e[7]),_(p,"depositevent",e[8]),_(p,"clientstyling",e[2]),_(p,"clientstylingurl",e[3]),_(p,"clockformat",e[4]),_(p,"haspanicbutton",e[11]),_(h,"session",e[0]),_(h,"userid",e[1]),_(h,"endpoint",e[12]),_(h,"datasource",e[13]),_(h,"lang",e[14]),_(h,"clientstyling",e[2]),_(h,"clientstylingurl",e[3]),_(m,"session",e[0]),_(m,"userid",e[1]),_(m,"endpoint",e[12]),_(m,"datasource",e[13]),_(m,"lang",e[14]),_(m,"clientstylingurl",e[3]),_(m,"clientstyling",e[2]),_(g,"clientstylingurl",e[3]),_(g,"session",e[0]),_(g,"userid",e[1]),_(g,"endpoint",e[12]),_(g,"datasource",e[13]),_(g,"lang",e[14]),_(g,"clientstyling",e[2]),X(r,"class","WidgetsSection"),X(n,"class","CasinoLobby")},m(e,t){j(e,n,t),Y(n,r),Y(r,i),Y(r,o),Y(r,s),Y(r,a),Y(r,l),Y(r,c),Y(r,u),Y(r,d),Y(r,h),Y(h,p),Y(r,f),Y(r,g),Y(g,m)},p(e,t){262144&t[0]&&E(i,"height",e[18]+"px"),4096&t[0]&&_(l,"endpoint",e[12]),8192&t[0]&&_(l,"datasource",e[13]),16384&t[0]&&_(l,"lang",e[14]),1&t[0]&&_(l,"session",e[0]),2&t[0]&&_(l,"userid",e[1]),1048576&t[0]&&_(l,"mostplayed",e[20]),2097152&t[0]&&_(l,"favorites",e[21]),4&t[0]&&_(l,"clientstyling",e[2]),8&t[0]&&_(l,"clientstylingurl",e[3]),1024&t[0]&&_(l,"containermaxwidth",e[10]),1&t[0]&&_(u,"session",e[0]),2&t[0]&&_(u,"userid",e[1]),4096&t[0]&&_(u,"endpoint",e[12]),8192&t[0]&&_(u,"datasource",e[13]),16384&t[0]&&_(u,"lang",e[14]),512&t[0]&&_(u,"alternativesearch",e[9]),2097152&t[0]&&_(u,"favorites",e[21]),1048576&t[0]&&_(u,"mostplayed",e[20]),4&t[0]&&_(u,"clientstyling",e[2]),8&t[0]&&_(u,"clientstylingurl",e[3]),32&t[0]&&_(u,"lobbyid",e[5]),1024&t[0]&&_(u,"containermaxwidth",e[10]),2048&t[0]&&_(u,"haspanicbutton",e[11]),1&t[0]&&_(p,"session",e[0]),2&t[0]&&_(p,"userid",e[1]),4096&t[0]&&_(p,"endpoint",e[12]),8192&t[0]&&_(p,"datasource",e[13]),16384&t[0]&&_(p,"lang",e[14]),64&t[0]&&_(p,"loginevent",e[6]),2097152&t[0]&&_(p,"favorites",e[21]),128&t[0]&&_(p,"registerevent",e[7]),256&t[0]&&_(p,"depositevent",e[8]),4&t[0]&&_(p,"clientstyling",e[2]),8&t[0]&&_(p,"clientstylingurl",e[3]),16&t[0]&&_(p,"clockformat",e[4]),2048&t[0]&&_(p,"haspanicbutton",e[11]),1&t[0]&&_(h,"session",e[0]),2&t[0]&&_(h,"userid",e[1]),4096&t[0]&&_(h,"endpoint",e[12]),8192&t[0]&&_(h,"datasource",e[13]),16384&t[0]&&_(h,"lang",e[14]),4&t[0]&&_(h,"clientstyling",e[2]),8&t[0]&&_(h,"clientstylingurl",e[3]),1&t[0]&&_(m,"session",e[0]),2&t[0]&&_(m,"userid",e[1]),4096&t[0]&&_(m,"endpoint",e[12]),8192&t[0]&&_(m,"datasource",e[13]),16384&t[0]&&_(m,"lang",e[14]),8&t[0]&&_(m,"clientstylingurl",e[3]),4&t[0]&&_(m,"clientstyling",e[2]),8&t[0]&&_(g,"clientstylingurl",e[3]),1&t[0]&&_(g,"session",e[0]),2&t[0]&&_(g,"userid",e[1]),4096&t[0]&&_(g,"endpoint",e[12]),8192&t[0]&&_(g,"datasource",e[13]),16384&t[0]&&_(g,"lang",e[14]),4&t[0]&&_(g,"clientstyling",e[2])},d(e){e&&z(n)}}}function vs(e){let n,r;return{c(){n=W("p"),r=V(e[17]),E(n,"color","#fff")},m(e,t){j(e,n,t),Y(n,r)},p(e,t){131072&t[0]&&J(r,e[17])},d(e){e&&z(n)}}}function bs(n){let r,i;function o(e){return e[16]?vs:ws}let s=o(n),a=s(n);return{c(){r=W("div"),a.c(),this.c=U,X(r,"class",i=n[15]?"DisplayNone":"")},m(e,t){j(e,r,t),a.m(r,null),n[33](r)},p(e,t){s===(s=o(e))&&a?a.p(e,t):(a.d(1),a=s(e),a&&(a.c(),a.m(r,null))),32768&t[0]&&i!==(i=e[15]?"DisplayNone":"")&&X(r,"class",i)},i:U,o:U,d(e){e&&z(r),a.d(),n[33](null)}}}function Ss(t,e,n){let r,i,o,s,{endpoint:a=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{session:u=""}=e,{userid:d=""}=e,{opsession:h=""}=e,{clientstyling:p=""}=e,{clientstylingurl:f=""}=e,{clockformat:g=""}=e,m=e["lobbyid"],{loginurl:y=""}=e,{registerurl:w=""}=e,{depositurl:v=""}=e,{loginevent:b=""}=e,{registerevent:S=""}=e,{depositevent:x=""}=e,{mostplayed:_=""}=e,{favorites:C=""}=e,{desktopoffset:M="0"}=e,{mobileoffset:k="0"}=e,{alternativesearch:E="false"}=e,{containermaxwidth:$=""}=e,{haspanicbutton:T="false"}=e,P=!1,F=!1,I="Loading, please wait ...",A=window.navigator.userAgent,D=0,L=!1;var O,R;({withLocale:O,translations:R}={withLocale:"en",translations:{}}),Tr.subscribe(e=>{null==e&&(yr.set(R),Tr.set(O))});const N=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":L=e.data.scrollTop,L&&(D?window.scrollTo({top:D}):(void 0).scrollIntoView());break;case"UserSessionID":e.data.session,e.data.userID}};let G,U;return ve(()=>(window.addEventListener("message",N,!1),n(18,D="PC"===Br(A)?M:k),()=>{window.removeEventListener("message",N)})),t.$$set=e=>{"endpoint"in e&&n(22,a=e.endpoint),"datasource"in e&&n(23,l=e.datasource),"lang"in e&&n(24,c=e.lang),"session"in e&&n(0,u=e.session),"userid"in e&&n(1,d=e.userid),"opsession"in e&&n(25,h=e.opsession),"clientstyling"in e&&n(2,p=e.clientstyling),"clientstylingurl"in e&&n(3,f=e.clientstylingurl),"clockformat"in e&&n(4,g=e.clockformat),"lobbyid"in e&&n(5,m=e.lobbyid),"loginurl"in e&&n(26,y=e.loginurl),"registerurl"in e&&n(27,w=e.registerurl),"depositurl"in e&&n(28,v=e.depositurl),"loginevent"in e&&n(6,b=e.loginevent),"registerevent"in e&&n(7,S=e.registerevent),"depositevent"in e&&n(8,x=e.depositevent),"mostplayed"in e&&n(29,_=e.mostplayed),"favorites"in e&&n(30,C=e.favorites),"desktopoffset"in e&&n(31,M=e.desktopoffset),"mobileoffset"in e&&n(32,k=e.mobileoffset),"alternativesearch"in e&&n(9,E=e.alternativesearch),"containermaxwidth"in e&&n(10,$=e.containermaxwidth),"haspanicbutton"in e&&n(11,T=e.haspanicbutton)},t.$$.update=()=>{var e;4194307&t.$$.dirty[0]&&u&&d&&a&&Hr(a,u).then(e=>{},e=>{console.error("Error while checking the session - ",e)}),1639972864&t.$$.dirty[0]&&a&&l&&c&&_&&C&&(a||(n(17,I="Endpoint is missing! Please provide a valid endpointURL."),n(16,F=!0),console.error(I)),l||(n(17,I="Datasource is missing! Please provide a valid datasource."),n(16,F=!0),console.error(I)),c&&2==c.length||(n(17,I="Language is missing! Please provide a valid language (alpha2code)"),n(16,F=!0),console.error(I)),e=c,Tr.set(e),n(12,r=a),n(13,i=l),n(14,o=c),n(20,G=_),n(21,U=C),n(16,F=!1)),t.$$.dirty[0],4&t.$$.dirty[0]&&p&&(()=>{let e=document.createElement("style");e.innerHTML=p,s.appendChild(e)})(),8&t.$$.dirty[0]&&f&&(()=>{n(15,P=!0);let t=document.createElement("style");fetch(new URL(f)).then(e=>e.text()).then(e=>{t.innerHTML=e,s&&(setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{n(15,P=!1)},500))})})()},[u,d,p,f,g,m,b,S,x,E,$,T,r,i,o,P,F,I,D,s,G,U,a,l,c,h,y,w,v,_,C,M,k,function(e){be[e?"unshift":"push"](()=>{s=e,n(19,s)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends ce{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'}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:30px}.VendorBox{width:230px;height:125px;border:1px solid #E6E6E6;border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid #D0046C}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:#D0046C}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid #fff;border-right:2px solid #fff;display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid #D0046C;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid #F9A8D4}.FilterFooterSection .ClearFiltersButton{background:#fff;color:#D0046C}.FilterFooterSection .ApplyFiltersButton{background:#D0046C;color:#fff}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:#E6E6E6;border:1px solid #E6E6E6;pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid #E6E6E6}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:#707070}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid #fff;border-right:1px solid #fff;top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid #D0046C;border-color:#D0046C transparent #D0046C transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",le(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ys,ms,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&j(e.target,this,e.anchor),e.props&&(this.$set(e.props),G()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),G()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),G()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),G()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),G()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),G()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),G()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),G()}});class xs extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoLobby{background-color:#07072A;width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>",le(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ss,bs,t,{endpoint:22,datasource:23,lang:24,session:0,userid:1,opsession:25,clientstyling:2,clientstylingurl:3,clockformat:4,lobbyid:5,loginurl:26,registerurl:27,depositurl:28,loginevent:6,registerevent:7,depositevent:8,mostplayed:29,favorites:30,desktopoffset:31,mobileoffset:32,alternativesearch:9,containermaxwidth:10,haspanicbutton:11},null,[-1,-1]),e&&(e.target&&j(e.target,this,e.anchor),e.props&&(this.$set(e.props),G()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),G()}get datasource(){return this.$$.ctx[23]}set datasource(e){this.$$set({datasource:e}),G()}get lang(){return this.$$.ctx[24]}set lang(e){this.$$set({lang:e}),G()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),G()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),G()}get opsession(){return this.$$.ctx[25]}set opsession(e){this.$$set({opsession:e}),G()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),G()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),G()}get clockformat(){return this.$$.ctx[4]}set clockformat(e){this.$$set({clockformat:e}),G()}get lobbyid(){return this.$$.ctx[5]}set lobbyid(e){this.$$set({lobbyid:e}),G()}get loginurl(){return this.$$.ctx[26]}set loginurl(e){this.$$set({loginurl:e}),G()}get registerurl(){return this.$$.ctx[27]}set registerurl(e){this.$$set({registerurl:e}),G()}get depositurl(){return this.$$.ctx[28]}set depositurl(e){this.$$set({depositurl:e}),G()}get loginevent(){return this.$$.ctx[6]}set loginevent(e){this.$$set({loginevent:e}),G()}get registerevent(){return this.$$.ctx[7]}set registerevent(e){this.$$set({registerevent:e}),G()}get depositevent(){return this.$$.ctx[8]}set depositevent(e){this.$$set({depositevent:e}),G()}get mostplayed(){return this.$$.ctx[29]}set mostplayed(e){this.$$set({mostplayed:e}),G()}get favorites(){return this.$$.ctx[30]}set favorites(e){this.$$set({favorites:e}),G()}get desktopoffset(){return this.$$.ctx[31]}set desktopoffset(e){this.$$set({desktopoffset:e}),G()}get mobileoffset(){return this.$$.ctx[32]}set mobileoffset(e){this.$$set({mobileoffset:e}),G()}get alternativesearch(){return this.$$.ctx[9]}set alternativesearch(e){this.$$set({alternativesearch:e}),G()}get containermaxwidth(){return this.$$.ctx[10]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),G()}get haspanicbutton(){return this.$$.ctx[11]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),G()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",xs),xs});
2
4
  //# sourceMappingURL=casino-lobby.js.map