@everymatrix/casino-game-page 1.20.2 → 1.20.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
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(S){"use strict";(i=S)&&"object"==typeof i&&0 in i;function d(){}function T(e){return e()}function k(){return Object.create(null)}function P(e){e.forEach(T)}function M(e){return"function"==typeof e}function I(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let R,Y;function x(e,t){return(R=R||document.createElement("a")).href=t,e===R.href}function He(e,...t){if(null==e)return d;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function D(e,t){e.appendChild(t)}function B(e,t,n){e.insertBefore(t,n||null)}function A(e){e.parentNode&&e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function U(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function N(e){return document.createTextNode(e)}function e(){return N(" ")}function G(){return N("")}function F(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function H(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function L(e,t){e.data!==(t=""+t)&&(e.data=t)}function O(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function C(e,t,n){e.classList[n?"add":"remove"](t)}function $(e){Y=e}function Le(){if(Y)return Y;throw new Error("Function called outside component initialization")}const j=[],Ne=[];let W=[];const V=[],z=Promise.resolve();let Z=!1;function X(e){W.push(e)}const q=new Set;let K=0;function f(){if(0===K){const r=Y;do{try{for(;K<j.length;){const r=j[K];K++,$(r),e=t=void 0;var e,t=r.$$;null!==t.fragment&&(t.update(),P(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(X))}}catch(r){throw j.length=0,K=0,r}for($(null),j.length=0,K=0;Ne.length;)Ne.pop()();for(let e=0;e<W.length;e+=1){var n=W[e];q.has(n)||(q.add(n),n())}}while(W.length=0,j.length);for(;V.length;)V.pop()();Z=!1,q.clear(),$(r)}}const J=new Set;function Q(r,e,t,n,i,o,s,a=[-1]){var l=Y;$(r);const u=r.$$={fragment:null,ctx:[],props:o,update:d,not_equal:i,bound:k(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:k(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};s&&s(u.root);let c=!1;if(u.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return u.ctx&&i(u.ctx[e],u.ctx[e]=n)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](n),c)&&(n=e,-1===(e=r).$$.dirty[0]&&(j.push(e),Z||(Z=!0,z.then(f)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],u.update(),c=!0,P(u.before_update),u.fragment=!!n&&n(u.ctx),e.target){if(e.hydrate){o=e.target;const r=Array.from(o.childNodes);u.fragment&&u.fragment.l(r),r.forEach(A)}else u.fragment&&u.fragment.c();e.intro&&(a=r.$$.fragment)&&a.i&&(J.delete(a),a.i(void 0));var h=r,s=e.target,t=e.anchor,n=e.customElement,{fragment:o,after_update:a}=h.$$;o&&o.m(s,t),n||X(()=>{var e=h.$$.on_mount.map(T).filter(M);h.$$.on_destroy?h.$$.on_destroy.push(...e):P(e),h.$$.on_mount=[]}),a.forEach(X),f()}$(l)}let ee;"function"==typeof HTMLElement&&(ee=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(T).filter(M);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){P(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const r=[],i=[];W.forEach(e=>(-1===n.indexOf(e)?r:i).push(e)),i.forEach(e=>e()),W=r}P(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=d}$on(e,t){if(!M(t))return d;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 te,ne,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},re="URLSearchParams"in l,ie="Symbol"in l&&"iterator"in Symbol,oe="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),se="FormData"in l,ae="ArrayBuffer"in l;function le(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 ue(e){return e="string"!=typeof e?String(e):e}function ce(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ie&&(e[Symbol.iterator]=function(){return e}),e}function u(t){this.map={},t instanceof u?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function he(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function de(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function fe(e){var t=new FileReader,n=de(t);return t.readAsArrayBuffer(e),n}function pe(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function me(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:oe&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:se&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:re&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ae&&oe&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=pe(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ae&&(ArrayBuffer.prototype.isPrototypeOf(e)||ne(e))?this._bodyArrayBuffer=pe(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,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):re&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},oe&&(this.blob=function(){var e=he(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(){if(this._bodyArrayBuffer)return he(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(oe)return this.blob().then(fe);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r=he(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=de(e=new FileReader),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?n[1]:"utf-8",e.readAsText(r,n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},se&&(this.formData=function(){return this.text().then(ye)}),this.json=function(){return this.text().then(JSON.parse)},this}ae&&(te=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ne=ArrayBuffer.isView||function(e){return e&&-1<te.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=le(e),t=ue(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},u.prototype.delete=function(e){delete this.map[le(e)]},u.prototype.get=function(e){return e=le(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(le(e))},u.prototype.set=function(e,t){this.map[le(e)]=ue(t)},u.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},u.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),ce(n)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ce(t)},u.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),ce(n)},ie&&(u.prototype[Symbol.iterator]=u.prototype.entries);var ge=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new u(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<ge.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ye(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 h(e,t){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},me.call(c.prototype),me.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var be=[301,302,303,307,308],ve=(h.redirect=function(e,t){if(-1===be.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},l.DOMException);try{new ve}catch(S){(ve=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),ve.prototype.constructor=ve}function _e(r,a){return new Promise(function(i,e){var o=new c(r,a);if(o.signal&&o.signal.aborted)return e(new ve("Aborted","AbortError"));var n,s=new XMLHttpRequest;function t(){s.abort()}s.onload=function(){var e,r,t={statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",r=new u,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{r.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),r)},n=(o.url.startsWith("file://")&&(s.status<200||599<s.status)?t.status=200:t.status=s.status,t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL"),"response"in s?s.response:s.responseText);setTimeout(function(){i(new h(n,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},s.onabort=function(){setTimeout(function(){e(new ve("Aborted","AbortError"))},0)},s.open(o.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&(oe?s.responseType="blob":ae&&(s.responseType="arraybuffer")),a&&"object"==typeof a.headers&&!(a.headers instanceof u||l.Headers&&a.headers instanceof l.Headers)?(n=[],Object.getOwnPropertyNames(a.headers).forEach(function(e){n.push(le(e)),s.setRequestHeader(e,ue(a.headers[e]))}),o.headers.forEach(function(e,t){-1===n.indexOf(t)&&s.setRequestHeader(t,e)})):o.headers.forEach(function(e,t){s.setRequestHeader(t,e)}),o.signal&&(o.signal.addEventListener("abort",t),s.onreadystatechange=function(){4===s.readyState&&o.signal.removeEventListener("abort",t)}),s.send(void 0===o._bodyInit?null:o._bodyInit)})}function Bn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}_e.polyfill=!0,l.fetch||(l.fetch=_e,l.Headers=u,l.Request=c,l.Response=h);var Ce=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 Ee(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 Se(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Te(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function ke(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function p(e){return"function"==typeof e}function Me(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 Oe=Me(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 Pe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}n.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Se(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(p(o))try{o()}catch(e){i=e instanceof Oe?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=Se(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{Ae(c)}catch(e){i=null!=i?i:[],e instanceof Oe?i=ke(ke([],Te(i)),Te(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new Oe(i)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ae(e);else{if(e instanceof n){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},n.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},n.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},n.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Pe(t,e)},n.prototype.remove=function(e){var t=this._finalizers;t&&Pe(t,e),e instanceof n&&e._removeParent(this)},n.EMPTY=((i=new n).closed=!0,i);var xe=n,De=xe.EMPTY;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Be(e){return e instanceof xe||e&&"closed"in e&&p(e.remove)&&p(e.add)&&p(e.unsubscribe)}function Ae(e){p(e)?e():e.unsubscribe()}var Ie=void 0,Re=!1,Ye=!1,Ue={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Ue.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,ke([e,t],Te(n))):setTimeout.apply(void 0,ke([e,t],Te(n)))},clearTimeout:function(e){var t=Ue.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ge(){}var $e=null;function je(e){if(Re){var t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){var t=$e,n=t.errorThrown,t=t.error;if($e=null,n)throw t}}else e()}Ee(r,We=xe),r.create=function(e,t,n){return new Ke(e,t,n)},r.prototype.next=function(e){this.isStopped||this._next(e)},r.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,We.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var We,Ve=r,ze=Function.prototype.bind;function r(e){var t=We.call(this)||this;return t.isStopped=!1,e?Be(t.destination=e)&&e.add(t):t.destination=tt,t}function Ze(e,t){return ze.call(e,t)}Qe.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){et(e)}},Qe.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){et(e)}else et(e)},Qe.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){et(e)}};var Xe,qe=Qe,Ke=(Ee(Je,Xe=Ve),Je);function Je(e,t,n){var r=Xe.call(this)||this,n=p(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&Ye?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&Ze(e.next,t),error:e.error&&Ze(e.error,t),complete:e.complete&&Ze(e.complete,t)}):e;return r.destination=new qe(n),r}function Qe(e){this.partialObserver=e}function et(e){var t=e;Ue.setTimeout(function(){throw t})}var tt={closed:!0,next:Ge,error:function(e){throw e},complete:Ge},i="function"==typeof Symbol&&Symbol.observable||"@@observable";o.prototype.lift=function(e){var t=new o;return t.source=this,t.operator=e,t},o.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof Ve||r&&p(r.next)&&p(r.error)&&p(r.complete)&&Be(r)?e:new Ke(e,t,n);return je(function(){var e=i.operator,t=i.source;o.add(e?e.call(o,t):t?i._subscribe(o):i._trySubscribe(o))}),o},o.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},o.prototype.forEach=function(r,e){var i=this;return new(e=rt(e))(function(e,t){var n=new Ke({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},o.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},o.prototype[i]=function(){return this},o.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)},o.prototype.toPromise=function(e){var r=this;return new(e=rt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},o.create=function(e){return new o(e)};var nt=o;function o(e){e&&(this._subscribe=e)}function rt(e){return null!=(e=null!=e?e:Ie)?e:Promise}var it,ot,st,at=Me(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),i=(Ee(s,st=nt),s.prototype.lift=function(e){var t=new lt(this,this);return t.operator=e,t},s.prototype._throwIfClosed=function(){if(this.closed)throw new at},s.prototype.next=function(i){var o=this;je(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var n=Se(o.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},s.prototype.error=function(t){var n=this;je(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)}})},s.prototype.complete=function(){var t=this;je(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},s.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(s.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),s.prototype._trySubscribe=function(e){return this._throwIfClosed(),st.prototype._trySubscribe.call(this,e)},s.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},s.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?De:(this.currentObservers=null,i.push(e),new xe(function(){t.currentObservers=null,Pe(i,e)}))},s.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},s.prototype.asObservable=function(){var e=new nt;return e.source=this,e},s.create=function(e,t){return new lt(e,t)},s),lt=(Ee(dt,ot=i),dt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},dt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},dt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},dt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:De},dt),ut={now:function(){return(ut.delegate||Date).now()},delegate:void 0},ct=(Ee(ht,it=i),ht.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(r.push(e),i)||r.push(o.now()+t),this._trimBuffer(),it.prototype.next.call(this,e)},ht.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},ht.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var o=t.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},ht);function ht(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=ut);var r=it.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function dt(e,t){var n=ot.call(this)||this;return n.destination=e,n.source=t,n}function s(){var e=st.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let ft=[],pt={};const mt=[];function gt(r,i=d){let o;const s=new Set;function a(e){if(I(r,e)&&(r=e,o)){const e=!mt.length;for(const e of s)e[1](),mt.push(e,r);if(e){for(let e=0;e<mt.length;e+=2)mt[e][0](mt[e+1]);mt.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=d){const n=[e,t];return s.add(n),1===s.size&&(o=i(a)||d),e(r),()=>{s.delete(n),0===s.size&&o&&(o(),o=null)}}}}function yt(e,a,t){const l=!Array.isArray(e),u=l?[e]:e,c=a.length<2;return{subscribe:gt(t,t=>{let n=!1;const r=[];let i=0,o=d;const s=()=>{var e;i||(o(),e=a(l?r[0]:r,t),c?t(e):o=M(e)?e:d)},e=u.map((e,t)=>He(e,e=>{r[t]=e,i&=~(1<<t),n&&s()},()=>{i|=1<<t}));return n=!0,s(),function(){P(e),o(),n=!1}}).subscribe}}function bt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===vt);var t}var vt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function _t(e,t){return!1!==t.clone&&t.isMergeableObject(e)?kt(Array.isArray(e)?[]:{},e,t):e}function wt(e,t,n){return e.concat(t).map(function(e){return _t(e,n)})}function Et(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 St(e,t){try{return t in e}catch(e){return!1}}function Tt(r,i,o){var s={};return o.isMergeableObject(r)&&Et(r).forEach(function(e){s[e]=_t(r[e],o)}),Et(i).forEach(function(e){var t,n;(!St(t=r,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(St(r,e)&&o.isMergeableObject(i[e])?s[e]=((t=o).customMerge&&"function"==typeof(t=t.customMerge(e))?t:kt)(r[e],i[e],o):s[e]=_t(i[e],o))}),s}function kt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||wt,n.isMergeableObject=n.isMergeableObject||bt,n.cloneUnlessOtherwiseSpecified=_t;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Tt(e,t,n):_t(t,n)}kt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return kt(e,t,n)},{});throw new Error("first argument should be an array")};var Mt=kt,Ot=function(e,t){return(Ot=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 Pt(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}Ot(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m,y,xt,g=function(){return(g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function Dt(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Bt(e){return e.type===y.literal}function At(e){return e.type===y.number}function Nt(e){return e.type===y.date}function Ft(e){return e.type===y.time}function Ht(e){return e.type===y.select}function Lt(e){return e.type===y.plural}function Ct(e){return e.type===y.tag}function It(e){return e&&"object"==typeof e&&e.type===xt.number}function Rt(e){return e&&"object"==typeof e&&e.type===xt.dateTime}(i=m=m||{})[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=y=y||{})[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(i=xt=xt||{})[i.number=0]="number",i[i.dateTime=1]="dateTime";var i=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Yt=/(?:[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 Ut=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Gt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$t=/^(@+)?(\+|#+)?[rs]?$/g,jt=/(\*)(0+)|(#+)(0+)|(0+)/g,Wt=/^(0+)$/;function Vt(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace($t,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function zt(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 Zt(e){return zt(e)||{}}function Xt(e){for(var s={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=g(g(g({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return g(g({},e),Zt(t))},{}));continue;case"engineering":s=g(g(g({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return g(g({},e),Zt(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(jt,function(e,t,n,r,i,o){if(t)s.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Wt.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(Gt.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Gt,function(e,t,n,r,i,o){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var o=i.options[0];"w"===o?s=g(g({},s),{trailingZeroDisplay:"stripIfInteger"}):o&&(s=g(g({},s),Vt(o)))}else $t.test(i.stem)?s=g(g({},s),Vt(i.stem)):((o=zt(i.stem))&&(s=g(g({},s),o)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Wt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=g(g({},s),r)))}return s}var qt={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 Kt=new RegExp("^".concat(i.source,"*")),Jt=new RegExp("".concat(i.source,"*$"));function b(e,t){return{start:e,end:t}}var i=!!String.prototype.startsWith,Qt=!!String.fromCodePoint,en=!!Object.fromEntries,tn=!!String.prototype.codePointAt,nn=!!String.prototype.trimStart,rn=!!String.prototype.trimEnd,on=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},sn=!0;try{sn="a"===(null==(On=mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:On[0])}catch(S){sn=!1}var an,ln,un=i?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},cn=Qt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;o<i;){if(1114111<(n=e[o++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},hn=en?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],i=i[1];t[o]=i}return t},dn=tn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},fn=nn?function(e){return e.trimStart()}:function(e){return e.replace(Kt,"")},pn=rn?function(e){return e.trimEnd()}:function(e){return e.replace(Jt,"")};function mn(e,t){return new RegExp(e,t)}ln=sn?(an=mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return an.lastIndex=t,null!=(t=an.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=dn(e,t);if(void 0===i||bn(i)||33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094)break;r.push(i),t+=65536<=i?2:1}return cn.apply(void 0,r)};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 r=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(m.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&yn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i}else if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}else{o=this.clonePosition();this.bump(),r.push({type:y.pound,location:b(o,this.clonePosition())})}}}return{val:r,err:null}},a.prototype.parseTag=function(e,t){var n,r=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(i,"/>"),location:b(r,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()||!yn(this.char())?this.error(m.INVALID_TAG,b(e,this.clonePosition())):(n=this.clonePosition(),i!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,b(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:b(r,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,b(e,this.clonePosition())))):this.error(m.UNCLOSED_TAG,b(r,this.clonePosition()))):this.error(m.INVALID_TAG,b(r,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(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=b(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(yn(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 cn.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(),cn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,b(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(m.MALFORMED_ARGUMENT,b(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:b(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(m.MALFORMED_ARGUMENT,b(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=ln(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,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,b(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=pn(h.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:b(u,this.clonePosition())}}return(u=this.tryParseArgumentClose(r)).err?u:(f=b(r,this.clonePosition()),l&&un(null==l?void 0:l.style,"::",0)?(p=fn(l.style.slice(2)),"number"===s?(h=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?h:{val:{type:y.number,value:n,location:f,style:h.val},err:null}:0===p.length?this.error(m.EXPECT_DATE_TIME_SKELETON,f):(c=p,this.locale&&(c=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>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),(qt[t||""]||qt[n||""]||qt["".concat(n,"-001")]||qt["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)n+="a";for(;0<s--;)n=l+n}else n+="J"===i?"H":i}return n}(p,this.locale)),d={type:xt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(Yt,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}},{val:{type:"date"===s?y.date:y.time,value:n,location:f,style:d},err:null})):{val:{type:"number"===s?y.number:"date"===s?y.date:y.time,value:n,location:f,style:null!=(p=null==l?void 0:l.style)?p:null},err:null});case"plural":case"selectordinal":case"select":var c=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,b(c,g({},c)));this.bumpSpace();var h,d=this.parseIdentifierIfPossible(),f=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),d=this.parseIdentifierIfPossible(),f=h.val}var p,l=this.tryParsePluralOrSelectOptions(e,s,t,d);return l.err?l:(u=this.tryParseArgumentClose(r)).err?u:(p=b(r,this.clonePosition()),"select"===s?{val:{type:y.select,value:n,options:hn(l.val),location:p},err:null}:{val:{type:y.plural,value:n,options:hn(l.val),offset:f,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null});default:return this.error(m.INVALID_ARGUMENT_TYPE,b(o,a))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.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(m.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,r=e.split(Ut).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:xt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Xt(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,o=[],s=new Set,a=r.value,l=r.location;;){if(0===a.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=b(u,this.clonePosition()),a=this.message.slice(u.offset,this.offset())}if(s.has(a))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(i=!0),this.bumpSpace();c=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;var h=this.tryParseArgumentClose(c);if(h.err)return h;o.push([a,{value:u.val,location:b(c,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(m.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:o,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}r=b(r,this.clonePosition());return i?on(o*=n)?{val:o,err:null}:this.error(t,r):this.error(e,r)},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=dn(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(un(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()&&bn(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 gn=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 yn(e){return 97<=e&&e<=122||65<=e&&e<=90}function bn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function vn(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new gn(e,t).parse();if(e.err)throw(n=SyntaxError(m[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,Ht(e)||Lt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else At(e)&&It(e.style)||(Nt(e)||Ft(e))&&Rt(e.style)?delete e.style.location:Ct(e)&&n(e.children)})}(e.val),e.val}function _n(e,t){var n=t&&t.cache?t.cache:Pn,r=t&&t.serializer?t.serializer:Tn;return(t&&t.strategy?t.strategy:function(e,t){return Sn(e,this,1===e.length?wn:En,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function wn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function En(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function Sn(e,t,n,r,i){return n.bind(t,e,r,i)}var Tn=function(){return JSON.stringify(arguments)};function kn(){this.cache=Object.create(null)}kn.prototype.get=function(e){return this.cache[e]},kn.prototype.set=function(e,t){this.cache[e]=t};var Mn,On,Pn={create:function(){return new kn}},xn={variadic:function(e,t){return Sn(e,this,En,t.cache.create(),t.serializer)},monadic:function(e,t){return Sn(e,this,wn,t.cache.create(),t.serializer)}};(On=Mn=Mn||{}).MISSING_VALUE="MISSING_VALUE",On.INVALID_VALUE="INVALID_VALUE",On.MISSING_INTL_API="MISSING_INTL_API";Pt(Gn,Fn=Error),Gn.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var v,Dn,An,Nn,Fn,Hn=Gn,Ln=(Pt(Un,Nn=Hn),Un),Cn=(Pt(Yn,An=Hn),Yn),In=(Pt(Rn,Dn=Hn),Rn);function Rn(e,t){return Dn.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Mn.MISSING_VALUE,t)||this}function Yn(e,t,n){return An.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Mn.INVALID_VALUE,n)||this}function Un(e,t,n,r){return Nn.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Mn.INVALID_VALUE,r)||this}function Gn(e,t,n){e=Fn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function $n(e,t,n,r,i,o,s){if(1===e.length&&Bt(e[0]))return[{type:v.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Bt(c))a.push({type:v.literal,value:c.value});else if(c.type===y.pound)"number"==typeof o&&a.push({type:v.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;if(!(i&&h in i))throw new In(h,s);h=i[h];if(c.type===y.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?v.literal:v.object,value:h});else if(Nt(c)){var d="string"==typeof c.style?r.date[c.style]:Rt(c.style)?c.style.parsedOptions:void 0;a.push({type:v.literal,value:n.getDateTimeFormat(t,d).format(h)})}else if(Ft(c))d="string"==typeof c.style?r.time[c.style]:Rt(c.style)?c.style.parsedOptions:r.time.medium,a.push({type:v.literal,value:n.getDateTimeFormat(t,d).format(h)});else if(At(c))(d="string"==typeof c.style?r.number[c.style]:It(c.style)?c.style.parsedOptions:void 0)&&d.scale&&(h*=d.scale||1),a.push({type:v.literal,value:n.getNumberFormat(t,d).format(h)});else{if(Ct(c)){var f=c.children,p=c.value,m=i[p];if("function"!=typeof m)throw new Cn(p,"function",s);p=m($n(f,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),a.push.apply(a,p.map(function(e){return{type:"string"==typeof e?v.literal:v.object,value:e}}))}if(Ht(c)){if(!(g=c.options[h]||c.options.other))throw new Ln(c.value,h,Object.keys(c.options),s);a.push.apply(a,$n(g.value,t,n,r,i))}else if(Lt(c)){if(!(g=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new Hn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Mn.MISSING_INTL_API,s);var m=n.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),g=c.options[m]||c.options.other}if(!g)throw new Ln(c.value,h,Object.keys(c.options),s);a.push.apply(a,$n(g.value,t,n,r,i,h-(c.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===v.literal&&t.type===v.literal?n.value+=t.value:e.push(t),e},[])}function jn(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(i=v=v||{})[i.literal=0]="literal",i[i.object=1]="object";Object.defineProperty(_,"defaultLocale",{get:function(){return _.memoizedDefaultLocale||(_.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),_.memoizedDefaultLocale},enumerable:!1,configurable:!0}),_.memoizedDefaultLocale=null,_.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])},_.__parse=vn,_.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 Wn=_;function _(e,t,n,r){var i,o,s=this;if(void 0===t&&(t=_.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=s.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===v.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 $n(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=_.resolveLocale(t),"string"==typeof e){if(this.message=e,!_.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=_.__parse(e,{ignoreTag:null==r?void 0:r.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=(i=_.formats,(o=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=o[t])?g(g(g({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=g(g({},n[t]),r[t]||{}),e},{})):n),e},g({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:_n(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Dt([void 0],t,!1)))},{cache:jn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:xn.variadic}),getDateTimeFormat:_n(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Dt([void 0],t,!1)))},{cache:jn(t.dateTime),strategy:xn.variadic}),getPluralRules:_n(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Dt([void 0],t,!1)))},{cache:jn(t.pluralRules),strategy:xn.variadic})}}const w={},Vn=(e,t,n)=>n&&(t in w||(w[t]={}),e in w[t]||(w[t][e]=n),n),zn=(t,n)=>{if(null!=n){if(n in w&&t in w[n])return w[n][t];var r=fr(n);for(let e=0;e<r.length;e++){var i=function(e,t){if(!qn(e))return null;e=function(e){return Zn[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var r=n.split(".");let t=e;for(let e=0;e<r.length;e++)if("object"==typeof t){if(0<e){const n=r.slice(e,r.length).join(".");if(n in t){t=t[n];break}}t=t[r[e]]}else t=void 0;return t}}}(r[e],t);if(i)return Vn(t,n,i)}}};let Zn;const Xn=gt({});function qn(e){return e in Zn}function Kn(t,...n){delete w[t],Xn.update(e=>(e[t]=Mt.all([e[t]||{},...n]),e))}yt([Xn],([e])=>Object.keys(e)),Xn.subscribe(e=>Zn=e);const Jn={};function Qn(e){return Jn[e]}function er(e){return null!=e&&fr(e).some(e=>{return null==(e=Qn(e))?void 0:e.size})}function tr(r,e){return Promise.all(e.map(e=>{return t=r,n=e,Jn[t].delete(n),0===Jn[t].size&&delete Jn[t],e().then(e=>e.default||e);var t,n})).then(e=>Kn(r,...e))}const nr={};const rr={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 ir=gt(!1);var or=Object.defineProperty,Qt=Object.defineProperties,en=Object.getOwnPropertyDescriptors,sr=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable,ur=(e,t,n)=>t in e?or(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let cr;const hr=gt(null);function dr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function fr(e,t=rr.fallbackLocale){e=dr(e);return t?[...new Set([...e,...dr(t)])]:e}function E(){return null!=cr?cr:void 0}hr.subscribe(e=>{cr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const Fe=Qt(((e,t)=>{for(var n in t=t||{})ar.call(t,n)&&ur(e,n,t[n]);if(sr)for(var n of sr(t))lr.call(t,n)&&ur(e,n,t[n]);return e})({},hr),en({set:t=>{if(t&&function(e){if(null!=e){var t=fr(e);for(let e=0;e<t.length;e++){var n=t[e];if(qn(n))return n}}}(t)&&er(t)){var n=rr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=E()&&n?e=window.setTimeout(()=>ir.set(!0),n):ir.set(!0),function e(t){var n;return er(t)?(n=fr(t).map(e=>{var t=Qn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),nr[t]=Promise.all(n.map(([e,t])=>tr(e,t))).then(()=>{if(er(t))return e(t);delete nr[t]}),nr[t]):t in nr?nr[t]:Promise.resolve()}(t).then(()=>{hr.set(t)}).finally(()=>{clearTimeout(e),ir.set(!1)})}return hr.set(t)}}));var tn=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},pr=Object.defineProperty,mr=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,yr=Object.prototype.propertyIsEnumerable,br=(e,t,n)=>t in e?pr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vr=(e,t)=>{for(var n in t=t||{})gr.call(t,n)&&br(e,n,t[n]);if(mr)for(var n of mr(t))yr.call(t,n)&&br(e,n,t[n]);return e},_r=(e,t)=>{var n={};for(r in e)gr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&mr)for(var r of mr(e))t.indexOf(r)<0&&yr.call(e,r)&&(n[r]=e[r]);return n};const wr=(e,t)=>{var n=rr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Er=tn(e=>{var{locale:t,format:n}=e,e=_r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=wr("number",n)),new Intl.NumberFormat(t,e)}),Sr=tn(e=>{var{locale:t,format:n}=e,e=_r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=wr("date",n):0===Object.keys(e).length&&(e=wr("date","short")),new Intl.DateTimeFormat(t,e)}),Tr=tn(e=>{var{locale:t,format:n}=e,e=_r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=wr("time",n):0===Object.keys(e).length&&(e=wr("time","short")),new Intl.DateTimeFormat(t,e)}),kr=tn((e,t=E())=>new Wn(e,t,rr.formats,{ignoreTag:rr.ignoreTag})),Mr=yt([Fe,Xn],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:o,locale:s=E(),default:a}=i;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=zn(e,s);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!=(r=null!=(n=null==(n=(r=rr).handleMissingMessage)?void 0:n.call(r,{locale:s,id:e,defaultValue:a}))?n:a)?r:e;if(!o)return l;let u=l;try{u=kr(l,s).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u}),Or=(yt([Fe],()=>(e,t)=>((e={})=>{var{locale:t=E()}=e,e=_r(e,["locale"]);return Tr(vr({locale:t},e))})(t).format(e)),yt([Fe],()=>(e,t)=>((e={})=>{var{locale:t=E()}=e,e=_r(e,["locale"]);return Sr(vr({locale:t},e))})(t).format(e)),yt([Fe],()=>(e,t)=>((e={})=>{var{locale:t=E()}=e,e=_r(e,["locale"]);return Er(vr({locale:t},e))})(t).format(e)),yt([Fe,Xn],()=>(e,t=E())=>zn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==ft.indexOf(e)&&(t=new ct(t),pt[e]=t,ft.push(e)),pt[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))),Pr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function xr(e,t){Kn(e,t)}const Dr={en:{signIn:"LOGIN",register:"REGISTER",deposit:"DEPOSIT",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."},"zh-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",loading:"Es lädt, bitte warten..."},it:{signIn:"LOGIN",register:"REGISTRATI",deposit:"DEPOSITO",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off",loading:"Loading, please wait..."},fr:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter..."},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",loading:"Cargando por favor espere ..."},tr:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off",loading:"Yükleniyor, lütfen bekleyin..."},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off",loading:"Loading, please wait..."},ro:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off",loading:"Se incarca, te rugam asteapta…"},hr:{signIn:"Prijava",register:"Registracija",deposit:"Depozit",playForFun:"Igrajte za zabavu",playNow:"Počnite sada!",breakButton:"Držite gumb 3 sekunde kako bi uzeli 24-satni instant lock",loading:"Učitavanje, molimo čekajte."},hu:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Betöltés, kérjük várjon..."},pl:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."},pt:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo",loading:"Carregando, por favor espere ..."},sl:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."},sr:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."}};function Br(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var Ar,Nr,Fr=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},Hr=function(e,...t){try{return Br(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},Lr=(Nr=Ar={path:void 0,exports:{},require:function(e,t){return Bn(null==t&&Ar.path)}},Ar.exports,Nr.exports=function(){var L;function p(){return L.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function C(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function I(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(m(e,t))return;return 1}function a(e){return void 0===e}function R(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function Y(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function U(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function G(e,t){for(var n in t)m(t,n)&&(e[n]=t[n]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,r){return Bt(e,t,n,r,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function $(e){if(null==e._isValid){var t=g(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 j(e){var t=u(NaN);return null!=e?G(g(t),e):g(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},V=p.momentProperties=[],z=!1;function Z(e,t){var n,r,i,o=V.length;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=g(t)),a(t._locale)||(e._locale=t._locale),0<o)for(n=0;n<o;n++)a(i=t[r=V[n]])||(e[r]=i);return e}function X(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,p.updateOffset(this),z=!1)}function l(e){return e instanceof X||null!=e&&null!=e._isAMomentObject}function q(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,s){var a=!0;return G(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,o),a){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])m(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}q(o+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),a=!1}return s.apply(this,arguments)},s)}var K={};function J(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),K[e]||(q(t),K[e]=!0)}function c(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=G({},e);for(n in t)m(t,n)&&(C(e[n])&&C(t[n])?(r[n]={},G(r[n],e[n]),G(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)m(e,n)&&!m(t,n)&&C(e[n])&&(r[n]=G({},r[n]));return r}function ee(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)m(e,t)&&n.push(t);return n};function o(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var 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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},oe={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(oe[e]=i),t&&(oe[t[0]]=function(){return o(i.apply(this,arguments),t[1],t[2])}),n&&(oe[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function se(e,t){return e.isValid()?(t=ae(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,o=i.length;t<o;t++)oe[i[t]]?i[t]=oe[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=c(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function ae(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function h(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ue(e){var t,n,r={};for(n in e)m(e,n)&&(t=h(n))&&(r[t]=e[n]);return r}var ce={};function n(e,t){ce[e]=t}function he(e){return e%4==0&&e%100!=0||e%400==0}function d(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?d(e):t}function de(t,n){return function(e){return null!=e?(pe(this,t,e),p.updateOffset(this,n),this):fe(this,t)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&he(e.year())&&1===e.month()&&29===e.date()?(n=f(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Fe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,me=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,_e=/\d{1,3}/,we=/\d{1,4}/,Ee=/[+-]?\d{1,6}/,Se=/\d+/,Te=/[+-]?\d+/,ke=/Z|[+-]\d\d:?\d\d/gi,Me=/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 _(e,n,r){Pe[e]=c(n)?n:function(e,t){return e&&r?r:n}}function Oe(e,t){return m(Pe,e)?Pe[e](t._strict,t._locale):new RegExp(w(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function w(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Pe={},xe={};function E(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),R(n)&&(i=function(e,t){t[n]=f(e)}),r=e.length,t=0;t<r;t++)xe[e[t]]=i}function De(e,i){E(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var S,T=0,k=1,M=2,O=3,P=4,x=5,Be=6,Ae=7,Ne=8;function Fe(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?he(e)?29:28:31-n%7%2)}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),_("M",b),_("MM",b,y),_("MMM",function(e,t){return t.monthsShortRegex(e)}),_("MMMM",function(e,t){return t.monthsRegex(e)}),E(["M","MM"],function(e,t){t[k]=f(e)-1}),E(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[k]=r:g(n).invalidMonth=e});var He="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Le="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ce=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=v,Re=v;function Ye(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=f(t);else if(!R(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Fe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Ue(e){return null!=e?(Ye(this,e),p.updateOffset(this,!0),this):fe(this,"Month")}function Ge(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],o=0;o<12;o++)t=u([2e3,o]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),o=0;o<12;o++)n[o]=w(n[o]),r[o]=w(r[o]);for(o=0;o<24;o++)i[o]=w(i[o]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function $e(e){return he(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?o(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),_("Y",Te),_("YY",b,y),_("YYYY",we,ge),_("YYYYY",Ee,ye),_("YYYYYY",Ee,ye),E(["YYYYY","YYYYYY"],T),E("YYYY",function(e,t){t[T]=2===e.length?p.parseTwoDigitYear(e):f(e)}),E("YY",function(e,t){t[T]=p.parseTwoDigitYear(e)}),E("Y",function(e,t){t[T]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return f(e)+(68<f(e)?1900:2e3)};var je=de("FullYear",!0);function We(e,t,n,r,i,o,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}function Ve(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 ze(e,t,n){n=7+t-n;return-(7+Ve(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var o,t=1+7*(t-1)+(7+n-r)%7+ze(e,r,i),n=t<=0?$e(o=e-1)+t:t>$e(e)?(o=e+1,t-$e(e)):(o=e,t);return{year:o,dayOfYear:n}}function Xe(e,t,n){var r,i,o=ze(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?r=o+D(i=e.year()-1,t,n):o>D(e.year(),t,n)?(r=o-D(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function D(e,t,n){var r=ze(e,t,n),t=ze(e+1,t,n);return($e(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),_("w",b),_("ww",b,y),_("W",b),_("WW",b,y),De(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=f(e)});function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),_("d",b),_("e",b),_("E",b),_("dd",function(e,t){return t.weekdaysMinRegex(e)}),_("ddd",function(e,t){return t.weekdaysShortRegex(e)}),_("dddd",function(e,t){return t.weekdaysRegex(e)}),De(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),De(["d","e","E"],function(e,t,n,r){t[r]=f(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],o=[],s=[],a=[],l=0;l<7;l++)r=u([2e3,1]).day(l),t=w(this.weekdaysMin(r,"")),n=w(this.weekdaysShort(r,"")),r=w(this.weekdays(r,"")),i.push(t),o.push(n),s.push(r),a.push(t),a.push(n),a.push(r);i.sort(e),o.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function ot(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),ot("a",!0),ot("A",!1),t("hour","h"),n("hour",13),_("a",st),_("A",st),_("H",b),_("h",b),_("k",b),_("HH",b,y),_("hh",b,y),_("kk",b,y),_("hmm",be),_("hmmss",ve),_("Hmm",be),_("Hmmss",ve),E(["H","HH"],O),E(["k","kk"],function(e,t,n){e=f(e);t[O]=24===e?0:e}),E(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),E(["h","hh"],function(e,t,n){t[O]=f(e),g(n).bigHour=!0}),E("hmm",function(e,t,n){var r=e.length-2;t[O]=f(e.substr(0,r)),t[P]=f(e.substr(r)),g(n).bigHour=!0}),E("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[O]=f(e.substr(0,r)),t[P]=f(e.substr(r,2)),t[x]=f(e.substr(i)),g(n).bigHour=!0}),E("Hmm",function(e,t,n){var r=e.length-2;t[O]=f(e.substr(0,r)),t[P]=f(e.substr(r))}),E("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[O]=f(e.substr(0,r)),t[P]=f(e.substr(r,2)),t[x]=f(e.substr(i))});v=de("Hours",!0);var at,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:He,monthsShort:Le,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},B={},ut={};function ct(e){return e&&e.toLowerCase().replace("_","-")}function ht(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=ct(e[o]).split("-")).length,n=(n=ct(e[o+1]))?n.split("-"):null;0<t;){if(r=dt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}o++}return at}function dt(t){var e;if(void 0===B[t]&&Nr&&Nr.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,Bn(),ft(e)}catch(e){B[t]=null}return B[t]}function ft(e,t){return e&&((t=a(t)?A(e):pt(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function pt(e,t){if(null===t)return delete B[e],null;var n,r=lt;if(t.abbr=e,null!=B[e])J("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=B[e]._config;else if(null!=t.parentLocale)if(null!=B[t.parentLocale])r=B[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;r=n._config}return B[e]=new ee(Q(r,t)),ut[e]&&ut[e].forEach(function(e){pt(e.name,e.config)}),ft(e),B[e]}function A(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!s(e)){if(t=dt(e))return t;e=[e]}return ht(e)}function mt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[k]<0||11<t[k]?k:t[M]<1||t[M]>Fe(t[T],t[k])?M:t[O]<0||24<t[O]||24===t[O]&&(0!==t[P]||0!==t[x]||0!==t[Be])?O:t[P]<0||59<t[P]?P:t[x]<0||59<t[x]?x:t[Be]<0||999<t[Be]?Be:-1,g(e)._overflowDayOfYear&&(t<T||M<t)&&(t=M),g(e)._overflowWeeks&&-1===t&&(t=Ae),g(e)._overflowWeekday&&-1===t&&(t=Ne),g(e).overflow=t),e}var gt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,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]],_t=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,Et=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e){var t,n,r,i,o,s,a=e._i,l=gt.exec(a)||yt.exec(a),a=vt.length,u=_t.length;if(l){for(g(e).iso=!0,t=0,n=a;t<n;t++)if(vt[t][1].exec(l[1])){i=vt[t][0],r=!1!==vt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=u;t<n;t++)if(_t[t][1].exec(l[3])){o=(l[2]||" ")+_t[t][0];break}if(null==o)return e._isValid=!1}if(!r&&null!=o)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=i+(o||"")+(s||""),xt(e)}else e._isValid=!1}function kt(e,t,n,r,i,o){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Le.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&e.push(parseInt(o,10)),e}function Mt(e){var t,n,r,i,o=Et.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=kt(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],r=t,i=e,n&&Je.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=o[8],r=o[9],i=o[10],n?St[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Ot(e,t,n){return null!=e?e:null!=t?t:n}function Pt(e){var t,n,r,i,o,s,a,l,u,c,h,d=[];if(!e._d){for(c=e,h=new Date(p.now()),n=c._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[M]&&null==e._a[k]&&(null!=(h=(c=e)._w).GG||null!=h.W||null!=h.E?(s=1,a=4,r=Ot(h.GG,c._a[T],Xe(N(),1,4).year),i=Ot(h.W,1),((o=Ot(h.E,1))<1||7<o)&&(l=!0)):(s=c._locale._week.dow,a=c._locale._week.doy,u=Xe(N(),s,a),r=Ot(h.gg,c._a[T],u.year),i=Ot(h.w,u.week),null!=h.d?((o=h.d)<0||6<o)&&(l=!0):null!=h.e?(o=h.e+s,(h.e<0||6<h.e)&&(l=!0)):o=s),i<1||i>D(r,s,a)?g(c)._overflowWeeks=!0:null!=l?g(c)._overflowWeekday=!0:(u=Ze(r,i,o,s,a),c._a[T]=u.year,c._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(h=Ot(e._a[T],n[T]),(e._dayOfYear>$e(h)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(h,0,e._dayOfYear),e._a[k]=l.getUTCMonth(),e._a[M]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=n[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[O]&&0===e._a[P]&&0===e._a[x]&&0===e._a[Be]&&(e._nextDay=!0,e._a[O]=0),e._d=(e._useUTC?Ve:We).apply(null,d),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[O]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function xt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r,i=""+e._i,o=i.length,s=0,a=(n=ae(e._f,e._locale).match(ne)||[]).length,l=0;l<a;l++)r=n[l],(t=(i.match(Oe(r,e))||[])[0])&&(0<(h=i.substr(0,i.indexOf(t))).length&&g(e).unusedInput.push(h),i=i.slice(i.indexOf(t)+t.length),s+=t.length),oe[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),h=r,f=e,null!=(d=t)&&m(xe,h)&&xe[h](d,f._a,f,h)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=o-s,0<i.length&&g(e).unusedInput.push(i),e._a[O]<=12&&!0===g(e).bigHour&&0<e._a[O]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[O]=(o=e._locale,u=e._a[O],null==(c=e._meridiem)?u:null!=o.meridiemHour?o.meridiemHour(u,c):null!=o.isPM?((o=o.isPM(c))&&u<12&&(u+=12),u=o||12!==u?u:0):u),null!==(c=g(e).era)&&(e._a[T]=e._locale.erasConvertYear(c,e._a[T])),Pt(e),mt(e)}else Mt(e);else Tt(e);var u,c,h,d,f}function Dt(e){var t,n=e._i,r=e._f;{var i,o;return(e._locale=e._locale||A(e._l),null===n||void 0===r&&""===n)?j({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new X(mt(n)):(Y(n)?e._d=n:s(r)?function(e){var t,n,r,i,o,s,a=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)o=0,s=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],xt(t),$(t)&&(s=!0),o=(o+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s)&&(a=!0);G(e,n||t)}(e):r?xt(e):a(r=(n=e)._i)?n._d=new Date(p.now()):Y(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(o=wt.exec(i._i))?(Tt(i),!1===i._isValid&&(delete i._isValid,Mt(i),!1===i._isValid)&&(delete i._isValid,i._strict?i._isValid=!1:p.createFromInputFallback(i))):i._d=new Date(+o[1])):s(r)?(n._a=U(r.slice(0),function(e){return parseInt(e,10)}),Pt(n)):C(r)?(i=n)._d||(t=void 0===(o=ue(i._i)).day?o.date:o.day,i._a=U([o.year,o.month,t,o.hour,o.minute,o.second,o.millisecond],function(e){return e&&parseInt(e,10)}),Pt(i)):R(r)?n._d=new Date(r):p.createFromInputFallback(n),$(e)||(e._d=null),e))}}function Bt(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(C(e)&&I(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(i=new X(mt(Dt(i=o))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function N(e,t,n,r){return Bt(e,t,n,r,!1)}p.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":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function At(e,t){var n,r;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return N();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Nt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ft(e){var e=ue(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,a=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Nt.length;for(t in e)if(m(e,t)&&(-1===S.call(Nt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Nt[n]]){if(r)return!1;parseFloat(e[Nt[n]])!==f(e[Nt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+u+1e3*l+6e4*a+1e3*s*60*60,this._days=+o+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=A(),this._bubble()}function Ht(e){return e instanceof Ft}function Lt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ct(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+n+o(~~e%60,2)})}Ct("Z",":"),Ct("ZZ",""),_("Z",Me),_("ZZ",Me),E(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Rt(Me,e)});var It=/([\+\-]|\d\d)/gi;function Rt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(It)||["-",0,0])[1]+f(e[2]))?0:"+"===e[0]?t:-t}function Yt(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||Y(e)?e:N(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),p.updateOffset(t,!1),t):N(e).local()}function Ut(e){return-Math.round(e._d.getTimezoneOffset())}function Gt(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var $t=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function F(e,t){var n,r,i=e;return Ht(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:R(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(t=$t.exec(e))?(n="-"===t[1]?-1:1,i={y:0,d:f(t[M])*n,h:f(t[O])*n,m:f(t[P])*n,s:f(t[x])*n,ms:f(Lt(1e3*t[Be]))*n}):(t=jt.exec(e))?(n="-"===t[1]?-1:1,i={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==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=N(i.from),n=N(i.to),t=t.isValid()&&n.isValid()?(n=Yt(n,t),t.isBefore(n)?r=Vt(t,n):((r=Vt(n,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=t.milliseconds,i.M=t.months),r=new Ft(i),Ht(e)&&m(e,"_locale")&&(r._locale=e._locale),Ht(e)&&m(e,"_isValid")&&(r._isValid=e._isValid),r}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(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 zt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(J(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,F(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,o=Lt(t._days),t=Lt(t._months);e.isValid()&&(r=null==r||r,t&&Ye(e,fe(e,"Month")+t*n),o&&pe(e,"Date",fe(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r)&&p.updateOffset(e,o||t)}F.fn=Ft.prototype,F.invalid=function(){return F(NaN)};He=zt(1,"add"),Ke=zt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function qt(e){return l(e)||Y(e)||Xt(e)||R(e)||(n=s(t=e),r=!1,n&&(r=0===t.filter(function(e){return!R(e)&&Xt(t)}).length),n&&r)||function(e){var t,n,r=C(e)&&!I(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=o.length;for(t=0;t<s;t+=1)n=o[t],i=i||m(e,n);return r&&i}(e)||null==e;var t,n,r}function Kt(e,t){var n,r;return e.date()<t.date()?-Kt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(n,"months"))<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=A(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.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 on(e,t){return t.erasAbbrRegex(e)}function sn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),o=0,s=i.length;o<s;++o)t.push(w(i[o].name)),e.push(w(i[o].abbr)),n.push(w(i[o].narrow)),r.push(w(i[o].name)),r.push(w(i[o].abbr)),r.push(w(i[o].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function an(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var o;return null==e?Xe(this,r,i).year:(t>(o=D(e,r,i))&&(t=o),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),_("N",on),_("NN",on),_("NNN",on),_("NNNN",function(e,t){return t.erasNameRegex(e)}),_("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),E(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),_("y",Se),_("yy",Se),_("yyy",Se),_("yyyy",Se),_("yo",function(e,t){return t._eraYearOrdinalRegex||Se}),E(["y","yy","yyy","yyyy"],T),E(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[T]=n._locale.eraYearOrdinalParse(e,i):t[T]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),an("gggg","weekYear"),an("ggggg","weekYear"),an("GGGG","isoWeekYear"),an("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),_("G",Te),_("g",Te),_("GG",b,y),_("gg",b,y),_("GGGG",we,ge),_("gggg",we,ge),_("GGGGG",Ee,ye),_("ggggg",Ee,ye),De(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=f(e)}),De(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),_("Q",i),E("Q",function(e,t){t[k]=3*(f(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),_("D",b),_("DD",b,y),_("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),E(["D","DD"],M),E("Do",function(e,t){t[M]=f(e.match(b)[0])});we=de("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),_("DDD",_e),_("DDDD",me),E(["DDD","DDDD"],function(e,t,n){n._dayOfYear=f(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),_("m",b),_("mm",b,y),E(["m","mm"],P);ge=de("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),_("s",b),_("ss",b,y),E(["s","ss"],x);var un,Ee=de("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),_("S",_e,i),_("SS",_e,y),_("SSS",_e,me),un="SSSS";un.length<=9;un+="S")_(un,Se);function cn(e,t){t[Be]=f(1e3*("0."+e))}for(un="S";un.length<=9;un+="S")E(un,cn);ye=de("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=X.prototype;function hn(e){return e}i.add=He,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=C(e)&&!I(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||m(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||N(),n=Yt(e,this).startOf("day"),n=p.calendarFormat(this,n)||"sameElse",t=t&&(c(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,N(e)))},i.clone=function(){return new X(this)},i.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Yt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=h(t)){case"year":o=Kt(this,r)/12;break;case"month":o=Kt(this,r);break;case"quarter":o=Kt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:d(o)},i.endOf=function(e){var t,n;if(void 0!==(e=h(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),p.updateOffset(this,!0)}return this},i.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=se(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||N(e).isValid())?F({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(N(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||N(e).isValid())?F({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(N(),e)},i.get=function(e){return c(this[e=h(e)])?this[e]():this},i.invalidAt=function(){return g(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:N(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:N(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:N(e),t=l(t)?t:N(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){var e=l(e)?e:N(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return $(this)},i.lang=Qe,i.locale=Jt,i.localeData=Qt,i.max=ve,i.min=be,i.parsingFlags=function(){return G({},g(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)m(e,t)&&n.push({unit:t,priority:ce[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ue(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(c(this[e=h(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0!==(e=h(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),p.updateOffset(this,!0)}return this},i.subtract=Ke,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.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()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?se(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):c(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",se(t,"Z")):se(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},i.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&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-p(n[r].since).year())*e+n[r].offset;return this.year()},i.year=je,i.isLeapYear=function(){return he(this.year())},i.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Ue,i.daysInMonth=function(){return Fe(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return D(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return D(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return D(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return D(this.isoWeekYear(),1,4)},i.date=we,i.day=i.days=function(e){var t,n,r;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,r=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=r.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},i.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},i.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},i.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")},i.hour=i.hours=v,i.minute=i.minutes=ge,i.second=i.seconds=Ee,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Ut(this);if("string"==typeof e){if(null===(e=Rt(Me,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ut(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,F(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ut(this),"m"),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Rt(ke,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?N(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=Gt,i.isUTC=Gt,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",we),i.months=e("months accessor is deprecated. Use month instead",Ue),i.years=e("years accessor is deprecated. Use year instead",je),i.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()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return a(this._isDSTShifted)&&(Z(t={},this),(t=Dt(t))._a?(e=(t._isUTC?u:N)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0,s=0;s<r;s++)(n&&e[s]!==t[s]||!n&&f(e[s])!==f(t[s]))&&o++;return o+i}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function dn(e,t,n,r){var i=A(),r=u().set(r,t);return i[n](r,e)}function fn(e,t,n){if(R(e)&&(t=e,e=void 0),e=e||"",null!=t)return dn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=dn(e,i,n,"month");return r}function pn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),R(t)&&(n=t,t=void 0),t||"");var i,o=A(),s=e?o._week.dow:0,a=[];if(null!=n)return dn(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=dn(t,(i+s)%7,r,"day");return a}y.calendar=function(e,t,n){return c(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=hn,y.postformat=hn,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return c(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return c(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)m(e,n)&&(c(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,r=this._eras||A("en")._eras,i=0,o=r.length;i<o;++i)switch("string"==typeof r[i].since&&(n=p(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=p(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if(0<=[o,s,a].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return m(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return m(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return m(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Ce).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Ce.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=u([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))||-1!==(i=S.call(this._longMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))||-1!==(i=S.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ge.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Re),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ge.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Xe(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=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?qe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(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"},ft("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===f(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",ft),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",A);var mn=Math.abs;function gn(e,t,n,r){t=F(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*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 _n(e){return function(){return this.as(e)}}_e=_n("ms"),me=_n("s"),He=_n("m"),ve=_n("h"),be=_n("d"),Ke=_n("w"),v=_n("M"),ge=_n("Q"),Ee=_n("y");function wn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=wn("milliseconds"),we=wn("seconds"),je=wn("minutes"),y=wn("hours"),En=wn("days"),Sn=wn("months"),Tn=wn("years");var kn=Math.round,Mn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function On(e,t,n,r){var i=F(e).abs(),o=kn(i.as("s")),s=kn(i.as("m")),a=kn(i.as("h")),l=kn(i.as("d")),u=kn(i.as("M")),c=kn(i.as("w")),i=kn(i.as("y")),o=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||(s<=1?["m"]:s<n.m&&["mm",s])||(a<=1?["h"]:a<n.h&&["hh",a])||(l<=1?["d"]:l<n.d&&["dd",l]);return(o=(o=null!=n.w?o||(c<=1?["w"]:c<n.w&&["ww",c]):o)||(u<=1?["M"]:u<n.M&&["MM",u])||(i<=1?["y"]:["yy",i]))[2]=t,o[3]=0<+e,o[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,o)}var Pn=Math.abs;function xn(e){return(0<e)-(e<0)||+e}function Dn(){var e,t,n,r,i,o,s,a,l,u,c;return this.isValid()?(a=Pn(this._milliseconds)/1e3,l=Pn(this._days),u=Pn(this._months),(c=this.asSeconds())?(e=d(a/60),t=d(e/60),a%=60,e%=60,n=d(u/12),u%=12,r=a?a.toFixed(3).replace(/\.?0+$/,""):"",i=xn(this._months)!==xn(c)?"-":"",o=xn(this._days)!==xn(c)?"-":"",s=xn(this._milliseconds)!==xn(c)?"-":"",(c<0?"-":"")+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(l?o+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+r+"S":"")):"P0D"):this.localeData().invalidDate()}var H=Ft.prototype;return H.isValid=function(){return this._isValid},H.abs=function(){var e=this._data;return this._milliseconds=mn(this._milliseconds),this._days=mn(this._days),this._months=mn(this._months),e.milliseconds=mn(e.milliseconds),e.seconds=mn(e.seconds),e.minutes=mn(e.minutes),e.hours=mn(e.hours),e.months=mn(e.months),e.years=mn(e.years),this},H.add=function(e,t){return gn(this,e,t,1)},H.subtract=function(e,t){return gn(this,e,t,-1)},H.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=h(e))||"quarter"===e||"year"===e)switch(t=this._days+r/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+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},H.asMilliseconds=_e,H.asSeconds=me,H.asMinutes=He,H.asHours=ve,H.asDays=be,H.asWeeks=Ke,H.asMonths=v,H.asQuarters=ge,H.asYears=Ee,H.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},H._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),r.milliseconds=e%1e3,e=d(e/1e3),r.seconds=e%60,e=d(e/60),r.minutes=e%60,e=d(e/60),r.hours=e%24,t+=d(e/24),n+=e=d(bn(t)),t-=yn(vn(e)),e=d(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},H.clone=function(){return F(this)},H.get=function(e){return e=h(e),this.isValid()?this[e+"s"]():NaN},H.milliseconds=ye,H.seconds=we,H.minutes=je,H.hours=y,H.days=En,H.weeks=function(){return d(this.days()/7)},H.months=Sn,H.years=Tn,H.humanize=function(e,t){var n,r;return this.isValid()?(n=!1,r=Mn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Mn,t),null!=t.s)&&null==t.ss&&(r.ss=t.s-1),t=On(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},H.toISOString=Dn,H.toString=Dn,H.toJSON=Dn,H.locale=Jt,H.localeData=Qt,H.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),H.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),_("x",Te),_("X",/[+-]?\d+(\.\d{1,3})?/),E("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),E("x",function(e,t,n){n._d=new Date(f(e))}),p.version="2.29.4",L=N,p.fn=i,p.min=function(){return At("isBefore",[].slice.call(arguments,0))},p.max=function(){return At("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=u,p.unix=function(e){return N(1e3*e)},p.months=function(e,t){return fn(e,t,"months")},p.isDate=Y,p.locale=ft,p.invalid=j,p.duration=F,p.isMoment=l,p.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},p.parseZone=function(){return N.apply(null,arguments).parseZone()},p.localeData=A,p.isDuration=Ht,p.monthsShort=function(e,t){return fn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},p.defineLocale=pt,p.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=B[e]&&null!=B[e].parentLocale?B[e].set(Q(B[e]._config,t)):(t=Q(r=null!=(n=dt(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=B[e],B[e]=r),ft(e)):null!=B[e]&&(null!=B[e].parentLocale?(B[e]=B[e].parentLocale,e===ft()&&ft(e)):null!=B[e]&&delete B[e]),B[e]},p.locales=function(){return te(B)},p.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},p.normalizeUnits=h,p.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==Mn[e]&&(void 0===t?Mn[e]:(Mn[e]=t,"s"===e&&(Mn.ss=t-1),!0))},p.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"},p.prototype=i,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}(),Ar.exports);function Cr(n){let r,i,o=n[13]&&Yr(n);return{c(){r=t("div"),i=t("div"),o&&o.c(),H(i,"class","CasinoGamePageContainer"),O(i,"background","rgba(0, 0, 0, 0.5)"),H(r,"class","GamePageBackground"),O(r,"background",n[22]?"":`url(${n[12].backgroundImageUrl})`),O(r,"background-size","cover")},m(e,t){B(e,r,t),D(r,i),o&&o.m(i,null),n[84](r)},p(e,t){e[13]?o?o.p(e,t):((o=Yr(e)).c(),o.m(i,null)):o&&(o.d(1),o=null),4198400&t[0]&&O(r,"background",e[22]?"":`url(${e[12].backgroundImageUrl})`)},d(e){e&&A(r),o&&o.d(),n[84](null)}}}function Ir(e){let n;return{c(){(n=t("p")).textContent="500 Error - Internal Server Error.",H(n,"class","SearchLoading")},m(e,t){B(e,n,t)},p:d,d(e){e&&A(n)}}}function Rr(e){let n,r,i=e[26]("loading")+"";return{c(){n=t("p"),r=N(i),H(n,"class","SearchLoading")},m(e,t){B(e,n,t),D(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("loading")+"")&&L(r,i)},d(e){e&&A(n)}}}function Yr(e){let n;function r(e){return e[22]?$r:e[6]?Gr:e[7]?void 0:Ur}let i=r(e),o=i&&i(e);return{c(){o&&o.c(),n=G()},m(e,t){o&&o.m(e,t),B(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o&&o.d(e),e&&A(n)}}}function Ur(e){let n;function r(e){return e[14]?Wr:jr}let i=r(e),o=i(e);return{c(){o.c(),n=G()},m(e,t){o.m(e,t),B(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&A(n)}}}function Gr(n){let r,i,o,s,a,l,u,c,h,d,f,p,m,g,y,b,v,_=n[26]("deposit")+"",w="true"===n[1]&&Zr(n);function E(e){return e[19]?qr:Xr}let S=E(n),T=S(n);return{c(){r=t("div"),i=t("div"),o=t("iframe"),a=e(),l=t("div"),u=t("button"),c=N(_),h=e(),d=t("p"),f=t("span"),p=N(n[4]),m=e(),w&&w.c(),g=e(),T.c(),H(o,"title","Games"),H(o,"id","IframeGame"),H(o,"class","GamesContainer"),H(o,"aria-hidden","false"),x(o.src,s=n[12].launchUrl)||H(o,"src",s),H(u,"class","DepositButton"),H(d,"class","Time"),H(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),H(i,"id","IframeGame"),H(i,"style",n[25]),H(r,"id","IframeContainer"),O(r,"width",n[20]),O(r,"height",n[21]),C(r,"FullsScreenLayout",n[19])},m(e,t){B(e,r,t),D(r,i),D(i,o),n[64](o),D(i,a),D(i,l),D(l,u),D(u,c),D(l,h),D(l,d),D(d,f),D(f,p),n[66](d),D(l,m),w&&w.m(l,null),D(l,g),T.m(l,null),n[70](l),n[71](i),n[72](r),b||(v=F(u,"click",n[65]),b=!0)},p(e,t){4096&t[0]&&!x(o.src,s=e[12].launchUrl)&&H(o,"src",s),67108864&t[0]&&_!==(_=e[26]("deposit")+"")&&L(c,_),16&t[0]&&L(p,e[4]),"true"===e[1]?w?w.p(e,t):((w=Zr(e)).c(),w.m(l,g)):w&&(w.d(1),w=null),S===(S=E(e))&&T?T.p(e,t):(T.d(1),(T=S(e))&&(T.c(),T.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&H(l,"class",y),33554432&t[0]&&H(i,"style",e[25]),1048576&t[0]&&O(r,"width",e[20]),2097152&t[0]&&O(r,"height",e[21]),524288&t[0]&&C(r,"FullsScreenLayout",e[19])},d(e){e&&A(r),n[64](null),n[66](null),w&&w.d(),T.d(),n[70](null),n[71](null),n[72](null),b=!1,v()}}}function $r(e){let n;function r(e){return e[6]?Qr:e[15]&&!e[7]?Jr:e[7]?void 0:Kr}let i=r(e),o=i&&i(e);return{c(){o&&o.c(),n=G()},m(e,t){o&&o.m(e,t),B(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o&&o.d(e),e&&A(n)}}}function jr(n){let r,i,o,s,a,l,u,c,h,d,f,p,m,g,y,b,v,_,w=n[12].name+"",E=n[26]("signIn")+"",S=n[26]("register")+"";return{c(){r=t("div"),i=t("h3"),o=N(w),s=e(),a=t("img"),u=e(),c=t("div"),h=t("button"),d=N(E),f=e(),p=t("button"),m=N(S),g=e(),y=t("p"),b=N(n[4]),x(a.src,l=n[12].thumbnail)||H(a,"src",l),H(a,"class","GameThumbnail"),H(a,"alt","game thumbnail"),H(a,"loading","lazy"),H(h,"class","LoginButton"),H(p,"class","RegisterButton"),H(c,"class","ButtonsContainer"),H(r,"class","GameDetails"),H(r,"part","GameDetails")},m(e,t){B(e,r,t),D(r,i),D(i,o),D(r,s),D(r,a),D(r,u),D(r,c),D(c,h),D(h,d),D(c,f),D(c,p),D(p,m),D(r,g),D(r,y),D(y,b),v||(_=[F(h,"click",n[82]),F(p,"click",n[83])],v=!0)},p(e,t){4096&t[0]&&w!==(w=e[12].name+"")&&L(o,w),4096&t[0]&&!x(a.src,l=e[12].thumbnail)&&H(a,"src",l),67108864&t[0]&&E!==(E=e[26]("signIn")+"")&&L(d,E),67108864&t[0]&&S!==(S=e[26]("register")+"")&&L(m,S),16&t[0]&&L(b,e[4])},d(e){e&&A(r),v=!1,P(_)}}}function Wr(n){let r,i,o,s,a,l,u,c,h,d,f,p,m,g,y,b,v,_,w,E=n[26]("signIn")+"",S=n[26]("register")+"";function T(e){return e[19]?zr:Vr}let k=T(n),M=k(n);return{c(){r=t("div"),i=t("div"),o=t("iframe"),a=e(),l=t("div"),u=t("div"),c=t("button"),h=N(E),d=e(),f=t("button"),p=N(S),m=e(),g=t("p"),y=t("span"),b=N(n[4]),v=e(),M.c(),H(o,"title","Games"),H(o,"id","IframeGame"),H(o,"class","GamesContainer"),H(o,"aria-hidden","false"),x(o.src,s=n[12].launchUrl)||H(o,"src",s),H(c,"class","LoginButton"),H(f,"class","RegisterButton"),H(u,"class","ButtonsContainer"),H(g,"class","Time"),H(l,"class","BottomGame"),H(i,"id","IframeGame"),H(i,"style",n[25]),H(r,"id","IframeContainer"),O(r,"width",n[20]),O(r,"height",n[21]),C(r,"FullsScreenLayout",n[19])},m(e,t){B(e,r,t),D(r,i),D(i,o),n[73](o),D(i,a),D(i,l),D(l,u),D(u,c),D(c,h),D(u,d),D(u,f),D(f,p),D(l,m),D(l,g),D(g,y),D(y,b),n[76](g),D(l,v),M.m(l,null),n[79](l),n[80](i),n[81](r),_||(w=[F(c,"click",n[74]),F(f,"click",n[75])],_=!0)},p(e,t){4096&t[0]&&!x(o.src,s=e[12].launchUrl)&&H(o,"src",s),67108864&t[0]&&E!==(E=e[26]("signIn")+"")&&L(h,E),67108864&t[0]&&S!==(S=e[26]("register")+"")&&L(p,S),16&t[0]&&L(b,e[4]),k===(k=T(e))&&M?M.p(e,t):(M.d(1),(M=k(e))&&(M.c(),M.m(l,null))),33554432&t[0]&&H(i,"style",e[25]),1048576&t[0]&&O(r,"width",e[20]),2097152&t[0]&&O(r,"height",e[21]),524288&t[0]&&C(r,"FullsScreenLayout",e[19])},d(e){e&&A(r),n[73](null),n[76](null),M.d(),n[79](null),n[80](null),n[81](null),_=!1,P(w)}}}function Vr(n){let r,i,o;return{c(){(r=t("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',H(r,"class","FullscreenButton")},m(e,t){B(e,r,t),i||(o=F(r,"click",n[78]),i=!0)},p:d,d(e){e&&A(r),i=!1,o()}}}function zr(n){let r,i,o;return{c(){(r=t("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',H(r,"class","FullscreenButton")},m(e,t){B(e,r,t),i||(o=F(r,"click",n[77]),i=!0)},p:d,d(e){e&&A(r),i=!1,o()}}}function Zr(n){let r,i,o,s=n[26]("breakButton")+"";return{c(){r=t("div"),i=t("button"),o=N(s),H(i,"class","Button"),C(i,"PanicButtonAnimation",n[11]),H(r,"class","PanicSection")},m(e,t){B(e,r,t),D(r,i),D(i,o),n[67](i)},p(e,t){67108864&t[0]&&s!==(s=e[26]("breakButton")+"")&&L(o,s),2048&t[0]&&C(i,"PanicButtonAnimation",e[11])},d(e){e&&A(r),n[67](null)}}}function Xr(n){let r,i,o;return{c(){(r=t("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',H(r,"class","FullscreenButton")},m(e,t){B(e,r,t),i||(o=F(r,"click",n[69]),i=!0)},p:d,d(e){e&&A(r),i=!1,o()}}}function qr(n){let r,i,o;return{c(){(r=t("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',H(r,"class","FullscreenButton")},m(e,t){B(e,r,t),i||(o=F(r,"click",n[68]),i=!0)},p:d,d(e){e&&A(r),i=!1,o()}}}function Kr(n){let r,i,o,s,a,l,u,c,h,d,f,p,m,g,y,b,v,_,w=n[12].name+"",E=n[26]("signIn")+"",S=n[26]("register")+"";return{c(){r=t("div"),i=t("h3"),o=N(w),s=e(),a=t("img"),u=e(),c=t("div"),h=t("button"),d=N(E),f=e(),p=t("button"),m=N(S),g=e(),y=t("p"),b=N(n[4]),x(a.src,l=n[12].thumbnail)||H(a,"src",l),H(a,"class","GameThumbnail"),H(a,"alt","game thumbnail"),H(a,"loading","lazy"),H(h,"class","LoginButton"),H(p,"class","RegisterButton"),H(c,"class","ButtonsContainer"),H(r,"class","GameDetails"),H(r,"part","GameDetails")},m(e,t){B(e,r,t),D(r,i),D(i,o),D(r,s),D(r,a),D(r,u),D(r,c),D(c,h),D(h,d),D(c,f),D(c,p),D(p,m),D(r,g),D(r,y),D(y,b),v||(_=[F(h,"click",n[62]),F(p,"click",n[63])],v=!0)},p(e,t){4096&t[0]&&w!==(w=e[12].name+"")&&L(o,w),4096&t[0]&&!x(a.src,l=e[12].thumbnail)&&H(a,"src",l),67108864&t[0]&&E!==(E=e[26]("signIn")+"")&&L(d,E),67108864&t[0]&&S!==(S=e[26]("register")+"")&&L(m,S),16&t[0]&&L(b,e[4])},d(e){e&&A(r),v=!1,P(_)}}}function Jr(n){let r,i,o,s,a,l,u,c,h,d,f,p,m,g,y,b,v,_,w,E,S,T=n[12].name+"",k=n[26]("signIn")+"",M=n[26]("register")+"",O=n[26]("playForFun")+"";return{c(){r=t("div"),i=t("h3"),o=N(T),s=e(),a=t("img"),u=e(),c=t("div"),h=t("button"),d=N(k),f=e(),p=t("button"),m=N(M),g=e(),y=t("button"),b=N(O),v=e(),_=t("p"),w=N(n[4]),x(a.src,l=n[12].thumbnail)||H(a,"src",l),H(a,"class","GameThumbnail"),H(a,"alt","game thumbnail"),H(a,"loading","lazy"),H(h,"class","LoginButton"),H(p,"class","RegisterButton"),H(y,"class","FullWidthButton"),H(c,"class","ButtonsContainer"),H(r,"class","GameDetails")},m(e,t){B(e,r,t),D(r,i),D(i,o),D(r,s),D(r,a),D(r,u),D(r,c),D(c,h),D(h,d),D(c,f),D(c,p),D(p,m),D(c,g),D(c,y),D(y,b),D(r,v),D(r,_),D(_,w),E||(S=[F(h,"click",n[59]),F(p,"click",n[60]),F(y,"click",n[61])],E=!0)},p(e,t){4096&t[0]&&T!==(T=e[12].name+"")&&L(o,T),4096&t[0]&&!x(a.src,l=e[12].thumbnail)&&H(a,"src",l),67108864&t[0]&&k!==(k=e[26]("signIn")+"")&&L(d,k),67108864&t[0]&&M!==(M=e[26]("register")+"")&&L(m,M),67108864&t[0]&&O!==(O=e[26]("playForFun")+"")&&L(b,O),16&t[0]&&L(w,e[4])},d(e){e&&A(r),E=!1,P(S)}}}function Qr(n){let r,i,o,s,a,l,u,c,h,d,f,p,m,g,y,b,v,_,w,E,S=n[12].name+"",T=n[26]("deposit")+"",k=n[26]("playNow")+"",M="true"==n[0]&&ei(n),O="true"===n[1]&&oi(n);return{c(){M&&M.c(),r=e(),i=t("div"),o=t("h3"),s=N(S),a=e(),l=t("img"),c=e(),h=t("div"),d=t("button"),f=N(T),p=e(),m=t("button"),g=N(k),y=e(),O&&O.c(),b=e(),v=t("p"),_=N(n[4]),x(l.src,u=n[12].thumbnail)||H(l,"src",u),H(l,"class","GameThumbnail"),H(l,"alt","game thumbnail"),H(l,"loading","lazy"),H(d,"class","DepositButton"),H(m,"class","PlayNowButton"),H(h,"class","ButtonsContainer"),H(i,"class","GameDetails")},m(e,t){M&&M.m(e,t),B(e,r,t),B(e,i,t),D(i,o),D(o,s),D(i,a),D(i,l),D(i,c),D(i,h),D(h,d),D(d,f),D(h,p),D(h,m),D(m,g),D(i,y),O&&O.m(i,null),D(i,b),D(i,v),D(v,_),w||(E=[F(d,"click",n[56]),F(m,"click",n[57])],w=!0)},p(e,t){"true"==e[0]?M?M.p(e,t):((M=ei(e)).c(),M.m(r.parentNode,r)):M&&(M.d(1),M=null),4096&t[0]&&S!==(S=e[12].name+"")&&L(s,S),4096&t[0]&&!x(l.src,u=e[12].thumbnail)&&H(l,"src",u),67108864&t[0]&&T!==(T=e[26]("deposit")+"")&&L(f,T),67108864&t[0]&&k!==(k=e[26]("playNow")+"")&&L(g,k),"true"===e[1]?O?O.p(e,t):((O=oi(e)).c(),O.m(i,b)):O&&(O.d(1),O=null),16&t[0]&&L(_,e[4])},d(e){M&&M.d(e),e&&A(r),e&&A(i),O&&O.d(),w=!1,P(E)}}}function ei(e){let n;function r(e){return e[8]?ti:ni}let i=r(e),o=i(e);return{c(){o.c(),n=G()},m(e,t){o.m(e,t),B(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&A(n)}}}function ti(e){let n,r,i,o;return{c(){n=t("div"),r=t("div"),i=t("div"),H(n,"class",o="LoaderRipple "+("true"==e[1]?"LoaderWithPanicButton":""))},m(e,t){B(e,n,t),D(n,r),D(n,i)},p(e,t){2&t[0]&&o!==(o="LoaderRipple "+("true"==e[1]?"LoaderWithPanicButton":""))&&H(n,"class",o)},d(e){e&&A(n)}}}function ni(e){let n;function r(e){return e[12].isFavored?ii:ri}let i=r(e),o=i(e);return{c(){o.c(),n=G()},m(e,t){o.m(e,t),B(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&A(n)}}}function ri(n){let r,i,o,s,a,l;return{c(){r=t("div"),i=U("svg"),O(o=U("path"),"fill","var(--emfe-w-color-white, #FFFFFF)"),H(o,"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"),H(i,"version","1.1"),H(i,"class","UnfavoredIcon"),H(i,"xmlns","http://www.w3.org/2000/svg"),H(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),H(i,"x","20px"),H(i,"y","20px"),H(i,"viewBox","0 0 512.001 512.001"),O(i,"enable-background","new 0 0 512.001 512.001"),H(i,"xml:space","preserve"),H(r,"class",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){B(e,r,t),D(r,i),D(i,o),a||(l=F(r,"click",n[55]),a=!0)},p(e,t){2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&H(r,"class",s)},d(e){e&&A(r),a=!1,l()}}}function ii(n){let r,i,o,s,a,l;return{c(){r=t("div"),i=U("svg"),O(o=U("path"),"fill","var(--emfe-w-color-white, #FFFFFF)"),H(o,"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"),H(i,"version","1.1"),H(i,"class","FavoredIcon"),H(i,"part","FavoredIcon"),H(i,"xmlns","http://www.w3.org/2000/svg"),H(i,"viewBox","0 0 19.481 19.481"),H(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),H(i,"enable-background","new 0 0 19.481 19.481"),H(r,"class",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){B(e,r,t),D(r,i),D(i,o),a||(l=F(r,"click",n[54]),a=!0)},p(e,t){2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&H(r,"class",s)},d(e){e&&A(r),a=!1,l()}}}function oi(n){let r,i,o,s=n[26]("breakButton")+"";return{c(){r=t("div"),i=t("button"),o=N(s),H(i,"class","PanicButton "+("PC"!==Pr(n[27])?"PanicButtonMobile":"")),C(i,"PanicButtonAnimation",n[11]),H(r,"class","PanicSection "+("PC"!==Pr(n[27])?"PanicSectionMobile":""))},m(e,t){B(e,r,t),D(r,i),D(i,o),n[58](i)},p(e,t){67108864&t[0]&&s!==(s=e[26]("breakButton")+"")&&L(o,s),2048&t[0]&&C(i,"PanicButtonAnimation",e[11])},d(e){e&&A(r),n[58](null)}}}function si(n){let r;function i(e){return e[10]?Rr:e[9]?Ir:Cr}let o=i(n),s=o(n);return{c(){r=t("div"),s.c(),this.c=d},m(e,t){B(e,r,t),s.m(r,null),n[85](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},i:d,o:d,d(e){e&&A(r),s.d(),n[85](null)}}}function ai(n,e,o){let L;var C,I,R=Mr;n.$$.on_destroy.push(He(R,e=>o(26,L=e)));let Y,t,s,r,U,i,a,l,u,G,$,c,h,j,W,d,f,p,m,{endpoint:g=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:v=""}=e,{clientstyling:_=""}=e,{clientstylingurl:w=""}=e,{translationurl:E=""}=e,{favorites:V=""}=e,{loginurl:S=""}=e,{registerurl:z=""}=e,{depositurl:Z=""}=e,{loginevent:T=""}=e,{registerevent:k=""}=e,{depositevent:X=""}=e,{clockformat:q=""}=e,{haspanicbutton:K="false"}=e,{playforfun:J="true"}=e,{checksession:Q="true"}=e,{integratedgameframedesktop:M="false"}=e,{integratedgameframemobile:ee="false"}=e,{gameid:te=""}=e,O=!1,ne=!1,P=!1,re=!1,x=!0,ie=!1,oe=0,D=!1,se=!1,ae=!1,le=!0,B=!1,A=window.navigator.userAgent,ue=!1,ce=[],he=!1,de="false",fe;({withLocale:C,translations:I}={withLocale:"en",translations:{}}),Fe.subscribe(e=>{null==e&&(Xn.set(I),Fe.set(C))}),Object.keys(Dr).forEach(e=>{xr(e,Dr[e])});const pe=e=>{var t=new URL(e.launchUrl);return t.searchParams.append("language",y),s&&0<s.length&&(o(6,O=!0),t.searchParams.append("_sid",s),t.searchParams.append("funMode","false")),e.launchUrl=t,e},me=(e,t)=>{e=new URL(g+"/v1/casino/games/"+e);e.searchParams.append("language",y),e.searchParams.append("expand","vendor"),le=t||!1,fetch(e.href).then(e=>e.json()).then(e=>{o(12,i=pe(e[0])),o(10,x=!1),i.launchUrl&&(o(12,i.isFavored=we(i,i.hasFunMode),i),o(8,P=!1))},e=>{console.error("There was an error",e),o(9,re=!0)}).then(()=>{a&&(le||(o(20,G=i.width),o(21,$=i.height),j=i.width+"px",W=i.height+"px",c=i.width,h=i.height),Se())}).finally(()=>{o(10,x=!1)}),window.postMessage({type:"RequestModalSize"},window.location.href)},ge=()=>{null!=r&&r.addEventListener("mousedown",De,!1),null!=r&&r.addEventListener("touchstart",De,!1),null!=r&&r.addEventListener("mouseup",Be,!1),null!=r&&r.addEventListener("touchend",Be,!1)},ye=()=>{o(11,ie=!1),null!=r&&r.removeEventListener("mousedown",De),null!=r&&r.removeEventListener("touchstart",De),null!=r&&r.removeEventListener("mouseup",Be),null!=r&&r.removeEventListener("touchend",Be)},be=e=>{switch(e.data.type){case"GameLaunchID":me(e.data.gameId,!0);break;case"LaunchGameFrame":Ee(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":"false"==M&&!Or(A)||(window.postMessage({type:"EnableScroll"},window.location.href),o(53,de="false"),ye(),Or(A)?setTimeout(()=>{o(13,D="true"===ee)},500):setTimeout(()=>{o(13,D="true"===M)},500));break;case"UserSessionID":if(0<e.data.session.length){s=e.data.session,e.data.userID,o(6,O=!0);let t=setInterval(()=>{var e;i&&((e=new URL(i.launchUrl)).searchParams.get("_sid")||e.searchParams.append("_sid",s),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),o(12,i.launchUrl=e,i),clearInterval(t))},250)}break;case"ModalSize":o(20,G=e.data.modalContainerSize.modalWidth),o(21,$=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ce=e.data.receivedFavoriteResults.items,i)&&i.id&&(o(12,i.isFavored=ve(i.id),i),o(8,P=!1))}},ve=t=>-1!==ce.findIndex(e=>e.id==t),_e=e=>{var t="gamepage";i.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href),o(12,i.isFavored=!1,i)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href),o(12,i.isFavored=!0,i))},we=(e,t)=>(o(15,ae="true"==J&&e.hasAnonymousFunMode),o(14,se="true"==J&&t),o(13,D=!0),ve(e.id)),Ee=(e,t)=>{e=new URL(g+"/v1/casino/games/"+e);e.searchParams.append("language",y),fetch(e.href).then(e=>e.json()).then(e=>{o(12,i=pe(e[0])),o(10,x=!1),i.launchUrl&&(o(12,i.isFavored=we(i,t),i),o(8,P=!1))}).finally(()=>{o(10,x=!1)})},Se=()=>{var e=getComputedStyle(a),e=(getComputedStyle(l),parseInt(e.width.slice(0,-2)),parseInt(e.height.slice(0,-2)),i.width/(i.height+100));c=parseInt(i.width)*e,h=parseInt(i.height),j=c?Math.floor(c)+"px":"1280px",W=h?Math.floor(h)+"px":"720px",Ae()},Te=e=>{if(!he)return Or(A)?ke(ee):ke(M);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};Hr("OPEN_GAME",e)},ke=e=>{"false"==e?window.open(i.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:i.id},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Me=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:D},window.location.href),D&&(a&&Se(),window.addEventListener("ModalSize",be,!1))},N=()=>{T&&"false"==M&&!Or(A)?window.postMessage({type:T,transition:"Login"},window.location.href):T&&(window.postMessage({type:T,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),S&&(window.location=S),"function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},F=()=>{k&&"false"==M&&!Or(A)?window.postMessage({type:k,transition:"Register"},window.location.href):k&&(window.postMessage({type:k,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),z&&(window.location=z),"function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},Oe=()=>{X&&(window.postMessage({type:X},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag)&&gtag("event","GoToDeposit",{context:"GamePage"}),Z&&(window.location=Z)};function Pe(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!B||H()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Pe,!1),document.addEventListener("mozfullscreenchange",Pe,!1),document.addEventListener("fullscreenchange",Pe,!1),document.addEventListener("MSFullscreenChange",Pe,!1));const H=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(B?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),o(19,B=!1)):(a.requestFullscreen?a.requestFullscreen():a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen&&a.msRequestFullscreen(),o(19,B=!0)))},xe=(setInterval(()=>{o(4,Y=q?Lr().format(q):Lr().format("LTS"))},100),()=>{var r,i;"true"==Q?(r=g,i=b,new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",i),Ce(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{s=e.Guid,e.UserID,o(6,O=!0)},e=>{o(6,O=!1),console.error("err on session",e)})):(s=b,o(6,O=!0))}),De=e=>{oe=0,U=setInterval(()=>{oe+=1,o(11,ie=!0),3<=oe&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(U))},1e3)},Be=e=>{oe<3&&o(11,ie=!1),clearInterval(U)},Ae=()=>{var e=B?"100%":j,t=B?"100%":W,n=B||!le?"none":i.width?Math.floor(i.width)+"px":"1280px",r=B||!le?"none":i.height?Math.floor(i.height)+100+"px":"720px";o(25,fe=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),B||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,r=parseInt(getComputedStyle(a).height);m=m||r*Math.max(n,.5),o(16,a.style.height=m+"px",a),o(17,l.style.height=m+"px",l),e&&o(18,u.style.height=a.style.height+"px",u),t.unobserve(a)},{threshold:0}).observe(a)};return R=()=>{o(7,ne=(b||v)&&!O)},Le().$$.before_update.push(R),Le().$$.on_mount.push(()=>(window.addEventListener("resize",Me,!1),window.addEventListener("message",be,!1),he=!!Fr(A),()=>{ye(),window.removeEventListener("resize",Me),window.removeEventListener("message",be)})),n.$$set=e=>{"endpoint"in e&&o(34,g=e.endpoint),"lang"in e&&o(35,y=e.lang),"session"in e&&o(36,b=e.session),"userid"in e&&o(37,v=e.userid),"clientstyling"in e&&o(38,_=e.clientstyling),"clientstylingurl"in e&&o(39,w=e.clientstylingurl),"translationurl"in e&&o(40,E=e.translationurl),"favorites"in e&&o(0,V=e.favorites),"loginurl"in e&&o(41,S=e.loginurl),"registerurl"in e&&o(42,z=e.registerurl),"depositurl"in e&&o(43,Z=e.depositurl),"loginevent"in e&&o(44,T=e.loginevent),"registerevent"in e&&o(45,k=e.registerevent),"depositevent"in e&&o(46,X=e.depositevent),"clockformat"in e&&o(47,q=e.clockformat),"haspanicbutton"in e&&o(1,K=e.haspanicbutton),"playforfun"in e&&o(48,J=e.playforfun),"checksession"in e&&o(49,Q=e.checksession),"integratedgameframedesktop"in e&&o(50,M=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(51,ee=e.integratedgameframemobile),"gameid"in e&&o(52,te=e.gameid)},n.$$.update=()=>{if(16&n.$$.dirty[1]&&y&&(t=y,Fe.set(t),o(22,ue=Or(A))),2097176&n.$$.dirty[1]&&g&&te&&y&&me(te,!0),104&n.$$.dirty[1]&&b&&v&&g&&xe(),262184&n.$$.dirty[1]&&"false"==Q&&b&&g&&xe(),512&n.$$.dirty[1]&&E&&fetch(E).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{xr(e,t[e])})}).catch(e=>{console.log(e)}),1&n.$$.dirty[0]&&V&&o(8,P=!0),8&n.$$.dirty[0]|128&n.$$.dirty[1]&&_&&d&&((t=document.createElement("style")).innerHTML=_,d.appendChild(t)),8&n.$$.dirty[0]|256&n.$$.dirty[1]&&w&&d){let t=document.createElement("style");var e;w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{d.appendChild(t)},1)}))}var t;4&n.$$.dirty[0]|4194304&n.$$.dirty[1]&&"true"==de&&r&&ge(),4&n.$$.dirty[0]&&r&&ge()},[V,K,r,d,Y,t,O,ne,P,re,x,ie,i,D,se,ae,a,l,u,B,G,$,ue,f,p,"",L,A,_e,Te,N,F,Oe,H,g,y,b,v,_,w,E,S,z,Z,T,k,X,q,J,Q,M,ee,te,de,()=>_e(i.id),()=>_e(i.id),()=>Oe(),()=>{Te(i)},function(e){Ne[e?"unshift":"push"](()=>{r=e,o(2,r)})},()=>N(),()=>F(),()=>{Te(i)},()=>N(),()=>F(),function(e){Ne[e?"unshift":"push"](()=>{t=e,o(5,t)})},()=>Oe(),function(e){Ne[e?"unshift":"push"](()=>{p=e,o(24,p)})},function(e){Ne[e?"unshift":"push"](()=>{r=e,o(2,r)})},()=>H(),()=>H(),function(e){Ne[e?"unshift":"push"](()=>{f=e,o(23,f)})},function(e){Ne[e?"unshift":"push"](()=>{l=e,o(17,l)})},function(e){Ne[e?"unshift":"push"](()=>{a=e,o(16,a)})},function(e){Ne[e?"unshift":"push"](()=>{t=e,o(5,t)})},()=>N(),()=>F(),function(e){Ne[e?"unshift":"push"](()=>{p=e,o(24,p)})},()=>H(),()=>H(),function(e){Ne[e?"unshift":"push"](()=>{f=e,o(23,f)})},function(e){Ne[e?"unshift":"push"](()=>{l=e,o(17,l)})},function(e){Ne[e?"unshift":"push"](()=>{a=e,o(16,a)})},()=>N(),()=>F(),function(e){Ne[e?"unshift":"push"](()=>{u=e,o(18,u)})},function(e){Ne[e?"unshift":"push"](()=>{d=e,o(3,d)})}]}class li extends ee{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoGamePageContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}p{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:60px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100% !important;height:30px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.LoaderRipple{width:80px;height:80px;position:absolute;top:0;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}.LoaderRipple.LoaderWithPanicButton{top:40px}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}",this.shadowRoot.appendChild(t),Q(this,{target:this.shadowRoot,props:function(e){var t={};for(const n of e)t[n.name]=n.value;return t}(this.attributes),customElement:!0},ai,si,I,{endpoint:34,lang:35,session:36,userid:37,clientstyling:38,clientstylingurl:39,translationurl:40,favorites:0,loginurl:41,registerurl:42,depositurl:43,loginevent:44,registerevent:45,depositevent:46,clockformat:47,haspanicbutton:1,playforfun:48,checksession:49,integratedgameframedesktop:50,integratedgameframemobile:51,gameid:52},null,[-1,-1,-1,-1]),e&&(e.target&&B(e.target,this,e.anchor),e.props)&&(this.$set(e.props),f())}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[34]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[35]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[36]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[37]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[38]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[39]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[40]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[41]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[42]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[43]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[44]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[45]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[46]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[47]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[48]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[49]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[50]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[51]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[52]}set gameid(e){this.$$set({gameid:e}),f()}}return customElements.get("casino-game-page")||customElements.define("casino-game-page",li),li});
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(S){"use strict";(i=S)&&"object"==typeof i&&0 in i;function d(){}function T(e){return e()}function k(){return Object.create(null)}function P(e){e.forEach(T)}function M(e){return"function"==typeof e}function I(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let R,Y;function x(e,t){return(R=R||document.createElement("a")).href=t,e===R.href}function He(e,...t){if(null==e)return d;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function D(e,t){e.appendChild(t)}function B(e,t,n){e.insertBefore(t,n||null)}function A(e){e.parentNode&&e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function U(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function N(e){return document.createTextNode(e)}function e(){return N(" ")}function G(){return N("")}function F(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function H(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function L(e,t){e.data!==(t=""+t)&&(e.data=t)}function O(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function C(e,t,n){e.classList[n?"add":"remove"](t)}function $(e){Y=e}function Le(){if(Y)return Y;throw new Error("Function called outside component initialization")}const j=[],Ne=[];let W=[];const V=[],z=Promise.resolve();let Z=!1;function X(e){W.push(e)}const q=new Set;let K=0;function f(){if(0===K){const r=Y;do{try{for(;K<j.length;){const r=j[K];K++,$(r),e=t=void 0;var e,t=r.$$;null!==t.fragment&&(t.update(),P(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(X))}}catch(r){throw j.length=0,K=0,r}for($(null),j.length=0,K=0;Ne.length;)Ne.pop()();for(let e=0;e<W.length;e+=1){var n=W[e];q.has(n)||(q.add(n),n())}}while(W.length=0,j.length);for(;V.length;)V.pop()();Z=!1,q.clear(),$(r)}}const J=new Set;function Q(r,e,t,n,i,o,s,a=[-1]){var l=Y;$(r);const u=r.$$={fragment:null,ctx:[],props:o,update:d,not_equal:i,bound:k(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:k(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};s&&s(u.root);let c=!1;if(u.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return u.ctx&&i(u.ctx[e],u.ctx[e]=n)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](n),c)&&(n=e,-1===(e=r).$$.dirty[0]&&(j.push(e),Z||(Z=!0,z.then(f)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],u.update(),c=!0,P(u.before_update),u.fragment=!!n&&n(u.ctx),e.target){if(e.hydrate){o=e.target;const r=Array.from(o.childNodes);u.fragment&&u.fragment.l(r),r.forEach(A)}else u.fragment&&u.fragment.c();e.intro&&(a=r.$$.fragment)&&a.i&&(J.delete(a),a.i(void 0));var h=r,s=e.target,t=e.anchor,n=e.customElement,{fragment:o,after_update:a}=h.$$;o&&o.m(s,t),n||X(()=>{var e=h.$$.on_mount.map(T).filter(M);h.$$.on_destroy?h.$$.on_destroy.push(...e):P(e),h.$$.on_mount=[]}),a.forEach(X),f()}$(l)}let ee;"function"==typeof HTMLElement&&(ee=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(T).filter(M);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){P(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const r=[],i=[];W.forEach(e=>(-1===n.indexOf(e)?r:i).push(e)),i.forEach(e=>e()),W=r}P(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=d}$on(e,t){if(!M(t))return d;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 te,ne,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},re="URLSearchParams"in l,ie="Symbol"in l&&"iterator"in Symbol,oe="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),se="FormData"in l,ae="ArrayBuffer"in l;function le(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 ue(e){return e="string"!=typeof e?String(e):e}function ce(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ie&&(e[Symbol.iterator]=function(){return e}),e}function u(t){this.map={},t instanceof u?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function he(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function de(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function fe(e){var t=new FileReader,n=de(t);return t.readAsArrayBuffer(e),n}function pe(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function me(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:oe&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:se&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:re&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ae&&oe&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=pe(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ae&&(ArrayBuffer.prototype.isPrototypeOf(e)||ne(e))?this._bodyArrayBuffer=pe(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,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):re&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},oe&&(this.blob=function(){var e=he(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(){if(this._bodyArrayBuffer)return he(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(oe)return this.blob().then(fe);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r=he(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=de(e=new FileReader),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?n[1]:"utf-8",e.readAsText(r,n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},se&&(this.formData=function(){return this.text().then(ye)}),this.json=function(){return this.text().then(JSON.parse)},this}ae&&(te=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ne=ArrayBuffer.isView||function(e){return e&&-1<te.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=le(e),t=ue(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},u.prototype.delete=function(e){delete this.map[le(e)]},u.prototype.get=function(e){return e=le(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(le(e))},u.prototype.set=function(e,t){this.map[le(e)]=ue(t)},u.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},u.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),ce(n)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ce(t)},u.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),ce(n)},ie&&(u.prototype[Symbol.iterator]=u.prototype.entries);var ge=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new u(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<ge.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ye(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 h(e,t){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},me.call(c.prototype),me.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var be=[301,302,303,307,308],ve=(h.redirect=function(e,t){if(-1===be.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},l.DOMException);try{new ve}catch(S){(ve=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),ve.prototype.constructor=ve}function _e(r,a){return new Promise(function(i,e){var o=new c(r,a);if(o.signal&&o.signal.aborted)return e(new ve("Aborted","AbortError"));var n,s=new XMLHttpRequest;function t(){s.abort()}s.onload=function(){var e,r,t={statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",r=new u,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{r.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),r)},n=(o.url.startsWith("file://")&&(s.status<200||599<s.status)?t.status=200:t.status=s.status,t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL"),"response"in s?s.response:s.responseText);setTimeout(function(){i(new h(n,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},s.onabort=function(){setTimeout(function(){e(new ve("Aborted","AbortError"))},0)},s.open(o.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&(oe?s.responseType="blob":ae&&(s.responseType="arraybuffer")),a&&"object"==typeof a.headers&&!(a.headers instanceof u||l.Headers&&a.headers instanceof l.Headers)?(n=[],Object.getOwnPropertyNames(a.headers).forEach(function(e){n.push(le(e)),s.setRequestHeader(e,ue(a.headers[e]))}),o.headers.forEach(function(e,t){-1===n.indexOf(t)&&s.setRequestHeader(t,e)})):o.headers.forEach(function(e,t){s.setRequestHeader(t,e)}),o.signal&&(o.signal.addEventListener("abort",t),s.onreadystatechange=function(){4===s.readyState&&o.signal.removeEventListener("abort",t)}),s.send(void 0===o._bodyInit?null:o._bodyInit)})}function Bn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}_e.polyfill=!0,l.fetch||(l.fetch=_e,l.Headers=u,l.Request=c,l.Response=h);var Ce=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 Ee(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 Se(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Te(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function ke(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function p(e){return"function"==typeof e}function Me(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 Oe=Me(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 Pe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}n.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Se(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(p(o))try{o()}catch(e){i=e instanceof Oe?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=Se(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{Ae(c)}catch(e){i=null!=i?i:[],e instanceof Oe?i=ke(ke([],Te(i)),Te(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new Oe(i)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ae(e);else{if(e instanceof n){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},n.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},n.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},n.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Pe(t,e)},n.prototype.remove=function(e){var t=this._finalizers;t&&Pe(t,e),e instanceof n&&e._removeParent(this)},n.EMPTY=((i=new n).closed=!0,i);var xe=n,De=xe.EMPTY;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Be(e){return e instanceof xe||e&&"closed"in e&&p(e.remove)&&p(e.add)&&p(e.unsubscribe)}function Ae(e){p(e)?e():e.unsubscribe()}var Ie=void 0,Re=!1,Ye=!1,Ue={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Ue.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,ke([e,t],Te(n))):setTimeout.apply(void 0,ke([e,t],Te(n)))},clearTimeout:function(e){var t=Ue.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ge(){}var $e=null;function je(e){if(Re){var t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){var t=$e,n=t.errorThrown,t=t.error;if($e=null,n)throw t}}else e()}Ee(r,We=xe),r.create=function(e,t,n){return new Ke(e,t,n)},r.prototype.next=function(e){this.isStopped||this._next(e)},r.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,We.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var We,Ve=r,ze=Function.prototype.bind;function r(e){var t=We.call(this)||this;return t.isStopped=!1,e?Be(t.destination=e)&&e.add(t):t.destination=tt,t}function Ze(e,t){return ze.call(e,t)}Qe.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){et(e)}},Qe.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){et(e)}else et(e)},Qe.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){et(e)}};var Xe,qe=Qe,Ke=(Ee(Je,Xe=Ve),Je);function Je(e,t,n){var r=Xe.call(this)||this,n=p(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&Ye?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&Ze(e.next,t),error:e.error&&Ze(e.error,t),complete:e.complete&&Ze(e.complete,t)}):e;return r.destination=new qe(n),r}function Qe(e){this.partialObserver=e}function et(e){var t=e;Ue.setTimeout(function(){throw t})}var tt={closed:!0,next:Ge,error:function(e){throw e},complete:Ge},i="function"==typeof Symbol&&Symbol.observable||"@@observable";o.prototype.lift=function(e){var t=new o;return t.source=this,t.operator=e,t},o.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof Ve||r&&p(r.next)&&p(r.error)&&p(r.complete)&&Be(r)?e:new Ke(e,t,n);return je(function(){var e=i.operator,t=i.source;o.add(e?e.call(o,t):t?i._subscribe(o):i._trySubscribe(o))}),o},o.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},o.prototype.forEach=function(r,e){var i=this;return new(e=rt(e))(function(e,t){var n=new Ke({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},o.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},o.prototype[i]=function(){return this},o.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)},o.prototype.toPromise=function(e){var r=this;return new(e=rt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},o.create=function(e){return new o(e)};var nt=o;function o(e){e&&(this._subscribe=e)}function rt(e){return null!=(e=null!=e?e:Ie)?e:Promise}var it,ot,st,at=Me(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),i=(Ee(s,st=nt),s.prototype.lift=function(e){var t=new lt(this,this);return t.operator=e,t},s.prototype._throwIfClosed=function(){if(this.closed)throw new at},s.prototype.next=function(i){var o=this;je(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var n=Se(o.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},s.prototype.error=function(t){var n=this;je(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)}})},s.prototype.complete=function(){var t=this;je(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},s.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(s.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),s.prototype._trySubscribe=function(e){return this._throwIfClosed(),st.prototype._trySubscribe.call(this,e)},s.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},s.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?De:(this.currentObservers=null,i.push(e),new xe(function(){t.currentObservers=null,Pe(i,e)}))},s.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},s.prototype.asObservable=function(){var e=new nt;return e.source=this,e},s.create=function(e,t){return new lt(e,t)},s),lt=(Ee(dt,ot=i),dt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},dt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},dt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},dt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:De},dt),ut={now:function(){return(ut.delegate||Date).now()},delegate:void 0},ct=(Ee(ht,it=i),ht.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(r.push(e),i)||r.push(o.now()+t),this._trimBuffer(),it.prototype.next.call(this,e)},ht.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},ht.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var o=t.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},ht);function ht(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=ut);var r=it.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function dt(e,t){var n=ot.call(this)||this;return n.destination=e,n.source=t,n}function s(){var e=st.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let ft=[],pt={};const mt=[];function gt(r,i=d){let o;const s=new Set;function a(e){if(I(r,e)&&(r=e,o)){const e=!mt.length;for(const e of s)e[1](),mt.push(e,r);if(e){for(let e=0;e<mt.length;e+=2)mt[e][0](mt[e+1]);mt.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=d){const n=[e,t];return s.add(n),1===s.size&&(o=i(a)||d),e(r),()=>{s.delete(n),0===s.size&&o&&(o(),o=null)}}}}function yt(e,a,t){const l=!Array.isArray(e),u=l?[e]:e,c=a.length<2;return{subscribe:gt(t,t=>{let n=!1;const r=[];let i=0,o=d;const s=()=>{var e;i||(o(),e=a(l?r[0]:r,t),c?t(e):o=M(e)?e:d)},e=u.map((e,t)=>He(e,e=>{r[t]=e,i&=~(1<<t),n&&s()},()=>{i|=1<<t}));return n=!0,s(),function(){P(e),o(),n=!1}}).subscribe}}function bt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===vt);var t}var vt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function _t(e,t){return!1!==t.clone&&t.isMergeableObject(e)?kt(Array.isArray(e)?[]:{},e,t):e}function wt(e,t,n){return e.concat(t).map(function(e){return _t(e,n)})}function Et(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 St(e,t){try{return t in e}catch(e){return!1}}function Tt(r,i,o){var s={};return o.isMergeableObject(r)&&Et(r).forEach(function(e){s[e]=_t(r[e],o)}),Et(i).forEach(function(e){var t,n;(!St(t=r,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(St(r,e)&&o.isMergeableObject(i[e])?s[e]=((t=o).customMerge&&"function"==typeof(t=t.customMerge(e))?t:kt)(r[e],i[e],o):s[e]=_t(i[e],o))}),s}function kt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||wt,n.isMergeableObject=n.isMergeableObject||bt,n.cloneUnlessOtherwiseSpecified=_t;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Tt(e,t,n):_t(t,n)}kt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return kt(e,t,n)},{});throw new Error("first argument should be an array")};var Mt=kt,Ot=function(e,t){return(Ot=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 Pt(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}Ot(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m,y,xt,g=function(){return(g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function Dt(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Bt(e){return e.type===y.literal}function At(e){return e.type===y.number}function Nt(e){return e.type===y.date}function Ft(e){return e.type===y.time}function Ht(e){return e.type===y.select}function Lt(e){return e.type===y.plural}function Ct(e){return e.type===y.tag}function It(e){return e&&"object"==typeof e&&e.type===xt.number}function Rt(e){return e&&"object"==typeof e&&e.type===xt.dateTime}(i=m=m||{})[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=y=y||{})[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(i=xt=xt||{})[i.number=0]="number",i[i.dateTime=1]="dateTime";var i=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Yt=/(?:[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 Ut=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Gt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$t=/^(@+)?(\+|#+)?[rs]?$/g,jt=/(\*)(0+)|(#+)(0+)|(0+)/g,Wt=/^(0+)$/;function Vt(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace($t,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function zt(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 Zt(e){return zt(e)||{}}function Xt(e){for(var s={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=g(g(g({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return g(g({},e),Zt(t))},{}));continue;case"engineering":s=g(g(g({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return g(g({},e),Zt(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(jt,function(e,t,n,r,i,o){if(t)s.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Wt.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(Gt.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Gt,function(e,t,n,r,i,o){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var o=i.options[0];"w"===o?s=g(g({},s),{trailingZeroDisplay:"stripIfInteger"}):o&&(s=g(g({},s),Vt(o)))}else $t.test(i.stem)?s=g(g({},s),Vt(i.stem)):((o=zt(i.stem))&&(s=g(g({},s),o)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Wt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=g(g({},s),r)))}return s}var qt={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 Kt=new RegExp("^".concat(i.source,"*")),Jt=new RegExp("".concat(i.source,"*$"));function b(e,t){return{start:e,end:t}}var i=!!String.prototype.startsWith,Qt=!!String.fromCodePoint,en=!!Object.fromEntries,tn=!!String.prototype.codePointAt,nn=!!String.prototype.trimStart,rn=!!String.prototype.trimEnd,on=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},sn=!0;try{sn="a"===(null==(On=mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:On[0])}catch(S){sn=!1}var an,ln,un=i?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},cn=Qt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;o<i;){if(1114111<(n=e[o++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},hn=en?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],i=i[1];t[o]=i}return t},dn=tn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},fn=nn?function(e){return e.trimStart()}:function(e){return e.replace(Kt,"")},pn=rn?function(e){return e.trimEnd()}:function(e){return e.replace(Jt,"")};function mn(e,t){return new RegExp(e,t)}ln=sn?(an=mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return an.lastIndex=t,null!=(t=an.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=dn(e,t);if(void 0===i||bn(i)||33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094)break;r.push(i),t+=65536<=i?2:1}return cn.apply(void 0,r)};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 r=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(m.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&yn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i}else if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}else{o=this.clonePosition();this.bump(),r.push({type:y.pound,location:b(o,this.clonePosition())})}}}return{val:r,err:null}},a.prototype.parseTag=function(e,t){var n,r=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(i,"/>"),location:b(r,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()||!yn(this.char())?this.error(m.INVALID_TAG,b(e,this.clonePosition())):(n=this.clonePosition(),i!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,b(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:b(r,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,b(e,this.clonePosition())))):this.error(m.UNCLOSED_TAG,b(r,this.clonePosition()))):this.error(m.INVALID_TAG,b(r,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(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=b(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(yn(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 cn.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(),cn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,b(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(m.MALFORMED_ARGUMENT,b(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:b(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(m.MALFORMED_ARGUMENT,b(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=ln(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,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,b(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=pn(h.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:b(u,this.clonePosition())}}return(u=this.tryParseArgumentClose(r)).err?u:(f=b(r,this.clonePosition()),l&&un(null==l?void 0:l.style,"::",0)?(p=fn(l.style.slice(2)),"number"===s?(h=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?h:{val:{type:y.number,value:n,location:f,style:h.val},err:null}:0===p.length?this.error(m.EXPECT_DATE_TIME_SKELETON,f):(c=p,this.locale&&(c=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>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),(qt[t||""]||qt[n||""]||qt["".concat(n,"-001")]||qt["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)n+="a";for(;0<s--;)n=l+n}else n+="J"===i?"H":i}return n}(p,this.locale)),d={type:xt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(Yt,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}},{val:{type:"date"===s?y.date:y.time,value:n,location:f,style:d},err:null})):{val:{type:"number"===s?y.number:"date"===s?y.date:y.time,value:n,location:f,style:null!=(p=null==l?void 0:l.style)?p:null},err:null});case"plural":case"selectordinal":case"select":var c=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,b(c,g({},c)));this.bumpSpace();var h,d=this.parseIdentifierIfPossible(),f=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),d=this.parseIdentifierIfPossible(),f=h.val}var p,l=this.tryParsePluralOrSelectOptions(e,s,t,d);return l.err?l:(u=this.tryParseArgumentClose(r)).err?u:(p=b(r,this.clonePosition()),"select"===s?{val:{type:y.select,value:n,options:hn(l.val),location:p},err:null}:{val:{type:y.plural,value:n,options:hn(l.val),offset:f,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null});default:return this.error(m.INVALID_ARGUMENT_TYPE,b(o,a))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.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(m.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,r=e.split(Ut).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:xt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Xt(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,o=[],s=new Set,a=r.value,l=r.location;;){if(0===a.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=b(u,this.clonePosition()),a=this.message.slice(u.offset,this.offset())}if(s.has(a))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(i=!0),this.bumpSpace();c=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;var h=this.tryParseArgumentClose(c);if(h.err)return h;o.push([a,{value:u.val,location:b(c,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(m.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:o,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}r=b(r,this.clonePosition());return i?on(o*=n)?{val:o,err:null}:this.error(t,r):this.error(e,r)},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=dn(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(un(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()&&bn(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 gn=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 yn(e){return 97<=e&&e<=122||65<=e&&e<=90}function bn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function vn(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new gn(e,t).parse();if(e.err)throw(n=SyntaxError(m[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,Ht(e)||Lt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else At(e)&&It(e.style)||(Nt(e)||Ft(e))&&Rt(e.style)?delete e.style.location:Ct(e)&&n(e.children)})}(e.val),e.val}function _n(e,t){var n=t&&t.cache?t.cache:Pn,r=t&&t.serializer?t.serializer:Tn;return(t&&t.strategy?t.strategy:function(e,t){return Sn(e,this,1===e.length?wn:En,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function wn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function En(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function Sn(e,t,n,r,i){return n.bind(t,e,r,i)}var Tn=function(){return JSON.stringify(arguments)};function kn(){this.cache=Object.create(null)}kn.prototype.get=function(e){return this.cache[e]},kn.prototype.set=function(e,t){this.cache[e]=t};var Mn,On,Pn={create:function(){return new kn}},xn={variadic:function(e,t){return Sn(e,this,En,t.cache.create(),t.serializer)},monadic:function(e,t){return Sn(e,this,wn,t.cache.create(),t.serializer)}};(On=Mn=Mn||{}).MISSING_VALUE="MISSING_VALUE",On.INVALID_VALUE="INVALID_VALUE",On.MISSING_INTL_API="MISSING_INTL_API";Pt(Gn,Fn=Error),Gn.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var v,Dn,An,Nn,Fn,Hn=Gn,Ln=(Pt(Un,Nn=Hn),Un),Cn=(Pt(Yn,An=Hn),Yn),In=(Pt(Rn,Dn=Hn),Rn);function Rn(e,t){return Dn.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Mn.MISSING_VALUE,t)||this}function Yn(e,t,n){return An.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Mn.INVALID_VALUE,n)||this}function Un(e,t,n,r){return Nn.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Mn.INVALID_VALUE,r)||this}function Gn(e,t,n){e=Fn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function $n(e,t,n,r,i,o,s){if(1===e.length&&Bt(e[0]))return[{type:v.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Bt(c))a.push({type:v.literal,value:c.value});else if(c.type===y.pound)"number"==typeof o&&a.push({type:v.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;if(!(i&&h in i))throw new In(h,s);h=i[h];if(c.type===y.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?v.literal:v.object,value:h});else if(Nt(c)){var d="string"==typeof c.style?r.date[c.style]:Rt(c.style)?c.style.parsedOptions:void 0;a.push({type:v.literal,value:n.getDateTimeFormat(t,d).format(h)})}else if(Ft(c))d="string"==typeof c.style?r.time[c.style]:Rt(c.style)?c.style.parsedOptions:r.time.medium,a.push({type:v.literal,value:n.getDateTimeFormat(t,d).format(h)});else if(At(c))(d="string"==typeof c.style?r.number[c.style]:It(c.style)?c.style.parsedOptions:void 0)&&d.scale&&(h*=d.scale||1),a.push({type:v.literal,value:n.getNumberFormat(t,d).format(h)});else{if(Ct(c)){var f=c.children,p=c.value,m=i[p];if("function"!=typeof m)throw new Cn(p,"function",s);p=m($n(f,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),a.push.apply(a,p.map(function(e){return{type:"string"==typeof e?v.literal:v.object,value:e}}))}if(Ht(c)){if(!(g=c.options[h]||c.options.other))throw new Ln(c.value,h,Object.keys(c.options),s);a.push.apply(a,$n(g.value,t,n,r,i))}else if(Lt(c)){if(!(g=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new Hn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Mn.MISSING_INTL_API,s);var m=n.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),g=c.options[m]||c.options.other}if(!g)throw new Ln(c.value,h,Object.keys(c.options),s);a.push.apply(a,$n(g.value,t,n,r,i,h-(c.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===v.literal&&t.type===v.literal?n.value+=t.value:e.push(t),e},[])}function jn(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(i=v=v||{})[i.literal=0]="literal",i[i.object=1]="object";Object.defineProperty(_,"defaultLocale",{get:function(){return _.memoizedDefaultLocale||(_.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),_.memoizedDefaultLocale},enumerable:!1,configurable:!0}),_.memoizedDefaultLocale=null,_.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])},_.__parse=vn,_.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 Wn=_;function _(e,t,n,r){var i,o,s=this;if(void 0===t&&(t=_.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=s.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===v.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 $n(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=_.resolveLocale(t),"string"==typeof e){if(this.message=e,!_.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=_.__parse(e,{ignoreTag:null==r?void 0:r.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=(i=_.formats,(o=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=o[t])?g(g(g({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=g(g({},n[t]),r[t]||{}),e},{})):n),e},g({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:_n(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Dt([void 0],t,!1)))},{cache:jn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:xn.variadic}),getDateTimeFormat:_n(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Dt([void 0],t,!1)))},{cache:jn(t.dateTime),strategy:xn.variadic}),getPluralRules:_n(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Dt([void 0],t,!1)))},{cache:jn(t.pluralRules),strategy:xn.variadic})}}const w={},Vn=(e,t,n)=>n&&(t in w||(w[t]={}),e in w[t]||(w[t][e]=n),n),zn=(t,n)=>{if(null!=n){if(n in w&&t in w[n])return w[n][t];var r=fr(n);for(let e=0;e<r.length;e++){var i=function(e,t){if(!qn(e))return null;e=function(e){return Zn[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var r=n.split(".");let t=e;for(let e=0;e<r.length;e++)if("object"==typeof t){if(0<e){const n=r.slice(e,r.length).join(".");if(n in t){t=t[n];break}}t=t[r[e]]}else t=void 0;return t}}}(r[e],t);if(i)return Vn(t,n,i)}}};let Zn;const Xn=gt({});function qn(e){return e in Zn}function Kn(t,...n){delete w[t],Xn.update(e=>(e[t]=Mt.all([e[t]||{},...n]),e))}yt([Xn],([e])=>Object.keys(e)),Xn.subscribe(e=>Zn=e);const Jn={};function Qn(e){return Jn[e]}function er(e){return null!=e&&fr(e).some(e=>{return null==(e=Qn(e))?void 0:e.size})}function tr(r,e){return Promise.all(e.map(e=>{return t=r,n=e,Jn[t].delete(n),0===Jn[t].size&&delete Jn[t],e().then(e=>e.default||e);var t,n})).then(e=>Kn(r,...e))}const nr={};const rr={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 ir=gt(!1);var or=Object.defineProperty,Qt=Object.defineProperties,en=Object.getOwnPropertyDescriptors,sr=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable,ur=(e,t,n)=>t in e?or(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let cr;const hr=gt(null);function dr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function fr(e,t=rr.fallbackLocale){e=dr(e);return t?[...new Set([...e,...dr(t)])]:e}function E(){return null!=cr?cr:void 0}hr.subscribe(e=>{cr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const Fe=Qt(((e,t)=>{for(var n in t=t||{})ar.call(t,n)&&ur(e,n,t[n]);if(sr)for(var n of sr(t))lr.call(t,n)&&ur(e,n,t[n]);return e})({},hr),en({set:t=>{if(t&&function(e){if(null!=e){var t=fr(e);for(let e=0;e<t.length;e++){var n=t[e];if(qn(n))return n}}}(t)&&er(t)){var n=rr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=E()&&n?e=window.setTimeout(()=>ir.set(!0),n):ir.set(!0),function e(t){var n;return er(t)?(n=fr(t).map(e=>{var t=Qn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),nr[t]=Promise.all(n.map(([e,t])=>tr(e,t))).then(()=>{if(er(t))return e(t);delete nr[t]}),nr[t]):t in nr?nr[t]:Promise.resolve()}(t).then(()=>{hr.set(t)}).finally(()=>{clearTimeout(e),ir.set(!1)})}return hr.set(t)}}));var tn=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},pr=Object.defineProperty,mr=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,yr=Object.prototype.propertyIsEnumerable,br=(e,t,n)=>t in e?pr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vr=(e,t)=>{for(var n in t=t||{})gr.call(t,n)&&br(e,n,t[n]);if(mr)for(var n of mr(t))yr.call(t,n)&&br(e,n,t[n]);return e},_r=(e,t)=>{var n={};for(r in e)gr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&mr)for(var r of mr(e))t.indexOf(r)<0&&yr.call(e,r)&&(n[r]=e[r]);return n};const wr=(e,t)=>{var n=rr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Er=tn(e=>{var{locale:t,format:n}=e,e=_r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=wr("number",n)),new Intl.NumberFormat(t,e)}),Sr=tn(e=>{var{locale:t,format:n}=e,e=_r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=wr("date",n):0===Object.keys(e).length&&(e=wr("date","short")),new Intl.DateTimeFormat(t,e)}),Tr=tn(e=>{var{locale:t,format:n}=e,e=_r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=wr("time",n):0===Object.keys(e).length&&(e=wr("time","short")),new Intl.DateTimeFormat(t,e)}),kr=tn((e,t=E())=>new Wn(e,t,rr.formats,{ignoreTag:rr.ignoreTag})),Mr=yt([Fe,Xn],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:o,locale:s=E(),default:a}=i;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=zn(e,s);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!=(r=null!=(n=null==(n=(r=rr).handleMissingMessage)?void 0:n.call(r,{locale:s,id:e,defaultValue:a}))?n:a)?r:e;if(!o)return l;let u=l;try{u=kr(l,s).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u}),Or=(yt([Fe],()=>(e,t)=>((e={})=>{var{locale:t=E()}=e,e=_r(e,["locale"]);return Tr(vr({locale:t},e))})(t).format(e)),yt([Fe],()=>(e,t)=>((e={})=>{var{locale:t=E()}=e,e=_r(e,["locale"]);return Sr(vr({locale:t},e))})(t).format(e)),yt([Fe],()=>(e,t)=>((e={})=>{var{locale:t=E()}=e,e=_r(e,["locale"]);return Er(vr({locale:t},e))})(t).format(e)),yt([Fe,Xn],()=>(e,t=E())=>zn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==ft.indexOf(e)&&(t=new ct(t),pt[e]=t,ft.push(e)),pt[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))),Pr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function xr(e,t){Kn(e,t)}const Dr={en:{signIn:"LOGIN",register:"REGISTER",deposit:"DEPOSIT",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."},"zh-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",loading:"Es lädt, bitte warten..."},it:{signIn:"LOGIN",register:"REGISTRATI",deposit:"DEPOSITO",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off",loading:"Loading, please wait..."},fr:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter..."},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",loading:"Cargando por favor espere ..."},tr:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off",loading:"Yükleniyor, lütfen bekleyin..."},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off",loading:"Loading, please wait..."},ro:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off",loading:"Se incarca, te rugam asteapta…"},hr:{signIn:"Prijava",register:"Registracija",deposit:"Depozit",playForFun:"Igrajte za zabavu",playNow:"Počnite sada!",breakButton:"Držite gumb 3 sekunde kako bi uzeli 24-satni instant lock",loading:"Učitavanje, molimo čekajte."},hu:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Betöltés, kérjük várjon..."},pl:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."},pt:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo",loading:"Carregando, por favor espere ..."},sl:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."},sr:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."}};function Br(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var Ar,Nr,Fr=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},Hr=function(e,...t){try{return Br(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},Lr=(Nr=Ar={path:void 0,exports:{},require:function(e,t){return Bn(null==t&&Ar.path)}},Ar.exports,Nr.exports=function(){var L;function p(){return L.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function C(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function I(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(m(e,t))return;return 1}function a(e){return void 0===e}function R(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function Y(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function U(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function G(e,t){for(var n in t)m(t,n)&&(e[n]=t[n]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,r){return Bt(e,t,n,r,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function $(e){if(null==e._isValid){var t=g(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 j(e){var t=u(NaN);return null!=e?G(g(t),e):g(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},V=p.momentProperties=[],z=!1;function Z(e,t){var n,r,i,o=V.length;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=g(t)),a(t._locale)||(e._locale=t._locale),0<o)for(n=0;n<o;n++)a(i=t[r=V[n]])||(e[r]=i);return e}function X(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,p.updateOffset(this),z=!1)}function l(e){return e instanceof X||null!=e&&null!=e._isAMomentObject}function q(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,s){var a=!0;return G(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,o),a){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])m(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}q(o+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),a=!1}return s.apply(this,arguments)},s)}var K={};function J(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),K[e]||(q(t),K[e]=!0)}function c(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=G({},e);for(n in t)m(t,n)&&(C(e[n])&&C(t[n])?(r[n]={},G(r[n],e[n]),G(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)m(e,n)&&!m(t,n)&&C(e[n])&&(r[n]=G({},r[n]));return r}function ee(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)m(e,t)&&n.push(t);return n};function o(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var 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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},oe={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(oe[e]=i),t&&(oe[t[0]]=function(){return o(i.apply(this,arguments),t[1],t[2])}),n&&(oe[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function se(e,t){return e.isValid()?(t=ae(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,o=i.length;t<o;t++)oe[i[t]]?i[t]=oe[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=c(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function ae(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function h(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ue(e){var t,n,r={};for(n in e)m(e,n)&&(t=h(n))&&(r[t]=e[n]);return r}var ce={};function n(e,t){ce[e]=t}function he(e){return e%4==0&&e%100!=0||e%400==0}function d(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?d(e):t}function de(t,n){return function(e){return null!=e?(pe(this,t,e),p.updateOffset(this,n),this):fe(this,t)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&he(e.year())&&1===e.month()&&29===e.date()?(n=f(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Fe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,me=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,_e=/\d{1,3}/,we=/\d{1,4}/,Ee=/[+-]?\d{1,6}/,Se=/\d+/,Te=/[+-]?\d+/,ke=/Z|[+-]\d\d:?\d\d/gi,Me=/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 _(e,n,r){Pe[e]=c(n)?n:function(e,t){return e&&r?r:n}}function Oe(e,t){return m(Pe,e)?Pe[e](t._strict,t._locale):new RegExp(w(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function w(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Pe={},xe={};function E(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),R(n)&&(i=function(e,t){t[n]=f(e)}),r=e.length,t=0;t<r;t++)xe[e[t]]=i}function De(e,i){E(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var S,T=0,k=1,M=2,O=3,P=4,x=5,Be=6,Ae=7,Ne=8;function Fe(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?he(e)?29:28:31-n%7%2)}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),_("M",b),_("MM",b,y),_("MMM",function(e,t){return t.monthsShortRegex(e)}),_("MMMM",function(e,t){return t.monthsRegex(e)}),E(["M","MM"],function(e,t){t[k]=f(e)-1}),E(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[k]=r:g(n).invalidMonth=e});var He="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Le="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ce=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=v,Re=v;function Ye(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=f(t);else if(!R(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Fe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Ue(e){return null!=e?(Ye(this,e),p.updateOffset(this,!0),this):fe(this,"Month")}function Ge(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],o=0;o<12;o++)t=u([2e3,o]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),o=0;o<12;o++)n[o]=w(n[o]),r[o]=w(r[o]);for(o=0;o<24;o++)i[o]=w(i[o]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function $e(e){return he(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?o(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),_("Y",Te),_("YY",b,y),_("YYYY",we,ge),_("YYYYY",Ee,ye),_("YYYYYY",Ee,ye),E(["YYYYY","YYYYYY"],T),E("YYYY",function(e,t){t[T]=2===e.length?p.parseTwoDigitYear(e):f(e)}),E("YY",function(e,t){t[T]=p.parseTwoDigitYear(e)}),E("Y",function(e,t){t[T]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return f(e)+(68<f(e)?1900:2e3)};var je=de("FullYear",!0);function We(e,t,n,r,i,o,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}function Ve(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 ze(e,t,n){n=7+t-n;return-(7+Ve(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var o,t=1+7*(t-1)+(7+n-r)%7+ze(e,r,i),n=t<=0?$e(o=e-1)+t:t>$e(e)?(o=e+1,t-$e(e)):(o=e,t);return{year:o,dayOfYear:n}}function Xe(e,t,n){var r,i,o=ze(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?r=o+D(i=e.year()-1,t,n):o>D(e.year(),t,n)?(r=o-D(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function D(e,t,n){var r=ze(e,t,n),t=ze(e+1,t,n);return($e(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),_("w",b),_("ww",b,y),_("W",b),_("WW",b,y),De(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=f(e)});function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),_("d",b),_("e",b),_("E",b),_("dd",function(e,t){return t.weekdaysMinRegex(e)}),_("ddd",function(e,t){return t.weekdaysShortRegex(e)}),_("dddd",function(e,t){return t.weekdaysRegex(e)}),De(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),De(["d","e","E"],function(e,t,n,r){t[r]=f(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],o=[],s=[],a=[],l=0;l<7;l++)r=u([2e3,1]).day(l),t=w(this.weekdaysMin(r,"")),n=w(this.weekdaysShort(r,"")),r=w(this.weekdays(r,"")),i.push(t),o.push(n),s.push(r),a.push(t),a.push(n),a.push(r);i.sort(e),o.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function ot(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),ot("a",!0),ot("A",!1),t("hour","h"),n("hour",13),_("a",st),_("A",st),_("H",b),_("h",b),_("k",b),_("HH",b,y),_("hh",b,y),_("kk",b,y),_("hmm",be),_("hmmss",ve),_("Hmm",be),_("Hmmss",ve),E(["H","HH"],O),E(["k","kk"],function(e,t,n){e=f(e);t[O]=24===e?0:e}),E(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),E(["h","hh"],function(e,t,n){t[O]=f(e),g(n).bigHour=!0}),E("hmm",function(e,t,n){var r=e.length-2;t[O]=f(e.substr(0,r)),t[P]=f(e.substr(r)),g(n).bigHour=!0}),E("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[O]=f(e.substr(0,r)),t[P]=f(e.substr(r,2)),t[x]=f(e.substr(i)),g(n).bigHour=!0}),E("Hmm",function(e,t,n){var r=e.length-2;t[O]=f(e.substr(0,r)),t[P]=f(e.substr(r))}),E("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[O]=f(e.substr(0,r)),t[P]=f(e.substr(r,2)),t[x]=f(e.substr(i))});v=de("Hours",!0);var at,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:He,monthsShort:Le,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},B={},ut={};function ct(e){return e&&e.toLowerCase().replace("_","-")}function ht(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=ct(e[o]).split("-")).length,n=(n=ct(e[o+1]))?n.split("-"):null;0<t;){if(r=dt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}o++}return at}function dt(t){var e;if(void 0===B[t]&&Nr&&Nr.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,Bn(),ft(e)}catch(e){B[t]=null}return B[t]}function ft(e,t){return e&&((t=a(t)?A(e):pt(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function pt(e,t){if(null===t)return delete B[e],null;var n,r=lt;if(t.abbr=e,null!=B[e])J("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=B[e]._config;else if(null!=t.parentLocale)if(null!=B[t.parentLocale])r=B[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;r=n._config}return B[e]=new ee(Q(r,t)),ut[e]&&ut[e].forEach(function(e){pt(e.name,e.config)}),ft(e),B[e]}function A(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!s(e)){if(t=dt(e))return t;e=[e]}return ht(e)}function mt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[k]<0||11<t[k]?k:t[M]<1||t[M]>Fe(t[T],t[k])?M:t[O]<0||24<t[O]||24===t[O]&&(0!==t[P]||0!==t[x]||0!==t[Be])?O:t[P]<0||59<t[P]?P:t[x]<0||59<t[x]?x:t[Be]<0||999<t[Be]?Be:-1,g(e)._overflowDayOfYear&&(t<T||M<t)&&(t=M),g(e)._overflowWeeks&&-1===t&&(t=Ae),g(e)._overflowWeekday&&-1===t&&(t=Ne),g(e).overflow=t),e}var gt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,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]],_t=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,Et=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e){var t,n,r,i,o,s,a=e._i,l=gt.exec(a)||yt.exec(a),a=vt.length,u=_t.length;if(l){for(g(e).iso=!0,t=0,n=a;t<n;t++)if(vt[t][1].exec(l[1])){i=vt[t][0],r=!1!==vt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=u;t<n;t++)if(_t[t][1].exec(l[3])){o=(l[2]||" ")+_t[t][0];break}if(null==o)return e._isValid=!1}if(!r&&null!=o)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=i+(o||"")+(s||""),xt(e)}else e._isValid=!1}function kt(e,t,n,r,i,o){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Le.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&e.push(parseInt(o,10)),e}function Mt(e){var t,n,r,i,o=Et.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=kt(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],r=t,i=e,n&&Je.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=o[8],r=o[9],i=o[10],n?St[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Ot(e,t,n){return null!=e?e:null!=t?t:n}function Pt(e){var t,n,r,i,o,s,a,l,u,c,h,d=[];if(!e._d){for(c=e,h=new Date(p.now()),n=c._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[M]&&null==e._a[k]&&(null!=(h=(c=e)._w).GG||null!=h.W||null!=h.E?(s=1,a=4,r=Ot(h.GG,c._a[T],Xe(N(),1,4).year),i=Ot(h.W,1),((o=Ot(h.E,1))<1||7<o)&&(l=!0)):(s=c._locale._week.dow,a=c._locale._week.doy,u=Xe(N(),s,a),r=Ot(h.gg,c._a[T],u.year),i=Ot(h.w,u.week),null!=h.d?((o=h.d)<0||6<o)&&(l=!0):null!=h.e?(o=h.e+s,(h.e<0||6<h.e)&&(l=!0)):o=s),i<1||i>D(r,s,a)?g(c)._overflowWeeks=!0:null!=l?g(c)._overflowWeekday=!0:(u=Ze(r,i,o,s,a),c._a[T]=u.year,c._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(h=Ot(e._a[T],n[T]),(e._dayOfYear>$e(h)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(h,0,e._dayOfYear),e._a[k]=l.getUTCMonth(),e._a[M]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=n[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[O]&&0===e._a[P]&&0===e._a[x]&&0===e._a[Be]&&(e._nextDay=!0,e._a[O]=0),e._d=(e._useUTC?Ve:We).apply(null,d),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[O]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function xt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r,i=""+e._i,o=i.length,s=0,a=(n=ae(e._f,e._locale).match(ne)||[]).length,l=0;l<a;l++)r=n[l],(t=(i.match(Oe(r,e))||[])[0])&&(0<(h=i.substr(0,i.indexOf(t))).length&&g(e).unusedInput.push(h),i=i.slice(i.indexOf(t)+t.length),s+=t.length),oe[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),h=r,f=e,null!=(d=t)&&m(xe,h)&&xe[h](d,f._a,f,h)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=o-s,0<i.length&&g(e).unusedInput.push(i),e._a[O]<=12&&!0===g(e).bigHour&&0<e._a[O]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[O]=(o=e._locale,u=e._a[O],null==(c=e._meridiem)?u:null!=o.meridiemHour?o.meridiemHour(u,c):null!=o.isPM?((o=o.isPM(c))&&u<12&&(u+=12),u=o||12!==u?u:0):u),null!==(c=g(e).era)&&(e._a[T]=e._locale.erasConvertYear(c,e._a[T])),Pt(e),mt(e)}else Mt(e);else Tt(e);var u,c,h,d,f}function Dt(e){var t,n=e._i,r=e._f;{var i,o;return(e._locale=e._locale||A(e._l),null===n||void 0===r&&""===n)?j({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new X(mt(n)):(Y(n)?e._d=n:s(r)?function(e){var t,n,r,i,o,s,a=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)o=0,s=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],xt(t),$(t)&&(s=!0),o=(o+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s)&&(a=!0);G(e,n||t)}(e):r?xt(e):a(r=(n=e)._i)?n._d=new Date(p.now()):Y(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(o=wt.exec(i._i))?(Tt(i),!1===i._isValid&&(delete i._isValid,Mt(i),!1===i._isValid)&&(delete i._isValid,i._strict?i._isValid=!1:p.createFromInputFallback(i))):i._d=new Date(+o[1])):s(r)?(n._a=U(r.slice(0),function(e){return parseInt(e,10)}),Pt(n)):C(r)?(i=n)._d||(t=void 0===(o=ue(i._i)).day?o.date:o.day,i._a=U([o.year,o.month,t,o.hour,o.minute,o.second,o.millisecond],function(e){return e&&parseInt(e,10)}),Pt(i)):R(r)?n._d=new Date(r):p.createFromInputFallback(n),$(e)||(e._d=null),e))}}function Bt(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(C(e)&&I(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(i=new X(mt(Dt(i=o))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function N(e,t,n,r){return Bt(e,t,n,r,!1)}p.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":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function At(e,t){var n,r;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return N();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Nt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ft(e){var e=ue(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,a=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Nt.length;for(t in e)if(m(e,t)&&(-1===S.call(Nt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Nt[n]]){if(r)return!1;parseFloat(e[Nt[n]])!==f(e[Nt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+u+1e3*l+6e4*a+1e3*s*60*60,this._days=+o+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=A(),this._bubble()}function Ht(e){return e instanceof Ft}function Lt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ct(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+n+o(~~e%60,2)})}Ct("Z",":"),Ct("ZZ",""),_("Z",Me),_("ZZ",Me),E(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Rt(Me,e)});var It=/([\+\-]|\d\d)/gi;function Rt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(It)||["-",0,0])[1]+f(e[2]))?0:"+"===e[0]?t:-t}function Yt(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||Y(e)?e:N(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),p.updateOffset(t,!1),t):N(e).local()}function Ut(e){return-Math.round(e._d.getTimezoneOffset())}function Gt(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var $t=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function F(e,t){var n,r,i=e;return Ht(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:R(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(t=$t.exec(e))?(n="-"===t[1]?-1:1,i={y:0,d:f(t[M])*n,h:f(t[O])*n,m:f(t[P])*n,s:f(t[x])*n,ms:f(Lt(1e3*t[Be]))*n}):(t=jt.exec(e))?(n="-"===t[1]?-1:1,i={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==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=N(i.from),n=N(i.to),t=t.isValid()&&n.isValid()?(n=Yt(n,t),t.isBefore(n)?r=Vt(t,n):((r=Vt(n,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=t.milliseconds,i.M=t.months),r=new Ft(i),Ht(e)&&m(e,"_locale")&&(r._locale=e._locale),Ht(e)&&m(e,"_isValid")&&(r._isValid=e._isValid),r}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(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 zt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(J(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,F(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,o=Lt(t._days),t=Lt(t._months);e.isValid()&&(r=null==r||r,t&&Ye(e,fe(e,"Month")+t*n),o&&pe(e,"Date",fe(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r)&&p.updateOffset(e,o||t)}F.fn=Ft.prototype,F.invalid=function(){return F(NaN)};He=zt(1,"add"),Ke=zt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function qt(e){return l(e)||Y(e)||Xt(e)||R(e)||(n=s(t=e),r=!1,n&&(r=0===t.filter(function(e){return!R(e)&&Xt(t)}).length),n&&r)||function(e){var t,n,r=C(e)&&!I(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=o.length;for(t=0;t<s;t+=1)n=o[t],i=i||m(e,n);return r&&i}(e)||null==e;var t,n,r}function Kt(e,t){var n,r;return e.date()<t.date()?-Kt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(n,"months"))<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=A(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.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 on(e,t){return t.erasAbbrRegex(e)}function sn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),o=0,s=i.length;o<s;++o)t.push(w(i[o].name)),e.push(w(i[o].abbr)),n.push(w(i[o].narrow)),r.push(w(i[o].name)),r.push(w(i[o].abbr)),r.push(w(i[o].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function an(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var o;return null==e?Xe(this,r,i).year:(t>(o=D(e,r,i))&&(t=o),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),_("N",on),_("NN",on),_("NNN",on),_("NNNN",function(e,t){return t.erasNameRegex(e)}),_("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),E(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),_("y",Se),_("yy",Se),_("yyy",Se),_("yyyy",Se),_("yo",function(e,t){return t._eraYearOrdinalRegex||Se}),E(["y","yy","yyy","yyyy"],T),E(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[T]=n._locale.eraYearOrdinalParse(e,i):t[T]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),an("gggg","weekYear"),an("ggggg","weekYear"),an("GGGG","isoWeekYear"),an("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),_("G",Te),_("g",Te),_("GG",b,y),_("gg",b,y),_("GGGG",we,ge),_("gggg",we,ge),_("GGGGG",Ee,ye),_("ggggg",Ee,ye),De(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=f(e)}),De(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),_("Q",i),E("Q",function(e,t){t[k]=3*(f(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),_("D",b),_("DD",b,y),_("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),E(["D","DD"],M),E("Do",function(e,t){t[M]=f(e.match(b)[0])});we=de("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),_("DDD",_e),_("DDDD",me),E(["DDD","DDDD"],function(e,t,n){n._dayOfYear=f(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),_("m",b),_("mm",b,y),E(["m","mm"],P);ge=de("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),_("s",b),_("ss",b,y),E(["s","ss"],x);var un,Ee=de("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),_("S",_e,i),_("SS",_e,y),_("SSS",_e,me),un="SSSS";un.length<=9;un+="S")_(un,Se);function cn(e,t){t[Be]=f(1e3*("0."+e))}for(un="S";un.length<=9;un+="S")E(un,cn);ye=de("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=X.prototype;function hn(e){return e}i.add=He,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=C(e)&&!I(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||m(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||N(),n=Yt(e,this).startOf("day"),n=p.calendarFormat(this,n)||"sameElse",t=t&&(c(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,N(e)))},i.clone=function(){return new X(this)},i.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Yt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=h(t)){case"year":o=Kt(this,r)/12;break;case"month":o=Kt(this,r);break;case"quarter":o=Kt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:d(o)},i.endOf=function(e){var t,n;if(void 0!==(e=h(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),p.updateOffset(this,!0)}return this},i.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=se(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||N(e).isValid())?F({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(N(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||N(e).isValid())?F({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(N(),e)},i.get=function(e){return c(this[e=h(e)])?this[e]():this},i.invalidAt=function(){return g(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:N(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:N(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:N(e),t=l(t)?t:N(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){var e=l(e)?e:N(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return $(this)},i.lang=Qe,i.locale=Jt,i.localeData=Qt,i.max=ve,i.min=be,i.parsingFlags=function(){return G({},g(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)m(e,t)&&n.push({unit:t,priority:ce[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ue(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(c(this[e=h(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0!==(e=h(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),p.updateOffset(this,!0)}return this},i.subtract=Ke,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.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()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?se(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):c(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",se(t,"Z")):se(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},i.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&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-p(n[r].since).year())*e+n[r].offset;return this.year()},i.year=je,i.isLeapYear=function(){return he(this.year())},i.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Ue,i.daysInMonth=function(){return Fe(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return D(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return D(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return D(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return D(this.isoWeekYear(),1,4)},i.date=we,i.day=i.days=function(e){var t,n,r;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,r=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=r.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},i.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},i.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},i.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")},i.hour=i.hours=v,i.minute=i.minutes=ge,i.second=i.seconds=Ee,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Ut(this);if("string"==typeof e){if(null===(e=Rt(Me,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ut(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,F(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ut(this),"m"),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Rt(ke,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?N(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=Gt,i.isUTC=Gt,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",we),i.months=e("months accessor is deprecated. Use month instead",Ue),i.years=e("years accessor is deprecated. Use year instead",je),i.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()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return a(this._isDSTShifted)&&(Z(t={},this),(t=Dt(t))._a?(e=(t._isUTC?u:N)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0,s=0;s<r;s++)(n&&e[s]!==t[s]||!n&&f(e[s])!==f(t[s]))&&o++;return o+i}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function dn(e,t,n,r){var i=A(),r=u().set(r,t);return i[n](r,e)}function fn(e,t,n){if(R(e)&&(t=e,e=void 0),e=e||"",null!=t)return dn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=dn(e,i,n,"month");return r}function pn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),R(t)&&(n=t,t=void 0),t||"");var i,o=A(),s=e?o._week.dow:0,a=[];if(null!=n)return dn(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=dn(t,(i+s)%7,r,"day");return a}y.calendar=function(e,t,n){return c(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=hn,y.postformat=hn,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return c(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return c(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)m(e,n)&&(c(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,r=this._eras||A("en")._eras,i=0,o=r.length;i<o;++i)switch("string"==typeof r[i].since&&(n=p(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=p(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if(0<=[o,s,a].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return m(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return m(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return m(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Ce).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Ce.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=u([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))||-1!==(i=S.call(this._longMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))||-1!==(i=S.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ge.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Re),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ge.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Xe(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=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?qe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(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"},ft("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===f(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",ft),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",A);var mn=Math.abs;function gn(e,t,n,r){t=F(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*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 _n(e){return function(){return this.as(e)}}_e=_n("ms"),me=_n("s"),He=_n("m"),ve=_n("h"),be=_n("d"),Ke=_n("w"),v=_n("M"),ge=_n("Q"),Ee=_n("y");function wn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=wn("milliseconds"),we=wn("seconds"),je=wn("minutes"),y=wn("hours"),En=wn("days"),Sn=wn("months"),Tn=wn("years");var kn=Math.round,Mn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function On(e,t,n,r){var i=F(e).abs(),o=kn(i.as("s")),s=kn(i.as("m")),a=kn(i.as("h")),l=kn(i.as("d")),u=kn(i.as("M")),c=kn(i.as("w")),i=kn(i.as("y")),o=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||(s<=1?["m"]:s<n.m&&["mm",s])||(a<=1?["h"]:a<n.h&&["hh",a])||(l<=1?["d"]:l<n.d&&["dd",l]);return(o=(o=null!=n.w?o||(c<=1?["w"]:c<n.w&&["ww",c]):o)||(u<=1?["M"]:u<n.M&&["MM",u])||(i<=1?["y"]:["yy",i]))[2]=t,o[3]=0<+e,o[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,o)}var Pn=Math.abs;function xn(e){return(0<e)-(e<0)||+e}function Dn(){var e,t,n,r,i,o,s,a,l,u,c;return this.isValid()?(a=Pn(this._milliseconds)/1e3,l=Pn(this._days),u=Pn(this._months),(c=this.asSeconds())?(e=d(a/60),t=d(e/60),a%=60,e%=60,n=d(u/12),u%=12,r=a?a.toFixed(3).replace(/\.?0+$/,""):"",i=xn(this._months)!==xn(c)?"-":"",o=xn(this._days)!==xn(c)?"-":"",s=xn(this._milliseconds)!==xn(c)?"-":"",(c<0?"-":"")+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(l?o+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+r+"S":"")):"P0D"):this.localeData().invalidDate()}var H=Ft.prototype;return H.isValid=function(){return this._isValid},H.abs=function(){var e=this._data;return this._milliseconds=mn(this._milliseconds),this._days=mn(this._days),this._months=mn(this._months),e.milliseconds=mn(e.milliseconds),e.seconds=mn(e.seconds),e.minutes=mn(e.minutes),e.hours=mn(e.hours),e.months=mn(e.months),e.years=mn(e.years),this},H.add=function(e,t){return gn(this,e,t,1)},H.subtract=function(e,t){return gn(this,e,t,-1)},H.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=h(e))||"quarter"===e||"year"===e)switch(t=this._days+r/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+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},H.asMilliseconds=_e,H.asSeconds=me,H.asMinutes=He,H.asHours=ve,H.asDays=be,H.asWeeks=Ke,H.asMonths=v,H.asQuarters=ge,H.asYears=Ee,H.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},H._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),r.milliseconds=e%1e3,e=d(e/1e3),r.seconds=e%60,e=d(e/60),r.minutes=e%60,e=d(e/60),r.hours=e%24,t+=d(e/24),n+=e=d(bn(t)),t-=yn(vn(e)),e=d(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},H.clone=function(){return F(this)},H.get=function(e){return e=h(e),this.isValid()?this[e+"s"]():NaN},H.milliseconds=ye,H.seconds=we,H.minutes=je,H.hours=y,H.days=En,H.weeks=function(){return d(this.days()/7)},H.months=Sn,H.years=Tn,H.humanize=function(e,t){var n,r;return this.isValid()?(n=!1,r=Mn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Mn,t),null!=t.s)&&null==t.ss&&(r.ss=t.s-1),t=On(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},H.toISOString=Dn,H.toString=Dn,H.toJSON=Dn,H.locale=Jt,H.localeData=Qt,H.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),H.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),_("x",Te),_("X",/[+-]?\d+(\.\d{1,3})?/),E("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),E("x",function(e,t,n){n._d=new Date(f(e))}),p.version="2.29.4",L=N,p.fn=i,p.min=function(){return At("isBefore",[].slice.call(arguments,0))},p.max=function(){return At("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=u,p.unix=function(e){return N(1e3*e)},p.months=function(e,t){return fn(e,t,"months")},p.isDate=Y,p.locale=ft,p.invalid=j,p.duration=F,p.isMoment=l,p.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},p.parseZone=function(){return N.apply(null,arguments).parseZone()},p.localeData=A,p.isDuration=Ht,p.monthsShort=function(e,t){return fn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},p.defineLocale=pt,p.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=B[e]&&null!=B[e].parentLocale?B[e].set(Q(B[e]._config,t)):(t=Q(r=null!=(n=dt(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=B[e],B[e]=r),ft(e)):null!=B[e]&&(null!=B[e].parentLocale?(B[e]=B[e].parentLocale,e===ft()&&ft(e)):null!=B[e]&&delete B[e]),B[e]},p.locales=function(){return te(B)},p.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},p.normalizeUnits=h,p.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==Mn[e]&&(void 0===t?Mn[e]:(Mn[e]=t,"s"===e&&(Mn.ss=t-1),!0))},p.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"},p.prototype=i,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}(),Ar.exports);function Cr(n){let r,i,o=n[13]&&Yr(n);return{c(){r=t("div"),i=t("div"),o&&o.c(),H(i,"class","CasinoGamePageContainer"),O(i,"background","rgba(0, 0, 0, 0.5)"),H(r,"class","GamePageBackground"),O(r,"background",n[22]?"":`url(${n[12].backgroundImageUrl})`),O(r,"background-size","cover")},m(e,t){B(e,r,t),D(r,i),o&&o.m(i,null),n[84](r)},p(e,t){e[13]?o?o.p(e,t):((o=Yr(e)).c(),o.m(i,null)):o&&(o.d(1),o=null),4198400&t[0]&&O(r,"background",e[22]?"":`url(${e[12].backgroundImageUrl})`)},d(e){e&&A(r),o&&o.d(),n[84](null)}}}function Ir(e){let n;return{c(){(n=t("p")).textContent="500 Error - Internal Server Error.",H(n,"class","SearchLoading")},m(e,t){B(e,n,t)},p:d,d(e){e&&A(n)}}}function Rr(e){let n,r,i=e[26]("loading")+"";return{c(){n=t("p"),r=N(i),H(n,"class","SearchLoading")},m(e,t){B(e,n,t),D(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("loading")+"")&&L(r,i)},d(e){e&&A(n)}}}function Yr(e){let n;function r(e){return e[22]?$r:e[6]?Gr:e[7]?void 0:Ur}let i=r(e),o=i&&i(e);return{c(){o&&o.c(),n=G()},m(e,t){o&&o.m(e,t),B(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o&&o.d(e),e&&A(n)}}}function Ur(e){let n;function r(e){return e[14]?Wr:jr}let i=r(e),o=i(e);return{c(){o.c(),n=G()},m(e,t){o.m(e,t),B(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&A(n)}}}function Gr(n){let r,i,o,s,a,l,u,c,h,d,f,p,m,g,y,b,v,_=n[26]("deposit")+"",w="true"===n[1]&&Zr(n);function E(e){return e[19]?qr:Xr}let S=E(n),T=S(n);return{c(){r=t("div"),i=t("div"),o=t("iframe"),a=e(),l=t("div"),u=t("button"),c=N(_),h=e(),d=t("p"),f=t("span"),p=N(n[4]),m=e(),w&&w.c(),g=e(),T.c(),H(o,"title","Games"),H(o,"id","IframeGame"),H(o,"class","GamesContainer"),H(o,"aria-hidden","false"),x(o.src,s=n[12].launchUrl)||H(o,"src",s),H(u,"class","DepositButton"),H(d,"class","Time"),H(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),H(i,"id","IframeGame"),H(i,"style",n[25]),H(r,"id","IframeContainer"),O(r,"width",n[20]),O(r,"height",n[21]),C(r,"FullsScreenLayout",n[19])},m(e,t){B(e,r,t),D(r,i),D(i,o),n[64](o),D(i,a),D(i,l),D(l,u),D(u,c),D(l,h),D(l,d),D(d,f),D(f,p),n[66](d),D(l,m),w&&w.m(l,null),D(l,g),T.m(l,null),n[70](l),n[71](i),n[72](r),b||(v=F(u,"click",n[65]),b=!0)},p(e,t){4096&t[0]&&!x(o.src,s=e[12].launchUrl)&&H(o,"src",s),67108864&t[0]&&_!==(_=e[26]("deposit")+"")&&L(c,_),16&t[0]&&L(p,e[4]),"true"===e[1]?w?w.p(e,t):((w=Zr(e)).c(),w.m(l,g)):w&&(w.d(1),w=null),S===(S=E(e))&&T?T.p(e,t):(T.d(1),(T=S(e))&&(T.c(),T.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&H(l,"class",y),33554432&t[0]&&H(i,"style",e[25]),1048576&t[0]&&O(r,"width",e[20]),2097152&t[0]&&O(r,"height",e[21]),524288&t[0]&&C(r,"FullsScreenLayout",e[19])},d(e){e&&A(r),n[64](null),n[66](null),w&&w.d(),T.d(),n[70](null),n[71](null),n[72](null),b=!1,v()}}}function $r(e){let n;function r(e){return e[6]?Qr:e[15]&&!e[7]?Jr:e[7]?void 0:Kr}let i=r(e),o=i&&i(e);return{c(){o&&o.c(),n=G()},m(e,t){o&&o.m(e,t),B(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o&&o.d(e),e&&A(n)}}}function jr(n){let r,i,o,s,a,l,u,c,h,d,f,p,m,g,y,b,v,_,w=n[12].name+"",E=n[26]("signIn")+"",S=n[26]("register")+"";return{c(){r=t("div"),i=t("h3"),o=N(w),s=e(),a=t("img"),u=e(),c=t("div"),h=t("button"),d=N(E),f=e(),p=t("button"),m=N(S),g=e(),y=t("p"),b=N(n[4]),x(a.src,l=n[12].thumbnail)||H(a,"src",l),H(a,"class","GameThumbnail"),H(a,"alt","game thumbnail"),H(a,"loading","lazy"),H(h,"class","LoginButton"),H(p,"class","RegisterButton"),H(c,"class","ButtonsContainer"),H(r,"class","GameDetails"),H(r,"part","GameDetails")},m(e,t){B(e,r,t),D(r,i),D(i,o),D(r,s),D(r,a),D(r,u),D(r,c),D(c,h),D(h,d),D(c,f),D(c,p),D(p,m),D(r,g),D(r,y),D(y,b),v||(_=[F(h,"click",n[82]),F(p,"click",n[83])],v=!0)},p(e,t){4096&t[0]&&w!==(w=e[12].name+"")&&L(o,w),4096&t[0]&&!x(a.src,l=e[12].thumbnail)&&H(a,"src",l),67108864&t[0]&&E!==(E=e[26]("signIn")+"")&&L(d,E),67108864&t[0]&&S!==(S=e[26]("register")+"")&&L(m,S),16&t[0]&&L(b,e[4])},d(e){e&&A(r),v=!1,P(_)}}}function Wr(n){let r,i,o,s,a,l,u,c,h,d,f,p,m,g,y,b,v,_,w,E=n[26]("signIn")+"",S=n[26]("register")+"";function T(e){return e[19]?zr:Vr}let k=T(n),M=k(n);return{c(){r=t("div"),i=t("div"),o=t("iframe"),a=e(),l=t("div"),u=t("div"),c=t("button"),h=N(E),d=e(),f=t("button"),p=N(S),m=e(),g=t("p"),y=t("span"),b=N(n[4]),v=e(),M.c(),H(o,"title","Games"),H(o,"id","IframeGame"),H(o,"class","GamesContainer"),H(o,"aria-hidden","false"),x(o.src,s=n[12].launchUrl)||H(o,"src",s),H(c,"class","LoginButton"),H(f,"class","RegisterButton"),H(u,"class","ButtonsContainer"),H(g,"class","Time"),H(l,"class","BottomGame"),H(i,"id","IframeGame"),H(i,"style",n[25]),H(r,"id","IframeContainer"),O(r,"width",n[20]),O(r,"height",n[21]),C(r,"FullsScreenLayout",n[19])},m(e,t){B(e,r,t),D(r,i),D(i,o),n[73](o),D(i,a),D(i,l),D(l,u),D(u,c),D(c,h),D(u,d),D(u,f),D(f,p),D(l,m),D(l,g),D(g,y),D(y,b),n[76](g),D(l,v),M.m(l,null),n[79](l),n[80](i),n[81](r),_||(w=[F(c,"click",n[74]),F(f,"click",n[75])],_=!0)},p(e,t){4096&t[0]&&!x(o.src,s=e[12].launchUrl)&&H(o,"src",s),67108864&t[0]&&E!==(E=e[26]("signIn")+"")&&L(h,E),67108864&t[0]&&S!==(S=e[26]("register")+"")&&L(p,S),16&t[0]&&L(b,e[4]),k===(k=T(e))&&M?M.p(e,t):(M.d(1),(M=k(e))&&(M.c(),M.m(l,null))),33554432&t[0]&&H(i,"style",e[25]),1048576&t[0]&&O(r,"width",e[20]),2097152&t[0]&&O(r,"height",e[21]),524288&t[0]&&C(r,"FullsScreenLayout",e[19])},d(e){e&&A(r),n[73](null),n[76](null),M.d(),n[79](null),n[80](null),n[81](null),_=!1,P(w)}}}function Vr(n){let r,i,o;return{c(){(r=t("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',H(r,"class","FullscreenButton")},m(e,t){B(e,r,t),i||(o=F(r,"click",n[78]),i=!0)},p:d,d(e){e&&A(r),i=!1,o()}}}function zr(n){let r,i,o;return{c(){(r=t("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',H(r,"class","FullscreenButton")},m(e,t){B(e,r,t),i||(o=F(r,"click",n[77]),i=!0)},p:d,d(e){e&&A(r),i=!1,o()}}}function Zr(n){let r,i,o,s=n[26]("breakButton")+"";return{c(){r=t("div"),i=t("button"),o=N(s),H(i,"class","Button"),C(i,"PanicButtonAnimation",n[11]),H(r,"class","PanicSection")},m(e,t){B(e,r,t),D(r,i),D(i,o),n[67](i)},p(e,t){67108864&t[0]&&s!==(s=e[26]("breakButton")+"")&&L(o,s),2048&t[0]&&C(i,"PanicButtonAnimation",e[11])},d(e){e&&A(r),n[67](null)}}}function Xr(n){let r,i,o;return{c(){(r=t("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',H(r,"class","FullscreenButton")},m(e,t){B(e,r,t),i||(o=F(r,"click",n[69]),i=!0)},p:d,d(e){e&&A(r),i=!1,o()}}}function qr(n){let r,i,o;return{c(){(r=t("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',H(r,"class","FullscreenButton")},m(e,t){B(e,r,t),i||(o=F(r,"click",n[68]),i=!0)},p:d,d(e){e&&A(r),i=!1,o()}}}function Kr(n){let r,i,o,s,a,l,u,c,h,d,f,p,m,g,y,b,v,_,w=n[12].name+"",E=n[26]("signIn")+"",S=n[26]("register")+"";return{c(){r=t("div"),i=t("h3"),o=N(w),s=e(),a=t("img"),u=e(),c=t("div"),h=t("button"),d=N(E),f=e(),p=t("button"),m=N(S),g=e(),y=t("p"),b=N(n[4]),x(a.src,l=n[12].thumbnail)||H(a,"src",l),H(a,"class","GameThumbnail"),H(a,"alt","game thumbnail"),H(a,"loading","lazy"),H(h,"class","LoginButton"),H(p,"class","RegisterButton"),H(c,"class","ButtonsContainer"),H(r,"class","GameDetails"),H(r,"part","GameDetails")},m(e,t){B(e,r,t),D(r,i),D(i,o),D(r,s),D(r,a),D(r,u),D(r,c),D(c,h),D(h,d),D(c,f),D(c,p),D(p,m),D(r,g),D(r,y),D(y,b),v||(_=[F(h,"click",n[62]),F(p,"click",n[63])],v=!0)},p(e,t){4096&t[0]&&w!==(w=e[12].name+"")&&L(o,w),4096&t[0]&&!x(a.src,l=e[12].thumbnail)&&H(a,"src",l),67108864&t[0]&&E!==(E=e[26]("signIn")+"")&&L(d,E),67108864&t[0]&&S!==(S=e[26]("register")+"")&&L(m,S),16&t[0]&&L(b,e[4])},d(e){e&&A(r),v=!1,P(_)}}}function Jr(n){let r,i,o,s,a,l,u,c,h,d,f,p,m,g,y,b,v,_,w,E,S,T=n[12].name+"",k=n[26]("signIn")+"",M=n[26]("register")+"",O=n[26]("playForFun")+"";return{c(){r=t("div"),i=t("h3"),o=N(T),s=e(),a=t("img"),u=e(),c=t("div"),h=t("button"),d=N(k),f=e(),p=t("button"),m=N(M),g=e(),y=t("button"),b=N(O),v=e(),_=t("p"),w=N(n[4]),x(a.src,l=n[12].thumbnail)||H(a,"src",l),H(a,"class","GameThumbnail"),H(a,"alt","game thumbnail"),H(a,"loading","lazy"),H(h,"class","LoginButton"),H(p,"class","RegisterButton"),H(y,"class","FullWidthButton"),H(c,"class","ButtonsContainer"),H(r,"class","GameDetails")},m(e,t){B(e,r,t),D(r,i),D(i,o),D(r,s),D(r,a),D(r,u),D(r,c),D(c,h),D(h,d),D(c,f),D(c,p),D(p,m),D(c,g),D(c,y),D(y,b),D(r,v),D(r,_),D(_,w),E||(S=[F(h,"click",n[59]),F(p,"click",n[60]),F(y,"click",n[61])],E=!0)},p(e,t){4096&t[0]&&T!==(T=e[12].name+"")&&L(o,T),4096&t[0]&&!x(a.src,l=e[12].thumbnail)&&H(a,"src",l),67108864&t[0]&&k!==(k=e[26]("signIn")+"")&&L(d,k),67108864&t[0]&&M!==(M=e[26]("register")+"")&&L(m,M),67108864&t[0]&&O!==(O=e[26]("playForFun")+"")&&L(b,O),16&t[0]&&L(w,e[4])},d(e){e&&A(r),E=!1,P(S)}}}function Qr(n){let r,i,o,s,a,l,u,c,h,d,f,p,m,g,y,b,v,_,w,E,S=n[12].name+"",T=n[26]("deposit")+"",k=n[26]("playNow")+"",M="true"==n[0]&&ei(n),O="true"===n[1]&&oi(n);return{c(){M&&M.c(),r=e(),i=t("div"),o=t("h3"),s=N(S),a=e(),l=t("img"),c=e(),h=t("div"),d=t("button"),f=N(T),p=e(),m=t("button"),g=N(k),y=e(),O&&O.c(),b=e(),v=t("p"),_=N(n[4]),x(l.src,u=n[12].thumbnail)||H(l,"src",u),H(l,"class","GameThumbnail"),H(l,"alt","game thumbnail"),H(l,"loading","lazy"),H(d,"class","DepositButton"),H(m,"class","PlayNowButton"),H(h,"class","ButtonsContainer"),H(i,"class","GameDetails")},m(e,t){M&&M.m(e,t),B(e,r,t),B(e,i,t),D(i,o),D(o,s),D(i,a),D(i,l),D(i,c),D(i,h),D(h,d),D(d,f),D(h,p),D(h,m),D(m,g),D(i,y),O&&O.m(i,null),D(i,b),D(i,v),D(v,_),w||(E=[F(d,"click",n[56]),F(m,"click",n[57])],w=!0)},p(e,t){"true"==e[0]?M?M.p(e,t):((M=ei(e)).c(),M.m(r.parentNode,r)):M&&(M.d(1),M=null),4096&t[0]&&S!==(S=e[12].name+"")&&L(s,S),4096&t[0]&&!x(l.src,u=e[12].thumbnail)&&H(l,"src",u),67108864&t[0]&&T!==(T=e[26]("deposit")+"")&&L(f,T),67108864&t[0]&&k!==(k=e[26]("playNow")+"")&&L(g,k),"true"===e[1]?O?O.p(e,t):((O=oi(e)).c(),O.m(i,b)):O&&(O.d(1),O=null),16&t[0]&&L(_,e[4])},d(e){M&&M.d(e),e&&A(r),e&&A(i),O&&O.d(),w=!1,P(E)}}}function ei(e){let n;function r(e){return e[8]?ti:ni}let i=r(e),o=i(e);return{c(){o.c(),n=G()},m(e,t){o.m(e,t),B(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&A(n)}}}function ti(e){let n,r,i,o;return{c(){n=t("div"),r=t("div"),i=t("div"),H(n,"class",o="LoaderRipple "+("true"==e[1]?"LoaderWithPanicButton":""))},m(e,t){B(e,n,t),D(n,r),D(n,i)},p(e,t){2&t[0]&&o!==(o="LoaderRipple "+("true"==e[1]?"LoaderWithPanicButton":""))&&H(n,"class",o)},d(e){e&&A(n)}}}function ni(e){let n;function r(e){return e[12].isFavored?ii:ri}let i=r(e),o=i(e);return{c(){o.c(),n=G()},m(e,t){o.m(e,t),B(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&A(n)}}}function ri(n){let r,i,o,s,a,l;return{c(){r=t("div"),i=U("svg"),O(o=U("path"),"fill","var(--emfe-w-color-white, #FFFFFF)"),H(o,"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"),H(i,"version","1.1"),H(i,"class","UnfavoredIcon"),H(i,"xmlns","http://www.w3.org/2000/svg"),H(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),H(i,"x","20px"),H(i,"y","20px"),H(i,"viewBox","0 0 512.001 512.001"),O(i,"enable-background","new 0 0 512.001 512.001"),H(i,"xml:space","preserve"),H(r,"class",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){B(e,r,t),D(r,i),D(i,o),a||(l=F(r,"click",n[55]),a=!0)},p(e,t){2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&H(r,"class",s)},d(e){e&&A(r),a=!1,l()}}}function ii(n){let r,i,o,s,a,l;return{c(){r=t("div"),i=U("svg"),O(o=U("path"),"fill","var(--emfe-w-color-white, #FFFFFF)"),H(o,"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"),H(i,"version","1.1"),H(i,"class","FavoredIcon"),H(i,"part","FavoredIcon"),H(i,"xmlns","http://www.w3.org/2000/svg"),H(i,"viewBox","0 0 19.481 19.481"),H(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),H(i,"enable-background","new 0 0 19.481 19.481"),H(r,"class",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){B(e,r,t),D(r,i),D(i,o),a||(l=F(r,"click",n[54]),a=!0)},p(e,t){2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&H(r,"class",s)},d(e){e&&A(r),a=!1,l()}}}function oi(n){let r,i,o,s=n[26]("breakButton")+"";return{c(){r=t("div"),i=t("button"),o=N(s),H(i,"class","PanicButton "+("PC"!==Pr(n[27])?"PanicButtonMobile":"")),C(i,"PanicButtonAnimation",n[11]),H(r,"class","PanicSection "+("PC"!==Pr(n[27])?"PanicSectionMobile":""))},m(e,t){B(e,r,t),D(r,i),D(i,o),n[58](i)},p(e,t){67108864&t[0]&&s!==(s=e[26]("breakButton")+"")&&L(o,s),2048&t[0]&&C(i,"PanicButtonAnimation",e[11])},d(e){e&&A(r),n[58](null)}}}function si(n){let r;function i(e){return e[10]?Rr:e[9]?Ir:Cr}let o=i(n),s=o(n);return{c(){r=t("div"),s.c(),this.c=d},m(e,t){B(e,r,t),s.m(r,null),n[85](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},i:d,o:d,d(e){e&&A(r),s.d(),n[85](null)}}}function ai(n,e,o){let L;var C,I,R=Mr;n.$$.on_destroy.push(He(R,e=>o(26,L=e)));let Y,t,s,r,U,i,a,l,u,G,$,c,h,j,W,d,f,p,m,{endpoint:g=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:v=""}=e,{clientstyling:_=""}=e,{clientstylingurl:w=""}=e,{translationurl:E=""}=e,{favorites:V=""}=e,{loginurl:S=""}=e,{registerurl:z=""}=e,{depositurl:Z=""}=e,{loginevent:T=""}=e,{registerevent:k=""}=e,{depositevent:X=""}=e,{clockformat:q=""}=e,{haspanicbutton:K="false"}=e,{playforfun:J="true"}=e,{checksession:Q="true"}=e,{integratedgameframedesktop:M="false"}=e,{integratedgameframemobile:ee="false"}=e,{gameid:te=""}=e,O=!1,ne=!1,P=!1,re=!1,x=!0,ie=!1,oe=0,D=!1,se=!1,ae=!1,le=!0,B=!1,A=window.navigator.userAgent,ue=!1,ce=[],he=!1,de="false",fe;({withLocale:C,translations:I}={withLocale:"en",translations:{}}),Fe.subscribe(e=>{null==e&&(Xn.set(I),Fe.set(C))}),Object.keys(Dr).forEach(e=>{xr(e,Dr[e])});const pe=e=>{var t=new URL(e.launchUrl);return t.searchParams.append("language",y),s&&0<s.length&&(o(6,O=!0),t.searchParams.append("_sid",s),t.searchParams.append("funMode","false")),e.launchUrl=t,e},me=(e,t)=>{e=new URL(g+"/v1/casino/games/"+e);e.searchParams.append("language",y),e.searchParams.append("expand","vendor"),le=t||!1,fetch(e.href).then(e=>e.json()).then(e=>{o(12,i=pe(e[0])),o(10,x=!1),i.launchUrl&&(o(12,i.isFavored=we(i,i.hasFunMode),i),o(8,P=!1))},e=>{console.error("There was an error",e),o(9,re=!0)}).then(()=>{a&&(le||(o(20,G=i.width),o(21,$=i.height),j=i.width+"px",W=i.height+"px",c=i.width,h=i.height),Se())}).finally(()=>{o(10,x=!1)}),window.postMessage({type:"RequestModalSize"},window.location.href)},ge=()=>{null!=r&&r.addEventListener("mousedown",De,!1),null!=r&&r.addEventListener("touchstart",De,!1),null!=r&&r.addEventListener("mouseup",Be,!1),null!=r&&r.addEventListener("touchend",Be,!1)},ye=()=>{o(11,ie=!1),null!=r&&r.removeEventListener("mousedown",De),null!=r&&r.removeEventListener("touchstart",De),null!=r&&r.removeEventListener("mouseup",Be),null!=r&&r.removeEventListener("touchend",Be)},be=e=>{switch(e.data.type){case"GameLaunchID":me(e.data.gameId,!0);break;case"LaunchGameFrame":Ee(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":"false"==M&&!Or(A)||(window.postMessage({type:"EnableScroll"},window.location.href),o(53,de="false"),ye(),Or(A)?setTimeout(()=>{o(13,D="true"===ee)},500):setTimeout(()=>{o(13,D="true"===M)},500));break;case"UserSessionID":if(0<e.data.session.length){s=e.data.session,e.data.userID,o(6,O=!0);let t=setInterval(()=>{var e;i&&((e=new URL(i.launchUrl)).searchParams.get("_sid")||e.searchParams.append("_sid",s),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),o(12,i.launchUrl=e,i),clearInterval(t))},250)}break;case"ModalSize":o(20,G=e.data.modalContainerSize.modalWidth),o(21,$=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ce=e.data.receivedFavoriteResults.items,i)&&i.id&&(o(12,i.isFavored=ve(i.id),i),o(8,P=!1))}},ve=t=>-1!==ce.findIndex(e=>e.id==t),_e=e=>{var t="gamepage";i.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href),o(12,i.isFavored=!1,i)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href),o(12,i.isFavored=!0,i))},we=(e,t)=>(o(15,ae="true"==J&&e.hasAnonymousFunMode),o(14,se="true"==J&&t),o(13,D=!0),ve(e.id)),Ee=(e,t)=>{e=new URL(g+"/v1/casino/games/"+e);e.searchParams.append("language",y),fetch(e.href).then(e=>e.json()).then(e=>{o(12,i=pe(e[0])),o(10,x=!1),i.launchUrl&&(o(12,i.isFavored=we(i,t),i),o(8,P=!1))}).finally(()=>{o(10,x=!1)})},Se=()=>{var e=getComputedStyle(a),e=(getComputedStyle(l),parseInt(e.width.slice(0,-2)),parseInt(e.height.slice(0,-2)),i.width/(i.height+100));c=parseInt(i.width)*e,h=parseInt(i.height),j=c?Math.floor(c)+"px":"1280px",W=h?Math.floor(h)+"px":"720px",Ae()},Te=e=>{if(!he)return Or(A)?ke(ee):ke(M);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};Hr("OPEN_GAME",e)},ke=e=>{"false"==e?window.open(i.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:i.id},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Me=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:D},window.location.href),D&&(a&&Se(),window.addEventListener("ModalSize",be,!1))},N=()=>{T&&"false"==M&&!Or(A)?window.postMessage({type:T,transition:"Login"},window.location.href):T&&(window.postMessage({type:T,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),S&&(window.location=S),"function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},F=()=>{k&&"false"==M&&!Or(A)?window.postMessage({type:k,transition:"Register"},window.location.href):k&&(window.postMessage({type:k,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),z&&(window.location=z),"function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},Oe=()=>{X&&(window.postMessage({type:X},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag)&&gtag("event","GoToDeposit",{context:"GamePage"}),Z&&(window.location=Z)};function Pe(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!B||H()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Pe,!1),document.addEventListener("mozfullscreenchange",Pe,!1),document.addEventListener("fullscreenchange",Pe,!1),document.addEventListener("MSFullscreenChange",Pe,!1));const H=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(B?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),o(19,B=!1)):(a.requestFullscreen?a.requestFullscreen():a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen&&a.msRequestFullscreen(),o(19,B=!0)))},xe=(setInterval(()=>{o(4,Y=q?Lr().format(q):Lr().format("LTS"))},100),()=>{var r,i;"true"==Q?(r=g,i=b,new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",i),Ce(r+"/v1/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{s=e.Guid,e.UserID,o(6,O=!0)},e=>{o(6,O=!1),console.error("err on session",e)})):(s=b,o(6,O=!0))}),De=e=>{oe=0,U=setInterval(()=>{oe+=1,o(11,ie=!0),3<=oe&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(U))},1e3)},Be=e=>{oe<3&&o(11,ie=!1),clearInterval(U)},Ae=()=>{var e=B?"100%":j,t=B?"100%":W,n=B||!le?"none":i.width?Math.floor(i.width)+"px":"1280px",r=B||!le?"none":i.height?Math.floor(i.height)+100+"px":"720px";o(25,fe=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),B||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,r=parseInt(getComputedStyle(a).height);m=m||r*Math.max(n,.5),o(16,a.style.height=m+"px",a),o(17,l.style.height=m+"px",l),e&&o(18,u.style.height=a.style.height+"px",u),t.unobserve(a)},{threshold:0}).observe(a)};return R=()=>{o(7,ne=(b||v)&&!O)},Le().$$.before_update.push(R),Le().$$.on_mount.push(()=>(window.addEventListener("resize",Me,!1),window.addEventListener("message",be,!1),he=!!Fr(A),()=>{ye(),window.removeEventListener("resize",Me),window.removeEventListener("message",be)})),n.$$set=e=>{"endpoint"in e&&o(34,g=e.endpoint),"lang"in e&&o(35,y=e.lang),"session"in e&&o(36,b=e.session),"userid"in e&&o(37,v=e.userid),"clientstyling"in e&&o(38,_=e.clientstyling),"clientstylingurl"in e&&o(39,w=e.clientstylingurl),"translationurl"in e&&o(40,E=e.translationurl),"favorites"in e&&o(0,V=e.favorites),"loginurl"in e&&o(41,S=e.loginurl),"registerurl"in e&&o(42,z=e.registerurl),"depositurl"in e&&o(43,Z=e.depositurl),"loginevent"in e&&o(44,T=e.loginevent),"registerevent"in e&&o(45,k=e.registerevent),"depositevent"in e&&o(46,X=e.depositevent),"clockformat"in e&&o(47,q=e.clockformat),"haspanicbutton"in e&&o(1,K=e.haspanicbutton),"playforfun"in e&&o(48,J=e.playforfun),"checksession"in e&&o(49,Q=e.checksession),"integratedgameframedesktop"in e&&o(50,M=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(51,ee=e.integratedgameframemobile),"gameid"in e&&o(52,te=e.gameid)},n.$$.update=()=>{if(16&n.$$.dirty[1]&&y&&(t=y,Fe.set(t),o(22,ue=Or(A))),2097176&n.$$.dirty[1]&&g&&te&&y&&me(te,!0),104&n.$$.dirty[1]&&b&&v&&g&&xe(),262184&n.$$.dirty[1]&&"false"==Q&&b&&g&&xe(),512&n.$$.dirty[1]&&E&&fetch(E).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{xr(e,t[e])})}).catch(e=>{console.log(e)}),1&n.$$.dirty[0]&&V&&o(8,P=!0),8&n.$$.dirty[0]|128&n.$$.dirty[1]&&_&&d&&((t=document.createElement("style")).innerHTML=_,d.appendChild(t)),8&n.$$.dirty[0]|256&n.$$.dirty[1]&&w&&d){let t=document.createElement("style");var e;w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{d.appendChild(t)},1)}))}var t;4&n.$$.dirty[0]|4194304&n.$$.dirty[1]&&"true"==de&&r&&ge(),4&n.$$.dirty[0]&&r&&ge()},[V,K,r,d,Y,t,O,ne,P,re,x,ie,i,D,se,ae,a,l,u,B,G,$,ue,f,p,"",L,A,_e,Te,N,F,Oe,H,g,y,b,v,_,w,E,S,z,Z,T,k,X,q,J,Q,M,ee,te,de,()=>_e(i.id),()=>_e(i.id),()=>Oe(),()=>{Te(i)},function(e){Ne[e?"unshift":"push"](()=>{r=e,o(2,r)})},()=>N(),()=>F(),()=>{Te(i)},()=>N(),()=>F(),function(e){Ne[e?"unshift":"push"](()=>{t=e,o(5,t)})},()=>Oe(),function(e){Ne[e?"unshift":"push"](()=>{p=e,o(24,p)})},function(e){Ne[e?"unshift":"push"](()=>{r=e,o(2,r)})},()=>H(),()=>H(),function(e){Ne[e?"unshift":"push"](()=>{f=e,o(23,f)})},function(e){Ne[e?"unshift":"push"](()=>{l=e,o(17,l)})},function(e){Ne[e?"unshift":"push"](()=>{a=e,o(16,a)})},function(e){Ne[e?"unshift":"push"](()=>{t=e,o(5,t)})},()=>N(),()=>F(),function(e){Ne[e?"unshift":"push"](()=>{p=e,o(24,p)})},()=>H(),()=>H(),function(e){Ne[e?"unshift":"push"](()=>{f=e,o(23,f)})},function(e){Ne[e?"unshift":"push"](()=>{l=e,o(17,l)})},function(e){Ne[e?"unshift":"push"](()=>{a=e,o(16,a)})},()=>N(),()=>F(),function(e){Ne[e?"unshift":"push"](()=>{u=e,o(18,u)})},function(e){Ne[e?"unshift":"push"](()=>{d=e,o(3,d)})}]}class li extends ee{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoGamePageContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}p{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:60px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100% !important;height:30px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.LoaderRipple{width:80px;height:80px;position:absolute;top:0;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}.LoaderRipple.LoaderWithPanicButton{top:40px}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}",this.shadowRoot.appendChild(t),Q(this,{target:this.shadowRoot,props:function(e){var t={};for(const n of e)t[n.name]=n.value;return t}(this.attributes),customElement:!0},ai,si,I,{endpoint:34,lang:35,session:36,userid:37,clientstyling:38,clientstylingurl:39,translationurl:40,favorites:0,loginurl:41,registerurl:42,depositurl:43,loginevent:44,registerevent:45,depositevent:46,clockformat:47,haspanicbutton:1,playforfun:48,checksession:49,integratedgameframedesktop:50,integratedgameframemobile:51,gameid:52},null,[-1,-1,-1,-1]),e&&(e.target&&B(e.target,this,e.anchor),e.props)&&(this.$set(e.props),f())}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[34]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[35]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[36]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[37]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[38]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[39]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[40]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[41]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[42]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[43]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[44]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[45]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[46]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[47]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[48]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[49]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[50]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[51]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[52]}set gameid(e){this.$$set({gameid:e}),f()}}return customElements.get("casino-game-page")||customElements.define("casino-game-page",li),li});
2
2
  //# sourceMappingURL=casino-game-page.js.map