@everymatrix/casino-games-category-section 0.0.361 → 0.0.362
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function Z(){}function x(e){return e()}function T(){return Object.create(null)}function K(e){e.forEach(x)}function E(e){return"function"==typeof e}function f(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let G,M;function ae(e,t){return(G=G||document.createElement("a")).href=t,e===G.href}function L(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function _e(e,t,n){e.$$.on_destroy.push(L(t,n))}function X(e,t){e.appendChild(t)}function J(e,t,n){e.insertBefore(t,n||null)}function q(e){e.parentNode.removeChild(e)}function k(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function Q(e){return document.createElement(e)}function C(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ee(e){return document.createTextNode(e)}function te(){return ee(" ")}function l(){return ee("")}function ne(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function re(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function w(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:re(e,t,n)}function ie(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function I(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}class t{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=C(t.nodeName):this.e=Q(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)J(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(q)}}function F(e){const t={};for(const n of e)t[n.name]=n.value;return t}function O(e){M=e}function Se(e){!function(){if(M)return M;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const D=[],ve=[],N=[],R=[],A=Promise.resolve();let P=!1;function $(){P||(P=!0,A.then(g))}function xe(){return $(),A}function H(e){N.push(e)}const B=new Set;let U=0;function g(){const e=M;do{for(;U<D.length;){const e=D[U];U++,O(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),K(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(H))}for(O(null),D.length=0,U=0;ve.length;)ve.pop()();for(let e=0;e<N.length;e+=1){const r=N[e];B.has(r)||(B.add(r),r())}}while(N.length=0,D.length);for(;R.length;)R.pop()();P=!1,B.clear(),O(e)}const Y=new Set;function W(r,e,t,n,i,a,o,s=[-1]){var l=M;O(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:T(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:T(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(D.push(e),$(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,K(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const Z=Array.from(a.childNodes);c.fragment&&c.fragment.l(Z),Z.forEach(q)}else c.fragment&&c.fragment.c();e.intro&&(s=r.$$.fragment)&&s.i&&(Y.delete(s),s.i(void 0));{var h=r;o=e.target;t=e.anchor;n=e.customElement;const{fragment:d,on_mount:m,on_destroy:f,after_update:p}=h.$$;d&&d.m(o,t),n||H(()=>{var e=m.map(x).filter(E);f?f.push(...e):K(e),h.$$.on_mount=[]}),p.forEach(H)}g()}O(l)}let j;"function"==typeof HTMLElement&&(j=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(x).filter(E);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){K(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(K(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=Z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var z,V,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,oe="URLSearchParams"in s,se="Symbol"in s&&"iterator"in Symbol,le="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),ce="FormData"in s,ue="ArrayBuffer"in s;function he(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 de(e){return e="string"!=typeof e?String(e):e}function me(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return se&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function fe(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function pe(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function ge(e){var t=new FileReader,n=pe(t);return t.readAsArrayBuffer(e),n}function ye(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function be(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:le&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ce&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:oe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ue&&le&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=ye(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ue&&(ArrayBuffer.prototype.isPrototypeOf(e)||V(e))?this._bodyArrayBuffer=ye(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):oe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},le&&(this.blob=function(){var e=fe(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?fe(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(ge)}),this.text=function(){var e,t,n=fe(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,t=pe(e=new FileReader),e.readAsText(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)},ce&&(this.formData=function(){return this.text().then(Ce)}),this.json=function(){return this.text().then(JSON.parse)},this}ue&&(z=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],V=ArrayBuffer.isView||function(e){return e&&-1<z.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=he(e),t=de(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},c.prototype.delete=function(e){delete this.map[he(e)]},c.prototype.get=function(e){return e=he(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(he(e))},c.prototype.set=function(e,t){this.map[he(e)]=de(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),me(n)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),me(t)},c.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),me(n)},se&&(c.prototype[Symbol.iterator]=c.prototype.entries);var Te=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ee(e,t){if(!(this instanceof Ee))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 Ee){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(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 c(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<Te.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&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 Ce(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 u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}Ee.prototype.clone=function(){return new Ee(this,{body:this._bodyInit})},be.call(Ee.prototype),be.call(u.prototype),u.prototype.clone=function(){return new u(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},u.error=function(){var e=new u(null,{status:0,statusText:""});return e.type="error",e};var Ge=[301,302,303,307,308],Me=(u.redirect=function(e,t){if(-1===Ge.indexOf(t))throw new RangeError("Invalid status code");return new u(null,{status:t,headers:{location:e}})},s.DOMException);try{new Me}catch(Z){(Me=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Me.prototype.constructor=Me}function Le(r,o){return new Promise(function(i,e){var t=new Ee(r,o);if(t.signal&&t.signal.aborted)return e(new Me("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},r=(t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){i(new u(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new Me("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(le?a.responseType="blob":ue&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof c?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,de(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function In(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Le.polyfill=!0,s.fetch||(s.fetch=Le,s.Headers=c,s.Request=Ee,s.Response=u);var ke=self.fetch.bind(self),Ie=function(e,t){return(Ie=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 Fe(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}Ie(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Oe(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 De(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function Ne(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;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 h(e){return"function"==typeof e}function Re(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 Ae=Re(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 a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Oe(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(h(a))try{a()}catch(e){i=e instanceof Ae?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Oe(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{Ue(u)}catch(e){i=null!=i?i:[],e instanceof Ae?i=Ne(Ne([],De(i)),De(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new Ae(i)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ue(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=((r=new n).closed=!0,r);var $e=n,He=$e.EMPTY;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Be(e){return e instanceof $e||e&&"closed"in e&&h(e.remove)&&h(e.add)&&h(e.unsubscribe)}function Ue(e){h(e)?e():e.unsubscribe()}var Ye=void 0,We=!1,je=!1,ze={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=ze.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,Ne([e,t],De(n))):setTimeout.apply(void 0,Ne([e,t],De(n)))},clearTimeout:function(e){var t=ze.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ve(){}var Ze=null;function Ke(e){if(We){var t=!Ze;if(t&&(Ze={errorThrown:!1,error:null}),e(),t){var t=Ze,n=t.errorThrown,t=t.error;if(Ze=null,n)throw t}}else e()}Fe(e,Xe=$e),e.create=function(e,t,n){return new nt(e,t,n)},e.prototype.next=function(e){this.isStopped||this._next(e)},e.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Xe.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(e){this.destination.next(e)},e.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Xe,Je=e,qe=Function.prototype.bind;function e(e){var t=Xe.call(this)||this;return t.isStopped=!1,e?Be(t.destination=e)&&e.add(t):t.destination=ot,t}function Qe(e,t){return qe.call(e,t)}it.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){at(e)}},it.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){at(e)}else at(e)},it.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){at(e)}};var et,tt=it,nt=(Fe(rt,et=Je),rt);function rt(e,t,n){var r=et.call(this)||this,n=h(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&je?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&Qe(e.next,t),error:e.error&&Qe(e.error,t),complete:e.complete&&Qe(e.complete,t)}):e;return r.destination=new tt(n),r}function it(e){this.partialObserver=e}function at(e){var t=e;ze.setTimeout(function(){throw t})}var ot={closed:!0,next:Ve,error:function(e){throw e},complete:Ve},r="function"==typeof Symbol&&Symbol.observable||"@@observable";function st(e){return e}i.prototype.lift=function(e){var t=new i;return t.source=this,t.operator=e,t},i.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Je||r&&h(r.next)&&h(r.error)&&h(r.complete)&&Be(r)?e:new nt(e,t,n);return Ke(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(r,e){var i=this;return new(e=ct(e))(function(e,t){var n=new nt({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},i.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},i.prototype[r]=function(){return this},i.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?st:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},i.prototype.toPromise=function(e){var r=this;return new(e=ct(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},i.create=function(e){return new i(e)};var lt=i;function i(e){e&&(this._subscribe=e)}function ct(e){return null!=(e=null!=e?e:Ye)?e:Promise}var ut,ht,dt,mt=Re(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),r=(Fe(a,dt=lt),a.prototype.lift=function(e){var t=new ft(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new mt},a.prototype.next=function(i){var a=this;Ke(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=Oe(a.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}}}})},a.prototype.error=function(t){var n=this;Ke(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)}})},a.prototype.complete=function(){var t=this;Ke(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},a.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(a.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),a.prototype._trySubscribe=function(e){return this._throwIfClosed(),dt.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?He:(this.currentObservers=null,i.push(e),new $e(function(){t.currentObservers=null,Pe(i,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},a.prototype.asObservable=function(){var e=new lt;return e.source=this,e},a.create=function(e,t){return new ft(e,t)},a),ft=(Fe(bt,ht=r),bt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},bt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},bt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},bt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:He},bt),pt={now:function(){return(pt.delegate||Date).now()},delegate:void 0},gt=(Fe(yt,ut=r),yt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(a.now()+t)),this._trimBuffer(),ut.prototype.next.call(this,e)},yt.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},yt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},yt);function yt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=pt);var r=ut.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 bt(e,t){var n=ht.call(this)||this;return n.destination=e,n.source=t,n}function a(){var e=dt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let vt=[],wt={};const _t=[];function St(r,i=Z){let a;const o=new Set;function s(e){if(f(r,e)&&(r=e,a)){const e=!_t.length;for(const e of o)e[1](),_t.push(e,r);if(e){for(let e=0;e<_t.length;e+=2)_t[e][0](_t[e+1]);_t.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.add(n),1===o.size&&(a=i(s)||Z),e(r),()=>{o.delete(n),0===o.size&&(a(),a=null)}}}}function xt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:St(t,t=>{let n=!1;const r=[];let i=0,a=Z;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),u?t(e):a=E(e)?e:Z)},e=c.map((e,t)=>L(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){K(e),a()}}).subscribe}}function Tt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Et));var t}var Et="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ct(e,t){return!1!==t.clone&&t.isMergeableObject(e)?It(Array.isArray(e)?[]:{},e,t):e}function Gt(e,t,n){return e.concat(t).map(function(e){return Ct(e,n)})}function Mt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Lt(e,t){try{return t in e}catch(e){return!1}}function kt(r,i,a){var o={};return a.isMergeableObject(r)&&Mt(r).forEach(function(e){o[e]=Ct(r[e],a)}),Mt(i).forEach(function(t){var e,n;(!Lt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Lt(r,t)&&a.isMergeableObject(i[t])?o[t]=function(e){if(!e.customMerge)return It;e=e.customMerge(t);return"function"==typeof e?e:It}(a)(r[t],i[t],a):o[t]=Ct(i[t],a))}),o}function It(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Gt,n.isMergeableObject=n.isMergeableObject||Tt,n.cloneUnlessOtherwiseSpecified=Ct;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):kt(e,t,n):Ct(t,n)}It.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return It(e,t,n)},{});throw new Error("first argument should be an array")};var Ft=It,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 Dt(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 p,y,Nt,b=function(){return(b=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 Rt(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;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 At(e){return e.type===y.literal}function Pt(e){return e.type===y.number}function $t(e){return e.type===y.date}function Ht(e){return e.type===y.time}function Bt(e){return e.type===y.select}function Ut(e){return e.type===y.plural}function Yt(e){return e.type===y.tag}function Wt(e){return e&&"object"==typeof e&&e.type===Nt.number}function jt(e){return e&&"object"==typeof e&&e.type===Nt.dateTime}(r=p=p||{})[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG",(r=y=y||{})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",(r=Nt=Nt||{})[r.number=0]="number",r[r.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,zt=/(?:[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 Vt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Zt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Kt=/^(@+)?(\+|#+)?[rs]?$/g,Xt=/(\*)(0+)|(#+)(0+)|(0+)/g,Jt=/^(0+)$/;function qt(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(Kt,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 Qt(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 en(e){return Qt(e)||{}}function tn(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=b(b(b({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return b(b({},e),en(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return b(b({},e),en(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Xt,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Jt.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(Zt.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Zt,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=i.options[0];"w"===a?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=b(b({},o),qt(a)))}else Kt.test(i.stem)?o=b(b({},o),qt(i.stem)):((a=Qt(i.stem))&&(o=b(b({},o),a)),(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)),!Jt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=b(b({},o),r)))}return o}var nn={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 rn=new RegExp("^".concat(r.source,"*")),an=new RegExp("".concat(r.source,"*$"));function v(e,t){return{start:e,end:t}}var r=!!String.prototype.startsWith,on=!!String.fromCodePoint,sn=!!Object.fromEntries,ln=!!String.prototype.codePointAt,cn=!!String.prototype.trimStart,un=!!String.prototype.trimEnd,hn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},dn=!0;try{dn="a"===(null==(Dn=_n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Dn[0])}catch(Z){dn=!1}var mn,fn,pn=r?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},gn=on?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},yn=sn?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},bn=ln?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},vn=cn?function(e){return e.trimStart()}:function(e){return e.replace(rn,"")},wn=un?function(e){return e.trimEnd()}:function(e){return e.replace(an,"")};function _n(e,t){return new RegExp(e,t)}fn=dn?(mn=_n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return mn.lastIndex=t,null!=(t=mn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=bn(e,t);if(void 0===i||Tn(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 gn.apply(void 0,r)};o.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},o.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(p.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&xn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{a=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(a,this.clonePosition())})}}}return{val:r,err:null}},o.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!xn(this.char()))return this.error(p.INVALID_TAG,v(e,this.clonePosition()));var i=this.clonePosition();return r!==this.parseTagName()?this.error(p.UNMATCHED_CLOSING_TAG,v(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(n,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,v(e,this.clonePosition())))}return this.error(p.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(p.INVALID_TAG,v(n,this.clonePosition()))},o.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())},o.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=v(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},o.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(xn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},o.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 gn.apply(void 0,t)},o.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),gn(n))},o.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(p.EMPTY_ARGUMENT,v(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(p.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(p.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},o.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=fn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},o.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(p.EXPECT_ARGUMENT_TYPE,v(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((f=this.parseSimpleArgStyleIfPossible()).err)return f;if(0===(m=wn(f.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var u=v(r,this.clonePosition());if(l&&pn(null==l?void 0:l.style,"::",0)){var h=vn(l.style.slice(2));if("number"===o)return(f=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?f:{val:{type:y.number,value:n,location:u,style:f.val},err:null};if(0===h.length)return this.error(p.EXPECT_DATE_TIME_SKELETON,u);var d=h,m=(this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(nn[t||""]||nn[n||""]||nn["".concat(n,"-001")]||nn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale)),{type:Nt.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},d.replace(zt,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}});return{val:{type:"date"===o?y.date:y.time,value:n,location:u,style:m},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:u,style:null!=(h=null==l?void 0:l.style)?h:null},err:null};case"plural":case"selectordinal":case"select":d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,v(d,b({},d)));this.bumpSpace();var f,m=this.parseIdentifierIfPossible(),u=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(f=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return f;this.bumpSpace(),m=this.parseIdentifierIfPossible(),u=f.val}l=this.tryParsePluralOrSelectOptions(e,o,t,m);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;h=v(r,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:yn(l.val),location:h},err:null}:{val:{type:y.plural,value:n,options:yn(l.val),offset:u,pluralType:"plural"===o?"cardinal":"ordinal",location:h},err:null};default:return this.error(p.INVALID_ARGUMENT_TYPE,v(a,s))}},o.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},o.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(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(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}},o.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(Vt).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:Nt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?tn(n):{}},err:null}},o.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var h=this.tryParseArgumentClose(u);if(h.err)return h;a.push([s,{value:c.val,location:v(u,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===a.length?this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(p.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:a,err:null}},o.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=v(r,this.clonePosition());return i?hn(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},o.prototype.offset=function(){return this.position.offset},o.prototype.isEOF=function(){return this.offset()===this.message.length},o.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},o.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=bn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},o.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},o.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))},o.prototype.bumpIf=function(e){if(pn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},o.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)},o.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}},o.prototype.bumpSpace=function(){for(;!this.isEOF()&&Tn(this.char());)this.bump()},o.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Sn=o;function o(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 xn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Tn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function En(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Sn(e,t).parse();if(e.err)throw(n=SyntaxError(p[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,Bt(e)||Ut(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Pt(e)&&Wt(e.style)||($t(e)||Ht(e))&&jt(e.style)?delete e.style.location:Yt(e)&&n(e.children)})}(e.val),e.val}function Cn(e,t){var n=t&&t.cache?t.cache:Nn,r=t&&t.serializer?t.serializer:kn;return(t&&t.strategy?t.strategy:function(e,t){return Ln(e,this,1===e.length?Gn:Mn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Gn(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 Mn(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 Ln(e,t,n,r,i){return n.bind(t,e,r,i)}var kn=function(){return JSON.stringify(arguments)};function Fn(){this.cache=Object.create(null)}Fn.prototype.get=function(e){return this.cache[e]},Fn.prototype.set=function(e,t){this.cache[e]=t};var On,Dn,Nn={create:function(){return new Fn}},Rn={variadic:function(e,t){return Ln(e,this,Mn,t.cache.create(),t.serializer)},monadic:function(e,t){return Ln(e,this,Gn,t.cache.create(),t.serializer)}};(Dn=On=On||{}).MISSING_VALUE="MISSING_VALUE",Dn.INVALID_VALUE="INVALID_VALUE",Dn.MISSING_INTL_API="MISSING_INTL_API";Dt(Zn,Hn=Error),Zn.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var _,An,Pn,$n,Hn,Bn=Zn,Un=(Dt(Vn,$n=Bn),Vn),Yn=(Dt(zn,Pn=Bn),zn),Wn=(Dt(jn,An=Bn),jn);function jn(e,t){return An.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),On.MISSING_VALUE,t)||this}function zn(e,t,n){return Pn.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),On.INVALID_VALUE,n)||this}function Vn(e,t,n,r){return $n.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),On.INVALID_VALUE,r)||this}function Zn(e,t,n){e=Hn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Kn(e,t,n,r,i,a,o){if(1===e.length&&At(e[0]))return[{type:_.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(At(u))s.push({type:_.literal,value:u.value});else if(u.type===y.pound)"number"==typeof a&&s.push({type:_.literal,value:n.getNumberFormat(t).format(a)});else{var h=u.value;if(!(i&&h in i))throw new Wn(h,o);h=i[h];if(u.type===y.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?_.literal:_.object,value:h});else if($t(u)){var d="string"==typeof u.style?r.date[u.style]:jt(u.style)?u.style.parsedOptions:void 0;s.push({type:_.literal,value:n.getDateTimeFormat(t,d).format(h)})}else if(Ht(u))d="string"==typeof u.style?r.time[u.style]:jt(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:_.literal,value:n.getDateTimeFormat(t,d).format(h)});else if(Pt(u))(d="string"==typeof u.style?r.number[u.style]:Wt(u.style)?u.style.parsedOptions:void 0)&&d.scale&&(h*=d.scale||1),s.push({type:_.literal,value:n.getNumberFormat(t,d).format(h)});else{if(Yt(u)){var m=u.children,f=u.value,p=i[f];if("function"!=typeof p)throw new Yn(f,"function",o);f=p(Kn(m,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),s.push.apply(s,f.map(function(e){return{type:"string"==typeof e?_.literal:_.object,value:e}}))}if(Bt(u)){if(!(g=u.options[h]||u.options.other))throw new Un(u.value,h,Object.keys(u.options),o);s.push.apply(s,Kn(g.value,t,n,r,i))}else if(Ut(u)){if(!(g=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Bn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',On.MISSING_INTL_API,o);var p=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[p]||u.options.other}if(!g)throw new Un(u.value,h,Object.keys(u.options),o);s.push.apply(s,Kn(g.value,t,n,r,i,h-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===_.literal&&t.type===_.literal?n.value+=t.value:e.push(t),e},[])}function Xn(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(r=_=_||{})[r.literal=0]="literal",r[r.object=1]="object",Object.defineProperty(d,"defaultLocale",{get:function(){return d.memoizedDefaultLocale||(d.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),d.memoizedDefaultLocale},enumerable:!1,configurable:!0}),d.memoizedDefaultLocale=null,d.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])},d.__parse=En,d.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 Jn=d;function d(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=d.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===_.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Kn(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=d.resolveLocale(t),"string"==typeof e){if(this.message=e,!d.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=d.__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=d.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?b(b(b({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),r[t]||{}),e},{})):n),e},b({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:Cn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Rt([void 0],t,!1)))},{cache:Xn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Rn.variadic}),getDateTimeFormat:Cn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Rt([void 0],t,!1)))},{cache:Xn(t.dateTime),strategy:Rn.variadic}),getPluralRules:Cn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Rt([void 0],t,!1)))},{cache:Xn(t.pluralRules),strategy:Rn.variadic})}}const m={},qn=(e,t,n)=>n&&(t in m||(m[t]={}),e in m[t]||(m[t][e]=n),n),Qn=(t,n)=>{if(null!=n){if(n in m&&t in m[n])return m[n][t];var r=pr(n);for(let e=0;e<r.length;e++){var i=function(e,n){if(!nr(e))return null;e=function(e){return er[e]||null}(e);{var r=n;if(null==r)return;if(r in e)return e[r];const i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}(r[e],t);if(i)return qn(t,n,i)}}};let er;const tr=St({});function nr(e){return e in er}function rr(t,...n){delete m[t],tr.update(e=>(e[t]=Ft.all([e[t]||{},...n]),e))}xt([tr],([e])=>Object.keys(e)),tr.subscribe(e=>er=e);const ir={};function ar(e){return ir[e]}function or(e){return null!=e&&pr(e).some(e=>{return null==(e=ar(e))?void 0:e.size})}const sr={};function lr(e){if(!or(e))return e in sr?sr[e]:Promise.resolve();const t=pr(e).map(e=>{var t=ar(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return sr[e]=Promise.all(t.map(([e,t])=>{{var r=e;e=t;const n=Promise.all(e.map(e=>{var t=r,n=e;return ir[t].delete(n),0===ir[t].size&&delete ir[t],e().then(e=>e.default||e)}));return n.then(e=>rr(r,...e))}})).then(()=>{if(or(e))return lr(e);delete sr[e]}),sr[e]}function cr(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const ur={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 hr=St(!1);let dr;const mr=St(null);function fr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function pr(e,t=ur.fallbackLocale){e=fr(e);return t?[...new Set([...e,...fr(t)])]:e}function gr(){return null!=dr?dr:void 0}mr.subscribe(e=>{dr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const yr=Object.assign(Object.assign({},mr),{set:t=>{if(t&&function(e){if(null!=e){var t=pr(e);for(let e=0;e<t.length;e++){var n=t[e];if(nr(n))return n}}}(t)&&or(t)){var n=ur["loadingDelay"];let e;return"undefined"!=typeof window&&null!=gr()&&n?e=window.setTimeout(()=>hr.set(!0),n):hr.set(!0),lr(t).then(()=>{mr.set(t)}).finally(()=>{clearTimeout(e),hr.set(!1)})}return mr.set(t)}}),br=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},vr=(e,t)=>{var n=ur["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},wr=br(e=>{var{locale:t,format:n}=e,e=cr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=vr("number",n)),new Intl.NumberFormat(t,e)}),_r=br(e=>{var{locale:t,format:n}=e,e=cr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=vr("date",n):0===Object.keys(e).length&&(e=vr("date","short")),new Intl.DateTimeFormat(t,e)}),Sr=br(e=>{var{locale:t,format:n}=e,e=cr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=vr("time",n):0===Object.keys(e).length&&(e=vr("time","short")),new Intl.DateTimeFormat(t,e)}),xr=br((e,t=gr())=>new Jn(e,t,ur.formats,{ignoreTag:ur.ignoreTag})),Tr=xt([yr,tr],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:a,locale:o=gr(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Qn(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=ur).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!a)return l;let c=l;try{c=xr(l,o).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),we=(xt([yr],()=>(e,t)=>((e={})=>{var{locale:t=gr()}=e,e=cr(e,["locale"]);return Sr(Object.assign({locale:t},e))})(t).format(e)),xt([yr],()=>(e,t)=>((e={})=>{var{locale:t=gr()}=e,e=cr(e,["locale"]);return _r(Object.assign({locale:t},e))})(t).format(e)),xt([yr],()=>(e,t)=>((e={})=>{var{locale:t=gr()}=e,e=cr(e,["locale"]);return wr(Object.assign({locale:t},e))})(t).format(e)),xt([yr,tr],()=>(e,t=gr())=>Qn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==vt.indexOf(e)&&(t=new gt(t),wt[e]=t,vt.push(e)),wt[e]}},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),Er=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Cr={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todo",searchedItems:"Resultado de búsqueda",recentSearchedItems:"Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.",favorites:"Favorito",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.",noFavoritesMobile:"Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.",noFavorites:"Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.",noFavoritesTitle:"Aún no tienes ningún juego favorito.",waiting:"Esperando"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}},Gr={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Hat soeben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function Mr(e,t,n){const r=e.slice();return r[57]=t[n],r}function Lr(e,t,n){const r=e.slice();return r[60]=t[n],r}function kr(n){let a,r,o,i,s,l,c,u,e,h,d,m,f,p,g,y,b,v,w,_,S=n[14],x=[];for(let e=0;e<S.length;e+=1)x[e]=Dr(Lr(n,S,e));let T=n[7],E=[];for(let e=0;e<T.length;e+=1)E[e]=Nr(Mr(n,T,e));return{c(){a=Q("div"),r=Q("div"),o=Q("div");for(let e=0;e<x.length;e+=1)x[e].c();i=te(),s=Q("div"),l=Q("button"),c=C("svg"),u=C("path"),h=te(),d=Q("button"),m=C("svg"),f=C("path"),y=te(),b=Q("div");for(let e=0;e<E.length;e+=1)E[e].c();re(o,"class","WinnerButtonsContainer"),re(u,"style",e=n[8]>=n[7].length?"fill:#F6F6F62E":""),re(u,"id","Path_36"),re(u,"data-name","Path 36"),re(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),re(u,"transform","translate(14.656 0) rotate(90)"),re(u,"fill","#fff"),re(c,"id","Component_46_2"),re(c,"data-name","Component 46 – 2"),re(c,"xmlns","http://www.w3.org/2000/svg"),re(c,"width","15"),re(c,"height","15"),re(c,"viewBox","0 0 16 24.656"),re(l,"class","SliderButton"),re(f,"style",p=n[8]>=n[7].length?"fill:#F6F6F62E":""),re(f,"id","Path_36"),re(f,"data-name","Path 36"),re(f,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),re(f,"transform","translate(0 24.656) rotate(-90)"),re(f,"fill","#fff"),re(m,"id","Component_46_2"),re(m,"data-name","Component 46 – 2"),re(m,"xmlns","http://www.w3.org/2000/svg"),re(m,"width","15"),re(m,"height","15"),re(m,"viewBox","0 0 16 24.656"),re(d,"class","SliderButton"),re(s,"class",g="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),re(r,"class","WinnersHeader"),re(b,"class","WinnersSlider"),re(a,"class",v="CasinoWinners "+(n[9]?"Mobile":""))},m(e,t){J(e,a,t),X(a,r),X(r,o);for(let e=0;e<x.length;e+=1)x[e].m(o,null);X(r,i),X(r,s),X(s,l),X(l,c),X(c,u),X(s,h),X(s,d),X(d,m),X(m,f),X(a,y),X(a,b);for(let e=0;e<E.length;e+=1)E[e].m(b,null);n[38](b),w||(_=[ne(l,"click",n[35]),ne(d,"click",n[36])],w=!0)},p(t,n){if(114755&n[0]){let e;for(S=t[14],e=0;e<S.length;e+=1){var r=Lr(t,S,e);x[e]?x[e].p(r,n):(x[e]=Dr(r),x[e].c(),x[e].m(o,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=S.length}if(384&n[0]&&e!==(e=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&re(u,"style",e),384&n[0]&&p!==(p=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&re(f,"style",p),8&n[0]&&g!==(g="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&re(s,"class",g),435348&n[0]){let e;for(T=t[7],e=0;e<T.length;e+=1){var i=Mr(t,T,e);E[e]?E[e].p(i,n):(E[e]=Nr(i),E[e].c(),E[e].m(b,null))}for(;e<E.length;e+=1)E[e].d(1);E.length=T.length}512&n[0]&&v!==(v="CasinoWinners "+(t[9]?"Mobile":""))&&re(a,"class",v)},d(e){e&&q(a),k(x,e),k(E,e),n[38](null),w=!1,K(_)}}}function Ir(e){let n;return{c(){(n=Q("p")).textContent="Loading, please wait ..."},m(e,t){J(e,n,t)},p:Z,d(e){e&&q(n)}}}function Fr(n){let r,i,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=Q("button"),i=ee(l),re(r,"class",a="WinnersButton "+("recent"==n[6]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){J(e,r,t),X(r,i),o||(s=ne(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ie(i,l),65&t[0]&&a!==(a="WinnersButton "+("recent"==e[6]?"Active":"")+" "+("false"==e[0]?"Off":""))&&re(r,"class",a)},d(e){e&&q(r),o=!1,s()}}}function Or(n){let r,i,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=Q("button"),i=ee(c),a=te(),re(r,"class",o="WinnersButton "+("top"==n[6]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){J(e,r,t),X(r,i),X(r,a),s||(l=ne(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ie(i,c),66&t[0]&&o!==(o="WinnersButton "+("top"==e[6]?"Active":"")+" "+("false"==e[1]?"Off":""))&&re(r,"class",o)},d(e){e&&q(r),s=!1,l()}}}function Dr(e){let n,r,i="recent"==e[60]&&Fr(e),a="top"==e[60]&&Or(e);return{c(){i&&i.c(),n=te(),a&&a.c(),r=l()},m(e,t){i&&i.m(e,t),J(e,n,t),a&&a.m(e,t),J(e,r,t)},p(e,t){"recent"==e[60]?i?i.p(e,t):((i=Fr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[60]?a?a.p(e,t):((a=Or(e)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){i&&i.d(e),e&&q(n),a&&a.d(e),e&&q(r)}}}function Nr(n){let r,i,a,o,s,l,c,u,h,d,m,f,p,g,y,b,v,w,_,S,x,T,E,C,G=n[57].gameName+"",M=n[17](n[57].username)+"",L=n[15]("Translations.won")+"",k=n[57].specifiedCurrencyAmount.toFixed(2)+"",I=(n[4]?n[10]:n[2])+"";function F(){return n[37](n[57])}return{c(){r=Q("div"),i=Q("div"),a=Q("img"),l=te(),c=Q("p"),u=ee(G),h=te(),d=Q("p"),m=ee(M),f=te(),p=Q("p"),g=ee(L),y=te(),b=Q("p"),v=ee(k),w=te(),_=Q("span"),S=ee(I),x=te(),ae(a.src,o=n[57]?.gameModel?.thumbnail)||re(a,"src",o),re(a,"alt",s=n[57]?.gameModel?.thumbnail),re(a,"class","WinnersImage"),re(p,"class","WinnerUsername"),re(i,"class","WinnerCard"),re(r,"class",T="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){J(e,r,t),X(r,i),X(i,a),X(i,l),X(i,c),X(c,u),X(i,h),X(i,d),X(d,m),X(i,f),X(i,p),X(p,g),X(i,y),X(i,b),X(b,v),X(b,w),X(b,_),X(_,S),X(r,x),E||(C=ne(a,"click",F),E=!0)},p(e,t){n=e,128&t[0]&&!ae(a.src,o=n[57]?.gameModel?.thumbnail)&&re(a,"src",o),128&t[0]&&s!==(s=n[57]?.gameModel?.thumbnail)&&re(a,"alt",s),128&t[0]&&G!==(G=n[57].gameName+"")&&ie(u,G),128&t[0]&&M!==(M=n[17](n[57].username)+"")&&ie(m,M),32768&t[0]&&L!==(L=n[15]("Translations.won")+"")&&ie(g,L),128&t[0]&&k!==(k=n[57].specifiedCurrencyAmount.toFixed(2)+"")&&ie(v,k),1044&t[0]&&I!==(I=(n[4]?n[10]:n[2])+"")&&ie(S,I),8192&t[0]&&T!==(T="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&re(r,"class",T)},d(e){e&&q(r),E=!1,C()}}}function Rr(n){let r;function i(e){return e[12]?Ir:kr}let a=i(n),o=a(n);return{c(){r=Q("div"),o.c(),this.c=Z},m(e,t){J(e,r,t),o.m(r,null),n[39](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&q(r),o.d(),n[39](null)}}}function Ar(t,e,a){let n;_e(t,Tr,e=>a(15,n=e));let r,o,i,s,l,c,u,h,d,m,{endpoint:f=""}=e,{session:p=""}=e,{periodrecent:g="Today"}=e,{periodtop:y="Last7Days"}=e,{numberusersrecent:b="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:w="1"}=e,{lang:_="en"}=e,{isrecentavailable:S="true"}=e,{istopavailable:x="true"}=e,{defaultcurrency:T=""}=e,{clientstyling:E=""}=e,{clientstylingurl:C=""}=e,{enableautoscroll:G=""}=e,{tabsorder:M=""}=e,L=[],k=0,I=0,R=window.navigator.userAgent,F=!0,O=!1;Object.keys(Gr).forEach(e=>{rr(e,Gr[e])});const A=()=>{const e=new URL(`${f}/casino/${o}-winners`);e.searchParams.append("limit","recent"==o?b:v),e.searchParams.append("specifiedCurrency",m),e.searchParams.append("period","recent"==o?g:y),e.searchParams.append("language",_),e.searchParams.append("amountLimit",w),fetch(e.href).then(e=>e.json()).then(e=>{a(7,L=[]),a(7,L=e.items.map(e=>e)),a(12,F=!1),setTimeout(()=>{a(8,I=Math.round(r.offsetWidth/225)),$(),"true"==G&&(k=0,I<u?h=setInterval(()=>{N()},3e3):clearInterval(h))})})},D=e=>{o!==e&&(a(6,o=e),a(7,L=[]),A())},P=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},$=n=>{const e=[...r.children];u=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==o?setTimeout(()=>{a(13,O=!0)},10):a(13,O=!1)},H=()=>{$(k)},B=()=>{var e=L.length;I>=L.length||(0===k?k=e-I:k-I<0?k=0:k-=I,H())},N=()=>{var e=L.length;I>=L.length||("true"==G&&(k===e-I?k=0:k++),"false"==G&&(k===e-I?k=0:e-I<k+I?k=e-I:k+=I),H())};return Se(()=>(a(9,i=we(R)),()=>{clearInterval(h)})),t.$$set=e=>{"endpoint"in e&&a(22,f=e.endpoint),"session"in e&&a(23,p=e.session),"periodrecent"in e&&a(24,g=e.periodrecent),"periodtop"in e&&a(25,y=e.periodtop),"numberusersrecent"in e&&a(26,b=e.numberusersrecent),"numberuserstop"in e&&a(27,v=e.numberuserstop),"amountlimit"in e&&a(21,w=e.amountlimit),"lang"in e&&a(28,_=e.lang),"isrecentavailable"in e&&a(0,S=e.isrecentavailable),"istopavailable"in e&&a(1,x=e.istopavailable),"defaultcurrency"in e&&a(2,T=e.defaultcurrency),"clientstyling"in e&&a(29,E=e.clientstyling),"clientstylingurl"in e&&a(30,C=e.clientstylingurl),"enableautoscroll"in e&&a(3,G=e.enableautoscroll),"tabsorder"in e&&a(31,M=e.tabsorder)},t.$$.update=()=>{if(522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&S&&x&&g&&y&&b&&v&&w&&_&&M&&null!=s&&(a(14,d=M.split(",")),a(6,o=d[0]),"false"==S&&a(21,w=""),a(32,m=s?l:T)),4194304&t.$$.dirty[0]&&f&&(r=f,i=p,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),ke(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,a(10,l=e.Currency),a(4,s=!0)},e=>{a(4,s=!1)})),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&f&&m&&G&&A(),268435456&t.$$.dirty[0]&&_&&(e=_,yr.set(e)),536870912&t.$$.dirty[0]&&E){let e=document.createElement("style");e.innerHTML=E,c.appendChild(e)}if(1073741824&t.$$.dirty[0]&&C){let e=new URL(C),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&(setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500))})}var e,r,i},[S,x,T,G,s,r,o,L,I,i,l,c,F,O,d,n,D,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),P,B,N,w,f,p,g,y,b,v,_,E,C,M,m,()=>D("recent"),()=>D("top"),()=>B(),()=>N(),e=>P(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){ve[e?"unshift":"push"](()=>{r=e,a(5,r)})},function(e){ve[e?"unshift":"push"](()=>{c=e,a(11,c)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:192px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:192px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Ar,Rr,f,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&J(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),g()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),g()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),g()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),g()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),g()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),g()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),g()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),g()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),g()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),g()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),g()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),g()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),g()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),g()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),g()}});$r=Pr={path:void 0,exports:{},require:function(e,t){return In(null==t&&Pr.path)}},Pr.exports,$r.exports=function(){var R;function f(){return R.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function A(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function P(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function s(e){return void 0===e}function $(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function H(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function B(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function U(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return It(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 Y(e){if(null==e._isValid){var t=g(e),n=j.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 W(e){var t=c(NaN);return null!=e?U(g(t),e):g(t).userInvalidated=!0,t}var j=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},z=f.momentProperties=[],V=!1;function Z(e,t){var n,r,i,a=z.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=g(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(i=t[r=z[n]])||(e[r]=i);return e}function K(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,f.updateOffset(this),V=!1)}function l(e){return e instanceof K||null!=e&&null!=e._isAMomentObject}function X(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return U(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,a),s){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])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}X(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var J={};function q(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),J[e]||(X(t),J[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=U({},e);for(n in t)p(t,n)&&(A(e[n])&&A(t[n])?(r[n]={},U(r[n],e[n]),U(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)p(e,n)&&!p(t,n)&&A(e[n])&&(r[n]=U({},r[n]));return r}function ee(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function a(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={},ae={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(ae[e]=i),t&&(ae[t[0]]=function(){return a(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,a=i.length;t<a;t++)ae[i[t]]?i[t]=ae[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=u(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function se(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 ce(e){var t,n,r={};for(n in e)p(e,n)&&(t=h(n))&&(r[t]=e[n]);return r}var ue={};function n(e,t){ue[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 m(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?(fe(this,t,e),f.updateOffset(this,n),this):me(this,t)}}function me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&he(e.year())&&1===e.month()&&29===e.date()?(n=m(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),De(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,pe=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,_e=/\d{1,4}/,Se=/[+-]?\d{1,6}/,xe=/\d+/,Te=/[+-]?\d+/,Ee=/Z|[+-]\d\d:?\d\d/gi,Ce=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,n,r){Me[e]=u(n)?n:function(e,t){return e&&r?r:n}}function Ge(e,t){return p(Me,e)?Me[e](t._strict,t._locale):new RegExp(_(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Me={},Le={};function S(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),$(n)&&(i=function(e,t){t[n]=m(e)}),r=e.length,t=0;t<r;t++)Le[e[t]]=i}function ke(e,i){S(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var x,T=0,E=1,C=2,G=3,M=4,L=5,Ie=6,Fe=7,Oe=8;function De(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?he(e)?29:28:31-n%7%2}x=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),w("M",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),S(["M","MM"],function(e,t){t[E]=m(e)-1}),S(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[E]=r:g(n).invalidMonth=e});var Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pe=v,$e=v;function He(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=m(t);else if(!$(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),De(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Be(e){return null!=e?(He(this,e),f.updateOffset(this,!0),this):me(this,"Month")}function Ue(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=c([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=_(n[a]),r[a]=_(r[a]);for(a=0;a<24;a++)i[a]=_(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ye(e){return he(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?a(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),w("Y",Te),w("YY",b,y),w("YYYY",_e,ge),w("YYYYY",Se,ye),w("YYYYYY",Se,ye),S(["YYYYY","YYYYYY"],T),S("YYYY",function(e,t){t[T]=2===e.length?f.parseTwoDigitYear(e):m(e)}),S("YY",function(e,t){t[T]=f.parseTwoDigitYear(e)}),S("Y",function(e,t){t[T]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return m(e)+(68<m(e)?1900:2e3)};var We=de("FullYear",!0);function je(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+ze(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var a,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,i),n=t<=0?Ye(a=e-1)+t:t>Ye(e)?(a=e+1,t-Ye(e)):(a=e,t);return{year:a,dayOfYear:n}}function Ke(e,t,n){var r,i,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+k(i=e.year()-1,t,n):a>k(e.year(),t,n)?(r=a-k(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function k(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(Ye(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("w",b),w("ww",b,y),w("W",b),w("WW",b,y),ke(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=m(e)});function Xe(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),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),ke(["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}),ke(["d","e","E"],function(e,t,n,r){t[r]=m(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="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=[],a=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=_(this.weekdaysMin(r,"")),n=_(this.weekdaysShort(r,"")),r=_(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function at(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(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)+a(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),S(["H","HH"],G),S(["k","kk"],function(e,t,n){e=m(e);t[G]=24===e?0:e}),S(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),S(["h","hh"],function(e,t,n){t[G]=m(e),g(n).bigHour=!0}),S("hmm",function(e,t,n){var r=e.length-2;t[G]=m(e.substr(0,r)),t[M]=m(e.substr(r)),g(n).bigHour=!0}),S("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[G]=m(e.substr(0,r)),t[M]=m(e.substr(r,2)),t[L]=m(e.substr(i)),g(n).bigHour=!0}),S("Hmm",function(e,t,n){var r=e.length-2;t[G]=m(e.substr(0,r)),t[M]=m(e.substr(r))}),S("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[G]=m(e.substr(0,r)),t[M]=m(e.substr(r,2)),t[L]=m(e.substr(i))});v=de("Hours",!0);var st,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ne,monthsShort:Re,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},I={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function ht(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=ut(e[a]).split("-")).length,n=(n=ut(e[a+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--}a++}return st}function dt(t){var e;if(void 0===I[t]&&$r&&$r.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,In(),mt(e)}catch(e){I[t]=null}return I[t]}function mt(e,t){return e&&((t=s(t)?F(e):ft(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function ft(e,t){if(null===t)return delete I[e],null;var n,r=lt;if(t.abbr=e,null!=I[e])q("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=I[e]._config;else if(null!=t.parentLocale)if(null!=I[t.parentLocale])r=I[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return I[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){ft(e.name,e.config)}),mt(e),I[e]}function F(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=dt(e))return t;e=[e]}return ht(e)}function pt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[E]<0||11<t[E]?E:t[C]<1||t[C]>De(t[T],t[E])?C:t[G]<0||24<t[G]||24===t[G]&&(0!==t[M]||0!==t[L]||0!==t[Ie])?G:t[M]<0||59<t[M]?M:t[L]<0||59<t[L]?L:t[Ie]<0||999<t[Ie]?Ie:-1,g(e)._overflowDayOfYear&&(t<T||C<t)&&(t=C),g(e)._overflowWeeks&&-1===t&&(t=Fe),g(e)._overflowWeekday&&-1===t&&(t=Oe),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]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_t=/^\/?Date\((-?\d+)/i,St=/^(?:(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}))$/,xt={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,a,o,s=e._i,l=gt.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(g(e).iso=!0,t=0,n=s;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=c;t<n;t++)if(wt[t][1].exec(l[3])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Lt(e)}else e._isValid=!1}function Et(e,t,n,r,i,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Re.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&e.push(parseInt(a,10)),e}function Ct(e){var t,n,r,i,a=St.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Et(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&qe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=a[8],r=a[9],i=a[10],n?xt[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Gt(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,r,i,a,o,s,l,c,u,h,d=[];if(!e._d){for(u=e,h=new Date(f.now()),n=u._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[C]&&null==e._a[E]&&(null!=(h=(u=e)._w).GG||null!=h.W||null!=h.E?(o=1,s=4,r=Gt(h.GG,u._a[T],Ke(O(),1,4).year),i=Gt(h.W,1),((a=Gt(h.E,1))<1||7<a)&&(l=!0)):(o=u._locale._week.dow,s=u._locale._week.doy,c=Ke(O(),o,s),r=Gt(h.gg,u._a[T],c.year),i=Gt(h.w,c.week),null!=h.d?((a=h.d)<0||6<a)&&(l=!0):null!=h.e?(a=h.e+o,(h.e<0||6<h.e)&&(l=!0)):a=o),i<1||i>k(r,o,s)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=Ze(r,i,a,o,s),u._a[T]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(h=Gt(e._a[T],n[T]),(e._dayOfYear>Ye(h)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=ze(h,0,e._dayOfYear),e._a[E]=l.getUTCMonth(),e._a[C]=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[G]&&0===e._a[M]&&0===e._a[L]&&0===e._a[Ie]&&(e._nextDay=!0,e._a[G]=0),e._d=(e._useUTC?ze:je).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[G]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==f.ISO_8601)if(e._f!==f.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r,i=""+e._i,a=i.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(i.match(Ge(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),o+=t.length),ae[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),h=r,m=e,null!=(d=t)&&p(Le,h)&&Le[h](d,m._a,m,h)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=a-o,0<i.length&&g(e).unusedInput.push(i),e._a[G]<=12&&!0===g(e).bigHour&&0<e._a[G]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[G]=(a=e._locale,c=e._a[G],null==(u=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,u):null!=a.isPM?((a=a.isPM(u))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[T]=e._locale.erasConvertYear(u,e._a[T])),Mt(e),pt(e)}else Ct(e);else Tt(e);var c,u,h,d,m}function kt(e){var t,n=e._i,r=e._f;{var i,a;if(e._locale=e._locale||F(e._l),null===n||void 0===r&&""===n)return W({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new K(pt(n)):(H(n)?e._d=n:o(r)?function(e){var t,n,r,i,a,o,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)a=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Lt(t),Y(t)&&(o=!0),a=(a+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));U(e,n||t)}(e):r?Lt(e):s(r=(n=e)._i)?n._d=new Date(f.now()):H(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(a=_t.exec(i._i))?(Tt(i),!1===i._isValid&&(delete i._isValid,Ct(i),!1===i._isValid&&(delete i._isValid,i._strict?i._isValid=!1:f.createFromInputFallback(i)))):i._d=new Date(+a[1])):o(r)?(n._a=B(r.slice(0),function(e){return parseInt(e,10)}),Mt(n)):A(r)?(i=n)._d||(t=void 0===(a=ce(i._i)).day?a.date:a.day,i._a=B([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),Mt(i)):$(r)?n._d=new Date(r):f.createFromInputFallback(n),Y(e)||(e._d=null),e)}}function It(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(A(e)&&P(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(i=new K(pt(kt(i=a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function O(e,t,n,r){return It(e,t,n,r,!1)}f.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":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=O.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:W()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=O.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:W()});function Ft(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return O();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Dt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Ot.length;for(t in e)if(p(e,t)&&(-1===x.call(Ot,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Ot[n]]){if(r)return!1;parseFloat(e[Ot[n]])!==m(e[Ot[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=F(),this._bubble()}function Nt(e){return e instanceof Dt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}At("Z",":"),At("ZZ",""),w("Z",Ce),w("ZZ",Ce),S(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=$t(Ce,e)});var Pt=/([\+\-]|\d\d)/gi;function $t(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Pt)||["-",0,0])[1]+m(e[2]))?0:"+"===e[0]?t:-t}function Ht(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||H(e)?e:O(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),f.updateOffset(t,!1),t):O(e).local()}function Bt(e){return-Math.round(e._d.getTimezoneOffset())}function Ut(){return!!this.isValid()&&this._isUTC&&0===this._offset}f.updateOffset=function(){};var Yt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function D(e,t){var n,r,i=e,a=null;return Nt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:$(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Yt.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:m(a[C])*n,h:m(a[G])*n,m:m(a[M])*n,s:m(a[L])*n,ms:m(Rt(1e3*a[Ie]))*n}):(a=Wt.exec(e))?(n="-"===a[1]?-1:1,i={y:jt(a[2],n),M:jt(a[3],n),w:jt(a[4],n),d:jt(a[5],n),h:jt(a[6],n),m:jt(a[7],n),s:jt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=O(i.from),a=O(i.to),n=t.isValid()&&a.isValid()?(a=Ht(a,t),t.isBefore(a)?r=zt(t,a):((r=zt(a,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),a=new Dt(i),Nt(e)&&p(e,"_locale")&&(a._locale=e._locale),Nt(e)&&p(e,"_isValid")&&(a._isValid=e._isValid),a}function jt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(q(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,D(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(r=null==r||r,t&&He(e,me(e,"Month")+t*n),a&&fe(e,"Date",me(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&f.updateOffset(e,a||t))}D.fn=Dt.prototype,D.invalid=function(){return D(NaN)};Ne=Vt(1,"add"),Je=Vt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Xt(e){return l(e)||H(e)||Kt(e)||$(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!$(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=A(e)&&!P(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],i=i||p(e,n);return r&&i}(e)||null==e;var t,n,r}function Jt(e,t){if(e.date()<t.date())return-Jt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function qt(e){return void 0===e?this._locale._abbr:(null!=(e=F(e))&&(this._locale=e),this)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(_(i[a].name)),e.push(_(i[a].abbr)),n.push(_(i[a].narrow)),r.push(_(i[a].name)),r.push(_(i[a].abbr)),r.push(_(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function sn(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var a;return null==e?Ke(this,r,i).year:(t>(a=k(e,r,i))&&(t=a),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=ze(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"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),S(["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}),w("y",xe),w("yy",xe),w("yyy",xe),w("yyyy",xe),w("yo",function(e,t){return t._eraYearOrdinalRegex||xe}),S(["y","yy","yyy","yyyy"],T),S(["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}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",Te),w("g",Te),w("GG",b,y),w("gg",b,y),w("GGGG",_e,ge),w("gggg",_e,ge),w("GGGGG",Se,ye),w("ggggg",Se,ye),ke(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=m(e)}),ke(["gg","GG"],function(e,t,n,r){t[r]=f.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",i),S("Q",function(e,t){t[E]=3*(m(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),S(["D","DD"],C),S("Do",function(e,t){t[C]=m(e.match(b)[0])});_e=de("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",pe),S(["DDD","DDDD"],function(e,t,n){n._dayOfYear=m(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),S(["m","mm"],M);ge=de("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),S(["s","ss"],L);var cn,Se=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),w("S",we,i),w("SS",we,y),w("SSS",we,pe),cn="SSSS";cn.length<=9;cn+="S")w(cn,xe);function un(e,t){t[Ie]=m(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")S(cn,un);ye=de("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=K.prototype;function hn(e){return e}i.add=Ne,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=A(e)&&!P(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||p(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||O(),n=Ht(e,this).startOf("day"),n=f.calendarFormat(this,n)||"sameElse",t=t&&(u(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,O(e)))},i.clone=function(){return new K(this)},i.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Ht(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=h(t)){case"year":a=Jt(this,r)/12;break;case"month":a=Jt(this,r);break;case"quarter":a=Jt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:d(a)},i.endOf=function(e){var t,n;if(void 0===(e=h(e))||"millisecond"===e||!this.isValid())return this;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}return this._d.setTime(t),f.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||O(e).isValid())?D({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(O(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||O(e).isValid())?D({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(O(),e)},i.get=function(e){return u(this[e=h(e)])?this[e]():this},i.invalidAt=function(){return g(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:O(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:O(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:O(e),t=l(t)?t:O(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:O(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 Y(this)},i.lang=Qe,i.locale=qt,i.localeData=Qt,i.max=ve,i.min=be,i.parsingFlags=function(){return U({},g(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(u(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())return this;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)}return this._d.setTime(t),f.updateOffset(this,!0),this},i.subtract=Je,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){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},i.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"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()-f(n[r].since).year())*e+n[r].offset;return this.year()},i.year=We,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=Be,i.daysInMonth=function(){return De(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=Ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return k(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return k(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return k(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return k(this.isoWeekYear(),1,4)},i.date=_e,i.day=i.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},i.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},i.isoWeekday=function(e){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;var t,n},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=Se,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:Bt(this);if("string"==typeof e){if(null===(e=$t(Ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Bt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,D(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.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(Bt(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=$t(Ee,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?O(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=Ut,i.isUTC=Ut,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.",_e),i.months=e("months accessor is deprecated. Use month instead",Be),i.years=e("years accessor is deprecated. Use year instead",We),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(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=kt(t))._a?(e=(t._isUTC?c:O)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&m(e[o])!==m(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function dn(e,t,n,r){var i=F(),r=c().set(r,t);return i[n](r,e)}function mn(e,t,n){if($(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 fn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),$(t)&&(n=t,t=void 0),t||"");var i,a=F(),o=e?a._week.dow:0,s=[];if(null!=n)return dn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=dn(t,(i+o)%7,r,"day");return s}y.calendar=function(e,t,n){return u(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 u(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(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)p(e,n)&&(u(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||F("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=f(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=f(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return p(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Ae).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Ae.test(t)?"format":"standalone"])[e.month()]:o(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,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=x.call(this._shortMonthsParse,e))?i:null:-1!==(i=x.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=x.call(this._shortMonthsParse,e))||-1!==(i=x.call(this._longMonthsParse,e))?i:null:-1!==(i=x.call(this._longMonthsParse,e))||-1!==(i=x.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=c([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?(p(this,"_monthsRegex")||Ue.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=$e),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ue.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Pe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ke(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Xe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Xe(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,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=x.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=x.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=x.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=x.call(this._weekdaysParse,e))||-1!==(i=x.call(this._shortWeekdaysParse,e))||-1!==(i=x.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=x.call(this._shortWeekdaysParse,e))||-1!==(i=x.call(this._weekdaysParse,e))||-1!==(i=x.call(this._minWeekdaysParse,e))?i:null:-1!==(i=x.call(this._minWeekdaysParse,e))||-1!==(i=x.call(this._weekdaysParse,e))||-1!==(i=x.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=c([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?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},mt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===m(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=e("moment.lang is deprecated. Use moment.locale instead.",mt),f.langData=e("moment.langData is deprecated. Use moment.localeData instead.",F);var pn=Math.abs;function gn(e,t,n,r){t=D(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 wn(e){return function(){return this.as(e)}}we=wn("ms"),pe=wn("s"),Ne=wn("m"),ve=wn("h"),be=wn("d"),Je=wn("w"),v=wn("M"),ge=wn("Q"),Se=wn("y");function _n(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=_n("milliseconds"),_e=_n("seconds"),We=_n("minutes"),y=_n("hours"),Sn=_n("days"),xn=_n("months"),Tn=_n("years");var En=Math.round,Cn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(e,t,n,r){var i=D(e).abs(),a=En(i.as("s")),o=En(i.as("m")),s=En(i.as("h")),l=En(i.as("d")),c=En(i.as("M")),u=En(i.as("w")),i=En(i.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(a=(a=null!=n.w?a||u<=1&&["w"]||u<n.w&&["ww",u]:a)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,a[3]=0<+e,a[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,a)}var Mn=Math.abs;function Ln(e){return(0<e)-(e<0)||+e}function kn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s=Mn(this._milliseconds)/1e3,l=Mn(this._days),c=Mn(this._months),u=this.asSeconds();return u?(e=d(s/60),t=d(e/60),s%=60,e%=60,n=d(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=Ln(this._months)!==Ln(u)?"-":"",a=Ln(this._days)!==Ln(u)?"-":"",o=Ln(this._milliseconds)!==Ln(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}var N=Dt.prototype;return N.isValid=function(){return this._isValid},N.abs=function(){var e=this._data;return this._milliseconds=pn(this._milliseconds),this._days=pn(this._days),this._months=pn(this._months),e.milliseconds=pn(e.milliseconds),e.seconds=pn(e.seconds),e.minutes=pn(e.minutes),e.hours=pn(e.hours),e.months=pn(e.months),e.years=pn(e.years),this},N.add=function(e,t){return gn(this,e,t,1)},N.subtract=function(e,t){return gn(this,e,t,-1)},N.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)}},N.asMilliseconds=we,N.asSeconds=pe,N.asMinutes=Ne,N.asHours=ve,N.asDays=be,N.asWeeks=Je,N.asMonths=v,N.asQuarters=ge,N.asYears=Se,N.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*m(this._months/12):NaN},N._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},N.clone=function(){return D(this)},N.get=function(e){return e=h(e),this.isValid()?this[e+"s"]():NaN},N.milliseconds=ye,N.seconds=_e,N.minutes=We,N.hours=y,N.days=Sn,N.weeks=function(){return d(this.days()/7)},N.months=xn,N.years=Tn,N.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Cn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Cn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Gn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},N.toISOString=kn,N.toString=kn,N.toJSON=kn,N.locale=qt,N.localeData=Qt,N.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",kn),N.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",Te),w("X",/[+-]?\d+(\.\d{1,3})?/),S("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),S("x",function(e,t,n){n._d=new Date(m(e))}),f.version="2.29.3",R=O,f.fn=i,f.min=function(){return Ft("isBefore",[].slice.call(arguments,0))},f.max=function(){return Ft("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=c,f.unix=function(e){return O(1e3*e)},f.months=function(e,t){return mn(e,t,"months")},f.isDate=H,f.locale=mt,f.invalid=W,f.duration=D,f.isMoment=l,f.weekdays=function(e,t,n){return fn(e,t,n,"weekdays")},f.parseZone=function(){return O.apply(null,arguments).parseZone()},f.localeData=F,f.isDuration=Nt,f.monthsShort=function(e,t){return mn(e,t,"monthsShort")},f.weekdaysMin=function(e,t,n){return fn(e,t,n,"weekdaysMin")},f.defineLocale=ft,f.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=I[e]&&null!=I[e].parentLocale?I[e].set(Q(I[e]._config,t)):(t=Q(r=null!=(n=dt(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=I[e],I[e]=r),mt(e)):null!=I[e]&&(null!=I[e].parentLocale?(I[e]=I[e].parentLocale,e===mt()&&mt(e)):null!=I[e]&&delete I[e]),I[e]},f.locales=function(){return te(I)},f.weekdaysShort=function(e,t,n){return fn(e,t,n,"weekdaysShort")},f.normalizeUnits=h,f.relativeTimeRounding=function(e){return void 0===e?En:"function"==typeof e&&(En=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==Cn[e]&&(void 0===t?Cn[e]:(Cn[e]=t,"s"===e&&(Cn.ss=t-1),!0))},f.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"},f.prototype=i,f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},f}();var Pr,$r,Hr=Pr.exports;const Br={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Ur={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function Yr(e,t,n){const r=e.slice();return r[105]=t[n],r[107]=n,r}function Wr(e,t,n){const r=e.slice();return r[102]=t[n],r}function jr(e){let n,r=!we(e[36])&&!e[0]&&e[13],i=r&&zr(e);return{c(){i&&i.c(),n=l()},m(e,t){i&&i.m(e,t),J(e,n,t)},p(e,t){(r=8193&t[0]?!we(e[36])&&!e[0]&&e[13]:r)?i?i.p(e,t):((i=zr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&q(n)}}}function zr(n){let r,i,a;return{c(){(r=Q("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){J(e,r,t),i||(a=ne(r,"click",n[64]),i=!0)},p:Z,d(e){e&&q(r),i=!1,a()}}}function Vr(e){let n;return{c(){(n=Q("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(n,"class","FavIconContainer"),re(n,"part","FavIconContainer")},m(e,t){J(e,n,t)},p:Z,d(e){e&&q(n)}}}function Zr(n){let r,i,a;return{c(){(r=Q("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){J(e,r,t),i||(a=ne(r,"click",n[66]),i=!0)},p:Z,d(e){e&&q(r),i=!1,a()}}}function Kr(e){let n,r,i=e[35]("gameThumbnail.new")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","GameExtraInfoLabel NewGameTag"),re(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){J(e,n,t),X(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.new")+"")&&ie(r,i)},d(e){e&&q(n)}}}function Xr(e){let n,r,i=e[35]("gameThumbnail.hot")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","GameExtraInfoLabel PopularGameTag"),re(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){J(e,n,t),X(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.hot")+"")&&ie(r,i)},d(e){e&&q(n)}}}function Jr(e){let n,r,i=!e[22]&&e[20]&&e[21]&&qr(e);function a(e){return e[22]&&e[19]&&e[19]===ui?ei:e[22]&&e[19]&&e[19]===hi?Qr:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=te(),s&&s.c(),r=l()},m(e,t){i&&i.m(e,t),J(e,n,t),s&&s.m(e,t),J(e,r,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):((i=qr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&q(n),s&&s.d(e),e&&q(r)}}}function qr(e){let n,r,i,a,o,s,l,c,u,h,d=e[35]("gameThumbnail.opens")+"",m=Hr.utc(e[20]).local().format(e[21])+"",f=e[45](e[34])+"",p=e[44](e[26],e[27],e[25])+"";return{c(){n=Q("div"),r=Q("div"),i=ee(d),a=te(),o=Q("span"),s=ee(m),l=te(),c=new t(!1),u=te(),h=new t(!1),re(r,"class","ClosedGame"),re(r,"part","ClosedGame"),c.a=u,h.a=null,re(n,"class","GameProp LiveProps"),re(n,"part","GameProp LiveProps")},m(e,t){J(e,n,t),X(n,r),X(r,i),X(r,a),X(r,o),X(o,s),X(n,l),c.m(f,n),X(n,u),h.m(p,n)},p(e,t){16&t[1]&&d!==(d=e[35]("gameThumbnail.opens")+"")&&ie(i,d),3145728&t[0]&&m!==(m=Hr.utc(e[20]).local().format(e[21])+"")&&ie(s,m),8&t[1]&&f!==(f=e[45](e[34])+"")&&c.p(f),234881024&t[0]&&p!==(p=e[44](e[26],e[27],e[25])+"")&&h.p(p)},d(e){e&&q(n)}}}function Qr(n){let r,i,a,o,s,l,c=n[45](n[34])+"",u=n[44](n[26],n[27],n[25])+"",h=new Array(mi),d=[];for(let e=0;e<h.length;e+=1)d[e]=ii(Yr(n,h,e));return{c(){r=Q("div"),i=Q("div");for(let e=0;e<d.length;e+=1)d[e].c();a=te(),o=new t(!1),s=te(),l=new t(!1),re(i,"class","LiveIcons"),re(i,"part","LiveIcons"),o.a=s,l.a=null,re(r,"class",n[30]),re(r,"part",n[30])},m(e,t){J(e,r,t),X(r,i);for(let e=0;e<d.length;e+=1)d[e].m(i,null);n[67](i),X(r,a),o.m(c,r),X(r,s),l.m(u,r)},p(t,n){if(536872960&n[0]|32769&n[1]){let e;for(h=new Array(mi),e=0;e<h.length;e+=1){const o=Yr(t,h,e);d[e]?d[e].p(o,n):(d[e]=ii(o),d[e].c(),d[e].m(i,null))}for(;e<d.length;e+=1)d[e].d(1);d.length=h.length}8&n[1]&&c!==(c=t[45](t[34])+"")&&o.p(c),234881024&n[0]&&u!==(u=t[44](t[26],t[27],t[25])+"")&&l.p(u),1073741824&n[0]&&re(r,"class",t[30]),1073741824&n[0]&&re(r,"part",t[30])},d(e){e&&q(r),k(d,e),n[67](null)}}}function ei(e){let n,r,i,a,o,s,l=e[45](e[34])+"",c=e[44](e[26],e[27],e[25])+"";function u(e){return e[32]?oi:ai}let h=u(e),d=h(e);return{c(){n=Q("div"),r=Q("div"),d.c(),i=te(),a=new t(!1),o=te(),s=new t(!1),re(r,"class","LiveIcons"),re(r,"part","LiveIcons"),a.a=o,s.a=null,re(n,"class","GameProp LiveProps BlackjackDisplay"),re(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){J(e,n,t),X(n,r),d.m(r,null),X(n,i),a.m(l,n),X(n,o),s.m(c,n)},p(e,t){h===(h=u(e))&&d?d.p(e,t):(d.d(1),(d=h(e))&&(d.c(),d.m(r,null))),8&t[1]&&l!==(l=e[45](e[34])+"")&&a.p(l),234881024&t[0]&&c!==(c=e[44](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&q(n),d.d()}}}function ti(e){let n;function r(e){return e[29]?ri:ni}let i=r(e),a=i(e);return{c(){a.c(),n=l()},m(e,t){a.m(e,t),J(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&q(n)}}}function ni(e){let n,r,i=e[46]("LatestResult "+(0===e[107]?"First":""),e[107],e[11][e[107]],e[31][e[11][e[107]]])+"";return{c(){n=new t(!1),r=l(),n.a=r},m(e,t){n.m(i,e,t),J(e,r,t)},p(e,t){2048&t[0]|1&t[1]&&i!==(i=e[46]("LatestResult "+(0===e[107]?"First":""),e[107],e[11][e[107]],e[31][e[11][e[107]]])+"")&&n.p(i)},d(e){e&&q(r),e&&n.d()}}}function ri(e){let n,r,i,a,o,s=e[46]("LatestResult "+(0===e[107]?"First":""),"first"+e[107]+e[11][e[107]][0],e[11][e[107]][0],e[31][e[11][e[107]][0]])+"",l=e[46]("LatestResult "+(0===e[107]?"First":""),"second"+e[107]+e[11][e[107]][1],e[11][e[107]][1],e[31][e[11][e[107]][1]])+"";return{c(){n=Q("div"),r=new t(!1),i=te(),a=new t(!1),o=te(),r.a=i,a.a=o,re(n,"class","Double"),re(n,"part","Double")},m(e,t){J(e,n,t),r.m(s,n),X(n,i),a.m(l,n),X(n,o)},p(e,t){2048&t[0]|1&t[1]&&s!==(s=e[46]("LatestResult "+(0===e[107]?"First":""),"first"+e[107]+e[11][e[107]][0],e[11][e[107]][0],e[31][e[11][e[107]][0]])+"")&&r.p(s),2048&t[0]|1&t[1]&&l!==(l=e[46]("LatestResult "+(0===e[107]?"First":""),"second"+e[107]+e[11][e[107]][1],e[11][e[107]][1],e[31][e[11][e[107]][1]])+"")&&a.p(l)},d(e){e&&q(n)}}}function ii(e){let n,r=e[11]&&e[11][e[107]]&&ti(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),J(e,n,t)},p(e,t){e[11]&&e[11][e[107]]?r?r.p(e,t):((r=ti(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&q(n)}}}function ai(t){let i,a=t[24],o=[];for(let e=0;e<a.length;e+=1)o[e]=si(Wr(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);J(t,i,n)},p(t,n){if(285212672&n[0]|4096&n[1]){let e;for(a=t[24],e=0;e<a.length;e+=1){var r=Wr(t,a,e);o[e]?o[e].p(r,n):(o[e]=si(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){k(o,e),e&&q(i)}}}function oi(e){let n,r,i=e[35]("gameThumbnail.full")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","FullTable"),re(n,"part","FullTable")},m(e,t){J(e,n,t),X(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.full")+"")&&ie(r,i)},d(e){e&&q(n)}}}function si(e){let n,r,i,a,o,s,l;return{c(){n=Q("span"),r=C("svg"),i=C("path"),a=C("path"),o=te(),re(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),re(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),re(r,"xmlns","http://www.w3.org/2000/svg"),re(r,"width","13"),re(r,"height","14"),re(r,"viewBox","0 0 13 14"),re(n,"class",s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat"),re(n,"part",l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")},m(e,t){J(e,n,t),X(n,r),X(r,i),X(r,a),X(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&re(n,"class",s),285212672&t[0]&&l!==(l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&re(n,"part",l)},d(e){e&&q(n)}}}function li(e){let n,r;return{c(){n=Q("p"),r=ee(e[3]),re(n,"class","GameNameBelow"),re(n,"part","GameNameBelow"),re(n,"title",e[3])},m(e,t){J(e,n,t),X(n,r)},p(e,t){8&t[0]&&ie(r,e[3]),8&t[0]&&re(n,"title",e[3])},d(e){e&&q(n)}}}function ci(n){let r,i,a,o,s,l,P,c,u,h,d,m,$,f,p,g,y,H,b,v,B,w,_,S,x,T,U,E,C,Y,G,M,W,j,L=n[35]("gameThumbnail.playNow")+"",k=(n[4]||"-")+"",z=0<parseInt(n[7]),I=n[14]&&jr(n);function V(e,t){return 8195&t[0]&&(w=null),8195&t[0]&&(_=null),(w=null==w?!(we(e[36])||!e[0]||!e[13]||!e[1]):w)?Zr:(_=null==_?!!(we(e[36])&&e[0]&&e[13]&&e[1]):_)?Vr:void 0}let F=V(n,[-1,-1,-1,-1]),O=F&&F(n),D=n[6]&&Kr(n),N=z&&Xr(n),R=n[10]&&Jr(n),A=n[9]&&li(n);return{c(){r=Q("div"),i=Q("div"),a=Q("img"),P=te(),c=Q("div"),u=Q("div"),I&&I.c(),h=te(),d=Q("p"),m=ee(n[3]),$=te(),f=Q("button"),p=ee(L),H=te(),b=Q("span"),v=ee(k),B=te(),O&&O.c(),S=te(),x=Q("div"),D&&D.c(),T=te(),N&&N.c(),U=te(),R&&R.c(),Y=te(),A&&A.c(),this.c=Z,ae(a.src,o=n[2])||re(a,"src",o),re(a,"class",s=`GameBg GameBg-${n[8]} ${n[15]?"GameContainerHovered":""} `+(n[16]?"Loaded":"")),re(a,"part",l="GameBg "+(n[15]?"GameContainerHovered":"")+" "+(n[16]?"Loaded":"")),re(a,"alt",""),re(a,"loading","lazy"),re(d,"class","GameInfoName"),re(d,"part","GameInfoName"),re(d,"title",n[3]),re(f,"class","GameInfoBtn"),re(f,"part","GameInfoBtn"),re(u,"class",g="GameInfo "+(n[15]?"GameHovered":"")),re(u,"part",y="GameInfo "+(n[15]?"GameHovered":"")),re(b,"class","GameInfoVendor"),re(b,"part","GameInfoVendor"),re(c,"class","GameInfoWrapper"),re(c,"part","GameInfoWrapper"),re(x,"class","GameExtraInfo"),re(x,"part","GameExtraInfo"),re(i,"class",E="GameInnerContainer "+(n[10]&&!n[22]&&n[23].value||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),re(i,"part",C="GameInnerContainer "+(n[10]&&!n[22]||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),re(r,"class",G="GameContainer "+n[33]),re(r,"part",M="GameContainer "+n[33])},m(e,t){J(e,r,t),X(r,i),X(i,a),n[63](a),X(i,P),X(i,c),X(c,u),I&&I.m(u,null),X(u,h),X(u,d),X(d,m),X(u,$),X(u,f),X(f,p),X(c,H),X(c,b),X(b,v),X(i,B),O&&O.m(i,null),X(i,S),X(i,x),D&&D.m(x,null),X(x,T),N&&N.m(x,null),X(x,U),R&&R.m(x,null),X(r,Y),A&&A.m(r,null),n[68](r),W||(j=[ne(f,"click",n[65]),ne(i,"mouseenter",n[41]),ne(i,"mouseleave",n[42]),ne(i,"touchstart",n[39],{passive:!0}),ne(i,"touchend",n[40],{passive:!0})],W=!0)},p(e,t){4&t[0]&&!ae(a.src,o=e[2])&&re(a,"src",o),98560&t[0]&&s!==(s=`GameBg GameBg-${e[8]} ${e[15]?"GameContainerHovered":""} `+(e[16]?"Loaded":""))&&re(a,"class",s),98304&t[0]&&l!==(l="GameBg "+(e[15]?"GameContainerHovered":"")+" "+(e[16]?"Loaded":""))&&re(a,"part",l),e[14]?I?I.p(e,t):((I=jr(e)).c(),I.m(u,h)):I&&(I.d(1),I=null),8&t[0]&&ie(m,e[3]),8&t[0]&&re(d,"title",e[3]),16&t[1]&&L!==(L=e[35]("gameThumbnail.playNow")+"")&&ie(p,L),32768&t[0]&&g!==(g="GameInfo "+(e[15]?"GameHovered":""))&&re(u,"class",g),32768&t[0]&&y!==(y="GameInfo "+(e[15]?"GameHovered":""))&&re(u,"part",y),16&t[0]&&k!==(k=(e[4]||"-")+"")&&ie(v,k),F===(F=V(e,t))&&O?O.p(e,t):(O&&O.d(1),(O=F&&F(e))&&(O.c(),O.m(i,S))),e[6]?D?D.p(e,t):((D=Kr(e)).c(),D.m(x,T)):D&&(D.d(1),D=null),(z=128&t[0]?0<parseInt(e[7]):z)?N?N.p(e,t):((N=Xr(e)).c(),N.m(x,U)):N&&(N.d(1),N=null),e[10]?R?R.p(e,t):((R=Jr(e)).c(),R.m(x,null)):R&&(R.d(1),R=null),12583936&t[0]|2&t[1]&&E!==(E="GameInnerContainer "+(e[10]&&!e[22]&&e[23].value||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&re(i,"class",E),4195328&t[0]|2&t[1]&&C!==(C="GameInnerContainer "+(e[10]&&!e[22]||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&re(i,"part",C),e[9]?A?A.p(e,t):((A=li(e)).c(),A.m(r,null)):A&&(A.d(1),A=null),4&t[1]&&G!==(G="GameContainer "+e[33])&&re(r,"class",G),4&t[1]&&M!==(M="GameContainer "+e[33])&&re(r,"part",M)},i:Z,o:Z,d(e){e&&q(r),n[63](null),I&&I.d(),O&&O.d(),D&&D.d(),N&&N.d(),R&&R.d(),A&&A.d(),n[68](null),W=!1,K(j)}}}const ui="blackjack",hi="roulette",di="doubleballroulette",mi=5;function fi(i,e,o){let t;_e(i,Tr,e=>o(35,t=e));let a,s,l,n,R,c,u,h,d,m,f,p,g,y,b,v,A,P,$,w,H,_,B,U,{session:Y=""}=e,{userid:W=""}=e,{lang:j=""}=e,{clientstyling:S=""}=e,{clientstylingurl:x=""}=e,{favorites:T=""}=e,{gamethumbnail:z=""}=e,{gamename:V=""}=e,{gamevendor:r=""}=e,{gameid:E=""}=e,{gameisnew:Z=""}=e,{gamepopularity:K=""}=e,{gamefunmode:X=!1}=e,{searchitem:J=!1}=e,{gamefavorite:C=!1}=e,{gamecellsize:q=""}=e,{showfavoredcategory:G=!1}=e,{showgamename:Q=!1}=e,{currency:M=""}=e,{gamepagemodalurl:ee="false"}=e,{endpoint:L=""}=e,{livelobbyendpoint:k=""}=e,{connectlive:I=""}=e,{visibilityconnect:F=""}=e,te=!1,ne=!1,re=!1,O=window.navigator.userAgent,ie="HH:mm",ae,oe=[],se="EUR",D="";const le=[ui],ce=[hi,di],ue={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},he={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},de=(Object.keys(Br).forEach(e=>{rr(e,Br[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+E||G||o(0,C=!0),e.data.type!=="RemoveFavoriteThumbnail_"+E||G||o(0,C=!1),"UserSessionID"===e.data.type&&(o(13,te=!0),e.data.session,e.data.userID),"CategoryUpdate"===e.data.type&&o(10,l=null)}),me=e=>{J&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),we(O)?window.postMessage({type:"ShowGameModal",gameId:e},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:X,gamepagemodalurl:ee,isMobile:we(O)},window.location.href)},fe=e=>{var t="thumbnail";C?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},pe=()=>{k&&EventSource&&!n&&r&&E&&(n=new EventSource(`${L}/encoder/lobby/updates/${r}/`+E)).addEventListener("message",ye)},ge=()=>{n&&(n.close(),n=void 0)},ye=async e=>{const{type:t,data:n}=e;let r;if("message"===t){if(n)try{r=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(r){const{InternalTableId:e,MessageType:t,Results:n,Seats:i,Open:a}=r;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(o(28,p=i),o(10,l.currentOccupiedSeats=i,l),await xe());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(g=n,o(10,l.currentRouletteNumbers=n,l),await xe());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(y=n,o(10,l.currentDoubleBallRouletteNumbers=n,l),await xe());break;case"TableOpened":case"TableClosed":o(22,u=a),o(10,l.isOpen=a,l),await xe()}}}},be=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",N=(e,t)=>e.some(e=>e===t);return Se(()=>(window.addEventListener("message",de,!1),()=>{window.removeEventListener("message",de),n&&n.removeEventListener("message",ye)})),i.$$set=e=>{"session"in e&&o(47,Y=e.session),"userid"in e&&o(48,W=e.userid),"lang"in e&&o(49,j=e.lang),"clientstyling"in e&&o(50,S=e.clientstyling),"clientstylingurl"in e&&o(51,x=e.clientstylingurl),"favorites"in e&&o(1,T=e.favorites),"gamethumbnail"in e&&o(2,z=e.gamethumbnail),"gamename"in e&&o(3,V=e.gamename),"gamevendor"in e&&o(4,r=e.gamevendor),"gameid"in e&&o(5,E=e.gameid),"gameisnew"in e&&o(6,Z=e.gameisnew),"gamepopularity"in e&&o(7,K=e.gamepopularity),"gamefunmode"in e&&o(52,X=e.gamefunmode),"searchitem"in e&&o(53,J=e.searchitem),"gamefavorite"in e&&o(0,C=e.gamefavorite),"gamecellsize"in e&&o(8,q=e.gamecellsize),"showfavoredcategory"in e&&o(54,G=e.showfavoredcategory),"showgamename"in e&&o(9,Q=e.showgamename),"currency"in e&&o(55,M=e.currency),"gamepagemodalurl"in e&&o(56,ee=e.gamepagemodalurl),"endpoint"in e&&o(57,L=e.endpoint),"livelobbyendpoint"in e&&o(58,k=e.livelobbyendpoint),"connectlive"in e&&o(59,I=e.connectlive),"visibilityconnect"in e&&o(60,F=e.visibilityconnect)},i.$$.update=()=>{if(268435456&i.$$.dirty[1]&&I&&("disconnect"===I?ge():"connect"===I&&pe()),536870912&i.$$.dirty[1]&&F&&("disconnect"===F?ge():"connect"===F&&"connect"===I&&pe()),i.$$.dirty[1],67305472&i.$$.dirty[1]&&Y&&W&&L&&o(13,te=!0),4&i.$$.dirty[0]&&z&&a&&o(17,a.onload=()=>{o(16,re=!0)},a),524288&i.$$.dirty[1]&&S){let e=document.createElement("style");e.innerHTML=S,setTimeout(()=>{s.appendChild(e)})}if(2&i.$$.dirty[0]&&T&&"true"==T&&o(14,ne=!0),256&i.$$.dirty[0]|1048576&i.$$.dirty[1]&&q&&x){let e=new URL(x),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)})})}if(201326592&i.$$.dirty[1]&&L&&k){let e=new URL(""+k.split("?")[0]);e.searchParams.append("platform",Er(O)),e.searchParams.append("language",j),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(10,l=e)})}if(1024&i.$$.dirty[0]&&l&&l&&(o(22,u=l.isOpen),ae=l.betLimit||{},o(23,h=l.openHours),o(24,oe=(e=>{f=e.totalSeats||7,o(28,p=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=f;e++)t.push(e);return{seats:t}})(l).seats),h&&h.value&&({startTime:e,originalTimeFormat:t}=h["value"],o(20,c=e),o(21,ie=t||ie)),u&&o(19,R=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();N(le,e)?t=ui:N(ce,e)&&(t=hi)}}return t})(l)),o(25,se=Ur[M]),o(26,d=(ae.min||{})[M]),o(27,m=(ae.max||{})[M]),g=l.currentRouletteNumbers,y=l.currentDoubleBallRouletteNumbers,b=l.vendorCategory,o(29,v=b.toLowerCase()===di),o(11,A=(v?y:g)||[]),o(30,P="GameProp LiveProps RoulleteProps"),o(30,P+=v?" Double":""),o(31,$=N(ce,b.toLowerCase())?he:ue),H=w,o(32,w=Array.isArray(p)&&p.length===f),l.dealer&&o(34,B=l.dealer.DealerName),U=l.numberOfPlayers,o(33,D="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(33,D+=" GameBackdrop"),u&&w&&d&&m&&l.currentOccupiedSeats?o(33,D+=" GameContainerDimmed"):!1===u&&c&&o(33,D+=" GameContainerFullyDimmed"),s&&(!H&&w?(o(33,D+=" PulsatingRedShadow"),o(33,D=D.replace(" PulsatingGreenShadow",""))):H&&!w&&(o(33,D+=" PulsatingGreenShadow"),o(33,D=D.replace(" PulsatingRedShadow",""))))),6144&i.$$.dirty[0]&&_&&A){const n="FirstElementAnimated",r=_.getElementsByClassName("First")[0];r&&(r.classList.add(n),setTimeout(()=>{r.classList.remove(n)},2e3))}var e,t},[C,T,z,V,r,E,Z,K,q,Q,l,A,_,te,ne,!1,re,a,s,R,c,ie,u,h,oe,se,d,m,p,v,P,$,w,D,B,t,O,me,fe,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},N,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function Z(){}function x(e){return e()}function T(){return Object.create(null)}function K(e){e.forEach(x)}function E(e){return"function"==typeof e}function f(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let G,M;function ae(e,t){return(G=G||document.createElement("a")).href=t,e===G.href}function L(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function _e(e,t,n){e.$$.on_destroy.push(L(t,n))}function X(e,t){e.appendChild(t)}function J(e,t,n){e.insertBefore(t,n||null)}function q(e){e.parentNode.removeChild(e)}function k(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function Q(e){return document.createElement(e)}function C(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ee(e){return document.createTextNode(e)}function te(){return ee(" ")}function l(){return ee("")}function ne(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function re(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function w(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:re(e,t,n)}function ie(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function I(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}class t{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=C(t.nodeName):this.e=Q(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)J(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(q)}}function F(e){const t={};for(const n of e)t[n.name]=n.value;return t}function O(e){M=e}function Se(e){!function(){if(M)return M;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const D=[],ve=[],N=[],R=[],A=Promise.resolve();let P=!1;function $(){P||(P=!0,A.then(g))}function xe(){return $(),A}function H(e){N.push(e)}const B=new Set;let U=0;function g(){const e=M;do{for(;U<D.length;){const e=D[U];U++,O(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),K(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(H))}for(O(null),D.length=0,U=0;ve.length;)ve.pop()();for(let e=0;e<N.length;e+=1){const r=N[e];B.has(r)||(B.add(r),r())}}while(N.length=0,D.length);for(;R.length;)R.pop()();P=!1,B.clear(),O(e)}const Y=new Set;function W(r,e,t,n,i,a,o,s=[-1]){var l=M;O(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:T(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:T(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(D.push(e),$(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,K(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const Z=Array.from(a.childNodes);c.fragment&&c.fragment.l(Z),Z.forEach(q)}else c.fragment&&c.fragment.c();e.intro&&(s=r.$$.fragment)&&s.i&&(Y.delete(s),s.i(void 0));{var h=r;o=e.target;t=e.anchor;n=e.customElement;const{fragment:d,on_mount:m,on_destroy:f,after_update:p}=h.$$;d&&d.m(o,t),n||H(()=>{var e=m.map(x).filter(E);f?f.push(...e):K(e),h.$$.on_mount=[]}),p.forEach(H)}g()}O(l)}let j;"function"==typeof HTMLElement&&(j=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(x).filter(E);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){K(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(K(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=Z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var z,V,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,oe="URLSearchParams"in s,se="Symbol"in s&&"iterator"in Symbol,le="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),ce="FormData"in s,ue="ArrayBuffer"in s;function he(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 de(e){return e="string"!=typeof e?String(e):e}function me(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return se&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function fe(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function pe(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function ge(e){var t=new FileReader,n=pe(t);return t.readAsArrayBuffer(e),n}function ye(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function be(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:le&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ce&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:oe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ue&&le&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=ye(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ue&&(ArrayBuffer.prototype.isPrototypeOf(e)||V(e))?this._bodyArrayBuffer=ye(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):oe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},le&&(this.blob=function(){var e=fe(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?fe(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(ge)}),this.text=function(){var e,t,n=fe(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,t=pe(e=new FileReader),e.readAsText(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)},ce&&(this.formData=function(){return this.text().then(Ce)}),this.json=function(){return this.text().then(JSON.parse)},this}ue&&(z=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],V=ArrayBuffer.isView||function(e){return e&&-1<z.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=he(e),t=de(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},c.prototype.delete=function(e){delete this.map[he(e)]},c.prototype.get=function(e){return e=he(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(he(e))},c.prototype.set=function(e,t){this.map[he(e)]=de(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),me(n)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),me(t)},c.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),me(n)},se&&(c.prototype[Symbol.iterator]=c.prototype.entries);var Te=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ee(e,t){if(!(this instanceof Ee))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 Ee){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(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 c(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<Te.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&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 Ce(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 u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}Ee.prototype.clone=function(){return new Ee(this,{body:this._bodyInit})},be.call(Ee.prototype),be.call(u.prototype),u.prototype.clone=function(){return new u(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},u.error=function(){var e=new u(null,{status:0,statusText:""});return e.type="error",e};var Ge=[301,302,303,307,308],Me=(u.redirect=function(e,t){if(-1===Ge.indexOf(t))throw new RangeError("Invalid status code");return new u(null,{status:t,headers:{location:e}})},s.DOMException);try{new Me}catch(Z){(Me=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Me.prototype.constructor=Me}function Le(r,o){return new Promise(function(i,e){var t=new Ee(r,o);if(t.signal&&t.signal.aborted)return e(new Me("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},r=(t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){i(new u(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new Me("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(le?a.responseType="blob":ue&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof c?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,de(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function In(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Le.polyfill=!0,s.fetch||(s.fetch=Le,s.Headers=c,s.Request=Ee,s.Response=u);var ke=self.fetch.bind(self),Ie=function(e,t){return(Ie=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 Fe(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}Ie(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Oe(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 De(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function Ne(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;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 h(e){return"function"==typeof e}function Re(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 Ae=Re(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 a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Oe(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(h(a))try{a()}catch(e){i=e instanceof Ae?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Oe(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{Ue(u)}catch(e){i=null!=i?i:[],e instanceof Ae?i=Ne(Ne([],De(i)),De(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new Ae(i)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ue(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=((r=new n).closed=!0,r);var $e=n,He=$e.EMPTY;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Be(e){return e instanceof $e||e&&"closed"in e&&h(e.remove)&&h(e.add)&&h(e.unsubscribe)}function Ue(e){h(e)?e():e.unsubscribe()}var Ye=void 0,We=!1,je=!1,ze={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=ze.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,Ne([e,t],De(n))):setTimeout.apply(void 0,Ne([e,t],De(n)))},clearTimeout:function(e){var t=ze.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ve(){}var Ze=null;function Ke(e){if(We){var t=!Ze;if(t&&(Ze={errorThrown:!1,error:null}),e(),t){var t=Ze,n=t.errorThrown,t=t.error;if(Ze=null,n)throw t}}else e()}Fe(e,Xe=$e),e.create=function(e,t,n){return new nt(e,t,n)},e.prototype.next=function(e){this.isStopped||this._next(e)},e.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Xe.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(e){this.destination.next(e)},e.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Xe,Je=e,qe=Function.prototype.bind;function e(e){var t=Xe.call(this)||this;return t.isStopped=!1,e?Be(t.destination=e)&&e.add(t):t.destination=ot,t}function Qe(e,t){return qe.call(e,t)}it.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){at(e)}},it.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){at(e)}else at(e)},it.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){at(e)}};var et,tt=it,nt=(Fe(rt,et=Je),rt);function rt(e,t,n){var r=et.call(this)||this,n=h(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&je?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&Qe(e.next,t),error:e.error&&Qe(e.error,t),complete:e.complete&&Qe(e.complete,t)}):e;return r.destination=new tt(n),r}function it(e){this.partialObserver=e}function at(e){var t=e;ze.setTimeout(function(){throw t})}var ot={closed:!0,next:Ve,error:function(e){throw e},complete:Ve},r="function"==typeof Symbol&&Symbol.observable||"@@observable";function st(e){return e}i.prototype.lift=function(e){var t=new i;return t.source=this,t.operator=e,t},i.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Je||r&&h(r.next)&&h(r.error)&&h(r.complete)&&Be(r)?e:new nt(e,t,n);return Ke(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(r,e){var i=this;return new(e=ct(e))(function(e,t){var n=new nt({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},i.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},i.prototype[r]=function(){return this},i.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?st:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},i.prototype.toPromise=function(e){var r=this;return new(e=ct(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},i.create=function(e){return new i(e)};var lt=i;function i(e){e&&(this._subscribe=e)}function ct(e){return null!=(e=null!=e?e:Ye)?e:Promise}var ut,ht,dt,mt=Re(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),r=(Fe(a,dt=lt),a.prototype.lift=function(e){var t=new ft(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new mt},a.prototype.next=function(i){var a=this;Ke(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=Oe(a.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}}}})},a.prototype.error=function(t){var n=this;Ke(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)}})},a.prototype.complete=function(){var t=this;Ke(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},a.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(a.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),a.prototype._trySubscribe=function(e){return this._throwIfClosed(),dt.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?He:(this.currentObservers=null,i.push(e),new $e(function(){t.currentObservers=null,Pe(i,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},a.prototype.asObservable=function(){var e=new lt;return e.source=this,e},a.create=function(e,t){return new ft(e,t)},a),ft=(Fe(bt,ht=r),bt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},bt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},bt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},bt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:He},bt),pt={now:function(){return(pt.delegate||Date).now()},delegate:void 0},gt=(Fe(yt,ut=r),yt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(a.now()+t)),this._trimBuffer(),ut.prototype.next.call(this,e)},yt.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},yt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},yt);function yt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=pt);var r=ut.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 bt(e,t){var n=ht.call(this)||this;return n.destination=e,n.source=t,n}function a(){var e=dt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let vt=[],wt={};const _t=[];function St(r,i=Z){let a;const o=new Set;function s(e){if(f(r,e)&&(r=e,a)){const e=!_t.length;for(const e of o)e[1](),_t.push(e,r);if(e){for(let e=0;e<_t.length;e+=2)_t[e][0](_t[e+1]);_t.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.add(n),1===o.size&&(a=i(s)||Z),e(r),()=>{o.delete(n),0===o.size&&(a(),a=null)}}}}function xt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:St(t,t=>{let n=!1;const r=[];let i=0,a=Z;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),u?t(e):a=E(e)?e:Z)},e=c.map((e,t)=>L(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){K(e),a()}}).subscribe}}function Tt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Et));var t}var Et="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ct(e,t){return!1!==t.clone&&t.isMergeableObject(e)?It(Array.isArray(e)?[]:{},e,t):e}function Gt(e,t,n){return e.concat(t).map(function(e){return Ct(e,n)})}function Mt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Lt(e,t){try{return t in e}catch(e){return!1}}function kt(r,i,a){var o={};return a.isMergeableObject(r)&&Mt(r).forEach(function(e){o[e]=Ct(r[e],a)}),Mt(i).forEach(function(t){var e,n;(!Lt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Lt(r,t)&&a.isMergeableObject(i[t])?o[t]=function(e){if(!e.customMerge)return It;e=e.customMerge(t);return"function"==typeof e?e:It}(a)(r[t],i[t],a):o[t]=Ct(i[t],a))}),o}function It(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Gt,n.isMergeableObject=n.isMergeableObject||Tt,n.cloneUnlessOtherwiseSpecified=Ct;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):kt(e,t,n):Ct(t,n)}It.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return It(e,t,n)},{});throw new Error("first argument should be an array")};var Ft=It,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 Dt(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 p,y,Nt,b=function(){return(b=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 Rt(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;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 At(e){return e.type===y.literal}function Pt(e){return e.type===y.number}function $t(e){return e.type===y.date}function Ht(e){return e.type===y.time}function Bt(e){return e.type===y.select}function Ut(e){return e.type===y.plural}function Yt(e){return e.type===y.tag}function Wt(e){return e&&"object"==typeof e&&e.type===Nt.number}function jt(e){return e&&"object"==typeof e&&e.type===Nt.dateTime}(r=p=p||{})[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG",(r=y=y||{})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",(r=Nt=Nt||{})[r.number=0]="number",r[r.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,zt=/(?:[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 Vt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Zt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Kt=/^(@+)?(\+|#+)?[rs]?$/g,Xt=/(\*)(0+)|(#+)(0+)|(0+)/g,Jt=/^(0+)$/;function qt(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(Kt,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 Qt(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 en(e){return Qt(e)||{}}function tn(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=b(b(b({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return b(b({},e),en(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return b(b({},e),en(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Xt,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Jt.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(Zt.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Zt,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=i.options[0];"w"===a?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=b(b({},o),qt(a)))}else Kt.test(i.stem)?o=b(b({},o),qt(i.stem)):((a=Qt(i.stem))&&(o=b(b({},o),a)),(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)),!Jt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=b(b({},o),r)))}return o}var nn={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 rn=new RegExp("^".concat(r.source,"*")),an=new RegExp("".concat(r.source,"*$"));function v(e,t){return{start:e,end:t}}var r=!!String.prototype.startsWith,on=!!String.fromCodePoint,sn=!!Object.fromEntries,ln=!!String.prototype.codePointAt,cn=!!String.prototype.trimStart,un=!!String.prototype.trimEnd,hn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},dn=!0;try{dn="a"===(null==(Dn=_n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Dn[0])}catch(Z){dn=!1}var mn,fn,pn=r?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},gn=on?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},yn=sn?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},bn=ln?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},vn=cn?function(e){return e.trimStart()}:function(e){return e.replace(rn,"")},wn=un?function(e){return e.trimEnd()}:function(e){return e.replace(an,"")};function _n(e,t){return new RegExp(e,t)}fn=dn?(mn=_n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return mn.lastIndex=t,null!=(t=mn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=bn(e,t);if(void 0===i||Tn(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 gn.apply(void 0,r)};o.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},o.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(p.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&xn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{a=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(a,this.clonePosition())})}}}return{val:r,err:null}},o.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!xn(this.char()))return this.error(p.INVALID_TAG,v(e,this.clonePosition()));var i=this.clonePosition();return r!==this.parseTagName()?this.error(p.UNMATCHED_CLOSING_TAG,v(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(n,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,v(e,this.clonePosition())))}return this.error(p.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(p.INVALID_TAG,v(n,this.clonePosition()))},o.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())},o.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=v(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},o.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(xn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},o.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 gn.apply(void 0,t)},o.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),gn(n))},o.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(p.EMPTY_ARGUMENT,v(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(p.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(p.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},o.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=fn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},o.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(p.EXPECT_ARGUMENT_TYPE,v(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((f=this.parseSimpleArgStyleIfPossible()).err)return f;if(0===(m=wn(f.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var u=v(r,this.clonePosition());if(l&&pn(null==l?void 0:l.style,"::",0)){var h=vn(l.style.slice(2));if("number"===o)return(f=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?f:{val:{type:y.number,value:n,location:u,style:f.val},err:null};if(0===h.length)return this.error(p.EXPECT_DATE_TIME_SKELETON,u);var d=h,m=(this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(nn[t||""]||nn[n||""]||nn["".concat(n,"-001")]||nn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale)),{type:Nt.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},d.replace(zt,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}});return{val:{type:"date"===o?y.date:y.time,value:n,location:u,style:m},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:u,style:null!=(h=null==l?void 0:l.style)?h:null},err:null};case"plural":case"selectordinal":case"select":d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,v(d,b({},d)));this.bumpSpace();var f,m=this.parseIdentifierIfPossible(),u=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(f=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return f;this.bumpSpace(),m=this.parseIdentifierIfPossible(),u=f.val}l=this.tryParsePluralOrSelectOptions(e,o,t,m);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;h=v(r,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:yn(l.val),location:h},err:null}:{val:{type:y.plural,value:n,options:yn(l.val),offset:u,pluralType:"plural"===o?"cardinal":"ordinal",location:h},err:null};default:return this.error(p.INVALID_ARGUMENT_TYPE,v(a,s))}},o.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},o.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(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(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}},o.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(Vt).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:Nt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?tn(n):{}},err:null}},o.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var h=this.tryParseArgumentClose(u);if(h.err)return h;a.push([s,{value:c.val,location:v(u,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===a.length?this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(p.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:a,err:null}},o.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=v(r,this.clonePosition());return i?hn(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},o.prototype.offset=function(){return this.position.offset},o.prototype.isEOF=function(){return this.offset()===this.message.length},o.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},o.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=bn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},o.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},o.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))},o.prototype.bumpIf=function(e){if(pn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},o.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)},o.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}},o.prototype.bumpSpace=function(){for(;!this.isEOF()&&Tn(this.char());)this.bump()},o.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Sn=o;function o(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 xn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Tn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function En(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Sn(e,t).parse();if(e.err)throw(n=SyntaxError(p[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,Bt(e)||Ut(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Pt(e)&&Wt(e.style)||($t(e)||Ht(e))&&jt(e.style)?delete e.style.location:Yt(e)&&n(e.children)})}(e.val),e.val}function Cn(e,t){var n=t&&t.cache?t.cache:Nn,r=t&&t.serializer?t.serializer:kn;return(t&&t.strategy?t.strategy:function(e,t){return Ln(e,this,1===e.length?Gn:Mn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Gn(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 Mn(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 Ln(e,t,n,r,i){return n.bind(t,e,r,i)}var kn=function(){return JSON.stringify(arguments)};function Fn(){this.cache=Object.create(null)}Fn.prototype.get=function(e){return this.cache[e]},Fn.prototype.set=function(e,t){this.cache[e]=t};var On,Dn,Nn={create:function(){return new Fn}},Rn={variadic:function(e,t){return Ln(e,this,Mn,t.cache.create(),t.serializer)},monadic:function(e,t){return Ln(e,this,Gn,t.cache.create(),t.serializer)}};(Dn=On=On||{}).MISSING_VALUE="MISSING_VALUE",Dn.INVALID_VALUE="INVALID_VALUE",Dn.MISSING_INTL_API="MISSING_INTL_API";Dt(Zn,Hn=Error),Zn.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var _,An,Pn,$n,Hn,Bn=Zn,Un=(Dt(Vn,$n=Bn),Vn),Yn=(Dt(zn,Pn=Bn),zn),Wn=(Dt(jn,An=Bn),jn);function jn(e,t){return An.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),On.MISSING_VALUE,t)||this}function zn(e,t,n){return Pn.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),On.INVALID_VALUE,n)||this}function Vn(e,t,n,r){return $n.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),On.INVALID_VALUE,r)||this}function Zn(e,t,n){e=Hn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Kn(e,t,n,r,i,a,o){if(1===e.length&&At(e[0]))return[{type:_.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(At(u))s.push({type:_.literal,value:u.value});else if(u.type===y.pound)"number"==typeof a&&s.push({type:_.literal,value:n.getNumberFormat(t).format(a)});else{var h=u.value;if(!(i&&h in i))throw new Wn(h,o);h=i[h];if(u.type===y.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?_.literal:_.object,value:h});else if($t(u)){var d="string"==typeof u.style?r.date[u.style]:jt(u.style)?u.style.parsedOptions:void 0;s.push({type:_.literal,value:n.getDateTimeFormat(t,d).format(h)})}else if(Ht(u))d="string"==typeof u.style?r.time[u.style]:jt(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:_.literal,value:n.getDateTimeFormat(t,d).format(h)});else if(Pt(u))(d="string"==typeof u.style?r.number[u.style]:Wt(u.style)?u.style.parsedOptions:void 0)&&d.scale&&(h*=d.scale||1),s.push({type:_.literal,value:n.getNumberFormat(t,d).format(h)});else{if(Yt(u)){var m=u.children,f=u.value,p=i[f];if("function"!=typeof p)throw new Yn(f,"function",o);f=p(Kn(m,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),s.push.apply(s,f.map(function(e){return{type:"string"==typeof e?_.literal:_.object,value:e}}))}if(Bt(u)){if(!(g=u.options[h]||u.options.other))throw new Un(u.value,h,Object.keys(u.options),o);s.push.apply(s,Kn(g.value,t,n,r,i))}else if(Ut(u)){if(!(g=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Bn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',On.MISSING_INTL_API,o);var p=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[p]||u.options.other}if(!g)throw new Un(u.value,h,Object.keys(u.options),o);s.push.apply(s,Kn(g.value,t,n,r,i,h-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===_.literal&&t.type===_.literal?n.value+=t.value:e.push(t),e},[])}function Xn(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(r=_=_||{})[r.literal=0]="literal",r[r.object=1]="object",Object.defineProperty(d,"defaultLocale",{get:function(){return d.memoizedDefaultLocale||(d.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),d.memoizedDefaultLocale},enumerable:!1,configurable:!0}),d.memoizedDefaultLocale=null,d.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])},d.__parse=En,d.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 Jn=d;function d(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=d.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===_.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Kn(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=d.resolveLocale(t),"string"==typeof e){if(this.message=e,!d.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=d.__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=d.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?b(b(b({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),r[t]||{}),e},{})):n),e},b({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:Cn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Rt([void 0],t,!1)))},{cache:Xn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Rn.variadic}),getDateTimeFormat:Cn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Rt([void 0],t,!1)))},{cache:Xn(t.dateTime),strategy:Rn.variadic}),getPluralRules:Cn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Rt([void 0],t,!1)))},{cache:Xn(t.pluralRules),strategy:Rn.variadic})}}const m={},qn=(e,t,n)=>n&&(t in m||(m[t]={}),e in m[t]||(m[t][e]=n),n),Qn=(t,n)=>{if(null!=n){if(n in m&&t in m[n])return m[n][t];var r=pr(n);for(let e=0;e<r.length;e++){var i=function(e,n){if(!nr(e))return null;e=function(e){return er[e]||null}(e);{var r=n;if(null==r)return;if(r in e)return e[r];const i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}(r[e],t);if(i)return qn(t,n,i)}}};let er;const tr=St({});function nr(e){return e in er}function rr(t,...n){delete m[t],tr.update(e=>(e[t]=Ft.all([e[t]||{},...n]),e))}xt([tr],([e])=>Object.keys(e)),tr.subscribe(e=>er=e);const ir={};function ar(e){return ir[e]}function or(e){return null!=e&&pr(e).some(e=>{return null==(e=ar(e))?void 0:e.size})}const sr={};function lr(e){if(!or(e))return e in sr?sr[e]:Promise.resolve();const t=pr(e).map(e=>{var t=ar(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return sr[e]=Promise.all(t.map(([e,t])=>{{var r=e;e=t;const n=Promise.all(e.map(e=>{var t=r,n=e;return ir[t].delete(n),0===ir[t].size&&delete ir[t],e().then(e=>e.default||e)}));return n.then(e=>rr(r,...e))}})).then(()=>{if(or(e))return lr(e);delete sr[e]}),sr[e]}function cr(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const ur={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 hr=St(!1);let dr;const mr=St(null);function fr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function pr(e,t=ur.fallbackLocale){e=fr(e);return t?[...new Set([...e,...fr(t)])]:e}function gr(){return null!=dr?dr:void 0}mr.subscribe(e=>{dr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const yr=Object.assign(Object.assign({},mr),{set:t=>{if(t&&function(e){if(null!=e){var t=pr(e);for(let e=0;e<t.length;e++){var n=t[e];if(nr(n))return n}}}(t)&&or(t)){var n=ur["loadingDelay"];let e;return"undefined"!=typeof window&&null!=gr()&&n?e=window.setTimeout(()=>hr.set(!0),n):hr.set(!0),lr(t).then(()=>{mr.set(t)}).finally(()=>{clearTimeout(e),hr.set(!1)})}return mr.set(t)}}),br=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},vr=(e,t)=>{var n=ur["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},wr=br(e=>{var{locale:t,format:n}=e,e=cr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=vr("number",n)),new Intl.NumberFormat(t,e)}),_r=br(e=>{var{locale:t,format:n}=e,e=cr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=vr("date",n):0===Object.keys(e).length&&(e=vr("date","short")),new Intl.DateTimeFormat(t,e)}),Sr=br(e=>{var{locale:t,format:n}=e,e=cr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=vr("time",n):0===Object.keys(e).length&&(e=vr("time","short")),new Intl.DateTimeFormat(t,e)}),xr=br((e,t=gr())=>new Jn(e,t,ur.formats,{ignoreTag:ur.ignoreTag})),Tr=xt([yr,tr],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:a,locale:o=gr(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Qn(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=ur).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!a)return l;let c=l;try{c=xr(l,o).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),we=(xt([yr],()=>(e,t)=>((e={})=>{var{locale:t=gr()}=e,e=cr(e,["locale"]);return Sr(Object.assign({locale:t},e))})(t).format(e)),xt([yr],()=>(e,t)=>((e={})=>{var{locale:t=gr()}=e,e=cr(e,["locale"]);return _r(Object.assign({locale:t},e))})(t).format(e)),xt([yr],()=>(e,t)=>((e={})=>{var{locale:t=gr()}=e,e=cr(e,["locale"]);return wr(Object.assign({locale:t},e))})(t).format(e)),xt([yr,tr],()=>(e,t=gr())=>Qn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==vt.indexOf(e)&&(t=new gt(t),wt[e]=t,vt.push(e)),wt[e]}},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),Er=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Cr={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todo",searchedItems:"Resultado de búsqueda",recentSearchedItems:"Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.",favorites:"Favorito",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.",noFavoritesMobile:"Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.",noFavorites:"Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.",noFavoritesTitle:"Aún no tienes ningún juego favorito.",waiting:"Esperando"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}},Gr={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Hat soeben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function Mr(e,t,n){const r=e.slice();return r[57]=t[n],r}function Lr(e,t,n){const r=e.slice();return r[60]=t[n],r}function kr(n){let a,r,o,i,s,l,c,u,e,h,d,m,f,p,g,y,b,v,w,_,S=n[14],x=[];for(let e=0;e<S.length;e+=1)x[e]=Dr(Lr(n,S,e));let T=n[7],E=[];for(let e=0;e<T.length;e+=1)E[e]=Nr(Mr(n,T,e));return{c(){a=Q("div"),r=Q("div"),o=Q("div");for(let e=0;e<x.length;e+=1)x[e].c();i=te(),s=Q("div"),l=Q("button"),c=C("svg"),u=C("path"),h=te(),d=Q("button"),m=C("svg"),f=C("path"),y=te(),b=Q("div");for(let e=0;e<E.length;e+=1)E[e].c();re(o,"class","WinnerButtonsContainer"),re(u,"style",e=n[8]>=n[7].length?"fill:#F6F6F62E":""),re(u,"id","Path_36"),re(u,"data-name","Path 36"),re(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),re(u,"transform","translate(14.656 0) rotate(90)"),re(u,"fill","#fff"),re(c,"id","Component_46_2"),re(c,"data-name","Component 46 – 2"),re(c,"xmlns","http://www.w3.org/2000/svg"),re(c,"width","15"),re(c,"height","15"),re(c,"viewBox","0 0 16 24.656"),re(l,"class","SliderButton"),re(f,"style",p=n[8]>=n[7].length?"fill:#F6F6F62E":""),re(f,"id","Path_36"),re(f,"data-name","Path 36"),re(f,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),re(f,"transform","translate(0 24.656) rotate(-90)"),re(f,"fill","#fff"),re(m,"id","Component_46_2"),re(m,"data-name","Component 46 – 2"),re(m,"xmlns","http://www.w3.org/2000/svg"),re(m,"width","15"),re(m,"height","15"),re(m,"viewBox","0 0 16 24.656"),re(d,"class","SliderButton"),re(s,"class",g="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),re(r,"class","WinnersHeader"),re(b,"class","WinnersSlider"),re(a,"class",v="CasinoWinners "+(n[9]?"Mobile":""))},m(e,t){J(e,a,t),X(a,r),X(r,o);for(let e=0;e<x.length;e+=1)x[e].m(o,null);X(r,i),X(r,s),X(s,l),X(l,c),X(c,u),X(s,h),X(s,d),X(d,m),X(m,f),X(a,y),X(a,b);for(let e=0;e<E.length;e+=1)E[e].m(b,null);n[38](b),w||(_=[ne(l,"click",n[35]),ne(d,"click",n[36])],w=!0)},p(t,n){if(114755&n[0]){let e;for(S=t[14],e=0;e<S.length;e+=1){var r=Lr(t,S,e);x[e]?x[e].p(r,n):(x[e]=Dr(r),x[e].c(),x[e].m(o,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=S.length}if(384&n[0]&&e!==(e=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&re(u,"style",e),384&n[0]&&p!==(p=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&re(f,"style",p),8&n[0]&&g!==(g="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&re(s,"class",g),435348&n[0]){let e;for(T=t[7],e=0;e<T.length;e+=1){var i=Mr(t,T,e);E[e]?E[e].p(i,n):(E[e]=Nr(i),E[e].c(),E[e].m(b,null))}for(;e<E.length;e+=1)E[e].d(1);E.length=T.length}512&n[0]&&v!==(v="CasinoWinners "+(t[9]?"Mobile":""))&&re(a,"class",v)},d(e){e&&q(a),k(x,e),k(E,e),n[38](null),w=!1,K(_)}}}function Ir(e){let n;return{c(){(n=Q("p")).textContent="Loading, please wait ..."},m(e,t){J(e,n,t)},p:Z,d(e){e&&q(n)}}}function Fr(n){let r,i,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=Q("button"),i=ee(l),re(r,"class",a="WinnersButton "+("recent"==n[6]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){J(e,r,t),X(r,i),o||(s=ne(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ie(i,l),65&t[0]&&a!==(a="WinnersButton "+("recent"==e[6]?"Active":"")+" "+("false"==e[0]?"Off":""))&&re(r,"class",a)},d(e){e&&q(r),o=!1,s()}}}function Or(n){let r,i,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=Q("button"),i=ee(c),a=te(),re(r,"class",o="WinnersButton "+("top"==n[6]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){J(e,r,t),X(r,i),X(r,a),s||(l=ne(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ie(i,c),66&t[0]&&o!==(o="WinnersButton "+("top"==e[6]?"Active":"")+" "+("false"==e[1]?"Off":""))&&re(r,"class",o)},d(e){e&&q(r),s=!1,l()}}}function Dr(e){let n,r,i="recent"==e[60]&&Fr(e),a="top"==e[60]&&Or(e);return{c(){i&&i.c(),n=te(),a&&a.c(),r=l()},m(e,t){i&&i.m(e,t),J(e,n,t),a&&a.m(e,t),J(e,r,t)},p(e,t){"recent"==e[60]?i?i.p(e,t):((i=Fr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[60]?a?a.p(e,t):((a=Or(e)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){i&&i.d(e),e&&q(n),a&&a.d(e),e&&q(r)}}}function Nr(n){let r,i,a,o,s,l,c,u,h,d,m,f,p,g,y,b,v,w,_,S,x,T,E,C,G=n[57].gameName+"",M=n[17](n[57].username)+"",L=n[15]("Translations.won")+"",k=n[57].specifiedCurrencyAmount.toFixed(2)+"",I=(n[4]?n[10]:n[2])+"";function F(){return n[37](n[57])}return{c(){r=Q("div"),i=Q("div"),a=Q("img"),l=te(),c=Q("p"),u=ee(G),h=te(),d=Q("p"),m=ee(M),f=te(),p=Q("p"),g=ee(L),y=te(),b=Q("p"),v=ee(k),w=te(),_=Q("span"),S=ee(I),x=te(),ae(a.src,o=n[57]?.gameModel?.thumbnail)||re(a,"src",o),re(a,"alt",s=n[57]?.gameModel?.thumbnail),re(a,"class","WinnersImage"),re(p,"class","WinnerUsername"),re(i,"class","WinnerCard"),re(r,"class",T="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){J(e,r,t),X(r,i),X(i,a),X(i,l),X(i,c),X(c,u),X(i,h),X(i,d),X(d,m),X(i,f),X(i,p),X(p,g),X(i,y),X(i,b),X(b,v),X(b,w),X(b,_),X(_,S),X(r,x),E||(C=ne(a,"click",F),E=!0)},p(e,t){n=e,128&t[0]&&!ae(a.src,o=n[57]?.gameModel?.thumbnail)&&re(a,"src",o),128&t[0]&&s!==(s=n[57]?.gameModel?.thumbnail)&&re(a,"alt",s),128&t[0]&&G!==(G=n[57].gameName+"")&&ie(u,G),128&t[0]&&M!==(M=n[17](n[57].username)+"")&&ie(m,M),32768&t[0]&&L!==(L=n[15]("Translations.won")+"")&&ie(g,L),128&t[0]&&k!==(k=n[57].specifiedCurrencyAmount.toFixed(2)+"")&&ie(v,k),1044&t[0]&&I!==(I=(n[4]?n[10]:n[2])+"")&&ie(S,I),8192&t[0]&&T!==(T="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&re(r,"class",T)},d(e){e&&q(r),E=!1,C()}}}function Rr(n){let r;function i(e){return e[12]?Ir:kr}let a=i(n),o=a(n);return{c(){r=Q("div"),o.c(),this.c=Z},m(e,t){J(e,r,t),o.m(r,null),n[39](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&q(r),o.d(),n[39](null)}}}function Ar(t,e,a){let n;_e(t,Tr,e=>a(15,n=e));let r,o,i,s,l,c,u,h,d,m,{endpoint:f=""}=e,{session:p=""}=e,{periodrecent:g="Today"}=e,{periodtop:y="Last7Days"}=e,{numberusersrecent:b="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:w="1"}=e,{lang:_="en"}=e,{isrecentavailable:S="true"}=e,{istopavailable:x="true"}=e,{defaultcurrency:T=""}=e,{clientstyling:E=""}=e,{clientstylingurl:C=""}=e,{enableautoscroll:G=""}=e,{tabsorder:M=""}=e,L=[],k=0,I=0,R=window.navigator.userAgent,F=!0,O=!1;Object.keys(Gr).forEach(e=>{rr(e,Gr[e])});const A=()=>{const e=new URL(`${f}/casino/${o}-winners`);e.searchParams.append("limit","recent"==o?b:v),e.searchParams.append("specifiedCurrency",m),e.searchParams.append("period","recent"==o?g:y),e.searchParams.append("language",_),e.searchParams.append("amountLimit",w),fetch(e.href).then(e=>e.json()).then(e=>{a(7,L=[]),a(7,L=e.items.map(e=>e)),a(12,F=!1),setTimeout(()=>{a(8,I=Math.round(r.offsetWidth/225)),$(),"true"==G&&(k=0,I<u?h=setInterval(()=>{N()},3e3):clearInterval(h))})})},D=e=>{o!==e&&(a(6,o=e),a(7,L=[]),A())},P=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},$=n=>{const e=[...r.children];u=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==o?setTimeout(()=>{a(13,O=!0)},10):a(13,O=!1)},H=()=>{$(k)},B=()=>{var e=L.length;I>=L.length||(0===k?k=e-I:k-I<0?k=0:k-=I,H())},N=()=>{var e=L.length;I>=L.length||("true"==G&&(k===e-I?k=0:k++),"false"==G&&(k===e-I?k=0:e-I<k+I?k=e-I:k+=I),H())};return Se(()=>(a(9,i=we(R)),()=>{clearInterval(h)})),t.$$set=e=>{"endpoint"in e&&a(22,f=e.endpoint),"session"in e&&a(23,p=e.session),"periodrecent"in e&&a(24,g=e.periodrecent),"periodtop"in e&&a(25,y=e.periodtop),"numberusersrecent"in e&&a(26,b=e.numberusersrecent),"numberuserstop"in e&&a(27,v=e.numberuserstop),"amountlimit"in e&&a(21,w=e.amountlimit),"lang"in e&&a(28,_=e.lang),"isrecentavailable"in e&&a(0,S=e.isrecentavailable),"istopavailable"in e&&a(1,x=e.istopavailable),"defaultcurrency"in e&&a(2,T=e.defaultcurrency),"clientstyling"in e&&a(29,E=e.clientstyling),"clientstylingurl"in e&&a(30,C=e.clientstylingurl),"enableautoscroll"in e&&a(3,G=e.enableautoscroll),"tabsorder"in e&&a(31,M=e.tabsorder)},t.$$.update=()=>{if(522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&S&&x&&g&&y&&b&&v&&w&&_&&M&&null!=s&&(a(14,d=M.split(",")),a(6,o=d[0]),"false"==S&&a(21,w=""),a(32,m=s?l:T)),4194304&t.$$.dirty[0]&&f&&(r=f,i=p,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),ke(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,a(10,l=e.Currency),a(4,s=!0)},e=>{a(4,s=!1)})),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&f&&m&&G&&A(),268435456&t.$$.dirty[0]&&_&&(e=_,yr.set(e)),536870912&t.$$.dirty[0]&&E){let e=document.createElement("style");e.innerHTML=E,c.appendChild(e)}if(1073741824&t.$$.dirty[0]&&C){let e=new URL(C),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&(setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500))})}var e,r,i},[S,x,T,G,s,r,o,L,I,i,l,c,F,O,d,n,D,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),P,B,N,w,f,p,g,y,b,v,_,E,C,M,m,()=>D("recent"),()=>D("top"),()=>B(),()=>N(),e=>P(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){ve[e?"unshift":"push"](()=>{r=e,a(5,r)})},function(e){ve[e?"unshift":"push"](()=>{c=e,a(11,c)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:192px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:192px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Ar,Rr,f,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&J(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),g()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),g()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),g()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),g()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),g()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),g()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),g()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),g()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),g()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),g()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),g()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),g()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),g()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),g()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),g()}});$r=Pr={path:void 0,exports:{},require:function(e,t){return In(null==t&&Pr.path)}},Pr.exports,$r.exports=function(){var R;function f(){return R.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function A(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function P(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function s(e){return void 0===e}function $(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function H(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function B(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function U(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return It(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 Y(e){if(null==e._isValid){var t=g(e),n=j.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 W(e){var t=c(NaN);return null!=e?U(g(t),e):g(t).userInvalidated=!0,t}var j=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},z=f.momentProperties=[],V=!1;function Z(e,t){var n,r,i,a=z.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=g(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(i=t[r=z[n]])||(e[r]=i);return e}function K(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,f.updateOffset(this),V=!1)}function l(e){return e instanceof K||null!=e&&null!=e._isAMomentObject}function X(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return U(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,a),s){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])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}X(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var J={};function q(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),J[e]||(X(t),J[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=U({},e);for(n in t)p(t,n)&&(A(e[n])&&A(t[n])?(r[n]={},U(r[n],e[n]),U(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)p(e,n)&&!p(t,n)&&A(e[n])&&(r[n]=U({},r[n]));return r}function ee(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function a(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={},ae={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(ae[e]=i),t&&(ae[t[0]]=function(){return a(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,a=i.length;t<a;t++)ae[i[t]]?i[t]=ae[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=u(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function se(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 ce(e){var t,n,r={};for(n in e)p(e,n)&&(t=h(n))&&(r[t]=e[n]);return r}var ue={};function n(e,t){ue[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 m(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?(fe(this,t,e),f.updateOffset(this,n),this):me(this,t)}}function me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&he(e.year())&&1===e.month()&&29===e.date()?(n=m(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),De(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,pe=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,_e=/\d{1,4}/,Se=/[+-]?\d{1,6}/,xe=/\d+/,Te=/[+-]?\d+/,Ee=/Z|[+-]\d\d:?\d\d/gi,Ce=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,n,r){Me[e]=u(n)?n:function(e,t){return e&&r?r:n}}function Ge(e,t){return p(Me,e)?Me[e](t._strict,t._locale):new RegExp(_(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Me={},Le={};function S(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),$(n)&&(i=function(e,t){t[n]=m(e)}),r=e.length,t=0;t<r;t++)Le[e[t]]=i}function ke(e,i){S(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var x,T=0,E=1,C=2,G=3,M=4,L=5,Ie=6,Fe=7,Oe=8;function De(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?he(e)?29:28:31-n%7%2}x=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),w("M",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),S(["M","MM"],function(e,t){t[E]=m(e)-1}),S(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[E]=r:g(n).invalidMonth=e});var Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pe=v,$e=v;function He(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=m(t);else if(!$(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),De(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Be(e){return null!=e?(He(this,e),f.updateOffset(this,!0),this):me(this,"Month")}function Ue(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=c([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=_(n[a]),r[a]=_(r[a]);for(a=0;a<24;a++)i[a]=_(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ye(e){return he(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?a(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),w("Y",Te),w("YY",b,y),w("YYYY",_e,ge),w("YYYYY",Se,ye),w("YYYYYY",Se,ye),S(["YYYYY","YYYYYY"],T),S("YYYY",function(e,t){t[T]=2===e.length?f.parseTwoDigitYear(e):m(e)}),S("YY",function(e,t){t[T]=f.parseTwoDigitYear(e)}),S("Y",function(e,t){t[T]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return m(e)+(68<m(e)?1900:2e3)};var We=de("FullYear",!0);function je(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+ze(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var a,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,i),n=t<=0?Ye(a=e-1)+t:t>Ye(e)?(a=e+1,t-Ye(e)):(a=e,t);return{year:a,dayOfYear:n}}function Ke(e,t,n){var r,i,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+k(i=e.year()-1,t,n):a>k(e.year(),t,n)?(r=a-k(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function k(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(Ye(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("w",b),w("ww",b,y),w("W",b),w("WW",b,y),ke(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=m(e)});function Xe(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),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),ke(["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}),ke(["d","e","E"],function(e,t,n,r){t[r]=m(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="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=[],a=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=_(this.weekdaysMin(r,"")),n=_(this.weekdaysShort(r,"")),r=_(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function at(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(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)+a(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),S(["H","HH"],G),S(["k","kk"],function(e,t,n){e=m(e);t[G]=24===e?0:e}),S(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),S(["h","hh"],function(e,t,n){t[G]=m(e),g(n).bigHour=!0}),S("hmm",function(e,t,n){var r=e.length-2;t[G]=m(e.substr(0,r)),t[M]=m(e.substr(r)),g(n).bigHour=!0}),S("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[G]=m(e.substr(0,r)),t[M]=m(e.substr(r,2)),t[L]=m(e.substr(i)),g(n).bigHour=!0}),S("Hmm",function(e,t,n){var r=e.length-2;t[G]=m(e.substr(0,r)),t[M]=m(e.substr(r))}),S("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[G]=m(e.substr(0,r)),t[M]=m(e.substr(r,2)),t[L]=m(e.substr(i))});v=de("Hours",!0);var st,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ne,monthsShort:Re,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},I={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function ht(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=ut(e[a]).split("-")).length,n=(n=ut(e[a+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--}a++}return st}function dt(t){var e;if(void 0===I[t]&&$r&&$r.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,In(),mt(e)}catch(e){I[t]=null}return I[t]}function mt(e,t){return e&&((t=s(t)?F(e):ft(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function ft(e,t){if(null===t)return delete I[e],null;var n,r=lt;if(t.abbr=e,null!=I[e])q("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=I[e]._config;else if(null!=t.parentLocale)if(null!=I[t.parentLocale])r=I[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return I[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){ft(e.name,e.config)}),mt(e),I[e]}function F(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=dt(e))return t;e=[e]}return ht(e)}function pt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[E]<0||11<t[E]?E:t[C]<1||t[C]>De(t[T],t[E])?C:t[G]<0||24<t[G]||24===t[G]&&(0!==t[M]||0!==t[L]||0!==t[Ie])?G:t[M]<0||59<t[M]?M:t[L]<0||59<t[L]?L:t[Ie]<0||999<t[Ie]?Ie:-1,g(e)._overflowDayOfYear&&(t<T||C<t)&&(t=C),g(e)._overflowWeeks&&-1===t&&(t=Fe),g(e)._overflowWeekday&&-1===t&&(t=Oe),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]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_t=/^\/?Date\((-?\d+)/i,St=/^(?:(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}))$/,xt={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,a,o,s=e._i,l=gt.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(g(e).iso=!0,t=0,n=s;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=c;t<n;t++)if(wt[t][1].exec(l[3])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Lt(e)}else e._isValid=!1}function Et(e,t,n,r,i,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Re.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&e.push(parseInt(a,10)),e}function Ct(e){var t,n,r,i,a=St.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Et(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&qe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=a[8],r=a[9],i=a[10],n?xt[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Gt(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,r,i,a,o,s,l,c,u,h,d=[];if(!e._d){for(u=e,h=new Date(f.now()),n=u._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[C]&&null==e._a[E]&&(null!=(h=(u=e)._w).GG||null!=h.W||null!=h.E?(o=1,s=4,r=Gt(h.GG,u._a[T],Ke(O(),1,4).year),i=Gt(h.W,1),((a=Gt(h.E,1))<1||7<a)&&(l=!0)):(o=u._locale._week.dow,s=u._locale._week.doy,c=Ke(O(),o,s),r=Gt(h.gg,u._a[T],c.year),i=Gt(h.w,c.week),null!=h.d?((a=h.d)<0||6<a)&&(l=!0):null!=h.e?(a=h.e+o,(h.e<0||6<h.e)&&(l=!0)):a=o),i<1||i>k(r,o,s)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=Ze(r,i,a,o,s),u._a[T]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(h=Gt(e._a[T],n[T]),(e._dayOfYear>Ye(h)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=ze(h,0,e._dayOfYear),e._a[E]=l.getUTCMonth(),e._a[C]=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[G]&&0===e._a[M]&&0===e._a[L]&&0===e._a[Ie]&&(e._nextDay=!0,e._a[G]=0),e._d=(e._useUTC?ze:je).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[G]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==f.ISO_8601)if(e._f!==f.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r,i=""+e._i,a=i.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(i.match(Ge(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),o+=t.length),ae[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),h=r,m=e,null!=(d=t)&&p(Le,h)&&Le[h](d,m._a,m,h)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=a-o,0<i.length&&g(e).unusedInput.push(i),e._a[G]<=12&&!0===g(e).bigHour&&0<e._a[G]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[G]=(a=e._locale,c=e._a[G],null==(u=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,u):null!=a.isPM?((a=a.isPM(u))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[T]=e._locale.erasConvertYear(u,e._a[T])),Mt(e),pt(e)}else Ct(e);else Tt(e);var c,u,h,d,m}function kt(e){var t,n=e._i,r=e._f;{var i,a;if(e._locale=e._locale||F(e._l),null===n||void 0===r&&""===n)return W({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new K(pt(n)):(H(n)?e._d=n:o(r)?function(e){var t,n,r,i,a,o,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)a=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Lt(t),Y(t)&&(o=!0),a=(a+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));U(e,n||t)}(e):r?Lt(e):s(r=(n=e)._i)?n._d=new Date(f.now()):H(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(a=_t.exec(i._i))?(Tt(i),!1===i._isValid&&(delete i._isValid,Ct(i),!1===i._isValid&&(delete i._isValid,i._strict?i._isValid=!1:f.createFromInputFallback(i)))):i._d=new Date(+a[1])):o(r)?(n._a=B(r.slice(0),function(e){return parseInt(e,10)}),Mt(n)):A(r)?(i=n)._d||(t=void 0===(a=ce(i._i)).day?a.date:a.day,i._a=B([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),Mt(i)):$(r)?n._d=new Date(r):f.createFromInputFallback(n),Y(e)||(e._d=null),e)}}function It(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(A(e)&&P(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(i=new K(pt(kt(i=a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function O(e,t,n,r){return It(e,t,n,r,!1)}f.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":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=O.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:W()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=O.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:W()});function Ft(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return O();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Dt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Ot.length;for(t in e)if(p(e,t)&&(-1===x.call(Ot,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Ot[n]]){if(r)return!1;parseFloat(e[Ot[n]])!==m(e[Ot[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=F(),this._bubble()}function Nt(e){return e instanceof Dt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}At("Z",":"),At("ZZ",""),w("Z",Ce),w("ZZ",Ce),S(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=$t(Ce,e)});var Pt=/([\+\-]|\d\d)/gi;function $t(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Pt)||["-",0,0])[1]+m(e[2]))?0:"+"===e[0]?t:-t}function Ht(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||H(e)?e:O(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),f.updateOffset(t,!1),t):O(e).local()}function Bt(e){return-Math.round(e._d.getTimezoneOffset())}function Ut(){return!!this.isValid()&&this._isUTC&&0===this._offset}f.updateOffset=function(){};var Yt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function D(e,t){var n,r,i=e,a=null;return Nt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:$(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Yt.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:m(a[C])*n,h:m(a[G])*n,m:m(a[M])*n,s:m(a[L])*n,ms:m(Rt(1e3*a[Ie]))*n}):(a=Wt.exec(e))?(n="-"===a[1]?-1:1,i={y:jt(a[2],n),M:jt(a[3],n),w:jt(a[4],n),d:jt(a[5],n),h:jt(a[6],n),m:jt(a[7],n),s:jt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=O(i.from),a=O(i.to),n=t.isValid()&&a.isValid()?(a=Ht(a,t),t.isBefore(a)?r=zt(t,a):((r=zt(a,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),a=new Dt(i),Nt(e)&&p(e,"_locale")&&(a._locale=e._locale),Nt(e)&&p(e,"_isValid")&&(a._isValid=e._isValid),a}function jt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(q(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,D(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(r=null==r||r,t&&He(e,me(e,"Month")+t*n),a&&fe(e,"Date",me(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&f.updateOffset(e,a||t))}D.fn=Dt.prototype,D.invalid=function(){return D(NaN)};Ne=Vt(1,"add"),Je=Vt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Xt(e){return l(e)||H(e)||Kt(e)||$(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!$(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=A(e)&&!P(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],i=i||p(e,n);return r&&i}(e)||null==e;var t,n,r}function Jt(e,t){if(e.date()<t.date())return-Jt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function qt(e){return void 0===e?this._locale._abbr:(null!=(e=F(e))&&(this._locale=e),this)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(_(i[a].name)),e.push(_(i[a].abbr)),n.push(_(i[a].narrow)),r.push(_(i[a].name)),r.push(_(i[a].abbr)),r.push(_(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function sn(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var a;return null==e?Ke(this,r,i).year:(t>(a=k(e,r,i))&&(t=a),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=ze(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"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),S(["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}),w("y",xe),w("yy",xe),w("yyy",xe),w("yyyy",xe),w("yo",function(e,t){return t._eraYearOrdinalRegex||xe}),S(["y","yy","yyy","yyyy"],T),S(["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}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",Te),w("g",Te),w("GG",b,y),w("gg",b,y),w("GGGG",_e,ge),w("gggg",_e,ge),w("GGGGG",Se,ye),w("ggggg",Se,ye),ke(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=m(e)}),ke(["gg","GG"],function(e,t,n,r){t[r]=f.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",i),S("Q",function(e,t){t[E]=3*(m(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),S(["D","DD"],C),S("Do",function(e,t){t[C]=m(e.match(b)[0])});_e=de("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",pe),S(["DDD","DDDD"],function(e,t,n){n._dayOfYear=m(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),S(["m","mm"],M);ge=de("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),S(["s","ss"],L);var cn,Se=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),w("S",we,i),w("SS",we,y),w("SSS",we,pe),cn="SSSS";cn.length<=9;cn+="S")w(cn,xe);function un(e,t){t[Ie]=m(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")S(cn,un);ye=de("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=K.prototype;function hn(e){return e}i.add=Ne,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=A(e)&&!P(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||p(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||O(),n=Ht(e,this).startOf("day"),n=f.calendarFormat(this,n)||"sameElse",t=t&&(u(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,O(e)))},i.clone=function(){return new K(this)},i.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Ht(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=h(t)){case"year":a=Jt(this,r)/12;break;case"month":a=Jt(this,r);break;case"quarter":a=Jt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:d(a)},i.endOf=function(e){var t,n;if(void 0===(e=h(e))||"millisecond"===e||!this.isValid())return this;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}return this._d.setTime(t),f.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||O(e).isValid())?D({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(O(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||O(e).isValid())?D({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(O(),e)},i.get=function(e){return u(this[e=h(e)])?this[e]():this},i.invalidAt=function(){return g(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:O(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:O(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:O(e),t=l(t)?t:O(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:O(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 Y(this)},i.lang=Qe,i.locale=qt,i.localeData=Qt,i.max=ve,i.min=be,i.parsingFlags=function(){return U({},g(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(u(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())return this;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)}return this._d.setTime(t),f.updateOffset(this,!0),this},i.subtract=Je,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){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},i.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"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()-f(n[r].since).year())*e+n[r].offset;return this.year()},i.year=We,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=Be,i.daysInMonth=function(){return De(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=Ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return k(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return k(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return k(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return k(this.isoWeekYear(),1,4)},i.date=_e,i.day=i.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},i.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},i.isoWeekday=function(e){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;var t,n},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=Se,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:Bt(this);if("string"==typeof e){if(null===(e=$t(Ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Bt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,D(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.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(Bt(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=$t(Ee,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?O(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=Ut,i.isUTC=Ut,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.",_e),i.months=e("months accessor is deprecated. Use month instead",Be),i.years=e("years accessor is deprecated. Use year instead",We),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(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=kt(t))._a?(e=(t._isUTC?c:O)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&m(e[o])!==m(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function dn(e,t,n,r){var i=F(),r=c().set(r,t);return i[n](r,e)}function mn(e,t,n){if($(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 fn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),$(t)&&(n=t,t=void 0),t||"");var i,a=F(),o=e?a._week.dow:0,s=[];if(null!=n)return dn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=dn(t,(i+o)%7,r,"day");return s}y.calendar=function(e,t,n){return u(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 u(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(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)p(e,n)&&(u(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||F("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=f(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=f(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return p(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Ae).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Ae.test(t)?"format":"standalone"])[e.month()]:o(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,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=x.call(this._shortMonthsParse,e))?i:null:-1!==(i=x.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=x.call(this._shortMonthsParse,e))||-1!==(i=x.call(this._longMonthsParse,e))?i:null:-1!==(i=x.call(this._longMonthsParse,e))||-1!==(i=x.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=c([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?(p(this,"_monthsRegex")||Ue.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=$e),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ue.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Pe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ke(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Xe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Xe(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,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=x.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=x.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=x.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=x.call(this._weekdaysParse,e))||-1!==(i=x.call(this._shortWeekdaysParse,e))||-1!==(i=x.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=x.call(this._shortWeekdaysParse,e))||-1!==(i=x.call(this._weekdaysParse,e))||-1!==(i=x.call(this._minWeekdaysParse,e))?i:null:-1!==(i=x.call(this._minWeekdaysParse,e))||-1!==(i=x.call(this._weekdaysParse,e))||-1!==(i=x.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=c([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?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},mt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===m(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=e("moment.lang is deprecated. Use moment.locale instead.",mt),f.langData=e("moment.langData is deprecated. Use moment.localeData instead.",F);var pn=Math.abs;function gn(e,t,n,r){t=D(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 wn(e){return function(){return this.as(e)}}we=wn("ms"),pe=wn("s"),Ne=wn("m"),ve=wn("h"),be=wn("d"),Je=wn("w"),v=wn("M"),ge=wn("Q"),Se=wn("y");function _n(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=_n("milliseconds"),_e=_n("seconds"),We=_n("minutes"),y=_n("hours"),Sn=_n("days"),xn=_n("months"),Tn=_n("years");var En=Math.round,Cn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(e,t,n,r){var i=D(e).abs(),a=En(i.as("s")),o=En(i.as("m")),s=En(i.as("h")),l=En(i.as("d")),c=En(i.as("M")),u=En(i.as("w")),i=En(i.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(a=(a=null!=n.w?a||u<=1&&["w"]||u<n.w&&["ww",u]:a)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,a[3]=0<+e,a[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,a)}var Mn=Math.abs;function Ln(e){return(0<e)-(e<0)||+e}function kn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s=Mn(this._milliseconds)/1e3,l=Mn(this._days),c=Mn(this._months),u=this.asSeconds();return u?(e=d(s/60),t=d(e/60),s%=60,e%=60,n=d(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=Ln(this._months)!==Ln(u)?"-":"",a=Ln(this._days)!==Ln(u)?"-":"",o=Ln(this._milliseconds)!==Ln(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}var N=Dt.prototype;return N.isValid=function(){return this._isValid},N.abs=function(){var e=this._data;return this._milliseconds=pn(this._milliseconds),this._days=pn(this._days),this._months=pn(this._months),e.milliseconds=pn(e.milliseconds),e.seconds=pn(e.seconds),e.minutes=pn(e.minutes),e.hours=pn(e.hours),e.months=pn(e.months),e.years=pn(e.years),this},N.add=function(e,t){return gn(this,e,t,1)},N.subtract=function(e,t){return gn(this,e,t,-1)},N.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)}},N.asMilliseconds=we,N.asSeconds=pe,N.asMinutes=Ne,N.asHours=ve,N.asDays=be,N.asWeeks=Je,N.asMonths=v,N.asQuarters=ge,N.asYears=Se,N.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*m(this._months/12):NaN},N._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},N.clone=function(){return D(this)},N.get=function(e){return e=h(e),this.isValid()?this[e+"s"]():NaN},N.milliseconds=ye,N.seconds=_e,N.minutes=We,N.hours=y,N.days=Sn,N.weeks=function(){return d(this.days()/7)},N.months=xn,N.years=Tn,N.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Cn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Cn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Gn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},N.toISOString=kn,N.toString=kn,N.toJSON=kn,N.locale=qt,N.localeData=Qt,N.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",kn),N.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",Te),w("X",/[+-]?\d+(\.\d{1,3})?/),S("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),S("x",function(e,t,n){n._d=new Date(m(e))}),f.version="2.29.3",R=O,f.fn=i,f.min=function(){return Ft("isBefore",[].slice.call(arguments,0))},f.max=function(){return Ft("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=c,f.unix=function(e){return O(1e3*e)},f.months=function(e,t){return mn(e,t,"months")},f.isDate=H,f.locale=mt,f.invalid=W,f.duration=D,f.isMoment=l,f.weekdays=function(e,t,n){return fn(e,t,n,"weekdays")},f.parseZone=function(){return O.apply(null,arguments).parseZone()},f.localeData=F,f.isDuration=Nt,f.monthsShort=function(e,t){return mn(e,t,"monthsShort")},f.weekdaysMin=function(e,t,n){return fn(e,t,n,"weekdaysMin")},f.defineLocale=ft,f.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=I[e]&&null!=I[e].parentLocale?I[e].set(Q(I[e]._config,t)):(t=Q(r=null!=(n=dt(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=I[e],I[e]=r),mt(e)):null!=I[e]&&(null!=I[e].parentLocale?(I[e]=I[e].parentLocale,e===mt()&&mt(e)):null!=I[e]&&delete I[e]),I[e]},f.locales=function(){return te(I)},f.weekdaysShort=function(e,t,n){return fn(e,t,n,"weekdaysShort")},f.normalizeUnits=h,f.relativeTimeRounding=function(e){return void 0===e?En:"function"==typeof e&&(En=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==Cn[e]&&(void 0===t?Cn[e]:(Cn[e]=t,"s"===e&&(Cn.ss=t-1),!0))},f.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"},f.prototype=i,f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},f}();var Pr,$r,Hr=Pr.exports;const Br={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Ur={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function Yr(e,t,n){const r=e.slice();return r[105]=t[n],r[107]=n,r}function Wr(e,t,n){const r=e.slice();return r[102]=t[n],r}function jr(e){let n,r=!we(e[36])&&!e[0]&&e[13],i=r&&zr(e);return{c(){i&&i.c(),n=l()},m(e,t){i&&i.m(e,t),J(e,n,t)},p(e,t){(r=8193&t[0]?!we(e[36])&&!e[0]&&e[13]:r)?i?i.p(e,t):((i=zr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&q(n)}}}function zr(n){let r,i,a;return{c(){(r=Q("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){J(e,r,t),i||(a=ne(r,"click",n[64]),i=!0)},p:Z,d(e){e&&q(r),i=!1,a()}}}function Vr(e){let n;return{c(){(n=Q("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(n,"class","FavIconContainer"),re(n,"part","FavIconContainer")},m(e,t){J(e,n,t)},p:Z,d(e){e&&q(n)}}}function Zr(n){let r,i,a;return{c(){(r=Q("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){J(e,r,t),i||(a=ne(r,"click",n[66]),i=!0)},p:Z,d(e){e&&q(r),i=!1,a()}}}function Kr(e){let n,r,i=e[35]("gameThumbnail.new")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","GameExtraInfoLabel NewGameTag"),re(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){J(e,n,t),X(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.new")+"")&&ie(r,i)},d(e){e&&q(n)}}}function Xr(e){let n,r,i=e[35]("gameThumbnail.hot")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","GameExtraInfoLabel PopularGameTag"),re(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){J(e,n,t),X(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.hot")+"")&&ie(r,i)},d(e){e&&q(n)}}}function Jr(e){let n,r,i=!e[22]&&e[20]&&e[21]&&qr(e);function a(e){return e[22]&&e[19]&&e[19]===ui?ei:e[22]&&e[19]&&e[19]===hi?Qr:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=te(),s&&s.c(),r=l()},m(e,t){i&&i.m(e,t),J(e,n,t),s&&s.m(e,t),J(e,r,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):((i=qr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&q(n),s&&s.d(e),e&&q(r)}}}function qr(e){let n,r,i,a,o,s,l,c,u,h,d=e[35]("gameThumbnail.opens")+"",m=Hr.utc(e[20]).local().format(e[21])+"",f=e[45](e[34])+"",p=e[44](e[26],e[27],e[25])+"";return{c(){n=Q("div"),r=Q("div"),i=ee(d),a=te(),o=Q("span"),s=ee(m),l=te(),c=new t(!1),u=te(),h=new t(!1),re(r,"class","ClosedGame"),re(r,"part","ClosedGame"),c.a=u,h.a=null,re(n,"class","GameProp LiveProps"),re(n,"part","GameProp LiveProps")},m(e,t){J(e,n,t),X(n,r),X(r,i),X(r,a),X(r,o),X(o,s),X(n,l),c.m(f,n),X(n,u),h.m(p,n)},p(e,t){16&t[1]&&d!==(d=e[35]("gameThumbnail.opens")+"")&&ie(i,d),3145728&t[0]&&m!==(m=Hr.utc(e[20]).local().format(e[21])+"")&&ie(s,m),8&t[1]&&f!==(f=e[45](e[34])+"")&&c.p(f),234881024&t[0]&&p!==(p=e[44](e[26],e[27],e[25])+"")&&h.p(p)},d(e){e&&q(n)}}}function Qr(n){let r,i,a,o,s,l,c=n[45](n[34])+"",u=n[44](n[26],n[27],n[25])+"",h=new Array(mi),d=[];for(let e=0;e<h.length;e+=1)d[e]=ii(Yr(n,h,e));return{c(){r=Q("div"),i=Q("div");for(let e=0;e<d.length;e+=1)d[e].c();a=te(),o=new t(!1),s=te(),l=new t(!1),re(i,"class","LiveIcons"),re(i,"part","LiveIcons"),o.a=s,l.a=null,re(r,"class",n[30]),re(r,"part",n[30])},m(e,t){J(e,r,t),X(r,i);for(let e=0;e<d.length;e+=1)d[e].m(i,null);n[67](i),X(r,a),o.m(c,r),X(r,s),l.m(u,r)},p(t,n){if(536872960&n[0]|32769&n[1]){let e;for(h=new Array(mi),e=0;e<h.length;e+=1){const o=Yr(t,h,e);d[e]?d[e].p(o,n):(d[e]=ii(o),d[e].c(),d[e].m(i,null))}for(;e<d.length;e+=1)d[e].d(1);d.length=h.length}8&n[1]&&c!==(c=t[45](t[34])+"")&&o.p(c),234881024&n[0]&&u!==(u=t[44](t[26],t[27],t[25])+"")&&l.p(u),1073741824&n[0]&&re(r,"class",t[30]),1073741824&n[0]&&re(r,"part",t[30])},d(e){e&&q(r),k(d,e),n[67](null)}}}function ei(e){let n,r,i,a,o,s,l=e[45](e[34])+"",c=e[44](e[26],e[27],e[25])+"";function u(e){return e[32]?oi:ai}let h=u(e),d=h(e);return{c(){n=Q("div"),r=Q("div"),d.c(),i=te(),a=new t(!1),o=te(),s=new t(!1),re(r,"class","LiveIcons"),re(r,"part","LiveIcons"),a.a=o,s.a=null,re(n,"class","GameProp LiveProps BlackjackDisplay"),re(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){J(e,n,t),X(n,r),d.m(r,null),X(n,i),a.m(l,n),X(n,o),s.m(c,n)},p(e,t){h===(h=u(e))&&d?d.p(e,t):(d.d(1),(d=h(e))&&(d.c(),d.m(r,null))),8&t[1]&&l!==(l=e[45](e[34])+"")&&a.p(l),234881024&t[0]&&c!==(c=e[44](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&q(n),d.d()}}}function ti(e){let n;function r(e){return e[29]?ri:ni}let i=r(e),a=i(e);return{c(){a.c(),n=l()},m(e,t){a.m(e,t),J(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&q(n)}}}function ni(e){let n,r,i=e[46]("LatestResult "+(0===e[107]?"First":""),e[107],e[11][e[107]],e[31][e[11][e[107]]])+"";return{c(){n=new t(!1),r=l(),n.a=r},m(e,t){n.m(i,e,t),J(e,r,t)},p(e,t){2048&t[0]|1&t[1]&&i!==(i=e[46]("LatestResult "+(0===e[107]?"First":""),e[107],e[11][e[107]],e[31][e[11][e[107]]])+"")&&n.p(i)},d(e){e&&q(r),e&&n.d()}}}function ri(e){let n,r,i,a,o,s=e[46]("LatestResult "+(0===e[107]?"First":""),"first"+e[107]+e[11][e[107]][0],e[11][e[107]][0],e[31][e[11][e[107]][0]])+"",l=e[46]("LatestResult "+(0===e[107]?"First":""),"second"+e[107]+e[11][e[107]][1],e[11][e[107]][1],e[31][e[11][e[107]][1]])+"";return{c(){n=Q("div"),r=new t(!1),i=te(),a=new t(!1),o=te(),r.a=i,a.a=o,re(n,"class","Double"),re(n,"part","Double")},m(e,t){J(e,n,t),r.m(s,n),X(n,i),a.m(l,n),X(n,o)},p(e,t){2048&t[0]|1&t[1]&&s!==(s=e[46]("LatestResult "+(0===e[107]?"First":""),"first"+e[107]+e[11][e[107]][0],e[11][e[107]][0],e[31][e[11][e[107]][0]])+"")&&r.p(s),2048&t[0]|1&t[1]&&l!==(l=e[46]("LatestResult "+(0===e[107]?"First":""),"second"+e[107]+e[11][e[107]][1],e[11][e[107]][1],e[31][e[11][e[107]][1]])+"")&&a.p(l)},d(e){e&&q(n)}}}function ii(e){let n,r=e[11]&&e[11][e[107]]&&ti(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),J(e,n,t)},p(e,t){e[11]&&e[11][e[107]]?r?r.p(e,t):((r=ti(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&q(n)}}}function ai(t){let i,a=t[24],o=[];for(let e=0;e<a.length;e+=1)o[e]=si(Wr(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);J(t,i,n)},p(t,n){if(285212672&n[0]|4096&n[1]){let e;for(a=t[24],e=0;e<a.length;e+=1){var r=Wr(t,a,e);o[e]?o[e].p(r,n):(o[e]=si(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){k(o,e),e&&q(i)}}}function oi(e){let n,r,i=e[35]("gameThumbnail.full")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","FullTable"),re(n,"part","FullTable")},m(e,t){J(e,n,t),X(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.full")+"")&&ie(r,i)},d(e){e&&q(n)}}}function si(e){let n,r,i,a,o,s,l;return{c(){n=Q("span"),r=C("svg"),i=C("path"),a=C("path"),o=te(),re(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),re(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),re(r,"xmlns","http://www.w3.org/2000/svg"),re(r,"width","13"),re(r,"height","14"),re(r,"viewBox","0 0 13 14"),re(n,"class",s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat"),re(n,"part",l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")},m(e,t){J(e,n,t),X(n,r),X(r,i),X(r,a),X(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&re(n,"class",s),285212672&t[0]&&l!==(l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&re(n,"part",l)},d(e){e&&q(n)}}}function li(e){let n,r;return{c(){n=Q("p"),r=ee(e[3]),re(n,"class","GameNameBelow"),re(n,"part","GameNameBelow"),re(n,"title",e[3])},m(e,t){J(e,n,t),X(n,r)},p(e,t){8&t[0]&&ie(r,e[3]),8&t[0]&&re(n,"title",e[3])},d(e){e&&q(n)}}}function ci(n){let r,i,a,o,s,l,P,c,u,h,d,m,$,f,p,g,y,H,b,v,B,w,_,S,x,T,U,E,C,Y,G,M,W,j,L=n[35]("gameThumbnail.playNow")+"",k=(n[4]||"-")+"",z=0<parseInt(n[7]),I=n[14]&&jr(n);function V(e,t){return 8195&t[0]&&(w=null),8195&t[0]&&(_=null),(w=null==w?!(we(e[36])||!e[0]||!e[13]||!e[1]):w)?Zr:(_=null==_?!!(we(e[36])&&e[0]&&e[13]&&e[1]):_)?Vr:void 0}let F=V(n,[-1,-1,-1,-1]),O=F&&F(n),D=n[6]&&Kr(n),N=z&&Xr(n),R=n[10]&&Jr(n),A=n[9]&&li(n);return{c(){r=Q("div"),i=Q("div"),a=Q("img"),P=te(),c=Q("div"),u=Q("div"),I&&I.c(),h=te(),d=Q("p"),m=ee(n[3]),$=te(),f=Q("button"),p=ee(L),H=te(),b=Q("span"),v=ee(k),B=te(),O&&O.c(),S=te(),x=Q("div"),D&&D.c(),T=te(),N&&N.c(),U=te(),R&&R.c(),Y=te(),A&&A.c(),this.c=Z,ae(a.src,o=n[2])||re(a,"src",o),re(a,"class",s=`GameBg GameBg-${n[8]} ${n[15]?"GameContainerHovered":""} `+(n[16]?"Loaded":"")),re(a,"part",l="GameBg "+(n[15]?"GameContainerHovered":"")+" "+(n[16]?"Loaded":"")),re(a,"alt",""),re(a,"loading","lazy"),re(d,"class","GameInfoName"),re(d,"part","GameInfoName"),re(d,"title",n[3]),re(f,"class","GameInfoBtn"),re(f,"part","GameInfoBtn"),re(u,"class",g="GameInfo "+(n[15]?"GameHovered":"")),re(u,"part",y="GameInfo "+(n[15]?"GameHovered":"")),re(b,"class","GameInfoVendor"),re(b,"part","GameInfoVendor"),re(c,"class","GameInfoWrapper"),re(c,"part","GameInfoWrapper"),re(x,"class","GameExtraInfo"),re(x,"part","GameExtraInfo"),re(i,"class",E="GameInnerContainer "+(n[10]&&!n[22]&&n[23].value||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),re(i,"part",C="GameInnerContainer "+(n[10]&&!n[22]||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),re(r,"class",G="GameContainer "+n[33]),re(r,"part",M="GameContainer "+n[33])},m(e,t){J(e,r,t),X(r,i),X(i,a),n[63](a),X(i,P),X(i,c),X(c,u),I&&I.m(u,null),X(u,h),X(u,d),X(d,m),X(u,$),X(u,f),X(f,p),X(c,H),X(c,b),X(b,v),X(i,B),O&&O.m(i,null),X(i,S),X(i,x),D&&D.m(x,null),X(x,T),N&&N.m(x,null),X(x,U),R&&R.m(x,null),X(r,Y),A&&A.m(r,null),n[68](r),W||(j=[ne(f,"click",n[65]),ne(i,"mouseenter",n[41]),ne(i,"mouseleave",n[42]),ne(i,"touchstart",n[39],{passive:!0}),ne(i,"touchend",n[40],{passive:!0})],W=!0)},p(e,t){4&t[0]&&!ae(a.src,o=e[2])&&re(a,"src",o),98560&t[0]&&s!==(s=`GameBg GameBg-${e[8]} ${e[15]?"GameContainerHovered":""} `+(e[16]?"Loaded":""))&&re(a,"class",s),98304&t[0]&&l!==(l="GameBg "+(e[15]?"GameContainerHovered":"")+" "+(e[16]?"Loaded":""))&&re(a,"part",l),e[14]?I?I.p(e,t):((I=jr(e)).c(),I.m(u,h)):I&&(I.d(1),I=null),8&t[0]&&ie(m,e[3]),8&t[0]&&re(d,"title",e[3]),16&t[1]&&L!==(L=e[35]("gameThumbnail.playNow")+"")&&ie(p,L),32768&t[0]&&g!==(g="GameInfo "+(e[15]?"GameHovered":""))&&re(u,"class",g),32768&t[0]&&y!==(y="GameInfo "+(e[15]?"GameHovered":""))&&re(u,"part",y),16&t[0]&&k!==(k=(e[4]||"-")+"")&&ie(v,k),F===(F=V(e,t))&&O?O.p(e,t):(O&&O.d(1),(O=F&&F(e))&&(O.c(),O.m(i,S))),e[6]?D?D.p(e,t):((D=Kr(e)).c(),D.m(x,T)):D&&(D.d(1),D=null),(z=128&t[0]?0<parseInt(e[7]):z)?N?N.p(e,t):((N=Xr(e)).c(),N.m(x,U)):N&&(N.d(1),N=null),e[10]?R?R.p(e,t):((R=Jr(e)).c(),R.m(x,null)):R&&(R.d(1),R=null),12583936&t[0]|2&t[1]&&E!==(E="GameInnerContainer "+(e[10]&&!e[22]&&e[23].value||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&re(i,"class",E),4195328&t[0]|2&t[1]&&C!==(C="GameInnerContainer "+(e[10]&&!e[22]||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&re(i,"part",C),e[9]?A?A.p(e,t):((A=li(e)).c(),A.m(r,null)):A&&(A.d(1),A=null),4&t[1]&&G!==(G="GameContainer "+e[33])&&re(r,"class",G),4&t[1]&&M!==(M="GameContainer "+e[33])&&re(r,"part",M)},i:Z,o:Z,d(e){e&&q(r),n[63](null),I&&I.d(),O&&O.d(),D&&D.d(),N&&N.d(),R&&R.d(),A&&A.d(),n[68](null),W=!1,K(j)}}}const ui="blackjack",hi="roulette",di="doubleballroulette",mi=5;function fi(i,e,o){let t;_e(i,Tr,e=>o(35,t=e));let a,s,l,n,R,c,u,h,d,m,f,p,g,y,b,v,A,P,$,w,H,_,B,U,{session:Y=""}=e,{userid:W=""}=e,{lang:j=""}=e,{clientstyling:S=""}=e,{clientstylingurl:x=""}=e,{favorites:T=""}=e,{gamethumbnail:z=""}=e,{gamename:V=""}=e,{gamevendor:r=""}=e,{gameid:E=""}=e,{gameisnew:Z=""}=e,{gamepopularity:K=""}=e,{gamefunmode:X=!1}=e,{searchitem:J=!1}=e,{gamefavorite:C=!1}=e,{gamecellsize:q=""}=e,{showfavoredcategory:G=!1}=e,{showgamename:Q=!1}=e,{currency:M=""}=e,{gamepagemodalurl:ee="false"}=e,{endpoint:L=""}=e,{livelobbyendpoint:k=""}=e,{connectlive:I=""}=e,{visibilityconnect:F=""}=e,te=!1,ne=!1,re=!1,O=window.navigator.userAgent,ie="HH:mm",ae,oe=[],se="EUR",D="";const le=[ui],ce=[hi,di],ue={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},he={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},de=(Object.keys(Br).forEach(e=>{rr(e,Br[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+E||G||o(0,C=!0),e.data.type!=="RemoveFavoriteThumbnail_"+E||G||o(0,C=!1),"UserSessionID"===e.data.type&&(o(13,te=!0),e.data.session,e.data.userID),"CategoryUpdate"===e.data.type&&o(10,l=null)}),me=e=>{J&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),we(O)?window.postMessage({type:"ShowGameModal",gameId:e,isMobile:we(O)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:X,gamepagemodalurl:ee,isMobile:we(O)},window.location.href)},fe=e=>{var t="thumbnail";C?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},pe=()=>{k&&EventSource&&!n&&r&&E&&(n=new EventSource(`${L}/encoder/lobby/updates/${r}/`+E)).addEventListener("message",ye)},ge=()=>{n&&(n.close(),n=void 0)},ye=async e=>{const{type:t,data:n}=e;let r;if("message"===t){if(n)try{r=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(r){const{InternalTableId:e,MessageType:t,Results:n,Seats:i,Open:a}=r;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(o(28,p=i),o(10,l.currentOccupiedSeats=i,l),await xe());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(g=n,o(10,l.currentRouletteNumbers=n,l),await xe());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(y=n,o(10,l.currentDoubleBallRouletteNumbers=n,l),await xe());break;case"TableOpened":case"TableClosed":o(22,u=a),o(10,l.isOpen=a,l),await xe()}}}},be=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",N=(e,t)=>e.some(e=>e===t);return Se(()=>(window.addEventListener("message",de,!1),()=>{window.removeEventListener("message",de),n&&n.removeEventListener("message",ye)})),i.$$set=e=>{"session"in e&&o(47,Y=e.session),"userid"in e&&o(48,W=e.userid),"lang"in e&&o(49,j=e.lang),"clientstyling"in e&&o(50,S=e.clientstyling),"clientstylingurl"in e&&o(51,x=e.clientstylingurl),"favorites"in e&&o(1,T=e.favorites),"gamethumbnail"in e&&o(2,z=e.gamethumbnail),"gamename"in e&&o(3,V=e.gamename),"gamevendor"in e&&o(4,r=e.gamevendor),"gameid"in e&&o(5,E=e.gameid),"gameisnew"in e&&o(6,Z=e.gameisnew),"gamepopularity"in e&&o(7,K=e.gamepopularity),"gamefunmode"in e&&o(52,X=e.gamefunmode),"searchitem"in e&&o(53,J=e.searchitem),"gamefavorite"in e&&o(0,C=e.gamefavorite),"gamecellsize"in e&&o(8,q=e.gamecellsize),"showfavoredcategory"in e&&o(54,G=e.showfavoredcategory),"showgamename"in e&&o(9,Q=e.showgamename),"currency"in e&&o(55,M=e.currency),"gamepagemodalurl"in e&&o(56,ee=e.gamepagemodalurl),"endpoint"in e&&o(57,L=e.endpoint),"livelobbyendpoint"in e&&o(58,k=e.livelobbyendpoint),"connectlive"in e&&o(59,I=e.connectlive),"visibilityconnect"in e&&o(60,F=e.visibilityconnect)},i.$$.update=()=>{if(268435456&i.$$.dirty[1]&&I&&("disconnect"===I?ge():"connect"===I&&pe()),536870912&i.$$.dirty[1]&&F&&("disconnect"===F?ge():"connect"===F&&"connect"===I&&pe()),i.$$.dirty[1],67305472&i.$$.dirty[1]&&Y&&W&&L&&o(13,te=!0),4&i.$$.dirty[0]&&z&&a&&o(17,a.onload=()=>{o(16,re=!0)},a),524288&i.$$.dirty[1]&&S){let e=document.createElement("style");e.innerHTML=S,setTimeout(()=>{s.appendChild(e)})}if(2&i.$$.dirty[0]&&T&&"true"==T&&o(14,ne=!0),256&i.$$.dirty[0]|1048576&i.$$.dirty[1]&&q&&x){let e=new URL(x),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)})})}if(201326592&i.$$.dirty[1]&&L&&k){let e=new URL(""+k.split("?")[0]);e.searchParams.append("platform",Er(O)),e.searchParams.append("language",j),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(10,l=e)})}if(1024&i.$$.dirty[0]&&l&&l&&(o(22,u=l.isOpen),ae=l.betLimit||{},o(23,h=l.openHours),o(24,oe=(e=>{f=e.totalSeats||7,o(28,p=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=f;e++)t.push(e);return{seats:t}})(l).seats),h&&h.value&&({startTime:e,originalTimeFormat:t}=h["value"],o(20,c=e),o(21,ie=t||ie)),u&&o(19,R=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();N(le,e)?t=ui:N(ce,e)&&(t=hi)}}return t})(l)),o(25,se=Ur[M]),o(26,d=(ae.min||{})[M]),o(27,m=(ae.max||{})[M]),g=l.currentRouletteNumbers,y=l.currentDoubleBallRouletteNumbers,b=l.vendorCategory,o(29,v=b.toLowerCase()===di),o(11,A=(v?y:g)||[]),o(30,P="GameProp LiveProps RoulleteProps"),o(30,P+=v?" Double":""),o(31,$=N(ce,b.toLowerCase())?he:ue),H=w,o(32,w=Array.isArray(p)&&p.length===f),l.dealer&&o(34,B=l.dealer.DealerName),U=l.numberOfPlayers,o(33,D="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(33,D+=" GameBackdrop"),u&&w&&d&&m&&l.currentOccupiedSeats?o(33,D+=" GameContainerDimmed"):!1===u&&c&&o(33,D+=" GameContainerFullyDimmed"),s&&(!H&&w?(o(33,D+=" PulsatingRedShadow"),o(33,D=D.replace(" PulsatingGreenShadow",""))):H&&!w&&(o(33,D+=" PulsatingGreenShadow"),o(33,D=D.replace(" PulsatingRedShadow",""))))),6144&i.$$.dirty[0]&&_&&A){const n="FirstElementAnimated",r=_.getElementsByClassName("First")[0];r&&(r.classList.add(n),setTimeout(()=>{r.classList.remove(n)},2e3))}var e,t},[C,T,z,V,r,E,Z,K,q,Q,l,A,_,te,ne,!1,re,a,s,R,c,ie,u,h,oe,se,d,m,p,v,P,$,w,D,B,t,O,me,fe,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},N,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
|
|
2
2
|
<span>
|
|
3
3
|
${n}
|
|
4
4
|
</span>
|