@everymatrix/casino-game-page 1.45.7 → 1.45.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,22 @@
1
+ "use strict";var Yo=Object.defineProperty,Uo=Object.defineProperties;var Go=Object.getOwnPropertyDescriptors;var Hi=Object.getOwnPropertySymbols;var Wo=Object.prototype.hasOwnProperty,jo=Object.prototype.propertyIsEnumerable;var cn=(e,t,r)=>t in e?Yo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Li=(e,t)=>{for(var r in t||(t={}))Wo.call(t,r)&&cn(e,r,t[r]);if(Hi)for(var r of Hi(t))jo.call(t,r)&&cn(e,r,t[r]);return e},Ci=(e,t)=>Uo(e,Go(t));var _e=(e,t,r)=>cn(e,typeof t!="symbol"?t+"":t,r);var dn=(e,t,r)=>new Promise((n,i)=>{var s=l=>{try{o(r.next(l))}catch(u){i(u)}},a=l=>{try{o(r.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,a);o((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function fe(){}function _s(e){return e()}function Ri(){return Object.create(null)}function Pe(e){e.forEach(_s)}function $n(e){return typeof e=="function"}function bs(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let _r;function ve(e,t){return e===t?!0:(_r||(_r=document.createElement("a")),_r.href=t,e===_r.href)}function Vo(e){return Object.keys(e).length===0}function vs(e,...t){if(e==null){for(const n of t)n(void 0);return fe}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function zo(e,t,r){e.$$.on_destroy.push(vs(t,r))}function d(e,t){e.appendChild(t)}function Zo(e,t,r){const n=$o(e);if(!n.getElementById(t)){const i=b("style");i.id=t,i.textContent=r,Xo(n,i)}}function $o(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Xo(e,t){return d(e.head||e,t),t.sheet}function Q(e,t,r){e.insertBefore(t,r||null)}function J(e){e.parentNode&&e.parentNode.removeChild(e)}function b(e){return document.createElement(e)}function Pr(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function q(e){return document.createTextNode(e)}function X(){return q(" ")}function tr(){return q("")}function ue(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function c(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function qo(e){return Array.from(e.childNodes)}function K(e,t){t=""+t,e.data!==t&&(e.data=t)}function me(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function Ke(e,t,r){e.classList.toggle(t,!!r)}function Jo(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let $t;function zt(e){$t=e}function ws(){if(!$t)throw new Error("Function called outside component initialization");return $t}function Qo(e){ws().$$.before_update.push(e)}function Ko(e){ws().$$.on_mount.push(e)}const _t=[],he=[];let wt=[];const Ai=[],el=Promise.resolve();let Mn=!1;function tl(){Mn||(Mn=!0,el.then(ne))}function Tn(e){wt.push(e)}const mn=new Set;let mt=0;function ne(){if(mt!==0)return;const e=$t;do{try{for(;mt<_t.length;){const t=_t[mt];mt++,zt(t),rl(t.$$)}}catch(t){throw _t.length=0,mt=0,t}for(zt(null),_t.length=0,mt=0;he.length;)he.pop()();for(let t=0;t<wt.length;t+=1){const r=wt[t];mn.has(r)||(mn.add(r),r())}wt.length=0}while(_t.length);for(;Ai.length;)Ai.pop()();Mn=!1,mn.clear(),zt(e)}function rl(e){if(e.fragment!==null){e.update(),Pe(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Tn)}}function nl(e){const t=[],r=[];wt.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),wt=t}const il=new Set;function sl(e,t){e&&e.i&&(il.delete(e),e.i(t))}function al(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Tn(()=>{const s=e.$$.on_mount.map(_s).filter($n);e.$$.on_destroy?e.$$.on_destroy.push(...s):Pe(s),e.$$.on_mount=[]}),i.forEach(Tn)}function ol(e,t){const r=e.$$;r.fragment!==null&&(nl(r.after_update),Pe(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function ll(e,t){e.$$.dirty[0]===-1&&(_t.push(e),tl(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ul(e,t,r,n,i,s,a=null,o=[-1]){const l=$t;zt(e);const u=e.$$={fragment:null,ctx:[],props:s,update:fe,not_equal:i,bound:Ri(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Ri(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};a&&a(u.root);let f=!1;if(u.ctx=r?r(e,t.props||{},(m,p,...w)=>{const S=w.length?w[0]:p;return u.ctx&&i(u.ctx[m],u.ctx[m]=S)&&(!u.skip_bound&&u.bound[m]&&u.bound[m](S),f&&ll(e,m)),p}):[],u.update(),f=!0,Pe(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const m=qo(t.target);u.fragment&&u.fragment.l(m),m.forEach(J)}else u.fragment&&u.fragment.c();t.intro&&sl(e.$$.fragment),al(e,t.target,t.anchor),ne()}zt(l)}let Ss;typeof HTMLElement=="function"&&(Ss=class extends HTMLElement{constructor(t,r,n){super();_e(this,"$$ctor");_e(this,"$$s");_e(this,"$$c");_e(this,"$$cn",!1);_e(this,"$$d",{});_e(this,"$$r",!1);_e(this,"$$p_d",{});_e(this,"$$l",{});_e(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return dn(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let a;return{c:function(){a=b("slot"),s!=="default"&&c(a,"name",s)},m:function(u,f){Q(u,a,f)},d:function(u){u&&J(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Jo(this);for(const s of this.$$s)s in n&&(r[s]=[t(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=Er(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Ci(Li({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=Er(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const a of this.$$l[s]){const o=this.$$c.$on(s,a);this.$$l_u.set(a,o)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Er(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Er(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function hl(e,t,r,n,i,s){let a=class extends Ss{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=Er(o,l,t),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),n.forEach(o=>{Object.defineProperty(a.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),e.element=a,a}class fl{constructor(){_e(this,"$$");_e(this,"$$set")}$destroy(){ol(this,1),this.$destroy=fe}$on(t,r){if(!$n(r))return fe;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!Vo(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const cl="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(cl);var On=function(e,t){return On=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},On(e,t)};function Ge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");On(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Y=function(){return Y=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},Y.apply(this,arguments)};function dl(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Dn(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Pn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,s=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(o){a={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function St(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function Ae(e){return typeof e=="function"}function Es(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var pn=Es(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
2
+ `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
3
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function Fn(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ar=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Dn(a),l=o.next();!l.done;l=o.next()){var u=l.value;u.remove(this)}}catch(v){t={error:v}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(Ae(f))try{f()}catch(v){s=v instanceof pn?v.errors:[v]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var p=Dn(m),w=p.next();!w.done;w=p.next()){var S=w.value;try{Bi(S)}catch(v){s=s!=null?s:[],v instanceof pn?s=St(St([],Pn(s)),Pn(v.errors)):s.push(v)}}}catch(v){n={error:v}}finally{try{w&&!w.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}if(s)throw new pn(s)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Bi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Fn(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Fn(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),xs=Ar.EMPTY;function ks(e){return e instanceof Ar||e&&"closed"in e&&Ae(e.remove)&&Ae(e.add)&&Ae(e.unsubscribe)}function Bi(e){Ae(e)?e():e.unsubscribe()}var Ms={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ts={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,St([e,t],Pn(r)))},clearTimeout:function(e){var t=Ts.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ml(e){Ts.setTimeout(function(){throw e})}function Yi(){}function xr(e){e()}var Os=function(e){Ge(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,ks(r)&&r.add(n)):n.destination=_l,n}return t.create=function(r,n,i){return new In(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ar),pl=Function.prototype.bind;function gn(e,t){return pl.call(e,t)}var gl=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){br(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){br(n)}else br(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){br(r)}},e}(),In=function(e){Ge(t,e);function t(r,n,i){var s=e.call(this)||this,a;if(Ae(r)||!r)a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0};else{var o;s&&Ms.useDeprecatedNextContext?(o=Object.create(r),o.unsubscribe=function(){return s.unsubscribe()},a={next:r.next&&gn(r.next,o),error:r.error&&gn(r.error,o),complete:r.complete&&gn(r.complete,o)}):a=r}return s.destination=new gl(a),s}return t}(Os);function br(e){ml(e)}function yl(e){throw e}var _l={closed:!0,next:Yi,error:yl,complete:Yi},bl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function vl(e){return e}function wl(e){return e.length===0?vl:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Ui=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,s=El(t)?t:new In(t,r,n);return xr(function(){var a=i,o=a.operator,l=a.source;s.add(o?o.call(s,l):l?i._subscribe(s):i._trySubscribe(s))}),s},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Gi(r),new r(function(i,s){var a=new In({next:function(o){try{t(o)}catch(l){s(l),a.unsubscribe()}},error:s,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[bl]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return wl(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Gi(t),new t(function(n,i){var s;r.subscribe(function(a){return s=a},function(a){return i(a)},function(){return n(s)})})},e.create=function(t){return new e(t)},e}();function Gi(e){var t;return(t=e!=null?e:Ms.Promise)!==null&&t!==void 0?t:Promise}function Sl(e){return e&&Ae(e.next)&&Ae(e.error)&&Ae(e.complete)}function El(e){return e&&e instanceof Os||Sl(e)&&ks(e)}var xl=Es(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ds=function(e){Ge(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new Wi(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new xl},t.prototype.next=function(r){var n=this;xr(function(){var i,s;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=Dn(n.currentObservers),o=a.next();!o.done;o=a.next()){var l=o.value;l.next(r)}}catch(u){i={error:u}}finally{try{o&&!o.done&&(s=a.return)&&s.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;xr(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;xr(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,s=i.hasError,a=i.isStopped,o=i.observers;return s||a?xs:(this.currentObservers=null,o.push(r),new Ar(function(){n.currentObservers=null,Fn(o,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,s=n.thrownError,a=n.isStopped;i?r.error(s):a&&r.complete()},t.prototype.asObservable=function(){var r=new Ui;return r.source=this,r},t.create=function(r,n){return new Wi(r,n)},t}(Ui),Wi=function(e){Ge(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:xs},t}(Ds),Ps={now:function(){return(Ps.delegate||Date).now()},delegate:void 0},kl=function(e){Ge(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Ps);var s=e.call(this)||this;return s._bufferSize=r,s._windowTime=n,s._timestampProvider=i,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=n===1/0,s._bufferSize=Math.max(1,r),s._windowTime=Math.max(1,n),s}return t.prototype.next=function(r){var n=this,i=n.isStopped,s=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,l=n._windowTime;i||(s.push(r),!a&&s.push(o.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,s=i._infiniteTimeWindow,a=i._buffer,o=a.slice(),l=0;l<o.length&&!r.closed;l+=s?1:2)r.next(o[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,s=r._buffer,a=r._infiniteTimeWindow,o=(a?1:2)*n;if(n<1/0&&o<s.length&&s.splice(0,s.length-o),!a){for(var l=i.now(),u=0,f=1;f<s.length&&s[f]<=l;f+=2)u=f;u&&s.splice(0,u+1)}},t}(Ds);const ji=[],Vi={},Ml=(e,t=0)=>{if(ji.indexOf(e)==-1){const r=new kl(t);Vi[e]=r,ji.push(e)}return Vi[e]},pt=[];function Tl(e,t){return{subscribe:Br(e,t).subscribe}}function Br(e,t=fe){let r;const n=new Set;function i(o){if(bs(e,o)&&(e=o,r)){const l=!pt.length;for(const u of n)u[1](),pt.push(u,e);if(l){for(let u=0;u<pt.length;u+=2)pt[u][0](pt[u+1]);pt.length=0}}}function s(o){i(o(e))}function a(o,l=fe){const u=[o,l];return n.add(u),n.size===1&&(r=t(i,s)||fe),o(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:a}}function Pt(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return Tl(r,(a,o)=>{let l=!1;const u=[];let f=0,m=fe;const p=()=>{if(f)return;m();const S=t(n?u[0]:u,a,o);s?a(S):m=$n(S)?S:fe},w=i.map((S,v)=>vs(S,D=>{u[v]=D,f&=~(1<<v),l&&p()},()=>{f|=1<<v}));return l=!0,p(),function(){Pe(w),m(),l=!1}})}function Ol(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dl=function(t){return Pl(t)&&!Fl(t)};function Pl(e){return!!e&&typeof e=="object"}function Fl(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Hl(e)}var Il=typeof Symbol=="function"&&Symbol.for,Nl=Il?Symbol.for("react.element"):60103;function Hl(e){return e.$$typeof===Nl}function Ll(e){return Array.isArray(e)?[]:{}}function Xt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Mt(Ll(e),e,t):e}function Cl(e,t,r){return e.concat(t).map(function(n){return Xt(n,r)})}function Rl(e,t){if(!t.customMerge)return Mt;var r=t.customMerge(e);return typeof r=="function"?r:Mt}function Al(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function zi(e){return Object.keys(e).concat(Al(e))}function Fs(e,t){try{return t in e}catch(r){return!1}}function Bl(e,t){return Fs(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Yl(e,t,r){var n={};return r.isMergeableObject(e)&&zi(e).forEach(function(i){n[i]=Xt(e[i],r)}),zi(t).forEach(function(i){Bl(e,i)||(Fs(e,i)&&r.isMergeableObject(t[i])?n[i]=Rl(i,r)(e[i],t[i],r):n[i]=Xt(t[i],r))}),n}function Mt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Cl,r.isMergeableObject=r.isMergeableObject||Dl,r.cloneUnlessOtherwiseSpecified=Xt;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):Yl(e,t,r):Xt(t,r)}Mt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Mt(n,i,r)},{})};var Ul=Mt,Gl=Ul;const Wl=Ol(Gl);var C;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(C||(C={}));var ie;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(ie||(ie={}));var Tt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Tt||(Tt={}));function Zi(e){return e.type===ie.literal}function jl(e){return e.type===ie.argument}function Is(e){return e.type===ie.number}function Ns(e){return e.type===ie.date}function Hs(e){return e.type===ie.time}function Ls(e){return e.type===ie.select}function Cs(e){return e.type===ie.plural}function Vl(e){return e.type===ie.pound}function Rs(e){return e.type===ie.tag}function As(e){return!!(e&&typeof e=="object"&&e.type===Tt.number)}function Nn(e){return!!(e&&typeof e=="object"&&e.type===Tt.dateTime)}var Bs=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,zl=/(?:[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;function Zl(e){var t={};return e.replace(zl,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"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":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-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":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<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""}),t}var $l=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Xl(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split($l).filter(function(p){return p.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var o=a[0],l=a.slice(1),u=0,f=l;u<f.length;u++){var m=f[u];if(m.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:l})}return r}function ql(e){return e.replace(/^(.*?)-/,"")}var $i=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ys=/^(@+)?(\+|#+)?[rs]?$/g,Jl=/(\*)(0+)|(#+)(0+)|(0+)/g,Us=/^(0+)$/;function Xi(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ys,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Gs(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 Ql(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Us.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function qi(e){var t={},r=Gs(e);return r||t}function Kl(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=ql(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Y(Y(Y({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return Y(Y({},l),qi(u))},{}));continue;case"engineering":t=Y(Y(Y({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return Y(Y({},l),qi(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Jl,function(l,u,f,m,p,w){if(u)t.minimumIntegerDigits=f.length;else{if(m&&p)throw new Error("We currently do not support maximum integer digits");if(w)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Us.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if($i.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace($i,function(l,u,f,m,p,w){return f==="*"?t.minimumFractionDigits=u.length:m&&m[0]==="#"?t.maximumFractionDigits=m.length:p&&w?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+w.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?t=Y(Y({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=Y(Y({},t),Xi(s)));continue}if(Ys.test(i.stem)){t=Y(Y({},t),Xi(i.stem));continue}var a=Gs(i.stem);a&&(t=Y(Y({},t),a));var o=Ql(i.stem);o&&(t=Y(Y({},t),o))}return t}var vr={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","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"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function eu(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var a=1+(s&1),o=s<2?1:3+(s>>1),l="a",u=tu(t);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=l;for(;a-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function tu(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=vr[n||""]||vr[r||""]||vr["".concat(r,"-001")]||vr["001"];return i[0]}var yn,ru=new RegExp("^".concat(Bs.source,"*")),nu=new RegExp("".concat(Bs.source,"*$"));function R(e,t){return{start:e,end:t}}var iu=!!String.prototype.startsWith&&"_a".startsWith("a",1),su=!!String.fromCodePoint,au=!!Object.fromEntries,ou=!!String.prototype.codePointAt,lu=!!String.prototype.trimStart,uu=!!String.prototype.trimEnd,hu=!!Number.isSafeInteger,fu=hu?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Hn=!0;try{var cu=js("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Hn=((yn=cu.exec("a"))===null||yn===void 0?void 0:yn[0])==="a"}catch(e){Hn=!1}var Ji=iu?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ln=su?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,a;i>s;){if(a=t[s++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},Qi=au?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],a=s[0],o=s[1];r[a]=o}return r},Ws=ou?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},du=lu?function(t){return t.trimStart()}:function(t){return t.replace(ru,"")},mu=uu?function(t){return t.trimEnd()}:function(t){return t.replace(nu,"")};function js(e,t){return new RegExp(e,t)}var Cn;if(Hn){var Ki=js("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Cn=function(t,r){var n;Ki.lastIndex=r;var i=Ki.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Cn=function(t,r){for(var n=[];;){var i=Ws(t,r);if(i===void 0||Vs(i)||_u(i))break;n.push(i),r+=i>=65536?2:1}return Ln.apply(void 0,n)};var pu=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:ie.pound,location:R(o,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(C.UNMATCHED_CLOSING_TAG,R(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&Rn(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ie.literal,value:"<".concat(i,"/>"),location:R(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var a=s.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Rn(this.char()))return this.error(C.INVALID_TAG,R(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(C.UNMATCHED_CLOSING_TAG,R(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ie.tag,value:i,children:a,location:R(n,this.clonePosition())},err:null}:this.error(C.INVALID_TAG,R(o,this.clonePosition())))}else return this.error(C.UNCLOSED_TAG,R(n,this.clonePosition()))}else return this.error(C.INVALID_TAG,R(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&yu(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=R(n,this.clonePosition());return{val:{type:ie.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!gu(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Ln.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Ln(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(C.EMPTY_ARGUMENT,R(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(C.MALFORMED_ARGUMENT,R(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ie.argument,value:i,location:R(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(C.MALFORMED_ARGUMENT,R(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Cn(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),a=R(t,s);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(C.EXPECT_ARGUMENT_TYPE,R(a,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var p=mu(m.val);if(p.length===0)return this.error(C.EXPECT_ARGUMENT_STYLE,R(this.clonePosition(),this.clonePosition()));var w=R(f,this.clonePosition());u={style:p,styleLocation:w}}var S=this.tryParseArgumentClose(i);if(S.err)return S;var v=R(i,this.clonePosition());if(u&&Ji(u==null?void 0:u.style,"::",0)){var D=du(u.style.slice(2));if(o==="number"){var m=this.parseNumberSkeletonFromString(D,u.styleLocation);return m.err?m:{val:{type:ie.number,value:n,location:v,style:m.val},err:null}}else{if(D.length===0)return this.error(C.EXPECT_DATE_TIME_SKELETON,v);var W=D;this.locale&&(W=eu(D,this.locale));var p={type:Tt.dateTime,pattern:W,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Zl(W):{}},L=o==="date"?ie.date:ie.time;return{val:{type:L,value:n,location:v,style:p},err:null}}}return{val:{type:o==="number"?ie.number:o==="date"?ie.date:ie.time,value:n,location:v,style:(s=u==null?void 0:u.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var T=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS,R(T,Y({},T)));this.bumpSpace();var B=this.parseIdentifierIfPossible(),j=0;if(o!=="select"&&B.value==="offset"){if(!this.bumpIf(":"))return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,R(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,C.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),B=this.parseIdentifierIfPossible(),j=m.val}var k=this.tryParsePluralOrSelectOptions(t,o,r,B);if(k.err)return k;var S=this.tryParseArgumentClose(i);if(S.err)return S;var E=R(i,this.clonePosition());return o==="select"?{val:{type:ie.select,value:n,options:Qi(k.val),location:E},err:null}:{val:{type:ie.plural,value:n,options:Qi(k.val),offset:j,pluralType:o==="plural"?"cardinal":"ordinal",location:E},err:null}}default:return this.error(C.INVALID_ARGUMENT_TYPE,R(a,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE,R(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(C.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,R(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Xl(t)}catch(i){return this.error(C.INVALID_NUMBER_SKELETON,r)}return{val:{type:Tt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Kl(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,a=!1,o=[],l=new Set,u=i.value,f=i.location;;){if(u.length===0){var m=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_SELECTOR,C.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;f=R(m,this.clonePosition()),u=this.message.slice(m.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?C.DUPLICATE_SELECT_ARGUMENT_SELECTOR:C.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(a=!0),this.bumpSpace();var w=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?C.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:C.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,R(this.clonePosition(),this.clonePosition()));var S=this.parseMessage(t+1,r,n);if(S.err)return S;var v=this.tryParseArgumentClose(w);if(v.err)return v;o.push([u,{value:S.val,location:R(w,this.clonePosition())}]),l.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,f=s.location}return o.length===0?this.error(r==="select"?C.EXPECT_SELECT_ARGUMENT_SELECTOR:C.EXPECT_PLURAL_ARGUMENT_SELECTOR,R(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(C.MISSING_OTHER_CLAUSE,R(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)s=!0,a=a*10+(o-48),this.bump();else break}var l=R(i,this.clonePosition());return s?(a*=n,fu(a)?{val:a,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Ws(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ji(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Vs(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Rn(e){return e>=97&&e<=122||e>=65&&e<=90}function gu(e){return Rn(e)||e===47}function yu(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Vs(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function _u(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function An(e){e.forEach(function(t){if(delete t.location,Ls(t)||Cs(t))for(var r in t.options)delete t.options[r].location,An(t.options[r].value);else Is(t)&&As(t.style)||(Ns(t)||Hs(t))&&Nn(t.style)?delete t.style.location:Rs(t)&&An(t.children)})}function bu(e,t){t===void 0&&(t={}),t=Y({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new pu(e,t).parse();if(r.err){var n=SyntaxError(C[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||An(r.val),r.val}function _n(e,t){var r=t&&t.cache?t.cache:ku,n=t&&t.serializer?t.serializer:xu,i=t&&t.strategy?t.strategy:wu;return i(e,{cache:r,serializer:n})}function vu(e){return e==null||typeof e=="number"||typeof e=="boolean"}function zs(e,t,r,n){var i=vu(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function Zs(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,n),t.set(i,s)),s}function Xn(e,t,r,n,i){return r.bind(t,e,n,i)}function wu(e,t){var r=e.length===1?zs:Zs;return Xn(e,this,r,t.cache.create(),t.serializer)}function Su(e,t){return Xn(e,this,Zs,t.cache.create(),t.serializer)}function Eu(e,t){return Xn(e,this,zs,t.cache.create(),t.serializer)}var xu=function(){return JSON.stringify(arguments)};function qn(){this.cache=Object.create(null)}qn.prototype.get=function(e){return this.cache[e]};qn.prototype.set=function(e,t){this.cache[e]=t};var ku={create:function(){return new qn}},bn={variadic:Su,monadic:Eu},Ot;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ot||(Ot={}));var Yr=function(e){Ge(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),es=function(e){Ge(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Ot.INVALID_VALUE,s)||this}return t}(Yr),Mu=function(e){Ge(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Ot.INVALID_VALUE,i)||this}return t}(Yr),Tu=function(e){Ge(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Ot.MISSING_VALUE,n)||this}return t}(Yr),de;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(de||(de={}));function Ou(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==de.literal||r.type!==de.literal?t.push(r):n.value+=r.value,t},[])}function Du(e){return typeof e=="function"}function kr(e,t,r,n,i,s,a){if(e.length===1&&Zi(e[0]))return[{type:de.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var f=u[l];if(Zi(f)){o.push({type:de.literal,value:f.value});continue}if(Vl(f)){typeof s=="number"&&o.push({type:de.literal,value:r.getNumberFormat(t).format(s)});continue}var m=f.value;if(!(i&&m in i))throw new Tu(m,a);var p=i[m];if(jl(f)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),o.push({type:typeof p=="string"?de.literal:de.object,value:p});continue}if(Ns(f)){var w=typeof f.style=="string"?n.date[f.style]:Nn(f.style)?f.style.parsedOptions:void 0;o.push({type:de.literal,value:r.getDateTimeFormat(t,w).format(p)});continue}if(Hs(f)){var w=typeof f.style=="string"?n.time[f.style]:Nn(f.style)?f.style.parsedOptions:n.time.medium;o.push({type:de.literal,value:r.getDateTimeFormat(t,w).format(p)});continue}if(Is(f)){var w=typeof f.style=="string"?n.number[f.style]:As(f.style)?f.style.parsedOptions:void 0;w&&w.scale&&(p=p*(w.scale||1)),o.push({type:de.literal,value:r.getNumberFormat(t,w).format(p)});continue}if(Rs(f)){var S=f.children,v=f.value,D=i[v];if(!Du(D))throw new Mu(v,"function",a);var W=kr(S,t,r,n,i,s),L=D(W.map(function(j){return j.value}));Array.isArray(L)||(L=[L]),o.push.apply(o,L.map(function(j){return{type:typeof j=="string"?de.literal:de.object,value:j}}))}if(Ls(f)){var T=f.options[p]||f.options.other;if(!T)throw new es(f.value,p,Object.keys(f.options),a);o.push.apply(o,kr(T.value,t,r,n,i));continue}if(Cs(f)){var T=f.options["=".concat(p)];if(!T){if(!Intl.PluralRules)throw new Yr(`Intl.PluralRules is not available in this environment.
4
+ Try polyfilling it using "@formatjs/intl-pluralrules"
5
+ `,Ot.MISSING_INTL_API,a);var B=r.getPluralRules(t,{type:f.pluralType}).select(p-(f.offset||0));T=f.options[B]||f.options.other}if(!T)throw new es(f.value,p,Object.keys(f.options),a);o.push.apply(o,kr(T.value,t,r,n,i,p-(f.offset||0)));continue}}return Ou(o)}function Pu(e,t){return t?Y(Y(Y({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=Y(Y({},e[n]),t[n]||{}),r},{})):e}function Fu(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Pu(e[n],t[n]),r},Y({},e)):e}function vn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Iu(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:_n(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,St([void 0],r,!1)))},{cache:vn(e.number),strategy:bn.variadic}),getDateTimeFormat:_n(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,St([void 0],r,!1)))},{cache:vn(e.dateTime),strategy:bn.variadic}),getPluralRules:_n(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,St([void 0],r,!1)))},{cache:vn(e.pluralRules),strategy:bn.variadic})}}var Nu=function(){function e(t,r,n,i){var s=this;if(r===void 0&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var f=u.reduce(function(m,p){return!m.length||p.type!==de.literal||typeof m[m.length-1]!="string"?m.push(p.value):m[m.length-1]+=p.value,m},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(l){return kr(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var o=dl(a,["formatters"]);this.ast=e.__parse(t,Y(Y({},o),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Fu(e.formats,n),this.formatters=i&&i.formatters||Iu(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=bu,e.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"}}},e}();function Hu(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const Xe={},Lu=(e,t,r)=>r&&(t in Xe||(Xe[t]={}),e in Xe[t]||(Xe[t][e]=r),r),$s=(e,t)=>{if(t==null)return;if(t in Xe&&e in Xe[t])return Xe[t][e];const r=Ur(t);for(let n=0;n<r.length;n++){const i=r[n],s=Ru(i,e);if(s)return Lu(e,t,s)}};let Jn;const Ft=Br({});function Cu(e){return Jn[e]||null}function Xs(e){return e in Jn}function Ru(e,t){if(!Xs(e))return null;const r=Cu(e);return Hu(r,t)}function Au(e){if(e==null)return;const t=Ur(e);for(let r=0;r<t.length;r++){const n=t[r];if(Xs(n))return n}}function qs(e,...t){delete Xe[e],Ft.update(r=>(r[e]=Wl.all([r[e]||{},...t]),r))}Pt([Ft],([e])=>Object.keys(e));Ft.subscribe(e=>Jn=e);const Mr={};function Bu(e,t){Mr[e].delete(t),Mr[e].size===0&&delete Mr[e]}function Js(e){return Mr[e]}function Yu(e){return Ur(e).map(t=>{const r=Js(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Bn(e){return e==null?!1:Ur(e).some(t=>{var r;return(r=Js(t))==null?void 0:r.size})}function Uu(e,t){return Promise.all(t.map(n=>(Bu(e,n),n().then(i=>i.default||i)))).then(n=>qs(e,...n))}const Wt={};function Qs(e){if(!Bn(e))return e in Wt?Wt[e]:Promise.resolve();const t=Yu(e);return Wt[e]=Promise.all(t.map(([r,n])=>Uu(r,n))).then(()=>{if(Bn(e))return Qs(e);delete Wt[e]}),Wt[e]}const Gu={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"}}},Wu={fallbackLocale:null,loadingDelay:200,formats:Gu,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ju=Wu;function Dt(){return ju}const wn=Br(!1);var Vu=Object.defineProperty,zu=Object.defineProperties,Zu=Object.getOwnPropertyDescriptors,ts=Object.getOwnPropertySymbols,$u=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable,rs=(e,t,r)=>t in e?Vu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,qu=(e,t)=>{for(var r in t||(t={}))$u.call(t,r)&&rs(e,r,t[r]);if(ts)for(var r of ts(t))Xu.call(t,r)&&rs(e,r,t[r]);return e},Ju=(e,t)=>zu(e,Zu(t));let Yn;const Fr=Br(null);function ns(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Ur(e,t=Dt().fallbackLocale){const r=ns(e);return t?[...new Set([...r,...ns(t)])]:r}function ht(){return Yn!=null?Yn:void 0}Fr.subscribe(e=>{Yn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Qu=e=>{if(e&&Au(e)&&Bn(e)){const{loadingDelay:t}=Dt();let r;return typeof window!="undefined"&&ht()!=null&&t?r=window.setTimeout(()=>wn.set(!0),t):wn.set(!0),Qs(e).then(()=>{Fr.set(e)}).finally(()=>{clearTimeout(r),wn.set(!1)})}return Fr.set(e)},et=Ju(qu({},Fr),{set:Qu}),Gr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Ku=Object.defineProperty,Ir=Object.getOwnPropertySymbols,Ks=Object.prototype.hasOwnProperty,ea=Object.prototype.propertyIsEnumerable,is=(e,t,r)=>t in e?Ku(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Qn=(e,t)=>{for(var r in t||(t={}))Ks.call(t,r)&&is(e,r,t[r]);if(Ir)for(var r of Ir(t))ea.call(t,r)&&is(e,r,t[r]);return e},It=(e,t)=>{var r={};for(var n in e)Ks.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ir)for(var n of Ir(e))t.indexOf(n)<0&&ea.call(e,n)&&(r[n]=e[n]);return r};const qt=(e,t)=>{const{formats:r}=Dt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},eh=Gr(e=>{var t=e,{locale:r,format:n}=t,i=It(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=qt("number",n)),new Intl.NumberFormat(r,i)}),th=Gr(e=>{var t=e,{locale:r,format:n}=t,i=It(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=qt("date",n):Object.keys(i).length===0&&(i=qt("date","short")),new Intl.DateTimeFormat(r,i)}),rh=Gr(e=>{var t=e,{locale:r,format:n}=t,i=It(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=qt("time",n):Object.keys(i).length===0&&(i=qt("time","short")),new Intl.DateTimeFormat(r,i)}),nh=(e={})=>{var t=e,{locale:r=ht()}=t,n=It(t,["locale"]);return eh(Qn({locale:r},n))},ih=(e={})=>{var t=e,{locale:r=ht()}=t,n=It(t,["locale"]);return th(Qn({locale:r},n))},sh=(e={})=>{var t=e,{locale:r=ht()}=t,n=It(t,["locale"]);return rh(Qn({locale:r},n))},ah=Gr((e,t=ht())=>new Nu(e,t,Dt().formats,{ignoreTag:Dt().ignoreTag})),oh=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=ht(),default:u}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=$s(e,l);if(!f)f=(s=(i=(n=(r=Dt()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!o)return f;let m=f;try{m=ah(f,l).format(o)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return m},lh=(e,t)=>sh(t).format(e),uh=(e,t)=>ih(t).format(e),hh=(e,t)=>nh(t).format(e),fh=(e,t=ht())=>$s(e,t),ch=Pt([et,Ft],()=>oh);Pt([et],()=>lh);Pt([et],()=>uh);Pt([et],()=>hh);Pt([et,Ft],()=>fh);window.emWidgets={topic:Ml};const gt=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)),ss=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function dh(e,t){return new Promise((r,n)=>{const i=new Headers;i.append("X-SessionID",t);const s={method:"GET",headers:i};fetch(`${e}/v1/player/session/player`,s).then(a=>a.json()).then(a=>r(a)).catch(a=>n(a))})}function mh({withLocale:e,translations:t}){et.subscribe(r=>{r==null&&(Ft.set(t),et.set(e))})}function as(e,t){qs(e,t)}function ph(e){et.set(e)}const os={en:{signIn:"LOGIN",register:"REGISTER",deposit:"DEPOSIT",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."},"zh-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",loading:"Es lädt, bitte warten..."},it:{signIn:"LOGIN",register:"REGISTRATI",deposit:"DEPOSITO",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off",loading:"Loading, please wait..."},fr:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter..."},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",loading:"Cargando por favor espere ..."},tr:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun",loading:"Yükleniyor, lütfen bekleyin..."},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off",loading:"Loading, please wait..."},ro:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off",loading:"Se incarca, te rugam asteapta…"},hr:{signIn:"PRIJAVA",register:"REGISTRACIJA",deposit:"UPLATA",playForFun:"Igraj za zabavu",playNow:"Igraj",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",loading:"Učitavanje"},hu:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Betöltés, kérjük várjon..."},pl:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."},pt:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo",loading:"Carregando, por favor espere ..."},sl:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."},sr:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."},"pt-br":{signIn:"ENTRAR",register:"REGISTRO",deposit:"DEPÓSITO",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Pressione o botão por 3 segundos para uma pausa de 24 horas",Loading:"Carregando, por favor espere..."},"es-mx":{signIn:"INGRESAR",register:"REGISTRO",deposit:"DEPÓSITO",playForFun:"Jugar Por Diversión",playNow:"Comenzar ahora!",breakButton:"Presionar botón 3 segundos para un bloqueo de 24 horas",Loading:"Cargando, por favor espere..."}};function gh(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
6
+ //! version : 2.30.1
7
+ //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
8
+ //! license : MIT
9
+ //! momentjs.com
10
+ var ta;function y(){return ta.apply(null,arguments)}function yh(e){ta=e}function xe(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function ut(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function U(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Kn(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(U(e,t))return!1;return!0}function pe(e){return e===void 0}function Ue(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function rr(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function ra(e,t){var r=[],n,i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function qe(e,t){for(var r in t)U(t,r)&&(e[r]=t[r]);return U(t,"toString")&&(e.toString=t.toString),U(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Fe(e,t,r,n){return ka(e,t,r,n,!0).utc()}function _h(){return{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}}function F(e){return e._pf==null&&(e._pf=_h()),e._pf}var Un;Array.prototype.some?Un=Array.prototype.some:Un=function(e){var t=Object(this),r=t.length>>>0,n;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function ei(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());if(n&&(t=F(e),r=Un.call(t.parsedDateParts,function(i){return i!=null}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n;return e._isValid}function Wr(e){var t=Fe(NaN);return e!=null?qe(F(t),e):F(t).userInvalidated=!0,t}var ls=y.momentProperties=[],Sn=!1;function ti(e,t){var r,n,i,s=ls.length;if(pe(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),pe(t._i)||(e._i=t._i),pe(t._f)||(e._f=t._f),pe(t._l)||(e._l=t._l),pe(t._strict)||(e._strict=t._strict),pe(t._tzm)||(e._tzm=t._tzm),pe(t._isUTC)||(e._isUTC=t._isUTC),pe(t._offset)||(e._offset=t._offset),pe(t._pf)||(e._pf=F(t)),pe(t._locale)||(e._locale=t._locale),s>0)for(r=0;r<s;r++)n=ls[r],i=t[n],pe(i)||(e[n]=i);return e}function nr(e){ti(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Sn===!1&&(Sn=!0,y.updateOffset(this),Sn=!1)}function ke(e){return e instanceof nr||e!=null&&e._isAMomentObject!=null}function na(e){y.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function we(e,t){var r=!0;return qe(function(){if(y.deprecationHandler!=null&&y.deprecationHandler(null,e),r){var n=[],i,s,a,o=arguments.length;for(s=0;s<o;s++){if(i="",typeof arguments[s]=="object"){i+=`
11
+ [`+s+"] ";for(a in arguments[0])U(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[s];n.push(i)}na(e+`
12
+ Arguments: `+Array.prototype.slice.call(n).join("")+`
13
+ `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var us={};function ia(e,t){y.deprecationHandler!=null&&y.deprecationHandler(e,t),us[e]||(na(t),us[e]=!0)}y.suppressDeprecationWarnings=!1;y.deprecationHandler=null;function Ie(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function bh(e){var t,r;for(r in e)U(e,r)&&(t=e[r],Ie(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Gn(e,t){var r=qe({},e),n;for(n in t)U(t,n)&&(ut(e[n])&&ut(t[n])?(r[n]={},qe(r[n],e[n]),qe(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)U(e,n)&&!U(t,n)&&ut(e[n])&&(r[n]=qe({},r[n]));return r}function ri(e){e!=null&&this.set(e)}var Wn;Object.keys?Wn=Object.keys:Wn=function(e){var t,r=[];for(t in e)U(e,t)&&r.push(t);return r};var vh={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function wh(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return Ie(n)?n.call(t,r):n}function De(e,t,r){var n=""+Math.abs(e),i=t-n.length,s=e>=0;return(s?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var ni=/(\[[^\[]*\])|(\\)?([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,wr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,En={},Et={};function x(e,t,r,n){var i=n;typeof n=="string"&&(i=function(){return this[n]()}),e&&(Et[e]=i),t&&(Et[t[0]]=function(){return De(i.apply(this,arguments),t[1],t[2])}),r&&(Et[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Sh(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Eh(e){var t=e.match(ni),r,n;for(r=0,n=t.length;r<n;r++)Et[t[r]]?t[r]=Et[t[r]]:t[r]=Sh(t[r]);return function(i){var s="",a;for(a=0;a<n;a++)s+=Ie(t[a])?t[a].call(i,e):t[a];return s}}function Tr(e,t){return e.isValid()?(t=sa(t,e.localeData()),En[t]=En[t]||Eh(t),En[t](e)):e.localeData().invalidDate()}function sa(e,t){var r=5;function n(i){return t.longDateFormat(i)||i}for(wr.lastIndex=0;r>=0&&wr.test(e);)e=e.replace(wr,n),wr.lastIndex=0,r-=1;return e}var xh={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"};function kh(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(ni).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var Mh="Invalid date";function Th(){return this._invalidDate}var Oh="%d",Dh=/\d{1,2}/;function Ph(e){return this._ordinal.replace("%d",e)}var Fh={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"};function Ih(e,t,r,n){var i=this._relativeTime[r];return Ie(i)?i(e,t,r,n):i.replace(/%d/i,e)}function Nh(e,t){var r=this._relativeTime[e>0?"future":"past"];return Ie(r)?r(t):r.replace(/%s/i,t)}var hs={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Se(e){return typeof e=="string"?hs[e]||hs[e.toLowerCase()]:void 0}function ii(e){var t={},r,n;for(n in e)U(e,n)&&(r=Se(n),r&&(t[r]=e[n]));return t}var Hh={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Lh(e){var t=[],r;for(r in e)U(e,r)&&t.push({unit:r,priority:Hh[r]});return t.sort(function(n,i){return n.priority-i.priority}),t}var aa=/\d/,ge=/\d\d/,oa=/\d{3}/,si=/\d{4}/,jr=/[+-]?\d{6}/,te=/\d\d?/,la=/\d\d\d\d?/,ua=/\d\d\d\d\d\d?/,Vr=/\d{1,3}/,ai=/\d{1,4}/,zr=/[+-]?\d{1,6}/,Nt=/\d+/,Zr=/[+-]?\d+/,Ch=/Z|[+-]\d\d:?\d\d/gi,$r=/Z|[+-]\d\d(?::?\d\d)?/gi,Rh=/[+-]?\d+(\.\d{1,3})?/,ir=/[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,Ht=/^[1-9]\d?/,oi=/^([1-9]\d|\d)/,Nr;Nr={};function _(e,t,r){Nr[e]=Ie(t)?t:function(n,i){return n&&r?r:t}}function Ah(e,t){return U(Nr,e)?Nr[e](t._strict,t._locale):new RegExp(Bh(e))}function Bh(e){return Be(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,i,s){return r||n||i||s}))}function Be(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function be(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function H(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=be(t)),r}var jn={};function Z(e,t){var r,n=t,i;for(typeof e=="string"&&(e=[e]),Ue(t)&&(n=function(s,a){a[t]=H(s)}),i=e.length,r=0;r<i;r++)jn[e[r]]=n}function sr(e,t){Z(e,function(r,n,i,s){i._w=i._w||{},t(r,i._w,i,s)})}function Yh(e,t,r){t!=null&&U(jn,e)&&jn[e](t,r._a,r,e)}function Xr(e){return e%4===0&&e%100!==0||e%400===0}var ce=0,Ce=1,Oe=2,le=3,Ee=4,Re=5,lt=6,Uh=7,Gh=8;x("Y",0,0,function(){var e=this.year();return e<=9999?De(e,4):"+"+e});x(0,["YY",2],0,function(){return this.year()%100});x(0,["YYYY",4],0,"year");x(0,["YYYYY",5],0,"year");x(0,["YYYYYY",6,!0],0,"year");_("Y",Zr);_("YY",te,ge);_("YYYY",ai,si);_("YYYYY",zr,jr);_("YYYYYY",zr,jr);Z(["YYYYY","YYYYYY"],ce);Z("YYYY",function(e,t){t[ce]=e.length===2?y.parseTwoDigitYear(e):H(e)});Z("YY",function(e,t){t[ce]=y.parseTwoDigitYear(e)});Z("Y",function(e,t){t[ce]=parseInt(e,10)});function Zt(e){return Xr(e)?366:365}y.parseTwoDigitYear=function(e){return H(e)+(H(e)>68?1900:2e3)};var ha=Lt("FullYear",!0);function Wh(){return Xr(this.year())}function Lt(e,t){return function(r){return r!=null?(fa(this,e,r),y.updateOffset(this,t),this):Jt(this,e)}}function Jt(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function fa(e,t,r){var n,i,s,a,o;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}s=r,a=e.month(),o=e.date(),o=o===29&&a===1&&!Xr(s)?28:o,i?n.setUTCFullYear(s,a,o):n.setFullYear(s,a,o)}}function jh(e){return e=Se(e),Ie(this[e])?this[e]():this}function Vh(e,t){if(typeof e=="object"){e=ii(e);var r=Lh(e),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=Se(e),Ie(this[e]))return this[e](t);return this}function zh(e,t){return(e%t+t)%t}var oe;Array.prototype.indexOf?oe=Array.prototype.indexOf:oe=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function li(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=zh(t,12);return e+=(t-r)/12,r===1?Xr(e)?29:28:31-r%7%2}x("M",["MM",2],"Mo",function(){return this.month()+1});x("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});x("MMMM",0,0,function(e){return this.localeData().months(this,e)});_("M",te,Ht);_("MM",te,ge);_("MMM",function(e,t){return t.monthsShortRegex(e)});_("MMMM",function(e,t){return t.monthsRegex(e)});Z(["M","MM"],function(e,t){t[Ce]=H(e)-1});Z(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);i!=null?t[Ce]=i:F(r).invalidMonth=e});var Zh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ca="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),da=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,$h=ir,Xh=ir;function qh(e,t){return e?xe(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||da).test(t)?"format":"standalone"][e.month()]:xe(this._months)?this._months:this._months.standalone}function Jh(e,t){return e?xe(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[da.test(t)?"format":"standalone"][e.month()]:xe(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Qh(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=Fe([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return r?t==="MMM"?(i=oe.call(this._shortMonthsParse,a),i!==-1?i:null):(i=oe.call(this._longMonthsParse,a),i!==-1?i:null):t==="MMM"?(i=oe.call(this._shortMonthsParse,a),i!==-1?i:(i=oe.call(this._longMonthsParse,a),i!==-1?i:null)):(i=oe.call(this._longMonthsParse,a),i!==-1?i:(i=oe.call(this._shortMonthsParse,a),i!==-1?i:null))}function Kh(e,t,r){var n,i,s;if(this._monthsParseExact)return Qh.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=Fe([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function ma(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=H(t);else if(t=e.localeData().monthsParse(t),!Ue(t))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,li(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function pa(e){return e!=null?(ma(this,e),y.updateOffset(this,!0),this):Jt(this,"Month")}function ef(){return li(this.year(),this.month())}function tf(e){return this._monthsParseExact?(U(this,"_monthsRegex")||ga.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(U(this,"_monthsShortRegex")||(this._monthsShortRegex=$h),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function rf(e){return this._monthsParseExact?(U(this,"_monthsRegex")||ga.call(this),e?this._monthsStrictRegex:this._monthsRegex):(U(this,"_monthsRegex")||(this._monthsRegex=Xh),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ga(){function e(l,u){return u.length-l.length}var t=[],r=[],n=[],i,s,a,o;for(i=0;i<12;i++)s=Fe([2e3,i]),a=Be(this.monthsShort(s,"")),o=Be(this.months(s,"")),t.push(a),r.push(o),n.push(o),n.push(a);t.sort(e),r.sort(e),n.sort(e),this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function nf(e,t,r,n,i,s,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,r,n,i,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,s,a),o}function Qt(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Hr(e,t,r){var n=7+t-r,i=(7+Qt(e,0,n).getUTCDay()-t)%7;return-i+n-1}function ya(e,t,r,n,i){var s=(7+r-n)%7,a=Hr(e,n,i),o=1+7*(t-1)+s+a,l,u;return o<=0?(l=e-1,u=Zt(l)+o):o>Zt(e)?(l=e+1,u=o-Zt(e)):(l=e,u=o),{year:l,dayOfYear:u}}function Kt(e,t,r){var n=Hr(e.year(),t,r),i=Math.floor((e.dayOfYear()-n-1)/7)+1,s,a;return i<1?(a=e.year()-1,s=i+Ye(a,t,r)):i>Ye(e.year(),t,r)?(s=i-Ye(e.year(),t,r),a=e.year()+1):(a=e.year(),s=i),{week:s,year:a}}function Ye(e,t,r){var n=Hr(e,t,r),i=Hr(e+1,t,r);return(Zt(e)-n+i)/7}x("w",["ww",2],"wo","week");x("W",["WW",2],"Wo","isoWeek");_("w",te,Ht);_("ww",te,ge);_("W",te,Ht);_("WW",te,ge);sr(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=H(e)});function sf(e){return Kt(e,this._week.dow,this._week.doy).week}var af={dow:0,doy:6};function of(){return this._week.dow}function lf(){return this._week.doy}function uf(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function hf(e){var t=Kt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}x("d",0,"do","day");x("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});x("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});x("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});x("e",0,0,"weekday");x("E",0,0,"isoWeekday");_("d",te);_("e",te);_("E",te);_("dd",function(e,t){return t.weekdaysMinRegex(e)});_("ddd",function(e,t){return t.weekdaysShortRegex(e)});_("dddd",function(e,t){return t.weekdaysRegex(e)});sr(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);i!=null?t.d=i:F(r).invalidWeekday=e});sr(["d","e","E"],function(e,t,r,n){t[n]=H(e)});function ff(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function cf(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ui(e,t){return e.slice(t,7).concat(e.slice(0,t))}var df="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_a="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),mf="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),pf=ir,gf=ir,yf=ir;function _f(e,t){var r=xe(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ui(r,this._week.dow):e?r[e.day()]:r}function bf(e){return e===!0?ui(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function vf(e){return e===!0?ui(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function wf(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=Fe([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return r?t==="dddd"?(i=oe.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=oe.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=oe.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=oe.call(this._weekdaysParse,a),i!==-1||(i=oe.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=oe.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=oe.call(this._shortWeekdaysParse,a),i!==-1||(i=oe.call(this._weekdaysParse,a),i!==-1)?i:(i=oe.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=oe.call(this._minWeekdaysParse,a),i!==-1||(i=oe.call(this._weekdaysParse,a),i!==-1)?i:(i=oe.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function Sf(e,t,r){var n,i,s;if(this._weekdaysParseExact)return wf.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=Fe([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function Ef(e){if(!this.isValid())return e!=null?this:NaN;var t=Jt(this,"Day");return e!=null?(e=ff(e,this.localeData()),this.add(e-t,"d")):t}function xf(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function kf(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=cf(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Mf(e){return this._weekdaysParseExact?(U(this,"_weekdaysRegex")||hi.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(U(this,"_weekdaysRegex")||(this._weekdaysRegex=pf),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Tf(e){return this._weekdaysParseExact?(U(this,"_weekdaysRegex")||hi.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(U(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=gf),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Of(e){return this._weekdaysParseExact?(U(this,"_weekdaysRegex")||hi.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(U(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=yf),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function hi(){function e(f,m){return m.length-f.length}var t=[],r=[],n=[],i=[],s,a,o,l,u;for(s=0;s<7;s++)a=Fe([2e3,1]).day(s),o=Be(this.weekdaysMin(a,"")),l=Be(this.weekdaysShort(a,"")),u=Be(this.weekdays(a,"")),t.push(o),r.push(l),n.push(u),i.push(o),i.push(l),i.push(u);t.sort(e),r.sort(e),n.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function fi(){return this.hours()%12||12}function Df(){return this.hours()||24}x("H",["HH",2],0,"hour");x("h",["hh",2],0,fi);x("k",["kk",2],0,Df);x("hmm",0,0,function(){return""+fi.apply(this)+De(this.minutes(),2)});x("hmmss",0,0,function(){return""+fi.apply(this)+De(this.minutes(),2)+De(this.seconds(),2)});x("Hmm",0,0,function(){return""+this.hours()+De(this.minutes(),2)});x("Hmmss",0,0,function(){return""+this.hours()+De(this.minutes(),2)+De(this.seconds(),2)});function ba(e,t){x(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}ba("a",!0);ba("A",!1);function va(e,t){return t._meridiemParse}_("a",va);_("A",va);_("H",te,oi);_("h",te,Ht);_("k",te,Ht);_("HH",te,ge);_("hh",te,ge);_("kk",te,ge);_("hmm",la);_("hmmss",ua);_("Hmm",la);_("Hmmss",ua);Z(["H","HH"],le);Z(["k","kk"],function(e,t,r){var n=H(e);t[le]=n===24?0:n});Z(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});Z(["h","hh"],function(e,t,r){t[le]=H(e),F(r).bigHour=!0});Z("hmm",function(e,t,r){var n=e.length-2;t[le]=H(e.substr(0,n)),t[Ee]=H(e.substr(n)),F(r).bigHour=!0});Z("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[le]=H(e.substr(0,n)),t[Ee]=H(e.substr(n,2)),t[Re]=H(e.substr(i)),F(r).bigHour=!0});Z("Hmm",function(e,t,r){var n=e.length-2;t[le]=H(e.substr(0,n)),t[Ee]=H(e.substr(n))});Z("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[le]=H(e.substr(0,n)),t[Ee]=H(e.substr(n,2)),t[Re]=H(e.substr(i))});function Pf(e){return(e+"").toLowerCase().charAt(0)==="p"}var Ff=/[ap]\.?m?\.?/i,If=Lt("Hours",!0);function Nf(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var wa={calendar:vh,longDateFormat:xh,invalidDate:Mh,ordinal:Oh,dayOfMonthOrdinalParse:Dh,relativeTime:Fh,months:Zh,monthsShort:ca,week:af,weekdays:df,weekdaysMin:mf,weekdaysShort:_a,meridiemParse:Ff},se={},jt={},er;function Hf(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function fs(e){return e&&e.toLowerCase().replace("_","-")}function Lf(e){for(var t=0,r,n,i,s;t<e.length;){for(s=fs(e[t]).split("-"),r=s.length,n=fs(e[t+1]),n=n?n.split("-"):null;r>0;){if(i=qr(s.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&Hf(s,n)>=r-1)break;r--}t++}return er}function Cf(e){return!!(e&&e.match("^[^/\\\\]*$"))}function qr(e){var t=null,r;if(se[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&Cf(e))try{t=er._abbr,r=gh,r("./locale/"+e),Qe(t)}catch(n){se[e]=null}return se[e]}function Qe(e,t){var r;return e&&(pe(t)?r=We(e):r=ci(e,t),r?er=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),er._abbr}function ci(e,t){if(t!==null){var r,n=wa;if(t.abbr=e,se[e]!=null)ia("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."),n=se[e]._config;else if(t.parentLocale!=null)if(se[t.parentLocale]!=null)n=se[t.parentLocale]._config;else if(r=qr(t.parentLocale),r!=null)n=r._config;else return jt[t.parentLocale]||(jt[t.parentLocale]=[]),jt[t.parentLocale].push({name:e,config:t}),null;return se[e]=new ri(Gn(n,t)),jt[e]&&jt[e].forEach(function(i){ci(i.name,i.config)}),Qe(e),se[e]}else return delete se[e],null}function Rf(e,t){if(t!=null){var r,n,i=wa;se[e]!=null&&se[e].parentLocale!=null?se[e].set(Gn(se[e]._config,t)):(n=qr(e),n!=null&&(i=n._config),t=Gn(i,t),n==null&&(t.abbr=e),r=new ri(t),r.parentLocale=se[e],se[e]=r),Qe(e)}else se[e]!=null&&(se[e].parentLocale!=null?(se[e]=se[e].parentLocale,e===Qe()&&Qe(e)):se[e]!=null&&delete se[e]);return se[e]}function We(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return er;if(!xe(e)){if(t=qr(e),t)return t;e=[e]}return Lf(e)}function Af(){return Wn(se)}function di(e){var t,r=e._a;return r&&F(e).overflow===-2&&(t=r[Ce]<0||r[Ce]>11?Ce:r[Oe]<1||r[Oe]>li(r[ce],r[Ce])?Oe:r[le]<0||r[le]>24||r[le]===24&&(r[Ee]!==0||r[Re]!==0||r[lt]!==0)?le:r[Ee]<0||r[Ee]>59?Ee:r[Re]<0||r[Re]>59?Re:r[lt]<0||r[lt]>999?lt:-1,F(e)._overflowDayOfYear&&(t<ce||t>Oe)&&(t=Oe),F(e)._overflowWeeks&&t===-1&&(t=Uh),F(e)._overflowWeekday&&t===-1&&(t=Gh),F(e).overflow=t),e}var Bf=/^\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)?)?$/,Yf=/^\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)?)?$/,Uf=/Z|[+-]\d\d(?::?\d\d)?/,Sr=[["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]],xn=[["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/]],Gf=/^\/?Date\((-?\d+)/i,Wf=/^(?:(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}))$/,jf={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Sa(e){var t,r,n=e._i,i=Bf.exec(n)||Yf.exec(n),s,a,o,l,u=Sr.length,f=xn.length;if(i){for(F(e).iso=!0,t=0,r=u;t<r;t++)if(Sr[t][1].exec(i[1])){a=Sr[t][0],s=Sr[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(i[3]){for(t=0,r=f;t<r;t++)if(xn[t][1].exec(i[3])){o=(i[2]||" ")+xn[t][0];break}if(o==null){e._isValid=!1;return}}if(!s&&o!=null){e._isValid=!1;return}if(i[4])if(Uf.exec(i[4]))l="Z";else{e._isValid=!1;return}e._f=a+(o||"")+(l||""),pi(e)}else e._isValid=!1}function Vf(e,t,r,n,i,s){var a=[zf(e),ca.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return s&&a.push(parseInt(s,10)),a}function zf(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Zf(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function $f(e,t,r){if(e){var n=_a.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return F(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Xf(e,t,r){if(e)return jf[e];if(t)return 0;var n=parseInt(r,10),i=n%100,s=(n-i)/100;return s*60+i}function Ea(e){var t=Wf.exec(Zf(e._i)),r;if(t){if(r=Vf(t[4],t[3],t[2],t[5],t[6],t[7]),!$f(t[1],r,e))return;e._a=r,e._tzm=Xf(t[8],t[9],t[10]),e._d=Qt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),F(e).rfc2822=!0}else e._isValid=!1}function qf(e){var t=Gf.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Sa(e),e._isValid===!1)delete e._isValid;else return;if(Ea(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:y.createFromInputFallback(e)}y.createFromInputFallback=we("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":""))});function bt(e,t,r){return e!=null?e:t!=null?t:r}function Jf(e){var t=new Date(y.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function mi(e){var t,r,n=[],i,s,a;if(!e._d){for(i=Jf(e),e._w&&e._a[Oe]==null&&e._a[Ce]==null&&Qf(e),e._dayOfYear!=null&&(a=bt(e._a[ce],i[ce]),(e._dayOfYear>Zt(a)||e._dayOfYear===0)&&(F(e)._overflowDayOfYear=!0),r=Qt(a,0,e._dayOfYear),e._a[Ce]=r.getUTCMonth(),e._a[Oe]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=i[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[le]===24&&e._a[Ee]===0&&e._a[Re]===0&&e._a[lt]===0&&(e._nextDay=!0,e._a[le]=0),e._d=(e._useUTC?Qt:nf).apply(null,n),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[le]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==s&&(F(e).weekdayMismatch=!0)}}function Qf(e){var t,r,n,i,s,a,o,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(s=1,a=4,r=bt(t.GG,e._a[ce],Kt(ee(),1,4).year),n=bt(t.W,1),i=bt(t.E,1),(i<1||i>7)&&(l=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,u=Kt(ee(),s,a),r=bt(t.gg,e._a[ce],u.year),n=bt(t.w,u.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+s,(t.e<0||t.e>6)&&(l=!0)):i=s),n<1||n>Ye(r,s,a)?F(e)._overflowWeeks=!0:l!=null?F(e)._overflowWeekday=!0:(o=ya(r,n,i,s,a),e._a[ce]=o.year,e._dayOfYear=o.dayOfYear)}y.ISO_8601=function(){};y.RFC_2822=function(){};function pi(e){if(e._f===y.ISO_8601){Sa(e);return}if(e._f===y.RFC_2822){Ea(e);return}e._a=[],F(e).empty=!0;var t=""+e._i,r,n,i,s,a,o=t.length,l=0,u,f;for(i=sa(e._f,e._locale).match(ni)||[],f=i.length,r=0;r<f;r++)s=i[r],n=(t.match(Ah(s,e))||[])[0],n&&(a=t.substr(0,t.indexOf(n)),a.length>0&&F(e).unusedInput.push(a),t=t.slice(t.indexOf(n)+n.length),l+=n.length),Et[s]?(n?F(e).empty=!1:F(e).unusedTokens.push(s),Yh(s,n,e)):e._strict&&!n&&F(e).unusedTokens.push(s);F(e).charsLeftOver=o-l,t.length>0&&F(e).unusedInput.push(t),e._a[le]<=12&&F(e).bigHour===!0&&e._a[le]>0&&(F(e).bigHour=void 0),F(e).parsedDateParts=e._a.slice(0),F(e).meridiem=e._meridiem,e._a[le]=Kf(e._locale,e._a[le],e._meridiem),u=F(e).era,u!==null&&(e._a[ce]=e._locale.erasConvertYear(u,e._a[ce])),mi(e),di(e)}function Kf(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function ec(e){var t,r,n,i,s,a,o=!1,l=e._f.length;if(l===0){F(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<l;i++)s=0,a=!1,t=ti({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],pi(t),ei(t)&&(a=!0),s+=F(t).charsLeftOver,s+=F(t).unusedTokens.length*10,F(t).score=s,o?s<n&&(n=s,r=t):(n==null||s<n||a)&&(n=s,r=t,a&&(o=!0));qe(e,r||t)}function tc(e){if(!e._d){var t=ii(e._i),r=t.day===void 0?t.date:t.day;e._a=ra([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),mi(e)}}function rc(e){var t=new nr(di(xa(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function xa(e){var t=e._i,r=e._f;return e._locale=e._locale||We(e._l),t===null||r===void 0&&t===""?Wr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),ke(t)?new nr(di(t)):(rr(t)?e._d=t:xe(r)?ec(e):r?pi(e):nc(e),ei(e)||(e._d=null),e))}function nc(e){var t=e._i;pe(t)?e._d=new Date(y.now()):rr(t)?e._d=new Date(t.valueOf()):typeof t=="string"?qf(e):xe(t)?(e._a=ra(t.slice(0),function(r){return parseInt(r,10)}),mi(e)):ut(t)?tc(e):Ue(t)?e._d=new Date(t):y.createFromInputFallback(e)}function ka(e,t,r,n,i){var s={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(ut(e)&&Kn(e)||xe(e)&&e.length===0)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=r,s._i=e,s._f=t,s._strict=n,rc(s)}function ee(e,t,r,n){return ka(e,t,r,n,!1)}var ic=we("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ee.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Wr()}),sc=we("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=ee.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Wr()});function Ma(e,t){var r,n;if(t.length===1&&xe(t[0])&&(t=t[0]),!t.length)return ee();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function ac(){var e=[].slice.call(arguments,0);return Ma("isBefore",e)}function oc(){var e=[].slice.call(arguments,0);return Ma("isAfter",e)}var lc=function(){return Date.now?Date.now():+new Date},Vt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function uc(e){var t,r=!1,n,i=Vt.length;for(t in e)if(U(e,t)&&!(oe.call(Vt,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<i;++n)if(e[Vt[n]]){if(r)return!1;parseFloat(e[Vt[n]])!==H(e[Vt[n]])&&(r=!0)}return!0}function hc(){return this._isValid}function fc(){return Me(NaN)}function Jr(e){var t=ii(e),r=t.year||0,n=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,f=t.millisecond||0;this._isValid=uc(t),this._milliseconds=+f+u*1e3+l*6e4+o*1e3*60*60,this._days=+a+s*7,this._months=+i+n*3+r*12,this._data={},this._locale=We(),this._bubble()}function Or(e){return e instanceof Jr}function Vn(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function cc(e,t,r){var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,a;for(a=0;a<n;a++)H(e[a])!==H(t[a])&&s++;return s+i}function Ta(e,t){x(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+De(~~(r/60),2)+t+De(~~r%60,2)})}Ta("Z",":");Ta("ZZ","");_("Z",$r);_("ZZ",$r);Z(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=gi($r,e)});var dc=/([\+\-]|\d\d)/gi;function gi(e,t){var r=(t||"").match(e),n,i,s;return r===null?null:(n=r[r.length-1]||[],i=(n+"").match(dc)||["-",0,0],s=+(i[1]*60)+H(i[2]),s===0?0:i[0]==="+"?s:-s)}function yi(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(ke(e)||rr(e)?e.valueOf():ee(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),y.updateOffset(r,!1),r):ee(e).local()}function zn(e){return-Math.round(e._d.getTimezoneOffset())}y.updateOffset=function(){};function mc(e,t,r){var n=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=gi($r,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(i=zn(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?Pa(this,Me(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,y.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:zn(this)}function pc(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function gc(e){return this.utcOffset(0,e)}function yc(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(zn(this),"m")),this}function _c(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=gi(Ch,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function bc(e){return this.isValid()?(e=e?ee(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function vc(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function wc(){if(!pe(this._isDSTShifted))return this._isDSTShifted;var e={},t;return ti(e,this),e=xa(e),e._a?(t=e._isUTC?Fe(e._a):ee(e._a),this._isDSTShifted=this.isValid()&&cc(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Sc(){return this.isValid()?!this._isUTC:!1}function Ec(){return this.isValid()?this._isUTC:!1}function Oa(){return this.isValid()?this._isUTC&&this._offset===0:!1}var xc=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,kc=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Me(e,t){var r=e,n=null,i,s,a;return Or(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Ue(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=xc.exec(e))?(i=n[1]==="-"?-1:1,r={y:0,d:H(n[Oe])*i,h:H(n[le])*i,m:H(n[Ee])*i,s:H(n[Re])*i,ms:H(Vn(n[lt]*1e3))*i}):(n=kc.exec(e))?(i=n[1]==="-"?-1:1,r={y:ot(n[2],i),M:ot(n[3],i),w:ot(n[4],i),d:ot(n[5],i),h:ot(n[6],i),m:ot(n[7],i),s:ot(n[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(a=Mc(ee(r.from),ee(r.to)),r={},r.ms=a.milliseconds,r.M=a.months),s=new Jr(r),Or(e)&&U(e,"_locale")&&(s._locale=e._locale),Or(e)&&U(e,"_isValid")&&(s._isValid=e._isValid),s}Me.fn=Jr.prototype;Me.invalid=fc;function ot(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function cs(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Mc(e,t){var r;return e.isValid()&&t.isValid()?(t=yi(t,e),e.isBefore(t)?r=cs(e,t):(r=cs(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Da(e,t){return function(r,n){var i,s;return n!==null&&!isNaN(+n)&&(ia(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=r,r=n,n=s),i=Me(r,n),Pa(this,i,e),this}}function Pa(e,t,r,n){var i=t._milliseconds,s=Vn(t._days),a=Vn(t._months);e.isValid()&&(n=n==null?!0:n,a&&ma(e,Jt(e,"Month")+a*r),s&&fa(e,"Date",Jt(e,"Date")+s*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&y.updateOffset(e,s||a))}var Tc=Da(1,"add"),Oc=Da(-1,"subtract");function Fa(e){return typeof e=="string"||e instanceof String}function Dc(e){return ke(e)||rr(e)||Fa(e)||Ue(e)||Fc(e)||Pc(e)||e===null||e===void 0}function Pc(e){var t=ut(e)&&!Kn(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,s,a=n.length;for(i=0;i<a;i+=1)s=n[i],r=r||U(e,s);return t&&r}function Fc(e){var t=xe(e),r=!1;return t&&(r=e.filter(function(n){return!Ue(n)&&Fa(e)}).length===0),t&&r}function Ic(e){var t=ut(e)&&!Kn(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,s;for(i=0;i<n.length;i+=1)s=n[i],r=r||U(e,s);return t&&r}function Nc(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Hc(e,t){arguments.length===1&&(arguments[0]?Dc(arguments[0])?(e=arguments[0],t=void 0):Ic(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||ee(),n=yi(r,this).startOf("day"),i=y.calendarFormat(this,n)||"sameElse",s=t&&(Ie(t[i])?t[i].call(this,r):t[i]);return this.format(s||this.localeData().calendar(i,this,ee(r)))}function Lc(){return new nr(this)}function Cc(e,t){var r=ke(e)?e:ee(e);return this.isValid()&&r.isValid()?(t=Se(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Rc(e,t){var r=ke(e)?e:ee(e);return this.isValid()&&r.isValid()?(t=Se(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Ac(e,t,r,n){var i=ke(e)?e:ee(e),s=ke(t)?t:ee(t);return this.isValid()&&i.isValid()&&s.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(s,r):!this.isAfter(s,r))):!1}function Bc(e,t){var r=ke(e)?e:ee(e),n;return this.isValid()&&r.isValid()?(t=Se(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function Yc(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Uc(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Gc(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(n=yi(e,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,t=Se(t),t){case"year":s=Dr(this,n)/12;break;case"month":s=Dr(this,n);break;case"quarter":s=Dr(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-i)/864e5;break;case"week":s=(this-n-i)/6048e5;break;default:s=this-n}return r?s:be(s)}function Dr(e,t){if(e.date()<t.date())return-Dr(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),i,s;return t-n<0?(i=e.clone().add(r-1,"months"),s=(t-n)/(n-i)):(i=e.clone().add(r+1,"months"),s=(t-n)/(i-n)),-(r+s)||0}y.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";y.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Wc(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function jc(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Tr(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ie(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Tr(r,"Z")):Tr(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Vc(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,i,s;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=t+'[")]',this.format(r+n+i+s)}function zc(e){e||(e=this.isUtc()?y.defaultFormatUtc:y.defaultFormat);var t=Tr(this,e);return this.localeData().postformat(t)}function Zc(e,t){return this.isValid()&&(ke(e)&&e.isValid()||ee(e).isValid())?Me({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function $c(e){return this.from(ee(),e)}function Xc(e,t){return this.isValid()&&(ke(e)&&e.isValid()||ee(e).isValid())?Me({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function qc(e){return this.to(ee(),e)}function Ia(e){var t;return e===void 0?this._locale._abbr:(t=We(e),t!=null&&(this._locale=t),this)}var Na=we("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ha(){return this._locale}var Lr=1e3,xt=60*Lr,Cr=60*xt,La=(365*400+97)*24*Cr;function kt(e,t){return(e%t+t)%t}function Ca(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-La:new Date(e,t,r).valueOf()}function Ra(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-La:Date.UTC(e,t,r)}function Jc(e){var t,r;if(e=Se(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Ra:Ca,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=kt(t+(this._isUTC?0:this.utcOffset()*xt),Cr);break;case"minute":t=this._d.valueOf(),t-=kt(t,xt);break;case"second":t=this._d.valueOf(),t-=kt(t,Lr);break}return this._d.setTime(t),y.updateOffset(this,!0),this}function Qc(e){var t,r;if(e=Se(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Ra:Ca,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Cr-kt(t+(this._isUTC?0:this.utcOffset()*xt),Cr)-1;break;case"minute":t=this._d.valueOf(),t+=xt-kt(t,xt)-1;break;case"second":t=this._d.valueOf(),t+=Lr-kt(t,Lr)-1;break}return this._d.setTime(t),y.updateOffset(this,!0),this}function Kc(){return this._d.valueOf()-(this._offset||0)*6e4}function ed(){return Math.floor(this.valueOf()/1e3)}function td(){return new Date(this.valueOf())}function rd(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function nd(){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()}}function id(){return this.isValid()?this.toISOString():null}function sd(){return ei(this)}function ad(){return qe({},F(this))}function od(){return F(this).overflow}function ld(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}x("N",0,0,"eraAbbr");x("NN",0,0,"eraAbbr");x("NNN",0,0,"eraAbbr");x("NNNN",0,0,"eraName");x("NNNNN",0,0,"eraNarrow");x("y",["y",1],"yo","eraYear");x("y",["yy",2],0,"eraYear");x("y",["yyy",3],0,"eraYear");x("y",["yyyy",4],0,"eraYear");_("N",_i);_("NN",_i);_("NNN",_i);_("NNNN",bd);_("NNNNN",vd);Z(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?F(r).era=i:F(r).invalidEra=e});_("y",Nt);_("yy",Nt);_("yyy",Nt);_("yyyy",Nt);_("yo",wd);Z(["y","yy","yyy","yyyy"],ce);Z(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ce]=r._locale.eraYearOrdinalParse(e,i):t[ce]=parseInt(e,10)});function ud(e,t){var r,n,i,s=this._eras||We("en")._eras;for(r=0,n=s.length;r<n;++r){switch(typeof s[r].since){case"string":i=y(s[r].since).startOf("day"),s[r].since=i.valueOf();break}switch(typeof s[r].until){case"undefined":s[r].until=1/0;break;case"string":i=y(s[r].until).startOf("day").valueOf(),s[r].until=i.valueOf();break}}return s}function hd(e,t,r){var n,i,s=this.eras(),a,o,l;for(e=e.toUpperCase(),n=0,i=s.length;n<i;++n)if(a=s[n].name.toUpperCase(),o=s[n].abbr.toUpperCase(),l=s[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(o===e)return s[n];break;case"NNNN":if(a===e)return s[n];break;case"NNNNN":if(l===e)return s[n];break}else if([a,o,l].indexOf(e)>=0)return s[n]}function fd(e,t){var r=e.since<=e.until?1:-1;return t===void 0?y(e.since).year():y(e.since).year()+(t-e.offset)*r}function cd(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function dd(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function md(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function pd(){var e,t,r,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(r=i[e].since<=i[e].until?1:-1,n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return(this.year()-y(i[e].since).year())*r+i[e].offset;return this.year()}function gd(e){return U(this,"_erasNameRegex")||bi.call(this),e?this._erasNameRegex:this._erasRegex}function yd(e){return U(this,"_erasAbbrRegex")||bi.call(this),e?this._erasAbbrRegex:this._erasRegex}function _d(e){return U(this,"_erasNarrowRegex")||bi.call(this),e?this._erasNarrowRegex:this._erasRegex}function _i(e,t){return t.erasAbbrRegex(e)}function bd(e,t){return t.erasNameRegex(e)}function vd(e,t){return t.erasNarrowRegex(e)}function wd(e,t){return t._eraYearOrdinalRegex||Nt}function bi(){var e=[],t=[],r=[],n=[],i,s,a,o,l,u=this.eras();for(i=0,s=u.length;i<s;++i)a=Be(u[i].name),o=Be(u[i].abbr),l=Be(u[i].narrow),t.push(a),e.push(o),r.push(l),n.push(a),n.push(o),n.push(l);this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}x(0,["gg",2],0,function(){return this.weekYear()%100});x(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Qr(e,t){x(0,[e,e.length],0,t)}Qr("gggg","weekYear");Qr("ggggg","weekYear");Qr("GGGG","isoWeekYear");Qr("GGGGG","isoWeekYear");_("G",Zr);_("g",Zr);_("GG",te,ge);_("gg",te,ge);_("GGGG",ai,si);_("gggg",ai,si);_("GGGGG",zr,jr);_("ggggg",zr,jr);sr(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=H(e)});sr(["gg","GG"],function(e,t,r,n){t[n]=y.parseTwoDigitYear(e)});function Sd(e){return Aa.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Ed(e){return Aa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function xd(){return Ye(this.year(),1,4)}function kd(){return Ye(this.isoWeekYear(),1,4)}function Md(){var e=this.localeData()._week;return Ye(this.year(),e.dow,e.doy)}function Td(){var e=this.localeData()._week;return Ye(this.weekYear(),e.dow,e.doy)}function Aa(e,t,r,n,i){var s;return e==null?Kt(this,n,i).year:(s=Ye(e,n,i),t>s&&(t=s),Od.call(this,e,t,r,n,i))}function Od(e,t,r,n,i){var s=ya(e,t,r,n,i),a=Qt(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}x("Q",0,"Qo","quarter");_("Q",aa);Z("Q",function(e,t){t[Ce]=(H(e)-1)*3});function Dd(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}x("D",["DD",2],"Do","date");_("D",te,Ht);_("DD",te,ge);_("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});Z(["D","DD"],Oe);Z("Do",function(e,t){t[Oe]=H(e.match(te)[0])});var Ba=Lt("Date",!0);x("DDD",["DDDD",3],"DDDo","dayOfYear");_("DDD",Vr);_("DDDD",oa);Z(["DDD","DDDD"],function(e,t,r){r._dayOfYear=H(e)});function Pd(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}x("m",["mm",2],0,"minute");_("m",te,oi);_("mm",te,ge);Z(["m","mm"],Ee);var Fd=Lt("Minutes",!1);x("s",["ss",2],0,"second");_("s",te,oi);_("ss",te,ge);Z(["s","ss"],Re);var Id=Lt("Seconds",!1);x("S",0,0,function(){return~~(this.millisecond()/100)});x(0,["SS",2],0,function(){return~~(this.millisecond()/10)});x(0,["SSS",3],0,"millisecond");x(0,["SSSS",4],0,function(){return this.millisecond()*10});x(0,["SSSSS",5],0,function(){return this.millisecond()*100});x(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});x(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});x(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});x(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});_("S",Vr,aa);_("SS",Vr,ge);_("SSS",Vr,oa);var Je,Ya;for(Je="SSSS";Je.length<=9;Je+="S")_(Je,Nt);function Nd(e,t){t[lt]=H(("0."+e)*1e3)}for(Je="S";Je.length<=9;Je+="S")Z(Je,Nd);Ya=Lt("Milliseconds",!1);x("z",0,0,"zoneAbbr");x("zz",0,0,"zoneName");function Hd(){return this._isUTC?"UTC":""}function Ld(){return this._isUTC?"Coordinated Universal Time":""}var g=nr.prototype;g.add=Tc;g.calendar=Hc;g.clone=Lc;g.diff=Gc;g.endOf=Qc;g.format=zc;g.from=Zc;g.fromNow=$c;g.to=Xc;g.toNow=qc;g.get=jh;g.invalidAt=od;g.isAfter=Cc;g.isBefore=Rc;g.isBetween=Ac;g.isSame=Bc;g.isSameOrAfter=Yc;g.isSameOrBefore=Uc;g.isValid=sd;g.lang=Na;g.locale=Ia;g.localeData=Ha;g.max=sc;g.min=ic;g.parsingFlags=ad;g.set=Vh;g.startOf=Jc;g.subtract=Oc;g.toArray=rd;g.toObject=nd;g.toDate=td;g.toISOString=jc;g.inspect=Vc;typeof Symbol!="undefined"&&Symbol.for!=null&&(g[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});g.toJSON=id;g.toString=Wc;g.unix=ed;g.valueOf=Kc;g.creationData=ld;g.eraName=cd;g.eraNarrow=dd;g.eraAbbr=md;g.eraYear=pd;g.year=ha;g.isLeapYear=Wh;g.weekYear=Sd;g.isoWeekYear=Ed;g.quarter=g.quarters=Dd;g.month=pa;g.daysInMonth=ef;g.week=g.weeks=uf;g.isoWeek=g.isoWeeks=hf;g.weeksInYear=Md;g.weeksInWeekYear=Td;g.isoWeeksInYear=xd;g.isoWeeksInISOWeekYear=kd;g.date=Ba;g.day=g.days=Ef;g.weekday=xf;g.isoWeekday=kf;g.dayOfYear=Pd;g.hour=g.hours=If;g.minute=g.minutes=Fd;g.second=g.seconds=Id;g.millisecond=g.milliseconds=Ya;g.utcOffset=mc;g.utc=gc;g.local=yc;g.parseZone=_c;g.hasAlignedHourOffset=bc;g.isDST=vc;g.isLocal=Sc;g.isUtcOffset=Ec;g.isUtc=Oa;g.isUTC=Oa;g.zoneAbbr=Hd;g.zoneName=Ld;g.dates=we("dates accessor is deprecated. Use date instead.",Ba);g.months=we("months accessor is deprecated. Use month instead",pa);g.years=we("years accessor is deprecated. Use year instead",ha);g.zone=we("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",pc);g.isDSTShifted=we("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",wc);function Cd(e){return ee(e*1e3)}function Rd(){return ee.apply(null,arguments).parseZone()}function Ua(e){return e}var G=ri.prototype;G.calendar=wh;G.longDateFormat=kh;G.invalidDate=Th;G.ordinal=Ph;G.preparse=Ua;G.postformat=Ua;G.relativeTime=Ih;G.pastFuture=Nh;G.set=bh;G.eras=ud;G.erasParse=hd;G.erasConvertYear=fd;G.erasAbbrRegex=yd;G.erasNameRegex=gd;G.erasNarrowRegex=_d;G.months=qh;G.monthsShort=Jh;G.monthsParse=Kh;G.monthsRegex=rf;G.monthsShortRegex=tf;G.week=sf;G.firstDayOfYear=lf;G.firstDayOfWeek=of;G.weekdays=_f;G.weekdaysMin=vf;G.weekdaysShort=bf;G.weekdaysParse=Sf;G.weekdaysRegex=Mf;G.weekdaysShortRegex=Tf;G.weekdaysMinRegex=Of;G.isPM=Pf;G.meridiem=Nf;function Rr(e,t,r,n){var i=We(),s=Fe().set(n,t);return i[r](s,e)}function Ga(e,t,r){if(Ue(e)&&(t=e,e=void 0),e=e||"",t!=null)return Rr(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=Rr(e,n,r,"month");return i}function vi(e,t,r,n){typeof e=="boolean"?(Ue(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Ue(t)&&(r=t,t=void 0),t=t||"");var i=We(),s=e?i._week.dow:0,a,o=[];if(r!=null)return Rr(t,(r+s)%7,n,"day");for(a=0;a<7;a++)o[a]=Rr(t,(a+s)%7,n,"day");return o}function Ad(e,t){return Ga(e,t,"months")}function Bd(e,t){return Ga(e,t,"monthsShort")}function Yd(e,t,r){return vi(e,t,r,"weekdays")}function Ud(e,t,r){return vi(e,t,r,"weekdaysShort")}function Gd(e,t,r){return vi(e,t,r,"weekdaysMin")}Qe("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,r=H(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});y.lang=we("moment.lang is deprecated. Use moment.locale instead.",Qe);y.langData=we("moment.langData is deprecated. Use moment.localeData instead.",We);var He=Math.abs;function Wd(){var e=this._data;return this._milliseconds=He(this._milliseconds),this._days=He(this._days),this._months=He(this._months),e.milliseconds=He(e.milliseconds),e.seconds=He(e.seconds),e.minutes=He(e.minutes),e.hours=He(e.hours),e.months=He(e.months),e.years=He(e.years),this}function Wa(e,t,r,n){var i=Me(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function jd(e,t){return Wa(this,e,t,1)}function Vd(e,t){return Wa(this,e,t,-1)}function ds(e){return e<0?Math.floor(e):Math.ceil(e)}function zd(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,i,s,a,o,l;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=ds(Zn(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,i=be(e/1e3),n.seconds=i%60,s=be(i/60),n.minutes=s%60,a=be(s/60),n.hours=a%24,t+=be(a/24),l=be(ja(t)),r+=l,t-=ds(Zn(l)),o=be(r/12),r%=12,n.days=t,n.months=r,n.years=o,this}function ja(e){return e*4800/146097}function Zn(e){return e*146097/4800}function Zd(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=Se(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+ja(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Zn(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function je(e){return function(){return this.as(e)}}var Va=je("ms"),$d=je("s"),Xd=je("m"),qd=je("h"),Jd=je("d"),Qd=je("w"),Kd=je("M"),e0=je("Q"),t0=je("y"),r0=Va;function n0(){return Me(this)}function i0(e){return e=Se(e),this.isValid()?this[e+"s"]():NaN}function ft(e){return function(){return this.isValid()?this._data[e]:NaN}}var s0=ft("milliseconds"),a0=ft("seconds"),o0=ft("minutes"),l0=ft("hours"),u0=ft("days"),h0=ft("months"),f0=ft("years");function c0(){return be(this.days()/7)}var Le=Math.round,vt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function d0(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function m0(e,t,r,n){var i=Me(e).abs(),s=Le(i.as("s")),a=Le(i.as("m")),o=Le(i.as("h")),l=Le(i.as("d")),u=Le(i.as("M")),f=Le(i.as("w")),m=Le(i.as("y")),p=s<=r.ss&&["s",s]||s<r.s&&["ss",s]||a<=1&&["m"]||a<r.m&&["mm",a]||o<=1&&["h"]||o<r.h&&["hh",o]||l<=1&&["d"]||l<r.d&&["dd",l];return r.w!=null&&(p=p||f<=1&&["w"]||f<r.w&&["ww",f]),p=p||u<=1&&["M"]||u<r.M&&["MM",u]||m<=1&&["y"]||["yy",m],p[2]=t,p[3]=+e>0,p[4]=n,d0.apply(null,p)}function p0(e){return e===void 0?Le:typeof e=="function"?(Le=e,!0):!1}function g0(e,t){return vt[e]===void 0?!1:t===void 0?vt[e]:(vt[e]=t,e==="s"&&(vt.ss=t-1),!0)}function y0(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=vt,i,s;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},vt,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),i=this.localeData(),s=m0(this,!r,n,i),r&&(s=i.pastFuture(+this,s)),i.postformat(s)}var kn=Math.abs;function yt(e){return(e>0)-(e<0)||+e}function Kr(){if(!this.isValid())return this.localeData().invalidDate();var e=kn(this._milliseconds)/1e3,t=kn(this._days),r=kn(this._months),n,i,s,a,o=this.asSeconds(),l,u,f,m;return o?(n=be(e/60),i=be(n/60),e%=60,n%=60,s=be(r/12),r%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",u=yt(this._months)!==yt(o)?"-":"",f=yt(this._days)!==yt(o)?"-":"",m=yt(this._milliseconds)!==yt(o)?"-":"",l+"P"+(s?u+s+"Y":"")+(r?u+r+"M":"")+(t?f+t+"D":"")+(i||n||e?"T":"")+(i?m+i+"H":"")+(n?m+n+"M":"")+(e?m+a+"S":"")):"P0D"}var A=Jr.prototype;A.isValid=hc;A.abs=Wd;A.add=jd;A.subtract=Vd;A.as=Zd;A.asMilliseconds=Va;A.asSeconds=$d;A.asMinutes=Xd;A.asHours=qd;A.asDays=Jd;A.asWeeks=Qd;A.asMonths=Kd;A.asQuarters=e0;A.asYears=t0;A.valueOf=r0;A._bubble=zd;A.clone=n0;A.get=i0;A.milliseconds=s0;A.seconds=a0;A.minutes=o0;A.hours=l0;A.days=u0;A.weeks=c0;A.months=h0;A.years=f0;A.humanize=y0;A.toISOString=Kr;A.toString=Kr;A.toJSON=Kr;A.locale=Ia;A.localeData=Ha;A.toIsoString=we("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kr);A.lang=Na;x("X",0,0,"unix");x("x",0,0,"valueOf");_("x",Zr);_("X",Rh);Z("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});Z("x",function(e,t,r){r._d=new Date(H(e))});//! moment.js
14
+ y.version="2.30.1";yh(ee);y.fn=g;y.min=ac;y.max=oc;y.now=lc;y.utc=Fe;y.unix=Cd;y.months=Ad;y.isDate=rr;y.locale=Qe;y.invalid=Wr;y.duration=Me;y.isMoment=ke;y.weekdays=Yd;y.parseZone=Rd;y.localeData=We;y.isDuration=Or;y.monthsShort=Bd;y.weekdaysMin=Gd;y.defineLocale=ci;y.updateLocale=Rf;y.locales=Af;y.weekdaysShort=Ud;y.normalizeUnits=Se;y.relativeTimeRounding=p0;y.relativeTimeThreshold=g0;y.calendarFormat=Nc;y.prototype=g;y.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"};function _0(e){Zo(e,"svelte-p7wmjx",".CasinoGamePageContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}p{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:60px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100% !important;height:30px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.LoaderRipple{width:80px;height:80px;position:absolute;top:0;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}.LoaderRipple.LoaderWithPanicButton{top:40px}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}")}function b0(e){let t,r,n=e[14]&&ms(e);return{c(){var i;t=b("div"),r=b("div"),n&&n.c(),c(r,"class","CasinoGamePageContainer"),me(r,"background","rgba(0, 0, 0, 0.5)"),c(t,"class","GamePageBackground"),me(t,"background",e[23]?"":`url(${(i=e[12])==null?void 0:i.backgroundImageUrl})`),me(t,"background-size","cover")},m(i,s){Q(i,t,s),d(t,r),n&&n.m(r,null),e[86](t)},p(i,s){var a;i[14]?n?n.p(i,s):(n=ms(i),n.c(),n.m(r,null)):n&&(n.d(1),n=null),s[0]&8392704&&me(t,"background",i[23]?"":`url(${(a=i[12])==null?void 0:a.backgroundImageUrl})`)},d(i){i&&J(t),n&&n.d(),e[86](null)}}}function v0(e){let t;return{c(){t=b("p"),t.textContent="500 Error - Internal Server Error.",c(t,"class","SearchLoading")},m(r,n){Q(r,t,n)},p:fe,d(r){r&&J(t)}}}function w0(e){let t,r=e[27]("loading")+"",n;return{c(){t=b("p"),n=q(r),c(t,"class","SearchLoading")},m(i,s){Q(i,t,s),d(t,n)},p(i,s){s[0]&134217728&&r!==(r=i[27]("loading")+"")&&K(n,r)},d(i){i&&J(t)}}}function ms(e){let t;function r(s,a){if(s[23])return x0;if(s[6])return E0;if(!s[7])return S0}let n=r(e),i=n&&n(e);return{c(){i&&i.c(),t=tr()},m(s,a){i&&i.m(s,a),Q(s,t,a)},p(s,a){n===(n=r(s))&&i?i.p(s,a):(i&&i.d(1),i=n&&n(s),i&&(i.c(),i.m(t.parentNode,t)))},d(s){s&&J(t),i&&i.d(s)}}}function S0(e){let t;function r(s,a){return s[15]?M0:k0}let n=r(e),i=n(e);return{c(){i.c(),t=tr()},m(s,a){i.m(s,a),Q(s,t,a)},p(s,a){n===(n=r(s))&&i?i.p(s,a):(i.d(1),i=n(s),i&&(i.c(),i.m(t.parentNode,t)))},d(s){s&&J(t),i.d(s)}}}function E0(e){let t,r,n,i,s,a,o,l=e[27]("deposit")+"",u,f,m,p,w,S,v,D,W,L,T=e[1]==="true"&&ps(e);function B(E,M){return E[20]?P0:D0}let j=B(e),k=j(e);return{c(){t=b("div"),r=b("div"),n=b("iframe"),s=X(),a=b("div"),o=b("button"),u=q(l),f=X(),m=b("p"),p=b("span"),w=q(e[4]),S=X(),T&&T.c(),v=X(),k.c(),c(n,"title","Games"),c(n,"id","IframeGame"),c(n,"class","GamesContainer"),c(n,"aria-hidden","false"),ve(n.src,i=e[12].launchUrl)||c(n,"src",i),c(o,"class","DepositButton"),c(m,"class","Time"),c(a,"class",D="BottomGame "+(e[1]=="true"?"BottomGamePanicSection":"")),c(r,"id","IframeGame"),c(r,"style",e[26]),c(t,"id","IframeContainer"),me(t,"width",e[21]),me(t,"height",e[22]),Ke(t,"FullsScreenLayout",e[20])},m(E,M){Q(E,t,M),d(t,r),d(r,n),e[66](n),d(r,s),d(r,a),d(a,o),d(o,u),d(a,f),d(a,m),d(m,p),d(p,w),e[68](m),d(a,S),T&&T.m(a,null),d(a,v),k.m(a,null),e[72](a),e[73](r),e[74](t),W||(L=ue(o,"click",e[67]),W=!0)},p(E,M){M[0]&4096&&!ve(n.src,i=E[12].launchUrl)&&c(n,"src",i),M[0]&134217728&&l!==(l=E[27]("deposit")+"")&&K(u,l),M[0]&16&&K(w,E[4]),E[1]==="true"?T?T.p(E,M):(T=ps(E),T.c(),T.m(a,v)):T&&(T.d(1),T=null),j===(j=B(E))&&k?k.p(E,M):(k.d(1),k=j(E),k&&(k.c(),k.m(a,null))),M[0]&2&&D!==(D="BottomGame "+(E[1]=="true"?"BottomGamePanicSection":""))&&c(a,"class",D),M[0]&67108864&&c(r,"style",E[26]),M[0]&2097152&&me(t,"width",E[21]),M[0]&4194304&&me(t,"height",E[22]),M[0]&1048576&&Ke(t,"FullsScreenLayout",E[20])},d(E){E&&J(t),e[66](null),e[68](null),T&&T.d(),k.d(),e[72](null),e[73](null),e[74](null),W=!1,L()}}}function x0(e){let t;function r(s,a){if(s[6])return N0;if(s[16]&&!s[7])return I0;if(!s[7])return F0}let n=r(e),i=n&&n(e);return{c(){i&&i.c(),t=tr()},m(s,a){i&&i.m(s,a),Q(s,t,a)},p(s,a){n===(n=r(s))&&i?i.p(s,a):(i&&i.d(1),i=n&&n(s),i&&(i.c(),i.m(t.parentNode,t)))},d(s){s&&J(t),i&&i.d(s)}}}function k0(e){let t,r,n=e[12].name+"",i,s,a,o,l,u,f,m=e[27]("signIn")+"",p,w,S,v=e[27]("register")+"",D,W,L,T,B,j;return{c(){t=b("div"),r=b("h3"),i=q(n),s=X(),a=b("img"),l=X(),u=b("div"),f=b("button"),p=q(m),w=X(),S=b("button"),D=q(v),W=X(),L=b("p"),T=q(e[4]),ve(a.src,o=e[12].thumbnail)||c(a,"src",o),c(a,"class","GameThumbnail"),c(a,"alt","game thumbnail"),c(a,"loading","lazy"),c(f,"class","LoginButton"),c(S,"class","RegisterButton"),c(u,"class","ButtonsContainer"),c(t,"class","GameDetails"),c(t,"part","GameDetails")},m(k,E){Q(k,t,E),d(t,r),d(r,i),d(t,s),d(t,a),d(t,l),d(t,u),d(u,f),d(f,p),d(u,w),d(u,S),d(S,D),d(t,W),d(t,L),d(L,T),B||(j=[ue(f,"click",e[84]),ue(S,"click",e[85])],B=!0)},p(k,E){E[0]&4096&&n!==(n=k[12].name+"")&&K(i,n),E[0]&4096&&!ve(a.src,o=k[12].thumbnail)&&c(a,"src",o),E[0]&134217728&&m!==(m=k[27]("signIn")+"")&&K(p,m),E[0]&134217728&&v!==(v=k[27]("register")+"")&&K(D,v),E[0]&16&&K(T,k[4])},d(k){k&&J(t),B=!1,Pe(j)}}}function M0(e){let t,r,n,i,s,a,o,l,u=e[27]("signIn")+"",f,m,p,w=e[27]("register")+"",S,v,D,W,L,T,B,j;function k(I,O){return I[20]?O0:T0}let E=k(e),M=E(e);return{c(){t=b("div"),r=b("div"),n=b("iframe"),s=X(),a=b("div"),o=b("div"),l=b("button"),f=q(u),m=X(),p=b("button"),S=q(w),v=X(),D=b("p"),W=b("span"),L=q(e[4]),T=X(),M.c(),c(n,"title","Games"),c(n,"id","IframeGame"),c(n,"class","GamesContainer"),c(n,"aria-hidden","false"),ve(n.src,i=e[12].launchUrl)||c(n,"src",i),c(l,"class","LoginButton"),c(p,"class","RegisterButton"),c(o,"class","ButtonsContainer"),c(D,"class","Time"),c(a,"class","BottomGame"),c(r,"id","IframeGame"),c(r,"style",e[26]),c(t,"id","IframeContainer"),me(t,"width",e[21]),me(t,"height",e[22]),Ke(t,"FullsScreenLayout",e[20])},m(I,O){Q(I,t,O),d(t,r),d(r,n),e[75](n),d(r,s),d(r,a),d(a,o),d(o,l),d(l,f),d(o,m),d(o,p),d(p,S),d(a,v),d(a,D),d(D,W),d(W,L),e[78](D),d(a,T),M.m(a,null),e[81](a),e[82](r),e[83](t),B||(j=[ue(l,"click",e[76]),ue(p,"click",e[77])],B=!0)},p(I,O){O[0]&4096&&!ve(n.src,i=I[12].launchUrl)&&c(n,"src",i),O[0]&134217728&&u!==(u=I[27]("signIn")+"")&&K(f,u),O[0]&134217728&&w!==(w=I[27]("register")+"")&&K(S,w),O[0]&16&&K(L,I[4]),E===(E=k(I))&&M?M.p(I,O):(M.d(1),M=E(I),M&&(M.c(),M.m(a,null))),O[0]&67108864&&c(r,"style",I[26]),O[0]&2097152&&me(t,"width",I[21]),O[0]&4194304&&me(t,"height",I[22]),O[0]&1048576&&Ke(t,"FullsScreenLayout",I[20])},d(I){I&&J(t),e[75](null),e[78](null),M.d(),e[81](null),e[82](null),e[83](null),B=!1,Pe(j)}}}function T0(e){let t,r,n;return{c(){t=b("button"),t.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>',c(t,"class","FullscreenButton")},m(i,s){Q(i,t,s),r||(n=ue(t,"click",e[80]),r=!0)},p:fe,d(i){i&&J(t),r=!1,n()}}}function O0(e){let t,r,n;return{c(){t=b("button"),t.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 "></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 "></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 "></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 "></polygon></svg>',c(t,"class","FullscreenButton")},m(i,s){Q(i,t,s),r||(n=ue(t,"click",e[79]),r=!0)},p:fe,d(i){i&&J(t),r=!1,n()}}}function ps(e){let t,r,n=e[27]("breakButton")+"",i;return{c(){t=b("div"),r=b("button"),i=q(n),c(r,"class","Button"),Ke(r,"PanicButtonAnimation",e[11]),c(t,"class","PanicSection")},m(s,a){Q(s,t,a),d(t,r),d(r,i),e[69](r)},p(s,a){a[0]&134217728&&n!==(n=s[27]("breakButton")+"")&&K(i,n),a[0]&2048&&Ke(r,"PanicButtonAnimation",s[11])},d(s){s&&J(t),e[69](null)}}}function D0(e){let t,r,n;return{c(){t=b("button"),t.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>',c(t,"class","FullscreenButton")},m(i,s){Q(i,t,s),r||(n=ue(t,"click",e[71]),r=!0)},p:fe,d(i){i&&J(t),r=!1,n()}}}function P0(e){let t,r,n;return{c(){t=b("button"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 "></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 "></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 "></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 "></polygon></svg>',c(t,"class","FullscreenButton")},m(i,s){Q(i,t,s),r||(n=ue(t,"click",e[70]),r=!0)},p:fe,d(i){i&&J(t),r=!1,n()}}}function F0(e){let t,r,n=e[12].name+"",i,s,a,o,l,u,f,m=e[27]("signIn")+"",p,w,S,v=e[27]("register")+"",D,W,L,T,B,j;return{c(){t=b("div"),r=b("h3"),i=q(n),s=X(),a=b("img"),l=X(),u=b("div"),f=b("button"),p=q(m),w=X(),S=b("button"),D=q(v),W=X(),L=b("p"),T=q(e[4]),ve(a.src,o=e[12].thumbnail)||c(a,"src",o),c(a,"class","GameThumbnail"),c(a,"alt","game thumbnail"),c(a,"loading","lazy"),c(f,"class","LoginButton"),c(S,"class","RegisterButton"),c(u,"class","ButtonsContainer"),c(t,"class","GameDetails"),c(t,"part","GameDetails")},m(k,E){Q(k,t,E),d(t,r),d(r,i),d(t,s),d(t,a),d(t,l),d(t,u),d(u,f),d(f,p),d(u,w),d(u,S),d(S,D),d(t,W),d(t,L),d(L,T),B||(j=[ue(f,"click",e[64]),ue(S,"click",e[65])],B=!0)},p(k,E){E[0]&4096&&n!==(n=k[12].name+"")&&K(i,n),E[0]&4096&&!ve(a.src,o=k[12].thumbnail)&&c(a,"src",o),E[0]&134217728&&m!==(m=k[27]("signIn")+"")&&K(p,m),E[0]&134217728&&v!==(v=k[27]("register")+"")&&K(D,v),E[0]&16&&K(T,k[4])},d(k){k&&J(t),B=!1,Pe(j)}}}function I0(e){let t,r,n=e[12].name+"",i,s,a,o,l,u,f,m=e[27]("signIn")+"",p,w,S,v=e[27]("register")+"",D,W,L,T=e[27]("playForFun")+"",B,j,k,E,M,I;return{c(){t=b("div"),r=b("h3"),i=q(n),s=X(),a=b("img"),l=X(),u=b("div"),f=b("button"),p=q(m),w=X(),S=b("button"),D=q(v),W=X(),L=b("button"),B=q(T),j=X(),k=b("p"),E=q(e[4]),ve(a.src,o=e[12].thumbnail)||c(a,"src",o),c(a,"class","GameThumbnail"),c(a,"alt","game thumbnail"),c(a,"loading","lazy"),c(f,"class","LoginButton"),c(S,"class","RegisterButton"),c(L,"class","FullWidthButton"),c(u,"class","ButtonsContainer"),c(t,"class","GameDetails")},m(O,re){Q(O,t,re),d(t,r),d(r,i),d(t,s),d(t,a),d(t,l),d(t,u),d(u,f),d(f,p),d(u,w),d(u,S),d(S,D),d(u,W),d(u,L),d(L,B),d(t,j),d(t,k),d(k,E),M||(I=[ue(f,"click",e[61]),ue(S,"click",e[62]),ue(L,"click",e[63])],M=!0)},p(O,re){re[0]&4096&&n!==(n=O[12].name+"")&&K(i,n),re[0]&4096&&!ve(a.src,o=O[12].thumbnail)&&c(a,"src",o),re[0]&134217728&&m!==(m=O[27]("signIn")+"")&&K(p,m),re[0]&134217728&&v!==(v=O[27]("register")+"")&&K(D,v),re[0]&134217728&&T!==(T=O[27]("playForFun")+"")&&K(B,T),re[0]&16&&K(E,O[4])},d(O){O&&J(t),M=!1,Pe(I)}}}function N0(e){let t,r,n,i=e[12].name+"",s,a,o,l,u,f,m,p=e[27]("deposit")+"",w,S,v,D=e[27]("playNow")+"",W,L,T,B,j,k,E,M=e[0]=="true"&&gs(e),I=e[1]==="true"&&ys(e);return{c(){M&&M.c(),t=X(),r=b("div"),n=b("h3"),s=q(i),a=X(),o=b("img"),u=X(),f=b("div"),m=b("button"),w=q(p),S=X(),v=b("button"),W=q(D),L=X(),I&&I.c(),T=X(),B=b("p"),j=q(e[4]),ve(o.src,l=e[12].thumbnail)||c(o,"src",l),c(o,"class","GameThumbnail"),c(o,"alt","game thumbnail"),c(o,"loading","lazy"),c(m,"class","DepositButton"),c(v,"class","PlayNowButton"),c(f,"class","ButtonsContainer"),c(r,"class","GameDetails")},m(O,re){M&&M.m(O,re),Q(O,t,re),Q(O,r,re),d(r,n),d(n,s),d(r,a),d(r,o),d(r,u),d(r,f),d(f,m),d(m,w),d(f,S),d(f,v),d(v,W),d(r,L),I&&I.m(r,null),d(r,T),d(r,B),d(B,j),k||(E=[ue(m,"click",e[58]),ue(v,"click",e[59])],k=!0)},p(O,re){O[0]=="true"?M?M.p(O,re):(M=gs(O),M.c(),M.m(t.parentNode,t)):M&&(M.d(1),M=null),re[0]&4096&&i!==(i=O[12].name+"")&&K(s,i),re[0]&4096&&!ve(o.src,l=O[12].thumbnail)&&c(o,"src",l),re[0]&134217728&&p!==(p=O[27]("deposit")+"")&&K(w,p),re[0]&134217728&&D!==(D=O[27]("playNow")+"")&&K(W,D),O[1]==="true"?I?I.p(O,re):(I=ys(O),I.c(),I.m(r,T)):I&&(I.d(1),I=null),re[0]&16&&K(j,O[4])},d(O){O&&(J(t),J(r)),M&&M.d(O),I&&I.d(),k=!1,Pe(E)}}}function gs(e){let t;function r(s,a){return s[8]?H0:L0}let n=r(e),i=n(e);return{c(){i.c(),t=tr()},m(s,a){i.m(s,a),Q(s,t,a)},p(s,a){n===(n=r(s))&&i?i.p(s,a):(i.d(1),i=n(s),i&&(i.c(),i.m(t.parentNode,t)))},d(s){s&&J(t),i.d(s)}}}function H0(e){let t,r,n,i;return{c(){t=b("div"),r=b("div"),n=b("div"),c(t,"class",i="LoaderRipple "+(e[1]=="true"?"LoaderWithPanicButton":""))},m(s,a){Q(s,t,a),d(t,r),d(t,n)},p(s,a){a[0]&2&&i!==(i="LoaderRipple "+(s[1]=="true"?"LoaderWithPanicButton":""))&&c(t,"class",i)},d(s){s&&J(t)}}}function L0(e){let t;function r(s,a){return s[13]?R0:C0}let n=r(e),i=n(e);return{c(){i.c(),t=tr()},m(s,a){i.m(s,a),Q(s,t,a)},p(s,a){n===(n=r(s))&&i?i.p(s,a):(i.d(1),i=n(s),i&&(i.c(),i.m(t.parentNode,t)))},d(s){s&&J(t),i.d(s)}}}function C0(e){let t,r,n,i,s,a;return{c(){t=b("div"),r=Pr("svg"),n=Pr("path"),me(n,"fill","var(--emfe-w-color-white, #FFFFFF)"),c(n,"d",`M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155
15
+ 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
16
+ 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
17
+ 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
18
+ 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
19
+ 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
20
+ 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
21
+ 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
22
+ l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z`),c(r,"version","1.1"),c(r,"class","UnfavoredIcon"),c(r,"xmlns","http://www.w3.org/2000/svg"),c(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),c(r,"x","20px"),c(r,"y","20px"),c(r,"viewBox","0 0 512.001 512.001"),me(r,"enable-background","new 0 0 512.001 512.001"),c(r,"xml:space","preserve"),c(t,"class",i="FavIconContainer "+(e[1]=="true"?"FavIconPanicButton":""))},m(o,l){Q(o,t,l),d(t,r),d(r,n),s||(a=ue(t,"click",e[57]),s=!0)},p(o,l){l[0]&2&&i!==(i="FavIconContainer "+(o[1]=="true"?"FavIconPanicButton":""))&&c(t,"class",i)},d(o){o&&J(t),s=!1,a()}}}function R0(e){let t,r,n,i,s,a;return{c(){t=b("div"),r=Pr("svg"),n=Pr("path"),me(n,"fill","var(--emfe-w-color-white, #FFFFFF)"),c(n,"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"),c(r,"version","1.1"),c(r,"class","FavoredIcon"),c(r,"part","FavoredIcon"),c(r,"xmlns","http://www.w3.org/2000/svg"),c(r,"viewBox","0 0 19.481 19.481"),c(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),c(r,"enable-background","new 0 0 19.481 19.481"),c(t,"class",i="FavIconContainer "+(e[1]=="true"?"FavIconPanicButton":""))},m(o,l){Q(o,t,l),d(t,r),d(r,n),s||(a=ue(t,"click",e[56]),s=!0)},p(o,l){l[0]&2&&i!==(i="FavIconContainer "+(o[1]=="true"?"FavIconPanicButton":""))&&c(t,"class",i)},d(o){o&&J(t),s=!1,a()}}}function ys(e){let t,r,n=e[27]("breakButton")+"",i;return{c(){t=b("div"),r=b("button"),i=q(n),c(r,"class","PanicButton "+(ss(e[28])!=="PC"?"PanicButtonMobile":"")),Ke(r,"PanicButtonAnimation",e[11]),c(t,"class","PanicSection "+(ss(e[28])!=="PC"?"PanicSectionMobile":""))},m(s,a){Q(s,t,a),d(t,r),d(r,i),e[60](r)},p(s,a){a[0]&134217728&&n!==(n=s[27]("breakButton")+"")&&K(i,n),a[0]&2048&&Ke(r,"PanicButtonAnimation",s[11])},d(s){s&&J(t),e[60](null)}}}function A0(e){let t;function r(s,a){return s[10]?w0:s[9]?v0:b0}let n=r(e),i=n(e);return{c(){t=b("div"),i.c()},m(s,a){Q(s,t,a),i.m(t,null),e[87](t)},p(s,a){n===(n=r(s))&&i?i.p(s,a):(i.d(1),i=n(s),i&&(i.c(),i.m(t,null)))},i:fe,o:fe,d(s){s&&J(t),i.d(),e[87](null)}}}function B0(e,t,r){let n,i;zo(e,ch,h=>r(27,i=h));let{endpoint:s=""}=t,{lang:a=""}=t,{session:o=""}=t,{userid:l=""}=t,{clientstyling:u=""}=t,{clientstylingurl:f=""}=t,{translationurl:m=""}=t,{favorites:p=""}=t,{loginurl:w=""}=t,{registerurl:S=""}=t,{depositurl:v=""}=t,{loginevent:D=""}=t,{registerevent:W=""}=t,{depositevent:L=""}=t,{shortcashierenabled:T=""}=t,{clockformat:B=""}=t,{haspanicbutton:j="false"}=t,{playforfun:k="true"}=t,{checksession:E="true"}=t,{integratedgameframedesktop:M="false"}=t,{integratedgameframemobile:I="false"}=t,{gameid:O=""}=t,re,Ct,tt=!1,wi=!1,Rt=!1,Si=!1,rt=!0,nt,V,ar=!1,or=0,en,N,it=!1,ct=!1,Ei=!1,xi=!1,lr=!0,ae,Ve,At,Te=!1,tn,rn,ur,hr,nn,sn,st=window.navigator.userAgent,fr=!1,ze=[],Ze=[],at,Bt,Yt,an="false",ki="",cr;mh({withLocale:"en",translations:{}});const Za=()=>{fetch(m).then(P=>P.json()).then(P=>{Object.keys(P).forEach(z=>{as(z,P[z])})}).catch(P=>{console.log(P)})};Object.keys(os).forEach(h=>{as(h,os[h])});const Mi=h=>{let P=new URL(h.launchUrl);return P.searchParams.append("language",a),nt&&nt.length>0&&(r(6,tt=!0),P.searchParams.append("_sid",nt),P.searchParams.append("funMode","false")),h.launchUrl=P,h},Ti=(h,P)=>{let z=new URL(`${s}/v1/casino/games/${h}`);z.searchParams.append("language",a),z.searchParams.append("expand","vendor"),lr=P,fetch(z.href).then($=>$.json()).then($=>{r(12,N=Mi($[0])),r(10,rt=!1),N.launchUrl&&(r(13,it=Pi(N,N.hasFunMode)),r(8,Rt=!1))},$=>{console.error("There was an error",$),r(9,Si=!0)}).then(()=>{ae&&(lr?un():Ka())}).finally(()=>{r(10,rt=!1)}),window.postMessage({type:"RequestModalSize"},window.location.href),$a(o,l)},Oi=()=>{V==null||V.addEventListener("mousedown",pr,!1),V==null||V.addEventListener("touchstart",pr,!1),V==null||V.addEventListener("mouseup",gr,!1),V==null||V.addEventListener("touchend",gr,!1)},Di=()=>{r(11,ar=!1),V==null||V.removeEventListener("mousedown",pr),V==null||V.removeEventListener("touchstart",pr),V==null||V.removeEventListener("mouseup",gr),V==null||V.removeEventListener("touchend",gr)},on=h=>{var P;switch(h.data.type){case"GameLaunchID":Ti(h.data.gameId,!0);break;case"LaunchGameFrame":Ja(h.data.gameId,h.data.gameFunMode);break;case"ModalClosed":M==="true"||gt(st)?(r(55,an="false"),Di(),gt(st)?setTimeout(()=>{r(14,ct=I==="true")},500):setTimeout(()=>{r(14,ct=M==="true")},500)):M==="false"&&((P=h.data)==null?void 0:P.closeIntegratedGameFrameDesktop)!==!0&&window.postMessage({type:"DisableScroll"},window.location.href);break;case"UserSessionID":if(h.data.session.length>0){nt=h.data.session,h.data.userID,r(6,tt=!0);let z=setInterval(()=>{if(N){let $=new URL(N.launchUrl);$.searchParams.get("_sid")||$.searchParams.append("_sid",nt),$.searchParams.get("funMode")||$.searchParams.append("funMode",!1),$.searchParams.get("_sid")||$.searchParams.append("language",a),r(12,N.launchUrl=$,N),clearInterval(z)}},250)}break;case"ModalSize":r(21,tn=h.data.modalContainerSize.modalWidth),r(22,rn=h.data.modalContainerSize.modalHeight);break}},$a=(h,P)=>{let z=`${s}/v1/player/${P}/favorites/`;r(10,rt=!0);let $={method:"GET",headers:{"X-SessionID":h}};return new Promise((ye,Ne)=>{fetch(z,$).then($e=>$e.json()).then($e=>{r(10,rt=!1),ze=$e.items,ze?(N&&N.id&&r(13,it=dr(N.id)),r(8,Rt=!1),ze.forEach(yr=>{Ze.includes(yr.id)||Ze.push(yr.id)})):ze=[],ye(ze)}).catch($e=>{console.error($e),Ne($e)})})},ln=h=>{it?qa(`${s}/v1/player/${l}/favorites`,o,N.id):Xa(`${s}/v1/player/${l}/favorites`,o,N)};let Xa=(h,P,z)=>dn(this,null,function*(){Ze.includes(z.id)||Ze.push(z.id);let ye={method:"POST",headers:{"X-SessionID":P,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:Ze})};fetch(h,ye).then(Ne=>Ne.json()).then(Ne=>{window.postMessage({type:`AddFavoriteThumbnail_${z.id}`},window.location.href),window.postMessage({type:"UpdateFavoredList",url:h,sessionID:P}),Ne.items&&(ze=Ne.items),r(13,it=dr(z.id))}).catch(Ne=>{console.error("Err",Ne)})});const qa=(h,P,z)=>{let $={method:"DELETE",headers:{"X-SessionID":P}};fetch(`${h}/${z}`,$).then(ye=>ye.json()).then(ye=>{window.postMessage({type:`RemoveFavoriteThumbnail_${z}`},window.location.href),window.postMessage({type:"UpdateFavoredList",url:h,sessionID:P}),ye.items&&(ze=ye.items),r(13,it=dr(N.id))}),Ze.includes(z)&&(Ze=Ze.filter(ye=>ye!=z))},dr=h=>ze.findIndex(P=>P.id==h)!==-1,Pi=(h,P)=>(r(16,xi=k=="true"?h.hasAnonymousFunMode:!1),r(15,Ei=k=="true"?P:!1),r(14,ct=!0),dr(h.id)),Ja=(h,P)=>{let z=new URL(`${s}/v1/casino/games/${h}`);z.searchParams.append("language",a),fetch(z.href).then($=>$.json()).then($=>{r(12,N=Mi($[0])),r(10,rt=!1),N.launchUrl&&(r(13,it=Pi(N,P)),r(8,Rt=!1))}).finally(()=>{r(10,rt=!1)})},Qa=()=>{if(Te)return;const h=($,ye)=>{const $e=$[0].intersectionRatio,yr=$[0].isIntersecting,Bo=parseInt(getComputedStyle(ae).height);cr||(cr=Bo*Math.max($e,.5)),r(17,ae.style.height=`${cr}px`,ae),r(18,Ve.style.height=`${cr}px`,Ve),yr&&r(19,At.style.height=`${ae.style.height}px`,At),ye.unobserve(ae)},P={threshold:0};new IntersectionObserver(h,P).observe(ae)},Ka=()=>{r(21,tn=N.width),r(22,rn=N.height),nn=`${N.width}px`,sn=`${N.height}px`,ur=N.width,hr=N.height,un()},un=()=>{let h=getComputedStyle(ae);getComputedStyle(Ve),parseInt(h.width.slice(0,-2)),parseInt(h.height.slice(0,-2));const P=N.width/(N.height+100);ur=parseInt(N.width)*P,hr=parseInt(N.height),nn=ur?`${Math.floor(ur)}px`:"1280px",sn=hr?`${Math.floor(hr)}px`:"720px",ro()},hn=h=>{gt(st)?Fi(I):Fi(M)},Fi=h=>{var P;h=="false"?window.open(N.launchUrl,"_blank"):h=="true"&&window.postMessage({type:"OpenIntegratedGameFrame",subVendor:N.subVendor,gameId:N.id,launchUrl:(P=N.launchUrl)==null?void 0:P.href},window.location.href)},Ii=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:ct},window.location.href),ct&&(ae&&un(),window.addEventListener("ModalSize",on,!1))},Ut=()=>{D&&(gt(st)&&window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:D,transition:"Login"},window.location.href)),w&&(window.location=w),typeof gtag=="function"&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},Gt=()=>{W&&(gt(st)&&window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:W,transition:"Register"},window.location.href)),S&&(window.location=S),typeof gtag=="function"&&gtag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},fn=h=>{n&&!h?window.postMessage({type:"OpenShortCashier"},window.location.href):L&&(window.postMessage({type:L},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),typeof gtag=="function"&&gtag("event","GoToDeposit",{context:"IntegratedGamePage"}),v&&!n&&(window.location=v)};document.addEventListener&&(document.addEventListener("webkitfullscreenchange",mr,!1),document.addEventListener("mozfullscreenchange",mr,!1),document.addEventListener("fullscreenchange",mr,!1),document.addEventListener("MSFullscreenChange",mr,!1));function mr(){!document.webkitIsFullScreen&&!document.mozFullScreen&&!document.msFullscreenElement&&Te&&dt()}const dt=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(Te?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(20,Te=!1)):(ae.requestFullscreen?ae.requestFullscreen():ae.webkitRequestFullscreen?ae.webkitRequestFullscreen():ae.mozRequestFullScreen?ae.mozRequestFullScreen():ae.msRequestFullscreen&&ae.msRequestFullscreen(),r(20,Te=!0)))},eo=()=>{B?r(4,re=y().format(B)):r(4,re=y().format("LTS"))};setInterval(()=>{eo()},100);const to=()=>{ph(a),r(23,fr=gt(st))},Ni=()=>{E=="true"?dh(s,o).then(h=>{nt=h.Guid,h.UserID,r(6,tt=!0)},h=>{r(6,tt=!1),console.error("err on session",h)}):(nt=o,r(6,tt=!0))},pr=h=>{or=0,en=setInterval(()=>{or+=1,r(11,ar=!0),or>=3&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(en))},1e3)},gr=h=>{or<3&&r(11,ar=!1),clearInterval(en)},ro=()=>{let h=Te?"100%":nn,P=Te?"100%":sn,z=Te||!lr?"none":N.width?`${Math.floor(N.width)}px`:"1280px",$=Te||!lr?"none":N.height?`${Math.floor(N.height)+100}px`:"720px";r(26,ki=`width: ${h}; height: ${P}; max-width: ${z}; max-height: ${$}`),Qa()},no=()=>{let h=document.createElement("style");h.innerHTML=u,at.appendChild(h)},io=()=>{let h=document.createElement("style");if(f){let P=new URL(f);fetch(P.href).then(z=>z.text()).then(z=>{h.innerHTML=z,setTimeout(()=>{at.appendChild(h)},1)})}};Qo(()=>{r(7,wi=(o||l)&&!tt)}),Ko(()=>(window.addEventListener("resize",Ii,!1),window.addEventListener("message",on,!1),()=>{Di(),window.removeEventListener("resize",Ii),window.removeEventListener("message",on)}));const so=()=>{r(8,Rt=!0)},ao=()=>ln(N.id),oo=()=>ln(N.id),lo=()=>fn(fr),uo=()=>{hn()};function ho(h){he[h?"unshift":"push"](()=>{V=h,r(2,V)})}const fo=()=>Ut(),co=()=>Gt(),mo=()=>{hn()},po=()=>Ut(),go=()=>Gt();function yo(h){he[h?"unshift":"push"](()=>{Ct=h,r(5,Ct)})}const _o=()=>fn(fr);function bo(h){he[h?"unshift":"push"](()=>{Yt=h,r(25,Yt)})}function vo(h){he[h?"unshift":"push"](()=>{V=h,r(2,V)})}const wo=()=>dt(),So=()=>dt();function Eo(h){he[h?"unshift":"push"](()=>{Bt=h,r(24,Bt)})}function xo(h){he[h?"unshift":"push"](()=>{Ve=h,r(18,Ve)})}function ko(h){he[h?"unshift":"push"](()=>{ae=h,r(17,ae)})}function Mo(h){he[h?"unshift":"push"](()=>{Ct=h,r(5,Ct)})}const To=()=>Ut(),Oo=()=>Gt();function Do(h){he[h?"unshift":"push"](()=>{Yt=h,r(25,Yt)})}const Po=()=>dt(),Fo=()=>dt();function Io(h){he[h?"unshift":"push"](()=>{Bt=h,r(24,Bt)})}function No(h){he[h?"unshift":"push"](()=>{Ve=h,r(18,Ve)})}function Ho(h){he[h?"unshift":"push"](()=>{ae=h,r(17,ae)})}const Lo=()=>Ut(),Co=()=>Gt();function Ro(h){he[h?"unshift":"push"](()=>{At=h,r(19,At)})}function Ao(h){he[h?"unshift":"push"](()=>{at=h,r(3,at)})}return e.$$set=h=>{"endpoint"in h&&r(35,s=h.endpoint),"lang"in h&&r(36,a=h.lang),"session"in h&&r(37,o=h.session),"userid"in h&&r(38,l=h.userid),"clientstyling"in h&&r(39,u=h.clientstyling),"clientstylingurl"in h&&r(40,f=h.clientstylingurl),"translationurl"in h&&r(41,m=h.translationurl),"favorites"in h&&r(0,p=h.favorites),"loginurl"in h&&r(42,w=h.loginurl),"registerurl"in h&&r(43,S=h.registerurl),"depositurl"in h&&r(44,v=h.depositurl),"loginevent"in h&&r(45,D=h.loginevent),"registerevent"in h&&r(46,W=h.registerevent),"depositevent"in h&&r(47,L=h.depositevent),"shortcashierenabled"in h&&r(48,T=h.shortcashierenabled),"clockformat"in h&&r(49,B=h.clockformat),"haspanicbutton"in h&&r(1,j=h.haspanicbutton),"playforfun"in h&&r(50,k=h.playforfun),"checksession"in h&&r(51,E=h.checksession),"integratedgameframedesktop"in h&&r(52,M=h.integratedgameframedesktop),"integratedgameframemobile"in h&&r(53,I=h.integratedgameframemobile),"gameid"in h&&r(54,O=h.gameid)},e.$$.update=()=>{e.$$.dirty[1]&32&&a&&to(),e.$$.dirty[1]&131072&&(n=T.toLocaleLowerCase()==="true"),e.$$.dirty[1]&8388656&&s&&O&&a&&Ti(O,!0),e.$$.dirty[1]&208&&o&&l&&s&&Ni(),e.$$.dirty[1]&1048656&&E=="false"&&o&&s&&Ni(),e.$$.dirty[1]&1024&&m&&Za(),e.$$.dirty[0]&1&&p&&so(),e.$$.dirty[0]&8|e.$$.dirty[1]&256&&u&&at&&no(),e.$$.dirty[0]&8|e.$$.dirty[1]&512&&f&&at&&io(),e.$$.dirty[0]&4|e.$$.dirty[1]&16777216&&an=="true"&&V&&Oi(),e.$$.dirty[0]&4&&V&&Oi()},[p,j,V,at,re,Ct,tt,wi,Rt,Si,rt,ar,N,it,ct,Ei,xi,ae,Ve,At,Te,tn,rn,fr,Bt,Yt,ki,i,st,ln,hn,Ut,Gt,fn,dt,s,a,o,l,u,f,m,w,S,v,D,W,L,T,B,k,E,M,I,O,an,ao,oo,lo,uo,ho,fo,co,mo,po,go,yo,_o,bo,vo,wo,So,Eo,xo,ko,Mo,To,Oo,Do,Po,Fo,Io,No,Ho,Lo,Co,Ro,Ao]}class za extends fl{constructor(t){super(),ul(this,t,B0,A0,bs,{endpoint:35,lang:36,session:37,userid:38,clientstyling:39,clientstylingurl:40,translationurl:41,favorites:0,loginurl:42,registerurl:43,depositurl:44,loginevent:45,registerevent:46,depositevent:47,shortcashierenabled:48,clockformat:49,haspanicbutton:1,playforfun:50,checksession:51,integratedgameframedesktop:52,integratedgameframemobile:53,gameid:54},_0,[-1,-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[35]}set endpoint(t){this.$$set({endpoint:t}),ne()}get lang(){return this.$$.ctx[36]}set lang(t){this.$$set({lang:t}),ne()}get session(){return this.$$.ctx[37]}set session(t){this.$$set({session:t}),ne()}get userid(){return this.$$.ctx[38]}set userid(t){this.$$set({userid:t}),ne()}get clientstyling(){return this.$$.ctx[39]}set clientstyling(t){this.$$set({clientstyling:t}),ne()}get clientstylingurl(){return this.$$.ctx[40]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),ne()}get translationurl(){return this.$$.ctx[41]}set translationurl(t){this.$$set({translationurl:t}),ne()}get favorites(){return this.$$.ctx[0]}set favorites(t){this.$$set({favorites:t}),ne()}get loginurl(){return this.$$.ctx[42]}set loginurl(t){this.$$set({loginurl:t}),ne()}get registerurl(){return this.$$.ctx[43]}set registerurl(t){this.$$set({registerurl:t}),ne()}get depositurl(){return this.$$.ctx[44]}set depositurl(t){this.$$set({depositurl:t}),ne()}get loginevent(){return this.$$.ctx[45]}set loginevent(t){this.$$set({loginevent:t}),ne()}get registerevent(){return this.$$.ctx[46]}set registerevent(t){this.$$set({registerevent:t}),ne()}get depositevent(){return this.$$.ctx[47]}set depositevent(t){this.$$set({depositevent:t}),ne()}get shortcashierenabled(){return this.$$.ctx[48]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),ne()}get clockformat(){return this.$$.ctx[49]}set clockformat(t){this.$$set({clockformat:t}),ne()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),ne()}get playforfun(){return this.$$.ctx[50]}set playforfun(t){this.$$set({playforfun:t}),ne()}get checksession(){return this.$$.ctx[51]}set checksession(t){this.$$set({checksession:t}),ne()}get integratedgameframedesktop(){return this.$$.ctx[52]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),ne()}get integratedgameframemobile(){return this.$$.ctx[53]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),ne()}get gameid(){return this.$$.ctx[54]}set gameid(t){this.$$set({gameid:t}),ne()}}hl(za,{endpoint:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},favorites:{},loginurl:{},registerurl:{},depositurl:{},loginevent:{},registerevent:{},depositevent:{},shortcashierenabled:{},clockformat:{},haspanicbutton:{},playforfun:{},checksession:{},integratedgameframedesktop:{},integratedgameframemobile:{},gameid:{}},[],[],!0);exports.default=za;