@everymatrix/casino-lobby 1.9.2 → 1.9.3

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,6 +1,6 @@
1
1
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(o){"use strict";(e=o)&&"object"==typeof e&&0 in e;function V(){}const v=e=>e;function m(e){return e()}function h(){return Object.create(null)}function q(e){e.forEach(m)}function F(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let l;function ce(e,t){return(l=l||document.createElement("a")).href=t,e===l.href}function u(e,...t){if(null==e)return V;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ct(e,t,n){e.$$.on_destroy.push(u(t,n))}function S(e){return e&&F(e.destroy)?e.destroy:V}var e="undefined"!=typeof window;let w=e?()=>window.performance.now():()=>Date.now(),$=e?e=>requestAnimationFrame(e):V;const x=new Set;function C(t){x.forEach(e=>{e.c(t)||(x.delete(e),e.f())}),0!==x.size&&$(C)}function de(e,t){e.appendChild(t)}function M(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function ue(e,t,n){e.insertBefore(t,n||null)}function pe(e){e.parentNode&&e.parentNode.removeChild(e)}function H(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function me(e){return document.createElement(e)}function j(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function he(e){return document.createTextNode(e)}function ge(){return he(" ")}function c(){return he("")}function Z(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function k(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.data!==(t=""+t)&&(e.data=t)}function E(e,t){e.value=null==t?"":t}function P(e,t,n,i){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}let d;function T(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=me("iframe"),i=(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,function(){if(void 0===d){d=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){d=!0}}return d}());let r;return i?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=Z(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{r=Z(n.contentWindow,"resize",t),t()}),de(e,n),()=>{(i||r&&n.contentWindow)&&r(),pe(n)}}function B(e,t,n){e.classList[n?"add":"remove"](t)}class L{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=j(t.nodeName):this.e=me(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(("TEMPLATE"===this.e.nodeName?this.e.content:this.e).childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)ue(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(pe)}}function i(e){var t={};for(const n of e)t[n.name]=n.value;return t}const I=new Map;let G,_=0;function R(e,t,n,i,r,a,o,s=0){var l=16.666/i;let c="{\n";for(let e=0;e<=1;e+=l){const i=t+(n-t)*a(e);c+=100*e+`%{${o(i,1-i)}}
2
2
  `}var d,u=c+`100% {${o(n,1-n)}}
3
- }`,s=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,p=M(e),{stylesheet:m,rules:h}=I.get(p)||(p=p,d={stylesheet:(d=e,h=me("style"),d=M(d),m=h,de(d.head||d,m),m.sheet,h.sheet),rules:{}},I.set(p,d),d),p=(h[s]||(h[s]=!0,m.insertRule(`@keyframes ${s} `+u,m.cssRules.length)),e.style.animation||"");return e.style.animation=(p?p+", ":"")+s+` ${i}ms linear ${r}ms 1 both`,_+=1,s}function D(e){G=e}function Ie(){if(G)return G;throw new Error("Function called outside component initialization")}function it(e){Ie().$$.on_mount.push(e)}const A=[],rt=[];let N=[];const O=[],U=Promise.resolve();let z=!1;function W(){z||(z=!0,U.then(p))}function ke(){return W(),U}function Y(e){N.push(e)}const J=new Set;let K,X=0;function p(){if(0===X){const i=G;do{try{for(;X<A.length;){const i=A[X];X++,D(i),e=t=void 0;var e,t=i.$$;null!==t.fragment&&(t.update(),q(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Y))}}catch(i){throw A.length=0,X=0,i}for(D(null),A.length=0,X=0;rt.length;)rt.pop()();for(let e=0;e<N.length;e+=1){var n=N[e];J.has(n)||(J.add(n),n())}}while(N.length=0,A.length);for(;O.length;)O.pop()();z=!1,J.clear(),D(i)}}function Q(e,t,n){var i;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:n=!1}={}]=[(t?"intro":"outro")+n],(i=document.createEvent("CustomEvent")).initCustomEvent(e,t,n,void 0),i))}const ee=new Set;let te;function ne(){te={r:0,c:[],p:te}}function ie(){te.r||q(te.c),te=te.p}function re(e,t){e&&e.i&&(ee.delete(e),e.i(t))}function ae(e,t,n,i){e&&e.o?ee.has(e)||(ee.add(e),te.c.push(()=>{ee.delete(e),i&&(n&&e.d(1),i())}),e.o(t)):i&&i()}const oe={duration:0};function se(l,e,t,n){const i={direction:"both"};let c=e(l,t,i),d=n?0:1,u=null,p=null,m=null;function h(){var e,t,n,i;m&&(e=l,t=m,n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(n=n.length-i.length)||(e.style.animation=i.join(", "),_-=n)||$(()=>{_||(I.forEach(e=>{e=e.stylesheet.ownerNode;e&&pe(e)}),I.clear())}))}function g(e,t){var n=e.b-d;return t*=Math.abs(n),{a:d,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:i=v,tick:r=V,css:a}=c||oe,o={start:w()+t,b:e};if(e||((o.group=te).r+=1),u||p)p=o;else{a&&(h(),m=R(l,d,e,n,t,i,a)),e&&r(0,1),u=g(o,n),Y(()=>Q(l,e,"start"));{var s=e=>{if(p&&e>p.start&&(u=g(p,n),p=null,Q(l,u.b,"start"),a)&&(h(),m=R(l,d,u.b,u.duration,0,i,c.css)),u)if(e>=u.end)r(d=u.b,1-d),Q(l,u.b,"end"),p||(u.b?h():--u.group.r||q(u.group.c)),u=null;else if(e>=u.start){const l=e-u.start;d=u.a+u.d*i(l/u.duration),r(d,1-d)}return!(!u&&!p)};let t;0===x.size&&$(C),new Promise(e=>{x.add(t={c:s,f:e})})}}}return{run(e){F(c)?(K||(K=Promise.resolve()).then(()=>{K=null}),K.then(()=>{c=c(i),r(e)})):r(e)},end(){h(),u=p=null}}}function le(e,t){e.d(1),t.delete(e.key)}function be(t,n,i,r,a,o,s,l,e,c,d,u){let p=t.length,m=o.length,h=p;for(var g={};h--;)g[t[h].key]=h;var f=[],y=new Map,b=new Map,v=[];for(h=m;h--;){const t=u(a,o,h),q=i(t);let e=s.get(q);e?r&&v.push(()=>e.p(t,n)):(e=c(q,t)).c(),y.set(q,f[h]=e),q in g&&b.set(q,Math.abs(h-g[q]))}var w=new Set,$=new Set;function x(e){re(e,1),e.m(l,d),s.set(e.key,e),d=e.first,m--}for(;p&&m;){const n=f[m-1],i=t[p-1],r=n.key,a=i.key;n===i?(d=n.first,p--,m--):y.has(a)?!s.has(r)||w.has(r)?x(n):$.has(a)?p--:b.get(r)>b.get(a)?($.add(r),x(n)):(w.add(a),p--):(e(i,s),p--)}for(;p--;){const n=t[p];y.has(n.key)||e(n,s)}for(;m;)x(f[m-1]);return q(v),f}function r(i,e,t,n,r,a,o,s=[-1]){var l=G;D(i);const c=i.$$={fragment:null,ctx:[],props:a,update:V,not_equal:r,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:h(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&r(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d)&&(n=e,-1===(e=i).$$.dirty[0]&&(A.push(e),W(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),d=!0,q(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const i=Array.from(a.childNodes);c.fragment&&c.fragment.l(i),i.forEach(pe)}else c.fragment&&c.fragment.c();e.intro&&re(i.$$.fragment);var u=i,s=e.target,o=e.anchor,t=e.customElement,{fragment:n,after_update:a}=u.$$;n&&n.m(s,o),t||Y(()=>{var e=u.$$.on_mount.map(m).filter(F);u.$$.on_destroy?u.$$.on_destroy.push(...e):q(e),u.$$.on_mount=[]}),a.forEach(Y),p()}D(l)}let t;"function"==typeof HTMLElement&&(t=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(m).filter(F);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){q(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const i=[],r=[];N.forEach(e=>(-1===n.indexOf(e)?i:r).push(e)),r.forEach(e=>e()),N=i}q(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=V}$on(e,t){if(!F(t))return V;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 ve,we,$e="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==$e&&$e,xe="URLSearchParams"in $e,Ce="Symbol"in $e&&"iterator"in Symbol,Fe="FileReader"in $e&&"Blob"in $e&&function(){try{return new Blob,!0}catch(e){return!1}}(),Se="FormData"in $e,Me="ArrayBuffer"in $e;function Ee(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 Te(e){return e="string"!=typeof e?String(e):e}function Le(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ce&&(e[Symbol.iterator]=function(){return e}),e}function s(t){this.map={},t instanceof s?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 Ge(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function _e(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Pe(e){var t=new FileReader,n=_e(t);return t.readAsArrayBuffer(e),n}function Be(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Re(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Fe&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Se&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:xe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Me&&Fe&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Be(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Me&&(ArrayBuffer.prototype.isPrototypeOf(e)||we(e))?this._bodyArrayBuffer=Be(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):xe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Fe&&(this.blob=function(){var e=Ge(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?Ge(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(Pe)}),this.text=function(){var e,t,n=Ge(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=_e(e),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Se&&(this.formData=function(){return this.text().then(Ne)}),this.json=function(){return this.text().then(JSON.parse)},this}Me&&(ve=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],we=ArrayBuffer.isView||function(e){return e&&-1<ve.indexOf(Object.prototype.toString.call(e))}),s.prototype.append=function(e,t){e=Ee(e),t=Te(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},s.prototype.delete=function(e){delete this.map[Ee(e)]},s.prototype.get=function(e){return e=Ee(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(Ee(e))},s.prototype.set=function(e,t){this.map[Ee(e)]=Te(t)},s.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},s.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Le(n)},s.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Le(t)},s.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Le(n)},Ce&&(s.prototype[Symbol.iterator]=s.prototype.entries);var De=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];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.');var n,i=(t=t||{}).body;if(e instanceof Ae){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=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 s(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<De.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ne(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Oe(e,t){if(!(this instanceof Oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new s(t.headers),this.url=t.url||"",this._initBody(e)}Ae.prototype.clone=function(){return new Ae(this,{body:this._bodyInit})},Re.call(Ae.prototype),Re.call(Oe.prototype),Oe.prototype.clone=function(){return new Oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},Oe.error=function(){var e=new Oe(null,{status:0,statusText:""});return e.type="error",e};var He=[301,302,303,307,308],je=(Oe.redirect=function(e,t){if(-1===He.indexOf(t))throw new RangeError("Invalid status code");return new Oe(null,{status:t,headers:{location:e}})},$e.DOMException);try{new je}catch(o){(je=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),je.prototype.constructor=je}function Ue(i,o){return new Promise(function(r,e){var t=new Ae(i,o);if(t.signal&&t.signal.aborted)return e(new je("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new s,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 e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},i=(t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){r(new Oe(i,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new je("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&$e.location.href?$e.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(Fe?a.responseType="blob":Me&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof s?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,Te(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function In(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ue.polyfill=!0,$e.fetch||($e.fetch=Ue,$e.Headers=s,$e.Request=Ae,$e.Response=Oe);var ze=self.fetch.bind(self),We=function(e,t){return(We=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 Ye(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}We(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function qe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(i=a.next()).done;)o.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}function Ze(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function Je(e){return"function"==typeof e}function Ke(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 Xe=Ke(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 Qe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}nt.prototype.unsubscribe=function(){var e,t,n,i,r;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Ve(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(Je(a))try{a()}catch(e){r=e instanceof Xe?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Ve(a),c=l.next();!c.done;c=l.next()){var d=c.value;try{ut(d)}catch(e){r=null!=r?r:[],e instanceof Xe?r=Ze(Ze([],qe(r)),qe(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}if(r)throw new Xe(r)}},nt.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ut(e);else{if(e instanceof nt){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},nt.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},nt.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},nt.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Qe(t,e)},nt.prototype.remove=function(e){var t=this._finalizers;t&&Qe(t,e),e instanceof nt&&e._removeParent(this)},nt.EMPTY=((e=new nt).closed=!0,e);var et=nt,tt=et.EMPTY;function nt(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function dt(e){return e instanceof et||e&&"closed"in e&&Je(e.remove)&&Je(e.add)&&Je(e.unsubscribe)}function ut(e){Je(e)?e():e.unsubscribe()}var pt=void 0,mt=!1,ht=!1,gt={setTimeout:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=gt.delegate;return null!=r&&r.setTimeout?r.setTimeout.apply(r,Ze([e,t],qe(n))):setTimeout.apply(void 0,Ze([e,t],qe(n)))},clearTimeout:function(e){var t=gt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ft(){}var yt=null;function bt(e){if(mt){var t=!yt;if(t&&(yt={errorThrown:!1,error:null}),e(),t){var t=yt,n=t.errorThrown,t=t.error;if(yt=null,n)throw t}}else e()}Ye(xt,vt=et),xt.create=function(e,t,n){return new St(e,t,n)},xt.prototype.next=function(e){this.isStopped||this._next(e)},xt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},xt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},xt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,vt.prototype.unsubscribe.call(this),this.destination=null)},xt.prototype._next=function(e){this.destination.next(e)},xt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},xt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var vt,wt=xt,$t=Function.prototype.bind;function xt(e){var t=vt.call(this)||this;return t.isStopped=!1,e?dt(t.destination=e)&&e.add(t):t.destination=Lt,t}function Ct(e,t){return $t.call(e,t)}Et.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Tt(e)}},Et.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Tt(e)}else Tt(e)},Et.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Tt(e)}};var kt,Ft=Et,St=(Ye(Mt,kt=wt),Mt);function Mt(e,t,n){var i=kt.call(this)||this,n=Je(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:i&&ht?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&Ct(e.next,t),error:e.error&&Ct(e.error,t),complete:e.complete&&Ct(e.complete,t)}):e;return i.destination=new Ft(n),i}function Et(e){this.partialObserver=e}function Tt(e){var t=e;gt.setTimeout(function(){throw t})}var Lt={closed:!0,next:ft,error:function(e){throw e},complete:ft},e="function"==typeof Symbol&&Symbol.observable||"@@observable";Gt.prototype.lift=function(e){var t=new Gt;return t.source=this,t.operator=e,t},Gt.prototype.subscribe=function(e,t,n){var i,r=this,a=(i=e)&&i instanceof wt||i&&Je(i.next)&&Je(i.error)&&Je(i.complete)&&dt(i)?e:new St(e,t,n);return bt(function(){var e=r.operator,t=r.source;a.add(e?e.call(a,t):t?r._subscribe(a):r._trySubscribe(a))}),a},Gt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Gt.prototype.forEach=function(i,e){var r=this;return new(e=_t(e))(function(e,t){var n=new St({next:function(e){try{i(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});r.subscribe(n)})},Gt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Gt.prototype[e]=function(){return this},Gt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Gt.prototype.toPromise=function(e){var i=this;return new(e=_t(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Gt.create=function(e){return new Gt(e)};var It=Gt;function Gt(e){e&&(this._subscribe=e)}function _t(e){return null!=(e=null!=e?e:pt)?e:Promise}var Pt,Bt,Rt,Dt=Ke(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Ye(Ut,Rt=It),Ut.prototype.lift=function(e){var t=new At(this,this);return t.operator=e,t},Ut.prototype._throwIfClosed=function(){if(this.closed)throw new Dt},Ut.prototype.next=function(r){var a=this;bt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=Ve(a.currentObservers),i=n.next();!i.done;i=n.next())i.value.next(r)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Ut.prototype.error=function(t){var n=this;bt(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)}})},Ut.prototype.complete=function(){var t=this;bt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Ut.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Ut.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Ut.prototype._trySubscribe=function(e){return this._throwIfClosed(),Rt.prototype._trySubscribe.call(this,e)},Ut.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Ut.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,i=this.isStopped,r=this.observers;return n||i?tt:(this.currentObservers=null,r.push(e),new et(function(){t.currentObservers=null,Qe(r,e)}))},Ut.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},Ut.prototype.asObservable=function(){var e=new It;return e.source=this,e},Ut.create=function(e,t){return new At(e,t)},Ut),At=(Ye(jt,Bt=e),jt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},jt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},jt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},jt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:tt},jt),Nt={now:function(){return(Nt.delegate||Date).now()},delegate:void 0},Ot=(Ye(Ht,Pt=e),Ht.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,r=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(i.push(e),r)||i.push(a.now()+t),this._trimBuffer(),Pt.prototype.next.call(this,e)},Ht.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t},Ht.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,r=(i?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!i){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},Ht);function Ht(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Nt);var i=Pt.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function jt(e,t){var n=Bt.call(this)||this;return n.destination=e,n.source=t,n}function Ut(){var e=Rt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let zt=[],Wt={};const Yt=[];function Vt(i,r=V){let a;const o=new Set;function s(e){if(n(i,e)&&(i=e,a)){const e=!Yt.length;for(const e of o)e[1](),Yt.push(e,i);if(e){for(let e=0;e<Yt.length;e+=2)Yt[e][0](Yt[e+1]);Yt.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=V){const n=[e,t];return o.add(n),1===o.size&&(a=r(s)||V),e(i),()=>{o.delete(n),0===o.size&&a&&(a(),a=null)}}}}function qt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:Vt(t,t=>{let n=!1;const i=[];let r=0,a=V;const o=()=>{var e;r||(a(),e=s(l?i[0]:i,t),d?t(e):a=F(e)?e:V)},e=c.map((e,t)=>u(e,e=>{i[t]=e,r&=~(1<<t),n&&o()},()=>{r|=1<<t}));return n=!0,o(),function(){q(e),a(),n=!1}}).subscribe}}function Zt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Jt);var t}var Jt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Kt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nn(Array.isArray(e)?[]:{},e,t):e}function Xt(e,t,n){return e.concat(t).map(function(e){return Kt(e,n)})}function Qt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function en(e,t){try{return t in e}catch(e){return!1}}function tn(i,r,a){var o={};return a.isMergeableObject(i)&&Qt(i).forEach(function(e){o[e]=Kt(i[e],a)}),Qt(r).forEach(function(e){var t,n;(!en(t=i,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(en(i,e)&&a.isMergeableObject(r[e])?o[e]=((t=a).customMerge&&"function"==typeof(t=t.customMerge(e))?t:nn)(i[e],r[e],a):o[e]=Kt(r[e],a))}),o}function nn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Xt,n.isMergeableObject=n.isMergeableObject||Zt,n.cloneUnlessOtherwiseSpecified=Kt;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):tn(e,t,n):Kt(t,n)}nn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return nn(e,t,n)},{});throw new Error("first argument should be an array")};var rn=nn,an=function(e,t){return(an=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 on(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}an(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,sn,f=function(){return(f=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function ln(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function cn(e){return e.type===y.literal}function dn(e){return e.type===y.number}function un(e){return e.type===y.date}function pn(e){return e.type===y.time}function mn(e){return e.type===y.select}function hn(e){return e.type===y.plural}function gn(e){return e.type===y.tag}function fn(e){return e&&"object"==typeof e&&e.type===sn.number}function yn(e){return e&&"object"==typeof e&&e.type===sn.dateTime}(e=g=g||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=sn=sn||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,bn=/(?:[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 vn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,wn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$n=/^(@+)?(\+|#+)?[rs]?$/g,xn=/(\*)(0+)|(#+)(0+)|(0+)/g,Cn=/^(0+)$/;function kn(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace($n,function(e,t,n){return"string"!=typeof n?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===n?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),i}function Fn(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 Sn(e){return Fn(e)||{}}function Mn(e){for(var o={},t=0,n=e;t<n.length;t++){var i,r=n[t];switch(r.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=r.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=f(f(f({},o),{notation:"scientific"}),r.options.reduce(function(e,t){return f(f({},e),Sn(t))},{}));continue;case"engineering":o=f(f(f({},o),{notation:"engineering"}),r.options.reduce(function(e,t){return f(f({},e),Sn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(xn,function(e,t,n,i,r,a){if(t)o.minimumIntegerDigits=n.length;else{if(i&&r)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Cn.test(r.stem))o.minimumIntegerDigits=r.stem.length;else if(wn.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(wn,function(e,t,n,i,r,a){return"*"===n?o.minimumFractionDigits=t.length:i&&"#"===i[0]?o.maximumFractionDigits=i.length:r&&a?(o.minimumFractionDigits=r.length,o.maximumFractionDigits=r.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=r.options[0];"w"===a?o=f(f({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=f(f({},o),kn(a)))}else $n.test(r.stem)?o=f(f({},o),kn(r.stem)):((a=Fn(r.stem))&&(o=f(f({},o),a)),(i=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)),!Cn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem))&&(o=f(f({},o),i)))}return o}var En={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Tn=new RegExp("^".concat(e.source,"*")),Ln=new RegExp("".concat(e.source,"*$"));function b(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Gn=!!String.fromCodePoint,_n=!!Object.fromEntries,Pn=!!String.prototype.codePointAt,Bn=!!String.prototype.trimStart,Rn=!!String.prototype.trimEnd,Dn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},An=!0;try{An="a"===(null==(ai=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ai[0])}catch(o){An=!1}var Nn,On,Hn=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},jn=Gn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",r=e.length,a=0;a<r;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},Un=_n?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n],a=r[0],r=r[1];t[a]=r}return t},zn=Pn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,i=e.length;if(!(t<0||i<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?n:i-56320+(n-55296<<10)+65536},Wn=Bn?function(e){return e.trimStart()}:function(e){return e.replace(Tn,"")},Yn=Rn?function(e){return e.trimEnd()}:function(e){return e.replace(Ln,"")};function Vn(e,t){return new RegExp(e,t)}On=An?(Nn=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Nn.lastIndex=t,null!=(t=Nn.exec(e)[1])?t:""}):function(e,t){for(var n,i=[];;){var r=zn(e,t);if(void 0===r||Jn(r)||33<=(n=r)&&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;i.push(r),t+=65536<=r?2:1}return jn.apply(void 0,i)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var r,a=this.char();if(123===a){if((r=this.parseArgument(e,n)).err)return r;i.push(r.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Zn(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r}else if((r=this.parseLiteral(e,t)).err)return r;i.push(r.val)}else{a=this.clonePosition();this.bump(),i.push({type:y.pound,location:b(a,this.clonePosition())})}}}return{val:i,err:null}},a.prototype.parseTag=function(e,t){var n,i=this.clonePosition(),r=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(r,"/>"),location:b(i,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Zn(this.char())?this.error(g.INVALID_TAG,b(e,this.clonePosition())):(n=this.clonePosition(),r!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,b(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:b(i,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,b(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,b(i,this.clonePosition()))):this.error(g.INVALID_TAG,b(i,this.clonePosition()))},a.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())},a.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{r=this.tryParseUnquoted(e,t);if(r)i+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;i+=r}}}n=b(n,this.clonePosition());return{val:{type:y.literal,value:i,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Zn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.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 jn.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),jn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,b(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:b(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=On(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:b(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,n,i){var r,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,b(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(p=Yn(u.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:b(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(i)).err?c:(m=b(i,this.clonePosition()),l&&Hn(null==l?void 0:l.style,"::",0)?(h=Wn(l.style.slice(2)),"number"===o?(u=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?u:{val:{type:y.number,value:n,location:m,style:u.val},err:null}:0===h.length?this.error(g.EXPECT_DATE_TIME_SKELETON,m):(d=h,this.locale&&(d=function(e,t){for(var n="",i=0;i<e.length;i++){var r=e.charAt(i);if("j"===r){for(var a=0;i+1<e.length&&e.charAt(i+1)===r;)a++,i++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(En[t||""]||En[n||""]||En["".concat(n,"-001")]||En["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===r?"H":r}return n}(h,this.locale)),p={type:sn.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},d.replace(bn,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.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":r.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":r.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":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.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":r.minute=["numeric","2-digit"][t-1];break;case"s":r.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":r.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""}),r):{}},{val:{type:"date"===o?y.date:y.time,value:n,location:m,style:p},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:m,style:null!=(h=null==l?void 0:l.style)?h:null},err:null});case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,b(d,f({},d)));this.bumpSpace();var u,p=this.parseIdentifierIfPossible(),m=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),p=this.parseIdentifierIfPossible(),m=u.val}var h,l=this.tryParsePluralOrSelectOptions(e,o,t,p);return l.err?l:(c=this.tryParseArgumentClose(i)).err?c:(h=b(i,this.clonePosition()),"select"===o?{val:{type:y.select,value:n,options:Un(l.val),location:h},err:null}:{val:{type:y.plural,value:n,options:Un(l.val),offset:m,pluralType:"plural"===o?"cardinal":"ordinal",location:h},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,b(a,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.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(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,b(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}},a.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,i=e.split(vn).filter(function(e){return 0<e.length});n<i.length;n++){var r=i[n].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var a=r[0],r=r.slice(1),o=0,s=r;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:r})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:sn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Mn(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var r=!1,a=[],o=new Set,s=i.value,l=i.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=b(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var u=this.tryParseArgumentClose(d);if(u.err)return u;a.push([s,{value:c.val,location:b(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===a.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(g.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:a,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;r=!0,a=10*a+(o-48),this.bump()}i=b(i,this.clonePosition());return r?Dn(a*=n)?{val:a,err:null}:this.error(t,i):this.error(e,i)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=zn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.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))},a.prototype.bumpIf=function(e){if(Hn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Jn(this.char());)this.bump()},a.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var qn=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Zn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Jn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Kn(e,t){t=f({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new qn(e,t).parse();if(e.err)throw(n=SyntaxError(g[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,mn(e)||hn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else dn(e)&&fn(e.style)||(un(e)||pn(e))&&yn(e.style)?delete e.style.location:gn(e)&&n(e.children)})}(e.val),e.val}function Xn(e,t){var n=t&&t.cache?t.cache:oi,i=t&&t.serializer?t.serializer:ni;return(t&&t.strategy?t.strategy:function(e,t){return ti(e,this,1===e.length?Qn:ei,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function Qn(e,t,n,i){var n=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),r=t.get(n);return void 0===r&&(r=e.call(this,i),t.set(n,r)),r}function ei(e,t,n){var i=Array.prototype.slice.call(arguments,3),n=n(i),r=t.get(n);return void 0===r&&(r=e.apply(this,i),t.set(n,r)),r}function ti(e,t,n,i,r){return n.bind(t,e,i,r)}var ni=function(){return JSON.stringify(arguments)};function ii(){this.cache=Object.create(null)}ii.prototype.get=function(e){return this.cache[e]},ii.prototype.set=function(e,t){this.cache[e]=t};var ri,ai,oi={create:function(){return new ii}},si={variadic:function(e,t){return ti(e,this,ei,t.cache.create(),t.serializer)},monadic:function(e,t){return ti(e,this,Qn,t.cache.create(),t.serializer)}};(ai=ri=ri||{}).MISSING_VALUE="MISSING_VALUE",ai.INVALID_VALUE="INVALID_VALUE",ai.MISSING_INTL_API="MISSING_INTL_API";on(wi,pi=Error),wi.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var li,ci,di,ui,pi,mi=wi,hi=(on(vi,ui=mi),vi),gi=(on(bi,di=mi),bi),fi=(on(yi,ci=mi),yi);function yi(e,t){return ci.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ri.MISSING_VALUE,t)||this}function bi(e,t,n){return di.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ri.INVALID_VALUE,n)||this}function vi(e,t,n,i){return ui.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ri.INVALID_VALUE,i)||this}function wi(e,t,n){e=pi.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function $i(e,t,n,i,r,a,o){if(1===e.length&&cn(e[0]))return[{type:li.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(cn(d))s.push({type:li.literal,value:d.value});else if(d.type===y.pound)"number"==typeof a&&s.push({type:li.literal,value:n.getNumberFormat(t).format(a)});else{var u=d.value;if(!(r&&u in r))throw new fi(u,o);u=r[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),s.push({type:"string"==typeof u?li.literal:li.object,value:u});else if(un(d)){var p="string"==typeof d.style?i.date[d.style]:yn(d.style)?d.style.parsedOptions:void 0;s.push({type:li.literal,value:n.getDateTimeFormat(t,p).format(u)})}else if(pn(d))p="string"==typeof d.style?i.time[d.style]:yn(d.style)?d.style.parsedOptions:i.time.medium,s.push({type:li.literal,value:n.getDateTimeFormat(t,p).format(u)});else if(dn(d))(p="string"==typeof d.style?i.number[d.style]:fn(d.style)?d.style.parsedOptions:void 0)&&p.scale&&(u*=p.scale||1),s.push({type:li.literal,value:n.getNumberFormat(t,p).format(u)});else{if(gn(d)){var m=d.children,h=d.value,g=r[h];if("function"!=typeof g)throw new gi(h,"function",o);h=g($i(m,t,n,i,r,a).map(function(e){return e.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(e){return{type:"string"==typeof e?li.literal:li.object,value:e}}))}if(mn(d)){if(!(f=d.options[u]||d.options.other))throw new hi(d.value,u,Object.keys(d.options),o);s.push.apply(s,$i(f.value,t,n,i,r))}else if(hn(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new mi('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ri.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[g]||d.options.other}if(!f)throw new hi(d.value,u,Object.keys(d.options),o);s.push.apply(s,$i(f.value,t,n,i,r,u-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===li.literal&&t.type===li.literal?n.value+=t.value:e.push(t),e},[])}function xi(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=li=li||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(ki,"defaultLocale",{get:function(){return ki.memoizedDefaultLocale||(ki.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),ki.memoizedDefaultLocale},enumerable:!1,configurable:!0}),ki.memoizedDefaultLocale=null,ki.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},ki.__parse=Kn,ki.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"}}};var Ci=ki;function ki(e,t,n,i){var r,a,o=this;if(void 0===t&&(t=ki.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===li.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return $i(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=ki.resolveLocale(t),"string"==typeof e){if(this.message=e,!ki.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ki.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=ki.formats,(a=n)?Object.keys(r).reduce(function(e,t){var n,i;return e[t]=(n=r[t],(i=a[t])?f(f(f({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=f(f({},n[t]),i[t]||{}),e},{})):n),e},f({},r)):r),this.formatters=i&&i.formatters||{getNumberFormat:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,ln([void 0],t,!1)))},{cache:xi((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:si.variadic}),getDateTimeFormat:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,ln([void 0],t,!1)))},{cache:xi(t.dateTime),strategy:si.variadic}),getPluralRules:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,ln([void 0],t,!1)))},{cache:xi(t.pluralRules),strategy:si.variadic})}}const Fi={},Si=(e,t,n)=>n&&(t in Fi||(Fi[t]={}),e in Fi[t]||(Fi[t][e]=n),n),Mi=(t,n)=>{if(null!=n){if(n in Fi&&t in Fi[n])return Fi[n][t];var i=Hi(n);for(let e=0;e<i.length;e++){var r=function(e,t){if(!Ti(e))return null;e=function(e){return Ei[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var i=n.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const n=i.slice(e,i.length).join(".");if(n in t){t=t[n];break}}t=t[i[e]]}else t=void 0;return t}}}(i[e],t);if(r)return Si(t,n,r)}}};let Ei;const at=Vt({});function Ti(e){return e in Ei}function Li(t,...n){delete Fi[t],at.update(e=>(e[t]=rn.all([e[t]||{},...n]),e))}qt([at],([e])=>Object.keys(e)),at.subscribe(e=>Ei=e);const Ii={};function Gi(e){return Ii[e]}function _i(e){return null!=e&&Hi(e).some(e=>{return null==(e=Gi(e))?void 0:e.size})}const Pi={};function Bi(e){var t;return _i(e)?(t=Hi(e).map(e=>{var t=Gi(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Pi[e]=Promise.all(t.map(([e,t])=>{return i=e,Promise.all(t.map(e=>{return t=i,n=e,Ii[t].delete(n),0===Ii[t].size&&delete Ii[t],e().then(e=>e.default||e);var t,n})).then(e=>Li(i,...e));var i})).then(()=>{if(_i(e))return Bi(e);delete Pi[e]}),Pi[e]):e in Pi?Pi[e]:Promise.resolve()}const Ri={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Di=Vt(!1);let Ai;const Ni=Vt(null);function Oi(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Hi(e,t=Ri.fallbackLocale){e=Oi(e);return t?[...new Set([...e,...Oi(t)])]:e}function ji(){return null!=Ai?Ai:void 0}Ni.subscribe(e=>{Ai=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ot={...Ni,set:t=>{if(t&&function(e){if(null!=e){var t=Hi(e);for(let e=0;e<t.length;e++){var n=t[e];if(Ti(n))return n}}}(t)&&_i(t)){var n=Ri["loadingDelay"];let e;return"undefined"!=typeof window&&null!=ji()&&n?e=window.setTimeout(()=>Di.set(!0),n):Di.set(!0),Bi(t).then(()=>{Ni.set(t)}).finally(()=>{clearTimeout(e),Di.set(!1)})}return Ni.set(t)}},Ui=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},zi=(e,t)=>{var n=Ri["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Wi=Ui(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=zi("number",t)),new Intl.NumberFormat(e,n)}),Yi=Ui(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=zi("date",t):0===Object.keys(n).length&&(n=zi("date","short")),new Intl.DateTimeFormat(e,n)}),Vi=Ui(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=zi("time",t):0===Object.keys(n).length&&(n=zi("time","short")),new Intl.DateTimeFormat(e,n)}),qi=Ui((e,t=ji())=>new Ci(e,t,Ri.formats,{ignoreTag:Ri.ignoreTag})),Zi=qt([ot,at],()=>(e,t={})=>{var n,i;let r=t;"object"==typeof e&&(e=(r=e).id);var{values:a,locale:o=ji(),default:s}=r;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Mi(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(i=null!=(n=null==(n=(i=Ri).handleMissingMessage)?void 0:n.call(i,{locale:o,id:e,defaultValue:s}))?n:s)?i:e;if(!a)return l;let c=l;try{c=qi(l,o).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),st=(qt([ot],()=>(e,t)=>{return[{locale:t=ji(),...n}={}]=[t],Vi({locale:t,...n}).format(e);var n}),qt([ot],()=>(e,t)=>{return[{locale:t=ji(),...n}={}]=[t],Yi({locale:t,...n}).format(e);var n}),qt([ot],()=>(e,t)=>{return[{locale:t=ji(),...n}={}]=[t],Wi({locale:t,...n}).format(e);var n}),qt([ot,at],()=>(e,t=ji())=>Mi(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==zt.indexOf(e)&&(t=new Ot(t),Wt[e]=t,zt.push(e)),Wt[e]}},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))),lt=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Ji(i,r){return new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",r),ze(i+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Ki(e){ot.set(e)}function Xi(e,t){Li(e,t)}const Qi={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"}},"zh-hk":{headerItem:{login:"登錄",register:"登記",deposit:"訂金"}},fr:{headerItem:{login:"Connexion",register:"Registre",deposit:"Dépôt"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"}},es:{headerItem:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"}},pt:{headerItem:{login:"Entrar",register:"Registro",deposit:"Depósito"}}};function er(e,t,n){e=e.slice();return e[47]=t[n],e[49]=n,e}function tr(e,t,n){e=e.slice();return e[50]=t[n],e}function nr(e,t,n){e=e.slice();return e[53]=t[n],e[55]=n,e}function ir(t){let i,r=[],n=new Map,a=t[9];const o=e=>e[47].id;for(let e=0;e<a.length;e+=1){var s=er(t,a,e),l=o(s);n.set(l,r[e]=ur(l,s))}return{c(){for(let e=0;e<r.length;e+=1)r[e].c();i=c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,n);ue(t,i,n)},p(e,t){20429&t[0]&&(a=e[9],r=be(r,t,o,1,e,a,n,i.parentNode,le,ur,i,er))},d(t){for(let e=0;e<r.length;e+=1)r[e].d(t);t&&pe(i)}}}function rr(e){let n,i,r=e[47].name+"";return{c(){n=me("a"),i=he(r),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[0]&&r!==(r=e[47].name+"")&&ye(i,r)},d(e){e&&pe(n)}}}function ar(e){let n,i,r=e[47].label+"";return{c(){n=me("a"),i=he(r),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[0]&&r!==(r=e[47].label+"")&&ye(i,r)},d(e){e&&pe(n)}}}function or(e){let n,i=0<e[10].length&&"true"==e[3]&&sr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){0<e[10].length&&"true"==e[3]?i?i.p(e,t):((i=sr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function sr(t){let r,a=t[10],o=[];for(let e=0;e<a.length;e+=1)o[e]=dr(tr(t,a,e));return{c(){r=me("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class","DropDown")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(r,null)},p(t,n){if(18368&n[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){var i=tr(t,a,e);o[e]?o[e].p(i,n):(o[e]=dr(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){e&&pe(r),H(o,e)}}}function lr(n){let i,r,a,o,s,l,c,d=n[53]?.name+"";function u(...e){return n[30](n[47],n[49],n[53],n[55],...e)}return{c(){i=me("li"),r=me("a"),a=he(d),s=ge(),fe(r,"class",o="SubDropDown "+(n[49]!=n[6]||n[7]!=n[55]&&n[8]!=n[55]?"":"active"))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,s),l||(c=Z(i,"click",u),l=!0)},p(e,t){n=e,1024&t[0]&&d!==(d=n[53]?.name+"")&&ye(a,d),1984&t[0]&&o!==(o="SubDropDown "+(n[49]!=n[6]||n[7]!=n[55]&&n[8]!=n[55]?"":"active"))&&fe(r,"class",o)},d(e){e&&pe(i),l=!1,c()}}}function cr(e,n){let i,r,a=n[49]==n[50].index&&lr(n);return{key:e,first:null,c(){i=c(),a&&a.c(),r=c(),this.first=i},m(e,t){ue(e,i,t),a&&a.m(e,t),ue(e,r,t)},p(e,t){(n=e)[49]==n[50].index?a?a.p(n,t):((a=lr(n)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){e&&pe(i),a&&a.d(e),e&&pe(r)}}}function dr(t){let i,r=[],n=new Map,a=t[50].items;const o=e=>e[53].id;for(let e=0;e<a.length;e+=1){var s=nr(t,a,e),l=o(s);n.set(l,r[e]=cr(l,s))}return{c(){for(let e=0;e<r.length;e+=1)r[e].c();i=c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,n);ue(t,i,n)},p(e,t){18368&t[0]&&(a=e[50].items,r=be(r,t,o,1,e,a,n,i.parentNode,le,cr,i,nr))},d(t){for(let e=0;e<r.length;e+=1)r[e].d(t);t&&pe(i)}}}function ur(e,n){let i,r,a,o,s,l;function c(e){return"headerMain"===e[0]?ar:rr}let d=c(n),u=d(n),p=1==n[11][n[49]]&&or(n);function m(...e){return n[31](n[47],n[49],...e)}return{key:e,first:null,c(){i=me("li"),u.c(),r=ge(),p&&p.c(),a=ge(),fe(i,"class",o="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[47].id.split("$").pop()?"active":"":n[2]==n[47].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),fe(i,"part","CarouselItem"),this.first=i},m(e,t){ue(e,i,t),u.m(i,null),de(i,r),p&&p.m(i,null),de(i,a),s||(l=Z(i,"click",m),s=!0)},p(e,t){d===(d=c(n=e))&&u?u.p(n,t):(u.d(1),(u=d(n))&&(u.c(),u.m(i,r))),1==n[11][n[49]]?p?p.p(n,t):((p=or(n)).c(),p.m(i,a)):p&&(p.d(1),p=null),517&t[0]&&o!==(o="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[47].id.split("$").pop()?"active":"":n[2]==n[47].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&fe(i,"class",o)},d(e){e&&pe(i),u.d(),p&&p.d(),s=!1,l()}}}function pr(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w=0<n[9].length&&ir(n);return{c(){i=me("div"),r=me("div"),(a=me("div")).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>',o=ge(),s=me("div"),l=me("ul"),(c=me("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',d=ge(),w&&w.c(),u=ge(),(p=me("div")).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=V,fe(a,"class","CarouselLeftArrow"),fe(a,"part","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(l,"part","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(p,"class","CarouselRightArrow"),fe(p,"part","CarouselRightArrow"),fe(r,"class",m="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(r,"part",h="CarouselContainer "+(n[13]?"CarouselContainerMobile":"")+" "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(r,"style",g="headerMain"===n[0]?"max-width: auto":`max-width: ${n[1]}px`),fe(i,"class",f="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":"")),fe(i,"part",y="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(s,l),de(l,c),de(l,d),w&&w.m(l,null),n[32](l),n[33](s),de(r,u),de(r,p),n[35](i),b||(v=[Z(a,"click",n[29]),Z(p,"click",n[34])],b=!0)},p(e,t){0<e[9].length?w?w.p(e,t):((w=ir(e)).c(),w.m(l,null)):w&&(w.d(1),w=null),1&t[0]&&m!==(m="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(r,"class",m),1&t[0]&&h!==(h="CarouselContainer "+(e[13]?"CarouselContainerMobile":"")+" "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(r,"part",h),3&t[0]&&g!==(g="headerMain"===e[0]?"max-width: auto":`max-width: ${e[1]}px`)&&fe(r,"style",g),1&t[0]&&f!==(f="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(i,"class",f),1&t[0]&&y!==(y="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(i,"part",y)},i:V,o:V,d(e){e&&pe(i),w&&w.d(),n[32](null),n[33](null),n[35](null),b=!1,q(v)}}}function mr(t,e,a){let{endpoint:o=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:i="0"}=e,{location:c=""}=e,{clientstyling:r=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{translationurl:p=""}=e,{containermaxwidth:m=""}=e,{isprimarymenu:h=!1}=e,{issecondarymenu:g=!1}=e,{lang:f=""}=e,{activeindex:y="0"}=e,{showsubgroups:b="false"}=e;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(w),ot.set(v))}),Object.keys(Qi).forEach(e=>{Xi(e,Qi[e])});let $,x,C,k,F,S,M=window.navigator.userAgent,R="PC"!==lt(M),E=[],T=[],L=[],I=(e,t,n,i,r)=>{e.subGroups&&null===i||(B(),a(6,x=t),a(6,x),"secondary"!=r?(window.postMessage({type:l,itemId:e.id,index:t,item:e,externalLink:e.externalLink,target:(null==(r=e.attrs)?void 0:r.target)||null},window.location.href),a(7,C=null),a(8,k=null)):(a(7,C=i),a(7,C),a(8,k=C),window.postMessage({type:l,itemId:n.id,subIndex:i,subItem:n},window.location.href)))},G=()=>{S.scrollBy({left:-250,behavior:"smooth"})},_=()=>{S.scrollBy({left:250,behavior:"smooth"})};const P=e=>{"SliderData"==e.data.type&&e.data.identity==u&&(a(9,E=e.data.data),a(11,L=new Array(E.length).fill(!1)),"true"==b)&&E.forEach((e,t)=>{var i,r,n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(a(11,L[t]=!0,L),i=e,r=t,"secondaryMenu"==c&&o&&s&&f&&i.id&&(n=new URL(`${o}/casino/groups/${s}/${i.id}/subGroups?language=`+f),fetch(n.href).then(e=>e.json()).then(e=>{e.index=r,a(10,T=T.concat(e)),"false"==b&&window.postMessage({type:l,itemId:i.id,index:r,item:i},window.location.href);const n=[];T.map(e=>(e.items.forEach(t=>{n.find(e=>t.id==e)||n.push(t.id)}),n.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:n})}).then(()=>{$.querySelectorAll(".DropDown")&&B()})),"headerMain"==c)&&window.postMessage({type:l,item:i},window.location.href)}),"GoToHomepage"==e.data.type&&E.forEach((e,t)=>{e.path.endsWith("/casino")&&(a(6,x=t),a(6,x))})},B=()=>{var t=$.querySelectorAll(".DropDown");document.activeElement.blur(),S.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+S.scrollLeft+"px)";S.classList.remove("isScrolling")};return it(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",P,!1),setTimeout(()=>{S.addEventListener("scroll",B)},500),()=>{window.removeEventListener("message",P),$.removeEventListener("scroll",B)})),t.$$set=e=>{"endpoint"in e&&a(17,o=e.endpoint),"datasource"in e&&a(18,s=e.datasource),"onclickeventname"in e&&a(19,n=e.onclickeventname),"actionevent"in e&&a(20,l=e.actionevent),"favoritesnumber"in e&&a(21,i=e.favoritesnumber),"location"in e&&a(0,c=e.location),"clientstyling"in e&&a(22,r=e.clientstyling),"clientstylingurl"in e&&a(23,d=e.clientstylingurl),"identity"in e&&a(24,u=e.identity),"translationurl"in e&&a(25,p=e.translationurl),"containermaxwidth"in e&&a(1,m=e.containermaxwidth),"isprimarymenu"in e&&a(26,h=e.isprimarymenu),"issecondarymenu"in e&&a(27,g=e.issecondarymenu),"lang"in e&&a(28,f=e.lang),"activeindex"in e&&a(2,y=e.activeindex),"showsubgroups"in e&&a(3,b=e.showsubgroups)},t.$$.update=()=>{if(t.$$.dirty[0],33554432&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Xi(e,t[e])})}).catch(e=>{console.log(e)}),4194320&t.$$.dirty[0]&&r&&F&&((e=document.createElement("style")).innerHTML=r,F.appendChild(e)),8388624&t.$$.dirty[0]&&d&&F){let t=document.createElement("style"),e=new URL(d);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{F.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&f&&(e=f,ot.set(e))},[c,m,y,b,F,$,x,C,k,E,T,L,S,R,I,G,_,o,s,n,l,i,r,d,u,p,h,g,f,()=>G(),(e,t,n,i,r)=>{I(e,t,n,i,"secondary"),r.stopPropagation()},(e,t,n)=>{I(e,t,null,null,"main"),n.preventDefault()},function(e){rt[e?"unshift":"push"](()=>{$=e,a(5,$)})},function(e){rt[e?"unshift":"push"](()=>{S=e,a(12,S)})},()=>_(),function(e){rt[e?"unshift":"push"](()=>{F=e,a(4,F)})}]}function hr(n){let i,r,a,o;return{c(){i=me("div"),k(r=me("casino-slider"),"lang",n[3]),k(r,"datasource",n[2]),k(r,"endpoint",n[1]),k(r,"identity",br),k(r,"favoritesnumber",n[13]),k(r,"showsubgroups",n[9]),k(r,"clientstyling",n[4]),k(r,"clientstylingurl",n[5]),k(r,"containermaxwidth",n[6]),k(r,"activeindex",n[0]),k(r,"actionevent",n[7]),k(r,"location",n[8]),fe(i,"class","CasinoCategoriesContainer"),fe(i,"part","CasinoCategoriesContainer")},m(e,t){ue(e,i,t),de(i,r),a||(o=S(n[14].call(null,r)),a=!0)},p(e,t){8&t[0]&&k(r,"lang",e[3]),4&t[0]&&k(r,"datasource",e[2]),2&t[0]&&k(r,"endpoint",e[1]),8192&t[0]&&k(r,"favoritesnumber",e[13]),512&t[0]&&k(r,"showsubgroups",e[9]),16&t[0]&&k(r,"clientstyling",e[4]),32&t[0]&&k(r,"clientstylingurl",e[5]),64&t[0]&&k(r,"containermaxwidth",e[6]),1&t[0]&&k(r,"activeindex",e[0]),128&t[0]&&k(r,"actionevent",e[7]),256&t[0]&&k(r,"location",e[8])},d(e){e&&pe(i),a=!1,o()}}}function gr(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function fr(e){let n;return{c(){fe(n=me("div"),"class","CasinoCategoriesLoading"),fe(n,"part","CasinoCategoriesLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function yr(n){let i;function r(e){return e[10]?fr:e[12]?gr:hr}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=V,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[23](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o.d(),n[23](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':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:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.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:39px}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems a{display:block;padding:7px 10px;color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-color-contrast, #07072A)}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-color-secondary, #FD2839);background:-webkit-linear-gradient(var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-color-black, #000);background:var(--emfe-w-color-white, #FFF)}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},mr,pr,n,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,containermaxwidth:1,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:2,showsubgroups:3},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups"]}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),p()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),p()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),p()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),p()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),p()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),p()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),p()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),p()}get containermaxwidth(){return this.$$.ctx[1]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),p()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),p()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),p()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),p()}get activeindex(){return this.$$.ctx[2]}set activeindex(e){this.$$set({activeindex:e}),p()}get showsubgroups(){return this.$$.ctx[3]}set showsubgroups(e){this.$$set({showsubgroups:e}),p()}});let br="CasinoSliderData";function vr(n,e,r){let i,a,{endpoint:o=""}=e,{datasource:s=""}=e,{lang:l=""}=e,{userid:t=""}=e,{session:c=""}=e,{mostplayed:d=""}=e,{lastplayed:u="false"}=e,{favorites:p=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{containermaxwidth:g=""}=e,{activecategory:f=""}=e,{actionevent:y=""}=e,{sessioncheck:b=""}=e,{location:v="secondaryMenu"}=e,{showsubgroups:w="false"}=e,{filteredcategories:$=""}=e,x=!0,C=[],k=!1,F=window.navigator.userAgent,S=!1,M=!1;const E=()=>{window.postMessage({type:"SliderData",identity:br,data:C},window.location.href)};return n.$$set=e=>{"endpoint"in e&&r(1,o=e.endpoint),"datasource"in e&&r(2,s=e.datasource),"lang"in e&&r(3,l=e.lang),"userid"in e&&r(15,t=e.userid),"session"in e&&r(16,c=e.session),"mostplayed"in e&&r(17,d=e.mostplayed),"lastplayed"in e&&r(18,u=e.lastplayed),"favorites"in e&&r(19,p=e.favorites),"clientstyling"in e&&r(4,m=e.clientstyling),"clientstylingurl"in e&&r(5,h=e.clientstylingurl),"containermaxwidth"in e&&r(6,g=e.containermaxwidth),"activecategory"in e&&r(0,f=e.activecategory),"actionevent"in e&&r(7,y=e.actionevent),"sessioncheck"in e&&r(20,b=e.sessioncheck),"location"in e&&r(8,v=e.location),"showsubgroups"in e&&r(9,w=e.showsubgroups),"filteredcategories"in e&&r(21,$=e.filteredcategories)},n.$$.update=()=>{if(14&n.$$.dirty[0]&&o&&s&&l&&(o||(i="Endpoint is missing! Please provide a valid endpointURL.",r(12,k=!0),r(10,x=!1),console.error(i)),s||(i="Datasource is missing! Please provide a valid datasource.",r(12,k=!0),r(10,x=!1),console.error(i)),(!l||l.length<2)&&(i="Language is missing! Please provide a valid language (alpha2code)",r(12,k=!0),r(10,x=!1),console.error(i)),k||((t=new URL(o+"/casino/groups/"+s)).searchParams.append("datasource",s),t.searchParams.append("language",l),t.searchParams.append("platform",lt(F)),fetch(t).then(e=>e.json()).then(e=>{let i=$.split(","),t=e.items.filter(e=>{let t=!1;if(0<e.games.total&&(t=!0,$))for(var n of i)e.flags==n&&(t=!1);return t});(C=(C=[]).concat(t)).unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),r(10,x=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{r(12,k=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{r(12,k=!0),console.error("There was an error while fetching the categories",e)}))),984066&n.$$.dirty[0]&&o&&c&&(d||u||p)&&!x&&(0!=S||"true"!=p&&"true"!=d&&"true"!=u||C.splice(1,0,{id:"MYGAMES",name:"My Games",href:"",games:[]}),ke(),S=!0,r(22,M=!0),E()),4260865&n.$$.dirty[0]&&!x&&f&&(!c||M)&&(t=f.split("$"),r(0,f=2<t.length?f.split("$").slice(0,2).join("$"):f)),2064&n.$$.dirty[0]&&m&&a&&((e=document.createElement("style")).innerHTML=m,a.appendChild(e)),2080&n.$$.dirty[0]&&h&&a){let t=document.createElement("style"),e=new URL(h);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e,t},r(13,0),[f,o,s,l,m,h,g,y,v,w,x,a,k,0,E,t,c,d,u,p,b,$,M,function(e){rt[e?"unshift":"push"](()=>{a=e,r(11,a)})}]}function wr(e,t){Li(e,t)}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoCategoriesLoading{height:52px}p{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var(--emfe-w-color-black, #000000)}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},vr,yr,n,{endpoint:1,datasource:2,lang:3,userid:15,session:16,mostplayed:17,lastplayed:18,favorites:19,clientstyling:4,clientstylingurl:5,containermaxwidth:6,activecategory:0,actionevent:7,sessioncheck:20,location:8,showsubgroups:9,filteredcategories:21},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","lastplayed","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),p()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),p()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),p()}get userid(){return this.$$.ctx[15]}set userid(e){this.$$set({userid:e}),p()}get session(){return this.$$.ctx[16]}set session(e){this.$$set({session:e}),p()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(e){this.$$set({mostplayed:e}),p()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(e){this.$$set({lastplayed:e}),p()}get favorites(){return this.$$.ctx[19]}set favorites(e){this.$$set({favorites:e}),p()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get containermaxwidth(){return this.$$.ctx[6]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),p()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),p()}get actionevent(){return this.$$.ctx[7]}set actionevent(e){this.$$set({actionevent:e}),p()}get sessioncheck(){return this.$$.ctx[20]}set sessioncheck(e){this.$$set({sessioncheck:e}),p()}get location(){return this.$$.ctx[8]}set location(e){this.$$set({location:e}),p()}get showsubgroups(){return this.$$.ctx[9]}set showsubgroups(e){this.$$set({showsubgroups:e}),p()}get filteredcategories(){return this.$$.ctx[21]}set filteredcategories(e){this.$$set({filteredcategories:e}),p()}});const $r={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},"zh-hk":{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Borrar",noGamesPlayed:"No has jugado ningún juego! Juega Ya"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}}};function xr(e,t){Li(e,t)}const Cr={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},"zh-hk":{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},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:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"}},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",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},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:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},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."}}};Fr=kr={path:void 0,exports:{},require:function(e,t){return In(null==t&&kr.path)}},kr.exports,Fr.exports=function(){var R;function h(){return R.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function D(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function A(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function s(e){return void 0===e}function N(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function O(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],i=e.length,r=0;r<i;++r)n.push(t(e[r],r));return n}function j(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,i){return It(e,t,n,i,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function U(e){if(null==e._isValid){var t=f(e),n=W.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 z(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},Y=h.momentProperties=[],V=!1;function q(e,t){var n,i,r,a=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(r=t[i=Y[n]])||(e[i]=r);return e}function Z(e){q(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,h.updateOffset(this),V=!1)}function l(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function J(e){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return j(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,a),s){for(var e,t,n=[],i=arguments.length,r=0;r<i;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}J(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var K={};function X(e,t){null!=h.deprecationHandler&&h.deprecationHandler(e,t),K[e]||(J(t),K[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,i=j({},e);for(n in t)g(t,n)&&(D(e[n])&&D(t[n])?(i[n]={},j(i[n],e[n]),j(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)g(e,n)&&!g(t,n)&&D(e[n])&&(i[n]=j({},i[n]));return i}function ee(e){null!=e&&this.set(e)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function a(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var ne=/(\[[^\[]*\])|(\\)?([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,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,re={},ae={};function i(e,t,n,i){var r="string"==typeof i?function(){return this[i]()}:i;e&&(ae[e]=r),t&&(ae[t[0]]=function(){return a(r.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),re[t]=re[t]||function(i){for(var e,r=i.match(ne),t=0,a=r.length;t<a;t++)ae[r[t]]?r[t]=ae[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=d(r[n])?r[n].call(e,i):r[n];return t}}(t),re[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=n&&ie.test(e);)e=e.replace(ie,i),ie.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function u(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,i={};for(n in e)g(e,n)&&(t=u(n))&&(i[t]=e[n]);return i}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function p(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?p(e):t}function pe(t,n){return function(e){return null!=e?(he(this,t,e),h.updateOffset(this,n),this):me(this,t)}}function me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=m(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var r=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,$e=/\d{1,4}/,xe=/[+-]?\d{1,6}/,Ce=/\d+/,ke=/[+-]?\d+/,Fe=/Z|[+-]\d\d:?\d\d/gi,Se=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[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 w(e,n,i){Ee[e]=d(n)?n:function(e,t){return e&&i?i:n}}function Me(e,t){return g(Ee,e)?Ee[e](t._strict,t._locale):new RegExp($(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function $(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ee={},Te={};function x(e,n){var t,i,r=n;for("string"==typeof e&&(e=[e]),N(n)&&(r=function(e,t){t[n]=m(e)}),i=e.length,t=0;t<i;t++)Te[e[t]]=r}function Le(e,r){x(e,function(e,t,n,i){n._w=n._w||{},r(e,n._w,n,i)})}var C,k=0,F=1,S=2,M=3,E=4,T=5,Ie=6,Ge=7,_e=8;function Pe(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?ue(e)?29:28:31-n%7%2)}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),i("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[F]=m(e)-1}),x(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[F]=i:f(n).invalidMonth=e});var Be="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),De=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ae=v,Ne=v;function Oe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=m(t);else if(!N(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function He(e){return null!=e?(Oe(this,e),h.updateOffset(this,!0),this):me(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],r=[],a=0;a<12;a++)t=c([2e3,a]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),r.sort(e),a=0;a<12;a++)n[a]=$(n[a]),i[a]=$(i[a]);for(a=0;a<24;a++)r[a]=$(r[a]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return ue(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",ke),w("YY",b,y),w("YYYY",$e,fe),w("YYYYY",xe,ye),w("YYYYYY",xe,ye),x(["YYYYY","YYYYYY"],k),x("YYYY",function(e,t){t[k]=2===e.length?h.parseTwoDigitYear(e):m(e)}),x("YY",function(e,t){t[k]=h.parseTwoDigitYear(e)}),x("Y",function(e,t){t[k]=parseInt(e,10)}),h.parseTwoDigitYear=function(e){return m(e)+(68<m(e)?1900:2e3)};var ze=pe("FullYear",!0);function We(e,t,n,i,r,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}function Ye(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 Ve(e,t,n){n=7+t-n;return-(7+Ye(e,0,n).getUTCDay()-t)%7+n-1}function qe(e,t,n,i,r){var a,t=1+7*(t-1)+(7+n-i)%7+Ve(e,i,r),n=t<=0?Ue(a=e-1)+t:t>Ue(e)?(a=e+1,t-Ue(e)):(a=e,t);return{year:a,dayOfYear:n}}function Ze(e,t,n){var i,r,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?i=a+L(r=e.year()-1,t,n):a>L(e.year(),t,n)?(i=a-L(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function L(e,t,n){var i=Ve(e,t,n),t=Ve(e+1,t,n);return(Ue(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",b),w("ww",b,y),w("W",b),w("WW",b,y),Le(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=m(e)});function Je(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),i("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),i("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),i("e",0,0,"weekday"),i("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Le(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),Le(["d","e","E"],function(e,t,n,i){t[i]=m(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function it(){function e(e,t){return t.length-e.length}for(var t,n,i,r=[],a=[],o=[],s=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=$(this.weekdaysMin(i,"")),n=$(this.weekdaysShort(i,"")),i=$(this.weekdays(i,"")),r.push(t),a.push(n),o.push(i),s.push(t),s.push(n),s.push(i);r.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function rt(){return this.hours()%12||12}function at(e,t){i(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,rt),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+rt.apply(this)+a(this.minutes(),2)}),i("hmmss",0,0,function(){return""+rt.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),x(["H","HH"],M),x(["k","kk"],function(e,t,n){e=m(e);t[M]=24===e?0:e}),x(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),x(["h","hh"],function(e,t,n){t[M]=m(e),f(n).bigHour=!0}),x("hmm",function(e,t,n){var i=e.length-2;t[M]=m(e.substr(0,i)),t[E]=m(e.substr(i)),f(n).bigHour=!0}),x("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[M]=m(e.substr(0,i)),t[E]=m(e.substr(i,2)),t[T]=m(e.substr(r)),f(n).bigHour=!0}),x("Hmm",function(e,t,n){var i=e.length-2;t[M]=m(e.substr(0,i)),t[E]=m(e.substr(i))}),x("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[M]=m(e.substr(0,i)),t[E]=m(e.substr(i,2)),t[T]=m(e.substr(r))});v=pe("Hours",!0);var st,lt={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:Be,monthsShort:Re,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},I={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,i,r,a=0;a<e.length;){for(t=(r=dt(e[a]).split("-")).length,n=(n=dt(e[a+1]))?n.split("-"):null;0<t;){if(i=pt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(r,n)>=t-1)break;t--}a++}return st}function pt(t){var e;if(void 0===I[t]&&Fr&&Fr.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,In(),mt(e)}catch(e){I[t]=null}return I[t]}function mt(e,t){return e&&((t=s(t)?G(e):ht(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function ht(e,t){if(null===t)return delete I[e],null;var n,i=lt;if(t.abbr=e,null!=I[e])X("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=I[e]._config;else if(null!=t.parentLocale)if(null!=I[t.parentLocale])i=I[t.parentLocale]._config;else{if(null==(n=pt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=n._config}return I[e]=new ee(Q(i,t)),ct[e]&&ct[e].forEach(function(e){ht(e.name,e.config)}),mt(e),I[e]}function G(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=pt(e))return t;e=[e]}return ut(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[F]<0||11<t[F]?F:t[S]<1||t[S]>Pe(t[k],t[F])?S:t[M]<0||24<t[M]||24===t[M]&&(0!==t[E]||0!==t[T]||0!==t[Ie])?M:t[E]<0||59<t[E]?E:t[T]<0||59<t[T]?T:t[Ie]<0||999<t[Ie]?Ie:-1,f(e)._overflowDayOfYear&&(t<k||S<t)&&(t=S),f(e)._overflowWeeks&&-1===t&&(t=Ge),f(e)._overflowWeekday&&-1===t&&(t=_e),f(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)?)?$/,yt=/^\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)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["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/]],$t=/^\/?Date\((-?\d+)/i,xt=/^(?:(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}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kt(e){var t,n,i,r,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){r=vt[t][0],i=!1!==vt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!i&&null!=a)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=r+(a||"")+(o||""),Tt(e)}else e._isValid=!1}function Ft(e,t,n,i,r,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Re.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return a&&e.push(parseInt(a,10)),e}function St(e){var t,n,i,r,a=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Ft(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],i=t,r=e,n&&Xe.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(f(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(n=a[8],i=a[9],r=a[10],n?Ct[n]:i?0:((n=parseInt(r,10))-(i=n%100))/100*60+i),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function Et(e){var t,n,i,r,a,o,s,l,c,d,u,p=[];if(!e._d){for(d=e,u=new Date(h.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[S]&&null==e._a[F]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,i=Mt(u.GG,d._a[k],Ze(_(),1,4).year),r=Mt(u.W,1),((a=Mt(u.E,1))<1||7<a)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=Ze(_(),o,s),i=Mt(u.gg,d._a[k],c.year),r=Mt(u.w,c.week),null!=u.d?((a=u.d)<0||6<a)&&(l=!0):null!=u.e?(a=u.e+o,(u.e<0||6<u.e)&&(l=!0)):a=o),r<1||r>L(i,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=qe(i,r,a,o,s),d._a[k]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[k],n[k]),(e._dayOfYear>Ue(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(u,0,e._dayOfYear),e._a[F]=l.getUTCMonth(),e._a[S]=l.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[M]&&0===e._a[E]&&0===e._a[T]&&0===e._a[Ie]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:We).apply(null,p),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(f(e).weekdayMismatch=!0)}}function Tt(e){if(e._f!==h.ISO_8601)if(e._f!==h.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,i,r=""+e._i,a=r.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)i=n[l],(t=(r.match(Me(i,e))||[])[0])&&(0<(u=r.substr(0,r.indexOf(t))).length&&f(e).unusedInput.push(u),r=r.slice(r.indexOf(t)+t.length),o+=t.length),ae[i]?(t?f(e).empty=!1:f(e).unusedTokens.push(i),u=i,m=e,null!=(p=t)&&g(Te,u)&&Te[u](p,m._a,m,u)):e._strict&&!t&&f(e).unusedTokens.push(i);f(e).charsLeftOver=a-o,0<r.length&&f(e).unusedInput.push(r),e._a[M]<=12&&!0===f(e).bigHour&&0<e._a[M]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[M]=(a=e._locale,c=e._a[M],null==(d=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,d):null!=a.isPM?((a=a.isPM(d))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[k]=e._locale.erasConvertYear(d,e._a[k])),Et(e),gt(e)}else St(e);else kt(e);var c,d,u,p,m}function Lt(e){var t,n=e._i,i=e._f;{var r,a;return(e._locale=e._locale||G(e._l),null===n||void 0===i&&""===n)?z({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new Z(gt(n)):(O(n)?e._d=n:o(i)?function(e){var t,n,i,r,a,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<l;r++)a=0,o=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Tt(t),U(t)&&(o=!0),a=(a+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=a,s?a<i&&(i=a,n=t):(null==i||a<i||o)&&(i=a,n=t,o)&&(s=!0);j(e,n||t)}(e):i?Tt(e):s(i=(n=e)._i)?n._d=new Date(h.now()):O(i)?n._d=new Date(i.valueOf()):"string"==typeof i?(r=n,null===(a=$t.exec(r._i))?(kt(r),!1===r._isValid&&(delete r._isValid,St(r),!1===r._isValid)&&(delete r._isValid,r._strict?r._isValid=!1:h.createFromInputFallback(r))):r._d=new Date(+a[1])):o(i)?(n._a=H(i.slice(0),function(e){return parseInt(e,10)}),Et(n)):D(i)?(r=n)._d||(t=void 0===(a=ce(r._i)).day?a.date:a.day,r._a=H([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),Et(r)):N(i)?n._d=new Date(i):h.createFromInputFallback(n),U(e)||(e._d=null),e))}}function It(e,t,n,i,r){var a={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(D(e)&&A(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=e,a._f=t,a._strict=i,(r=new Z(gt(Lt(r=a))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function _(e,t,n,i){return It(e,t,n,i,!1)}h.createFromInputFallback=e("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":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:z()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:z()});function Gt(e,t){var n,i;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return _();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var _t=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,i=e.month||0,r=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,i=!1,r=_t.length;for(t in e)if(g(e,t)&&(-1===C.call(_t,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[_t[n]]){if(i)return!1;parseFloat(e[_t[n]])!==m(e[_t[n]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*n+12*t,this._data={},this._locale=G(),this._bubble()}function Bt(e){return e instanceof Pt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Dt(e,n){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}Dt("Z",":"),Dt("ZZ",""),w("Z",Se),w("ZZ",Se),x(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(Se,e)});var At=/([\+\-]|\d\d)/gi;function Nt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(At)||["-",0,0])[1]+m(e[2]))?0:"+"===e[0]?t:-t}function Ot(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||O(e)?e:_(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),h.updateOffset(t,!1),t):_(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\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 P(e,t){var n,i,r=e;return Bt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:N(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(t=Ut.exec(e))?(n="-"===t[1]?-1:1,r={y:0,d:m(t[S])*n,h:m(t[M])*n,m:m(t[E])*n,s:m(t[T])*n,ms:m(Rt(1e3*t[Ie]))*n}):(t=zt.exec(e))?(n="-"===t[1]?-1:1,r={y:Wt(t[2],n),M:Wt(t[3],n),w:Wt(t[4],n),d:Wt(t[5],n),h:Wt(t[6],n),m:Wt(t[7],n),s:Wt(t[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=_(r.from),n=_(r.to),t=t.isValid()&&n.isValid()?(n=Ot(n,t),t.isBefore(n)?i=Yt(t,n):((i=Yt(n,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(r={}).ms=t.milliseconds,r.M=t.months),i=new Pt(r),Bt(e)&&g(e,"_locale")&&(i._locale=e._locale),Bt(e)&&g(e,"_isValid")&&(i._isValid=e._isValid),i}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Yt(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 Vt(i,r){return function(e,t){var n;return null===t||isNaN(+t)||(X(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,P(e,t),i),this}}function qt(e,t,n,i){var r=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(i=null==i||i,t&&Oe(e,me(e,"Month")+t*n),a&&he(e,"Date",me(e,"Date")+a*n),r&&e._d.setTime(e._d.valueOf()+r*n),i)&&h.updateOffset(e,a||t)}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Be=Vt(1,"add"),Ke=Vt(-1,"subtract");function Zt(e){return"string"==typeof e||e instanceof String}function Jt(e){return l(e)||O(e)||Zt(e)||N(e)||(n=o(t=e),i=!1,n&&(i=0===t.filter(function(e){return!N(e)&&Zt(t)}).length),n&&i)||function(e){var t,n,i=D(e)&&!A(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],r=r||g(e,n);return i&&r}(e)||null==e;var t,n,i}function Kt(e,t){var n,i;return e.date()<t.date()?-Kt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(i=e.clone().add(n,"months"))<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=G(e))&&(this._locale=e),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("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 Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],i=[],r=this.eras(),a=0,o=r.length;a<o;++a)t.push($(r[a].name)),e.push($(r[a].abbr)),n.push($(r[a].narrow)),i.push($(r[a].name)),i.push($(r[a].abbr)),i.push($(r[a].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function sn(e,t){i(0,[e,e.length],0,t)}function ln(e,t,n,i,r){var a;return null==e?Ze(this,i,r).year:(t>(a=L(e,i,r))&&(t=a),function(e,t,n,i,r){e=qe(e,t,n,i,r),t=Ye(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,i,r))}i("N",0,0,"eraAbbr"),i("NN",0,0,"eraAbbr"),i("NNN",0,0,"eraAbbr"),i("NNNN",0,0,"eraName"),i("NNNNN",0,0,"eraNarrow"),i("y",["y",1],"yo","eraYear"),i("y",["yy",2],0,"eraYear"),i("y",["yyy",3],0,"eraYear"),i("y",["yyyy",4],0,"eraYear"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){i=n._locale.erasParse(e,i,n._strict);i?f(n).era=i:f(n).invalidEra=e}),w("y",Ce),w("yy",Ce),w("yyy",Ce),w("yyyy",Ce),w("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),x(["y","yy","yyy","yyyy"],k),x(["yo"],function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[k]=n._locale.eraYearOrdinalParse(e,r):t[k]=parseInt(e,10)}),i(0,["gg",2],0,function(){return this.weekYear()%100}),i(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",ke),w("g",ke),w("GG",b,y),w("gg",b,y),w("GGGG",$e,fe),w("gggg",$e,fe),w("GGGGG",xe,ye),w("ggggg",xe,ye),Le(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=m(e)}),Le(["gg","GG"],function(e,t,n,i){t[i]=h.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",r),x("Q",function(e,t){t[F]=3*(m(e)-1)}),i("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],S),x("Do",function(e,t){t[S]=m(e.match(b)[0])});$e=pe("Date",!0);i("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),x(["DDD","DDDD"],function(e,t,n){n._dayOfYear=m(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),x(["m","mm"],E);fe=pe("Minutes",!1);i("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),x(["s","ss"],T);var cn,xe=pe("Seconds",!1);for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,r),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function dn(e,t){t[Ie]=m(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")x(cn,dn);ye=pe("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");r=Z.prototype;function un(e){return e}r.add=Be,r.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=D(e)&&!A(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||g(e,i[r]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||_(),n=Ot(e,this).startOf("day"),n=h.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,_(e)))},r.clone=function(){return new Z(this)},r.diff=function(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Ot(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=u(t)){case"year":a=Kt(this,i)/12;break;case"month":a=Kt(this,i);break;case"quarter":a=Kt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:p(a)},r.endOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,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-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}this._d.setTime(t),h.updateOffset(this,!0)}return this},r.format=function(e){return e=e||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},r.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||_(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.fromNow=function(e){return this.from(_(),e)},r.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||_(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.toNow=function(e){return this.to(_(),e)},r.get=function(e){return d(this[e=u(e)])?this[e]():this},r.invalidAt=function(){return f(this).overflow},r.isAfter=function(e,t){return e=l(e)?e:_(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},r.isBefore=function(e,t){return e=l(e)?e:_(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},r.isBetween=function(e,t,n,i){return e=l(e)?e:_(e),t=l(t)?t:_(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},r.isSame=function(e,t){var e=l(e)?e:_(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},r.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},r.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},r.isValid=function(){return U(this)},r.lang=Qe,r.locale=Xt,r.localeData=Qt,r.max=ve,r.min=be,r.parsingFlags=function(){return j({},f(this))},r.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)g(e,t)&&n.push({unit:t,priority:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),i=n.length,r=0;r<i;r++)this[n[r].unit](e[n[r].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},r.startOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,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-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}this._d.setTime(t),h.updateOffset(this,!0)}return this},r.subtract=Ke,r.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},r.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},r.toDate=function(){return new Date(this.valueOf())},r.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},r.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(r[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},r.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},r.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++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""},r.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++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""},r.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++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""},r.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(e=n[i].since<=n[i].until?1:-1,t=this.clone().startOf("day").valueOf(),n[i].since<=t&&t<=n[i].until||n[i].until<=t&&t<=n[i].since)return(this.year()-h(n[i].since).year())*e+n[i].offset;return this.year()},r.year=ze,r.isLeapYear=function(){return ue(this.year())},r.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},r.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},r.quarter=r.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},r.month=He,r.daysInMonth=function(){return Pe(this.year(),this.month())},r.week=r.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},r.isoWeek=r.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},r.weeksInYear=function(){var e=this.localeData()._week;return L(this.year(),e.dow,e.doy)},r.weeksInWeekYear=function(){var e=this.localeData()._week;return L(this.weekYear(),e.dow,e.doy)},r.isoWeeksInYear=function(){return L(this.year(),1,4)},r.isoWeeksInISOWeekYear=function(){return L(this.isoWeekYear(),1,4)},r.date=$e,r.day=r.days=function(e){var t,n,i;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,i=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=i.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},r.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},r.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},r.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")},r.hour=r.hours=v,r.minute=r.minutes=fe,r.second=r.seconds=xe,r.millisecond=r.milliseconds=ye,r.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:Ht(this);if("string"==typeof e){if(null===(e=Nt(Se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Ht(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?qt(this,P(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},r.utc=function(e){return this.utcOffset(0,e)},r.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ht(this),"m"),this},r.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Nt(Fe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},r.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?_(e).utcOffset():0,(this.utcOffset()-e)%60==0)},r.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},r.isLocal=function(){return!!this.isValid()&&!this._isUTC},r.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},r.isUtc=jt,r.isUTC=jt,r.zoneAbbr=function(){return this._isUTC?"UTC":""},r.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},r.dates=e("dates accessor is deprecated. Use date instead.",$e),r.months=e("months accessor is deprecated. Use month instead",He),r.years=e("years accessor is deprecated. Use year instead",ze),r.zone=e("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()}),r.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(q(t={},this),(t=Lt(t))._a?(e=(t._isUTC?c:_)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0,o=0;o<i;o++)(n&&e[o]!==t[o]||!n&&m(e[o])!==m(t[o]))&&a++;return a+r}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function pn(e,t,n,i){var r=G(),i=c().set(i,t);return r[n](i,e)}function mn(e,t,n){if(N(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");for(var i=[],r=0;r<12;r++)i[r]=pn(e,r,n,"month");return i}function hn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),N(t)&&(n=t,t=void 0),t||"");var r,a=G(),o=e?a._week.dow:0,s=[];if(null!=n)return pn(t,(n+o)%7,i,"day");for(r=0;r<7;r++)s[r]=pn(t,(r+o)%7,i,"day");return s}y.calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=un,y.postformat=un,y.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return d(r)?r(e,t,n,i):r.replace(/%d/i,e)},y.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)g(e,n)&&(d(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)},y.eras=function(e,t){for(var n,i=this._eras||G("en")._eras,r=0,a=i.length;r<a;++r)switch("string"==typeof i[r].since&&(n=h(i[r].since).startOf("day"),i[r].since=n.valueOf()),typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":n=h(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},y.erasParse=function(e,t,n){var i,r,a,o,s,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(a=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(a===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if(0<=[a,o,s].indexOf(e))return l[i]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?h(e.since).year():h(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return g(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return g(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||De).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[De.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var i,r;if(this._monthsParseExact)return function(e,t,n){var i,r,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))||-1!==(r=C.call(this._longMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))||-1!==(r=C.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=c([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ze(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Je(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var i,r;if(this._weekdaysParseExact)return function(e,t,n){var i,r,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=c([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},mt("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===m(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),h.lang=e("moment.lang is deprecated. Use moment.locale instead.",mt),h.langData=e("moment.langData is deprecated. Use moment.localeData instead.",G);var gn=Math.abs;function fn(e,t,n,i){t=P(t,n);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),ge=wn("s"),Be=wn("m"),ve=wn("h"),be=wn("d"),Ke=wn("w"),v=wn("M"),fe=wn("Q"),xe=wn("y");function $n(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=$n("milliseconds"),$e=$n("seconds"),ze=$n("minutes"),y=$n("hours"),xn=$n("days"),Cn=$n("months"),kn=$n("years");var Fn=Math.round,Sn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,i){var r=P(e).abs(),a=Fn(r.as("s")),o=Fn(r.as("m")),s=Fn(r.as("h")),l=Fn(r.as("d")),c=Fn(r.as("M")),d=Fn(r.as("w")),r=Fn(r.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||(o<=1?["m"]:o<n.m&&["mm",o])||(s<=1?["h"]:s<n.h&&["hh",s])||(l<=1?["d"]:l<n.d&&["dd",l]);return(a=(a=null!=n.w?a||(d<=1?["w"]:d<n.w&&["ww",d]):a)||(c<=1?["M"]:c<n.M&&["MM",c])||(r<=1?["y"]:["yy",r]))[2]=t,a[3]=0<+e,a[4]=i,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,a)}var En=Math.abs;function Tn(e){return(0<e)-(e<0)||+e}function Ln(){var e,t,n,i,r,a,o,s,l,c,d;return this.isValid()?(s=En(this._milliseconds)/1e3,l=En(this._days),c=En(this._months),(d=this.asSeconds())?(e=p(s/60),t=p(e/60),s%=60,e%=60,n=p(c/12),c%=12,i=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Tn(this._months)!==Tn(d)?"-":"",a=Tn(this._days)!==Tn(d)?"-":"",o=Tn(this._milliseconds)!==Tn(d)?"-":"",(d<0?"-":"")+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+i+"S":"")):"P0D"):this.localeData().invalidDate()}var B=Pt.prototype;return B.isValid=function(){return this._isValid},B.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},B.add=function(e,t){return fn(this,e,t,1)},B.subtract=function(e,t){return fn(this,e,t,-1)},B.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},B.asMilliseconds=we,B.asSeconds=ge,B.asMinutes=Be,B.asHours=ve,B.asDays=be,B.asWeeks=Ke,B.asMonths=v,B.asQuarters=fe,B.asYears=xe,B.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*m(this._months/12):NaN},B._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),i.milliseconds=e%1e3,e=p(e/1e3),i.seconds=e%60,e=p(e/60),i.minutes=e%60,e=p(e/60),i.hours=e%24,t+=p(e/24),n+=e=p(bn(t)),t-=yn(vn(e)),e=p(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},B.clone=function(){return P(this)},B.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},B.milliseconds=ye,B.seconds=$e,B.minutes=ze,B.hours=y,B.days=xn,B.weeks=function(){return p(this.days()/7)},B.months=Cn,B.years=kn,B.humanize=function(e,t){var n,i;return this.isValid()?(n=!1,i=Sn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},Sn,t),null!=t.s)&&null==t.ss&&(i.ss=t.s-1),t=Mn(this,!n,i,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},B.toISOString=Ln,B.toString=Ln,B.toJSON=Ln,B.locale=Xt,B.localeData=Qt,B.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ln),B.lang=Qe,i("X",0,0,"unix"),i("x",0,0,"valueOf"),w("x",ke),w("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,n){n._d=new Date(m(e))}),h.version="2.29.4",R=_,h.fn=r,h.min=function(){return Gt("isBefore",[].slice.call(arguments,0))},h.max=function(){return Gt("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=c,h.unix=function(e){return _(1e3*e)},h.months=function(e,t){return mn(e,t,"months")},h.isDate=O,h.locale=mt,h.invalid=z,h.duration=P,h.isMoment=l,h.weekdays=function(e,t,n){return hn(e,t,n,"weekdays")},h.parseZone=function(){return _.apply(null,arguments).parseZone()},h.localeData=G,h.isDuration=Bt,h.monthsShort=function(e,t){return mn(e,t,"monthsShort")},h.weekdaysMin=function(e,t,n){return hn(e,t,n,"weekdaysMin")},h.defineLocale=ht,h.updateLocale=function(e,t){var n,i;return null!=t?(i=lt,null!=I[e]&&null!=I[e].parentLocale?I[e].set(Q(I[e]._config,t)):(t=Q(i=null!=(n=pt(e))?n._config:i,t),null==n&&(t.abbr=e),(i=new ee(t)).parentLocale=I[e],I[e]=i),mt(e)):null!=I[e]&&(null!=I[e].parentLocale?(I[e]=I[e].parentLocale,e===mt()&&mt(e)):null!=I[e]&&delete I[e]),I[e]},h.locales=function(){return te(I)},h.weekdaysShort=function(e,t,n){return hn(e,t,n,"weekdaysShort")},h.normalizeUnits=u,h.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},h.relativeTimeThreshold=function(e,t){return void 0!==Sn[e]&&(void 0===t?Sn[e]:(Sn[e]=t,"s"===e&&(Sn.ss=t-1),!0))},h.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},h.prototype=r,h.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"},h}();var kr,Fr,Sr=kr.exports;function Mr(e,t){Li(e,t)}const Er={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},"zh-hk":{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Tr={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function Lr(e,t,n){e=e.slice();return e[109]=t[n],e[111]=n,e}function Ir(e,t,n){e=e.slice();return e[106]=t[n],e}function Gr(e){let n;return{c(){(n=me("div")).innerHTML="<div></div><div></div>",fe(n,"class","LoaderRipple")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function _r(e){let n,i=!st(e[37])&&!e[0]&&e[15],r=i&&Pr(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(i=32769&t[0]?!st(e[37])&&!e[0]&&e[15]:i)?r?r.p(e,t):((r=Pr(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&pe(n)}}}function Pr(n){let i,r,a;return{c(){(i=me("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(i,"class","FavIconContainer"),fe(i,"part","FavIconContainer")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[67]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function Br(n){let i,r,a,o,s=n[36]("gameThumbnail.playNow")+"";return{c(){i=me("button"),r=he(s),fe(i,"class","GameInfoBtn"),fe(i,"part","GameInfoBtn")},m(e,t){ue(e,i,t),de(i,r),a||(o=Z(i,"click",n[68]),a=!0)},p(e,t){32&t[1]&&s!==(s=e[36]("gameThumbnail.playNow")+"")&&ye(r,s)},d(e){e&&pe(i),a=!1,o()}}}function Rr(e){let n;return{c(){(n=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function Dr(n){let i,r,a;return{c(){(i=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(i,"class","FavIconContainer"),fe(i,"part","FavIconContainer")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[69]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function Ar(e){let n,i,r=e[36]("gameThumbnail.new")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[1]&&r!==(r=e[36]("gameThumbnail.new")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Nr(e){let n,i;return{c(){n=me("span"),i=he(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&ye(i,e[8])},d(e){e&&pe(n)}}}function Or(e){let n,i,r=!e[23]&&e[21]&&e[22]&&Hr(e);function a(e){return e[23]&&e[20]&&e[20]===Qr?Ur:e[23]&&e[20]&&e[20]===ea?jr:void 0}let o=a(e),s=o&&o(e);return{c(){r&&r.c(),n=ge(),s&&s.c(),i=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,i,t)},p(e,t){!e[23]&&e[21]&&e[22]?r?r.p(e,t):((r=Hr(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){r&&r.d(e),e&&pe(n),s&&s.d(e),e&&pe(i)}}}function Hr(e){let n,i,r,a,o,s,l,c,d,u,p=e[36]("gameThumbnail.opens")+"",m=Sr.utc(e[21]).local().format(e[22])+"",h=e[46](e[35])+"",g=e[45](e[27],e[28],e[26])+"";return{c(){n=me("div"),i=me("div"),r=he(p),a=ge(),o=me("span"),s=he(m),l=ge(),c=new L(!1),d=ge(),u=new L(!1),fe(i,"class","ClosedGame"),fe(i,"part","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(i,o),de(o,s),de(n,l),c.m(h,n),de(n,d),u.m(g,n)},p(e,t){32&t[1]&&p!==(p=e[36]("gameThumbnail.opens")+"")&&ye(r,p),6291456&t[0]&&m!==(m=Sr.utc(e[21]).local().format(e[22])+"")&&ye(s,m),16&t[1]&&h!==(h=e[46](e[35])+"")&&c.p(h),469762048&t[0]&&g!==(g=e[45](e[27],e[28],e[26])+"")&&u.p(g)},d(e){e&&pe(n)}}}function jr(n){let i,r,a,o,s,l,c=n[46](n[35])+"",d=n[45](n[27],n[28],n[26])+"",u=new Array(na),p=[];for(let e=0;e<u.length;e+=1)p[e]=Vr(Lr(n,u,e));return{c(){i=me("div"),r=me("div");for(let e=0;e<p.length;e+=1)p[e].c();a=ge(),o=new L(!1),s=ge(),l=new L(!1),fe(r,"class","LiveIcons"),fe(r,"part","LiveIcons"),o.a=s,l.a=null,fe(i,"class",n[31]),fe(i,"part",n[31])},m(e,t){ue(e,i,t),de(i,r);for(let e=0;e<p.length;e+=1)p[e]&&p[e].m(r,null);n[70](r),de(i,a),o.m(c,i),de(i,s),l.m(d,i)},p(t,n){if(1073750016&n[0]|65538&n[1]){let e;for(u=new Array(na),e=0;e<u.length;e+=1){const o=Lr(t,u,e);p[e]?p[e].p(o,n):(p[e]=Vr(o),p[e].c(),p[e].m(r,null))}for(;e<p.length;e+=1)p[e].d(1);p.length=u.length}16&n[1]&&c!==(c=t[46](t[35])+"")&&o.p(c),469762048&n[0]&&d!==(d=t[45](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(i,"class",t[31]),1&n[1]&&fe(i,"part",t[31])},d(e){e&&pe(i),H(p,e),n[70](null)}}}function Ur(e){let n,i,r,a,o,s,l=e[46](e[35])+"",c=e[45](e[27],e[28],e[26])+"";function d(e){return e[33]?Zr:qr}let u=d(e),p=u(e);return{c(){n=me("div"),i=me("div"),p.c(),r=ge(),a=new L(!1),o=ge(),s=new L(!1),fe(i,"class","LiveIcons"),fe(i,"part","LiveIcons"),a.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){ue(e,n,t),de(n,i),p.m(i,null),de(n,r),a.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&p?p.p(e,t):(p.d(1),(p=u(e))&&(p.c(),p.m(i,null))),16&t[1]&&l!==(l=e[46](e[35])+"")&&a.p(l),469762048&t[0]&&c!==(c=e[45](e[27],e[28],e[26])+"")&&s.p(c)},d(e){e&&pe(n),p.d()}}}function zr(e){let n;function i(e){return e[30]?Yr:Wr}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function Wr(e){let n,i,r=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"";return{c(){n=new L(!1),i=c(),n.a=i},m(e,t){n.m(r,e,t),ue(e,i,t)},p(e,t){8192&t[0]|2&t[1]&&r!==(r=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"")&&n.p(r)},d(e){e&&pe(i),e&&n.d()}}}function Yr(e){let n,i,r,a,o,s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"",l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"";return{c(){n=me("div"),i=new L(!1),r=ge(),a=new L(!1),o=ge(),i.a=r,a.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){ue(e,n,t),i.m(s,n),de(n,r),a.m(l,n),de(n,o)},p(e,t){8192&t[0]|2&t[1]&&s!==(s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"")&&i.p(s),8192&t[0]|2&t[1]&&l!==(l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"")&&a.p(l)},d(e){e&&pe(n)}}}function Vr(e){let n,i=e[13]&&e[13][e[111]]&&zr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[13]&&e[13][e[111]]?i?i.p(e,t):((i=zr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function qr(t){let r,a=t[25],o=[];for(let e=0;e<a.length;e+=1)o[e]=Jr(Ir(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n)},p(t,n){if(570425344&n[0]|8192&n[1]){let e;for(a=t[25],e=0;e<a.length;e+=1){var i=Ir(t,a,e);o[e]?o[e].p(i,n):(o[e]=Jr(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function Zr(e){let n,i,r=e[36]("gameThumbnail.full")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[1]&&r!==(r=e[36]("gameThumbnail.full")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Jr(e){let n,i,r,a,o,s,l;return{c(){n=me("span"),i=j("svg"),r=j("path"),a=j("path"),o=ge(),fe(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"width","13"),fe(i,"height","14"),fe(i,"viewBox","0 0 13 14"),fe(n,"class",s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(n,o)},p(e,t){570425344&t[0]&&s!==(s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),570425344&t[0]&&l!==(l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&pe(n)}}}function Kr(e){let n,i;return{c(){n=me("p"),i=he(e[4]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16&t[0]&&ye(i,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&pe(n)}}}function Xr(n){let i,r,a,o,s,l,A,c,d,u,p,m,N,h,g,O,f,y,H,b,v,w,$,x,C,k,F,j,S,M,U,z,E=(n[5]||"-")+"";function W(e){return e[16]?_r:Gr}let T=W(n),L=T(n),I=n[1]&&Br(n);function Y(e,t){return 32773&t[0]&&(b=null),32773&t[0]&&(v=null),(b=null==b?!(st(e[37])||!e[0]||!e[15]||!e[2]):b)?Dr:(v=null==v?!!(st(e[37])&&e[0]&&e[15]&&e[2]):v)?Rr:void 0}let G=Y(n,[-1,-1,-1,-1]),_=G&&G(n),P=n[7]&&Ar(n),B=n[8]&&Nr(n),R=n[12]&&Or(n),D=n[10]&&Kr(n);return{c(){i=me("div"),r=me("div"),a=me("img"),A=ge(),c=me("div"),d=me("div"),L.c(),u=ge(),p=me("p"),m=he(n[4]),N=ge(),I&&I.c(),O=ge(),f=me("span"),y=he(E),H=ge(),_&&_.c(),w=ge(),$=me("div"),P&&P.c(),x=ge(),B&&B.c(),C=ge(),R&&R.c(),j=ge(),D&&D.c(),this.c=V,ce(a.src,o=n[3])||fe(a,"src",o),fe(a,"class",s=`GameBg GameBg-${n[9]} ${n[17]?"GameContainerHovered":""} `+(n[18]?"Loaded":"")),fe(a,"part",l="GameBg "+(n[17]?"GameContainerHovered":"")+" "+(n[18]?"Loaded":"")),fe(a,"alt",""),fe(a,"loading","lazy"),fe(p,"class","GameInfoName"),fe(p,"part","GameInfoName"),fe(p,"title",n[4]),fe(d,"class",h="GameInfo "+(n[17]?"GameHovered":"")),fe(d,"part",g="GameInfo "+(n[17]?"GameHovered":"")),fe(f,"class","GameInfoVendor"),fe(f,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe($,"class","GameExtraInfo"),fe($,"part","GameExtraInfo"),fe(r,"class",k="GameInnerContainer "+(n[12]&&!n[23]&&n[24].value||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(r,"part",F="GameInnerContainer "+(n[12]&&!n[23]||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(i,"class",S="GameContainer "+n[34]),fe(i,"part",M="GameContainer "+n[34])},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[66](a),de(r,A),de(r,c),de(c,d),L.m(d,null),de(d,u),de(d,p),de(p,m),de(d,N),I&&I.m(d,null),de(c,O),de(c,f),de(f,y),de(r,H),_&&_.m(r,null),de(r,w),de(r,$),P&&P.m($,null),de($,x),B&&B.m($,null),de($,C),R&&R.m($,null),de(i,j),D&&D.m(i,null),n[71](i),U||(z=[Z(r,"mouseenter",n[42]),Z(r,"mouseleave",n[43]),Z(r,"touchstart",n[40],{passive:!0}),Z(r,"touchend",n[41],{passive:!0})],U=!0)},p(e,t){8&t[0]&&!ce(a.src,o=e[3])&&fe(a,"src",o),393728&t[0]&&s!==(s=`GameBg GameBg-${e[9]} ${e[17]?"GameContainerHovered":""} `+(e[18]?"Loaded":""))&&fe(a,"class",s),393216&t[0]&&l!==(l="GameBg "+(e[17]?"GameContainerHovered":"")+" "+(e[18]?"Loaded":""))&&fe(a,"part",l),T===(T=W(e))&&L?L.p(e,t):(L.d(1),(L=T(e))&&(L.c(),L.m(d,u))),16&t[0]&&ye(m,e[4]),16&t[0]&&fe(p,"title",e[4]),e[1]?I?I.p(e,t):((I=Br(e)).c(),I.m(d,null)):I&&(I.d(1),I=null),131072&t[0]&&h!==(h="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"class",h),131072&t[0]&&g!==(g="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"part",g),32&t[0]&&E!==(E=(e[5]||"-")+"")&&ye(y,E),G===(G=Y(e,t))&&_?_.p(e,t):(_&&_.d(1),(_=G&&G(e))&&(_.c(),_.m(r,w))),e[7]?P?P.p(e,t):((P=Ar(e)).c(),P.m($,x)):P&&(P.d(1),P=null),e[8]?B?B.p(e,t):((B=Nr(e)).c(),B.m($,C)):B&&(B.d(1),B=null),e[12]?R?R.p(e,t):((R=Or(e)).c(),R.m($,null)):R&&(R.d(1),R=null),25169920&t[0]|4&t[1]&&k!==(k="GameInnerContainer "+(e[12]&&!e[23]&&e[24].value||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(r,"class",k),8392704&t[0]|4&t[1]&&F!==(F="GameInnerContainer "+(e[12]&&!e[23]||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(r,"part",F),e[10]?D?D.p(e,t):((D=Kr(e)).c(),D.m(i,null)):D&&(D.d(1),D=null),8&t[1]&&S!==(S="GameContainer "+e[34])&&fe(i,"class",S),8&t[1]&&M!==(M="GameContainer "+e[34])&&fe(i,"part",M)},i:V,o:V,d(e){e&&pe(i),n[66](null),L.d(),I&&I.d(),_&&_.d(),P&&P.d(),B&&B.d(),R&&R.d(),D&&D.d(),n[71](null),U=!1,q(z)}}}const Qr="blackjack",ea="roulette",ta="doubleballroulette",na=5;function ia(a,e,o){let t;ct(a,Zi,e=>o(36,t=e));let R,s,l,c,n,D,A,d,u,N,O,H,p,j,U,z,m,W,Y,V,h,q,g,Z,J,{session:K=""}=e,{userid:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{favorites:$=""}=e,{gamethumbnail:X=""}=e,{gamename:Q=""}=e,{gamevendor:i=""}=e,{gameid:r=""}=e,{gameisnew:ee=""}=e,{gametag:te=""}=e,{gamefunmode:x=!1}=e,{searchitem:ne=!1}=e,{gamefavorite:C=!1}=e,{gamecellsize:ie=""}=e,{showfavoredcategory:k=!1}=e,{showgamename:re=!1}=e,{currency:F=""}=e,{gamepagemodalurl:S="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:E=""}=e,{connectlive:T=""}=e,{visibilityconnect:L=""}=e,{integratedgameframedesktop:I="false"}=e,{integratedgameframemobile:G="false"}=e,ae=!1,oe=!1,se=!1,_=window.navigator.userAgent,le="HH:mm",ce,de=[],ue="EUR",P="";const pe=[Qr],me=[ea,ta],he={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ge={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},fe=(Object.keys(Er).forEach(e=>{Mr(e,Er[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+r||k||o(0,C=!0),e.data.type!=="RemoveFavoriteThumbnail_"+r||k||o(0,C=!1),"UserSessionID"===e.data.type&&(o(15,ae=!0),e.data.session,R=e.data.userID),"CategoryUpdate"===e.data.type&&o(12,c=null)}),ye=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(R||"Not logged in")}),st(_)&&"true"==G?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:st(_),source:"GameThumbnail"},window.location.href):st(_)&&"false"==G&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:st(_)},window.location.href),st(_)||"true"!=I?st(_)||"false"!=I||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:st(_)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:st(_)},window.location.href)},be=e=>{C?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},ve=()=>{E&&EventSource&&!n&&i&&r&&(n=new EventSource(`${M}/encoder/lobby/updates/${i}/`+r)).addEventListener("message",$e)},we=()=>{n&&(n.close(),n=void 0)},$e=async e=>{const{type:t,data:n}=e;let i;if("message"===t){if(n)try{i=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:n,Seats:r,Open:a}=i;if(e)switch(t){case"SeatsUpdated":r&&Array.isArray(r)&&(o(29,p=r),o(12,c.currentOccupiedSeats=r,c),await ke());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(j=n,o(12,c.currentRouletteNumbers=n,c),await ke());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,o(12,c.currentDoubleBallRouletteNumbers=n,c),await ke());break;case"TableOpened":case"TableClosed":o(23,d=a),o(12,c.isOpen=a,c),await ke()}}}},xe=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",B=(e,t)=>e.some(e=>e===t),Ce=()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})};return it(()=>(window.addEventListener("message",fe,!1),()=>{window.removeEventListener("message",fe),n&&n.removeEventListener("message",$e)})),a.$$set=e=>{"session"in e&&o(48,K=e.session),"userid"in e&&o(49,f=e.userid),"lang"in e&&o(1,y=e.lang),"clientstyling"in e&&o(50,b=e.clientstyling),"clientstylingurl"in e&&o(51,v=e.clientstylingurl),"translationurl"in e&&o(52,w=e.translationurl),"favorites"in e&&o(2,$=e.favorites),"gamethumbnail"in e&&o(3,X=e.gamethumbnail),"gamename"in e&&o(4,Q=e.gamename),"gamevendor"in e&&o(5,i=e.gamevendor),"gameid"in e&&o(6,r=e.gameid),"gameisnew"in e&&o(7,ee=e.gameisnew),"gametag"in e&&o(8,te=e.gametag),"gamefunmode"in e&&o(53,x=e.gamefunmode),"searchitem"in e&&o(54,ne=e.searchitem),"gamefavorite"in e&&o(0,C=e.gamefavorite),"gamecellsize"in e&&o(9,ie=e.gamecellsize),"showfavoredcategory"in e&&o(55,k=e.showfavoredcategory),"showgamename"in e&&o(10,re=e.showgamename),"currency"in e&&o(56,F=e.currency),"gamepagemodalurl"in e&&o(57,S=e.gamepagemodalurl),"endpoint"in e&&o(58,M=e.endpoint),"livelobbyendpoint"in e&&o(59,E=e.livelobbyendpoint),"connectlive"in e&&o(60,T=e.connectlive),"visibilityconnect"in e&&o(61,L=e.visibilityconnect),"integratedgameframedesktop"in e&&o(62,I=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(63,G=e.integratedgameframemobile)},a.$$.update=()=>{if(536870912&a.$$.dirty[1]&&T&&("disconnect"===T?we():"connect"===T&&ve()),1073741824&a.$$.dirty[1]&&L&&("disconnect"===L?we():"connect"===L&&"connect"===T&&ve()),2&a.$$.dirty[0]&&y&&(n=y,ot.set(n)),134610944&a.$$.dirty[1]&&K&&f&&M&&(o(15,ae=!0),R=f),8&a.$$.dirty[0]&&X&&s&&o(19,s.onload=()=>{o(18,se=!0)},s),2048&a.$$.dirty[0]|524288&a.$$.dirty[1]&&b&&l&&((n=document.createElement("style")).innerHTML=b,l.appendChild(n)),2048&a.$$.dirty[0]|1048576&a.$$.dirty[1]&&v&&l&&Ce(),4&a.$$.dirty[0]&&$&&"true"==$&&o(16,oe=!0),2097152&a.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Mr(e,t[e])})}).catch(e=>{console.log(e)}),512&a.$$.dirty[0]|1048576&a.$$.dirty[1]&&ie&&v&&Ce(),402653184&a.$$.dirty[1]&&M&&E&&((t=new URL(""+E.split("?")[0])).searchParams.append("platform",lt(_)),t.searchParams.append("language",y),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;o(12,c=e)})),4096&a.$$.dirty[0]&&c&&c&&(o(23,d=c.isOpen),ce=c.betLimit||{},o(24,u=c.openHours),o(25,de=(e=>{H=e.totalSeats||7,o(29,p=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=H;e++)t.push(e);return{seats:t}})(c).seats),u&&u.value&&({startTime:t,originalTimeFormat:e}=u["value"],o(21,A=t),o(22,le=e||le)),d&&o(20,D=(e=>{let t=null;if(e){var n=e["vendorCategory"];if(n){const e=n.toLowerCase();B(pe,e)?t=Qr:B(me,e)&&(t=ea)}}return t})(c)),o(26,ue=Tr[F]),o(27,N=(ce.min||{})[F]),o(28,O=(ce.max||{})[F]),j=c.currentRouletteNumbers,U=c.currentDoubleBallRouletteNumbers,z=c.vendorCategory,o(30,m=z.toLowerCase()===ta),o(13,W=(m?U:j)||[]),o(31,Y="GameProp LiveProps RoulleteProps"),o(31,Y+=m?" Double":""),o(32,V=B(me,z.toLowerCase())?ge:he),q=h,o(33,h=Array.isArray(p)&&p.length===H),c.dealer&&o(35,Z=c.dealer.DealerName),J=c.numberOfPlayers,o(34,P="ListGame"),c.isOpen&&c.currentRouletteNumbers&&o(34,P+=" GameBackdrop"),d&&h&&N&&O&&c.currentOccupiedSeats?o(34,P+=" GameContainerDimmed"):!1===d&&A&&o(34,P+=" GameContainerFullyDimmed"),l)&&(!q&&h?(o(34,P+=" PulsatingRedShadow"),o(34,P=P.replace(" PulsatingGreenShadow",""))):q&&!h&&(o(34,P+=" PulsatingGreenShadow"),o(34,P=P.replace(" PulsatingRedShadow","")))),24576&a.$$.dirty[0]&&g&&W){const i="FirstElementAnimated",r=g.getElementsByClassName("First")[0];r&&(r.classList.add(i),setTimeout(()=>{r.classList.remove(i)},2e3))}var e,t,n},[C,y,$,X,Q,i,r,ee,te,ie,re,l,c,W,g,ae,oe,!1,se,s,D,A,le,d,u,de,ue,N,O,p,m,Y,V,h,P,Z,t,_,ye,be,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},B,(e,t,n)=>{let i,r;return null!=e&&null!=t&&(r=`
3
+ }`,s=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,p=M(e),{stylesheet:m,rules:h}=I.get(p)||(p=p,d={stylesheet:(d=e,h=me("style"),d=M(d),m=h,de(d.head||d,m),m.sheet,h.sheet),rules:{}},I.set(p,d),d),p=(h[s]||(h[s]=!0,m.insertRule(`@keyframes ${s} `+u,m.cssRules.length)),e.style.animation||"");return e.style.animation=(p?p+", ":"")+s+` ${i}ms linear ${r}ms 1 both`,_+=1,s}function D(e){G=e}function Ie(){if(G)return G;throw new Error("Function called outside component initialization")}function it(e){Ie().$$.on_mount.push(e)}const A=[],rt=[];let N=[];const O=[],U=Promise.resolve();let z=!1;function W(){z||(z=!0,U.then(p))}function ke(){return W(),U}function Y(e){N.push(e)}const J=new Set;let K,X=0;function p(){if(0===X){const i=G;do{try{for(;X<A.length;){const i=A[X];X++,D(i),e=t=void 0;var e,t=i.$$;null!==t.fragment&&(t.update(),q(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Y))}}catch(i){throw A.length=0,X=0,i}for(D(null),A.length=0,X=0;rt.length;)rt.pop()();for(let e=0;e<N.length;e+=1){var n=N[e];J.has(n)||(J.add(n),n())}}while(N.length=0,A.length);for(;O.length;)O.pop()();z=!1,J.clear(),D(i)}}function Q(e,t,n){var i;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:n=!1}={}]=[(t?"intro":"outro")+n],(i=document.createEvent("CustomEvent")).initCustomEvent(e,t,n,void 0),i))}const ee=new Set;let te;function ne(){te={r:0,c:[],p:te}}function ie(){te.r||q(te.c),te=te.p}function re(e,t){e&&e.i&&(ee.delete(e),e.i(t))}function ae(e,t,n,i){e&&e.o?ee.has(e)||(ee.add(e),te.c.push(()=>{ee.delete(e),i&&(n&&e.d(1),i())}),e.o(t)):i&&i()}const oe={duration:0};function se(l,e,t,n){const i={direction:"both"};let c=e(l,t,i),d=n?0:1,u=null,p=null,m=null;function h(){var e,t,n,i;m&&(e=l,t=m,n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(n=n.length-i.length)||(e.style.animation=i.join(", "),_-=n)||$(()=>{_||(I.forEach(e=>{e=e.stylesheet.ownerNode;e&&pe(e)}),I.clear())}))}function g(e,t){var n=e.b-d;return t*=Math.abs(n),{a:d,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:i=v,tick:r=V,css:a}=c||oe,o={start:w()+t,b:e};if(e||((o.group=te).r+=1),u||p)p=o;else{a&&(h(),m=R(l,d,e,n,t,i,a)),e&&r(0,1),u=g(o,n),Y(()=>Q(l,e,"start"));{var s=e=>{if(p&&e>p.start&&(u=g(p,n),p=null,Q(l,u.b,"start"),a)&&(h(),m=R(l,d,u.b,u.duration,0,i,c.css)),u)if(e>=u.end)r(d=u.b,1-d),Q(l,u.b,"end"),p||(u.b?h():--u.group.r||q(u.group.c)),u=null;else if(e>=u.start){const l=e-u.start;d=u.a+u.d*i(l/u.duration),r(d,1-d)}return!(!u&&!p)};let t;0===x.size&&$(C),new Promise(e=>{x.add(t={c:s,f:e})})}}}return{run(e){F(c)?(K||(K=Promise.resolve()).then(()=>{K=null}),K.then(()=>{c=c(i),r(e)})):r(e)},end(){h(),u=p=null}}}function le(e,t){e.d(1),t.delete(e.key)}function be(t,n,i,r,a,o,s,l,e,c,d,u){let p=t.length,m=o.length,h=p;for(var g={};h--;)g[t[h].key]=h;var f=[],y=new Map,b=new Map,v=[];for(h=m;h--;){const t=u(a,o,h),q=i(t);let e=s.get(q);e?r&&v.push(()=>e.p(t,n)):(e=c(q,t)).c(),y.set(q,f[h]=e),q in g&&b.set(q,Math.abs(h-g[q]))}var w=new Set,$=new Set;function x(e){re(e,1),e.m(l,d),s.set(e.key,e),d=e.first,m--}for(;p&&m;){const n=f[m-1],i=t[p-1],r=n.key,a=i.key;n===i?(d=n.first,p--,m--):y.has(a)?!s.has(r)||w.has(r)?x(n):$.has(a)?p--:b.get(r)>b.get(a)?($.add(r),x(n)):(w.add(a),p--):(e(i,s),p--)}for(;p--;){const n=t[p];y.has(n.key)||e(n,s)}for(;m;)x(f[m-1]);return q(v),f}function r(i,e,t,n,r,a,o,s=[-1]){var l=G;D(i);const c=i.$$={fragment:null,ctx:[],props:a,update:V,not_equal:r,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:h(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&r(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d)&&(n=e,-1===(e=i).$$.dirty[0]&&(A.push(e),W(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),d=!0,q(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const i=Array.from(a.childNodes);c.fragment&&c.fragment.l(i),i.forEach(pe)}else c.fragment&&c.fragment.c();e.intro&&re(i.$$.fragment);var u=i,s=e.target,o=e.anchor,t=e.customElement,{fragment:n,after_update:a}=u.$$;n&&n.m(s,o),t||Y(()=>{var e=u.$$.on_mount.map(m).filter(F);u.$$.on_destroy?u.$$.on_destroy.push(...e):q(e),u.$$.on_mount=[]}),a.forEach(Y),p()}D(l)}let t;"function"==typeof HTMLElement&&(t=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(m).filter(F);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){q(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const i=[],r=[];N.forEach(e=>(-1===n.indexOf(e)?i:r).push(e)),r.forEach(e=>e()),N=i}q(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=V}$on(e,t){if(!F(t))return V;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 ve,we,$e="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==$e&&$e,xe="URLSearchParams"in $e,Ce="Symbol"in $e&&"iterator"in Symbol,Fe="FileReader"in $e&&"Blob"in $e&&function(){try{return new Blob,!0}catch(e){return!1}}(),Se="FormData"in $e,Me="ArrayBuffer"in $e;function Ee(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 Te(e){return e="string"!=typeof e?String(e):e}function Le(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ce&&(e[Symbol.iterator]=function(){return e}),e}function s(t){this.map={},t instanceof s?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 Ge(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function _e(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Pe(e){var t=new FileReader,n=_e(t);return t.readAsArrayBuffer(e),n}function Be(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Re(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Fe&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Se&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:xe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Me&&Fe&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Be(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Me&&(ArrayBuffer.prototype.isPrototypeOf(e)||we(e))?this._bodyArrayBuffer=Be(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):xe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Fe&&(this.blob=function(){var e=Ge(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?Ge(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(Pe)}),this.text=function(){var e,t,n=Ge(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=_e(e),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Se&&(this.formData=function(){return this.text().then(Ne)}),this.json=function(){return this.text().then(JSON.parse)},this}Me&&(ve=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],we=ArrayBuffer.isView||function(e){return e&&-1<ve.indexOf(Object.prototype.toString.call(e))}),s.prototype.append=function(e,t){e=Ee(e),t=Te(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},s.prototype.delete=function(e){delete this.map[Ee(e)]},s.prototype.get=function(e){return e=Ee(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(Ee(e))},s.prototype.set=function(e,t){this.map[Ee(e)]=Te(t)},s.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},s.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Le(n)},s.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Le(t)},s.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Le(n)},Ce&&(s.prototype[Symbol.iterator]=s.prototype.entries);var De=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];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.');var n,i=(t=t||{}).body;if(e instanceof Ae){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=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 s(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<De.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ne(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Oe(e,t){if(!(this instanceof Oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new s(t.headers),this.url=t.url||"",this._initBody(e)}Ae.prototype.clone=function(){return new Ae(this,{body:this._bodyInit})},Re.call(Ae.prototype),Re.call(Oe.prototype),Oe.prototype.clone=function(){return new Oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},Oe.error=function(){var e=new Oe(null,{status:0,statusText:""});return e.type="error",e};var He=[301,302,303,307,308],je=(Oe.redirect=function(e,t){if(-1===He.indexOf(t))throw new RangeError("Invalid status code");return new Oe(null,{status:t,headers:{location:e}})},$e.DOMException);try{new je}catch(o){(je=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),je.prototype.constructor=je}function Ue(i,o){return new Promise(function(r,e){var t=new Ae(i,o);if(t.signal&&t.signal.aborted)return e(new je("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new s,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 e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},i=(t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){r(new Oe(i,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new je("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&$e.location.href?$e.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(Fe?a.responseType="blob":Me&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof s?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,Te(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function In(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ue.polyfill=!0,$e.fetch||($e.fetch=Ue,$e.Headers=s,$e.Request=Ae,$e.Response=Oe);var ze=self.fetch.bind(self),We=function(e,t){return(We=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 Ye(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}We(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function qe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(i=a.next()).done;)o.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}function Ze(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function Je(e){return"function"==typeof e}function Ke(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 Xe=Ke(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 Qe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}nt.prototype.unsubscribe=function(){var e,t,n,i,r;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Ve(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(Je(a))try{a()}catch(e){r=e instanceof Xe?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Ve(a),c=l.next();!c.done;c=l.next()){var d=c.value;try{ut(d)}catch(e){r=null!=r?r:[],e instanceof Xe?r=Ze(Ze([],qe(r)),qe(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}if(r)throw new Xe(r)}},nt.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ut(e);else{if(e instanceof nt){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},nt.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},nt.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},nt.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Qe(t,e)},nt.prototype.remove=function(e){var t=this._finalizers;t&&Qe(t,e),e instanceof nt&&e._removeParent(this)},nt.EMPTY=((e=new nt).closed=!0,e);var et=nt,tt=et.EMPTY;function nt(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function dt(e){return e instanceof et||e&&"closed"in e&&Je(e.remove)&&Je(e.add)&&Je(e.unsubscribe)}function ut(e){Je(e)?e():e.unsubscribe()}var pt=void 0,mt=!1,ht=!1,gt={setTimeout:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=gt.delegate;return null!=r&&r.setTimeout?r.setTimeout.apply(r,Ze([e,t],qe(n))):setTimeout.apply(void 0,Ze([e,t],qe(n)))},clearTimeout:function(e){var t=gt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ft(){}var yt=null;function bt(e){if(mt){var t=!yt;if(t&&(yt={errorThrown:!1,error:null}),e(),t){var t=yt,n=t.errorThrown,t=t.error;if(yt=null,n)throw t}}else e()}Ye(xt,vt=et),xt.create=function(e,t,n){return new St(e,t,n)},xt.prototype.next=function(e){this.isStopped||this._next(e)},xt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},xt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},xt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,vt.prototype.unsubscribe.call(this),this.destination=null)},xt.prototype._next=function(e){this.destination.next(e)},xt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},xt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var vt,wt=xt,$t=Function.prototype.bind;function xt(e){var t=vt.call(this)||this;return t.isStopped=!1,e?dt(t.destination=e)&&e.add(t):t.destination=Lt,t}function Ct(e,t){return $t.call(e,t)}Et.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Tt(e)}},Et.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Tt(e)}else Tt(e)},Et.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Tt(e)}};var kt,Ft=Et,St=(Ye(Mt,kt=wt),Mt);function Mt(e,t,n){var i=kt.call(this)||this,n=Je(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:i&&ht?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&Ct(e.next,t),error:e.error&&Ct(e.error,t),complete:e.complete&&Ct(e.complete,t)}):e;return i.destination=new Ft(n),i}function Et(e){this.partialObserver=e}function Tt(e){var t=e;gt.setTimeout(function(){throw t})}var Lt={closed:!0,next:ft,error:function(e){throw e},complete:ft},e="function"==typeof Symbol&&Symbol.observable||"@@observable";Gt.prototype.lift=function(e){var t=new Gt;return t.source=this,t.operator=e,t},Gt.prototype.subscribe=function(e,t,n){var i,r=this,a=(i=e)&&i instanceof wt||i&&Je(i.next)&&Je(i.error)&&Je(i.complete)&&dt(i)?e:new St(e,t,n);return bt(function(){var e=r.operator,t=r.source;a.add(e?e.call(a,t):t?r._subscribe(a):r._trySubscribe(a))}),a},Gt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Gt.prototype.forEach=function(i,e){var r=this;return new(e=_t(e))(function(e,t){var n=new St({next:function(e){try{i(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});r.subscribe(n)})},Gt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Gt.prototype[e]=function(){return this},Gt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Gt.prototype.toPromise=function(e){var i=this;return new(e=_t(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Gt.create=function(e){return new Gt(e)};var It=Gt;function Gt(e){e&&(this._subscribe=e)}function _t(e){return null!=(e=null!=e?e:pt)?e:Promise}var Pt,Bt,Rt,Dt=Ke(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Ye(Ut,Rt=It),Ut.prototype.lift=function(e){var t=new At(this,this);return t.operator=e,t},Ut.prototype._throwIfClosed=function(){if(this.closed)throw new Dt},Ut.prototype.next=function(r){var a=this;bt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=Ve(a.currentObservers),i=n.next();!i.done;i=n.next())i.value.next(r)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Ut.prototype.error=function(t){var n=this;bt(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)}})},Ut.prototype.complete=function(){var t=this;bt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Ut.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Ut.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Ut.prototype._trySubscribe=function(e){return this._throwIfClosed(),Rt.prototype._trySubscribe.call(this,e)},Ut.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Ut.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,i=this.isStopped,r=this.observers;return n||i?tt:(this.currentObservers=null,r.push(e),new et(function(){t.currentObservers=null,Qe(r,e)}))},Ut.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},Ut.prototype.asObservable=function(){var e=new It;return e.source=this,e},Ut.create=function(e,t){return new At(e,t)},Ut),At=(Ye(jt,Bt=e),jt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},jt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},jt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},jt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:tt},jt),Nt={now:function(){return(Nt.delegate||Date).now()},delegate:void 0},Ot=(Ye(Ht,Pt=e),Ht.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,r=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(i.push(e),r)||i.push(a.now()+t),this._trimBuffer(),Pt.prototype.next.call(this,e)},Ht.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t},Ht.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,r=(i?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!i){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},Ht);function Ht(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Nt);var i=Pt.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function jt(e,t){var n=Bt.call(this)||this;return n.destination=e,n.source=t,n}function Ut(){var e=Rt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let zt=[],Wt={};const Yt=[];function Vt(i,r=V){let a;const o=new Set;function s(e){if(n(i,e)&&(i=e,a)){const e=!Yt.length;for(const e of o)e[1](),Yt.push(e,i);if(e){for(let e=0;e<Yt.length;e+=2)Yt[e][0](Yt[e+1]);Yt.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=V){const n=[e,t];return o.add(n),1===o.size&&(a=r(s)||V),e(i),()=>{o.delete(n),0===o.size&&a&&(a(),a=null)}}}}function qt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:Vt(t,t=>{let n=!1;const i=[];let r=0,a=V;const o=()=>{var e;r||(a(),e=s(l?i[0]:i,t),d?t(e):a=F(e)?e:V)},e=c.map((e,t)=>u(e,e=>{i[t]=e,r&=~(1<<t),n&&o()},()=>{r|=1<<t}));return n=!0,o(),function(){q(e),a(),n=!1}}).subscribe}}function Zt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Jt);var t}var Jt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Kt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nn(Array.isArray(e)?[]:{},e,t):e}function Xt(e,t,n){return e.concat(t).map(function(e){return Kt(e,n)})}function Qt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function en(e,t){try{return t in e}catch(e){return!1}}function tn(i,r,a){var o={};return a.isMergeableObject(i)&&Qt(i).forEach(function(e){o[e]=Kt(i[e],a)}),Qt(r).forEach(function(e){var t,n;(!en(t=i,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(en(i,e)&&a.isMergeableObject(r[e])?o[e]=((t=a).customMerge&&"function"==typeof(t=t.customMerge(e))?t:nn)(i[e],r[e],a):o[e]=Kt(r[e],a))}),o}function nn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Xt,n.isMergeableObject=n.isMergeableObject||Zt,n.cloneUnlessOtherwiseSpecified=Kt;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):tn(e,t,n):Kt(t,n)}nn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return nn(e,t,n)},{});throw new Error("first argument should be an array")};var rn=nn,an=function(e,t){return(an=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 on(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}an(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,sn,f=function(){return(f=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function ln(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function cn(e){return e.type===y.literal}function dn(e){return e.type===y.number}function un(e){return e.type===y.date}function pn(e){return e.type===y.time}function mn(e){return e.type===y.select}function hn(e){return e.type===y.plural}function gn(e){return e.type===y.tag}function fn(e){return e&&"object"==typeof e&&e.type===sn.number}function yn(e){return e&&"object"==typeof e&&e.type===sn.dateTime}(e=g=g||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=sn=sn||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,bn=/(?:[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 vn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,wn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$n=/^(@+)?(\+|#+)?[rs]?$/g,xn=/(\*)(0+)|(#+)(0+)|(0+)/g,Cn=/^(0+)$/;function kn(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace($n,function(e,t,n){return"string"!=typeof n?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===n?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),i}function Fn(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 Sn(e){return Fn(e)||{}}function Mn(e){for(var o={},t=0,n=e;t<n.length;t++){var i,r=n[t];switch(r.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=r.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=f(f(f({},o),{notation:"scientific"}),r.options.reduce(function(e,t){return f(f({},e),Sn(t))},{}));continue;case"engineering":o=f(f(f({},o),{notation:"engineering"}),r.options.reduce(function(e,t){return f(f({},e),Sn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(xn,function(e,t,n,i,r,a){if(t)o.minimumIntegerDigits=n.length;else{if(i&&r)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Cn.test(r.stem))o.minimumIntegerDigits=r.stem.length;else if(wn.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(wn,function(e,t,n,i,r,a){return"*"===n?o.minimumFractionDigits=t.length:i&&"#"===i[0]?o.maximumFractionDigits=i.length:r&&a?(o.minimumFractionDigits=r.length,o.maximumFractionDigits=r.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=r.options[0];"w"===a?o=f(f({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=f(f({},o),kn(a)))}else $n.test(r.stem)?o=f(f({},o),kn(r.stem)):((a=Fn(r.stem))&&(o=f(f({},o),a)),(i=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)),!Cn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem))&&(o=f(f({},o),i)))}return o}var En={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Tn=new RegExp("^".concat(e.source,"*")),Ln=new RegExp("".concat(e.source,"*$"));function b(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Gn=!!String.fromCodePoint,_n=!!Object.fromEntries,Pn=!!String.prototype.codePointAt,Bn=!!String.prototype.trimStart,Rn=!!String.prototype.trimEnd,Dn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},An=!0;try{An="a"===(null==(ai=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ai[0])}catch(o){An=!1}var Nn,On,Hn=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},jn=Gn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",r=e.length,a=0;a<r;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},Un=_n?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n],a=r[0],r=r[1];t[a]=r}return t},zn=Pn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,i=e.length;if(!(t<0||i<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?n:i-56320+(n-55296<<10)+65536},Wn=Bn?function(e){return e.trimStart()}:function(e){return e.replace(Tn,"")},Yn=Rn?function(e){return e.trimEnd()}:function(e){return e.replace(Ln,"")};function Vn(e,t){return new RegExp(e,t)}On=An?(Nn=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Nn.lastIndex=t,null!=(t=Nn.exec(e)[1])?t:""}):function(e,t){for(var n,i=[];;){var r=zn(e,t);if(void 0===r||Jn(r)||33<=(n=r)&&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;i.push(r),t+=65536<=r?2:1}return jn.apply(void 0,i)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var r,a=this.char();if(123===a){if((r=this.parseArgument(e,n)).err)return r;i.push(r.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Zn(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r}else if((r=this.parseLiteral(e,t)).err)return r;i.push(r.val)}else{a=this.clonePosition();this.bump(),i.push({type:y.pound,location:b(a,this.clonePosition())})}}}return{val:i,err:null}},a.prototype.parseTag=function(e,t){var n,i=this.clonePosition(),r=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(r,"/>"),location:b(i,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Zn(this.char())?this.error(g.INVALID_TAG,b(e,this.clonePosition())):(n=this.clonePosition(),r!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,b(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:b(i,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,b(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,b(i,this.clonePosition()))):this.error(g.INVALID_TAG,b(i,this.clonePosition()))},a.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())},a.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{r=this.tryParseUnquoted(e,t);if(r)i+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;i+=r}}}n=b(n,this.clonePosition());return{val:{type:y.literal,value:i,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Zn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.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 jn.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),jn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,b(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:b(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=On(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:b(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,n,i){var r,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,b(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(p=Yn(u.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:b(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(i)).err?c:(m=b(i,this.clonePosition()),l&&Hn(null==l?void 0:l.style,"::",0)?(h=Wn(l.style.slice(2)),"number"===o?(u=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?u:{val:{type:y.number,value:n,location:m,style:u.val},err:null}:0===h.length?this.error(g.EXPECT_DATE_TIME_SKELETON,m):(d=h,this.locale&&(d=function(e,t){for(var n="",i=0;i<e.length;i++){var r=e.charAt(i);if("j"===r){for(var a=0;i+1<e.length&&e.charAt(i+1)===r;)a++,i++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(En[t||""]||En[n||""]||En["".concat(n,"-001")]||En["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===r?"H":r}return n}(h,this.locale)),p={type:sn.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},d.replace(bn,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.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":r.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":r.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":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.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":r.minute=["numeric","2-digit"][t-1];break;case"s":r.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":r.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""}),r):{}},{val:{type:"date"===o?y.date:y.time,value:n,location:m,style:p},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:m,style:null!=(h=null==l?void 0:l.style)?h:null},err:null});case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,b(d,f({},d)));this.bumpSpace();var u,p=this.parseIdentifierIfPossible(),m=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),p=this.parseIdentifierIfPossible(),m=u.val}var h,l=this.tryParsePluralOrSelectOptions(e,o,t,p);return l.err?l:(c=this.tryParseArgumentClose(i)).err?c:(h=b(i,this.clonePosition()),"select"===o?{val:{type:y.select,value:n,options:Un(l.val),location:h},err:null}:{val:{type:y.plural,value:n,options:Un(l.val),offset:m,pluralType:"plural"===o?"cardinal":"ordinal",location:h},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,b(a,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.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(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,b(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}},a.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,i=e.split(vn).filter(function(e){return 0<e.length});n<i.length;n++){var r=i[n].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var a=r[0],r=r.slice(1),o=0,s=r;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:r})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:sn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Mn(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var r=!1,a=[],o=new Set,s=i.value,l=i.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=b(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var u=this.tryParseArgumentClose(d);if(u.err)return u;a.push([s,{value:c.val,location:b(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===a.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(g.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:a,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;r=!0,a=10*a+(o-48),this.bump()}i=b(i,this.clonePosition());return r?Dn(a*=n)?{val:a,err:null}:this.error(t,i):this.error(e,i)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=zn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.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))},a.prototype.bumpIf=function(e){if(Hn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Jn(this.char());)this.bump()},a.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var qn=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Zn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Jn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Kn(e,t){t=f({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new qn(e,t).parse();if(e.err)throw(n=SyntaxError(g[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,mn(e)||hn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else dn(e)&&fn(e.style)||(un(e)||pn(e))&&yn(e.style)?delete e.style.location:gn(e)&&n(e.children)})}(e.val),e.val}function Xn(e,t){var n=t&&t.cache?t.cache:oi,i=t&&t.serializer?t.serializer:ni;return(t&&t.strategy?t.strategy:function(e,t){return ti(e,this,1===e.length?Qn:ei,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function Qn(e,t,n,i){var n=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),r=t.get(n);return void 0===r&&(r=e.call(this,i),t.set(n,r)),r}function ei(e,t,n){var i=Array.prototype.slice.call(arguments,3),n=n(i),r=t.get(n);return void 0===r&&(r=e.apply(this,i),t.set(n,r)),r}function ti(e,t,n,i,r){return n.bind(t,e,i,r)}var ni=function(){return JSON.stringify(arguments)};function ii(){this.cache=Object.create(null)}ii.prototype.get=function(e){return this.cache[e]},ii.prototype.set=function(e,t){this.cache[e]=t};var ri,ai,oi={create:function(){return new ii}},si={variadic:function(e,t){return ti(e,this,ei,t.cache.create(),t.serializer)},monadic:function(e,t){return ti(e,this,Qn,t.cache.create(),t.serializer)}};(ai=ri=ri||{}).MISSING_VALUE="MISSING_VALUE",ai.INVALID_VALUE="INVALID_VALUE",ai.MISSING_INTL_API="MISSING_INTL_API";on(wi,pi=Error),wi.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var li,ci,di,ui,pi,mi=wi,hi=(on(vi,ui=mi),vi),gi=(on(bi,di=mi),bi),fi=(on(yi,ci=mi),yi);function yi(e,t){return ci.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ri.MISSING_VALUE,t)||this}function bi(e,t,n){return di.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ri.INVALID_VALUE,n)||this}function vi(e,t,n,i){return ui.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ri.INVALID_VALUE,i)||this}function wi(e,t,n){e=pi.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function $i(e,t,n,i,r,a,o){if(1===e.length&&cn(e[0]))return[{type:li.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(cn(d))s.push({type:li.literal,value:d.value});else if(d.type===y.pound)"number"==typeof a&&s.push({type:li.literal,value:n.getNumberFormat(t).format(a)});else{var u=d.value;if(!(r&&u in r))throw new fi(u,o);u=r[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),s.push({type:"string"==typeof u?li.literal:li.object,value:u});else if(un(d)){var p="string"==typeof d.style?i.date[d.style]:yn(d.style)?d.style.parsedOptions:void 0;s.push({type:li.literal,value:n.getDateTimeFormat(t,p).format(u)})}else if(pn(d))p="string"==typeof d.style?i.time[d.style]:yn(d.style)?d.style.parsedOptions:i.time.medium,s.push({type:li.literal,value:n.getDateTimeFormat(t,p).format(u)});else if(dn(d))(p="string"==typeof d.style?i.number[d.style]:fn(d.style)?d.style.parsedOptions:void 0)&&p.scale&&(u*=p.scale||1),s.push({type:li.literal,value:n.getNumberFormat(t,p).format(u)});else{if(gn(d)){var m=d.children,h=d.value,g=r[h];if("function"!=typeof g)throw new gi(h,"function",o);h=g($i(m,t,n,i,r,a).map(function(e){return e.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(e){return{type:"string"==typeof e?li.literal:li.object,value:e}}))}if(mn(d)){if(!(f=d.options[u]||d.options.other))throw new hi(d.value,u,Object.keys(d.options),o);s.push.apply(s,$i(f.value,t,n,i,r))}else if(hn(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new mi('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ri.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[g]||d.options.other}if(!f)throw new hi(d.value,u,Object.keys(d.options),o);s.push.apply(s,$i(f.value,t,n,i,r,u-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===li.literal&&t.type===li.literal?n.value+=t.value:e.push(t),e},[])}function xi(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=li=li||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(ki,"defaultLocale",{get:function(){return ki.memoizedDefaultLocale||(ki.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),ki.memoizedDefaultLocale},enumerable:!1,configurable:!0}),ki.memoizedDefaultLocale=null,ki.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},ki.__parse=Kn,ki.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"}}};var Ci=ki;function ki(e,t,n,i){var r,a,o=this;if(void 0===t&&(t=ki.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===li.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return $i(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=ki.resolveLocale(t),"string"==typeof e){if(this.message=e,!ki.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ki.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=ki.formats,(a=n)?Object.keys(r).reduce(function(e,t){var n,i;return e[t]=(n=r[t],(i=a[t])?f(f(f({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=f(f({},n[t]),i[t]||{}),e},{})):n),e},f({},r)):r),this.formatters=i&&i.formatters||{getNumberFormat:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,ln([void 0],t,!1)))},{cache:xi((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:si.variadic}),getDateTimeFormat:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,ln([void 0],t,!1)))},{cache:xi(t.dateTime),strategy:si.variadic}),getPluralRules:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,ln([void 0],t,!1)))},{cache:xi(t.pluralRules),strategy:si.variadic})}}const Fi={},Si=(e,t,n)=>n&&(t in Fi||(Fi[t]={}),e in Fi[t]||(Fi[t][e]=n),n),Mi=(t,n)=>{if(null!=n){if(n in Fi&&t in Fi[n])return Fi[n][t];var i=Hi(n);for(let e=0;e<i.length;e++){var r=function(e,t){if(!Ti(e))return null;e=function(e){return Ei[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var i=n.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const n=i.slice(e,i.length).join(".");if(n in t){t=t[n];break}}t=t[i[e]]}else t=void 0;return t}}}(i[e],t);if(r)return Si(t,n,r)}}};let Ei;const at=Vt({});function Ti(e){return e in Ei}function Li(t,...n){delete Fi[t],at.update(e=>(e[t]=rn.all([e[t]||{},...n]),e))}qt([at],([e])=>Object.keys(e)),at.subscribe(e=>Ei=e);const Ii={};function Gi(e){return Ii[e]}function _i(e){return null!=e&&Hi(e).some(e=>{return null==(e=Gi(e))?void 0:e.size})}const Pi={};function Bi(e){var t;return _i(e)?(t=Hi(e).map(e=>{var t=Gi(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Pi[e]=Promise.all(t.map(([e,t])=>{return i=e,Promise.all(t.map(e=>{return t=i,n=e,Ii[t].delete(n),0===Ii[t].size&&delete Ii[t],e().then(e=>e.default||e);var t,n})).then(e=>Li(i,...e));var i})).then(()=>{if(_i(e))return Bi(e);delete Pi[e]}),Pi[e]):e in Pi?Pi[e]:Promise.resolve()}const Ri={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Di=Vt(!1);let Ai;const Ni=Vt(null);function Oi(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Hi(e,t=Ri.fallbackLocale){e=Oi(e);return t?[...new Set([...e,...Oi(t)])]:e}function ji(){return null!=Ai?Ai:void 0}Ni.subscribe(e=>{Ai=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ot={...Ni,set:t=>{if(t&&function(e){if(null!=e){var t=Hi(e);for(let e=0;e<t.length;e++){var n=t[e];if(Ti(n))return n}}}(t)&&_i(t)){var n=Ri["loadingDelay"];let e;return"undefined"!=typeof window&&null!=ji()&&n?e=window.setTimeout(()=>Di.set(!0),n):Di.set(!0),Bi(t).then(()=>{Ni.set(t)}).finally(()=>{clearTimeout(e),Di.set(!1)})}return Ni.set(t)}},Ui=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},zi=(e,t)=>{var n=Ri["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Wi=Ui(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=zi("number",t)),new Intl.NumberFormat(e,n)}),Yi=Ui(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=zi("date",t):0===Object.keys(n).length&&(n=zi("date","short")),new Intl.DateTimeFormat(e,n)}),Vi=Ui(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=zi("time",t):0===Object.keys(n).length&&(n=zi("time","short")),new Intl.DateTimeFormat(e,n)}),qi=Ui((e,t=ji())=>new Ci(e,t,Ri.formats,{ignoreTag:Ri.ignoreTag})),Zi=qt([ot,at],()=>(e,t={})=>{var n,i;let r=t;"object"==typeof e&&(e=(r=e).id);var{values:a,locale:o=ji(),default:s}=r;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Mi(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(i=null!=(n=null==(n=(i=Ri).handleMissingMessage)?void 0:n.call(i,{locale:o,id:e,defaultValue:s}))?n:s)?i:e;if(!a)return l;let c=l;try{c=qi(l,o).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),st=(qt([ot],()=>(e,t)=>{return[{locale:t=ji(),...n}={}]=[t],Vi({locale:t,...n}).format(e);var n}),qt([ot],()=>(e,t)=>{return[{locale:t=ji(),...n}={}]=[t],Yi({locale:t,...n}).format(e);var n}),qt([ot],()=>(e,t)=>{return[{locale:t=ji(),...n}={}]=[t],Wi({locale:t,...n}).format(e);var n}),qt([ot,at],()=>(e,t=ji())=>Mi(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==zt.indexOf(e)&&(t=new Ot(t),Wt[e]=t,zt.push(e)),Wt[e]}},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))),lt=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Ji(i,r){return new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",r),ze(i+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Ki(e){ot.set(e)}function Xi(e,t){Li(e,t)}const Qi={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"}},"zh-hk":{headerItem:{login:"登錄",register:"登記",deposit:"訂金"}},fr:{headerItem:{login:"Connexion",register:"Registre",deposit:"Dépôt"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"}},es:{headerItem:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"}},pt:{headerItem:{login:"Entrar",register:"Registro",deposit:"Depósito"}}};function er(e,t,n){e=e.slice();return e[47]=t[n],e[49]=n,e}function tr(e,t,n){e=e.slice();return e[50]=t[n],e}function nr(e,t,n){e=e.slice();return e[53]=t[n],e[55]=n,e}function ir(t){let i,r=[],n=new Map,a=t[9];const o=e=>e[47].id;for(let e=0;e<a.length;e+=1){var s=er(t,a,e),l=o(s);n.set(l,r[e]=ur(l,s))}return{c(){for(let e=0;e<r.length;e+=1)r[e].c();i=c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,n);ue(t,i,n)},p(e,t){20429&t[0]&&(a=e[9],r=be(r,t,o,1,e,a,n,i.parentNode,le,ur,i,er))},d(t){for(let e=0;e<r.length;e+=1)r[e].d(t);t&&pe(i)}}}function rr(e){let n,i,r=e[47].name+"";return{c(){n=me("a"),i=he(r),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[0]&&r!==(r=e[47].name+"")&&ye(i,r)},d(e){e&&pe(n)}}}function ar(e){let n,i,r=e[47].label+"";return{c(){n=me("a"),i=he(r),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[0]&&r!==(r=e[47].label+"")&&ye(i,r)},d(e){e&&pe(n)}}}function or(e){let n,i=0<e[10].length&&"true"==e[3]&&sr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){0<e[10].length&&"true"==e[3]?i?i.p(e,t):((i=sr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function sr(t){let r,a=t[10],o=[];for(let e=0;e<a.length;e+=1)o[e]=dr(tr(t,a,e));return{c(){r=me("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class","DropDown")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(r,null)},p(t,n){if(18368&n[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){var i=tr(t,a,e);o[e]?o[e].p(i,n):(o[e]=dr(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){e&&pe(r),H(o,e)}}}function lr(n){let i,r,a,o,s,l,c,d=n[53]?.name+"";function u(...e){return n[30](n[47],n[49],n[53],n[55],...e)}return{c(){i=me("li"),r=me("a"),a=he(d),s=ge(),fe(r,"class",o="SubDropDown "+(n[49]!=n[6]||n[7]!=n[55]&&n[8]!=n[55]?"":"active"))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,s),l||(c=Z(i,"click",u),l=!0)},p(e,t){n=e,1024&t[0]&&d!==(d=n[53]?.name+"")&&ye(a,d),1984&t[0]&&o!==(o="SubDropDown "+(n[49]!=n[6]||n[7]!=n[55]&&n[8]!=n[55]?"":"active"))&&fe(r,"class",o)},d(e){e&&pe(i),l=!1,c()}}}function cr(e,n){let i,r,a=n[49]==n[50].index&&lr(n);return{key:e,first:null,c(){i=c(),a&&a.c(),r=c(),this.first=i},m(e,t){ue(e,i,t),a&&a.m(e,t),ue(e,r,t)},p(e,t){(n=e)[49]==n[50].index?a?a.p(n,t):((a=lr(n)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){e&&pe(i),a&&a.d(e),e&&pe(r)}}}function dr(t){let i,r=[],n=new Map,a=t[50].items;const o=e=>e[53].id;for(let e=0;e<a.length;e+=1){var s=nr(t,a,e),l=o(s);n.set(l,r[e]=cr(l,s))}return{c(){for(let e=0;e<r.length;e+=1)r[e].c();i=c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,n);ue(t,i,n)},p(e,t){18368&t[0]&&(a=e[50].items,r=be(r,t,o,1,e,a,n,i.parentNode,le,cr,i,nr))},d(t){for(let e=0;e<r.length;e+=1)r[e].d(t);t&&pe(i)}}}function ur(e,n){let i,r,a,o,s,l;function c(e){return"headerMain"===e[0]?ar:rr}let d=c(n),u=d(n),p=1==n[11][n[49]]&&or(n);function m(...e){return n[31](n[47],n[49],...e)}return{key:e,first:null,c(){i=me("li"),u.c(),r=ge(),p&&p.c(),a=ge(),fe(i,"class",o="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[47].id.split("$").pop()?"active":"":n[2]==n[47].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),fe(i,"part","CarouselItem"),this.first=i},m(e,t){ue(e,i,t),u.m(i,null),de(i,r),p&&p.m(i,null),de(i,a),s||(l=Z(i,"click",m),s=!0)},p(e,t){d===(d=c(n=e))&&u?u.p(n,t):(u.d(1),(u=d(n))&&(u.c(),u.m(i,r))),1==n[11][n[49]]?p?p.p(n,t):((p=or(n)).c(),p.m(i,a)):p&&(p.d(1),p=null),517&t[0]&&o!==(o="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[47].id.split("$").pop()?"active":"":n[2]==n[47].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&fe(i,"class",o)},d(e){e&&pe(i),u.d(),p&&p.d(),s=!1,l()}}}function pr(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w=0<n[9].length&&ir(n);return{c(){i=me("div"),r=me("div"),(a=me("div")).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>',o=ge(),s=me("div"),l=me("ul"),(c=me("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',d=ge(),w&&w.c(),u=ge(),(p=me("div")).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=V,fe(a,"class","CarouselLeftArrow"),fe(a,"part","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(l,"part","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(p,"class","CarouselRightArrow"),fe(p,"part","CarouselRightArrow"),fe(r,"class",m="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(r,"part",h="CarouselContainer "+(n[13]?"CarouselContainerMobile":"")+" "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(r,"style",g="headerMain"===n[0]?"max-width: auto":`max-width: ${n[1]}px`),fe(i,"class",f="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":"")),fe(i,"part",y="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(s,l),de(l,c),de(l,d),w&&w.m(l,null),n[32](l),n[33](s),de(r,u),de(r,p),n[35](i),b||(v=[Z(a,"click",n[29]),Z(p,"click",n[34])],b=!0)},p(e,t){0<e[9].length?w?w.p(e,t):((w=ir(e)).c(),w.m(l,null)):w&&(w.d(1),w=null),1&t[0]&&m!==(m="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(r,"class",m),1&t[0]&&h!==(h="CarouselContainer "+(e[13]?"CarouselContainerMobile":"")+" "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(r,"part",h),3&t[0]&&g!==(g="headerMain"===e[0]?"max-width: auto":`max-width: ${e[1]}px`)&&fe(r,"style",g),1&t[0]&&f!==(f="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(i,"class",f),1&t[0]&&y!==(y="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(i,"part",y)},i:V,o:V,d(e){e&&pe(i),w&&w.d(),n[32](null),n[33](null),n[35](null),b=!1,q(v)}}}function mr(t,e,a){let{endpoint:o=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:i="0"}=e,{location:c=""}=e,{clientstyling:r=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{translationurl:p=""}=e,{containermaxwidth:m=""}=e,{isprimarymenu:h=!1}=e,{issecondarymenu:g=!1}=e,{lang:f=""}=e,{activeindex:y="0"}=e,{showsubgroups:b="false"}=e;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(w),ot.set(v))}),Object.keys(Qi).forEach(e=>{Xi(e,Qi[e])});let $,x,C,k,F,S,M=window.navigator.userAgent,R="PC"!==lt(M),E=[],T=[],L=[],I=(e,t,n,i,r)=>{e.subGroups&&null===i||(B(),a(6,x=t),a(6,x),"secondary"!=r?(window.postMessage({type:l,itemId:e.id,index:t,item:e,externalLink:e.externalLink||!1,target:(null==(r=e.attrs)?void 0:r.target)||null},window.location.href),a(7,C=null),a(8,k=null)):(a(7,C=i),a(7,C),a(8,k=C),window.postMessage({type:l,itemId:n.id,subIndex:i,subItem:n},window.location.href)))},G=()=>{S.scrollBy({left:-250,behavior:"smooth"})},_=()=>{S.scrollBy({left:250,behavior:"smooth"})};const P=e=>{"SliderData"==e.data.type&&e.data.identity==u&&(a(9,E=e.data.data),a(11,L=new Array(E.length).fill(!1)),"true"==b)&&E.forEach((e,t)=>{var i,r,n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(a(11,L[t]=!0,L),i=e,r=t,"secondaryMenu"==c&&o&&s&&f&&i.id&&(n=new URL(`${o}/casino/groups/${s}/${i.id}/subGroups?language=`+f),fetch(n.href).then(e=>e.json()).then(e=>{e.index=r,a(10,T=T.concat(e)),"false"==b&&window.postMessage({type:l,itemId:i.id,index:r,item:i},window.location.href);const n=[];T.map(e=>(e.items.forEach(t=>{n.find(e=>t.id==e)||n.push(t.id)}),n.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:n})}).then(()=>{$.querySelectorAll(".DropDown")&&B()})),"headerMain"==c)&&window.postMessage({type:l,item:i},window.location.href)}),"GoToHomepage"==e.data.type&&E.forEach((e,t)=>{e.path.endsWith("/casino")&&(a(6,x=t),a(6,x))})},B=()=>{var t=$.querySelectorAll(".DropDown");document.activeElement.blur(),S.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+S.scrollLeft+"px)";S.classList.remove("isScrolling")};return it(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",P,!1),setTimeout(()=>{S.addEventListener("scroll",B)},500),()=>{window.removeEventListener("message",P),$.removeEventListener("scroll",B)})),t.$$set=e=>{"endpoint"in e&&a(17,o=e.endpoint),"datasource"in e&&a(18,s=e.datasource),"onclickeventname"in e&&a(19,n=e.onclickeventname),"actionevent"in e&&a(20,l=e.actionevent),"favoritesnumber"in e&&a(21,i=e.favoritesnumber),"location"in e&&a(0,c=e.location),"clientstyling"in e&&a(22,r=e.clientstyling),"clientstylingurl"in e&&a(23,d=e.clientstylingurl),"identity"in e&&a(24,u=e.identity),"translationurl"in e&&a(25,p=e.translationurl),"containermaxwidth"in e&&a(1,m=e.containermaxwidth),"isprimarymenu"in e&&a(26,h=e.isprimarymenu),"issecondarymenu"in e&&a(27,g=e.issecondarymenu),"lang"in e&&a(28,f=e.lang),"activeindex"in e&&a(2,y=e.activeindex),"showsubgroups"in e&&a(3,b=e.showsubgroups)},t.$$.update=()=>{if(t.$$.dirty[0],33554432&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Xi(e,t[e])})}).catch(e=>{console.log(e)}),4194320&t.$$.dirty[0]&&r&&F&&((e=document.createElement("style")).innerHTML=r,F.appendChild(e)),8388624&t.$$.dirty[0]&&d&&F){let t=document.createElement("style"),e=new URL(d);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{F.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&f&&(e=f,ot.set(e))},[c,m,y,b,F,$,x,C,k,E,T,L,S,R,I,G,_,o,s,n,l,i,r,d,u,p,h,g,f,()=>G(),(e,t,n,i,r)=>{I(e,t,n,i,"secondary"),r.stopPropagation()},(e,t,n)=>{I(e,t,null,null,"main"),n.preventDefault()},function(e){rt[e?"unshift":"push"](()=>{$=e,a(5,$)})},function(e){rt[e?"unshift":"push"](()=>{S=e,a(12,S)})},()=>_(),function(e){rt[e?"unshift":"push"](()=>{F=e,a(4,F)})}]}function hr(n){let i,r,a,o;return{c(){i=me("div"),k(r=me("casino-slider"),"lang",n[3]),k(r,"datasource",n[2]),k(r,"endpoint",n[1]),k(r,"identity",br),k(r,"favoritesnumber",n[13]),k(r,"showsubgroups",n[9]),k(r,"clientstyling",n[4]),k(r,"clientstylingurl",n[5]),k(r,"containermaxwidth",n[6]),k(r,"activeindex",n[0]),k(r,"actionevent",n[7]),k(r,"location",n[8]),fe(i,"class","CasinoCategoriesContainer"),fe(i,"part","CasinoCategoriesContainer")},m(e,t){ue(e,i,t),de(i,r),a||(o=S(n[14].call(null,r)),a=!0)},p(e,t){8&t[0]&&k(r,"lang",e[3]),4&t[0]&&k(r,"datasource",e[2]),2&t[0]&&k(r,"endpoint",e[1]),8192&t[0]&&k(r,"favoritesnumber",e[13]),512&t[0]&&k(r,"showsubgroups",e[9]),16&t[0]&&k(r,"clientstyling",e[4]),32&t[0]&&k(r,"clientstylingurl",e[5]),64&t[0]&&k(r,"containermaxwidth",e[6]),1&t[0]&&k(r,"activeindex",e[0]),128&t[0]&&k(r,"actionevent",e[7]),256&t[0]&&k(r,"location",e[8])},d(e){e&&pe(i),a=!1,o()}}}function gr(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function fr(e){let n;return{c(){fe(n=me("div"),"class","CasinoCategoriesLoading"),fe(n,"part","CasinoCategoriesLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function yr(n){let i;function r(e){return e[10]?fr:e[12]?gr:hr}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=V,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[23](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o.d(),n[23](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':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:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.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:39px}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems a{display:block;padding:7px 10px;color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-color-contrast, #07072A)}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-color-secondary, #FD2839);background:-webkit-linear-gradient(var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-color-black, #000);background:var(--emfe-w-color-white, #FFF)}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},mr,pr,n,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,containermaxwidth:1,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:2,showsubgroups:3},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups"]}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),p()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),p()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),p()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),p()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),p()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),p()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),p()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),p()}get containermaxwidth(){return this.$$.ctx[1]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),p()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),p()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),p()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),p()}get activeindex(){return this.$$.ctx[2]}set activeindex(e){this.$$set({activeindex:e}),p()}get showsubgroups(){return this.$$.ctx[3]}set showsubgroups(e){this.$$set({showsubgroups:e}),p()}});let br="CasinoSliderData";function vr(n,e,r){let i,a,{endpoint:o=""}=e,{datasource:s=""}=e,{lang:l=""}=e,{userid:t=""}=e,{session:c=""}=e,{mostplayed:d=""}=e,{lastplayed:u="false"}=e,{favorites:p=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{containermaxwidth:g=""}=e,{activecategory:f=""}=e,{actionevent:y=""}=e,{sessioncheck:b=""}=e,{location:v="secondaryMenu"}=e,{showsubgroups:w="false"}=e,{filteredcategories:$=""}=e,x=!0,C=[],k=!1,F=window.navigator.userAgent,S=!1,M=!1;const E=()=>{window.postMessage({type:"SliderData",identity:br,data:C},window.location.href)};return n.$$set=e=>{"endpoint"in e&&r(1,o=e.endpoint),"datasource"in e&&r(2,s=e.datasource),"lang"in e&&r(3,l=e.lang),"userid"in e&&r(15,t=e.userid),"session"in e&&r(16,c=e.session),"mostplayed"in e&&r(17,d=e.mostplayed),"lastplayed"in e&&r(18,u=e.lastplayed),"favorites"in e&&r(19,p=e.favorites),"clientstyling"in e&&r(4,m=e.clientstyling),"clientstylingurl"in e&&r(5,h=e.clientstylingurl),"containermaxwidth"in e&&r(6,g=e.containermaxwidth),"activecategory"in e&&r(0,f=e.activecategory),"actionevent"in e&&r(7,y=e.actionevent),"sessioncheck"in e&&r(20,b=e.sessioncheck),"location"in e&&r(8,v=e.location),"showsubgroups"in e&&r(9,w=e.showsubgroups),"filteredcategories"in e&&r(21,$=e.filteredcategories)},n.$$.update=()=>{if(14&n.$$.dirty[0]&&o&&s&&l&&(o||(i="Endpoint is missing! Please provide a valid endpointURL.",r(12,k=!0),r(10,x=!1),console.error(i)),s||(i="Datasource is missing! Please provide a valid datasource.",r(12,k=!0),r(10,x=!1),console.error(i)),(!l||l.length<2)&&(i="Language is missing! Please provide a valid language (alpha2code)",r(12,k=!0),r(10,x=!1),console.error(i)),k||((t=new URL(o+"/casino/groups/"+s)).searchParams.append("datasource",s),t.searchParams.append("language",l),t.searchParams.append("platform",lt(F)),fetch(t).then(e=>e.json()).then(e=>{let i=$.split(","),t=e.items.filter(e=>{let t=!1;if(0<e.games.total&&(t=!0,$))for(var n of i)e.flags==n&&(t=!1);return t});(C=(C=[]).concat(t)).unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),r(10,x=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{r(12,k=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{r(12,k=!0),console.error("There was an error while fetching the categories",e)}))),984066&n.$$.dirty[0]&&o&&c&&(d||u||p)&&!x&&(0!=S||"true"!=p&&"true"!=d&&"true"!=u||C.splice(1,0,{id:"MYGAMES",name:"My Games",href:"",games:[]}),ke(),S=!0,r(22,M=!0),E()),4260865&n.$$.dirty[0]&&!x&&f&&(!c||M)&&(t=f.split("$"),r(0,f=2<t.length?f.split("$").slice(0,2).join("$"):f)),2064&n.$$.dirty[0]&&m&&a&&((e=document.createElement("style")).innerHTML=m,a.appendChild(e)),2080&n.$$.dirty[0]&&h&&a){let t=document.createElement("style"),e=new URL(h);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e,t},r(13,0),[f,o,s,l,m,h,g,y,v,w,x,a,k,0,E,t,c,d,u,p,b,$,M,function(e){rt[e?"unshift":"push"](()=>{a=e,r(11,a)})}]}function wr(e,t){Li(e,t)}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoCategoriesLoading{height:52px}p{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var(--emfe-w-color-black, #000000)}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},vr,yr,n,{endpoint:1,datasource:2,lang:3,userid:15,session:16,mostplayed:17,lastplayed:18,favorites:19,clientstyling:4,clientstylingurl:5,containermaxwidth:6,activecategory:0,actionevent:7,sessioncheck:20,location:8,showsubgroups:9,filteredcategories:21},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","lastplayed","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),p()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),p()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),p()}get userid(){return this.$$.ctx[15]}set userid(e){this.$$set({userid:e}),p()}get session(){return this.$$.ctx[16]}set session(e){this.$$set({session:e}),p()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(e){this.$$set({mostplayed:e}),p()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(e){this.$$set({lastplayed:e}),p()}get favorites(){return this.$$.ctx[19]}set favorites(e){this.$$set({favorites:e}),p()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get containermaxwidth(){return this.$$.ctx[6]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),p()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),p()}get actionevent(){return this.$$.ctx[7]}set actionevent(e){this.$$set({actionevent:e}),p()}get sessioncheck(){return this.$$.ctx[20]}set sessioncheck(e){this.$$set({sessioncheck:e}),p()}get location(){return this.$$.ctx[8]}set location(e){this.$$set({location:e}),p()}get showsubgroups(){return this.$$.ctx[9]}set showsubgroups(e){this.$$set({showsubgroups:e}),p()}get filteredcategories(){return this.$$.ctx[21]}set filteredcategories(e){this.$$set({filteredcategories:e}),p()}});const $r={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},"zh-hk":{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Borrar",noGamesPlayed:"No has jugado ningún juego! Juega Ya"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}}};function xr(e,t){Li(e,t)}const Cr={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},"zh-hk":{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},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:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"}},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",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},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:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},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."}}};Fr=kr={path:void 0,exports:{},require:function(e,t){return In(null==t&&kr.path)}},kr.exports,Fr.exports=function(){var R;function h(){return R.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function D(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function A(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function s(e){return void 0===e}function N(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function O(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],i=e.length,r=0;r<i;++r)n.push(t(e[r],r));return n}function j(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,i){return It(e,t,n,i,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function U(e){if(null==e._isValid){var t=f(e),n=W.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 z(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},Y=h.momentProperties=[],V=!1;function q(e,t){var n,i,r,a=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(r=t[i=Y[n]])||(e[i]=r);return e}function Z(e){q(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,h.updateOffset(this),V=!1)}function l(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function J(e){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return j(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,a),s){for(var e,t,n=[],i=arguments.length,r=0;r<i;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}J(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var K={};function X(e,t){null!=h.deprecationHandler&&h.deprecationHandler(e,t),K[e]||(J(t),K[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,i=j({},e);for(n in t)g(t,n)&&(D(e[n])&&D(t[n])?(i[n]={},j(i[n],e[n]),j(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)g(e,n)&&!g(t,n)&&D(e[n])&&(i[n]=j({},i[n]));return i}function ee(e){null!=e&&this.set(e)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function a(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var ne=/(\[[^\[]*\])|(\\)?([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,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,re={},ae={};function i(e,t,n,i){var r="string"==typeof i?function(){return this[i]()}:i;e&&(ae[e]=r),t&&(ae[t[0]]=function(){return a(r.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),re[t]=re[t]||function(i){for(var e,r=i.match(ne),t=0,a=r.length;t<a;t++)ae[r[t]]?r[t]=ae[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=d(r[n])?r[n].call(e,i):r[n];return t}}(t),re[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=n&&ie.test(e);)e=e.replace(ie,i),ie.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function u(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,i={};for(n in e)g(e,n)&&(t=u(n))&&(i[t]=e[n]);return i}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function p(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?p(e):t}function pe(t,n){return function(e){return null!=e?(he(this,t,e),h.updateOffset(this,n),this):me(this,t)}}function me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=m(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var r=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,$e=/\d{1,4}/,xe=/[+-]?\d{1,6}/,Ce=/\d+/,ke=/[+-]?\d+/,Fe=/Z|[+-]\d\d:?\d\d/gi,Se=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[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 w(e,n,i){Ee[e]=d(n)?n:function(e,t){return e&&i?i:n}}function Me(e,t){return g(Ee,e)?Ee[e](t._strict,t._locale):new RegExp($(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function $(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ee={},Te={};function x(e,n){var t,i,r=n;for("string"==typeof e&&(e=[e]),N(n)&&(r=function(e,t){t[n]=m(e)}),i=e.length,t=0;t<i;t++)Te[e[t]]=r}function Le(e,r){x(e,function(e,t,n,i){n._w=n._w||{},r(e,n._w,n,i)})}var C,k=0,F=1,S=2,M=3,E=4,T=5,Ie=6,Ge=7,_e=8;function Pe(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?ue(e)?29:28:31-n%7%2)}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),i("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[F]=m(e)-1}),x(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[F]=i:f(n).invalidMonth=e});var Be="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),De=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ae=v,Ne=v;function Oe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=m(t);else if(!N(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function He(e){return null!=e?(Oe(this,e),h.updateOffset(this,!0),this):me(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],r=[],a=0;a<12;a++)t=c([2e3,a]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),r.sort(e),a=0;a<12;a++)n[a]=$(n[a]),i[a]=$(i[a]);for(a=0;a<24;a++)r[a]=$(r[a]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return ue(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",ke),w("YY",b,y),w("YYYY",$e,fe),w("YYYYY",xe,ye),w("YYYYYY",xe,ye),x(["YYYYY","YYYYYY"],k),x("YYYY",function(e,t){t[k]=2===e.length?h.parseTwoDigitYear(e):m(e)}),x("YY",function(e,t){t[k]=h.parseTwoDigitYear(e)}),x("Y",function(e,t){t[k]=parseInt(e,10)}),h.parseTwoDigitYear=function(e){return m(e)+(68<m(e)?1900:2e3)};var ze=pe("FullYear",!0);function We(e,t,n,i,r,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}function Ye(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 Ve(e,t,n){n=7+t-n;return-(7+Ye(e,0,n).getUTCDay()-t)%7+n-1}function qe(e,t,n,i,r){var a,t=1+7*(t-1)+(7+n-i)%7+Ve(e,i,r),n=t<=0?Ue(a=e-1)+t:t>Ue(e)?(a=e+1,t-Ue(e)):(a=e,t);return{year:a,dayOfYear:n}}function Ze(e,t,n){var i,r,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?i=a+L(r=e.year()-1,t,n):a>L(e.year(),t,n)?(i=a-L(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function L(e,t,n){var i=Ve(e,t,n),t=Ve(e+1,t,n);return(Ue(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",b),w("ww",b,y),w("W",b),w("WW",b,y),Le(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=m(e)});function Je(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),i("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),i("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),i("e",0,0,"weekday"),i("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Le(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),Le(["d","e","E"],function(e,t,n,i){t[i]=m(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function it(){function e(e,t){return t.length-e.length}for(var t,n,i,r=[],a=[],o=[],s=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=$(this.weekdaysMin(i,"")),n=$(this.weekdaysShort(i,"")),i=$(this.weekdays(i,"")),r.push(t),a.push(n),o.push(i),s.push(t),s.push(n),s.push(i);r.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function rt(){return this.hours()%12||12}function at(e,t){i(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,rt),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+rt.apply(this)+a(this.minutes(),2)}),i("hmmss",0,0,function(){return""+rt.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),x(["H","HH"],M),x(["k","kk"],function(e,t,n){e=m(e);t[M]=24===e?0:e}),x(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),x(["h","hh"],function(e,t,n){t[M]=m(e),f(n).bigHour=!0}),x("hmm",function(e,t,n){var i=e.length-2;t[M]=m(e.substr(0,i)),t[E]=m(e.substr(i)),f(n).bigHour=!0}),x("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[M]=m(e.substr(0,i)),t[E]=m(e.substr(i,2)),t[T]=m(e.substr(r)),f(n).bigHour=!0}),x("Hmm",function(e,t,n){var i=e.length-2;t[M]=m(e.substr(0,i)),t[E]=m(e.substr(i))}),x("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[M]=m(e.substr(0,i)),t[E]=m(e.substr(i,2)),t[T]=m(e.substr(r))});v=pe("Hours",!0);var st,lt={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:Be,monthsShort:Re,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},I={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,i,r,a=0;a<e.length;){for(t=(r=dt(e[a]).split("-")).length,n=(n=dt(e[a+1]))?n.split("-"):null;0<t;){if(i=pt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(r,n)>=t-1)break;t--}a++}return st}function pt(t){var e;if(void 0===I[t]&&Fr&&Fr.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,In(),mt(e)}catch(e){I[t]=null}return I[t]}function mt(e,t){return e&&((t=s(t)?G(e):ht(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function ht(e,t){if(null===t)return delete I[e],null;var n,i=lt;if(t.abbr=e,null!=I[e])X("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=I[e]._config;else if(null!=t.parentLocale)if(null!=I[t.parentLocale])i=I[t.parentLocale]._config;else{if(null==(n=pt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=n._config}return I[e]=new ee(Q(i,t)),ct[e]&&ct[e].forEach(function(e){ht(e.name,e.config)}),mt(e),I[e]}function G(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=pt(e))return t;e=[e]}return ut(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[F]<0||11<t[F]?F:t[S]<1||t[S]>Pe(t[k],t[F])?S:t[M]<0||24<t[M]||24===t[M]&&(0!==t[E]||0!==t[T]||0!==t[Ie])?M:t[E]<0||59<t[E]?E:t[T]<0||59<t[T]?T:t[Ie]<0||999<t[Ie]?Ie:-1,f(e)._overflowDayOfYear&&(t<k||S<t)&&(t=S),f(e)._overflowWeeks&&-1===t&&(t=Ge),f(e)._overflowWeekday&&-1===t&&(t=_e),f(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)?)?$/,yt=/^\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)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["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/]],$t=/^\/?Date\((-?\d+)/i,xt=/^(?:(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}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kt(e){var t,n,i,r,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){r=vt[t][0],i=!1!==vt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!i&&null!=a)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=r+(a||"")+(o||""),Tt(e)}else e._isValid=!1}function Ft(e,t,n,i,r,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Re.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return a&&e.push(parseInt(a,10)),e}function St(e){var t,n,i,r,a=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Ft(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],i=t,r=e,n&&Xe.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(f(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(n=a[8],i=a[9],r=a[10],n?Ct[n]:i?0:((n=parseInt(r,10))-(i=n%100))/100*60+i),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function Et(e){var t,n,i,r,a,o,s,l,c,d,u,p=[];if(!e._d){for(d=e,u=new Date(h.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[S]&&null==e._a[F]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,i=Mt(u.GG,d._a[k],Ze(_(),1,4).year),r=Mt(u.W,1),((a=Mt(u.E,1))<1||7<a)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=Ze(_(),o,s),i=Mt(u.gg,d._a[k],c.year),r=Mt(u.w,c.week),null!=u.d?((a=u.d)<0||6<a)&&(l=!0):null!=u.e?(a=u.e+o,(u.e<0||6<u.e)&&(l=!0)):a=o),r<1||r>L(i,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=qe(i,r,a,o,s),d._a[k]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[k],n[k]),(e._dayOfYear>Ue(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(u,0,e._dayOfYear),e._a[F]=l.getUTCMonth(),e._a[S]=l.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[M]&&0===e._a[E]&&0===e._a[T]&&0===e._a[Ie]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:We).apply(null,p),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(f(e).weekdayMismatch=!0)}}function Tt(e){if(e._f!==h.ISO_8601)if(e._f!==h.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,i,r=""+e._i,a=r.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)i=n[l],(t=(r.match(Me(i,e))||[])[0])&&(0<(u=r.substr(0,r.indexOf(t))).length&&f(e).unusedInput.push(u),r=r.slice(r.indexOf(t)+t.length),o+=t.length),ae[i]?(t?f(e).empty=!1:f(e).unusedTokens.push(i),u=i,m=e,null!=(p=t)&&g(Te,u)&&Te[u](p,m._a,m,u)):e._strict&&!t&&f(e).unusedTokens.push(i);f(e).charsLeftOver=a-o,0<r.length&&f(e).unusedInput.push(r),e._a[M]<=12&&!0===f(e).bigHour&&0<e._a[M]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[M]=(a=e._locale,c=e._a[M],null==(d=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,d):null!=a.isPM?((a=a.isPM(d))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[k]=e._locale.erasConvertYear(d,e._a[k])),Et(e),gt(e)}else St(e);else kt(e);var c,d,u,p,m}function Lt(e){var t,n=e._i,i=e._f;{var r,a;return(e._locale=e._locale||G(e._l),null===n||void 0===i&&""===n)?z({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new Z(gt(n)):(O(n)?e._d=n:o(i)?function(e){var t,n,i,r,a,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<l;r++)a=0,o=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Tt(t),U(t)&&(o=!0),a=(a+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=a,s?a<i&&(i=a,n=t):(null==i||a<i||o)&&(i=a,n=t,o)&&(s=!0);j(e,n||t)}(e):i?Tt(e):s(i=(n=e)._i)?n._d=new Date(h.now()):O(i)?n._d=new Date(i.valueOf()):"string"==typeof i?(r=n,null===(a=$t.exec(r._i))?(kt(r),!1===r._isValid&&(delete r._isValid,St(r),!1===r._isValid)&&(delete r._isValid,r._strict?r._isValid=!1:h.createFromInputFallback(r))):r._d=new Date(+a[1])):o(i)?(n._a=H(i.slice(0),function(e){return parseInt(e,10)}),Et(n)):D(i)?(r=n)._d||(t=void 0===(a=ce(r._i)).day?a.date:a.day,r._a=H([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),Et(r)):N(i)?n._d=new Date(i):h.createFromInputFallback(n),U(e)||(e._d=null),e))}}function It(e,t,n,i,r){var a={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(D(e)&&A(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=e,a._f=t,a._strict=i,(r=new Z(gt(Lt(r=a))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function _(e,t,n,i){return It(e,t,n,i,!1)}h.createFromInputFallback=e("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":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:z()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:z()});function Gt(e,t){var n,i;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return _();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var _t=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,i=e.month||0,r=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,i=!1,r=_t.length;for(t in e)if(g(e,t)&&(-1===C.call(_t,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[_t[n]]){if(i)return!1;parseFloat(e[_t[n]])!==m(e[_t[n]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*n+12*t,this._data={},this._locale=G(),this._bubble()}function Bt(e){return e instanceof Pt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Dt(e,n){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}Dt("Z",":"),Dt("ZZ",""),w("Z",Se),w("ZZ",Se),x(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(Se,e)});var At=/([\+\-]|\d\d)/gi;function Nt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(At)||["-",0,0])[1]+m(e[2]))?0:"+"===e[0]?t:-t}function Ot(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||O(e)?e:_(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),h.updateOffset(t,!1),t):_(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\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 P(e,t){var n,i,r=e;return Bt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:N(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(t=Ut.exec(e))?(n="-"===t[1]?-1:1,r={y:0,d:m(t[S])*n,h:m(t[M])*n,m:m(t[E])*n,s:m(t[T])*n,ms:m(Rt(1e3*t[Ie]))*n}):(t=zt.exec(e))?(n="-"===t[1]?-1:1,r={y:Wt(t[2],n),M:Wt(t[3],n),w:Wt(t[4],n),d:Wt(t[5],n),h:Wt(t[6],n),m:Wt(t[7],n),s:Wt(t[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=_(r.from),n=_(r.to),t=t.isValid()&&n.isValid()?(n=Ot(n,t),t.isBefore(n)?i=Yt(t,n):((i=Yt(n,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(r={}).ms=t.milliseconds,r.M=t.months),i=new Pt(r),Bt(e)&&g(e,"_locale")&&(i._locale=e._locale),Bt(e)&&g(e,"_isValid")&&(i._isValid=e._isValid),i}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Yt(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 Vt(i,r){return function(e,t){var n;return null===t||isNaN(+t)||(X(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,P(e,t),i),this}}function qt(e,t,n,i){var r=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(i=null==i||i,t&&Oe(e,me(e,"Month")+t*n),a&&he(e,"Date",me(e,"Date")+a*n),r&&e._d.setTime(e._d.valueOf()+r*n),i)&&h.updateOffset(e,a||t)}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Be=Vt(1,"add"),Ke=Vt(-1,"subtract");function Zt(e){return"string"==typeof e||e instanceof String}function Jt(e){return l(e)||O(e)||Zt(e)||N(e)||(n=o(t=e),i=!1,n&&(i=0===t.filter(function(e){return!N(e)&&Zt(t)}).length),n&&i)||function(e){var t,n,i=D(e)&&!A(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],r=r||g(e,n);return i&&r}(e)||null==e;var t,n,i}function Kt(e,t){var n,i;return e.date()<t.date()?-Kt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(i=e.clone().add(n,"months"))<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=G(e))&&(this._locale=e),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("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 Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],i=[],r=this.eras(),a=0,o=r.length;a<o;++a)t.push($(r[a].name)),e.push($(r[a].abbr)),n.push($(r[a].narrow)),i.push($(r[a].name)),i.push($(r[a].abbr)),i.push($(r[a].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function sn(e,t){i(0,[e,e.length],0,t)}function ln(e,t,n,i,r){var a;return null==e?Ze(this,i,r).year:(t>(a=L(e,i,r))&&(t=a),function(e,t,n,i,r){e=qe(e,t,n,i,r),t=Ye(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,i,r))}i("N",0,0,"eraAbbr"),i("NN",0,0,"eraAbbr"),i("NNN",0,0,"eraAbbr"),i("NNNN",0,0,"eraName"),i("NNNNN",0,0,"eraNarrow"),i("y",["y",1],"yo","eraYear"),i("y",["yy",2],0,"eraYear"),i("y",["yyy",3],0,"eraYear"),i("y",["yyyy",4],0,"eraYear"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){i=n._locale.erasParse(e,i,n._strict);i?f(n).era=i:f(n).invalidEra=e}),w("y",Ce),w("yy",Ce),w("yyy",Ce),w("yyyy",Ce),w("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),x(["y","yy","yyy","yyyy"],k),x(["yo"],function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[k]=n._locale.eraYearOrdinalParse(e,r):t[k]=parseInt(e,10)}),i(0,["gg",2],0,function(){return this.weekYear()%100}),i(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",ke),w("g",ke),w("GG",b,y),w("gg",b,y),w("GGGG",$e,fe),w("gggg",$e,fe),w("GGGGG",xe,ye),w("ggggg",xe,ye),Le(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=m(e)}),Le(["gg","GG"],function(e,t,n,i){t[i]=h.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",r),x("Q",function(e,t){t[F]=3*(m(e)-1)}),i("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],S),x("Do",function(e,t){t[S]=m(e.match(b)[0])});$e=pe("Date",!0);i("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),x(["DDD","DDDD"],function(e,t,n){n._dayOfYear=m(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),x(["m","mm"],E);fe=pe("Minutes",!1);i("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),x(["s","ss"],T);var cn,xe=pe("Seconds",!1);for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,r),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function dn(e,t){t[Ie]=m(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")x(cn,dn);ye=pe("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");r=Z.prototype;function un(e){return e}r.add=Be,r.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=D(e)&&!A(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||g(e,i[r]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||_(),n=Ot(e,this).startOf("day"),n=h.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,_(e)))},r.clone=function(){return new Z(this)},r.diff=function(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Ot(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=u(t)){case"year":a=Kt(this,i)/12;break;case"month":a=Kt(this,i);break;case"quarter":a=Kt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:p(a)},r.endOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,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-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}this._d.setTime(t),h.updateOffset(this,!0)}return this},r.format=function(e){return e=e||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},r.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||_(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.fromNow=function(e){return this.from(_(),e)},r.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||_(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.toNow=function(e){return this.to(_(),e)},r.get=function(e){return d(this[e=u(e)])?this[e]():this},r.invalidAt=function(){return f(this).overflow},r.isAfter=function(e,t){return e=l(e)?e:_(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},r.isBefore=function(e,t){return e=l(e)?e:_(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},r.isBetween=function(e,t,n,i){return e=l(e)?e:_(e),t=l(t)?t:_(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},r.isSame=function(e,t){var e=l(e)?e:_(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},r.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},r.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},r.isValid=function(){return U(this)},r.lang=Qe,r.locale=Xt,r.localeData=Qt,r.max=ve,r.min=be,r.parsingFlags=function(){return j({},f(this))},r.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)g(e,t)&&n.push({unit:t,priority:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),i=n.length,r=0;r<i;r++)this[n[r].unit](e[n[r].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},r.startOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,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-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}this._d.setTime(t),h.updateOffset(this,!0)}return this},r.subtract=Ke,r.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},r.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},r.toDate=function(){return new Date(this.valueOf())},r.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},r.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(r[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},r.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},r.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++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""},r.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++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""},r.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++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""},r.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(e=n[i].since<=n[i].until?1:-1,t=this.clone().startOf("day").valueOf(),n[i].since<=t&&t<=n[i].until||n[i].until<=t&&t<=n[i].since)return(this.year()-h(n[i].since).year())*e+n[i].offset;return this.year()},r.year=ze,r.isLeapYear=function(){return ue(this.year())},r.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},r.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},r.quarter=r.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},r.month=He,r.daysInMonth=function(){return Pe(this.year(),this.month())},r.week=r.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},r.isoWeek=r.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},r.weeksInYear=function(){var e=this.localeData()._week;return L(this.year(),e.dow,e.doy)},r.weeksInWeekYear=function(){var e=this.localeData()._week;return L(this.weekYear(),e.dow,e.doy)},r.isoWeeksInYear=function(){return L(this.year(),1,4)},r.isoWeeksInISOWeekYear=function(){return L(this.isoWeekYear(),1,4)},r.date=$e,r.day=r.days=function(e){var t,n,i;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,i=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=i.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},r.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},r.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},r.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")},r.hour=r.hours=v,r.minute=r.minutes=fe,r.second=r.seconds=xe,r.millisecond=r.milliseconds=ye,r.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:Ht(this);if("string"==typeof e){if(null===(e=Nt(Se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Ht(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?qt(this,P(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},r.utc=function(e){return this.utcOffset(0,e)},r.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ht(this),"m"),this},r.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Nt(Fe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},r.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?_(e).utcOffset():0,(this.utcOffset()-e)%60==0)},r.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},r.isLocal=function(){return!!this.isValid()&&!this._isUTC},r.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},r.isUtc=jt,r.isUTC=jt,r.zoneAbbr=function(){return this._isUTC?"UTC":""},r.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},r.dates=e("dates accessor is deprecated. Use date instead.",$e),r.months=e("months accessor is deprecated. Use month instead",He),r.years=e("years accessor is deprecated. Use year instead",ze),r.zone=e("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()}),r.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(q(t={},this),(t=Lt(t))._a?(e=(t._isUTC?c:_)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0,o=0;o<i;o++)(n&&e[o]!==t[o]||!n&&m(e[o])!==m(t[o]))&&a++;return a+r}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function pn(e,t,n,i){var r=G(),i=c().set(i,t);return r[n](i,e)}function mn(e,t,n){if(N(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");for(var i=[],r=0;r<12;r++)i[r]=pn(e,r,n,"month");return i}function hn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),N(t)&&(n=t,t=void 0),t||"");var r,a=G(),o=e?a._week.dow:0,s=[];if(null!=n)return pn(t,(n+o)%7,i,"day");for(r=0;r<7;r++)s[r]=pn(t,(r+o)%7,i,"day");return s}y.calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=un,y.postformat=un,y.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return d(r)?r(e,t,n,i):r.replace(/%d/i,e)},y.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)g(e,n)&&(d(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)},y.eras=function(e,t){for(var n,i=this._eras||G("en")._eras,r=0,a=i.length;r<a;++r)switch("string"==typeof i[r].since&&(n=h(i[r].since).startOf("day"),i[r].since=n.valueOf()),typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":n=h(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},y.erasParse=function(e,t,n){var i,r,a,o,s,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(a=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(a===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if(0<=[a,o,s].indexOf(e))return l[i]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?h(e.since).year():h(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return g(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return g(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||De).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[De.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var i,r;if(this._monthsParseExact)return function(e,t,n){var i,r,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))||-1!==(r=C.call(this._longMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))||-1!==(r=C.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=c([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ze(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Je(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var i,r;if(this._weekdaysParseExact)return function(e,t,n){var i,r,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=c([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},mt("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===m(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),h.lang=e("moment.lang is deprecated. Use moment.locale instead.",mt),h.langData=e("moment.langData is deprecated. Use moment.localeData instead.",G);var gn=Math.abs;function fn(e,t,n,i){t=P(t,n);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),ge=wn("s"),Be=wn("m"),ve=wn("h"),be=wn("d"),Ke=wn("w"),v=wn("M"),fe=wn("Q"),xe=wn("y");function $n(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=$n("milliseconds"),$e=$n("seconds"),ze=$n("minutes"),y=$n("hours"),xn=$n("days"),Cn=$n("months"),kn=$n("years");var Fn=Math.round,Sn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,i){var r=P(e).abs(),a=Fn(r.as("s")),o=Fn(r.as("m")),s=Fn(r.as("h")),l=Fn(r.as("d")),c=Fn(r.as("M")),d=Fn(r.as("w")),r=Fn(r.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||(o<=1?["m"]:o<n.m&&["mm",o])||(s<=1?["h"]:s<n.h&&["hh",s])||(l<=1?["d"]:l<n.d&&["dd",l]);return(a=(a=null!=n.w?a||(d<=1?["w"]:d<n.w&&["ww",d]):a)||(c<=1?["M"]:c<n.M&&["MM",c])||(r<=1?["y"]:["yy",r]))[2]=t,a[3]=0<+e,a[4]=i,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,a)}var En=Math.abs;function Tn(e){return(0<e)-(e<0)||+e}function Ln(){var e,t,n,i,r,a,o,s,l,c,d;return this.isValid()?(s=En(this._milliseconds)/1e3,l=En(this._days),c=En(this._months),(d=this.asSeconds())?(e=p(s/60),t=p(e/60),s%=60,e%=60,n=p(c/12),c%=12,i=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Tn(this._months)!==Tn(d)?"-":"",a=Tn(this._days)!==Tn(d)?"-":"",o=Tn(this._milliseconds)!==Tn(d)?"-":"",(d<0?"-":"")+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+i+"S":"")):"P0D"):this.localeData().invalidDate()}var B=Pt.prototype;return B.isValid=function(){return this._isValid},B.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},B.add=function(e,t){return fn(this,e,t,1)},B.subtract=function(e,t){return fn(this,e,t,-1)},B.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},B.asMilliseconds=we,B.asSeconds=ge,B.asMinutes=Be,B.asHours=ve,B.asDays=be,B.asWeeks=Ke,B.asMonths=v,B.asQuarters=fe,B.asYears=xe,B.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*m(this._months/12):NaN},B._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),i.milliseconds=e%1e3,e=p(e/1e3),i.seconds=e%60,e=p(e/60),i.minutes=e%60,e=p(e/60),i.hours=e%24,t+=p(e/24),n+=e=p(bn(t)),t-=yn(vn(e)),e=p(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},B.clone=function(){return P(this)},B.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},B.milliseconds=ye,B.seconds=$e,B.minutes=ze,B.hours=y,B.days=xn,B.weeks=function(){return p(this.days()/7)},B.months=Cn,B.years=kn,B.humanize=function(e,t){var n,i;return this.isValid()?(n=!1,i=Sn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},Sn,t),null!=t.s)&&null==t.ss&&(i.ss=t.s-1),t=Mn(this,!n,i,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},B.toISOString=Ln,B.toString=Ln,B.toJSON=Ln,B.locale=Xt,B.localeData=Qt,B.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ln),B.lang=Qe,i("X",0,0,"unix"),i("x",0,0,"valueOf"),w("x",ke),w("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,n){n._d=new Date(m(e))}),h.version="2.29.4",R=_,h.fn=r,h.min=function(){return Gt("isBefore",[].slice.call(arguments,0))},h.max=function(){return Gt("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=c,h.unix=function(e){return _(1e3*e)},h.months=function(e,t){return mn(e,t,"months")},h.isDate=O,h.locale=mt,h.invalid=z,h.duration=P,h.isMoment=l,h.weekdays=function(e,t,n){return hn(e,t,n,"weekdays")},h.parseZone=function(){return _.apply(null,arguments).parseZone()},h.localeData=G,h.isDuration=Bt,h.monthsShort=function(e,t){return mn(e,t,"monthsShort")},h.weekdaysMin=function(e,t,n){return hn(e,t,n,"weekdaysMin")},h.defineLocale=ht,h.updateLocale=function(e,t){var n,i;return null!=t?(i=lt,null!=I[e]&&null!=I[e].parentLocale?I[e].set(Q(I[e]._config,t)):(t=Q(i=null!=(n=pt(e))?n._config:i,t),null==n&&(t.abbr=e),(i=new ee(t)).parentLocale=I[e],I[e]=i),mt(e)):null!=I[e]&&(null!=I[e].parentLocale?(I[e]=I[e].parentLocale,e===mt()&&mt(e)):null!=I[e]&&delete I[e]),I[e]},h.locales=function(){return te(I)},h.weekdaysShort=function(e,t,n){return hn(e,t,n,"weekdaysShort")},h.normalizeUnits=u,h.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},h.relativeTimeThreshold=function(e,t){return void 0!==Sn[e]&&(void 0===t?Sn[e]:(Sn[e]=t,"s"===e&&(Sn.ss=t-1),!0))},h.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},h.prototype=r,h.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"},h}();var kr,Fr,Sr=kr.exports;function Mr(e,t){Li(e,t)}const Er={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},"zh-hk":{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Tr={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function Lr(e,t,n){e=e.slice();return e[109]=t[n],e[111]=n,e}function Ir(e,t,n){e=e.slice();return e[106]=t[n],e}function Gr(e){let n;return{c(){(n=me("div")).innerHTML="<div></div><div></div>",fe(n,"class","LoaderRipple")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function _r(e){let n,i=!st(e[37])&&!e[0]&&e[15],r=i&&Pr(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(i=32769&t[0]?!st(e[37])&&!e[0]&&e[15]:i)?r?r.p(e,t):((r=Pr(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&pe(n)}}}function Pr(n){let i,r,a;return{c(){(i=me("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(i,"class","FavIconContainer"),fe(i,"part","FavIconContainer")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[67]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function Br(n){let i,r,a,o,s=n[36]("gameThumbnail.playNow")+"";return{c(){i=me("button"),r=he(s),fe(i,"class","GameInfoBtn"),fe(i,"part","GameInfoBtn")},m(e,t){ue(e,i,t),de(i,r),a||(o=Z(i,"click",n[68]),a=!0)},p(e,t){32&t[1]&&s!==(s=e[36]("gameThumbnail.playNow")+"")&&ye(r,s)},d(e){e&&pe(i),a=!1,o()}}}function Rr(e){let n;return{c(){(n=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function Dr(n){let i,r,a;return{c(){(i=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(i,"class","FavIconContainer"),fe(i,"part","FavIconContainer")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[69]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function Ar(e){let n,i,r=e[36]("gameThumbnail.new")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[1]&&r!==(r=e[36]("gameThumbnail.new")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Nr(e){let n,i;return{c(){n=me("span"),i=he(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&ye(i,e[8])},d(e){e&&pe(n)}}}function Or(e){let n,i,r=!e[23]&&e[21]&&e[22]&&Hr(e);function a(e){return e[23]&&e[20]&&e[20]===Qr?Ur:e[23]&&e[20]&&e[20]===ea?jr:void 0}let o=a(e),s=o&&o(e);return{c(){r&&r.c(),n=ge(),s&&s.c(),i=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,i,t)},p(e,t){!e[23]&&e[21]&&e[22]?r?r.p(e,t):((r=Hr(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){r&&r.d(e),e&&pe(n),s&&s.d(e),e&&pe(i)}}}function Hr(e){let n,i,r,a,o,s,l,c,d,u,p=e[36]("gameThumbnail.opens")+"",m=Sr.utc(e[21]).local().format(e[22])+"",h=e[46](e[35])+"",g=e[45](e[27],e[28],e[26])+"";return{c(){n=me("div"),i=me("div"),r=he(p),a=ge(),o=me("span"),s=he(m),l=ge(),c=new L(!1),d=ge(),u=new L(!1),fe(i,"class","ClosedGame"),fe(i,"part","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(i,o),de(o,s),de(n,l),c.m(h,n),de(n,d),u.m(g,n)},p(e,t){32&t[1]&&p!==(p=e[36]("gameThumbnail.opens")+"")&&ye(r,p),6291456&t[0]&&m!==(m=Sr.utc(e[21]).local().format(e[22])+"")&&ye(s,m),16&t[1]&&h!==(h=e[46](e[35])+"")&&c.p(h),469762048&t[0]&&g!==(g=e[45](e[27],e[28],e[26])+"")&&u.p(g)},d(e){e&&pe(n)}}}function jr(n){let i,r,a,o,s,l,c=n[46](n[35])+"",d=n[45](n[27],n[28],n[26])+"",u=new Array(na),p=[];for(let e=0;e<u.length;e+=1)p[e]=Vr(Lr(n,u,e));return{c(){i=me("div"),r=me("div");for(let e=0;e<p.length;e+=1)p[e].c();a=ge(),o=new L(!1),s=ge(),l=new L(!1),fe(r,"class","LiveIcons"),fe(r,"part","LiveIcons"),o.a=s,l.a=null,fe(i,"class",n[31]),fe(i,"part",n[31])},m(e,t){ue(e,i,t),de(i,r);for(let e=0;e<p.length;e+=1)p[e]&&p[e].m(r,null);n[70](r),de(i,a),o.m(c,i),de(i,s),l.m(d,i)},p(t,n){if(1073750016&n[0]|65538&n[1]){let e;for(u=new Array(na),e=0;e<u.length;e+=1){const o=Lr(t,u,e);p[e]?p[e].p(o,n):(p[e]=Vr(o),p[e].c(),p[e].m(r,null))}for(;e<p.length;e+=1)p[e].d(1);p.length=u.length}16&n[1]&&c!==(c=t[46](t[35])+"")&&o.p(c),469762048&n[0]&&d!==(d=t[45](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(i,"class",t[31]),1&n[1]&&fe(i,"part",t[31])},d(e){e&&pe(i),H(p,e),n[70](null)}}}function Ur(e){let n,i,r,a,o,s,l=e[46](e[35])+"",c=e[45](e[27],e[28],e[26])+"";function d(e){return e[33]?Zr:qr}let u=d(e),p=u(e);return{c(){n=me("div"),i=me("div"),p.c(),r=ge(),a=new L(!1),o=ge(),s=new L(!1),fe(i,"class","LiveIcons"),fe(i,"part","LiveIcons"),a.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){ue(e,n,t),de(n,i),p.m(i,null),de(n,r),a.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&p?p.p(e,t):(p.d(1),(p=u(e))&&(p.c(),p.m(i,null))),16&t[1]&&l!==(l=e[46](e[35])+"")&&a.p(l),469762048&t[0]&&c!==(c=e[45](e[27],e[28],e[26])+"")&&s.p(c)},d(e){e&&pe(n),p.d()}}}function zr(e){let n;function i(e){return e[30]?Yr:Wr}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function Wr(e){let n,i,r=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"";return{c(){n=new L(!1),i=c(),n.a=i},m(e,t){n.m(r,e,t),ue(e,i,t)},p(e,t){8192&t[0]|2&t[1]&&r!==(r=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"")&&n.p(r)},d(e){e&&pe(i),e&&n.d()}}}function Yr(e){let n,i,r,a,o,s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"",l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"";return{c(){n=me("div"),i=new L(!1),r=ge(),a=new L(!1),o=ge(),i.a=r,a.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){ue(e,n,t),i.m(s,n),de(n,r),a.m(l,n),de(n,o)},p(e,t){8192&t[0]|2&t[1]&&s!==(s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"")&&i.p(s),8192&t[0]|2&t[1]&&l!==(l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"")&&a.p(l)},d(e){e&&pe(n)}}}function Vr(e){let n,i=e[13]&&e[13][e[111]]&&zr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[13]&&e[13][e[111]]?i?i.p(e,t):((i=zr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function qr(t){let r,a=t[25],o=[];for(let e=0;e<a.length;e+=1)o[e]=Jr(Ir(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n)},p(t,n){if(570425344&n[0]|8192&n[1]){let e;for(a=t[25],e=0;e<a.length;e+=1){var i=Ir(t,a,e);o[e]?o[e].p(i,n):(o[e]=Jr(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function Zr(e){let n,i,r=e[36]("gameThumbnail.full")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[1]&&r!==(r=e[36]("gameThumbnail.full")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Jr(e){let n,i,r,a,o,s,l;return{c(){n=me("span"),i=j("svg"),r=j("path"),a=j("path"),o=ge(),fe(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"width","13"),fe(i,"height","14"),fe(i,"viewBox","0 0 13 14"),fe(n,"class",s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(n,o)},p(e,t){570425344&t[0]&&s!==(s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),570425344&t[0]&&l!==(l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&pe(n)}}}function Kr(e){let n,i;return{c(){n=me("p"),i=he(e[4]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16&t[0]&&ye(i,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&pe(n)}}}function Xr(n){let i,r,a,o,s,l,A,c,d,u,p,m,N,h,g,O,f,y,H,b,v,w,$,x,C,k,F,j,S,M,U,z,E=(n[5]||"-")+"";function W(e){return e[16]?_r:Gr}let T=W(n),L=T(n),I=n[1]&&Br(n);function Y(e,t){return 32773&t[0]&&(b=null),32773&t[0]&&(v=null),(b=null==b?!(st(e[37])||!e[0]||!e[15]||!e[2]):b)?Dr:(v=null==v?!!(st(e[37])&&e[0]&&e[15]&&e[2]):v)?Rr:void 0}let G=Y(n,[-1,-1,-1,-1]),_=G&&G(n),P=n[7]&&Ar(n),B=n[8]&&Nr(n),R=n[12]&&Or(n),D=n[10]&&Kr(n);return{c(){i=me("div"),r=me("div"),a=me("img"),A=ge(),c=me("div"),d=me("div"),L.c(),u=ge(),p=me("p"),m=he(n[4]),N=ge(),I&&I.c(),O=ge(),f=me("span"),y=he(E),H=ge(),_&&_.c(),w=ge(),$=me("div"),P&&P.c(),x=ge(),B&&B.c(),C=ge(),R&&R.c(),j=ge(),D&&D.c(),this.c=V,ce(a.src,o=n[3])||fe(a,"src",o),fe(a,"class",s=`GameBg GameBg-${n[9]} ${n[17]?"GameContainerHovered":""} `+(n[18]?"Loaded":"")),fe(a,"part",l="GameBg "+(n[17]?"GameContainerHovered":"")+" "+(n[18]?"Loaded":"")),fe(a,"alt",""),fe(a,"loading","lazy"),fe(p,"class","GameInfoName"),fe(p,"part","GameInfoName"),fe(p,"title",n[4]),fe(d,"class",h="GameInfo "+(n[17]?"GameHovered":"")),fe(d,"part",g="GameInfo "+(n[17]?"GameHovered":"")),fe(f,"class","GameInfoVendor"),fe(f,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe($,"class","GameExtraInfo"),fe($,"part","GameExtraInfo"),fe(r,"class",k="GameInnerContainer "+(n[12]&&!n[23]&&n[24].value||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(r,"part",F="GameInnerContainer "+(n[12]&&!n[23]||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(i,"class",S="GameContainer "+n[34]),fe(i,"part",M="GameContainer "+n[34])},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[66](a),de(r,A),de(r,c),de(c,d),L.m(d,null),de(d,u),de(d,p),de(p,m),de(d,N),I&&I.m(d,null),de(c,O),de(c,f),de(f,y),de(r,H),_&&_.m(r,null),de(r,w),de(r,$),P&&P.m($,null),de($,x),B&&B.m($,null),de($,C),R&&R.m($,null),de(i,j),D&&D.m(i,null),n[71](i),U||(z=[Z(r,"mouseenter",n[42]),Z(r,"mouseleave",n[43]),Z(r,"touchstart",n[40],{passive:!0}),Z(r,"touchend",n[41],{passive:!0})],U=!0)},p(e,t){8&t[0]&&!ce(a.src,o=e[3])&&fe(a,"src",o),393728&t[0]&&s!==(s=`GameBg GameBg-${e[9]} ${e[17]?"GameContainerHovered":""} `+(e[18]?"Loaded":""))&&fe(a,"class",s),393216&t[0]&&l!==(l="GameBg "+(e[17]?"GameContainerHovered":"")+" "+(e[18]?"Loaded":""))&&fe(a,"part",l),T===(T=W(e))&&L?L.p(e,t):(L.d(1),(L=T(e))&&(L.c(),L.m(d,u))),16&t[0]&&ye(m,e[4]),16&t[0]&&fe(p,"title",e[4]),e[1]?I?I.p(e,t):((I=Br(e)).c(),I.m(d,null)):I&&(I.d(1),I=null),131072&t[0]&&h!==(h="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"class",h),131072&t[0]&&g!==(g="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"part",g),32&t[0]&&E!==(E=(e[5]||"-")+"")&&ye(y,E),G===(G=Y(e,t))&&_?_.p(e,t):(_&&_.d(1),(_=G&&G(e))&&(_.c(),_.m(r,w))),e[7]?P?P.p(e,t):((P=Ar(e)).c(),P.m($,x)):P&&(P.d(1),P=null),e[8]?B?B.p(e,t):((B=Nr(e)).c(),B.m($,C)):B&&(B.d(1),B=null),e[12]?R?R.p(e,t):((R=Or(e)).c(),R.m($,null)):R&&(R.d(1),R=null),25169920&t[0]|4&t[1]&&k!==(k="GameInnerContainer "+(e[12]&&!e[23]&&e[24].value||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(r,"class",k),8392704&t[0]|4&t[1]&&F!==(F="GameInnerContainer "+(e[12]&&!e[23]||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(r,"part",F),e[10]?D?D.p(e,t):((D=Kr(e)).c(),D.m(i,null)):D&&(D.d(1),D=null),8&t[1]&&S!==(S="GameContainer "+e[34])&&fe(i,"class",S),8&t[1]&&M!==(M="GameContainer "+e[34])&&fe(i,"part",M)},i:V,o:V,d(e){e&&pe(i),n[66](null),L.d(),I&&I.d(),_&&_.d(),P&&P.d(),B&&B.d(),R&&R.d(),D&&D.d(),n[71](null),U=!1,q(z)}}}const Qr="blackjack",ea="roulette",ta="doubleballroulette",na=5;function ia(a,e,o){let t;ct(a,Zi,e=>o(36,t=e));let R,s,l,c,n,D,A,d,u,N,O,H,p,j,U,z,m,W,Y,V,h,q,g,Z,J,{session:K=""}=e,{userid:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{favorites:$=""}=e,{gamethumbnail:X=""}=e,{gamename:Q=""}=e,{gamevendor:i=""}=e,{gameid:r=""}=e,{gameisnew:ee=""}=e,{gametag:te=""}=e,{gamefunmode:x=!1}=e,{searchitem:ne=!1}=e,{gamefavorite:C=!1}=e,{gamecellsize:ie=""}=e,{showfavoredcategory:k=!1}=e,{showgamename:re=!1}=e,{currency:F=""}=e,{gamepagemodalurl:S="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:E=""}=e,{connectlive:T=""}=e,{visibilityconnect:L=""}=e,{integratedgameframedesktop:I="false"}=e,{integratedgameframemobile:G="false"}=e,ae=!1,oe=!1,se=!1,_=window.navigator.userAgent,le="HH:mm",ce,de=[],ue="EUR",P="";const pe=[Qr],me=[ea,ta],he={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ge={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},fe=(Object.keys(Er).forEach(e=>{Mr(e,Er[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+r||k||o(0,C=!0),e.data.type!=="RemoveFavoriteThumbnail_"+r||k||o(0,C=!1),"UserSessionID"===e.data.type&&(o(15,ae=!0),e.data.session,R=e.data.userID),"CategoryUpdate"===e.data.type&&o(12,c=null)}),ye=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(R||"Not logged in")}),st(_)&&"true"==G?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:st(_),source:"GameThumbnail"},window.location.href):st(_)&&"false"==G&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:st(_)},window.location.href),st(_)||"true"!=I?st(_)||"false"!=I||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:st(_)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:st(_)},window.location.href)},be=e=>{C?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},ve=()=>{E&&EventSource&&!n&&i&&r&&(n=new EventSource(`${M}/encoder/lobby/updates/${i}/`+r)).addEventListener("message",$e)},we=()=>{n&&(n.close(),n=void 0)},$e=async e=>{const{type:t,data:n}=e;let i;if("message"===t){if(n)try{i=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:n,Seats:r,Open:a}=i;if(e)switch(t){case"SeatsUpdated":r&&Array.isArray(r)&&(o(29,p=r),o(12,c.currentOccupiedSeats=r,c),await ke());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(j=n,o(12,c.currentRouletteNumbers=n,c),await ke());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,o(12,c.currentDoubleBallRouletteNumbers=n,c),await ke());break;case"TableOpened":case"TableClosed":o(23,d=a),o(12,c.isOpen=a,c),await ke()}}}},xe=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",B=(e,t)=>e.some(e=>e===t),Ce=()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})};return it(()=>(window.addEventListener("message",fe,!1),()=>{window.removeEventListener("message",fe),n&&n.removeEventListener("message",$e)})),a.$$set=e=>{"session"in e&&o(48,K=e.session),"userid"in e&&o(49,f=e.userid),"lang"in e&&o(1,y=e.lang),"clientstyling"in e&&o(50,b=e.clientstyling),"clientstylingurl"in e&&o(51,v=e.clientstylingurl),"translationurl"in e&&o(52,w=e.translationurl),"favorites"in e&&o(2,$=e.favorites),"gamethumbnail"in e&&o(3,X=e.gamethumbnail),"gamename"in e&&o(4,Q=e.gamename),"gamevendor"in e&&o(5,i=e.gamevendor),"gameid"in e&&o(6,r=e.gameid),"gameisnew"in e&&o(7,ee=e.gameisnew),"gametag"in e&&o(8,te=e.gametag),"gamefunmode"in e&&o(53,x=e.gamefunmode),"searchitem"in e&&o(54,ne=e.searchitem),"gamefavorite"in e&&o(0,C=e.gamefavorite),"gamecellsize"in e&&o(9,ie=e.gamecellsize),"showfavoredcategory"in e&&o(55,k=e.showfavoredcategory),"showgamename"in e&&o(10,re=e.showgamename),"currency"in e&&o(56,F=e.currency),"gamepagemodalurl"in e&&o(57,S=e.gamepagemodalurl),"endpoint"in e&&o(58,M=e.endpoint),"livelobbyendpoint"in e&&o(59,E=e.livelobbyendpoint),"connectlive"in e&&o(60,T=e.connectlive),"visibilityconnect"in e&&o(61,L=e.visibilityconnect),"integratedgameframedesktop"in e&&o(62,I=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(63,G=e.integratedgameframemobile)},a.$$.update=()=>{if(536870912&a.$$.dirty[1]&&T&&("disconnect"===T?we():"connect"===T&&ve()),1073741824&a.$$.dirty[1]&&L&&("disconnect"===L?we():"connect"===L&&"connect"===T&&ve()),2&a.$$.dirty[0]&&y&&(n=y,ot.set(n)),134610944&a.$$.dirty[1]&&K&&f&&M&&(o(15,ae=!0),R=f),8&a.$$.dirty[0]&&X&&s&&o(19,s.onload=()=>{o(18,se=!0)},s),2048&a.$$.dirty[0]|524288&a.$$.dirty[1]&&b&&l&&((n=document.createElement("style")).innerHTML=b,l.appendChild(n)),2048&a.$$.dirty[0]|1048576&a.$$.dirty[1]&&v&&l&&Ce(),4&a.$$.dirty[0]&&$&&"true"==$&&o(16,oe=!0),2097152&a.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Mr(e,t[e])})}).catch(e=>{console.log(e)}),512&a.$$.dirty[0]|1048576&a.$$.dirty[1]&&ie&&v&&Ce(),402653184&a.$$.dirty[1]&&M&&E&&((t=new URL(""+E.split("?")[0])).searchParams.append("platform",lt(_)),t.searchParams.append("language",y),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;o(12,c=e)})),4096&a.$$.dirty[0]&&c&&c&&(o(23,d=c.isOpen),ce=c.betLimit||{},o(24,u=c.openHours),o(25,de=(e=>{H=e.totalSeats||7,o(29,p=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=H;e++)t.push(e);return{seats:t}})(c).seats),u&&u.value&&({startTime:t,originalTimeFormat:e}=u["value"],o(21,A=t),o(22,le=e||le)),d&&o(20,D=(e=>{let t=null;if(e){var n=e["vendorCategory"];if(n){const e=n.toLowerCase();B(pe,e)?t=Qr:B(me,e)&&(t=ea)}}return t})(c)),o(26,ue=Tr[F]),o(27,N=(ce.min||{})[F]),o(28,O=(ce.max||{})[F]),j=c.currentRouletteNumbers,U=c.currentDoubleBallRouletteNumbers,z=c.vendorCategory,o(30,m=z.toLowerCase()===ta),o(13,W=(m?U:j)||[]),o(31,Y="GameProp LiveProps RoulleteProps"),o(31,Y+=m?" Double":""),o(32,V=B(me,z.toLowerCase())?ge:he),q=h,o(33,h=Array.isArray(p)&&p.length===H),c.dealer&&o(35,Z=c.dealer.DealerName),J=c.numberOfPlayers,o(34,P="ListGame"),c.isOpen&&c.currentRouletteNumbers&&o(34,P+=" GameBackdrop"),d&&h&&N&&O&&c.currentOccupiedSeats?o(34,P+=" GameContainerDimmed"):!1===d&&A&&o(34,P+=" GameContainerFullyDimmed"),l)&&(!q&&h?(o(34,P+=" PulsatingRedShadow"),o(34,P=P.replace(" PulsatingGreenShadow",""))):q&&!h&&(o(34,P+=" PulsatingGreenShadow"),o(34,P=P.replace(" PulsatingRedShadow","")))),24576&a.$$.dirty[0]&&g&&W){const i="FirstElementAnimated",r=g.getElementsByClassName("First")[0];r&&(r.classList.add(i),setTimeout(()=>{r.classList.remove(i)},2e3))}var e,t,n},[C,y,$,X,Q,i,r,ee,te,ie,re,l,c,W,g,ae,oe,!1,se,s,D,A,le,d,u,de,ue,N,O,p,m,Y,V,h,P,Z,t,_,ye,be,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},B,(e,t,n)=>{let i,r;return null!=e&&null!=t&&(r=`
4
4
  <span>
5
5
  ${n}
6
6
  </span>