@everymatrix/casino-game-page 1.0.11 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(E){"use strict";(r=E)&&"object"==typeof r&&0 in r;function g(){}function S(e){return e()}function T(){return Object.create(null)}function B(e){e.forEach(S)}function M(e){return"function"==typeof e}function k(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let F,De;function O(e,t){return(F=F||document.createElement("a")).href=t,e===F.href}function xe(e,...t){if(null==e)return g;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function D(e,t){e.appendChild(t)}function x(e,t,n){e.insertBefore(t,n||null)}function A(e){e.parentNode.removeChild(e)}function N(e){return document.createElement(e)}function U(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function C(e){return document.createTextNode(e)}function e(){return C(" ")}function Y(){return C("")}function H(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function L(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function I(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function P(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function R(e,t,n){e.classList[n?"add":"remove"](t)}function G(e){De=e}const $=[],Be=[],j=[],W=[],V=Promise.resolve();let z=!1;function Z(e){j.push(e)}const X=new Set;let q=0;function y(){const e=De;do{for(;q<$.length;){const e=$[q];q++,G(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),B(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(Z))}for(G(null),$.length=0,q=0;Be.length;)Be.pop()();for(let e=0;e<j.length;e+=1){const r=j[e];X.has(r)||(X.add(r),r())}}while(j.length=0,$.length);for(;W.length;)W.pop()();z=!1,X.clear(),G(e)}const K=new Set;function J(r,e,t,n,i,o,s,a=[-1]){var l=De;G(r);const u=r.$$={fragment:null,ctx:null,props:o,update:g,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:a,skip_bound:!1,root:e.target||l.$$.root};s&&s(u.root);let c=!1;if(u.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return u.ctx&&i(u.ctx[e],u.ctx[e]=n)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](n),c&&(n=e,-1===(e=r).$$.dirty[0]&&($.push(e),z||(z=!0,V.then(y)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],u.update(),c=!0,B(u.before_update),u.fragment=!!n&&n(u.ctx),e.target){if(e.hydrate){o=e.target;const r=Array.from(o.childNodes);u.fragment&&u.fragment.l(r),r.forEach(A)}else u.fragment&&u.fragment.c();e.intro&&(a=r.$$.fragment)&&a.i&&(K.delete(a),a.i(void 0));{var h=r;s=e.target;t=e.anchor;n=e.customElement;const{fragment:d,on_mount:f,on_destroy:m,after_update:p}=h.$$;d&&d.m(s,t),n||Z(()=>{var e=f.map(S).filter(M);m?m.push(...e):B(e),h.$$.on_mount=[]}),p.forEach(Z)}y()}G(l)}let Q;"function"==typeof HTMLElement&&(Q=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(S).filter(M);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){B(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(B(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=g}$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 ee,te,a="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==a&&a,ne="URLSearchParams"in a,re="Symbol"in a&&"iterator"in Symbol,ie="FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch(e){return!1}}(),oe="FormData"in a,se="ArrayBuffer"in a;function ae(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 le(e){return e="string"!=typeof e?String(e):e}function ue(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return re&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?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 ce(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function he(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function de(e){var t=new FileReader,n=he(t);return t.readAsArrayBuffer(e),n}function fe(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function me(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ie&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:oe&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ne&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():se&&ie&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=fe(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):se&&(ArrayBuffer.prototype.isPrototypeOf(e)||te(e))?this._bodyArrayBuffer=fe(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):ne&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ie&&(this.blob=function(){var e=ce(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?ce(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(de)}),this.text=function(){var e,t,n=ce(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,t=he(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)},oe&&(this.formData=function(){return this.text().then(ge)}),this.json=function(){return this.text().then(JSON.parse)},this}se&&(ee=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],te=ArrayBuffer.isView||function(e){return e&&-1<ee.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=ae(e),t=le(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[ae(e)]},l.prototype.get=function(e){return e=ae(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(ae(e))},l.prototype.set=function(e,t){this.map[ae(e)]=le(t)},l.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},l.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),ue(n)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ue(t)},l.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),ue(n)},re&&(l.prototype[Symbol.iterator]=l.prototype.entries);var pe=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];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.');var n,r=(t=t||{}).body;if(e instanceof u){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(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 l(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<pe.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 ge(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 c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');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 l(t.headers),this.url=t.url||"",this._initBody(e)}u.prototype.clone=function(){return new u(this,{body:this._bodyInit})},me.call(u.prototype),me.call(c.prototype),c.prototype.clone=function(){return new c(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},c.error=function(){var e=new c(null,{status:0,statusText:""});return e.type="error",e};var ye=[301,302,303,307,308],be=(c.redirect=function(e,t){if(-1===ye.indexOf(t))throw new RangeError("Invalid status code");return new c(null,{status:t,headers:{location:e}})},a.DOMException);try{new be}catch(E){(be=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),be.prototype.constructor=be}function _e(r,s){return new Promise(function(i,e){var t=new u(r,s);if(t.signal&&t.signal.aborted)return e(new be("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var e,n,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",n=new l,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 o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){i(new c(r,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new be("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&a.location.href?a.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(ie?o.responseType="blob":se&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof l?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){o.setRequestHeader(e,le(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",n)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}function xn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}_e.polyfill=!0,a.fetch||(a.fetch=_e,a.Headers=l,a.Request=u,a.Response=c);var Ae=self.fetch.bind(self),ve=function(e,t){return(ve=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 we(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}ve(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ee(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 Se(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function Te(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function h(e){return"function"==typeof e}function Me(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var ke=Me(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Pe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}n.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Ee(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(h(o))try{o()}catch(e){i=e instanceof ke?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=Ee(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{Le(c)}catch(e){i=null!=i?i:[],e instanceof ke?i=Te(Te([],Se(i)),Se(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new ke(i)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Le(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 Ne=n,Ce=Ne.EMPTY;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function He(e){return e instanceof Ne||e&&"closed"in e&&h(e.remove)&&h(e.add)&&h(e.unsubscribe)}function Le(e){h(e)?e():e.unsubscribe()}var Ie=void 0,Re=!1,Fe=!1,Ue={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Ue.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,Te([e,t],Se(n))):setTimeout.apply(void 0,Te([e,t],Se(n)))},clearTimeout:function(e){var t=Ue.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ye(){}var Ge=null;function $e(e){if(Re){var t=!Ge;if(t&&(Ge={errorThrown:!1,error:null}),e(),t){var t=Ge,n=t.errorThrown,t=t.error;if(Ge=null,n)throw t}}else e()}we(t,je=Ne),t.create=function(e,t,n){return new qe(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,je.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var je,We=t,Ve=Function.prototype.bind;function t(e){var t=je.call(this)||this;return t.isStopped=!1,e?He(t.destination=e)&&e.add(t):t.destination=et,t}function ze(e,t){return Ve.call(e,t)}Je.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Qe(e)}},Je.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Qe(e)}else Qe(e)},Je.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Qe(e)}};var Ze,Xe=Je,qe=(we(Ke,Ze=We),Ke);function Ke(e,t,n){var r=Ze.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&&Fe?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&ze(e.next,t),error:e.error&&ze(e.error,t),complete:e.complete&&ze(e.complete,t)}):e;return r.destination=new Xe(n),r}function Je(e){this.partialObserver=e}function Qe(e){var t=e;Ue.setTimeout(function(){throw t})}var et={closed:!0,next:Ye,error:function(e){throw e},complete:Ye},r="function"==typeof Symbol&&Symbol.observable||"@@observable";function tt(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,o=(r=e)&&r instanceof We||r&&h(r.next)&&h(r.error)&&h(r.complete)&&He(r)?e:new qe(e,t,n);return $e(function(){var e=i.operator,t=i.source;o.add(e?e.call(o,t):t?i._subscribe(o):i._trySubscribe(o))}),o},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=rt(e))(function(e,t){var n=new qe({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?tt: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=rt(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 nt=i;function i(e){e&&(this._subscribe=e)}function rt(e){return null!=(e=null!=e?e:Ie)?e:Promise}var it,ot,st,at=Me(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),r=(we(o,st=nt),o.prototype.lift=function(e){var t=new lt(this,this);return t.operator=e,t},o.prototype._throwIfClosed=function(){if(this.closed)throw new at},o.prototype.next=function(i){var o=this;$e(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var n=Ee(o.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},o.prototype.error=function(t){var n=this;$e(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)}})},o.prototype.complete=function(){var t=this;$e(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},o.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(o.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),o.prototype._trySubscribe=function(e){return this._throwIfClosed(),st.prototype._trySubscribe.call(this,e)},o.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},o.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?Ce:(this.currentObservers=null,i.push(e),new Ne(function(){t.currentObservers=null,Pe(i,e)}))},o.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},o.prototype.asObservable=function(){var e=new nt;return e.source=this,e},o.create=function(e,t){return new lt(e,t)},o),lt=(we(dt,ot=r),dt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},dt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},dt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},dt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ce},dt),ut={now:function(){return(ut.delegate||Date).now()},delegate:void 0},ct=(we(ht,it=r),ht.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(o.now()+t)),this._trimBuffer(),it.prototype.next.call(this,e)},ht.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},ht.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var o=t.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},ht);function ht(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=ut);var r=it.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function dt(e,t){var n=ot.call(this)||this;return n.destination=e,n.source=t,n}function o(){var e=st.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let ft=[],mt={};const pt=[];function gt(r,i=g){let o;const s=new Set;function a(e){if(k(r,e)&&(r=e,o)){const e=!pt.length;for(const e of s)e[1](),pt.push(e,r);if(e){for(let e=0;e<pt.length;e+=2)pt[e][0](pt[e+1]);pt.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=g){const n=[e,t];return s.add(n),1===s.size&&(o=i(a)||g),e(r),()=>{s.delete(n),0===s.size&&(o(),o=null)}}}}function yt(e,a,t){const l=!Array.isArray(e),u=l?[e]:e,c=a.length<2;return{subscribe:gt(t,t=>{let n=!1;const r=[];let i=0,o=g;const s=()=>{var e;i||(o(),e=a(l?r[0]:r,t),c?t(e):o=M(e)?e:g)},e=u.map((e,t)=>xe(e,e=>{r[t]=e,i&=~(1<<t),n&&s()},()=>{i|=1<<t}));return n=!0,s(),function(){B(e),o()}}).subscribe}}function bt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===_t));var t}var _t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function vt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Mt(Array.isArray(e)?[]:{},e,t):e}function wt(e,t,n){return e.concat(t).map(function(e){return vt(e,n)})}function Et(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function St(e,t){try{return t in e}catch(e){return!1}}function Tt(r,i,o){var s={};return o.isMergeableObject(r)&&Et(r).forEach(function(e){s[e]=vt(r[e],o)}),Et(i).forEach(function(t){var e,n;(!St(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(St(r,t)&&o.isMergeableObject(i[t])?s[t]=function(e){if(!e.customMerge)return Mt;e=e.customMerge(t);return"function"==typeof e?e:Mt}(o)(r[t],i[t],o):s[t]=vt(i[t],o))}),s}function Mt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||wt,n.isMergeableObject=n.isMergeableObject||bt,n.cloneUnlessOtherwiseSpecified=vt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Tt(e,t,n):vt(t,n)}Mt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Mt(e,t,n)},{});throw new Error("first argument should be an array")};var kt=Mt,Pt=function(e,t){return(Pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Bt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Pt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var p,b,Ot,_=function(){return(_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function Dt(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function xt(e){return e.type===b.literal}function At(e){return e.type===b.number}function Nt(e){return e.type===b.date}function Ct(e){return e.type===b.time}function Ht(e){return e.type===b.select}function Lt(e){return e.type===b.plural}function It(e){return e.type===b.tag}function Rt(e){return e&&"object"==typeof e&&e.type===Ot.number}function Ft(e){return e&&"object"==typeof e&&e.type===Ot.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=b=b||{})[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=Ot=Ot||{})[r.number=0]="number",r[r.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ut=/(?:[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 Yt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Gt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$t=/^(@+)?(\+|#+)?[rs]?$/g,jt=/(\*)(0+)|(#+)(0+)|(0+)/g,Wt=/^(0+)$/;function Vt(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace($t,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function zt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Zt(e){return zt(e)||{}}function Xt(e){for(var s={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=_(_(_({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return _(_({},e),Zt(t))},{}));continue;case"engineering":s=_(_(_({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return _(_({},e),Zt(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(jt,function(e,t,n,r,i,o){if(t)s.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Wt.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(Gt.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Gt,function(e,t,n,r,i,o){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var o=i.options[0];"w"===o?s=_(_({},s),{trailingZeroDisplay:"stripIfInteger"}):o&&(s=_(_({},s),Vt(o)))}else $t.test(i.stem)?s=_(_({},s),Vt(i.stem)):((o=zt(i.stem))&&(s=_(_({},s),o)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Wt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=_(_({},s),r)))}return s}var qt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Kt=new RegExp("^".concat(r.source,"*")),Jt=new RegExp("".concat(r.source,"*$"));function v(e,t){return{start:e,end:t}}var r=!!String.prototype.startsWith,Qt=!!String.fromCodePoint,en=!!Object.fromEntries,tn=!!String.prototype.codePointAt,nn=!!String.prototype.trimStart,rn=!!String.prototype.trimEnd,on=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},sn=!0;try{sn="a"===(null==(Pn=pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Pn[0])}catch(E){sn=!1}var an,ln,un=r?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},cn=Qt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;o<i;){if(1114111<(n=e[o++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},hn=en?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],i=i[1];t[o]=i}return t},dn=tn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},fn=nn?function(e){return e.trimStart()}:function(e){return e.replace(Kt,"")},mn=rn?function(e){return e.trimEnd()}:function(e){return e.replace(Jt,"")};function pn(e,t){return new RegExp(e,t)}ln=sn?(an=pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return an.lastIndex=t,null!=(t=an.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=dn(e,t);if(void 0===i||bn(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return cn.apply(void 0,r)};s.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},s.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(p.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&yn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{o=this.clonePosition();this.bump(),r.push({type:b.pound,location:v(o,this.clonePosition())})}}}return{val:r,err:null}},s.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:b.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()||!yn(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:b.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()))},s.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())},s.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:b.literal,value:r,location:n},err:null}},s.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(yn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},s.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return cn.apply(void 0,t)},s.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),cn(n))},s.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:b.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()))}},s.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=ln(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},s.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(p.EXPECT_ARGUMENT_TYPE,v(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(f=mn(m.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:v(u,this.clonePosition())}}if((u=this.tryParseArgumentClose(r)).err)return u;var c=v(r,this.clonePosition());if(l&&un(null==l?void 0:l.style,"::",0)){var h=fn(l.style.slice(2));if("number"===s)return(m=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?m:{val:{type:b.number,value:n,location:c,style:m.val},err:null};if(0===h.length)return this.error(p.EXPECT_DATE_TIME_SKELETON,c);var d=h,f=(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 o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(qt[t||""]||qt[n||""]||qt["".concat(n,"-001")]||qt["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)n+="a";for(;0<s--;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale)),{type:Ot.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},d.replace(Ut,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}});return{val:{type:"date"===s?b.date:b.time,value:n,location:c,style:f},err:null}}return{val:{type:"number"===s?b.number:"date"===s?b.date:b.time,value:n,location:c,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,_({},d)));this.bumpSpace();var m,f=this.parseIdentifierIfPossible(),c=0;if("select"!==s&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),f=this.parseIdentifierIfPossible(),c=m.val}l=this.tryParsePluralOrSelectOptions(e,s,t,f);if(l.err)return l;if((u=this.tryParseArgumentClose(r)).err)return u;h=v(r,this.clonePosition());return"select"===s?{val:{type:b.select,value:n,options:hn(l.val),location:h},err:null}:{val:{type:b.plural,value:n,options:hn(l.val),offset:c,pluralType:"plural"===s?"cardinal":"ordinal",location:h},err:null};default:return this.error(p.INVALID_ARGUMENT_TYPE,v(o,a))}},s.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})},s.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}},s.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(Yt).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:Ot.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Xt(n):{}},err:null}},s.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,o=[],s=new Set,a=r.value,l=r.location;;){if(0===a.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=v(u,this.clonePosition()),a=this.message.slice(u.offset,this.offset())}if(s.has(a))return this.error("select"===t?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(i=!0),this.bumpSpace();c=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()));u=this.parseMessage(e+1,t,n);if(u.err)return u;var h=this.tryParseArgumentClose(c);if(h.err)return h;o.push([a,{value:u.val,location:v(c,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.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:o,err:null}},s.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}r=v(r,this.clonePosition());return i?on(o*=n)?{val:o,err:null}:this.error(t,r):this.error(e,r)},s.prototype.offset=function(){return this.position.offset},s.prototype.isEOF=function(){return this.offset()===this.message.length},s.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},s.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=dn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},s.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},s.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))},s.prototype.bumpIf=function(e){if(un(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},s.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)},s.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}},s.prototype.bumpSpace=function(){for(;!this.isEOF()&&bn(this.char());)this.bump()},s.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 gn=s;function s(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function yn(e){return 97<=e&&e<=122||65<=e&&e<=90}function bn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function _n(e,t){t=_({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new gn(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,Ht(e)||Lt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else At(e)&&Rt(e.style)||(Nt(e)||Ct(e))&&Ft(e.style)?delete e.style.location:It(e)&&n(e.children)})}(e.val),e.val}function vn(e,t){var n=t&&t.cache?t.cache:Bn,r=t&&t.serializer?t.serializer:Tn;return(t&&t.strategy?t.strategy:function(e,t){return Sn(e,this,1===e.length?wn:En,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function wn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function En(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function Sn(e,t,n,r,i){return n.bind(t,e,r,i)}var Tn=function(){return JSON.stringify(arguments)};function Mn(){this.cache=Object.create(null)}Mn.prototype.get=function(e){return this.cache[e]},Mn.prototype.set=function(e,t){this.cache[e]=t};var kn,Pn,Bn={create:function(){return new Mn}},On={variadic:function(e,t){return Sn(e,this,En,t.cache.create(),t.serializer)},monadic:function(e,t){return Sn(e,this,wn,t.cache.create(),t.serializer)}};(Pn=kn=kn||{}).MISSING_VALUE="MISSING_VALUE",Pn.INVALID_VALUE="INVALID_VALUE",Pn.MISSING_INTL_API="MISSING_INTL_API";Bt(Gn,Cn=Error),Gn.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var w,Dn,An,Nn,Cn,Hn=Gn,Ln=(Bt(Yn,Nn=Hn),Yn),In=(Bt(Un,An=Hn),Un),Rn=(Bt(Fn,Dn=Hn),Fn);function Fn(e,t){return Dn.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),kn.MISSING_VALUE,t)||this}function Un(e,t,n){return An.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),kn.INVALID_VALUE,n)||this}function Yn(e,t,n,r){return Nn.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),kn.INVALID_VALUE,r)||this}function Gn(e,t,n){e=Cn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function $n(e,t,n,r,i,o,s){if(1===e.length&&xt(e[0]))return[{type:w.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(xt(c))a.push({type:w.literal,value:c.value});else if(c.type===b.pound)"number"==typeof o&&a.push({type:w.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;if(!(i&&h in i))throw new Rn(h,s);h=i[h];if(c.type===b.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?w.literal:w.object,value:h});else if(Nt(c)){var d="string"==typeof c.style?r.date[c.style]:Ft(c.style)?c.style.parsedOptions:void 0;a.push({type:w.literal,value:n.getDateTimeFormat(t,d).format(h)})}else if(Ct(c))d="string"==typeof c.style?r.time[c.style]:Ft(c.style)?c.style.parsedOptions:r.time.medium,a.push({type:w.literal,value:n.getDateTimeFormat(t,d).format(h)});else if(At(c))(d="string"==typeof c.style?r.number[c.style]:Rt(c.style)?c.style.parsedOptions:void 0)&&d.scale&&(h*=d.scale||1),a.push({type:w.literal,value:n.getNumberFormat(t,d).format(h)});else{if(It(c)){var f=c.children,m=c.value,p=i[m];if("function"!=typeof p)throw new In(m,"function",s);m=p($n(f,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?w.literal:w.object,value:e}}))}if(Ht(c)){if(!(g=c.options[h]||c.options.other))throw new Ln(c.value,h,Object.keys(c.options),s);a.push.apply(a,$n(g.value,t,n,r,i))}else if(Lt(c)){if(!(g=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new Hn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',kn.MISSING_INTL_API,s);var p=n.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),g=c.options[p]||c.options.other}if(!g)throw new Ln(c.value,h,Object.keys(c.options),s);a.push.apply(a,$n(g.value,t,n,r,i,h-(c.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===w.literal&&t.type===w.literal?n.value+=t.value:e.push(t),e},[])}function jn(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(r=w=w||{})[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=_n,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 Wn=d;function d(e,t,n,r){var i,o,s=this;if(void 0===t&&(t=d.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===w.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 $n(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=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,(o=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=o[t])?_(_(_({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=_(_({},n[t]),r[t]||{}),e},{})):n),e},_({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:vn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Dt([void 0],t,!1)))},{cache:jn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:On.variadic}),getDateTimeFormat:vn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Dt([void 0],t,!1)))},{cache:jn(t.dateTime),strategy:On.variadic}),getPluralRules:vn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Dt([void 0],t,!1)))},{cache:jn(t.pluralRules),strategy:On.variadic})}}const f={},Vn=(e,t,n)=>n&&(t in f||(f[t]={}),e in f[t]||(f[t][e]=n),n),zn=(t,n)=>{if(null!=n){if(n in f&&t in f[n])return f[n][t];var r=ur(n);for(let e=0;e<r.length;e++){var i=function(e,n){if(!qn(e))return null;e=function(e){return Zn[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 Vn(t,n,i)}}};let Zn;const Xn=gt({});function qn(e){return e in Zn}function Kn(t,...n){delete f[t],Xn.update(e=>(e[t]=kt.all([e[t]||{},...n]),e))}yt([Xn],([e])=>Object.keys(e)),Xn.subscribe(e=>Zn=e);const Jn={};function Qn(e){return Jn[e]}function er(e){return null!=e&&ur(e).some(e=>{return null==(e=Qn(e))?void 0:e.size})}const tr={};function nr(e){if(!er(e))return e in tr?tr[e]:Promise.resolve();const t=ur(e).map(e=>{var t=Qn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return tr[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 Jn[t].delete(n),0===Jn[t].size&&delete Jn[t],e().then(e=>e.default||e)}));return n.then(e=>Kn(r,...e))}})).then(()=>{if(er(e))return nr(e);delete tr[e]}),tr[e]}function rr(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 ir={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 or=gt(!1);let sr;const ar=gt(null);function lr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function ur(e,t=ir.fallbackLocale){e=lr(e);return t?[...new Set([...e,...lr(t)])]:e}function m(){return null!=sr?sr:void 0}ar.subscribe(e=>{sr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const Oe=Object.assign(Object.assign({},ar),{set:t=>{if(t&&function(e){if(null!=e){var t=ur(e);for(let e=0;e<t.length;e++){var n=t[e];if(qn(n))return n}}}(t)&&er(t)){var n=ir["loadingDelay"];let e;return"undefined"!=typeof window&&null!=m()&&n?e=window.setTimeout(()=>or.set(!0),n):or.set(!0),nr(t).then(()=>{ar.set(t)}).finally(()=>{clearTimeout(e),or.set(!1)})}return ar.set(t)}}),cr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},hr=(e,t)=>{var n=ir["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},dr=cr(e=>{var{locale:t,format:n}=e,e=rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=hr("number",n)),new Intl.NumberFormat(t,e)}),fr=cr(e=>{var{locale:t,format:n}=e,e=rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=hr("date",n):0===Object.keys(e).length&&(e=hr("date","short")),new Intl.DateTimeFormat(t,e)}),mr=cr(e=>{var{locale:t,format:n}=e,e=rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=hr("time",n):0===Object.keys(e).length&&(e=hr("time","short")),new Intl.DateTimeFormat(t,e)}),pr=cr((e,t=m())=>new Wn(e,t,ir.formats,{ignoreTag:ir.ignoreTag})),gr=yt([Oe,Xn],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:o,locale:s=m(),default:a}=i;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=zn(e,s);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=ir).handleMissingMessage)?void 0:n.call(r,{locale:s,id:e,defaultValue:a}))?n:a)?r:e;if(!o)return l;let u=l;try{u=pr(l,s).format(o)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u}),yr=(yt([Oe],()=>(e,t)=>((e={})=>{var{locale:t=m()}=e,e=rr(e,["locale"]);return mr(Object.assign({locale:t},e))})(t).format(e)),yt([Oe],()=>(e,t)=>((e={})=>{var{locale:t=m()}=e,e=rr(e,["locale"]);return fr(Object.assign({locale:t},e))})(t).format(e)),yt([Oe],()=>(e,t)=>((e={})=>{var{locale:t=m()}=e,e=rr(e,["locale"]);return dr(Object.assign({locale:t},e))})(t).format(e)),yt([Oe,Xn],()=>(e,t=m())=>zn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==ft.indexOf(e)&&(t=new ct(t),mt[e]=t,ft.push(e)),mt[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))),br=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",_r={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter ..."}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese 1 día de descanso de jugar - Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function vr(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var wr,Er,Sr=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},Tr=function(e,...t){try{return vr(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},Mr=(Er=wr={path:void 0,exports:{},require:function(e,t){return xn(null==t&&wr.path)}},wr.exports,Er.exports=function(){var L;function m(){return L.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function I(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function a(e){return void 0===e}function F(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function U(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function Y(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function G(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,r){return xt(e,t,n,r,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function $(e){if(null==e._isValid){var t=g(e),n=W.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function j(e){var t=u(NaN);return null!=e?G(g(t),e):g(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},V=m.momentProperties=[],z=!1;function Z(e,t){var n,r,i,o=V.length;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=g(t)),a(t._locale)||(e._locale=t._locale),0<o)for(n=0;n<o;n++)a(i=t[r=V[n]])||(e[r]=i);return e}function X(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,m.updateOffset(this),z=!1)}function l(e){return e instanceof X||null!=e&&null!=e._isAMomentObject}function q(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,s){var a=!0;return G(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,o),a){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}q(o+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),a=!1}return s.apply(this,arguments)},s)}var K={};function J(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),K[e]||(q(t),K[e]=!0)}function c(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=G({},e);for(n in t)p(t,n)&&(I(e[n])&&I(t[n])?(r[n]={},G(r[n],e[n]),G(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)p(e,n)&&!p(t,n)&&I(e[n])&&(r[n]=G({},r[n]));return r}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function o(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},oe={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(oe[e]=i),t&&(oe[t[0]]=function(){return o(i.apply(this,arguments),t[1],t[2])}),n&&(oe[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function se(e,t){return e.isValid()?(t=ae(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,o=i.length;t<o;t++)oe[i[t]]?i[t]=oe[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=c(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function ae(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function h(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ue(e){var t,n,r={};for(n in e)p(e,n)&&(t=h(n))&&(r[t]=e[n]);return r}var ce={};function n(e,t){ce[e]=t}function he(e){return e%4==0&&e%100!=0||e%400==0}function d(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?d(e):t}function de(t,n){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,n),this):fe(this,t)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&he(e.year())&&1===e.month()&&29===e.date()?(n=f(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ce(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?/,_e=/\d\d\d\d\d\d?/,ve=/\d{1,3}/,we=/\d{1,4}/,Ee=/[+-]?\d{1,6}/,Se=/\d+/,Te=/[+-]?\d+/,Me=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,_=/[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 v(e,n,r){Be[e]=c(n)?n:function(e,t){return e&&r?r:n}}function Pe(e,t){return p(Be,e)?Be[e](t._strict,t._locale):new RegExp(w(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function w(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Be={},Oe={};function E(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),F(n)&&(i=function(e,t){t[n]=f(e)}),r=e.length,t=0;t<r;t++)Oe[e[t]]=i}function De(e,i){E(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var S,T=0,M=1,k=2,P=3,B=4,O=5,xe=6,Ae=7,Ne=8;function Ce(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}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),v("M",b),v("MM",b,y),v("MMM",function(e,t){return t.monthsShortRegex(e)}),v("MMMM",function(e,t){return t.monthsRegex(e)}),E(["M","MM"],function(e,t){t[M]=f(e)-1}),E(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[M]=r:g(n).invalidMonth=e});var He="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Le="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re=_,Fe=_;function Ue(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=f(t);else if(!F(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Ce(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Ye(e){return null!=e?(Ue(this,e),m.updateOffset(this,!0),this):fe(this,"Month")}function Ge(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],o=0;o<12;o++)t=u([2e3,o]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),o=0;o<12;o++)n[o]=w(n[o]),r[o]=w(r[o]);for(o=0;o<24;o++)i[o]=w(i[o]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function $e(e){return he(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?o(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),v("Y",Te),v("YY",b,y),v("YYYY",we,ge),v("YYYYY",Ee,ye),v("YYYYYY",Ee,ye),E(["YYYYY","YYYYYY"],T),E("YYYY",function(e,t){t[T]=2===e.length?m.parseTwoDigitYear(e):f(e)}),E("YY",function(e,t){t[T]=m.parseTwoDigitYear(e)}),E("Y",function(e,t){t[T]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return f(e)+(68<f(e)?1900:2e3)};var je=de("FullYear",!0);function We(e,t,n,r,i,o,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}function Ve(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ze(e,t,n){n=7+t-n;return-(7+Ve(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var o,t=1+7*(t-1)+(7+n-r)%7+ze(e,r,i),n=t<=0?$e(o=e-1)+t:t>$e(e)?(o=e+1,t-$e(e)):(o=e,t);return{year:o,dayOfYear:n}}function Xe(e,t,n){var r,i,o=ze(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?r=o+D(i=e.year()-1,t,n):o>D(e.year(),t,n)?(r=o-D(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function D(e,t,n){var r=ze(e,t,n),t=ze(e+1,t,n);return($e(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),v("w",b),v("ww",b,y),v("W",b),v("WW",b,y),De(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=f(e)});function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),v("d",b),v("e",b),v("E",b),v("dd",function(e,t){return t.weekdaysMinRegex(e)}),v("ddd",function(e,t){return t.weekdaysShortRegex(e)}),v("dddd",function(e,t){return t.weekdaysRegex(e)}),De(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),De(["d","e","E"],function(e,t,n,r){t[r]=f(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=_,tt=_,nt=_;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],o=[],s=[],a=[],l=0;l<7;l++)r=u([2e3,1]).day(l),t=w(this.weekdaysMin(r,"")),n=w(this.weekdaysShort(r,"")),r=w(this.weekdays(r,"")),i.push(t),o.push(n),s.push(r),a.push(t),a.push(n),a.push(r);i.sort(e),o.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function ot(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),ot("a",!0),ot("A",!1),t("hour","h"),n("hour",13),v("a",st),v("A",st),v("H",b),v("h",b),v("k",b),v("HH",b,y),v("hh",b,y),v("kk",b,y),v("hmm",be),v("hmmss",_e),v("Hmm",be),v("Hmmss",_e),E(["H","HH"],P),E(["k","kk"],function(e,t,n){e=f(e);t[P]=24===e?0:e}),E(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),E(["h","hh"],function(e,t,n){t[P]=f(e),g(n).bigHour=!0}),E("hmm",function(e,t,n){var r=e.length-2;t[P]=f(e.substr(0,r)),t[B]=f(e.substr(r)),g(n).bigHour=!0}),E("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[P]=f(e.substr(0,r)),t[B]=f(e.substr(r,2)),t[O]=f(e.substr(i)),g(n).bigHour=!0}),E("Hmm",function(e,t,n){var r=e.length-2;t[P]=f(e.substr(0,r)),t[B]=f(e.substr(r))}),E("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[P]=f(e.substr(0,r)),t[B]=f(e.substr(r,2)),t[O]=f(e.substr(i))});_=de("Hours",!0);var at,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:He,monthsShort:Le,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},x={},ut={};function ct(e){return e&&e.toLowerCase().replace("_","-")}function ht(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=ct(e[o]).split("-")).length,n=(n=ct(e[o+1]))?n.split("-"):null;0<t;){if(r=dt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}o++}return at}function dt(t){var e;if(void 0===x[t]&&Er&&Er.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,xn(),ft(e)}catch(e){x[t]=null}return x[t]}function ft(e,t){return e&&((t=a(t)?A(e):mt(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function mt(e,t){if(null===t)return delete x[e],null;var n,r=lt;if(t.abbr=e,null!=x[e])J("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=x[e]._config;else if(null!=t.parentLocale)if(null!=x[t.parentLocale])r=x[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;r=n._config}return x[e]=new ee(Q(r,t)),ut[e]&&ut[e].forEach(function(e){mt(e.name,e.config)}),ft(e),x[e]}function A(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!s(e)){if(t=dt(e))return t;e=[e]}return ht(e)}function pt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[M]<0||11<t[M]?M:t[k]<1||t[k]>Ce(t[T],t[M])?k:t[P]<0||24<t[P]||24===t[P]&&(0!==t[B]||0!==t[O]||0!==t[xe])?P:t[B]<0||59<t[B]?B:t[O]<0||59<t[O]?O:t[xe]<0||999<t[xe]?xe:-1,g(e)._overflowDayOfYear&&(t<T||k<t)&&(t=k),g(e)._overflowWeeks&&-1===t&&(t=Ae),g(e)._overflowWeekday&&-1===t&&(t=Ne),g(e).overflow=t),e}var gt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,Et=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e){var t,n,r,i,o,s,a=e._i,l=gt.exec(a)||yt.exec(a),a=_t.length,u=vt.length;if(l){for(g(e).iso=!0,t=0,n=a;t<n;t++)if(_t[t][1].exec(l[1])){i=_t[t][0],r=!1!==_t[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=u;t<n;t++)if(vt[t][1].exec(l[3])){o=(l[2]||" ")+vt[t][0];break}if(null==o)return e._isValid=!1}if(!r&&null!=o)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=i+(o||"")+(s||""),Ot(e)}else e._isValid=!1}function Mt(e,t,n,r,i,o){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Le.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&e.push(parseInt(o,10)),e}function kt(e){var t,n,r,i,o=Et.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Mt(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],r=t,i=e,n&&Je.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=o[8],r=o[9],i=o[10],n?St[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Pt(e,t,n){return null!=e?e:null!=t?t:n}function Bt(e){var t,n,r,i,o,s,a,l,u,c,h,d=[];if(!e._d){for(c=e,h=new Date(m.now()),n=c._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[k]&&null==e._a[M]&&(null!=(h=(c=e)._w).GG||null!=h.W||null!=h.E?(s=1,a=4,r=Pt(h.GG,c._a[T],Xe(N(),1,4).year),i=Pt(h.W,1),((o=Pt(h.E,1))<1||7<o)&&(l=!0)):(s=c._locale._week.dow,a=c._locale._week.doy,u=Xe(N(),s,a),r=Pt(h.gg,c._a[T],u.year),i=Pt(h.w,u.week),null!=h.d?((o=h.d)<0||6<o)&&(l=!0):null!=h.e?(o=h.e+s,(h.e<0||6<h.e)&&(l=!0)):o=s),i<1||i>D(r,s,a)?g(c)._overflowWeeks=!0:null!=l?g(c)._overflowWeekday=!0:(u=Ze(r,i,o,s,a),c._a[T]=u.year,c._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(h=Pt(e._a[T],n[T]),(e._dayOfYear>$e(h)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(h,0,e._dayOfYear),e._a[M]=l.getUTCMonth(),e._a[k]=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[P]&&0===e._a[B]&&0===e._a[O]&&0===e._a[xe]&&(e._nextDay=!0,e._a[P]=0),e._d=(e._useUTC?Ve:We).apply(null,d),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[P]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Ot(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r,i=""+e._i,o=i.length,s=0,a=(n=ae(e._f,e._locale).match(ne)||[]).length,l=0;l<a;l++)r=n[l],(t=(i.match(Pe(r,e))||[])[0])&&(0<(h=i.substr(0,i.indexOf(t))).length&&g(e).unusedInput.push(h),i=i.slice(i.indexOf(t)+t.length),s+=t.length),oe[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),h=r,f=e,null!=(d=t)&&p(Oe,h)&&Oe[h](d,f._a,f,h)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=o-s,0<i.length&&g(e).unusedInput.push(i),e._a[P]<=12&&!0===g(e).bigHour&&0<e._a[P]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[P]=(o=e._locale,u=e._a[P],null==(c=e._meridiem)?u:null!=o.meridiemHour?o.meridiemHour(u,c):null!=o.isPM?((o=o.isPM(c))&&u<12&&(u+=12),u=o||12!==u?u:0):u),null!==(c=g(e).era)&&(e._a[T]=e._locale.erasConvertYear(c,e._a[T])),Bt(e),pt(e)}else kt(e);else Tt(e);var u,c,h,d,f}function Dt(e){var t,n=e._i,r=e._f;{var i,o;if(e._locale=e._locale||A(e._l),null===n||void 0===r&&""===n)return j({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new X(pt(n)):(U(n)?e._d=n:s(r)?function(e){var t,n,r,i,o,s,a=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)o=0,s=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ot(t),$(t)&&(s=!0),o=(o+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));G(e,n||t)}(e):r?Ot(e):a(r=(n=e)._i)?n._d=new Date(m.now()):U(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(o=wt.exec(i._i))?(Tt(i),!1===i._isValid&&(delete i._isValid,kt(i),!1===i._isValid&&(delete i._isValid,i._strict?i._isValid=!1:m.createFromInputFallback(i)))):i._d=new Date(+o[1])):s(r)?(n._a=Y(r.slice(0),function(e){return parseInt(e,10)}),Bt(n)):I(r)?(i=n)._d||(t=void 0===(o=ue(i._i)).day?o.date:o.day,i._a=Y([o.year,o.month,t,o.hour,o.minute,o.second,o.millisecond],function(e){return e&&parseInt(e,10)}),Bt(i)):F(r)?n._d=new Date(r):m.createFromInputFallback(n),$(e)||(e._d=null),e)}}function xt(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(I(e)&&R(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(i=new X(pt(Dt(i=o))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function N(e,t,n,r){return xt(e,t,n,r,!1)}m.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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),_e=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function At(e,t){var n,r;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return N();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Nt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ct(e){var e=ue(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,a=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Nt.length;for(t in e)if(p(e,t)&&(-1===S.call(Nt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Nt[n]]){if(r)return!1;parseFloat(e[Nt[n]])!==f(e[Nt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+u+1e3*l+6e4*a+1e3*s*60*60,this._days=+o+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=A(),this._bubble()}function Ht(e){return e instanceof Ct}function Lt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function It(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+n+o(~~e%60,2)})}It("Z",":"),It("ZZ",""),v("Z",ke),v("ZZ",ke),E(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ft(ke,e)});var Rt=/([\+\-]|\d\d)/gi;function Ft(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Rt)||["-",0,0])[1]+f(e[2]))?0:"+"===e[0]?t:-t}function Ut(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||U(e)?e:N(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):N(e).local()}function Yt(e){return-Math.round(e._d.getTimezoneOffset())}function Gt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var $t=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function C(e,t){var n,r,i=e,o=null;return Ht(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:F(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(o=$t.exec(e))?(n="-"===o[1]?-1:1,i={y:0,d:f(o[k])*n,h:f(o[P])*n,m:f(o[B])*n,s:f(o[O])*n,ms:f(Lt(1e3*o[xe]))*n}):(o=jt.exec(e))?(n="-"===o[1]?-1:1,i={y:Wt(o[2],n),M:Wt(o[3],n),w:Wt(o[4],n),d:Wt(o[5],n),h:Wt(o[6],n),m:Wt(o[7],n),s:Wt(o[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=N(i.from),o=N(i.to),n=t.isValid()&&o.isValid()?(o=Ut(o,t),t.isBefore(o)?r=Vt(t,o):((r=Vt(o,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),o=new Ct(i),Ht(e)&&p(e,"_locale")&&(o._locale=e._locale),Ht(e)&&p(e,"_isValid")&&(o._isValid=e._isValid),o}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function zt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(J(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,C(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,o=Lt(t._days),t=Lt(t._months);e.isValid()&&(r=null==r||r,t&&Ue(e,fe(e,"Month")+t*n),o&&me(e,"Date",fe(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&m.updateOffset(e,o||t))}C.fn=Ct.prototype,C.invalid=function(){return C(NaN)};He=zt(1,"add"),Ke=zt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function qt(e){return l(e)||U(e)||Xt(e)||F(e)||(n=s(t=e),r=!1,n&&(r=0===t.filter(function(e){return!F(e)&&Xt(t)}).length),n&&r)||function(e){var t,n,r=I(e)&&!R(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=o.length;for(t=0;t<s;t+=1)n=o[t],i=i||p(e,n);return r&&i}(e)||null==e;var t,n,r}function Kt(e,t){if(e.date()<t.date())return-Kt(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 Jt(e){return void 0===e?this._locale._abbr:(null!=(e=A(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),o=0,s=i.length;o<s;++o)t.push(w(i[o].name)),e.push(w(i[o].abbr)),n.push(w(i[o].narrow)),r.push(w(i[o].name)),r.push(w(i[o].abbr)),r.push(w(i[o].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function an(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var o;return null==e?Xe(this,r,i).year:(t>(o=D(e,r,i))&&(t=o),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),v("N",on),v("NN",on),v("NNN",on),v("NNNN",function(e,t){return t.erasNameRegex(e)}),v("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),E(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),v("y",Se),v("yy",Se),v("yyy",Se),v("yyyy",Se),v("yo",function(e,t){return t._eraYearOrdinalRegex||Se}),E(["y","yy","yyy","yyyy"],T),E(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[T]=n._locale.eraYearOrdinalParse(e,i):t[T]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),an("gggg","weekYear"),an("ggggg","weekYear"),an("GGGG","isoWeekYear"),an("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),v("G",Te),v("g",Te),v("GG",b,y),v("gg",b,y),v("GGGG",we,ge),v("gggg",we,ge),v("GGGGG",Ee,ye),v("ggggg",Ee,ye),De(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=f(e)}),De(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),v("Q",i),E("Q",function(e,t){t[M]=3*(f(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),v("D",b),v("DD",b,y),v("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),E(["D","DD"],k),E("Do",function(e,t){t[k]=f(e.match(b)[0])});we=de("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),v("DDD",ve),v("DDDD",pe),E(["DDD","DDDD"],function(e,t,n){n._dayOfYear=f(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),v("m",b),v("mm",b,y),E(["m","mm"],B);ge=de("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),v("s",b),v("ss",b,y),E(["s","ss"],O);var un,Ee=de("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),v("S",ve,i),v("SS",ve,y),v("SSS",ve,pe),un="SSSS";un.length<=9;un+="S")v(un,Se);function cn(e,t){t[xe]=f(1e3*("0."+e))}for(un="S";un.length<=9;un+="S")E(un,cn);ye=de("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=X.prototype;function hn(e){return e}i.add=He,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=I(e)&&!R(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||N(),n=Ut(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(c(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,N(e)))},i.clone=function(){return new X(this)},i.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Ut(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=h(t)){case"year":o=Kt(this,r)/12;break;case"month":o=Kt(this,r);break;case"quarter":o=Kt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:d(o)},i.endOf=function(e){var t,n;if(void 0===(e=h(e))||"millisecond"===e||!this.isValid())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),m.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=se(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||N(e).isValid())?C({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(N(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||N(e).isValid())?C({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(N(),e)},i.get=function(e){return c(this[e=h(e)])?this[e]():this},i.invalidAt=function(){return g(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:N(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:N(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:N(e),t=l(t)?t:N(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){var e=l(e)?e:N(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return $(this)},i.lang=Qe,i.locale=Jt,i.localeData=Qt,i.max=_e,i.min=be,i.parsingFlags=function(){return G({},g(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:ce[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ue(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(c(this[e=h(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0===(e=h(e))||"millisecond"===e||!this.isValid())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),m.updateOffset(this,!0),this},i.subtract=Ke,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?se(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):c(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",se(t,"Z")):se(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},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()-m(n[r].since).year())*e+n[r].offset;return this.year()},i.year=je,i.isLeapYear=function(){return he(this.year())},i.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Ye,i.daysInMonth=function(){return Ce(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return D(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return D(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return D(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return D(this.isoWeekYear(),1,4)},i.date=we,i.day=i.days=function(e){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=_,i.minute=i.minutes=ge,i.second=i.seconds=Ee,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Yt(this);if("string"==typeof e){if(null===(e=Ft(ke,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Yt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,C(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.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(Yt(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ft(Me,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?N(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=Gt,i.isUTC=Gt,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",we),i.months=e("months accessor is deprecated. Use month instead",Ye),i.years=e("years accessor is deprecated. Use year instead",je),i.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Dt(t))._a?(e=(t._isUTC?u:N)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0,s=0;s<r;s++)(n&&e[s]!==t[s]||!n&&f(e[s])!==f(t[s]))&&o++;return o+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function dn(e,t,n,r){var i=A(),r=u().set(r,t);return i[n](r,e)}function fn(e,t,n){if(F(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 mn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),F(t)&&(n=t,t=void 0),t||"");var i,o=A(),s=e?o._week.dow:0,a=[];if(null!=n)return dn(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=dn(t,(i+s)%7,r,"day");return a}y.calendar=function(e,t,n){return c(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=hn,y.postformat=hn,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return c(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return c(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)p(e,n)&&(c(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var n,r=this._eras||A("en")._eras,i=0,o=r.length;i<o;++i)switch("string"==typeof r[i].since&&(n=m(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=m(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if(0<=[o,s,a].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return p(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Ie.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=u([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))||-1!==(i=S.call(this._longMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))||-1!==(i=S.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ge.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Fe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ge.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?qe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(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"},ft("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===f(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",ft),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",A);var pn=Math.abs;function gn(e,t,n,r){t=C(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 _n(e){return 146097*e/4800}function vn(e){return function(){return this.as(e)}}ve=vn("ms"),pe=vn("s"),He=vn("m"),_e=vn("h"),be=vn("d"),Ke=vn("w"),_=vn("M"),ge=vn("Q"),Ee=vn("y");function wn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=wn("milliseconds"),we=wn("seconds"),je=wn("minutes"),y=wn("hours"),En=wn("days"),Sn=wn("months"),Tn=wn("years");var Mn=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Pn(e,t,n,r){var i=C(e).abs(),o=Mn(i.as("s")),s=Mn(i.as("m")),a=Mn(i.as("h")),l=Mn(i.as("d")),u=Mn(i.as("M")),c=Mn(i.as("w")),i=Mn(i.as("y")),o=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return(o=(o=null!=n.w?o||c<=1&&["w"]||c<n.w&&["ww",c]:o)||u<=1&&["M"]||u<n.M&&["MM",u]||i<=1&&["y"]||["yy",i])[2]=t,o[3]=0<+e,o[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,o)}var Bn=Math.abs;function On(e){return(0<e)-(e<0)||+e}function Dn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,s,a=Bn(this._milliseconds)/1e3,l=Bn(this._days),u=Bn(this._months),c=this.asSeconds();return c?(e=d(a/60),t=d(e/60),a%=60,e%=60,n=d(u/12),u%=12,r=a?a.toFixed(3).replace(/\.?0+$/,""):"",i=On(this._months)!==On(c)?"-":"",o=On(this._days)!==On(c)?"-":"",s=On(this._milliseconds)!==On(c)?"-":"",(c<0?"-":"")+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(l?o+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+r+"S":"")):"P0D"}var H=Ct.prototype;return H.isValid=function(){return this._isValid},H.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},H.add=function(e,t){return gn(this,e,t,1)},H.subtract=function(e,t){return gn(this,e,t,-1)},H.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=h(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(_n(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},H.asMilliseconds=ve,H.asSeconds=pe,H.asMinutes=He,H.asHours=_e,H.asDays=be,H.asWeeks=Ke,H.asMonths=_,H.asQuarters=ge,H.asYears=Ee,H.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},H._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(_n(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(_n(e)),e=d(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},H.clone=function(){return C(this)},H.get=function(e){return e=h(e),this.isValid()?this[e+"s"]():NaN},H.milliseconds=ye,H.seconds=we,H.minutes=je,H.hours=y,H.days=En,H.weeks=function(){return d(this.days()/7)},H.months=Sn,H.years=Tn,H.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=kn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},kn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Pn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},H.toISOString=Dn,H.toString=Dn,H.toJSON=Dn,H.locale=Jt,H.localeData=Qt,H.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),H.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),v("x",Te),v("X",/[+-]?\d+(\.\d{1,3})?/),E("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),E("x",function(e,t,n){n._d=new Date(f(e))}),m.version="2.29.3",L=N,m.fn=i,m.min=function(){return At("isBefore",[].slice.call(arguments,0))},m.max=function(){return At("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=u,m.unix=function(e){return N(1e3*e)},m.months=function(e,t){return fn(e,t,"months")},m.isDate=U,m.locale=ft,m.invalid=j,m.duration=C,m.isMoment=l,m.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},m.parseZone=function(){return N.apply(null,arguments).parseZone()},m.localeData=A,m.isDuration=Ht,m.monthsShort=function(e,t){return fn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=x[e]&&null!=x[e].parentLocale?x[e].set(Q(x[e]._config,t)):(t=Q(r=null!=(n=dt(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=x[e],x[e]=r),ft(e)):null!=x[e]&&(null!=x[e].parentLocale?(x[e]=x[e].parentLocale,e===ft()&&ft(e)):null!=x[e]&&delete x[e]),x[e]},m.locales=function(){return te(x)},m.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},m.normalizeUnits=h,m.relativeTimeRounding=function(e){return void 0===e?Mn:"function"==typeof e&&(Mn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},m.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"},m.prototype=i,m.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"},m}(),wr.exports);function kr(n){let r,i,o=n[10]&&Or(n);return{c(){r=N("div"),i=N("div"),o&&o.c(),L(i,"class","CasinoGamePageContainer"),L(i,"part","CasinoGamePageContainer"),P(i,"background","rgba(0, 0, 0, 0.5)"),L(r,"class","GamePageBackground"),P(r,"background",n[13]?"":`url(${n[9].backgroundImageUrl})`),P(r,"background-size","cover")},m(e,t){x(e,r,t),D(r,i),o&&o.m(i,null),n[82](i),n[83](r)},p(e,t){e[10]?o?o.p(e,t):((o=Or(e)).c(),o.m(i,null)):o&&(o.d(1),o=null),8704&t[0]&&P(r,"background",e[13]?"":`url(${e[9].backgroundImageUrl})`)},d(e){e&&A(r),o&&o.d(),n[82](null),n[83](null)}}}function Pr(e){let n;return{c(){(n=N("p")).textContent="500 Error - Internal Server Error.",L(n,"class","SearchLoading"),L(n,"part","SearchLoading")},m(e,t){x(e,n,t)},p:g,d(e){e&&A(n)}}}function Br(e){let n,r,i=e[25]("gamePage.loading")+"";return{c(){n=N("p"),r=C(i),L(n,"class","SearchLoading"),L(n,"part","SearchLoading")},m(e,t){x(e,n,t),D(n,r)},p(e,t){33554432&t[0]&&i!==(i=e[25]("gamePage.loading")+"")&&I(r,i)},d(e){e&&A(n)}}}function Or(e){let n;function r(e){return e[20]?Nr:e[5]?Ar:e[11]?xr:Dr}let i=r(e),o=i(e);return{c(){o.c(),n=Y()},m(e,t){o.m(e,t),x(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&A(n)}}}function Dr(n){let r,i,o,s,a,l,u,c,h,d,f,m,p,g,y,b,_,v,w=n[9].name+"",E=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";return{c(){r=N("div"),i=N("h3"),o=C(w),s=e(),a=N("img"),u=e(),c=N("div"),h=N("button"),d=C(E),f=e(),m=N("button"),p=C(S),g=e(),y=N("p"),b=C(n[3]),O(a.src,l=n[9].thumbnail)||L(a,"src",l),L(a,"class","GameThumbnail"),L(a,"part","GameThumbnail"),L(a,"alt","game thumbnail"),L(a,"loading","lazy"),L(h,"class","LoginButton"),L(h,"part","LoginButton"),L(m,"class","RegisterButton"),L(m,"part","RegisterButton"),L(c,"class","ButtonsContainer"),L(c,"part","ButtonsContainer"),L(r,"class","GameDetails"),L(r,"part","GameDetails")},m(e,t){x(e,r,t),D(r,i),D(i,o),D(r,s),D(r,a),D(r,u),D(r,c),D(c,h),D(h,d),D(c,f),D(c,m),D(m,p),D(r,g),D(r,y),D(y,b),_||(v=[H(h,"click",n[80]),H(m,"click",n[81])],_=!0)},p(e,t){512&t[0]&&w!==(w=e[9].name+"")&&I(o,w),512&t[0]&&!O(a.src,l=e[9].thumbnail)&&L(a,"src",l),33554432&t[0]&&E!==(E=e[25]("gamePage.signIn")+"")&&I(d,E),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&I(p,S),8&t[0]&&I(b,e[3])},d(e){e&&A(r),_=!1,B(v)}}}function xr(n){let r,i,o,s,a,l,u,c,h,d,f,m,p,g,y,b,_,v,w,E=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";function T(e){return e[17]?Hr:Cr}let M=T(n),k=M(n);return{c(){r=N("div"),i=N("div"),o=N("iframe"),a=e(),l=N("div"),u=N("div"),c=N("button"),h=C(E),d=e(),f=N("button"),m=C(S),p=e(),g=N("p"),y=N("span"),b=C(n[3]),_=e(),k.c(),L(o,"title","Games"),L(o,"id","IframeGame"),L(o,"class","GamesContainer"),L(o,"part","GamesContainer"),L(o,"aria-hidden","false"),O(o.src,s=n[9].launchUrl)||L(o,"src",s),L(c,"class","LoginButton"),L(c,"part","LoginButton"),L(f,"class","RegisterButton"),L(f,"part","RegisterButton"),L(u,"class","ButtonsContainer"),L(u,"part","ButtonsContainer"),L(g,"class","Time"),L(g,"part","Time"),L(l,"class","BottomGame"),L(l,"part","BottomGame"),L(i,"id","IframeGame"),L(i,"part","IframeGame"),L(i,"style",n[24]),L(r,"id","IframeContainer"),L(r,"part","IframeContainer"),P(r,"width",n[18]),P(r,"height",n[19]),R(r,"FullsScreenLayout",n[17])},m(e,t){x(e,r,t),D(r,i),D(i,o),n[71](o),D(i,a),D(i,l),D(l,u),D(u,c),D(c,h),D(u,d),D(u,f),D(f,m),D(l,p),D(l,g),D(g,y),D(y,b),n[74](g),D(l,_),k.m(l,null),n[77](l),n[78](i),n[79](r),v||(w=[H(c,"click",n[72]),H(f,"click",n[73])],v=!0)},p(e,t){512&t[0]&&!O(o.src,s=e[9].launchUrl)&&L(o,"src",s),33554432&t[0]&&E!==(E=e[25]("gamePage.signIn")+"")&&I(h,E),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&I(m,S),8&t[0]&&I(b,e[3]),M===(M=T(e))&&k?k.p(e,t):(k.d(1),(k=M(e))&&(k.c(),k.m(l,null))),16777216&t[0]&&L(i,"style",e[24]),262144&t[0]&&P(r,"width",e[18]),524288&t[0]&&P(r,"height",e[19]),131072&t[0]&&R(r,"FullsScreenLayout",e[17])},d(e){e&&A(r),n[71](null),n[74](null),k.d(),n[77](null),n[78](null),n[79](null),v=!1,B(w)}}}function Ar(n){let r,i,o,s,a,l,u,c,h,d,f,m,p,g,y,b,_,v,w=n[25]("gamePage.deposit")+"",E="true"===n[1]&&Lr(n);function S(e){return e[17]?Rr:Ir}let T=S(n),M=T(n);return{c(){r=N("div"),i=N("div"),o=N("iframe"),a=e(),l=N("div"),u=N("button"),c=C(w),h=e(),d=N("p"),f=N("span"),m=C(n[3]),p=e(),E&&E.c(),g=e(),M.c(),L(o,"title","Games"),L(o,"id","IframeGame"),L(o,"class","GamesContainer"),L(o,"part","GamesContainer"),L(o,"aria-hidden","false"),O(o.src,s=n[9].launchUrl)||L(o,"src",s),L(u,"class","DepositButton"),L(u,"part","DepositButton"),L(d,"class","Time"),L(d,"part","Time"),L(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),L(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),L(i,"id","IframeGame"),L(i,"part","IframeGame"),L(i,"style",n[24]),L(r,"id","IframeContainer"),L(r,"part","IframeContainer"),P(r,"width",n[18]),P(r,"height",n[19]),R(r,"FullsScreenLayout",n[17])},m(e,t){x(e,r,t),D(r,i),D(i,o),n[62](o),D(i,a),D(i,l),D(l,u),D(u,c),D(l,h),D(l,d),D(d,f),D(f,m),n[64](d),D(l,p),E&&E.m(l,null),D(l,g),M.m(l,null),n[68](l),n[69](i),n[70](r),_||(v=H(u,"click",n[63]),_=!0)},p(e,t){512&t[0]&&!O(o.src,s=e[9].launchUrl)&&L(o,"src",s),33554432&t[0]&&w!==(w=e[25]("gamePage.deposit")+"")&&I(c,w),8&t[0]&&I(m,e[3]),"true"===e[1]?E?E.p(e,t):((E=Lr(e)).c(),E.m(l,g)):E&&(E.d(1),E=null),T===(T=S(e))&&M?M.p(e,t):(M.d(1),(M=T(e))&&(M.c(),M.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&L(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&L(l,"part",b),16777216&t[0]&&L(i,"style",e[24]),262144&t[0]&&P(r,"width",e[18]),524288&t[0]&&P(r,"height",e[19]),131072&t[0]&&R(r,"FullsScreenLayout",e[17])},d(e){e&&A(r),n[62](null),n[64](null),E&&E.d(),M.d(),n[68](null),n[69](null),n[70](null),_=!1,v()}}}function Nr(e){let n;function r(e){return e[5]?Yr:e[12]?Ur:Fr}let i=r(e),o=i(e);return{c(){o.c(),n=Y()},m(e,t){o.m(e,t),x(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&A(n)}}}function Cr(n){let r,i,o;return{c(){(r=N("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',L(r,"class","FullscreenButton"),L(r,"part","FullscreenButton")},m(e,t){x(e,r,t),i||(o=H(r,"click",n[76]),i=!0)},p:g,d(e){e&&A(r),i=!1,o()}}}function Hr(n){let r,i,o;return{c(){(r=N("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',L(r,"class","FullscreenButton"),L(r,"part","FullscreenButton")},m(e,t){x(e,r,t),i||(o=H(r,"click",n[75]),i=!0)},p:g,d(e){e&&A(r),i=!1,o()}}}function Lr(n){let r,i,o,s=n[25]("gamePage.breakButton")+"";return{c(){r=N("div"),i=N("button"),o=C(s),L(i,"class","Button"),L(i,"part","Button"),R(i,"PanicButtonAnimation",n[8]),L(r,"class","PanicSection"),L(r,"part","PanicSection")},m(e,t){x(e,r,t),D(r,i),D(i,o),n[65](i)},p(e,t){33554432&t[0]&&s!==(s=e[25]("gamePage.breakButton")+"")&&I(o,s),256&t[0]&&R(i,"PanicButtonAnimation",e[8])},d(e){e&&A(r),n[65](null)}}}function Ir(n){let r,i,o;return{c(){(r=N("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',L(r,"class","FullscreenButton"),L(r,"part","FullscreenButton")},m(e,t){x(e,r,t),i||(o=H(r,"click",n[67]),i=!0)},p:g,d(e){e&&A(r),i=!1,o()}}}function Rr(n){let r,i,o;return{c(){(r=N("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',L(r,"class","FullscreenButton"),L(r,"part","FullscreenButton")},m(e,t){x(e,r,t),i||(o=H(r,"click",n[66]),i=!0)},p:g,d(e){e&&A(r),i=!1,o()}}}function Fr(n){let r,i,o,s,a,l,u,c,h,d,f,m,p,g,y,b,_,v,w=n[9].name+"",E=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";return{c(){r=N("div"),i=N("h3"),o=C(w),s=e(),a=N("img"),u=e(),c=N("div"),h=N("button"),d=C(E),f=e(),m=N("button"),p=C(S),g=e(),y=N("p"),b=C(n[3]),O(a.src,l=n[9].thumbnail)||L(a,"src",l),L(a,"class","GameThumbnail"),L(a,"part","GameThumbnail"),L(a,"alt","game thumbnail"),L(a,"loading","lazy"),L(h,"class","LoginButton"),L(h,"part","LoginButton"),L(m,"class","RegisterButton"),L(m,"part","RegisterButton"),L(c,"class","ButtonsContainer"),L(c,"part","ButtonsContainer"),L(r,"class","GameDetails"),L(r,"part","GameDetails")},m(e,t){x(e,r,t),D(r,i),D(i,o),D(r,s),D(r,a),D(r,u),D(r,c),D(c,h),D(h,d),D(c,f),D(c,m),D(m,p),D(r,g),D(r,y),D(y,b),_||(v=[H(h,"click",n[60]),H(m,"click",n[61])],_=!0)},p(e,t){512&t[0]&&w!==(w=e[9].name+"")&&I(o,w),512&t[0]&&!O(a.src,l=e[9].thumbnail)&&L(a,"src",l),33554432&t[0]&&E!==(E=e[25]("gamePage.signIn")+"")&&I(d,E),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&I(p,S),8&t[0]&&I(b,e[3])},d(e){e&&A(r),_=!1,B(v)}}}function Ur(n){let r,i,o,s,a,l,u,c,h,d,f,m,p,g,y,b,_,v,w,E,S,T=n[9].name+"",M=n[25]("gamePage.signIn")+"",k=n[25]("gamePage.register")+"",P=n[25]("gamePage.playForFun")+"";return{c(){r=N("div"),i=N("h3"),o=C(T),s=e(),a=N("img"),u=e(),c=N("div"),h=N("button"),d=C(M),f=e(),m=N("button"),p=C(k),g=e(),y=N("button"),b=C(P),_=e(),v=N("p"),w=C(n[3]),O(a.src,l=n[9].thumbnail)||L(a,"src",l),L(a,"class","GameThumbnail"),L(a,"part","GameThumbnail"),L(a,"alt","game thumbnail"),L(a,"loading","lazy"),L(h,"class","LoginButton"),L(h,"part","LoginButton"),L(m,"class","RegisterButton"),L(m,"part","RegisterButton"),L(y,"class","FullWidthButton"),L(y,"part","FullWidthButton"),L(c,"class","ButtonsContainer"),L(c,"part","ButtonsContainer"),L(r,"class","GameDetails"),L(r,"part","GameDetails")},m(e,t){x(e,r,t),D(r,i),D(i,o),D(r,s),D(r,a),D(r,u),D(r,c),D(c,h),D(h,d),D(c,f),D(c,m),D(m,p),D(c,g),D(c,y),D(y,b),D(r,_),D(r,v),D(v,w),E||(S=[H(h,"click",n[57]),H(m,"click",n[58]),H(y,"click",n[59])],E=!0)},p(e,t){512&t[0]&&T!==(T=e[9].name+"")&&I(o,T),512&t[0]&&!O(a.src,l=e[9].thumbnail)&&L(a,"src",l),33554432&t[0]&&M!==(M=e[25]("gamePage.signIn")+"")&&I(d,M),33554432&t[0]&&k!==(k=e[25]("gamePage.register")+"")&&I(p,k),33554432&t[0]&&P!==(P=e[25]("gamePage.playForFun")+"")&&I(b,P),8&t[0]&&I(w,e[3])},d(e){e&&A(r),E=!1,B(S)}}}function Yr(n){let r,i,o,s,a,l,u,c,h,d,f,m,p,g,y,b,_,v,w,E,S=n[9].name+"",T=n[25]("gamePage.deposit")+"",M=n[25]("gamePage.playNow")+"",k="true"==n[0]&&Gr(n),P="true"===n[1]&&Wr(n);return{c(){k&&k.c(),r=e(),i=N("div"),o=N("h3"),s=C(S),a=e(),l=N("img"),c=e(),h=N("div"),d=N("button"),f=C(T),m=e(),p=N("button"),g=C(M),y=e(),P&&P.c(),b=e(),_=N("p"),v=C(n[3]),O(l.src,u=n[9].thumbnail)||L(l,"src",u),L(l,"class","GameThumbnail"),L(l,"part","GameThumbnail"),L(l,"alt","game thumbnail"),L(l,"loading","lazy"),L(d,"class","DepositButton"),L(d,"part","DepositButton"),L(p,"class","PlayNowButton"),L(p,"part","PlayNowButton"),L(h,"class","ButtonsContainer"),L(h,"part","ButtonsContainer"),L(i,"class","GameDetails"),L(i,"part","GameDetails")},m(e,t){k&&k.m(e,t),x(e,r,t),x(e,i,t),D(i,o),D(o,s),D(i,a),D(i,l),D(i,c),D(i,h),D(h,d),D(d,f),D(h,m),D(h,p),D(p,g),D(i,y),P&&P.m(i,null),D(i,b),D(i,_),D(_,v),w||(E=[H(d,"click",n[54]),H(p,"click",n[55])],w=!0)},p(e,t){"true"==e[0]?k?k.p(e,t):((k=Gr(e)).c(),k.m(r.parentNode,r)):k&&(k.d(1),k=null),512&t[0]&&S!==(S=e[9].name+"")&&I(s,S),512&t[0]&&!O(l.src,u=e[9].thumbnail)&&L(l,"src",u),33554432&t[0]&&T!==(T=e[25]("gamePage.deposit")+"")&&I(f,T),33554432&t[0]&&M!==(M=e[25]("gamePage.playNow")+"")&&I(g,M),"true"===e[1]?P?P.p(e,t):((P=Wr(e)).c(),P.m(i,b)):P&&(P.d(1),P=null),8&t[0]&&I(v,e[3])},d(e){k&&k.d(e),e&&A(r),e&&A(i),P&&P.d(),w=!1,B(E)}}}function Gr(e){let n;function r(e){return e[9].isFavored?jr:$r}let i=r(e),o=i(e);return{c(){o.c(),n=Y()},m(e,t){o.m(e,t),x(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&A(n)}}}function $r(n){let r,i,o,s,a,l,u;return{c(){r=N("div"),i=U("svg"),P(o=U("path"),"fill","white"),L(o,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),L(i,"version","1.1"),L(i,"class","UnfavoredIcon"),L(i,"part","UnfavoredIcon"),L(i,"xmlns","http://www.w3.org/2000/svg"),L(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),L(i,"x","20px"),L(i,"y","20px"),L(i,"viewBox","0 0 512.001 512.001"),P(i,"enable-background","new 0 0 512.001 512.001"),L(i,"xml:space","preserve"),L(r,"class",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),L(r,"part",a="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){x(e,r,t),D(r,i),D(i,o),l||(u=H(r,"click",n[53]),l=!0)},p(e,t){2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&L(r,"class",s),2&t[0]&&a!==(a="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&L(r,"part",a)},d(e){e&&A(r),l=!1,u()}}}function jr(n){let r,i,o,s,a,l,u;return{c(){r=N("div"),i=U("svg"),P(o=U("path"),"fill","white"),L(o,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),L(i,"version","1.1"),L(i,"class","FavoredIcon"),L(i,"part","FavoredIcon"),L(i,"xmlns","http://www.w3.org/2000/svg"),L(i,"viewBox","0 0 19.481 19.481"),L(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),L(i,"enable-background","new 0 0 19.481 19.481"),L(r,"class",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),L(r,"part",a="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){x(e,r,t),D(r,i),D(i,o),l||(u=H(r,"click",n[52]),l=!0)},p(e,t){2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&L(r,"class",s),2&t[0]&&a!==(a="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&L(r,"part",a)},d(e){e&&A(r),l=!1,u()}}}function Wr(n){let r,i,o,e,t,s,a,l=n[25]("gamePage.breakButton")+"";return{c(){r=N("div"),i=N("button"),o=C(l),L(i,"class",e="PanicButton "+("PC"!==br(n[26])?"PanicButtonMobile":"")),L(i,"part",t="PanicButton "+("PC"!==br(n[26])?"PanicButtonMobile":"")),R(i,"PanicButtonAnimation",n[8]),L(r,"class",s="PanicSection "+("PC"!==br(n[26])?"PanicSectionMobile":"")),L(r,"part",a="PanicSection "+("PC"!==br(n[26])?"PanicSectionMobile":""))},m(e,t){x(e,r,t),D(r,i),D(i,o),n[56](i)},p(e,t){33554432&t[0]&&l!==(l=e[25]("gamePage.breakButton")+"")&&I(o,l),256&t[0]&&R(i,"PanicButtonAnimation",e[8])},d(e){e&&A(r),n[56](null)}}}function Vr(e){let n;function r(e){return e[7]?Br:e[6]?Pr:kr}let i=r(e),o=i(e);return{c(){o.c(),n=Y(),this.c=g},m(e,t){o.m(e,t),x(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(n.parentNode,n)))},i:g,o:g,d(e){o.d(e),e&&A(n)}}}function zr(t,e,o){let L;var I,R,F=gr;t.$$.on_destroy.push(xe(F,e=>o(25,L=e)));let U,n,s,r,Y,i,a,l,u,G,$,c,h,j,W,d,f,m,p,{endpoint:g=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:V=""}=e,{clientstyling:_=""}=e,{clientstylingurl:v=""}=e,{favorites:z=""}=e,{loginurl:w=""}=e,{registerurl:E=""}=e,{depositurl:S=""}=e,{loginevent:T=""}=e,{registerevent:M=""}=e,{depositevent:k=""}=e,{clockformat:Z=""}=e,{haspanicbutton:X="false"}=e,{playforfun:P="true"}=e,{checksession:q="true"}=e,{integratedgameframedesktop:K="false"}=e,{integratedgameframemobile:J="false"}=e,{gameid:Q=""}=e,B=!1,ee=!1,te=!0,ne=!1,re=0,O=!1,ie=!1,oe=!1,D=!0,x=!1,A=window.navigator.userAgent,se=!1,ae=[],le=!1,ue="false",ce;({withLocale:I,translations:R}={withLocale:"en",translations:{}}),Oe.subscribe(e=>{null==e&&(Xn.set(R),Oe.set(I))}),Object.keys(_r).forEach(e=>{Kn(e,_r[e])});const he=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),o(7,te=!1),s&&0<s.length&&(o(5,B=!0),o(7,te=!1),t.searchParams.append("_sid",s),t.searchParams.append("funMode","false")),e.launchUrl=t,e},de=(e,t)=>{let n=new URL(g+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),o(13,D=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{o(9,i=he(e[0])),i.launchUrl&&(o(10,O=!0),o(11,ie="true"==P&&i.hasFunMode),o(12,oe="true"==P&&i.hasAnonymousFunMode))},e=>{console.error("There was an error",e),o(6,ee=!0)}).then(()=>{a&&(D||(o(18,G=i.width),o(19,$=i.height),j=i.width+"px",W=i.height+"px",c=i.width,h=i.height),be())}),window.postMessage({type:"RequestModalSize"},window.location.href)},fe=()=>{null!=r&&r.addEventListener("mousedown",Me,!1),null!=r&&r.addEventListener("touchstart",Me,!1),null!=r&&r.addEventListener("mouseup",ke,!1),null!=r&&r.addEventListener("touchend",ke,!1)},me=()=>{o(8,ne=!1),null!=r&&r.removeEventListener("mousedown",Me),null!=r&&r.removeEventListener("touchstart",Me),null!=r&&r.removeEventListener("mouseup",ke),null!=r&&r.removeEventListener("touchend",ke)},pe=e=>{switch(e.data.type){case"GameLaunchID":de(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":o(51,ue="true");break;case"LaunchGameFrame":ye(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),o(51,ue="false"),me(),yr(A)?setTimeout(()=>{o(10,O="true"===J)},500):setTimeout(()=>{o(10,O="true"===K)},500);break;case"UserSessionID":if(0<e.data.session.length){s=e.data.session,e.data.userID,o(5,B=!0);let t=setInterval(()=>{if(i){let e=new URL(i.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",s),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),o(9,i.launchUrl=e,i),clearInterval(t)}},250)}break;case"ModalSize":o(18,G=e.data.modalContainerSize.modalWidth),o(19,$=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ae=e.data.receivedFavoriteResults.items)}},ge=e=>{var t="gamepage";i.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href),o(9,i.isFavored=!1,i)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href),o(9,i.isFavored=!0,i))},ye=(e,r)=>{let t=new URL(g+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;o(9,i=he(e[0])),i.launchUrl&&o(9,i.isFavored=(e=i,t=r,o(12,oe="true"==P&&e.hasAnonymousFunMode),o(11,ie="true"==P&&t),o(10,O=!0),n=e.id,-1!==ae.findIndex(e=>e.id==n)),i)})},be=()=>{let e=getComputedStyle(a);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),i.width/(i.height+100));c=parseInt(i.width),h=parseInt(i.height),c=t*n,j=c?Math.floor(c)+"px":"1280px",W=h?Math.floor(h)+"px":"720px",Pe()},_e=e=>{if(!le)return yr(A)?ve(J):ve(K);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};Tr("OPEN_GAME",e)},ve=e=>{"false"==e?window.open(i.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:i.id},window.location.href)},we=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:O},window.location.href),O&&(a&&be(),window.addEventListener("ModalSize",pe,!1))},N=()=>{T&&(window.postMessage({type:T,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),w&&(window.location=w)},C=()=>{M&&(window.postMessage({type:M,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),E&&(window.location=E)},Ee=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),S&&(window.location=S)};function Se(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!x||H()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Se,!1),document.addEventListener("mozfullscreenchange",Se,!1),document.addEventListener("fullscreenchange",Se,!1),document.addEventListener("MSFullscreenChange",Se,!1));const H=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(x?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),o(17,x=!1)):(a.requestFullscreen?a.requestFullscreen():a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen&&a.msRequestFullscreen(),o(17,x=!0)))},Te=(setInterval(()=>{o(3,U=Z?Mr().format(Z):Mr().format("LTS"))},100),()=>{var r,i;"true"==q?(r=g,i=b,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),Ae(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{s=e.Guid,e.UserID,o(5,B=!0)},e=>{o(5,B=!1),console.error("err on session",e)})):(s=b,o(5,B=!0))}),Me=e=>{re=0,Y=setInterval(()=>{re+=1,o(8,ne=!0),3<=re&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Y))},1e3)},ke=e=>{re<3&&o(8,ne=!1),clearInterval(Y)},Pe=()=>{var e=x?"100%":j,t=x?"100%":W,n=x||!D?"none":i.width?Math.floor(i.width)+"px":"1280px",r=x||!D?"none":i.height?Math.floor(i.height)+100+"px":"720px";o(24,ce=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),x||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,r=parseInt(getComputedStyle(a).height);p=p||r*Math.max(n,.5),o(14,a.style.height=p+"px",a),o(15,l.style.height=p+"px",l),e&&o(16,u.style.height=a.style.height+"px",u),t.unobserve(a)},{threshold:0}).observe(a)};return F=()=>(window.addEventListener("resize",we,!1),window.addEventListener("message",pe,!1),le=!!Sr(A),()=>{me(),window.removeEventListener("resize",we),window.removeEventListener("message",pe)}),function(){if(De)return De;throw new Error("Function called outside component initialization")}().$$.on_mount.push(F),t.$$set=e=>{"endpoint"in e&&o(33,g=e.endpoint),"lang"in e&&o(34,y=e.lang),"session"in e&&o(35,b=e.session),"userid"in e&&o(36,V=e.userid),"clientstyling"in e&&o(37,_=e.clientstyling),"clientstylingurl"in e&&o(38,v=e.clientstylingurl),"favorites"in e&&o(0,z=e.favorites),"loginurl"in e&&o(39,w=e.loginurl),"registerurl"in e&&o(40,E=e.registerurl),"depositurl"in e&&o(41,S=e.depositurl),"loginevent"in e&&o(42,T=e.loginevent),"registerevent"in e&&o(43,M=e.registerevent),"depositevent"in e&&o(44,k=e.depositevent),"clockformat"in e&&o(45,Z=e.clockformat),"haspanicbutton"in e&&o(1,X=e.haspanicbutton),"playforfun"in e&&o(46,P=e.playforfun),"checksession"in e&&o(47,q=e.checksession),"integratedgameframedesktop"in e&&o(48,K=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(49,J=e.integratedgameframemobile),"gameid"in e&&o(50,Q=e.gameid)},t.$$.update=()=>{if(8&t.$$.dirty[1]&&y&&(e=y,Oe.set(e),o(20,se=yr(A))),524300&t.$$.dirty[1]&&g&&Q&&y&&de(Q,!0),52&t.$$.dirty[1]&&b&&V&&g&&Te(),65556&t.$$.dirty[1]&&"false"==q&&b&&g&&Te(),64&t.$$.dirty[1]&&_){let e=document.createElement("style");e.innerHTML=_,d.appendChild(e)}if(128&t.$$.dirty[1]&&v){let t=document.createElement("style");v&&(e=new URL(v),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,d&&setTimeout(()=>{d.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&"true"==ue&&r&&fe(),4&t.$$.dirty[0]&&r&&fe()},[z,X,r,U,n,B,ee,te,ne,i,O,ie,oe,D,a,l,u,x,G,$,se,d,f,m,"",L,A,ge,_e,N,C,Ee,H,g,y,b,V,_,v,w,E,S,T,M,k,Z,P,q,K,J,Q,ue,()=>ge(i.id),()=>ge(i.id),()=>Ee(),()=>{_e(i)},function(e){Be[e?"unshift":"push"](()=>{r=e,o(2,r)})},()=>N(),()=>C(),()=>{_e(i)},()=>N(),()=>C(),function(e){Be[e?"unshift":"push"](()=>{n=e,o(4,n)})},()=>Ee(),function(e){Be[e?"unshift":"push"](()=>{m=e,o(23,m)})},function(e){Be[e?"unshift":"push"](()=>{r=e,o(2,r)})},()=>H(),()=>H(),function(e){Be[e?"unshift":"push"](()=>{f=e,o(22,f)})},function(e){Be[e?"unshift":"push"](()=>{l=e,o(15,l)})},function(e){Be[e?"unshift":"push"](()=>{a=e,o(14,a)})},function(e){Be[e?"unshift":"push"](()=>{n=e,o(4,n)})},()=>N(),()=>C(),function(e){Be[e?"unshift":"push"](()=>{m=e,o(23,m)})},()=>H(),()=>H(),function(e){Be[e?"unshift":"push"](()=>{f=e,o(22,f)})},function(e){Be[e?"unshift":"push"](()=>{l=e,o(15,l)})},function(e){Be[e?"unshift":"push"](()=>{a=e,o(14,a)})},()=>N(),()=>C(),function(e){Be[e?"unshift":"push"](()=>{d=e,o(21,d)})},function(e){Be[e?"unshift":"push"](()=>{u=e,o(16,u)})}]}class Zr extends Q{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'}.CasinoGamePageContainer{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>",J(this,{target:this.shadowRoot,props:function(e){const t={};for(const n of e)t[n.name]=n.value;return t}(this.attributes),customElement:!0},zr,Vr,k,{endpoint:33,lang:34,session:35,userid:36,clientstyling:37,clientstylingurl:38,favorites:0,loginurl:39,registerurl:40,depositurl:41,loginevent:42,registerevent:43,depositevent:44,clockformat:45,haspanicbutton:1,playforfun:46,checksession:47,integratedgameframedesktop:48,integratedgameframemobile:49,gameid:50},null,[-1,-1,-1,-1]),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),y()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$$set({endpoint:e}),y()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),y()}get session(){return this.$$.ctx[35]}set session(e){this.$$set({session:e}),y()}get userid(){return this.$$.ctx[36]}set userid(e){this.$$set({userid:e}),y()}get clientstyling(){return this.$$.ctx[37]}set clientstyling(e){this.$$set({clientstyling:e}),y()}get clientstylingurl(){return this.$$.ctx[38]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),y()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),y()}get loginurl(){return this.$$.ctx[39]}set loginurl(e){this.$$set({loginurl:e}),y()}get registerurl(){return this.$$.ctx[40]}set registerurl(e){this.$$set({registerurl:e}),y()}get depositurl(){return this.$$.ctx[41]}set depositurl(e){this.$$set({depositurl:e}),y()}get loginevent(){return this.$$.ctx[42]}set loginevent(e){this.$$set({loginevent:e}),y()}get registerevent(){return this.$$.ctx[43]}set registerevent(e){this.$$set({registerevent:e}),y()}get depositevent(){return this.$$.ctx[44]}set depositevent(e){this.$$set({depositevent:e}),y()}get clockformat(){return this.$$.ctx[45]}set clockformat(e){this.$$set({clockformat:e}),y()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),y()}get playforfun(){return this.$$.ctx[46]}set playforfun(e){this.$$set({playforfun:e}),y()}get checksession(){return this.$$.ctx[47]}set checksession(e){this.$$set({checksession:e}),y()}get integratedgameframedesktop(){return this.$$.ctx[48]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),y()}get integratedgameframemobile(){return this.$$.ctx[49]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),y()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$$set({gameid:e}),y()}}return customElements.get("casino-game-page")||customElements.define("casino-game-page",Zr),Zr});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(E){"use strict";(r=E)&&"object"==typeof r&&0 in r;function g(){}function S(e){return e()}function T(){return Object.create(null)}function B(e){e.forEach(S)}function M(e){return"function"==typeof e}function k(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let F,xe;function O(e,t){return(F=F||document.createElement("a")).href=t,e===F.href}function Ae(e,...t){if(null==e)return g;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function D(e,t){e.appendChild(t)}function x(e,t,n){e.insertBefore(t,n||null)}function A(e){e.parentNode.removeChild(e)}function N(e){return document.createElement(e)}function U(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function C(e){return document.createTextNode(e)}function e(){return C(" ")}function Y(){return C("")}function H(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function L(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function I(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function P(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function R(e,t,n){e.classList[n?"add":"remove"](t)}function G(e){xe=e}const $=[],Oe=[],j=[],W=[],V=Promise.resolve();let z=!1;function Z(e){j.push(e)}const X=new Set;let q=0;function y(){const e=xe;do{for(;q<$.length;){const e=$[q];q++,G(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),B(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(Z))}for(G(null),$.length=0,q=0;Oe.length;)Oe.pop()();for(let e=0;e<j.length;e+=1){const r=j[e];X.has(r)||(X.add(r),r())}}while(j.length=0,$.length);for(;W.length;)W.pop()();z=!1,X.clear(),G(e)}const K=new Set;function J(r,e,t,n,i,o,s,a=[-1]){var l=xe;G(r);const u=r.$$={fragment:null,ctx:null,props:o,update:g,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:a,skip_bound:!1,root:e.target||l.$$.root};s&&s(u.root);let c=!1;if(u.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return u.ctx&&i(u.ctx[e],u.ctx[e]=n)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](n),c&&(n=e,-1===(e=r).$$.dirty[0]&&($.push(e),z||(z=!0,V.then(y)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],u.update(),c=!0,B(u.before_update),u.fragment=!!n&&n(u.ctx),e.target){if(e.hydrate){o=e.target;const r=Array.from(o.childNodes);u.fragment&&u.fragment.l(r),r.forEach(A)}else u.fragment&&u.fragment.c();e.intro&&(a=r.$$.fragment)&&a.i&&(K.delete(a),a.i(void 0));{var h=r;s=e.target;t=e.anchor;n=e.customElement;const{fragment:d,on_mount:f,on_destroy:m,after_update:p}=h.$$;d&&d.m(s,t),n||Z(()=>{var e=f.map(S).filter(M);m?m.push(...e):B(e),h.$$.on_mount=[]}),p.forEach(Z)}y()}G(l)}let Q;"function"==typeof HTMLElement&&(Q=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(S).filter(M);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){B(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(B(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=g}$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 ee,te,a="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==a&&a,ne="URLSearchParams"in a,re="Symbol"in a&&"iterator"in Symbol,ie="FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch(e){return!1}}(),oe="FormData"in a,se="ArrayBuffer"in a;function ae(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 le(e){return e="string"!=typeof e?String(e):e}function ue(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return re&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?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 ce(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function he(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function de(e){var t=new FileReader,n=he(t);return t.readAsArrayBuffer(e),n}function fe(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function me(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ie&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:oe&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ne&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():se&&ie&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=fe(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):se&&(ArrayBuffer.prototype.isPrototypeOf(e)||te(e))?this._bodyArrayBuffer=fe(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):ne&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ie&&(this.blob=function(){var e=ce(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?ce(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(de)}),this.text=function(){var e,t,n=ce(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,t=he(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)},oe&&(this.formData=function(){return this.text().then(ge)}),this.json=function(){return this.text().then(JSON.parse)},this}se&&(ee=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],te=ArrayBuffer.isView||function(e){return e&&-1<ee.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=ae(e),t=le(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[ae(e)]},l.prototype.get=function(e){return e=ae(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(ae(e))},l.prototype.set=function(e,t){this.map[ae(e)]=le(t)},l.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},l.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),ue(n)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ue(t)},l.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),ue(n)},re&&(l.prototype[Symbol.iterator]=l.prototype.entries);var pe=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];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.');var n,r=(t=t||{}).body;if(e instanceof u){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(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 l(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<pe.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 ge(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 c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');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 l(t.headers),this.url=t.url||"",this._initBody(e)}u.prototype.clone=function(){return new u(this,{body:this._bodyInit})},me.call(u.prototype),me.call(c.prototype),c.prototype.clone=function(){return new c(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},c.error=function(){var e=new c(null,{status:0,statusText:""});return e.type="error",e};var ye=[301,302,303,307,308],be=(c.redirect=function(e,t){if(-1===ye.indexOf(t))throw new RangeError("Invalid status code");return new c(null,{status:t,headers:{location:e}})},a.DOMException);try{new be}catch(E){(be=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),be.prototype.constructor=be}function _e(r,s){return new Promise(function(i,e){var t=new u(r,s);if(t.signal&&t.signal.aborted)return e(new be("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var e,n,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",n=new l,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 o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){i(new c(r,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new be("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&a.location.href?a.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(ie?o.responseType="blob":se&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof l?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){o.setRequestHeader(e,le(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",n)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}function xn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}_e.polyfill=!0,a.fetch||(a.fetch=_e,a.Headers=l,a.Request=u,a.Response=c);var Ne=self.fetch.bind(self),ve=function(e,t){return(ve=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 we(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}ve(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ee(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 Se(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function Te(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function h(e){return"function"==typeof e}function Me(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var ke=Me(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Pe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}n.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Ee(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(h(o))try{o()}catch(e){i=e instanceof ke?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=Ee(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{Le(c)}catch(e){i=null!=i?i:[],e instanceof ke?i=Te(Te([],Se(i)),Se(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new ke(i)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Le(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 Be=n,Ce=Be.EMPTY;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function He(e){return e instanceof Be||e&&"closed"in e&&h(e.remove)&&h(e.add)&&h(e.unsubscribe)}function Le(e){h(e)?e():e.unsubscribe()}var Ie=void 0,Re=!1,Fe=!1,Ue={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Ue.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,Te([e,t],Se(n))):setTimeout.apply(void 0,Te([e,t],Se(n)))},clearTimeout:function(e){var t=Ue.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ye(){}var Ge=null;function $e(e){if(Re){var t=!Ge;if(t&&(Ge={errorThrown:!1,error:null}),e(),t){var t=Ge,n=t.errorThrown,t=t.error;if(Ge=null,n)throw t}}else e()}we(t,je=Be),t.create=function(e,t,n){return new qe(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,je.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var je,We=t,Ve=Function.prototype.bind;function t(e){var t=je.call(this)||this;return t.isStopped=!1,e?He(t.destination=e)&&e.add(t):t.destination=et,t}function ze(e,t){return Ve.call(e,t)}Je.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Qe(e)}},Je.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Qe(e)}else Qe(e)},Je.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Qe(e)}};var Ze,Xe=Je,qe=(we(Ke,Ze=We),Ke);function Ke(e,t,n){var r=Ze.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&&Fe?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&ze(e.next,t),error:e.error&&ze(e.error,t),complete:e.complete&&ze(e.complete,t)}):e;return r.destination=new Xe(n),r}function Je(e){this.partialObserver=e}function Qe(e){var t=e;Ue.setTimeout(function(){throw t})}var et={closed:!0,next:Ye,error:function(e){throw e},complete:Ye},r="function"==typeof Symbol&&Symbol.observable||"@@observable";function tt(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,o=(r=e)&&r instanceof We||r&&h(r.next)&&h(r.error)&&h(r.complete)&&He(r)?e:new qe(e,t,n);return $e(function(){var e=i.operator,t=i.source;o.add(e?e.call(o,t):t?i._subscribe(o):i._trySubscribe(o))}),o},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=rt(e))(function(e,t){var n=new qe({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?tt: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=rt(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 nt=i;function i(e){e&&(this._subscribe=e)}function rt(e){return null!=(e=null!=e?e:Ie)?e:Promise}var it,ot,st,at=Me(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),r=(we(o,st=nt),o.prototype.lift=function(e){var t=new lt(this,this);return t.operator=e,t},o.prototype._throwIfClosed=function(){if(this.closed)throw new at},o.prototype.next=function(i){var o=this;$e(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var n=Ee(o.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},o.prototype.error=function(t){var n=this;$e(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)}})},o.prototype.complete=function(){var t=this;$e(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},o.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(o.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),o.prototype._trySubscribe=function(e){return this._throwIfClosed(),st.prototype._trySubscribe.call(this,e)},o.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},o.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?Ce:(this.currentObservers=null,i.push(e),new Be(function(){t.currentObservers=null,Pe(i,e)}))},o.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},o.prototype.asObservable=function(){var e=new nt;return e.source=this,e},o.create=function(e,t){return new lt(e,t)},o),lt=(we(dt,ot=r),dt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},dt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},dt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},dt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ce},dt),ut={now:function(){return(ut.delegate||Date).now()},delegate:void 0},ct=(we(ht,it=r),ht.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(o.now()+t)),this._trimBuffer(),it.prototype.next.call(this,e)},ht.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},ht.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var o=t.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},ht);function ht(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=ut);var r=it.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function dt(e,t){var n=ot.call(this)||this;return n.destination=e,n.source=t,n}function o(){var e=st.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let ft=[],mt={};const pt=[];function gt(r,i=g){let o;const s=new Set;function a(e){if(k(r,e)&&(r=e,o)){const e=!pt.length;for(const e of s)e[1](),pt.push(e,r);if(e){for(let e=0;e<pt.length;e+=2)pt[e][0](pt[e+1]);pt.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=g){const n=[e,t];return s.add(n),1===s.size&&(o=i(a)||g),e(r),()=>{s.delete(n),0===s.size&&(o(),o=null)}}}}function yt(e,a,t){const l=!Array.isArray(e),u=l?[e]:e,c=a.length<2;return{subscribe:gt(t,t=>{let n=!1;const r=[];let i=0,o=g;const s=()=>{var e;i||(o(),e=a(l?r[0]:r,t),c?t(e):o=M(e)?e:g)},e=u.map((e,t)=>Ae(e,e=>{r[t]=e,i&=~(1<<t),n&&s()},()=>{i|=1<<t}));return n=!0,s(),function(){B(e),o()}}).subscribe}}function bt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===_t));var t}var _t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function vt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Mt(Array.isArray(e)?[]:{},e,t):e}function wt(e,t,n){return e.concat(t).map(function(e){return vt(e,n)})}function Et(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function St(e,t){try{return t in e}catch(e){return!1}}function Tt(r,i,o){var s={};return o.isMergeableObject(r)&&Et(r).forEach(function(e){s[e]=vt(r[e],o)}),Et(i).forEach(function(t){var e,n;(!St(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(St(r,t)&&o.isMergeableObject(i[t])?s[t]=function(e){if(!e.customMerge)return Mt;e=e.customMerge(t);return"function"==typeof e?e:Mt}(o)(r[t],i[t],o):s[t]=vt(i[t],o))}),s}function Mt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||wt,n.isMergeableObject=n.isMergeableObject||bt,n.cloneUnlessOtherwiseSpecified=vt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Tt(e,t,n):vt(t,n)}Mt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Mt(e,t,n)},{});throw new Error("first argument should be an array")};var kt=Mt,Pt=function(e,t){return(Pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Bt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Pt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var p,b,Ot,_=function(){return(_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function Dt(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function xt(e){return e.type===b.literal}function At(e){return e.type===b.number}function Nt(e){return e.type===b.date}function Ct(e){return e.type===b.time}function Ht(e){return e.type===b.select}function Lt(e){return e.type===b.plural}function It(e){return e.type===b.tag}function Rt(e){return e&&"object"==typeof e&&e.type===Ot.number}function Ft(e){return e&&"object"==typeof e&&e.type===Ot.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=b=b||{})[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=Ot=Ot||{})[r.number=0]="number",r[r.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ut=/(?:[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 Yt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Gt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$t=/^(@+)?(\+|#+)?[rs]?$/g,jt=/(\*)(0+)|(#+)(0+)|(0+)/g,Wt=/^(0+)$/;function Vt(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace($t,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function zt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Zt(e){return zt(e)||{}}function Xt(e){for(var s={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=_(_(_({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return _(_({},e),Zt(t))},{}));continue;case"engineering":s=_(_(_({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return _(_({},e),Zt(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(jt,function(e,t,n,r,i,o){if(t)s.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Wt.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(Gt.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Gt,function(e,t,n,r,i,o){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var o=i.options[0];"w"===o?s=_(_({},s),{trailingZeroDisplay:"stripIfInteger"}):o&&(s=_(_({},s),Vt(o)))}else $t.test(i.stem)?s=_(_({},s),Vt(i.stem)):((o=zt(i.stem))&&(s=_(_({},s),o)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Wt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=_(_({},s),r)))}return s}var qt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Kt=new RegExp("^".concat(r.source,"*")),Jt=new RegExp("".concat(r.source,"*$"));function v(e,t){return{start:e,end:t}}var r=!!String.prototype.startsWith,Qt=!!String.fromCodePoint,en=!!Object.fromEntries,tn=!!String.prototype.codePointAt,nn=!!String.prototype.trimStart,rn=!!String.prototype.trimEnd,on=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},sn=!0;try{sn="a"===(null==(Pn=pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Pn[0])}catch(E){sn=!1}var an,ln,un=r?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},cn=Qt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;o<i;){if(1114111<(n=e[o++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},hn=en?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],i=i[1];t[o]=i}return t},dn=tn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},fn=nn?function(e){return e.trimStart()}:function(e){return e.replace(Kt,"")},mn=rn?function(e){return e.trimEnd()}:function(e){return e.replace(Jt,"")};function pn(e,t){return new RegExp(e,t)}ln=sn?(an=pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return an.lastIndex=t,null!=(t=an.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=dn(e,t);if(void 0===i||bn(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return cn.apply(void 0,r)};s.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},s.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(p.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&yn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{o=this.clonePosition();this.bump(),r.push({type:b.pound,location:v(o,this.clonePosition())})}}}return{val:r,err:null}},s.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:b.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()||!yn(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:b.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()))},s.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())},s.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:b.literal,value:r,location:n},err:null}},s.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(yn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},s.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return cn.apply(void 0,t)},s.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),cn(n))},s.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:b.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()))}},s.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=ln(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},s.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(p.EXPECT_ARGUMENT_TYPE,v(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(f=mn(m.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:v(u,this.clonePosition())}}if((u=this.tryParseArgumentClose(r)).err)return u;var c=v(r,this.clonePosition());if(l&&un(null==l?void 0:l.style,"::",0)){var h=fn(l.style.slice(2));if("number"===s)return(m=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?m:{val:{type:b.number,value:n,location:c,style:m.val},err:null};if(0===h.length)return this.error(p.EXPECT_DATE_TIME_SKELETON,c);var d=h,f=(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 o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(qt[t||""]||qt[n||""]||qt["".concat(n,"-001")]||qt["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)n+="a";for(;0<s--;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale)),{type:Ot.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},d.replace(Ut,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}});return{val:{type:"date"===s?b.date:b.time,value:n,location:c,style:f},err:null}}return{val:{type:"number"===s?b.number:"date"===s?b.date:b.time,value:n,location:c,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,_({},d)));this.bumpSpace();var m,f=this.parseIdentifierIfPossible(),c=0;if("select"!==s&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),f=this.parseIdentifierIfPossible(),c=m.val}l=this.tryParsePluralOrSelectOptions(e,s,t,f);if(l.err)return l;if((u=this.tryParseArgumentClose(r)).err)return u;h=v(r,this.clonePosition());return"select"===s?{val:{type:b.select,value:n,options:hn(l.val),location:h},err:null}:{val:{type:b.plural,value:n,options:hn(l.val),offset:c,pluralType:"plural"===s?"cardinal":"ordinal",location:h},err:null};default:return this.error(p.INVALID_ARGUMENT_TYPE,v(o,a))}},s.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})},s.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}},s.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(Yt).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:Ot.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Xt(n):{}},err:null}},s.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,o=[],s=new Set,a=r.value,l=r.location;;){if(0===a.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=v(u,this.clonePosition()),a=this.message.slice(u.offset,this.offset())}if(s.has(a))return this.error("select"===t?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(i=!0),this.bumpSpace();c=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()));u=this.parseMessage(e+1,t,n);if(u.err)return u;var h=this.tryParseArgumentClose(c);if(h.err)return h;o.push([a,{value:u.val,location:v(c,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.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:o,err:null}},s.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}r=v(r,this.clonePosition());return i?on(o*=n)?{val:o,err:null}:this.error(t,r):this.error(e,r)},s.prototype.offset=function(){return this.position.offset},s.prototype.isEOF=function(){return this.offset()===this.message.length},s.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},s.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=dn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},s.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},s.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))},s.prototype.bumpIf=function(e){if(un(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},s.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)},s.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}},s.prototype.bumpSpace=function(){for(;!this.isEOF()&&bn(this.char());)this.bump()},s.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 gn=s;function s(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function yn(e){return 97<=e&&e<=122||65<=e&&e<=90}function bn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function _n(e,t){t=_({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new gn(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,Ht(e)||Lt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else At(e)&&Rt(e.style)||(Nt(e)||Ct(e))&&Ft(e.style)?delete e.style.location:It(e)&&n(e.children)})}(e.val),e.val}function vn(e,t){var n=t&&t.cache?t.cache:Bn,r=t&&t.serializer?t.serializer:Tn;return(t&&t.strategy?t.strategy:function(e,t){return Sn(e,this,1===e.length?wn:En,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function wn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function En(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function Sn(e,t,n,r,i){return n.bind(t,e,r,i)}var Tn=function(){return JSON.stringify(arguments)};function Mn(){this.cache=Object.create(null)}Mn.prototype.get=function(e){return this.cache[e]},Mn.prototype.set=function(e,t){this.cache[e]=t};var kn,Pn,Bn={create:function(){return new Mn}},On={variadic:function(e,t){return Sn(e,this,En,t.cache.create(),t.serializer)},monadic:function(e,t){return Sn(e,this,wn,t.cache.create(),t.serializer)}};(Pn=kn=kn||{}).MISSING_VALUE="MISSING_VALUE",Pn.INVALID_VALUE="INVALID_VALUE",Pn.MISSING_INTL_API="MISSING_INTL_API";Bt(Gn,Cn=Error),Gn.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var w,Dn,An,Nn,Cn,Hn=Gn,Ln=(Bt(Yn,Nn=Hn),Yn),In=(Bt(Un,An=Hn),Un),Rn=(Bt(Fn,Dn=Hn),Fn);function Fn(e,t){return Dn.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),kn.MISSING_VALUE,t)||this}function Un(e,t,n){return An.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),kn.INVALID_VALUE,n)||this}function Yn(e,t,n,r){return Nn.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),kn.INVALID_VALUE,r)||this}function Gn(e,t,n){e=Cn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function $n(e,t,n,r,i,o,s){if(1===e.length&&xt(e[0]))return[{type:w.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(xt(c))a.push({type:w.literal,value:c.value});else if(c.type===b.pound)"number"==typeof o&&a.push({type:w.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;if(!(i&&h in i))throw new Rn(h,s);h=i[h];if(c.type===b.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?w.literal:w.object,value:h});else if(Nt(c)){var d="string"==typeof c.style?r.date[c.style]:Ft(c.style)?c.style.parsedOptions:void 0;a.push({type:w.literal,value:n.getDateTimeFormat(t,d).format(h)})}else if(Ct(c))d="string"==typeof c.style?r.time[c.style]:Ft(c.style)?c.style.parsedOptions:r.time.medium,a.push({type:w.literal,value:n.getDateTimeFormat(t,d).format(h)});else if(At(c))(d="string"==typeof c.style?r.number[c.style]:Rt(c.style)?c.style.parsedOptions:void 0)&&d.scale&&(h*=d.scale||1),a.push({type:w.literal,value:n.getNumberFormat(t,d).format(h)});else{if(It(c)){var f=c.children,m=c.value,p=i[m];if("function"!=typeof p)throw new In(m,"function",s);m=p($n(f,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?w.literal:w.object,value:e}}))}if(Ht(c)){if(!(g=c.options[h]||c.options.other))throw new Ln(c.value,h,Object.keys(c.options),s);a.push.apply(a,$n(g.value,t,n,r,i))}else if(Lt(c)){if(!(g=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new Hn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',kn.MISSING_INTL_API,s);var p=n.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),g=c.options[p]||c.options.other}if(!g)throw new Ln(c.value,h,Object.keys(c.options),s);a.push.apply(a,$n(g.value,t,n,r,i,h-(c.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===w.literal&&t.type===w.literal?n.value+=t.value:e.push(t),e},[])}function jn(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(r=w=w||{})[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=_n,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 Wn=d;function d(e,t,n,r){var i,o,s=this;if(void 0===t&&(t=d.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===w.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 $n(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=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,(o=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=o[t])?_(_(_({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=_(_({},n[t]),r[t]||{}),e},{})):n),e},_({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:vn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Dt([void 0],t,!1)))},{cache:jn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:On.variadic}),getDateTimeFormat:vn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Dt([void 0],t,!1)))},{cache:jn(t.dateTime),strategy:On.variadic}),getPluralRules:vn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Dt([void 0],t,!1)))},{cache:jn(t.pluralRules),strategy:On.variadic})}}const f={},Vn=(e,t,n)=>n&&(t in f||(f[t]={}),e in f[t]||(f[t][e]=n),n),zn=(t,n)=>{if(null!=n){if(n in f&&t in f[n])return f[n][t];var r=ur(n);for(let e=0;e<r.length;e++){var i=function(e,n){if(!qn(e))return null;e=function(e){return Zn[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 Vn(t,n,i)}}};let Zn;const Xn=gt({});function qn(e){return e in Zn}function Kn(t,...n){delete f[t],Xn.update(e=>(e[t]=kt.all([e[t]||{},...n]),e))}yt([Xn],([e])=>Object.keys(e)),Xn.subscribe(e=>Zn=e);const Jn={};function Qn(e){return Jn[e]}function er(e){return null!=e&&ur(e).some(e=>{return null==(e=Qn(e))?void 0:e.size})}const tr={};function nr(e){if(!er(e))return e in tr?tr[e]:Promise.resolve();const t=ur(e).map(e=>{var t=Qn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return tr[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 Jn[t].delete(n),0===Jn[t].size&&delete Jn[t],e().then(e=>e.default||e)}));return n.then(e=>Kn(r,...e))}})).then(()=>{if(er(e))return nr(e);delete tr[e]}),tr[e]}function rr(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 ir={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 or=gt(!1);let sr;const ar=gt(null);function lr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function ur(e,t=ir.fallbackLocale){e=lr(e);return t?[...new Set([...e,...lr(t)])]:e}function m(){return null!=sr?sr:void 0}ar.subscribe(e=>{sr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const De=Object.assign(Object.assign({},ar),{set:t=>{if(t&&function(e){if(null!=e){var t=ur(e);for(let e=0;e<t.length;e++){var n=t[e];if(qn(n))return n}}}(t)&&er(t)){var n=ir["loadingDelay"];let e;return"undefined"!=typeof window&&null!=m()&&n?e=window.setTimeout(()=>or.set(!0),n):or.set(!0),nr(t).then(()=>{ar.set(t)}).finally(()=>{clearTimeout(e),or.set(!1)})}return ar.set(t)}}),cr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},hr=(e,t)=>{var n=ir["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},dr=cr(e=>{var{locale:t,format:n}=e,e=rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=hr("number",n)),new Intl.NumberFormat(t,e)}),fr=cr(e=>{var{locale:t,format:n}=e,e=rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=hr("date",n):0===Object.keys(e).length&&(e=hr("date","short")),new Intl.DateTimeFormat(t,e)}),mr=cr(e=>{var{locale:t,format:n}=e,e=rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=hr("time",n):0===Object.keys(e).length&&(e=hr("time","short")),new Intl.DateTimeFormat(t,e)}),pr=cr((e,t=m())=>new Wn(e,t,ir.formats,{ignoreTag:ir.ignoreTag})),gr=yt([De,Xn],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:o,locale:s=m(),default:a}=i;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=zn(e,s);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=ir).handleMissingMessage)?void 0:n.call(r,{locale:s,id:e,defaultValue:a}))?n:a)?r:e;if(!o)return l;let u=l;try{u=pr(l,s).format(o)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u}),yr=(yt([De],()=>(e,t)=>((e={})=>{var{locale:t=m()}=e,e=rr(e,["locale"]);return mr(Object.assign({locale:t},e))})(t).format(e)),yt([De],()=>(e,t)=>((e={})=>{var{locale:t=m()}=e,e=rr(e,["locale"]);return fr(Object.assign({locale:t},e))})(t).format(e)),yt([De],()=>(e,t)=>((e={})=>{var{locale:t=m()}=e,e=rr(e,["locale"]);return dr(Object.assign({locale:t},e))})(t).format(e)),yt([De,Xn],()=>(e,t=m())=>zn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==ft.indexOf(e)&&(t=new ct(t),mt[e]=t,ft.push(e)),mt[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))),br=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function _r(e,t){Kn(e,t)}const vr={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter ..."}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese 1 día de descanso de jugar - Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function wr(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var Er,Sr,Tr=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},Mr=function(e,...t){try{return wr(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},kr=(Sr=Er={path:void 0,exports:{},require:function(e,t){return xn(null==t&&Er.path)}},Er.exports,Sr.exports=function(){var L;function m(){return L.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function I(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function a(e){return void 0===e}function F(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function U(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function Y(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function G(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,r){return xt(e,t,n,r,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function $(e){if(null==e._isValid){var t=g(e),n=W.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function j(e){var t=u(NaN);return null!=e?G(g(t),e):g(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},V=m.momentProperties=[],z=!1;function Z(e,t){var n,r,i,o=V.length;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=g(t)),a(t._locale)||(e._locale=t._locale),0<o)for(n=0;n<o;n++)a(i=t[r=V[n]])||(e[r]=i);return e}function X(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,m.updateOffset(this),z=!1)}function l(e){return e instanceof X||null!=e&&null!=e._isAMomentObject}function q(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,s){var a=!0;return G(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,o),a){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}q(o+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),a=!1}return s.apply(this,arguments)},s)}var K={};function J(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),K[e]||(q(t),K[e]=!0)}function c(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=G({},e);for(n in t)p(t,n)&&(I(e[n])&&I(t[n])?(r[n]={},G(r[n],e[n]),G(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)p(e,n)&&!p(t,n)&&I(e[n])&&(r[n]=G({},r[n]));return r}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function o(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},oe={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(oe[e]=i),t&&(oe[t[0]]=function(){return o(i.apply(this,arguments),t[1],t[2])}),n&&(oe[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function se(e,t){return e.isValid()?(t=ae(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,o=i.length;t<o;t++)oe[i[t]]?i[t]=oe[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=c(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function ae(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function h(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ue(e){var t,n,r={};for(n in e)p(e,n)&&(t=h(n))&&(r[t]=e[n]);return r}var ce={};function n(e,t){ce[e]=t}function he(e){return e%4==0&&e%100!=0||e%400==0}function d(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?d(e):t}function de(t,n){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,n),this):fe(this,t)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&he(e.year())&&1===e.month()&&29===e.date()?(n=f(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ce(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?/,_e=/\d\d\d\d\d\d?/,ve=/\d{1,3}/,we=/\d{1,4}/,Ee=/[+-]?\d{1,6}/,Se=/\d+/,Te=/[+-]?\d+/,Me=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,_=/[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 v(e,n,r){Be[e]=c(n)?n:function(e,t){return e&&r?r:n}}function Pe(e,t){return p(Be,e)?Be[e](t._strict,t._locale):new RegExp(w(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function w(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Be={},Oe={};function E(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),F(n)&&(i=function(e,t){t[n]=f(e)}),r=e.length,t=0;t<r;t++)Oe[e[t]]=i}function De(e,i){E(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var S,T=0,M=1,k=2,P=3,B=4,O=5,xe=6,Ae=7,Ne=8;function Ce(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}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),v("M",b),v("MM",b,y),v("MMM",function(e,t){return t.monthsShortRegex(e)}),v("MMMM",function(e,t){return t.monthsRegex(e)}),E(["M","MM"],function(e,t){t[M]=f(e)-1}),E(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[M]=r:g(n).invalidMonth=e});var He="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Le="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re=_,Fe=_;function Ue(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=f(t);else if(!F(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Ce(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Ye(e){return null!=e?(Ue(this,e),m.updateOffset(this,!0),this):fe(this,"Month")}function Ge(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],o=0;o<12;o++)t=u([2e3,o]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),o=0;o<12;o++)n[o]=w(n[o]),r[o]=w(r[o]);for(o=0;o<24;o++)i[o]=w(i[o]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function $e(e){return he(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?o(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),v("Y",Te),v("YY",b,y),v("YYYY",we,ge),v("YYYYY",Ee,ye),v("YYYYYY",Ee,ye),E(["YYYYY","YYYYYY"],T),E("YYYY",function(e,t){t[T]=2===e.length?m.parseTwoDigitYear(e):f(e)}),E("YY",function(e,t){t[T]=m.parseTwoDigitYear(e)}),E("Y",function(e,t){t[T]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return f(e)+(68<f(e)?1900:2e3)};var je=de("FullYear",!0);function We(e,t,n,r,i,o,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}function Ve(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ze(e,t,n){n=7+t-n;return-(7+Ve(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var o,t=1+7*(t-1)+(7+n-r)%7+ze(e,r,i),n=t<=0?$e(o=e-1)+t:t>$e(e)?(o=e+1,t-$e(e)):(o=e,t);return{year:o,dayOfYear:n}}function Xe(e,t,n){var r,i,o=ze(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?r=o+D(i=e.year()-1,t,n):o>D(e.year(),t,n)?(r=o-D(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function D(e,t,n){var r=ze(e,t,n),t=ze(e+1,t,n);return($e(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),v("w",b),v("ww",b,y),v("W",b),v("WW",b,y),De(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=f(e)});function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),v("d",b),v("e",b),v("E",b),v("dd",function(e,t){return t.weekdaysMinRegex(e)}),v("ddd",function(e,t){return t.weekdaysShortRegex(e)}),v("dddd",function(e,t){return t.weekdaysRegex(e)}),De(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),De(["d","e","E"],function(e,t,n,r){t[r]=f(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=_,tt=_,nt=_;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],o=[],s=[],a=[],l=0;l<7;l++)r=u([2e3,1]).day(l),t=w(this.weekdaysMin(r,"")),n=w(this.weekdaysShort(r,"")),r=w(this.weekdays(r,"")),i.push(t),o.push(n),s.push(r),a.push(t),a.push(n),a.push(r);i.sort(e),o.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function ot(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),ot("a",!0),ot("A",!1),t("hour","h"),n("hour",13),v("a",st),v("A",st),v("H",b),v("h",b),v("k",b),v("HH",b,y),v("hh",b,y),v("kk",b,y),v("hmm",be),v("hmmss",_e),v("Hmm",be),v("Hmmss",_e),E(["H","HH"],P),E(["k","kk"],function(e,t,n){e=f(e);t[P]=24===e?0:e}),E(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),E(["h","hh"],function(e,t,n){t[P]=f(e),g(n).bigHour=!0}),E("hmm",function(e,t,n){var r=e.length-2;t[P]=f(e.substr(0,r)),t[B]=f(e.substr(r)),g(n).bigHour=!0}),E("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[P]=f(e.substr(0,r)),t[B]=f(e.substr(r,2)),t[O]=f(e.substr(i)),g(n).bigHour=!0}),E("Hmm",function(e,t,n){var r=e.length-2;t[P]=f(e.substr(0,r)),t[B]=f(e.substr(r))}),E("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[P]=f(e.substr(0,r)),t[B]=f(e.substr(r,2)),t[O]=f(e.substr(i))});_=de("Hours",!0);var at,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:He,monthsShort:Le,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},x={},ut={};function ct(e){return e&&e.toLowerCase().replace("_","-")}function ht(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=ct(e[o]).split("-")).length,n=(n=ct(e[o+1]))?n.split("-"):null;0<t;){if(r=dt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}o++}return at}function dt(t){var e;if(void 0===x[t]&&Sr&&Sr.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,xn(),ft(e)}catch(e){x[t]=null}return x[t]}function ft(e,t){return e&&((t=a(t)?A(e):mt(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function mt(e,t){if(null===t)return delete x[e],null;var n,r=lt;if(t.abbr=e,null!=x[e])J("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=x[e]._config;else if(null!=t.parentLocale)if(null!=x[t.parentLocale])r=x[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;r=n._config}return x[e]=new ee(Q(r,t)),ut[e]&&ut[e].forEach(function(e){mt(e.name,e.config)}),ft(e),x[e]}function A(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!s(e)){if(t=dt(e))return t;e=[e]}return ht(e)}function pt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[M]<0||11<t[M]?M:t[k]<1||t[k]>Ce(t[T],t[M])?k:t[P]<0||24<t[P]||24===t[P]&&(0!==t[B]||0!==t[O]||0!==t[xe])?P:t[B]<0||59<t[B]?B:t[O]<0||59<t[O]?O:t[xe]<0||999<t[xe]?xe:-1,g(e)._overflowDayOfYear&&(t<T||k<t)&&(t=k),g(e)._overflowWeeks&&-1===t&&(t=Ae),g(e)._overflowWeekday&&-1===t&&(t=Ne),g(e).overflow=t),e}var gt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,Et=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e){var t,n,r,i,o,s,a=e._i,l=gt.exec(a)||yt.exec(a),a=_t.length,u=vt.length;if(l){for(g(e).iso=!0,t=0,n=a;t<n;t++)if(_t[t][1].exec(l[1])){i=_t[t][0],r=!1!==_t[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=u;t<n;t++)if(vt[t][1].exec(l[3])){o=(l[2]||" ")+vt[t][0];break}if(null==o)return e._isValid=!1}if(!r&&null!=o)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=i+(o||"")+(s||""),Ot(e)}else e._isValid=!1}function Mt(e,t,n,r,i,o){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Le.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&e.push(parseInt(o,10)),e}function kt(e){var t,n,r,i,o=Et.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Mt(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],r=t,i=e,n&&Je.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=o[8],r=o[9],i=o[10],n?St[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Pt(e,t,n){return null!=e?e:null!=t?t:n}function Bt(e){var t,n,r,i,o,s,a,l,u,c,h,d=[];if(!e._d){for(c=e,h=new Date(m.now()),n=c._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[k]&&null==e._a[M]&&(null!=(h=(c=e)._w).GG||null!=h.W||null!=h.E?(s=1,a=4,r=Pt(h.GG,c._a[T],Xe(N(),1,4).year),i=Pt(h.W,1),((o=Pt(h.E,1))<1||7<o)&&(l=!0)):(s=c._locale._week.dow,a=c._locale._week.doy,u=Xe(N(),s,a),r=Pt(h.gg,c._a[T],u.year),i=Pt(h.w,u.week),null!=h.d?((o=h.d)<0||6<o)&&(l=!0):null!=h.e?(o=h.e+s,(h.e<0||6<h.e)&&(l=!0)):o=s),i<1||i>D(r,s,a)?g(c)._overflowWeeks=!0:null!=l?g(c)._overflowWeekday=!0:(u=Ze(r,i,o,s,a),c._a[T]=u.year,c._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(h=Pt(e._a[T],n[T]),(e._dayOfYear>$e(h)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(h,0,e._dayOfYear),e._a[M]=l.getUTCMonth(),e._a[k]=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[P]&&0===e._a[B]&&0===e._a[O]&&0===e._a[xe]&&(e._nextDay=!0,e._a[P]=0),e._d=(e._useUTC?Ve:We).apply(null,d),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[P]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Ot(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r,i=""+e._i,o=i.length,s=0,a=(n=ae(e._f,e._locale).match(ne)||[]).length,l=0;l<a;l++)r=n[l],(t=(i.match(Pe(r,e))||[])[0])&&(0<(h=i.substr(0,i.indexOf(t))).length&&g(e).unusedInput.push(h),i=i.slice(i.indexOf(t)+t.length),s+=t.length),oe[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),h=r,f=e,null!=(d=t)&&p(Oe,h)&&Oe[h](d,f._a,f,h)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=o-s,0<i.length&&g(e).unusedInput.push(i),e._a[P]<=12&&!0===g(e).bigHour&&0<e._a[P]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[P]=(o=e._locale,u=e._a[P],null==(c=e._meridiem)?u:null!=o.meridiemHour?o.meridiemHour(u,c):null!=o.isPM?((o=o.isPM(c))&&u<12&&(u+=12),u=o||12!==u?u:0):u),null!==(c=g(e).era)&&(e._a[T]=e._locale.erasConvertYear(c,e._a[T])),Bt(e),pt(e)}else kt(e);else Tt(e);var u,c,h,d,f}function Dt(e){var t,n=e._i,r=e._f;{var i,o;if(e._locale=e._locale||A(e._l),null===n||void 0===r&&""===n)return j({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new X(pt(n)):(U(n)?e._d=n:s(r)?function(e){var t,n,r,i,o,s,a=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)o=0,s=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ot(t),$(t)&&(s=!0),o=(o+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));G(e,n||t)}(e):r?Ot(e):a(r=(n=e)._i)?n._d=new Date(m.now()):U(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(o=wt.exec(i._i))?(Tt(i),!1===i._isValid&&(delete i._isValid,kt(i),!1===i._isValid&&(delete i._isValid,i._strict?i._isValid=!1:m.createFromInputFallback(i)))):i._d=new Date(+o[1])):s(r)?(n._a=Y(r.slice(0),function(e){return parseInt(e,10)}),Bt(n)):I(r)?(i=n)._d||(t=void 0===(o=ue(i._i)).day?o.date:o.day,i._a=Y([o.year,o.month,t,o.hour,o.minute,o.second,o.millisecond],function(e){return e&&parseInt(e,10)}),Bt(i)):F(r)?n._d=new Date(r):m.createFromInputFallback(n),$(e)||(e._d=null),e)}}function xt(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(I(e)&&R(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(i=new X(pt(Dt(i=o))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function N(e,t,n,r){return xt(e,t,n,r,!1)}m.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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),_e=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function At(e,t){var n,r;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return N();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Nt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ct(e){var e=ue(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,a=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Nt.length;for(t in e)if(p(e,t)&&(-1===S.call(Nt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Nt[n]]){if(r)return!1;parseFloat(e[Nt[n]])!==f(e[Nt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+u+1e3*l+6e4*a+1e3*s*60*60,this._days=+o+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=A(),this._bubble()}function Ht(e){return e instanceof Ct}function Lt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function It(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+n+o(~~e%60,2)})}It("Z",":"),It("ZZ",""),v("Z",ke),v("ZZ",ke),E(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ft(ke,e)});var Rt=/([\+\-]|\d\d)/gi;function Ft(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Rt)||["-",0,0])[1]+f(e[2]))?0:"+"===e[0]?t:-t}function Ut(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||U(e)?e:N(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):N(e).local()}function Yt(e){return-Math.round(e._d.getTimezoneOffset())}function Gt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var $t=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function C(e,t){var n,r,i=e,o=null;return Ht(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:F(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(o=$t.exec(e))?(n="-"===o[1]?-1:1,i={y:0,d:f(o[k])*n,h:f(o[P])*n,m:f(o[B])*n,s:f(o[O])*n,ms:f(Lt(1e3*o[xe]))*n}):(o=jt.exec(e))?(n="-"===o[1]?-1:1,i={y:Wt(o[2],n),M:Wt(o[3],n),w:Wt(o[4],n),d:Wt(o[5],n),h:Wt(o[6],n),m:Wt(o[7],n),s:Wt(o[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=N(i.from),o=N(i.to),n=t.isValid()&&o.isValid()?(o=Ut(o,t),t.isBefore(o)?r=Vt(t,o):((r=Vt(o,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),o=new Ct(i),Ht(e)&&p(e,"_locale")&&(o._locale=e._locale),Ht(e)&&p(e,"_isValid")&&(o._isValid=e._isValid),o}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function zt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(J(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,C(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,o=Lt(t._days),t=Lt(t._months);e.isValid()&&(r=null==r||r,t&&Ue(e,fe(e,"Month")+t*n),o&&me(e,"Date",fe(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&m.updateOffset(e,o||t))}C.fn=Ct.prototype,C.invalid=function(){return C(NaN)};He=zt(1,"add"),Ke=zt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function qt(e){return l(e)||U(e)||Xt(e)||F(e)||(n=s(t=e),r=!1,n&&(r=0===t.filter(function(e){return!F(e)&&Xt(t)}).length),n&&r)||function(e){var t,n,r=I(e)&&!R(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=o.length;for(t=0;t<s;t+=1)n=o[t],i=i||p(e,n);return r&&i}(e)||null==e;var t,n,r}function Kt(e,t){if(e.date()<t.date())return-Kt(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 Jt(e){return void 0===e?this._locale._abbr:(null!=(e=A(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),o=0,s=i.length;o<s;++o)t.push(w(i[o].name)),e.push(w(i[o].abbr)),n.push(w(i[o].narrow)),r.push(w(i[o].name)),r.push(w(i[o].abbr)),r.push(w(i[o].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function an(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var o;return null==e?Xe(this,r,i).year:(t>(o=D(e,r,i))&&(t=o),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),v("N",on),v("NN",on),v("NNN",on),v("NNNN",function(e,t){return t.erasNameRegex(e)}),v("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),E(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),v("y",Se),v("yy",Se),v("yyy",Se),v("yyyy",Se),v("yo",function(e,t){return t._eraYearOrdinalRegex||Se}),E(["y","yy","yyy","yyyy"],T),E(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[T]=n._locale.eraYearOrdinalParse(e,i):t[T]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),an("gggg","weekYear"),an("ggggg","weekYear"),an("GGGG","isoWeekYear"),an("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),v("G",Te),v("g",Te),v("GG",b,y),v("gg",b,y),v("GGGG",we,ge),v("gggg",we,ge),v("GGGGG",Ee,ye),v("ggggg",Ee,ye),De(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=f(e)}),De(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),v("Q",i),E("Q",function(e,t){t[M]=3*(f(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),v("D",b),v("DD",b,y),v("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),E(["D","DD"],k),E("Do",function(e,t){t[k]=f(e.match(b)[0])});we=de("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),v("DDD",ve),v("DDDD",pe),E(["DDD","DDDD"],function(e,t,n){n._dayOfYear=f(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),v("m",b),v("mm",b,y),E(["m","mm"],B);ge=de("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),v("s",b),v("ss",b,y),E(["s","ss"],O);var un,Ee=de("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),v("S",ve,i),v("SS",ve,y),v("SSS",ve,pe),un="SSSS";un.length<=9;un+="S")v(un,Se);function cn(e,t){t[xe]=f(1e3*("0."+e))}for(un="S";un.length<=9;un+="S")E(un,cn);ye=de("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=X.prototype;function hn(e){return e}i.add=He,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=I(e)&&!R(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||N(),n=Ut(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(c(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,N(e)))},i.clone=function(){return new X(this)},i.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Ut(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=h(t)){case"year":o=Kt(this,r)/12;break;case"month":o=Kt(this,r);break;case"quarter":o=Kt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:d(o)},i.endOf=function(e){var t,n;if(void 0===(e=h(e))||"millisecond"===e||!this.isValid())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),m.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=se(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||N(e).isValid())?C({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(N(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||N(e).isValid())?C({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(N(),e)},i.get=function(e){return c(this[e=h(e)])?this[e]():this},i.invalidAt=function(){return g(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:N(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:N(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:N(e),t=l(t)?t:N(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){var e=l(e)?e:N(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return $(this)},i.lang=Qe,i.locale=Jt,i.localeData=Qt,i.max=_e,i.min=be,i.parsingFlags=function(){return G({},g(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:ce[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ue(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(c(this[e=h(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0===(e=h(e))||"millisecond"===e||!this.isValid())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),m.updateOffset(this,!0),this},i.subtract=Ke,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?se(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):c(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",se(t,"Z")):se(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},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()-m(n[r].since).year())*e+n[r].offset;return this.year()},i.year=je,i.isLeapYear=function(){return he(this.year())},i.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Ye,i.daysInMonth=function(){return Ce(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return D(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return D(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return D(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return D(this.isoWeekYear(),1,4)},i.date=we,i.day=i.days=function(e){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=_,i.minute=i.minutes=ge,i.second=i.seconds=Ee,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Yt(this);if("string"==typeof e){if(null===(e=Ft(ke,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Yt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,C(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.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(Yt(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ft(Me,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?N(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=Gt,i.isUTC=Gt,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",we),i.months=e("months accessor is deprecated. Use month instead",Ye),i.years=e("years accessor is deprecated. Use year instead",je),i.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Dt(t))._a?(e=(t._isUTC?u:N)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0,s=0;s<r;s++)(n&&e[s]!==t[s]||!n&&f(e[s])!==f(t[s]))&&o++;return o+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function dn(e,t,n,r){var i=A(),r=u().set(r,t);return i[n](r,e)}function fn(e,t,n){if(F(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 mn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),F(t)&&(n=t,t=void 0),t||"");var i,o=A(),s=e?o._week.dow:0,a=[];if(null!=n)return dn(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=dn(t,(i+s)%7,r,"day");return a}y.calendar=function(e,t,n){return c(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=hn,y.postformat=hn,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return c(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return c(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)p(e,n)&&(c(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var n,r=this._eras||A("en")._eras,i=0,o=r.length;i<o;++i)switch("string"==typeof r[i].since&&(n=m(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=m(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if(0<=[o,s,a].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return p(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Ie.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=u([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))||-1!==(i=S.call(this._longMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))||-1!==(i=S.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ge.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Fe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ge.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?qe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(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"},ft("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===f(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",ft),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",A);var pn=Math.abs;function gn(e,t,n,r){t=C(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 _n(e){return 146097*e/4800}function vn(e){return function(){return this.as(e)}}ve=vn("ms"),pe=vn("s"),He=vn("m"),_e=vn("h"),be=vn("d"),Ke=vn("w"),_=vn("M"),ge=vn("Q"),Ee=vn("y");function wn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=wn("milliseconds"),we=wn("seconds"),je=wn("minutes"),y=wn("hours"),En=wn("days"),Sn=wn("months"),Tn=wn("years");var Mn=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Pn(e,t,n,r){var i=C(e).abs(),o=Mn(i.as("s")),s=Mn(i.as("m")),a=Mn(i.as("h")),l=Mn(i.as("d")),u=Mn(i.as("M")),c=Mn(i.as("w")),i=Mn(i.as("y")),o=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return(o=(o=null!=n.w?o||c<=1&&["w"]||c<n.w&&["ww",c]:o)||u<=1&&["M"]||u<n.M&&["MM",u]||i<=1&&["y"]||["yy",i])[2]=t,o[3]=0<+e,o[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,o)}var Bn=Math.abs;function On(e){return(0<e)-(e<0)||+e}function Dn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,s,a=Bn(this._milliseconds)/1e3,l=Bn(this._days),u=Bn(this._months),c=this.asSeconds();return c?(e=d(a/60),t=d(e/60),a%=60,e%=60,n=d(u/12),u%=12,r=a?a.toFixed(3).replace(/\.?0+$/,""):"",i=On(this._months)!==On(c)?"-":"",o=On(this._days)!==On(c)?"-":"",s=On(this._milliseconds)!==On(c)?"-":"",(c<0?"-":"")+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(l?o+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+r+"S":"")):"P0D"}var H=Ct.prototype;return H.isValid=function(){return this._isValid},H.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},H.add=function(e,t){return gn(this,e,t,1)},H.subtract=function(e,t){return gn(this,e,t,-1)},H.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=h(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(_n(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},H.asMilliseconds=ve,H.asSeconds=pe,H.asMinutes=He,H.asHours=_e,H.asDays=be,H.asWeeks=Ke,H.asMonths=_,H.asQuarters=ge,H.asYears=Ee,H.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},H._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(_n(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(_n(e)),e=d(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},H.clone=function(){return C(this)},H.get=function(e){return e=h(e),this.isValid()?this[e+"s"]():NaN},H.milliseconds=ye,H.seconds=we,H.minutes=je,H.hours=y,H.days=En,H.weeks=function(){return d(this.days()/7)},H.months=Sn,H.years=Tn,H.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=kn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},kn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Pn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},H.toISOString=Dn,H.toString=Dn,H.toJSON=Dn,H.locale=Jt,H.localeData=Qt,H.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),H.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),v("x",Te),v("X",/[+-]?\d+(\.\d{1,3})?/),E("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),E("x",function(e,t,n){n._d=new Date(f(e))}),m.version="2.29.3",L=N,m.fn=i,m.min=function(){return At("isBefore",[].slice.call(arguments,0))},m.max=function(){return At("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=u,m.unix=function(e){return N(1e3*e)},m.months=function(e,t){return fn(e,t,"months")},m.isDate=U,m.locale=ft,m.invalid=j,m.duration=C,m.isMoment=l,m.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},m.parseZone=function(){return N.apply(null,arguments).parseZone()},m.localeData=A,m.isDuration=Ht,m.monthsShort=function(e,t){return fn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=x[e]&&null!=x[e].parentLocale?x[e].set(Q(x[e]._config,t)):(t=Q(r=null!=(n=dt(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=x[e],x[e]=r),ft(e)):null!=x[e]&&(null!=x[e].parentLocale?(x[e]=x[e].parentLocale,e===ft()&&ft(e)):null!=x[e]&&delete x[e]),x[e]},m.locales=function(){return te(x)},m.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},m.normalizeUnits=h,m.relativeTimeRounding=function(e){return void 0===e?Mn:"function"==typeof e&&(Mn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},m.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"},m.prototype=i,m.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"},m}(),Er.exports);function Pr(n){let r,i,o=n[11]&&Dr(n);return{c(){r=N("div"),i=N("div"),o&&o.c(),L(i,"class","CasinoGamePageContainer"),L(i,"part","CasinoGamePageContainer"),P(i,"background","rgba(0, 0, 0, 0.5)"),L(r,"class","GamePageBackground"),P(r,"background",n[14]?"":`url(${n[10].backgroundImageUrl})`),P(r,"background-size","cover")},m(e,t){x(e,r,t),D(r,i),o&&o.m(i,null),n[83](r)},p(e,t){e[11]?o?o.p(e,t):((o=Dr(e)).c(),o.m(i,null)):o&&(o.d(1),o=null),17408&t[0]&&P(r,"background",e[14]?"":`url(${e[10].backgroundImageUrl})`)},d(e){e&&A(r),o&&o.d(),n[83](null)}}}function Br(e){let n;return{c(){(n=N("p")).textContent="500 Error - Internal Server Error.",L(n,"class","SearchLoading"),L(n,"part","SearchLoading")},m(e,t){x(e,n,t)},p:g,d(e){e&&A(n)}}}function Or(e){let n,r,i=e[25]("gamePage.loading")+"";return{c(){n=N("p"),r=C(i),L(n,"class","SearchLoading"),L(n,"part","SearchLoading")},m(e,t){x(e,n,t),D(n,r)},p(e,t){33554432&t[0]&&i!==(i=e[25]("gamePage.loading")+"")&&I(r,i)},d(e){e&&A(n)}}}function Dr(e){let n;function r(e){return e[21]?Cr:e[6]?Nr:e[12]?Ar:xr}let i=r(e),o=i(e);return{c(){o.c(),n=Y()},m(e,t){o.m(e,t),x(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&A(n)}}}function xr(n){let r,i,o,s,a,l,u,c,h,d,f,m,p,g,y,b,_,v,w=n[10].name+"",E=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";return{c(){r=N("div"),i=N("h3"),o=C(w),s=e(),a=N("img"),u=e(),c=N("div"),h=N("button"),d=C(E),f=e(),m=N("button"),p=C(S),g=e(),y=N("p"),b=C(n[4]),O(a.src,l=n[10].thumbnail)||L(a,"src",l),L(a,"class","GameThumbnail"),L(a,"part","GameThumbnail"),L(a,"alt","game thumbnail"),L(a,"loading","lazy"),L(h,"class","LoginButton"),L(h,"part","LoginButton"),L(m,"class","RegisterButton"),L(m,"part","RegisterButton"),L(c,"class","ButtonsContainer"),L(c,"part","ButtonsContainer"),L(r,"class","GameDetails"),L(r,"part","GameDetails")},m(e,t){x(e,r,t),D(r,i),D(i,o),D(r,s),D(r,a),D(r,u),D(r,c),D(c,h),D(h,d),D(c,f),D(c,m),D(m,p),D(r,g),D(r,y),D(y,b),_||(v=[H(h,"click",n[81]),H(m,"click",n[82])],_=!0)},p(e,t){1024&t[0]&&w!==(w=e[10].name+"")&&I(o,w),1024&t[0]&&!O(a.src,l=e[10].thumbnail)&&L(a,"src",l),33554432&t[0]&&E!==(E=e[25]("gamePage.signIn")+"")&&I(d,E),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&I(p,S),16&t[0]&&I(b,e[4])},d(e){e&&A(r),_=!1,B(v)}}}function Ar(n){let r,i,o,s,a,l,u,c,h,d,f,m,p,g,y,b,_,v,w,E=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";function T(e){return e[18]?Lr:Hr}let M=T(n),k=M(n);return{c(){r=N("div"),i=N("div"),o=N("iframe"),a=e(),l=N("div"),u=N("div"),c=N("button"),h=C(E),d=e(),f=N("button"),m=C(S),p=e(),g=N("p"),y=N("span"),b=C(n[4]),_=e(),k.c(),L(o,"title","Games"),L(o,"id","IframeGame"),L(o,"class","GamesContainer"),L(o,"part","GamesContainer"),L(o,"aria-hidden","false"),O(o.src,s=n[10].launchUrl)||L(o,"src",s),L(c,"class","LoginButton"),L(c,"part","LoginButton"),L(f,"class","RegisterButton"),L(f,"part","RegisterButton"),L(u,"class","ButtonsContainer"),L(u,"part","ButtonsContainer"),L(g,"class","Time"),L(g,"part","Time"),L(l,"class","BottomGame"),L(l,"part","BottomGame"),L(i,"id","IframeGame"),L(i,"part","IframeGame"),L(i,"style",n[24]),L(r,"id","IframeContainer"),L(r,"part","IframeContainer"),P(r,"width",n[19]),P(r,"height",n[20]),R(r,"FullsScreenLayout",n[18])},m(e,t){x(e,r,t),D(r,i),D(i,o),n[72](o),D(i,a),D(i,l),D(l,u),D(u,c),D(c,h),D(u,d),D(u,f),D(f,m),D(l,p),D(l,g),D(g,y),D(y,b),n[75](g),D(l,_),k.m(l,null),n[78](l),n[79](i),n[80](r),v||(w=[H(c,"click",n[73]),H(f,"click",n[74])],v=!0)},p(e,t){1024&t[0]&&!O(o.src,s=e[10].launchUrl)&&L(o,"src",s),33554432&t[0]&&E!==(E=e[25]("gamePage.signIn")+"")&&I(h,E),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&I(m,S),16&t[0]&&I(b,e[4]),M===(M=T(e))&&k?k.p(e,t):(k.d(1),(k=M(e))&&(k.c(),k.m(l,null))),16777216&t[0]&&L(i,"style",e[24]),524288&t[0]&&P(r,"width",e[19]),1048576&t[0]&&P(r,"height",e[20]),262144&t[0]&&R(r,"FullsScreenLayout",e[18])},d(e){e&&A(r),n[72](null),n[75](null),k.d(),n[78](null),n[79](null),n[80](null),v=!1,B(w)}}}function Nr(n){let r,i,o,s,a,l,u,c,h,d,f,m,p,g,y,b,_,v,w=n[25]("gamePage.deposit")+"",E="true"===n[1]&&Ir(n);function S(e){return e[18]?Fr:Rr}let T=S(n),M=T(n);return{c(){r=N("div"),i=N("div"),o=N("iframe"),a=e(),l=N("div"),u=N("button"),c=C(w),h=e(),d=N("p"),f=N("span"),m=C(n[4]),p=e(),E&&E.c(),g=e(),M.c(),L(o,"title","Games"),L(o,"id","IframeGame"),L(o,"class","GamesContainer"),L(o,"part","GamesContainer"),L(o,"aria-hidden","false"),O(o.src,s=n[10].launchUrl)||L(o,"src",s),L(u,"class","DepositButton"),L(u,"part","DepositButton"),L(d,"class","Time"),L(d,"part","Time"),L(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),L(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),L(i,"id","IframeGame"),L(i,"part","IframeGame"),L(i,"style",n[24]),L(r,"id","IframeContainer"),L(r,"part","IframeContainer"),P(r,"width",n[19]),P(r,"height",n[20]),R(r,"FullsScreenLayout",n[18])},m(e,t){x(e,r,t),D(r,i),D(i,o),n[63](o),D(i,a),D(i,l),D(l,u),D(u,c),D(l,h),D(l,d),D(d,f),D(f,m),n[65](d),D(l,p),E&&E.m(l,null),D(l,g),M.m(l,null),n[69](l),n[70](i),n[71](r),_||(v=H(u,"click",n[64]),_=!0)},p(e,t){1024&t[0]&&!O(o.src,s=e[10].launchUrl)&&L(o,"src",s),33554432&t[0]&&w!==(w=e[25]("gamePage.deposit")+"")&&I(c,w),16&t[0]&&I(m,e[4]),"true"===e[1]?E?E.p(e,t):((E=Ir(e)).c(),E.m(l,g)):E&&(E.d(1),E=null),T===(T=S(e))&&M?M.p(e,t):(M.d(1),(M=T(e))&&(M.c(),M.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&L(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&L(l,"part",b),16777216&t[0]&&L(i,"style",e[24]),524288&t[0]&&P(r,"width",e[19]),1048576&t[0]&&P(r,"height",e[20]),262144&t[0]&&R(r,"FullsScreenLayout",e[18])},d(e){e&&A(r),n[63](null),n[65](null),E&&E.d(),M.d(),n[69](null),n[70](null),n[71](null),_=!1,v()}}}function Cr(e){let n;function r(e){return e[6]?Gr:e[13]?Yr:Ur}let i=r(e),o=i(e);return{c(){o.c(),n=Y()},m(e,t){o.m(e,t),x(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&A(n)}}}function Hr(n){let r,i,o;return{c(){(r=N("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',L(r,"class","FullscreenButton"),L(r,"part","FullscreenButton")},m(e,t){x(e,r,t),i||(o=H(r,"click",n[77]),i=!0)},p:g,d(e){e&&A(r),i=!1,o()}}}function Lr(n){let r,i,o;return{c(){(r=N("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',L(r,"class","FullscreenButton"),L(r,"part","FullscreenButton")},m(e,t){x(e,r,t),i||(o=H(r,"click",n[76]),i=!0)},p:g,d(e){e&&A(r),i=!1,o()}}}function Ir(n){let r,i,o,s=n[25]("gamePage.breakButton")+"";return{c(){r=N("div"),i=N("button"),o=C(s),L(i,"class","Button"),L(i,"part","Button"),R(i,"PanicButtonAnimation",n[9]),L(r,"class","PanicSection"),L(r,"part","PanicSection")},m(e,t){x(e,r,t),D(r,i),D(i,o),n[66](i)},p(e,t){33554432&t[0]&&s!==(s=e[25]("gamePage.breakButton")+"")&&I(o,s),512&t[0]&&R(i,"PanicButtonAnimation",e[9])},d(e){e&&A(r),n[66](null)}}}function Rr(n){let r,i,o;return{c(){(r=N("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',L(r,"class","FullscreenButton"),L(r,"part","FullscreenButton")},m(e,t){x(e,r,t),i||(o=H(r,"click",n[68]),i=!0)},p:g,d(e){e&&A(r),i=!1,o()}}}function Fr(n){let r,i,o;return{c(){(r=N("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',L(r,"class","FullscreenButton"),L(r,"part","FullscreenButton")},m(e,t){x(e,r,t),i||(o=H(r,"click",n[67]),i=!0)},p:g,d(e){e&&A(r),i=!1,o()}}}function Ur(n){let r,i,o,s,a,l,u,c,h,d,f,m,p,g,y,b,_,v,w=n[10].name+"",E=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";return{c(){r=N("div"),i=N("h3"),o=C(w),s=e(),a=N("img"),u=e(),c=N("div"),h=N("button"),d=C(E),f=e(),m=N("button"),p=C(S),g=e(),y=N("p"),b=C(n[4]),O(a.src,l=n[10].thumbnail)||L(a,"src",l),L(a,"class","GameThumbnail"),L(a,"part","GameThumbnail"),L(a,"alt","game thumbnail"),L(a,"loading","lazy"),L(h,"class","LoginButton"),L(h,"part","LoginButton"),L(m,"class","RegisterButton"),L(m,"part","RegisterButton"),L(c,"class","ButtonsContainer"),L(c,"part","ButtonsContainer"),L(r,"class","GameDetails"),L(r,"part","GameDetails")},m(e,t){x(e,r,t),D(r,i),D(i,o),D(r,s),D(r,a),D(r,u),D(r,c),D(c,h),D(h,d),D(c,f),D(c,m),D(m,p),D(r,g),D(r,y),D(y,b),_||(v=[H(h,"click",n[61]),H(m,"click",n[62])],_=!0)},p(e,t){1024&t[0]&&w!==(w=e[10].name+"")&&I(o,w),1024&t[0]&&!O(a.src,l=e[10].thumbnail)&&L(a,"src",l),33554432&t[0]&&E!==(E=e[25]("gamePage.signIn")+"")&&I(d,E),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&I(p,S),16&t[0]&&I(b,e[4])},d(e){e&&A(r),_=!1,B(v)}}}function Yr(n){let r,i,o,s,a,l,u,c,h,d,f,m,p,g,y,b,_,v,w,E,S,T=n[10].name+"",M=n[25]("gamePage.signIn")+"",k=n[25]("gamePage.register")+"",P=n[25]("gamePage.playForFun")+"";return{c(){r=N("div"),i=N("h3"),o=C(T),s=e(),a=N("img"),u=e(),c=N("div"),h=N("button"),d=C(M),f=e(),m=N("button"),p=C(k),g=e(),y=N("button"),b=C(P),_=e(),v=N("p"),w=C(n[4]),O(a.src,l=n[10].thumbnail)||L(a,"src",l),L(a,"class","GameThumbnail"),L(a,"part","GameThumbnail"),L(a,"alt","game thumbnail"),L(a,"loading","lazy"),L(h,"class","LoginButton"),L(h,"part","LoginButton"),L(m,"class","RegisterButton"),L(m,"part","RegisterButton"),L(y,"class","FullWidthButton"),L(y,"part","FullWidthButton"),L(c,"class","ButtonsContainer"),L(c,"part","ButtonsContainer"),L(r,"class","GameDetails"),L(r,"part","GameDetails")},m(e,t){x(e,r,t),D(r,i),D(i,o),D(r,s),D(r,a),D(r,u),D(r,c),D(c,h),D(h,d),D(c,f),D(c,m),D(m,p),D(c,g),D(c,y),D(y,b),D(r,_),D(r,v),D(v,w),E||(S=[H(h,"click",n[58]),H(m,"click",n[59]),H(y,"click",n[60])],E=!0)},p(e,t){1024&t[0]&&T!==(T=e[10].name+"")&&I(o,T),1024&t[0]&&!O(a.src,l=e[10].thumbnail)&&L(a,"src",l),33554432&t[0]&&M!==(M=e[25]("gamePage.signIn")+"")&&I(d,M),33554432&t[0]&&k!==(k=e[25]("gamePage.register")+"")&&I(p,k),33554432&t[0]&&P!==(P=e[25]("gamePage.playForFun")+"")&&I(b,P),16&t[0]&&I(w,e[4])},d(e){e&&A(r),E=!1,B(S)}}}function Gr(n){let r,i,o,s,a,l,u,c,h,d,f,m,p,g,y,b,_,v,w,E,S=n[10].name+"",T=n[25]("gamePage.deposit")+"",M=n[25]("gamePage.playNow")+"",k="true"==n[0]&&$r(n),P="true"===n[1]&&Vr(n);return{c(){k&&k.c(),r=e(),i=N("div"),o=N("h3"),s=C(S),a=e(),l=N("img"),c=e(),h=N("div"),d=N("button"),f=C(T),m=e(),p=N("button"),g=C(M),y=e(),P&&P.c(),b=e(),_=N("p"),v=C(n[4]),O(l.src,u=n[10].thumbnail)||L(l,"src",u),L(l,"class","GameThumbnail"),L(l,"part","GameThumbnail"),L(l,"alt","game thumbnail"),L(l,"loading","lazy"),L(d,"class","DepositButton"),L(d,"part","DepositButton"),L(p,"class","PlayNowButton"),L(p,"part","PlayNowButton"),L(h,"class","ButtonsContainer"),L(h,"part","ButtonsContainer"),L(i,"class","GameDetails"),L(i,"part","GameDetails")},m(e,t){k&&k.m(e,t),x(e,r,t),x(e,i,t),D(i,o),D(o,s),D(i,a),D(i,l),D(i,c),D(i,h),D(h,d),D(d,f),D(h,m),D(h,p),D(p,g),D(i,y),P&&P.m(i,null),D(i,b),D(i,_),D(_,v),w||(E=[H(d,"click",n[55]),H(p,"click",n[56])],w=!0)},p(e,t){"true"==e[0]?k?k.p(e,t):((k=$r(e)).c(),k.m(r.parentNode,r)):k&&(k.d(1),k=null),1024&t[0]&&S!==(S=e[10].name+"")&&I(s,S),1024&t[0]&&!O(l.src,u=e[10].thumbnail)&&L(l,"src",u),33554432&t[0]&&T!==(T=e[25]("gamePage.deposit")+"")&&I(f,T),33554432&t[0]&&M!==(M=e[25]("gamePage.playNow")+"")&&I(g,M),"true"===e[1]?P?P.p(e,t):((P=Vr(e)).c(),P.m(i,b)):P&&(P.d(1),P=null),16&t[0]&&I(v,e[4])},d(e){k&&k.d(e),e&&A(r),e&&A(i),P&&P.d(),w=!1,B(E)}}}function $r(e){let n;function r(e){return e[10].isFavored?Wr:jr}let i=r(e),o=i(e);return{c(){o.c(),n=Y()},m(e,t){o.m(e,t),x(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&A(n)}}}function jr(n){let r,i,o,s,a,l,u;return{c(){r=N("div"),i=U("svg"),P(o=U("path"),"fill","white"),L(o,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),L(i,"version","1.1"),L(i,"class","UnfavoredIcon"),L(i,"part","UnfavoredIcon"),L(i,"xmlns","http://www.w3.org/2000/svg"),L(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),L(i,"x","20px"),L(i,"y","20px"),L(i,"viewBox","0 0 512.001 512.001"),P(i,"enable-background","new 0 0 512.001 512.001"),L(i,"xml:space","preserve"),L(r,"class",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),L(r,"part",a="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){x(e,r,t),D(r,i),D(i,o),l||(u=H(r,"click",n[54]),l=!0)},p(e,t){2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&L(r,"class",s),2&t[0]&&a!==(a="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&L(r,"part",a)},d(e){e&&A(r),l=!1,u()}}}function Wr(n){let r,i,o,s,a,l,u;return{c(){r=N("div"),i=U("svg"),P(o=U("path"),"fill","white"),L(o,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),L(i,"version","1.1"),L(i,"class","FavoredIcon"),L(i,"part","FavoredIcon"),L(i,"xmlns","http://www.w3.org/2000/svg"),L(i,"viewBox","0 0 19.481 19.481"),L(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),L(i,"enable-background","new 0 0 19.481 19.481"),L(r,"class",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),L(r,"part",a="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){x(e,r,t),D(r,i),D(i,o),l||(u=H(r,"click",n[53]),l=!0)},p(e,t){2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&L(r,"class",s),2&t[0]&&a!==(a="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&L(r,"part",a)},d(e){e&&A(r),l=!1,u()}}}function Vr(n){let r,i,o,e,t,s,a,l=n[25]("gamePage.breakButton")+"";return{c(){r=N("div"),i=N("button"),o=C(l),L(i,"class",e="PanicButton "+("PC"!==br(n[26])?"PanicButtonMobile":"")),L(i,"part",t="PanicButton "+("PC"!==br(n[26])?"PanicButtonMobile":"")),R(i,"PanicButtonAnimation",n[9]),L(r,"class",s="PanicSection "+("PC"!==br(n[26])?"PanicSectionMobile":"")),L(r,"part",a="PanicSection "+("PC"!==br(n[26])?"PanicSectionMobile":""))},m(e,t){x(e,r,t),D(r,i),D(i,o),n[57](i)},p(e,t){33554432&t[0]&&l!==(l=e[25]("gamePage.breakButton")+"")&&I(o,l),512&t[0]&&R(i,"PanicButtonAnimation",e[9])},d(e){e&&A(r),n[57](null)}}}function zr(n){let r;function i(e){return e[8]?Or:e[7]?Br:Pr}let o=i(n),s=o(n);return{c(){r=N("div"),s.c(),this.c=g},m(e,t){x(e,r,t),s.m(r,null),n[84](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},i:g,o:g,d(e){e&&A(r),s.d(),n[84](null)}}}function Zr(t,e,o){let L;var I,R,F=gr;t.$$.on_destroy.push(Ae(F,e=>o(25,L=e)));let U,n,s,r,Y,i,a,l,u,G,$,c,h,j,W,d,f,m,p,{endpoint:g=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:V=""}=e,{clientstyling:_=""}=e,{clientstylingurl:v=""}=e,{translationUrl:w=""}=e,{favorites:z=""}=e,{loginurl:E=""}=e,{registerurl:S=""}=e,{depositurl:T=""}=e,{loginevent:M=""}=e,{registerevent:k=""}=e,{depositevent:Z=""}=e,{clockformat:X=""}=e,{haspanicbutton:q="false"}=e,{playforfun:P="true"}=e,{checksession:K="true"}=e,{integratedgameframedesktop:J="false"}=e,{integratedgameframemobile:Q="false"}=e,{gameid:ee=""}=e,B=!1,te=!1,ne=!0,re=!1,ie=0,O=!1,oe=!1,se=!1,D=!0,x=!1,A=window.navigator.userAgent,ae=!1,le=[],ue=!1,ce="false",he;({withLocale:I,translations:R}={withLocale:"en",translations:{}}),De.subscribe(e=>{null==e&&(Xn.set(R),De.set(I))}),Object.keys(vr).forEach(e=>{_r(e,vr[e])});const de=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),o(8,ne=!1),s&&0<s.length&&(o(6,B=!0),o(8,ne=!1),t.searchParams.append("_sid",s),t.searchParams.append("funMode","false")),e.launchUrl=t,e},fe=(e,t)=>{let n=new URL(g+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),o(14,D=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{o(10,i=de(e[0])),i.launchUrl&&(o(11,O=!0),o(12,oe="true"==P&&i.hasFunMode),o(13,se="true"==P&&i.hasAnonymousFunMode))},e=>{console.error("There was an error",e),o(7,te=!0)}).then(()=>{a&&(D||(o(19,G=i.width),o(20,$=i.height),j=i.width+"px",W=i.height+"px",c=i.width,h=i.height),_e())}),window.postMessage({type:"RequestModalSize"},window.location.href)},me=()=>{null!=r&&r.addEventListener("mousedown",ke,!1),null!=r&&r.addEventListener("touchstart",ke,!1),null!=r&&r.addEventListener("mouseup",Pe,!1),null!=r&&r.addEventListener("touchend",Pe,!1)},pe=()=>{o(9,re=!1),null!=r&&r.removeEventListener("mousedown",ke),null!=r&&r.removeEventListener("touchstart",ke),null!=r&&r.removeEventListener("mouseup",Pe),null!=r&&r.removeEventListener("touchend",Pe)},ge=e=>{switch(e.data.type){case"GameLaunchID":fe(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":o(52,ce="true");break;case"LaunchGameFrame":be(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),o(52,ce="false"),pe(),yr(A)?setTimeout(()=>{o(11,O="true"===Q)},500):setTimeout(()=>{o(11,O="true"===J)},500);break;case"UserSessionID":if(0<e.data.session.length){s=e.data.session,e.data.userID,o(6,B=!0);let t=setInterval(()=>{if(i){let e=new URL(i.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",s),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),o(10,i.launchUrl=e,i),clearInterval(t)}},250)}break;case"ModalSize":o(19,G=e.data.modalContainerSize.modalWidth),o(20,$=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(le=e.data.receivedFavoriteResults.items)}},ye=e=>{var t="gamepage";i.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href),o(10,i.isFavored=!1,i)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href),o(10,i.isFavored=!0,i))},be=(e,r)=>{let t=new URL(g+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;o(10,i=de(e[0])),i.launchUrl&&o(10,i.isFavored=(e=i,t=r,o(13,se="true"==P&&e.hasAnonymousFunMode),o(12,oe="true"==P&&t),o(11,O=!0),n=e.id,-1!==le.findIndex(e=>e.id==n)),i)})},_e=()=>{let e=getComputedStyle(a);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),i.width/(i.height+100));c=parseInt(i.width),h=parseInt(i.height),c=t*n,j=c?Math.floor(c)+"px":"1280px",W=h?Math.floor(h)+"px":"720px",Be()},ve=e=>{if(!ue)return yr(A)?we(Q):we(J);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};Mr("OPEN_GAME",e)},we=e=>{"false"==e?window.open(i.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:i.id},window.location.href)},Ee=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:O},window.location.href),O&&(a&&_e(),window.addEventListener("ModalSize",ge,!1))},N=()=>{M&&(window.postMessage({type:M,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),E&&(window.location=E),"function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},C=()=>{k&&(window.postMessage({type:k,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),S&&(window.location=S),"function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},Se=()=>{Z&&(window.postMessage({type:Z},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&&gtag("event","GoToDeposit",{context:"GamePage"})),T&&(window.location=T)};function Te(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!x||H()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Te,!1),document.addEventListener("mozfullscreenchange",Te,!1),document.addEventListener("fullscreenchange",Te,!1),document.addEventListener("MSFullscreenChange",Te,!1));const H=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(x?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),o(18,x=!1)):(a.requestFullscreen?a.requestFullscreen():a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen&&a.msRequestFullscreen(),o(18,x=!0)))},Me=(setInterval(()=>{o(4,U=X?kr().format(X):kr().format("LTS"))},100),()=>{var r,i;"true"==K?(r=g,i=b,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),Ne(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{s=e.Guid,e.UserID,o(6,B=!0)},e=>{o(6,B=!1),console.error("err on session",e)})):(s=b,o(6,B=!0))}),ke=e=>{ie=0,Y=setInterval(()=>{ie+=1,o(9,re=!0),3<=ie&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Y))},1e3)},Pe=e=>{ie<3&&o(9,re=!1),clearInterval(Y)},Be=()=>{var e=x?"100%":j,t=x?"100%":W,n=x||!D?"none":i.width?Math.floor(i.width)+"px":"1280px",r=x||!D?"none":i.height?Math.floor(i.height)+100+"px":"720px";o(24,he=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),x||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,r=parseInt(getComputedStyle(a).height);p=p||r*Math.max(n,.5),o(15,a.style.height=p+"px",a),o(16,l.style.height=p+"px",l),e&&o(17,u.style.height=a.style.height+"px",u),t.unobserve(a)},{threshold:0}).observe(a)};return F=()=>(window.addEventListener("resize",Ee,!1),window.addEventListener("message",ge,!1),ue=!!Tr(A),()=>{pe(),window.removeEventListener("resize",Ee),window.removeEventListener("message",ge)}),function(){if(xe)return xe;throw new Error("Function called outside component initialization")}().$$.on_mount.push(F),t.$$set=e=>{"endpoint"in e&&o(33,g=e.endpoint),"lang"in e&&o(34,y=e.lang),"session"in e&&o(35,b=e.session),"userid"in e&&o(36,V=e.userid),"clientstyling"in e&&o(37,_=e.clientstyling),"clientstylingurl"in e&&o(38,v=e.clientstylingurl),"translationUrl"in e&&o(39,w=e.translationUrl),"favorites"in e&&o(0,z=e.favorites),"loginurl"in e&&o(40,E=e.loginurl),"registerurl"in e&&o(41,S=e.registerurl),"depositurl"in e&&o(42,T=e.depositurl),"loginevent"in e&&o(43,M=e.loginevent),"registerevent"in e&&o(44,k=e.registerevent),"depositevent"in e&&o(45,Z=e.depositevent),"clockformat"in e&&o(46,X=e.clockformat),"haspanicbutton"in e&&o(1,q=e.haspanicbutton),"playforfun"in e&&o(47,P=e.playforfun),"checksession"in e&&o(48,K=e.checksession),"integratedgameframedesktop"in e&&o(49,J=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(50,Q=e.integratedgameframemobile),"gameid"in e&&o(51,ee=e.gameid)},t.$$.update=()=>{if(8&t.$$.dirty[1]&&y&&(e=y,De.set(e),o(21,ae=yr(A))),1048588&t.$$.dirty[1]&&g&&ee&&y&&fe(ee,!0),52&t.$$.dirty[1]&&b&&V&&g&&Me(),131092&t.$$.dirty[1]&&"false"==K&&b&&g&&Me(),256&t.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{_r(e,t[e])})}).catch(e=>{console.log(e)}),8&t.$$.dirty[0]|64&t.$$.dirty[1]&&_&&d){let e=document.createElement("style");e.innerHTML=_,d.appendChild(e)}if(8&t.$$.dirty[0]|128&t.$$.dirty[1]&&v&&d){let t=document.createElement("style");v&&(e=new URL(v),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,d&&setTimeout(()=>{d.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|2097152&t.$$.dirty[1]&&"true"==ce&&r&&me(),4&t.$$.dirty[0]&&r&&me()},[z,q,r,d,U,n,B,te,ne,re,i,O,oe,se,D,a,l,u,x,G,$,ae,f,m,"",L,A,ye,ve,N,C,Se,H,g,y,b,V,_,v,w,E,S,T,M,k,Z,X,P,K,J,Q,ee,ce,()=>ye(i.id),()=>ye(i.id),()=>Se(),()=>{ve(i)},function(e){Oe[e?"unshift":"push"](()=>{r=e,o(2,r)})},()=>N(),()=>C(),()=>{ve(i)},()=>N(),()=>C(),function(e){Oe[e?"unshift":"push"](()=>{n=e,o(5,n)})},()=>Se(),function(e){Oe[e?"unshift":"push"](()=>{m=e,o(23,m)})},function(e){Oe[e?"unshift":"push"](()=>{r=e,o(2,r)})},()=>H(),()=>H(),function(e){Oe[e?"unshift":"push"](()=>{f=e,o(22,f)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,o(16,l)})},function(e){Oe[e?"unshift":"push"](()=>{a=e,o(15,a)})},function(e){Oe[e?"unshift":"push"](()=>{n=e,o(5,n)})},()=>N(),()=>C(),function(e){Oe[e?"unshift":"push"](()=>{m=e,o(23,m)})},()=>H(),()=>H(),function(e){Oe[e?"unshift":"push"](()=>{f=e,o(22,f)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,o(16,l)})},function(e){Oe[e?"unshift":"push"](()=>{a=e,o(15,a)})},()=>N(),()=>C(),function(e){Oe[e?"unshift":"push"](()=>{u=e,o(17,u)})},function(e){Oe[e?"unshift":"push"](()=>{d=e,o(3,d)})}]}class Xr extends Q{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'}.CasinoGamePageContainer{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>",J(this,{target:this.shadowRoot,props:function(e){const t={};for(const n of e)t[n.name]=n.value;return t}(this.attributes),customElement:!0},Zr,zr,k,{endpoint:33,lang:34,session:35,userid:36,clientstyling:37,clientstylingurl:38,translationUrl:39,favorites:0,loginurl:40,registerurl:41,depositurl:42,loginevent:43,registerevent:44,depositevent:45,clockformat:46,haspanicbutton:1,playforfun:47,checksession:48,integratedgameframedesktop:49,integratedgameframemobile:50,gameid:51},null,[-1,-1,-1,-1]),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),y()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationUrl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$$set({endpoint:e}),y()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),y()}get session(){return this.$$.ctx[35]}set session(e){this.$$set({session:e}),y()}get userid(){return this.$$.ctx[36]}set userid(e){this.$$set({userid:e}),y()}get clientstyling(){return this.$$.ctx[37]}set clientstyling(e){this.$$set({clientstyling:e}),y()}get clientstylingurl(){return this.$$.ctx[38]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),y()}get translationUrl(){return this.$$.ctx[39]}set translationUrl(e){this.$$set({translationUrl:e}),y()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),y()}get loginurl(){return this.$$.ctx[40]}set loginurl(e){this.$$set({loginurl:e}),y()}get registerurl(){return this.$$.ctx[41]}set registerurl(e){this.$$set({registerurl:e}),y()}get depositurl(){return this.$$.ctx[42]}set depositurl(e){this.$$set({depositurl:e}),y()}get loginevent(){return this.$$.ctx[43]}set loginevent(e){this.$$set({loginevent:e}),y()}get registerevent(){return this.$$.ctx[44]}set registerevent(e){this.$$set({registerevent:e}),y()}get depositevent(){return this.$$.ctx[45]}set depositevent(e){this.$$set({depositevent:e}),y()}get clockformat(){return this.$$.ctx[46]}set clockformat(e){this.$$set({clockformat:e}),y()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),y()}get playforfun(){return this.$$.ctx[47]}set playforfun(e){this.$$set({playforfun:e}),y()}get checksession(){return this.$$.ctx[48]}set checksession(e){this.$$set({checksession:e}),y()}get integratedgameframedesktop(){return this.$$.ctx[49]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),y()}get integratedgameframemobile(){return this.$$.ctx[50]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),y()}get gameid(){return this.$$.ctx[51]}set gameid(e){this.$$set({gameid:e}),y()}}return customElements.get("casino-game-page")||customElements.define("casino-game-page",Xr),Xr});
2
2
  //# sourceMappingURL=casino-game-page.js.map