@everymatrix/casino-game-thumbnail 0.0.244 → 0.0.248
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function B(){}function h(e){return e()}function d(){return Object.create(null)}function H(e){e.forEach(h)}function f(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function _e(e,...t){if(null==e)return B;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function W(e,t){e.appendChild(t)}function V(e,t,n){e.insertBefore(t,n||null)}function z(e){e.parentNode.removeChild(e)}function m(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function X(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Z(e){return document.createTextNode(e)}function K(){return Z(" ")}function l(){return Z("")}function q(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function J(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Q(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}class y{constructor(e=null){this.a=e,this.e=this.n=null}m(e,t,n=null){this.e||(this.e=X(t.nodeName),this.t=t,this.h(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)V(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(z)}}let ve;function p(e){ve=e}const g=[],we=[],r=[],e=[],i=Promise.resolve();let s=!1;function b(){s||(s=!0,i.then(v))}function Ee(){return b(),i}function _(e){r.push(e)}let o=!1;const a=new Set;function v(){if(!o){o=!0;do{for(let e=0;e<g.length;e+=1){var t=g[e];p(t),function(e){{var t;null!==e.fragment&&(e.update(),H(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(_))}}(t.$$)}for(p(null),g.length=0;we.length;)we.pop()();for(let e=0;e<r.length;e+=1){const n=r[e];a.has(n)||(a.add(n),n())}}while(r.length=0,g.length);for(;e.length;)e.pop()();s=!1,o=!1,a.clear()}}const w=new Set;function u(r,e,t,n,i,s,o=[-1]){var a,l=ve;p(r);const u=r.$$={fragment:null,ctx:null,props:s,update:B,not_equal:i,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:d(),dirty:o,skip_bound:!1};let c=!1;if(u.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return u.ctx&&i(u.ctx[e],u.ctx[e]=n)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](n),c&&(n=e,-1===(e=r).$$.dirty[0]&&(g.push(e),b(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],u.update(),c=!0,H(u.before_update),u.fragment=!!n&&n(u.ctx),e.target){if(e.hydrate){const B=(n=e.target,Array.from(n.childNodes));u.fragment&&u.fragment.l(B),B.forEach(z)}else u.fragment&&u.fragment.c();e.intro&&(a=r.$$.fragment)&&a.i&&(w.delete(a),a.i(void 0)),function(t,e,n,r){const{fragment:i,on_mount:s,on_destroy:o,after_update:a}=t.$$;i&&i.m(e,n),r||_(()=>{var e=s.map(h).filter(f);o?o.push(...e):H(e),t.$$.on_mount=[]}),a.forEach(_)}(r,e.target,e.anchor,e.customElement),v()}p(l)}let c;function Gn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}"function"==typeof HTMLElement&&(c=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(h).filter(f);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){H(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(H(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=B}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var E,Cn,T,S,L=(Cn=E={path:void 0,exports:{},require:function(e,t){return Gn(null==t&&E.path)}},E.exports,Cn.exports=function(){var e;function m(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){for(var n=[],r=0;r<e.length;++r)n.push(t(e[r],r));return n}function c(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return Dt(e,t,n,r,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function d(e){if(null==e._isValid){var t=p(e),n=g.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function y(e){var t=h(NaN);return null!=e?c(p(t),e):p(t).userInvalidated=!0,t}var g=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},b=m.momentProperties=[],t=!1;function _(e,t){var n,r,i;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=p(t)),s(t._locale)||(e._locale=t._locale),0<b.length)for(n=0;n<b.length;n++)s(i=t[r=b[n]])||(e[r]=i);return e}function v(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function w(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function E(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,s){var o=!0;return c(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,i),o){for(var e,t,n=[],r=0;r<arguments.length;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}E(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return s.apply(this,arguments)},s)}var T={};function S(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),T[e]||(E(t),T[e]=!0)}function L(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function x(e,t){var n,r=c({},e);for(n in t)f(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},c(r[n],e[n]),c(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)f(e,n)&&!f(t,n)&&a(e[n])&&(r[n]=c({},r[n]));return r}function k(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var O=Object.keys||function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};function D(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var M=/(\[[^\[]*\])|(\\)?([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,G=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,C={},P={};function I(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(P[e]=i),t&&(P[t[0]]=function(){return D(i.apply(this,arguments),t[1],t[2])}),n&&(P[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=R(t,e.localeData()),C[t]=C[t]||function(r){for(var e,i=r.match(M),t=0,s=i.length;t<s;t++)P[i[t]]?i[t]=P[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<s;n++)t+=L(i[n])?i[n].call(e,r):i[n];return t}}(t),C[t](e)):e.localeData().invalidDate()}function R(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(G.lastIndex=0;0<=n&&G.test(e);)e=e.replace(G,r),G.lastIndex=0,--n;return e}var A={};function F(e,t){var n=e.toLowerCase();A[n]=A[n+"s"]=A[t]=e}function Y(e){return"string"==typeof e?A[e]||A[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)f(e,n)&&(t=Y(n))&&(r[t]=e[n]);return r}var $={};function j(e,t){$[e]=t}function B(e){return e%4==0&&e%100!=0||e%400==0}function H(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function W(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?H(t):e}function V(t,n){return function(e){return null!=e?(X(this,t,e),m.updateOffset(this,n),this):z(this,t)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function X(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&B(e.year())&&1===e.month()&&29===e.date()?(n=W(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Oe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Z=/\d/,K=/\d\d/,q=/\d{3}/,J=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,re=/\d{1,3}/,ie=/\d{1,4}/,se=/[+-]?\d{1,6}/,oe=/\d+/,ae=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,n,r){me[e]=L(n)?n:function(e,t){return e&&r?r:n}}function de(e,t){return f(me,e)?me[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},pe={};function ye(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),u(n)&&(r=function(e,t){t[n]=W(e)}),t=0;t<e.length;t++)pe[e[t]]=r}function ge(e,i){ye(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var be,_e=0,ve=1,we=2,Ee=3,Te=4,Se=5,Le=6,xe=7,ke=8;function Oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?B(e)?29:28:31-n%7%2}be=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},I("M",["MM",2],"Mo",function(){return this.month()+1}),I("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),I("MMMM",0,0,function(e){return this.localeData().months(this,e)}),F("month","M"),j("month",8),he("M",ee),he("MM",ee,K),he("MMM",function(e,t){return t.monthsShortRegex(e)}),he("MMMM",function(e,t){return t.monthsRegex(e)}),ye(["M","MM"],function(e,t){t[ve]=W(e)-1}),ye(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[ve]=r:p(n).invalidMonth=e});var De="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Me="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ge=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ce=ce,Pe=ce;function Ie(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=W(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ne(e){return null!=e?(Ie(this,e),m.updateOffset(this,!0),this):z(this,"Month")}function Re(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],s=0;s<12;s++)t=h([2e3,s]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),s=0;s<12;s++)n[s]=fe(n[s]),r[s]=fe(r[s]);for(s=0;s<24;s++)i[s]=fe(i[s]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ae(e){return B(e)?366:365}I("Y",0,0,function(){var e=this.year();return e<=9999?D(e,4):"+"+e}),I(0,["YY",2],0,function(){return this.year()%100}),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),F("year","y"),j("year",1),he("Y",ae),he("YY",ee,K),he("YYYY",ie,J),he("YYYYY",se,Q),he("YYYYYY",se,Q),ye(["YYYYY","YYYYYY"],_e),ye("YYYY",function(e,t){t[_e]=2===e.length?m.parseTwoDigitYear(e):W(e)}),ye("YY",function(e,t){t[_e]=m.parseTwoDigitYear(e)}),ye("Y",function(e,t){t[_e]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return W(e)+(68<W(e)?1900:2e3)};var Fe=V("FullYear",!0);function Ye(e,t,n,r,i,s,o){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,r,i,s,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,s,o),a}function Ue(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function $e(e,t,n){n=7+t-n;return-(7+Ue(e,0,n).getUTCDay()-t)%7+n-1}function je(e,t,n,r,i){var s,i=1+7*(t-1)+(7+n-r)%7+$e(e,r,i),i=i<=0?Ae(s=e-1)+i:i>Ae(e)?(s=e+1,i-Ae(e)):(s=e,i);return{year:s,dayOfYear:i}}function Be(e,t,n){var r,i,s=$e(e.year(),t,n),s=Math.floor((e.dayOfYear()-s-1)/7)+1;return s<1?r=s+He(i=e.year()-1,t,n):s>He(e.year(),t,n)?(r=s-He(e.year(),t,n),i=e.year()+1):(i=e.year(),r=s),{week:r,year:i}}function He(e,t,n){var r=$e(e,t,n),n=$e(e+1,t,n);return(Ae(e)-r+n)/7}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),j("week",5),j("isoWeek",5),he("w",ee),he("ww",ee,K),he("W",ee),he("WW",ee,K),ge(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=W(e)});function We(e,t){return e.slice(t,7).concat(e.slice(0,t))}I("d",0,"do","day"),I("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),I("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),I("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),he("d",ee),he("e",ee),he("E",ee),he("dd",function(e,t){return t.weekdaysMinRegex(e)}),he("ddd",function(e,t){return t.weekdaysShortRegex(e)}),he("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:p(n).invalidWeekday=e}),ge(["d","e","E"],function(e,t,n,r){t[r]=W(e)});var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ze=ce,Ke=ce,qe=ce;function Je(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],s=[],o=[],a=[],l=0;l<7;l++)r=h([2e3,1]).day(l),t=fe(this.weekdaysMin(r,"")),n=fe(this.weekdaysShort(r,"")),r=fe(this.weekdays(r,"")),i.push(t),s.push(n),o.push(r),a.push(t),a.push(n),a.push(r);i.sort(e),s.sort(e),o.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){I(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Qe),I("k",["kk",2],0,function(){return this.hours()||24}),I("hmm",0,0,function(){return""+Qe.apply(this)+D(this.minutes(),2)}),I("hmmss",0,0,function(){return""+Qe.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)}),I("Hmm",0,0,function(){return""+this.hours()+D(this.minutes(),2)}),I("Hmmss",0,0,function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)}),et("a",!0),et("A",!1),F("hour","h"),j("hour",13),he("a",tt),he("A",tt),he("H",ee),he("h",ee),he("k",ee),he("HH",ee,K),he("hh",ee,K),he("kk",ee,K),he("hmm",te),he("hmmss",ne),he("Hmm",te),he("Hmmss",ne),ye(["H","HH"],Ee),ye(["k","kk"],function(e,t,n){e=W(e);t[Ee]=24===e?0:e}),ye(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ye(["h","hh"],function(e,t,n){t[Ee]=W(e),p(n).bigHour=!0}),ye("hmm",function(e,t,n){var r=e.length-2;t[Ee]=W(e.substr(0,r)),t[Te]=W(e.substr(r)),p(n).bigHour=!0}),ye("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ee]=W(e.substr(0,r)),t[Te]=W(e.substr(r,2)),t[Se]=W(e.substr(i)),p(n).bigHour=!0}),ye("Hmm",function(e,t,n){var r=e.length-2;t[Ee]=W(e.substr(0,r)),t[Te]=W(e.substr(r))}),ye("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ee]=W(e.substr(0,r)),t[Te]=W(e.substr(r,2)),t[Se]=W(e.substr(i))});var nt=V("Hours",!0);var rt,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:De,monthsShort:Me,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:Xe,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},st={},ot={};function at(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,s=0;s<e.length;){for(t=(i=at(e[s]).split("-")).length,n=(n=at(e[s+1]))?n.split("-"):null;0<t;){if(r=ut(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}s++}return rt}function ut(t){var e;if(void 0===st[t]&&Cn&&Cn.exports)try{e=rt._abbr,Gn(),ct(e)}catch(e){st[t]=null}return st[t]}function ct(e,t){return e&&((t=s(t)?dt(e):ht(e,t))?rt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function ht(e,t){if(null===t)return delete st[e],null;var n,r=it;if(t.abbr=e,null!=st[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=st[e]._config;else if(null!=t.parentLocale)if(null!=st[t.parentLocale])r=st[t.parentLocale]._config;else{if(null==(n=ut(t.parentLocale)))return ot[t.parentLocale]||(ot[t.parentLocale]=[]),ot[t.parentLocale].push({name:e,config:t}),null;r=n._config}return st[e]=new k(x(r,t)),ot[e]&&ot[e].forEach(function(e){ht(e.name,e.config)}),ct(e),st[e]}function dt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!o(e)){if(t=ut(e))return t;e=[e]}return lt(e)}function ft(e){var t=e._a;return t&&-2===p(e).overflow&&(t=t[ve]<0||11<t[ve]?ve:t[we]<1||t[we]>Oe(t[_e],t[ve])?we:t[Ee]<0||24<t[Ee]||24===t[Ee]&&(0!==t[Te]||0!==t[Se]||0!==t[Le])?Ee:t[Te]<0||59<t[Te]?Te:t[Se]<0||59<t[Se]?Se:t[Le]<0||999<t[Le]?Le:-1,p(e)._overflowDayOfYear&&(t<_e||we<t)&&(t=we),p(e)._overflowWeeks&&-1===t&&(t=xe),p(e)._overflowWeekday&&-1===t&&(t=ke),p(e).overflow=t),e}var mt=/^\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)?)?$/,pt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,gt=[["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]],bt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_t=/^\/?Date\((-?\d+)/i,vt=/^(?:(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}))$/,wt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Et(e){var t,n,r,i,s,o,a=e._i,l=mt.exec(a)||pt.exec(a);if(l){for(p(e).iso=!0,t=0,n=gt.length;t<n;t++)if(gt[t][1].exec(l[1])){i=gt[t][0],r=!1!==gt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=bt.length;t<n;t++)if(bt[t][1].exec(l[3])){s=(l[2]||" ")+bt[t][0];break}if(null==s)return e._isValid=!1}if(!r&&null!=s)return e._isValid=!1;if(l[4]){if(!yt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(s||"")+(o||""),kt(e)}else e._isValid=!1}function Tt(e,t,n,r,i,s){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Me.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return s&&i.push(parseInt(s,10)),i}function St(e){var t,n,r,i,s=vt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));s?(t=Tt(s[4],s[3],s[2],s[5],s[6],s[7]),n=s[1],r=t,i=e,n&&ze.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(p(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=s[8],t=s[9],s=s[10],i?wt[i]:t?0:((t=parseInt(s,10))-(s=t%100))/100*60+s),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0)):e._isValid=!1}function Lt(e,t,n){return null!=e?e:null!=t?t:n}function xt(e){var t,n,r,i,s,o,a,l,u,c,h,d,f=[];if(!e._d){for(h=e,d=new Date(m.now()),n=h._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[we]&&null==e._a[ve]&&(null!=(h=(i=e)._w).GG||null!=h.W||null!=h.E?(l=1,u=4,s=Lt(h.GG,i._a[_e],Be(Mt(),1,4).year),o=Lt(h.W,1),((a=Lt(h.E,1))<1||7<a)&&(c=!0)):(l=i._locale._week.dow,u=i._locale._week.doy,d=Be(Mt(),l,u),s=Lt(h.gg,i._a[_e],d.year),o=Lt(h.w,d.week),null!=h.d?((a=h.d)<0||6<a)&&(c=!0):null!=h.e?(a=h.e+l,(h.e<0||6<h.e)&&(c=!0)):a=l),o<1||o>He(s,l,u)?p(i)._overflowWeeks=!0:null!=c?p(i)._overflowWeekday=!0:(u=je(s,o,a,l,u),i._a[_e]=u.year,i._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(r=Lt(e._a[_e],n[_e]),(e._dayOfYear>Ae(r)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),r=Ue(r,0,e._dayOfYear),e._a[ve]=r.getUTCMonth(),e._a[we]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=f[t]=n[t];for(;t<7;t++)e._a[t]=f[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ee]&&0===e._a[Te]&&0===e._a[Se]&&0===e._a[Le]&&(e._nextDay=!0,e._a[Ee]=0),e._d=(e._useUTC?Ue:Ye).apply(null,f),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ee]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(p(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],p(e).empty=!0;for(var t,n,r=""+e._i,i=r.length,s=0,o=R(e._f,e._locale).match(M)||[],a=0;a<o.length;a++)n=o[a],(t=(r.match(de(n,e))||[])[0])&&(0<(h=r.substr(0,r.indexOf(t))).length&&p(e).unusedInput.push(h),r=r.slice(r.indexOf(t)+t.length),s+=t.length),P[n]?(t?p(e).empty=!1:p(e).unusedTokens.push(n),c=n,d=e,null!=(h=t)&&f(pe,c)&&pe[c](h,d._a,d,c)):e._strict&&!t&&p(e).unusedTokens.push(n);p(e).charsLeftOver=i-s,0<r.length&&p(e).unusedInput.push(r),e._a[Ee]<=12&&!0===p(e).bigHour&&0<e._a[Ee]&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Ee]=(l=e._locale,u=e._a[Ee],null==(i=e._meridiem)?u:null!=l.meridiemHour?l.meridiemHour(u,i):null!=l.isPM?((i=l.isPM(i))&&u<12&&(u+=12),u=i||12!==u?u:0):u),null!==(u=p(e).era)&&(e._a[_e]=e._locale.erasConvertYear(u,e._a[_e])),xt(e),ft(e)}else St(e);else Et(e);var l,u,c,h,d}function Ot(e){var t=e._i,n=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new v(ft(t)):(i(t)?e._d=t:o(n)?function(e){var t,n,r,i,s,o,a=!1;if(0===e._f.length)return p(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)s=0,o=!1,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],kt(t),d(t)&&(o=!0),s+=p(t).charsLeftOver,s+=10*p(t).unusedTokens.length,p(t).score=s,a?s<r&&(r=s,n=t):(null==r||s<r||o)&&(r=s,n=t,o&&(a=!0));c(e,n||t)}(e):n?kt(e):s(n=(t=e)._i)?t._d=new Date(m.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=_t.exec(e._i);null===t?(Et(e),!1===e._isValid&&(delete e._isValid,St(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):o(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),xt(t)):a(n)?function(e){var t,n;e._d||(n=void 0===(t=U(e._i)).day?t.date:t.day,e._a=r([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),xt(e))}(t):u(n)?t._d=new Date(n):m.createFromInputFallback(t),d(e)||(e._d=null),e))}function Dt(e,t,n,r,i){var s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,(s=new v(ft(Ot(s=s))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Mt(e,t,n,r){return Dt(e,t,n,r,!1)}m.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};var Gt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Mt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()}),Ct=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Mt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:y()});function Pt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return Mt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var It=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var t=U(e),n=t.year||0,r=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,o=t.day||0,a=t.hour||0,l=t.minute||0,u=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(f(e,t)&&(-1===be.call(It,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<It.length;++n)if(e[It[n]]){if(r)return!1;parseFloat(e[It[n]])!==W(e[It[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*u+6e4*l+1e3*a*60*60,this._days=+o+7*s,this._months=+i+3*r+12*n,this._data={},this._locale=dt(),this._bubble()}function Rt(e){return e instanceof Nt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){I(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+D(~~(e/60),2)+n+D(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),he("Z",ue),he("ZZ",ue),ye(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(ue,e)});var Yt=/([\+\-]|\d\d)/gi;function Ut(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Yt)||["-",0,0])[1]+W(e[2]))?0:"+"===e[0]?t:-t}function $t(e,t){var n;return t._isUTC?(n=t.clone(),t=(w(e)||i(e)?e:Mt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),m.updateOffset(n,!1),n):Mt(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Bt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ht=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vt(e,t){var n,r,i=e,s=null;return Rt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(s=Ht.exec(e))?(n="-"===s[1]?-1:1,i={y:0,d:W(s[we])*n,h:W(s[Ee])*n,m:W(s[Te])*n,s:W(s[Se])*n,ms:W(At(1e3*s[Le]))*n}):(s=Wt.exec(e))?(n="-"===s[1]?-1:1,i={y:zt(s[2],n),M:zt(s[3],n),w:zt(s[4],n),d:zt(s[5],n),h:zt(s[6],n),m:zt(s[7],n),s:zt(s[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(s=Mt(i.from),n=Mt(i.to),r=s.isValid()&&n.isValid()?(n=$t(n,s),s.isBefore(n)?r=Xt(s,n):((r=Xt(n,s)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new Nt(i),Rt(e)&&f(e,"_locale")&&(i._locale=e._locale),Rt(e)&&f(e,"_isValid")&&(i._isValid=e._isValid),i}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Xt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Zt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(S(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Kt(this,Vt(e,t),r),this}}function Kt(e,t,n,r){var i=t._milliseconds,s=At(t._days),t=At(t._months);e.isValid()&&(r=null==r||r,t&&Ie(e,z(e,"Month")+t*n),s&&X(e,"Date",z(e,"Date")+s*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&m.updateOffset(e,s||t))}Vt.fn=Nt.prototype,Vt.invalid=function(){return Vt(NaN)};var qt=Zt(1,"add"),ce=Zt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Qt(e){return w(e)||i(e)||Jt(e)||u(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!u(e)&&Jt(t)}).length),n&&r)||function(e){var t,n,r=a(e)&&!l(e),i=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<s.length;t+=1)n=s[t],i=i||f(e,n);return r&&i}(e)||null==e;var t,n,r}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=dt(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var rn=126227808e5;function sn(e,t){return(e%t+t)%t}function on(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function un(){for(var e=[],t=[],n=[],r=[],i=this.eras(),s=0,o=i.length;s<o;++s)t.push(fe(i[s].name)),e.push(fe(i[s].abbr)),n.push(fe(i[s].narrow)),r.push(fe(i[s].name)),r.push(fe(i[s].abbr)),r.push(fe(i[s].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function cn(e,t){I(0,[e,e.length],0,t)}function hn(e,t,n,r,i){var s;return null==e?Be(this,r,i).year:(t>(s=He(e,r,i))&&(t=s),function(e,t,n,r,i){i=je(e,t,n,r,i),i=Ue(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,r,i))}I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),he("N",ln),he("NN",ln),he("NNN",ln),he("NNNN",function(e,t){return t.erasNameRegex(e)}),he("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ye(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?p(n).era=r:p(n).invalidEra=e}),he("y",oe),he("yy",oe),he("yyy",oe),he("yyyy",oe),he("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),ye(["y","yy","yyy","yyyy"],_e),ye(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[_e]=n._locale.eraYearOrdinalParse(e,i):t[_e]=parseInt(e,10)}),I(0,["gg",2],0,function(){return this.weekYear()%100}),I(0,["GG",2],0,function(){return this.isoWeekYear()%100}),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),he("G",ae),he("g",ae),he("GG",ee,K),he("gg",ee,K),he("GGGG",ie,J),he("gggg",ie,J),he("GGGGG",se,Q),he("ggggg",se,Q),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=W(e)}),ge(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),I("Q",0,"Qo","quarter"),F("quarter","Q"),j("quarter",7),he("Q",Z),ye("Q",function(e,t){t[ve]=3*(W(e)-1)}),I("D",["DD",2],"Do","date"),F("date","D"),j("date",9),he("D",ee),he("DD",ee,K),he("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ye(["D","DD"],we),ye("Do",function(e,t){t[we]=W(e.match(ee)[0])});ne=V("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),j("dayOfYear",4),he("DDD",re),he("DDDD",q),ye(["DDD","DDDD"],function(e,t,n){n._dayOfYear=W(e)}),I("m",["mm",2],0,"minute"),F("minute","m"),j("minute",14),he("m",ee),he("mm",ee,K),ye(["m","mm"],Te);De=V("Minutes",!1);I("s",["ss",2],0,"second"),F("second","s"),j("second",15),he("s",ee),he("ss",ee,K),ye(["s","ss"],Se);var dn,Ve=V("Seconds",!1);for(I("S",0,0,function(){return~~(this.millisecond()/100)}),I(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,function(){return 10*this.millisecond()}),I(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),I(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),I(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),I(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),I(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),j("millisecond",16),he("S",re,Z),he("SS",re,K),he("SSS",re,q),dn="SSSS";dn.length<=9;dn+="S")he(dn,oe);function fn(e,t){t[Le]=W(1e3*("0."+e))}for(dn="S";dn.length<=9;dn+="S")ye(dn,fn);Xe=V("Milliseconds",!1),I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");ie=v.prototype;function mn(e){return e}ie.add=qt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||f(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Mt(),e=$t(n,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(L(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Mt(n)))},ie.clone=function(){return new v(this)},ie.diff=function(e,t,n){var r,i,s;if(!this.isValid())return NaN;if(!(r=$t(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=Y(t)){case"year":s=en(this,r)/12;break;case"month":s=en(this,r);break;case"quarter":s=en(this,r)/3;break;case"second":s=(this-r)/1e3;break;case"minute":s=(this-r)/6e4;break;case"hour":s=(this-r)/36e5;break;case"day":s=(this-r-i)/864e5;break;case"week":s=(this-r-i)/6048e5;break;default:s=this-r}return n?s:H(s)},ie.endOf=function(e){var t,n;if(void 0===(e=Y(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-sn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-sn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-sn(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=N(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Mt(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Mt(),e)},ie.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Mt(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Mt(),e)},ie.get=function(e){return L(this[e=Y(e)])?this[e]():this},ie.invalidAt=function(){return p(this).overflow},ie.isAfter=function(e,t){return e=w(e)?e:Mt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=Y(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=w(e)?e:Mt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=Y(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,n,r){return e=w(e)?e:Mt(e),t=w(t)?t:Mt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},ie.isSame=function(e,t){var e=w(e)?e:Mt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=Y(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return d(this)},ie.lang=te,ie.locale=tn,ie.localeData=nn,ie.max=Ct,ie.min=Gt,ie.parsingFlags=function(){return c({},p(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)f(e,t)&&n.push({unit:t,priority:$[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=U(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(L(this[e=Y(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=Y(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:on,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=sn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=sn(t,6e4);break;case"second":t=this._d.valueOf(),t-=sn(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.subtract=ce,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?N(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(e,"Z")):N(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},ie.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},ie.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},ie.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-m(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=Fe,ie.isLeapYear=function(){return B(this.year())},ie.weekYear=function(e){return hn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return hn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Ne,ie.daysInMonth=function(){return Oe(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=Be(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return He(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return He(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return He(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return He(this.isoWeekYear(),1,4)},ie.date=ne,ie.day=ie.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},ie.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ie.hour=ie.hours=nt,ie.minute=ie.minutes=De,ie.second=ie.seconds=Ve,ie.millisecond=ie.milliseconds=Xe,ie.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:jt(this);if("string"==typeof e){if(null===(e=Ut(ue,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Kt(this,Vt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ut(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Mt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=Bt,ie.isUTC=Bt,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=n("dates accessor is deprecated. Use date instead.",ne),ie.months=n("months accessor is deprecated. Use month instead",Ne),ie.years=n("years accessor is deprecated. Use year instead",Fe),ie.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),ie.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=Ot(t))._a?(e=(t._isUTC?h:Mt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&W(e[o])!==W(t[o]))&&s++;return s+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});J=k.prototype;function pn(e,t,n,r){var i=dt(),t=h().set(r,t);return i[n](t,e)}function yn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=pn(e,i,n,"month");return r}function gn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),u(t)&&(n=t,t=void 0),t||"");var i,s=dt(),o=e?s._week.dow:0,a=[];if(null!=n)return pn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)a[i]=pn(t,(i+o)%7,r,"day");return a}J.calendar=function(e,t,n){return L(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},J.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(M).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},J.invalidDate=function(){return this._invalidDate},J.ordinal=function(e){return this._ordinal.replace("%d",e)},J.preparse=mn,J.postformat=mn,J.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return L(i)?i(e,t,n,r):i.replace(/%d/i,e)},J.pastFuture=function(e,t){return L(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},J.set=function(e){var t,n;for(n in e)f(e,n)&&(L(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},J.eras=function(e,t){for(var n,r=this._eras||dt("en")._eras,i=0,s=r.length;i<s;++i)switch("string"==typeof r[i].since&&(n=m(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=m(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},J.erasParse=function(e,t,n){var r,i,s,o,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(s=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(s===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if(0<=[s,o,a].indexOf(e))return l[r]},J.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},J.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||un.call(this),e?this._erasAbbrRegex:this._erasRegex},J.erasNameRegex=function(e){return f(this,"_erasNameRegex")||un.call(this),e?this._erasNameRegex:this._erasRegex},J.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||un.call(this),e?this._erasNarrowRegex:this._erasRegex},J.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Ge).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},J.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Ge.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},J.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,s,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)s=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=be.call(this._shortMonthsParse,e))?i:null:-1!==(i=be.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=be.call(this._shortMonthsParse,e))||-1!==(i=be.call(this._longMonthsParse,e))?i:null:-1!==(i=be.call(this._longMonthsParse,e))||-1!==(i=be.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},J.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Pe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},J.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Ce),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},J.week=function(e){return Be(e,this._week.dow,this._week.doy).week},J.firstDayOfYear=function(){return this._week.doy},J.firstDayOfWeek=function(){return this._week.dow},J.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?We(t,this._week.dow):e?t[e.day()]:t},J.weekdaysMin=function(e){return!0===e?We(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},J.weekdaysShort=function(e){return!0===e?We(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},J.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,s,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)s=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=be.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=be.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=be.call(this._weekdaysParse,e))||-1!==(i=be.call(this._shortWeekdaysParse,e))||-1!==(i=be.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,e))||-1!==(i=be.call(this._weekdaysParse,e))||-1!==(i=be.call(this._minWeekdaysParse,e))?i:null:-1!==(i=be.call(this._minWeekdaysParse,e))||-1!==(i=be.call(this._weekdaysParse,e))||-1!==(i=be.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},J.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},J.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},J.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},J.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},J.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===W(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=n("moment.lang is deprecated. Use moment.locale instead.",ct),m.langData=n("moment.langData is deprecated. Use moment.localeData instead.",dt);var bn=Math.abs;function _n(e,t,n,r){n=Vt(t,n);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function En(e){return 146097*e/4800}function Tn(e){return function(){return this.as(e)}}se=Tn("ms"),Q=Tn("s"),Z=Tn("m"),K=Tn("h"),re=Tn("d"),q=Tn("w"),qt=Tn("M"),Ct=Tn("Q"),Gt=Tn("y");function Sn(e){return function(){return this.isValid()?this._data[e]:NaN}}ce=Sn("milliseconds"),nt=Sn("seconds"),De=Sn("minutes"),Ve=Sn("hours"),Xe=Sn("days"),ne=Sn("months"),Fe=Sn("years");var Ln=Math.round,xn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function kn(e,t,n,r){var i=Vt(e).abs(),s=Ln(i.as("s")),o=Ln(i.as("m")),a=Ln(i.as("h")),l=Ln(i.as("d")),u=Ln(i.as("M")),c=Ln(i.as("w")),i=Ln(i.as("y")),l=(s<=n.ss?["s",s]:s<n.s&&["ss",s])||o<=1&&["m"]||o<n.m&&["mm",o]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||c<=1&&["w"]||c<n.w&&["ww",c]:l)||u<=1&&["M"]||u<n.M&&["MM",u]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}var On=Math.abs;function Dn(e){return(0<e)-(e<0)||+e}function Mn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,s,o,a=On(this._milliseconds)/1e3,l=On(this._days),u=On(this._months),c=this.asSeconds();return c?(e=H(a/60),t=H(e/60),a%=60,e%=60,n=H(u/12),u%=12,r=a?a.toFixed(3).replace(/\.?0+$/,""):"",i=Dn(this._months)!==Dn(c)?"-":"",s=Dn(this._days)!==Dn(c)?"-":"",o=Dn(this._milliseconds)!==Dn(c)?"-":"",(c<0?"-":"")+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(l?s+l+"D":"")+(t||e||a?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(a?o+r+"S":"")):"P0D"}J=Nt.prototype;return J.isValid=function(){return this._isValid},J.abs=function(){var e=this._data;return this._milliseconds=bn(this._milliseconds),this._days=bn(this._days),this._months=bn(this._months),e.milliseconds=bn(e.milliseconds),e.seconds=bn(e.seconds),e.minutes=bn(e.minutes),e.hours=bn(e.hours),e.months=bn(e.months),e.years=bn(e.years),this},J.add=function(e,t){return _n(this,e,t,1)},J.subtract=function(e,t){return _n(this,e,t,-1)},J.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=Y(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+wn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(En(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},J.asMilliseconds=se,J.asSeconds=Q,J.asMinutes=Z,J.asHours=K,J.asDays=re,J.asWeeks=q,J.asMonths=qt,J.asQuarters=Ct,J.asYears=Gt,J.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*W(this._months/12):NaN},J._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*vn(En(n)+t),n=t=0),r.milliseconds=e%1e3,e=H(e/1e3),r.seconds=e%60,e=H(e/60),r.minutes=e%60,e=H(e/60),r.hours=e%24,t+=H(e/24),n+=e=H(wn(t)),t-=vn(En(e)),e=H(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},J.clone=function(){return Vt(this)},J.get=function(e){return e=Y(e),this.isValid()?this[e+"s"]():NaN},J.milliseconds=ce,J.seconds=nt,J.minutes=De,J.hours=Ve,J.days=Xe,J.weeks=function(){return H(this.days()/7)},J.months=ne,J.years=Fe,J.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=xn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},xn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),r=kn(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},J.toISOString=Mn,J.toString=Mn,J.toJSON=Mn,J.locale=tn,J.localeData=nn,J.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Mn),J.lang=te,I("X",0,0,"unix"),I("x",0,0,"valueOf"),he("x",ae),he("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ye("x",function(e,t,n){n._d=new Date(W(e))}),m.version="2.29.1",e=Mt,m.fn=ie,m.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=h,m.unix=function(e){return Mt(1e3*e)},m.months=function(e,t){return yn(e,t,"months")},m.isDate=i,m.locale=ct,m.invalid=y,m.duration=Vt,m.isMoment=w,m.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},m.parseZone=function(){return Mt.apply(null,arguments).parseZone()},m.localeData=dt,m.isDuration=Rt,m.monthsShort=function(e,t){return yn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},m.defineLocale=ht,m.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=st[e]&&null!=st[e].parentLocale?st[e].set(x(st[e]._config,t)):(t=x(r=null!=(n=ut(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new k(t)).parentLocale=st[e],st[e]=t),ct(e)):null!=st[e]&&(null!=st[e].parentLocale?(st[e]=st[e].parentLocale,e===ct()&&ct(e)):null!=st[e]&&delete st[e]),st[e]},m.locales=function(){return O(st)},m.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},m.normalizeUnits=Y,m.relativeTimeRounding=function(e){return void 0===e?Ln:"function"==typeof e&&(Ln=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==xn[e]&&(void 0===t?xn[e]:(xn[e]=t,"s"===e&&(xn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=ie,m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},m}(),E.exports),x="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==x&&x,k="URLSearchParams"in x,O="Symbol"in x&&"iterator"in Symbol,D="FileReader"in x&&"Blob"in x&&function(){try{return new Blob,!0}catch(e){return!1}}(),M="FormData"in x,G="ArrayBuffer"in x;function C(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function P(e){return e="string"!=typeof e?String(e):e}function I(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return O&&(e[Symbol.iterator]=function(){return e}),e}function N(t){this.map={},t instanceof N?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function R(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function A(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function F(e){var t=new FileReader,n=A(t);return t.readAsArrayBuffer(e),n}function Y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function U(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:D&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:M&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:k&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():G&&D&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=Y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):G&&(ArrayBuffer.prototype.isPrototypeOf(e)||S(e))?this._bodyArrayBuffer=Y(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):k&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},D&&(this.blob=function(){var e=R(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?R(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(F)}),this.text=function(){var e,t,n=R(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,n=A(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},M&&(this.formData=function(){return this.text().then(ee)}),this.json=function(){return this.text().then(JSON.parse)},this}G&&(T=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],S=ArrayBuffer.isView||function(e){return e&&-1<T.indexOf(Object.prototype.toString.call(e))}),N.prototype.append=function(e,t){e=C(e),t=P(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},N.prototype.delete=function(e){delete this.map[C(e)]},N.prototype.get=function(e){return e=C(e),this.has(e)?this.map[e]:null},N.prototype.has=function(e){return this.map.hasOwnProperty(C(e))},N.prototype.set=function(e,t){this.map[C(e)]=P(t)},N.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},N.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),I(n)},N.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),I(t)},N.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),I(n)},O&&(N.prototype[Symbol.iterator]=N.prototype.entries);var $=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function j(e,t){if(!(this instanceof j))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof j){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new N(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new N(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<$.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ee(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function te(e,t){if(!(this instanceof te))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new N(t.headers),this.url=t.url||"",this._initBody(e)}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})},U.call(j.prototype),U.call(te.prototype),te.prototype.clone=function(){return new te(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new N(this.headers),url:this.url})},te.error=function(){var e=new te(null,{status:0,statusText:""});return e.type="error",e};var ne=[301,302,303,307,308];te.redirect=function(e,t){if(-1===ne.indexOf(t))throw new RangeError("Invalid status code");return new te(null,{status:t,headers:{location:e}})};var re=x.DOMException;try{new re}catch(B){(re=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),re.prototype.constructor=re}function ie(r,o){return new Promise(function(i,e){var t=new j(r,o);if(t.signal&&t.signal.aborted)return e(new re("Aborted","AbortError"));var s=new XMLHttpRequest;function n(){s.abort()}s.onload=function(){var e,n,t={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",n=new N,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;setTimeout(function(){i(new te(r,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.onabort=function(){setTimeout(function(){e(new re("Aborted","AbortError"))},0)},s.open(t.method,function(t){try{return""===t&&x.location.href?x.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?s.withCredentials=!0:"omit"===t.credentials&&(s.withCredentials=!1),"responseType"in s&&(D?s.responseType="blob":G&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof N?t.headers.forEach(function(e,t){s.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){s.setRequestHeader(e,P(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),s.onreadystatechange=function(){4===s.readyState&&t.signal.removeEventListener("abort",n)}),s.send(void 0===t._bodyInit?null:t._bodyInit)})}ie.polyfill=!0,x.fetch||(x.fetch=ie,x.Headers=N,x.Request=j,x.Response=te),self.fetch.bind(self);var se=function(e,t){return(se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function oe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}se(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ae(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function le(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,s=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=s.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o}function ue(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function ce(e){return"function"==typeof e}function he(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var de=he(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function fe(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var me=(ye.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var o=ae(s),a=o.next();!a.done;a=o.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else s.remove(this);s=this.initialTeardown;if(ce(s))try{s()}catch(e){i=e instanceof de?e.errors:[e]}s=this._teardowns;if(s){this._teardowns=null;try{for(var l=ae(s),u=l.next();!u.done;u=l.next()){var c=u.value;try{be(c)}catch(e){i=null!=i?i:[],e instanceof de?i=ue(ue([],le(i)),le(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new de(i)}},ye.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)be(e);else{if(e instanceof ye){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},ye.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},ye.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},ye.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&fe(t,e)},ye.prototype.remove=function(e){var t=this._teardowns;t&&fe(t,e),e instanceof ye&&e._removeParent(this)},ye.EMPTY=((Ht=new ye).closed=!0,Ht),ye),pe=me.EMPTY;function ye(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function ge(e){return e instanceof me||e&&"closed"in e&&ce(e.remove)&&ce(e.add)&&ce(e.unsubscribe)}function be(e){ce(e)?e():e.unsubscribe()}var Te=void 0,Se=!1,Le=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,ue([],le(e)))};function xe(){}function ke(e){e()}var Oe,De,Me=(oe(Pe,De=me),Pe.create=function(e,t,n){return new Ge(e,t,n)},Pe.prototype.next=function(e){this.isStopped||this._next(e)},Pe.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Pe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Pe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,De.prototype.unsubscribe.call(this),this.destination=null)},Pe.prototype._next=function(e){this.destination.next(e)},Pe.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Pe.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Pe),Ge=(oe(Ce,Oe=Me),Ce);function Ce(e,t,n){var r,i,s=Oe.call(this)||this;return ce(e)?i=e:e&&(i=e.next,t=e.error,n=e.complete,s&&Se?(r=Object.create(e)).unsubscribe=function(){return s.unsubscribe()}:r=e,i=null==i?void 0:i.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),s.destination={next:i?Ie(i):xe,error:Ie(null!=t?t:Ne),complete:n?Ie(n):xe},s}function Pe(e){var t=De.call(this)||this;return t.isStopped=!1,e?ge(t.destination=e)&&e.add(t):t.destination=Re,t}function Ie(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,ue([],le(e)))}catch(e){t=e,Le(function(){throw t})}}}function Ne(e){throw e}var Re={closed:!0,next:xe,error:Ne,complete:xe},Ae="function"==typeof Symbol&&Symbol.observable||"@@observable";function Fe(e){return e}var Ye=(Ue.prototype.lift=function(e){var t=new Ue;return t.source=this,t.operator=e,t},Ue.prototype.subscribe=function(e,t,n){var r,i=this,s=(r=e)&&r instanceof Me||r&&ce(r.next)&&ce(r.error)&&ce(r.complete)&&ge(r)?e:new Ge(e,t,n);return ke(function(){var e=i.operator,t=i.source;s.add(e?e.call(s,t):t?i._subscribe(s):i._trySubscribe(s))}),s},Ue.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Ue.prototype.forEach=function(r,e){var i=this;return new(e=$e(e))(function(e,t){var n=i.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},Ue.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},Ue.prototype[Ae]=function(){return this},Ue.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Fe:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Ue.prototype.toPromise=function(e){var r=this;return new(e=$e(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Ue.create=function(e){return new Ue(e)},Ue);function Ue(e){e&&(this._subscribe=e)}function $e(e){return null!==(e=null!=e?e:Te)&&void 0!==e?e:Promise}var je,Be,He,We=he(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ve=(oe(Je,He=Ye),Je.prototype.lift=function(e){var t=new ze(this,this);return t.operator=e,t},Je.prototype._throwIfClosed=function(){if(this.closed)throw new We},Je.prototype.next=function(s){var o=this;ke(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){var n=o.observers.slice();try{for(var r=ae(n),i=r.next();!i.done;i=r.next())i.value.next(s)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},Je.prototype.error=function(t){var n=this;ke(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},Je.prototype.complete=function(){var t=this;ke(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Je.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Je.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Je.prototype._trySubscribe=function(e){return this._throwIfClosed(),He.prototype._trySubscribe.call(this,e)},Je.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Je.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?pe:(r.push(e),new me(function(){return fe(r,e)}))},Je.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Je.prototype.asObservable=function(){var e=new Ye;return e.source=this,e},Je.create=function(e,t){return new ze(e,t)},Je),ze=(oe(qe,Be=Ve),qe.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},qe.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},qe.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},qe.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:pe},qe),Xe={now:function(){return(Xe.delegate||Date).now()},delegate:void 0},Ze=(oe(Ke,je=Ve),Ke.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,s=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(s.now()+t)),this._trimBuffer(),je.prototype.next.call(this,e)},Ke.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},Ke.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var s=t.now(),o=0,a=1;a<n.length&&n[a]<=s;a+=2)o=a;o&&n.splice(0,o+1)}},Ke);function Ke(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Xe);var r=je.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function qe(e,t){var n=Be.call(this)||this;return n.destination=e,n.source=t,n}function Je(){var e=He.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Qe=[],et={};const tt=[];function nt(r,i=B){let s;const o=[];function a(e){if(n(r,e)&&(r=e,s)){const e=!tt.length;for(let e=0;e<o.length;e+=1){const t=o[e];t[1](),tt.push(t,r)}if(e){for(let e=0;e<tt.length;e+=2)tt[e][0](tt[e+1]);tt.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=B){const n=[e,t];return o.push(n),1===o.length&&(s=i(a)||B),e(r),()=>{var e=o.indexOf(n);-1!==e&&o.splice(e,1),0===o.length&&(s(),s=null)}}}}function rt(e,a,t){const l=!Array.isArray(e),u=l?[e]:e,c=a.length<2;return{subscribe:nt(t,t=>{let n=!1;const r=[];let i=0,s=B;const o=()=>{var e;i||(s(),e=a(l?r[0]:r,t),c?t(e):s=f(e)?e:B)},e=u.map((e,t)=>_e(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){H(e),s()}}).subscribe}}var it=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===st));var t},st="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ot(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ht(Array.isArray(e)?[]:{},e,t):e}function at(e,t,n){return e.concat(t).map(function(e){return ot(e,n)})}function lt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function ut(e,t){try{return t in e}catch(e){return!1}}function ct(r,i,s){var o={};return s.isMergeableObject(r)&<(r).forEach(function(e){o[e]=ot(r[e],s)}),lt(i).forEach(function(t){var e,n;(!ut(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(ut(r,t)&&s.isMergeableObject(i[t])?o[t]=function(){if(!s.customMerge)return ht;var e=s.customMerge(t);return"function"==typeof e?e:ht}()(r[t],i[t],s):o[t]=ot(i[t],s))}),o}function ht(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||at,n.isMergeableObject=n.isMergeableObject||it,n.cloneUnlessOtherwiseSpecified=ot;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ct(e,t,n):ot(t,n)}ht.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return ht(e,t,n)},{})};var dt=ht,ft=function(e,t){return(ft=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function mt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ft(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var pt,yt,gt,bt=function(){return(bt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function _t(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function vt(e){return e.type===yt.literal}function wt(e){return e.type===yt.number}function Et(e){return e.type===yt.date}function Tt(e){return e.type===yt.time}function St(e){return e.type===yt.select}function Lt(e){return e.type===yt.plural}function xt(e){return e.type===yt.tag}function kt(e){return e&&"object"==typeof e&&e.type===gt.number}function Ot(e){return e&&"object"==typeof e&&e.type===gt.dateTime}(Wt=pt=pt||{})[Wt.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Wt[Wt.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Wt[Wt.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Wt[Wt.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Wt[Wt.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Wt[Wt.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Wt[Wt.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Wt[Wt.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Wt[Wt.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Wt[Wt.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Wt[Wt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Wt[Wt.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Wt[Wt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Wt[Wt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Wt[Wt.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Wt[Wt.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Wt[Wt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Wt[Wt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Wt[Wt.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Wt[Wt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Wt[Wt.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Wt[Wt.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Wt[Wt.INVALID_TAG=23]="INVALID_TAG",Wt[Wt.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Wt[Wt.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Wt[Wt.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Vt=yt=yt||{})[Vt.literal=0]="literal",Vt[Vt.argument=1]="argument",Vt[Vt.number=2]="number",Vt[Vt.date=3]="date",Vt[Vt.time=4]="time",Vt[Vt.select=5]="select",Vt[Vt.plural=6]="plural",Vt[Vt.pound=7]="pound",Vt[Vt.tag=8]="tag",(zt=gt=gt||{})[zt.number=0]="number",zt[zt.dateTime=1]="dateTime";var Dt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Mt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var Gt,Ct=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,It=/^(@+)?(\+|#+)?$/g,Nt=/(\*)(0+)|(#+)(0+)|(0+)/g,Rt=/^(0+)$/;function At(e){var r={};return e.replace(It,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function Ft(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 Yt(e){return Ft(e)||{}}function Ut(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=bt(bt(bt({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return bt(bt({},e),Yt(t))},{}));continue;case"engineering":o=bt(bt(bt({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return bt(bt({},e),Yt(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Nt,function(e,t,n,r,i,s){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Rt.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(Pt.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Pt,function(e,t,n,r,i,s){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&s?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+s.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""}),i.options.length&&(o=bt(bt({},o),At(i.options[0])))}else It.test(i.stem)?o=bt(bt({},o),At(i.stem)):((r=Ft(i.stem))&&(o=bt(bt({},o),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Rt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=bt(bt({},o),r)))}return o}var $t=new RegExp("^"+Dt.source+"*"),jt=new RegExp(Dt.source+"*$");function Bt(e,t){return{start:e,end:t}}var Ht=!!String.prototype.startsWith,Ae=!!String.fromCodePoint,Ve=!!Object.fromEntries,Wt=!!String.prototype.codePointAt,Vt=!!String.prototype.trimStart,zt=!!String.prototype.trimEnd,Xt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dt=!0;try{Dt="a"===(null===(Gt=rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Gt?void 0:Gt[0])}catch(B){Dt=!1}var Zt,Kt,qt=Ht?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Jt=Ae?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,s=0;s<i;){if(1114111<(n=e[s++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Qt=Ve?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],s=i[0],i=i[1];t[s]=i}return t},en=Wt?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},tn=Vt?function(e){return e.trimStart()}:function(e){return e.replace($t,"")},nn=zt?function(e){return e.trimEnd()}:function(e){return e.replace(jt,"")};function rn(e,t){return new RegExp(e,t)}Kt=Dt?(Zt=rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Zt.lastIndex=t,null!==(e=Zt.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=en(e,t);if(void 0===i||ln(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return Jt.apply(void 0,r)};var sn=(on.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},on.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,s=this.char();if(123===s){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(pt.UNMATCHED_CLOSING_TAG,Bt(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&an(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{s=this.clonePosition();this.bump(),r.push({type:yt.pound,location:Bt(s,this.clonePosition())})}}}return{val:r,err:null}},on.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:yt.literal,value:"<"+r+"/>",location:Bt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!an(this.char()))return this.error(pt.INVALID_TAG,Bt(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(pt.UNMATCHED_CLOSING_TAG,Bt(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:yt.tag,value:r,children:e,location:Bt(n,this.clonePosition())},err:null}:this.error(pt.INVALID_TAG,Bt(t,this.clonePosition())))}return this.error(pt.UNCLOSED_TAG,Bt(n,this.clonePosition()))}return this.error(pt.INVALID_TAG,Bt(n,this.clonePosition()))},on.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},on.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=Bt(n,this.clonePosition());return{val:{type:yt.literal,value:r,location:n},err:null}},on.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(an(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},on.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Jt.apply(void 0,t)},on.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Jt(n))},on.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(pt.EMPTY_ARGUMENT,Bt(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(pt.MALFORMED_ARGUMENT,Bt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:yt.argument,value:r,location:Bt(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(pt.MALFORMED_ARGUMENT,Bt(n,this.clonePosition()))}},on.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Kt(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:Bt(e,this.clonePosition())}},on.prototype.parseArgumentOptions=function(e,t,n,r){var i,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(pt.EXPECT_ARGUMENT_TYPE,Bt(s,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(h=nn(d.val)).length)return this.error(pt.EXPECT_ARGUMENT_STYLE,Bt(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:Bt(u,this.clonePosition())}}if((f=this.tryParseArgumentClose(r)).err)return f;var c=Bt(r,this.clonePosition());if(l&&qt(null==l?void 0:l.style,"::",0)){u=tn(l.style.slice(2));if("number"===o)return(d=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?d:{val:{type:yt.number,value:n,location:c,style:d.val},err:null};if(0===u.length)return this.error(pt.EXPECT_DATE_TIME_SKELETON,c);var h={type:gt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},u.replace(Mt,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===o?yt.date:yt.time,value:n,location:c,style:h},err:null}}return{val:{type:"number"===o?yt.number:"date"===o?yt.date:yt.time,value:n,location:c,style:null!==(c=null==l?void 0:l.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(pt.EXPECT_SELECT_ARGUMENT_OPTIONS,Bt(l,bt({},l)));this.bumpSpace();var d,c=this.parseIdentifierIfPossible(),l=0;if("select"!==o&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Bt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,pt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=d.val}c=this.tryParsePluralOrSelectOptions(e,o,t,c);if(c.err)return c;if((f=this.tryParseArgumentClose(r)).err)return f;var f=Bt(r,this.clonePosition());return"select"===o?{val:{type:yt.select,value:n,options:Qt(c.val),location:f},err:null}:{val:{type:yt.plural,value:n,options:Qt(c.val),offset:l,pluralType:"plural"===o?"cardinal":"ordinal",location:f},err:null};default:return this.error(pt.INVALID_ARGUMENT_TYPE,Bt(s,a))}},on.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},on.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(pt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Bt(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},on.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(Ct).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var s=i[0],i=i.slice(1),o=0,a=i;o<a.length;o++)if(0===a[o].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:i})}return t}(e)}catch(e){return this.error(pt.INVALID_NUMBER_SKELETON,t)}return{val:{type:gt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ut(n):{}},err:null}},on.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,s=[],o=new Set,a=r.value,l=r.location;;){if(0===a.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(pt.EXPECT_PLURAL_ARGUMENT_SELECTOR,pt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=Bt(u,this.clonePosition()),a=this.message.slice(u.offset,this.offset())}if(o.has(a))return this.error("select"===t?pt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:pt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(i=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?pt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:pt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Bt(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;u=this.tryParseArgumentClose(h);if(u.err)return u;s.push([a,{value:c.val,location:Bt(h,this.clonePosition())}]),o.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===s.length?this.error("select"===t?pt.EXPECT_SELECT_ARGUMENT_SELECTOR:pt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Bt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(pt.MISSING_OTHER_CLAUSE,Bt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},on.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,s=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,s=10*s+(o-48),this.bump()}r=Bt(r,this.clonePosition());return i?Xt(s*=n)?{val:s,err:null}:this.error(t,r):this.error(e,r)},on.prototype.offset=function(){return this.position.offset},on.prototype.isEOF=function(){return this.offset()===this.message.length},on.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},on.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=en(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},on.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},on.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},on.prototype.bumpIf=function(e){if(qt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},on.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},on.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},on.prototype.bumpSpace=function(){for(;!this.isEOF()&&ln(this.char());)this.bump()},on.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},on);function on(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function an(e){return 97<=e&&e<=122||65<=e&&e<=90}function ln(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function un(e,t){t=bt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new sn(e,t).parse();if(n.err){e=SyntaxError(pt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,St(e)||Lt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else wt(e)&&kt(e.style)||(Et(e)||Tt(e))&&Ot(e.style)?delete e.style.location:xt(e)&&n(e.children)})}(n.val),n.val}function cn(e,t){var n=t&&t.cache?t.cache:gn,r=t&&t.serializer?t.serializer:mn;return(t&&t.strategy?t.strategy:function(e,t){return fn(e,this,1===e.length?hn:dn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function hn(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function dn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function fn(e,t,n,r,i){return n.bind(t,e,r,i)}var mn=function(){return JSON.stringify(arguments)};function pn(){this.cache=Object.create(null)}pn.prototype.has=function(e){return e in this.cache},pn.prototype.get=function(e){return this.cache[e]},pn.prototype.set=function(e,t){this.cache[e]=t};var yn,gn={create:function(){return new pn}},bn={variadic:function(e,t){return fn(e,this,dn,t.cache.create(),t.serializer)},monadic:function(e,t){return fn(e,this,hn,t.cache.create(),t.serializer)}};(Dt=yn=yn||{}).MISSING_VALUE="MISSING_VALUE",Dt.INVALID_VALUE="INVALID_VALUE",Dt.MISSING_INTL_API="MISSING_INTL_API";var _n,vn,wn,En,Tn,Sn=(mt(Pn,Tn=Error),Pn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Pn),Ln=(mt(Mn,En=Sn),Mn),xn=(mt(Dn,wn=Sn),Dn),kn=(mt(On,vn=Sn),On);function On(e,t){return vn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',yn.MISSING_VALUE,t)||this}function Dn(e,t,n){return wn.call(this,'Value for "'+e+'" must be of type '+t,yn.INVALID_VALUE,n)||this}function Mn(e,t,n,r){return En.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',yn.INVALID_VALUE,r)||this}function Pn(e,t,n){e=Tn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function In(e,t,n,r,i,s,o){if(1===e.length&&vt(e[0]))return[{type:_n.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(vt(c))a.push({type:_n.literal,value:c.value});else if(c.type===yt.pound)"number"==typeof s&&a.push({type:_n.literal,value:n.getNumberFormat(t).format(s)});else{var h=c.value;if(!(i&&h in i))throw new kn(h,o);var d=i[h];if(c.type===yt.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?_n.literal:_n.object,value:d});else if(Et(c)){var f="string"==typeof c.style?r.date[c.style]:Ot(c.style)?c.style.parsedOptions:void 0;a.push({type:_n.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(Tt(c))f="string"==typeof c.style?r.time[c.style]:Ot(c.style)?c.style.parsedOptions:void 0,a.push({type:_n.literal,value:n.getDateTimeFormat(t,f).format(d)});else if(wt(c))(f="string"==typeof c.style?r.number[c.style]:kt(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:_n.literal,value:n.getNumberFormat(t,f).format(d)});else{if(xt(c)){var m=c.children,p=c.value,h=i[p];if("function"!=typeof h)throw new xn(p,"function",o);m=h(In(m,t,n,r,i,s).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?_n.literal:_n.object,value:e}}))}if(St(c)){if(!(y=c.options[d]||c.options.other))throw new Ln(c.value,d,Object.keys(c.options),o);a.push.apply(a,In(y.value,t,n,r,i))}else if(Lt(c)){if(!(y=c.options["="+d])){if(!Intl.PluralRules)throw new Sn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',yn.MISSING_INTL_API,o);var m=n.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0)),y=c.options[m]||c.options.other}if(!y)throw new Ln(c.value,d,Object.keys(c.options),o);a.push.apply(a,In(y.value,t,n,r,i,d-(c.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===_n.literal&&t.type===_n.literal?n.value+=t.value:e.push(t),e},[])}function Nn(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(Dt=_n=_n||{})[Dt.literal=0]="literal",Dt[Dt.object=1]="object";var Rn=(Object.defineProperty(An,"defaultLocale",{get:function(){return An.memoizedDefaultLocale||(An.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),An.memoizedDefaultLocale},enumerable:!1,configurable:!0}),An.memoizedDefaultLocale=null,An.__parse=un,An.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"}}},An);function An(e,t,n,r){var i,s,o=this;if(void 0===t&&(t=An.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===_n.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return In(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof e){if(this.message=e,!An.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=An.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=An.formats,(s=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=s[t])?bt(bt(bt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=bt(bt({},n[t]),r[t]||{}),e},{})):n),e},bt({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:cn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,_t([void 0],t)))},{cache:Nn((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:bn.variadic}),getDateTimeFormat:cn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,_t([void 0],t)))},{cache:Nn(r.dateTime),strategy:bn.variadic}),getPluralRules:cn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,_t([void 0],t)))},{cache:Nn(r.pluralRules),strategy:bn.variadic})}}const Fn={},Yn=(t,n)=>{if(null!=n){if(n in Fn&&t in Fn[n])return Fn[n][t];var r,i,s=tr(n);for(let e=0;e<s.length;e++){var o=(r=s[e],i=t,jn(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return Un[e]||null}(r),i):null);if(o)return r=t,i=n,(o=o)&&(i in Fn||(Fn[i]={}),r in Fn[i]||(Fn[i][r]=o),o)}}};let Un;const $n=nt({});function jn(e){return e in Un}function Bn(t,...n){delete Fn[t],$n.update(e=>(e[t]=dt.all([e[t]||{},...n]),e))}rt([$n],([e])=>Object.keys(e)),$n.subscribe(e=>Un=e);const Hn={};function Wn(e){return Hn[e]}function Vn(e){return tr(e).some(e=>{return null===(e=Wn(e))||void 0===e?void 0:e.size})}const zn={};function Xn(e){if(!Vn(e))return e in zn?zn[e]:void 0;const t=tr(e).map(e=>{var t=Wn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return zn[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){Hn[e].delete(t),0===Hn[e].size&&delete Hn[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Bn(t,...e))}(e))).then(()=>Vn(e)?Xn(e):void delete zn[e]),zn[e]}function Zn(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Kn={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const qn=nt(!1);let Jn;const Qn=nt(null);function er(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function tr(e,t=Kn.fallbackLocale){e=er(e);return t?[...new Set([...e,...er(t)])]:e}Qn.subscribe(e=>{Jn=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const nr=Qn.set;Qn.set=t=>{if(function(e){if(null!=e){var t=tr(e);for(let e=0;e<t.length;e++){var n=t[e];if(jn(n))return n}}}(t)&&Vn(t)){var{loadingDelay:n}=Kn;let e;return"undefined"!=typeof window&&null!=Jn&&n?e=window.setTimeout(()=>qn.set(!0),n):qn.set(!0),Xn(t).then(()=>{nr(t)}).finally(()=>{clearTimeout(e),qn.set(!1)})}return nr(t)},Qn.update=e=>nr(e(Jn));const rr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},ir=(e,t)=>{var{formats:n}=Kn;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},sr=rr(e=>{var{locale:t,format:n}=e,e=Zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=ir("number",n)),new Intl.NumberFormat(t,e)}),or=rr(e=>{var{locale:t,format:n}=e,e=Zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=ir("date",n):0===Object.keys(e).length&&(e=ir("date","short")),new Intl.DateTimeFormat(t,e)}),ar=rr(e=>{var{locale:t,format:n}=e,e=Zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=ir("time",n):0===Object.keys(e).length&&(e=ir("time","short")),new Intl.DateTimeFormat(t,e)}),lr=rr((e,t=Jn)=>new Rn(e,t,Kn.formats,{ignoreTag:Kn.ignoreTag})),ur=rt([Qn,$n],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=Jn,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let s=Yn(e,r);if(s){if("string"!=typeof s)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof s}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),s}else Kn.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${tr(r).join('", "')}".${Vn(Jn)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),s=i||e;if(!n)return s;let o=s;try{o=lr(s,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return o});rt([Qn],()=>(e,t)=>((e={})=>{var{locale:t=Jn}=e,e=Zn(e,["locale"]);return ar(Object.assign({locale:t},e))})(t).format(e)),rt([Qn],()=>(e,t)=>((e={})=>{var{locale:t=Jn}=e,e=Zn(e,["locale"]);return or(Object.assign({locale:t},e))})(t).format(e)),rt([Qn],()=>(e,t)=>((e={})=>{var{locale:t=Jn}=e,e=Zn(e,["locale"]);return sr(Object.assign({locale:t},e))})(t).format(e)),rt([Qn,$n],()=>(e,t=Jn)=>Yn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Qe.indexOf(e)&&(t=new Ze(t),et[e]=t,Qe.push(e)),et[e]}};const cr=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)),hr={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},dr={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function fr(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function mr(e,t,n){const r=e.slice();return r[101]=t[n],r}function pr(e){let n,r=!cr(e[34])&&!e[0]&&e[12],i=r&&yr(e);return{c(){i&&i.c(),n=l()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){4097&t[0]&&(r=!cr(e[34])&&!e[0]&&e[12]),r?i?i.p(e,t):(i=yr(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&z(n)}}}function yr(n){let r,i,s;return{c(){r=X("div"),r.innerHTML='<svg version="1.1" class="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',J(r,"class","FavIconContainer")},m(e,t){V(e,r,t),i||(s=q(r,"click",n[61]),i=!0)},p:B,d(e){e&&z(r),i=!1,s()}}}function gr(e){let n;return{c(){n=X("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',J(n,"class","FavIconContainer")},m(e,t){V(e,n,t)},p:B,d(e){e&&z(n)}}}function br(n){let r,i,s;return{c(){r=X("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',J(r,"class","FavIconContainer")},m(e,t){V(e,r,t),i||(s=q(r,"click",n[63]),i=!0)},p:B,d(e){e&&z(r),i=!1,s()}}}function _r(e){let n,r,i=e[33]("gameThumbnail.new")+"";return{c(){n=X("span"),r=Z(i),J(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){V(e,n,t),W(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.new")+"")&&Q(r,i)},d(e){e&&z(n)}}}function vr(e){let n,r,i=e[33]("gameThumbnail.hot")+"";return{c(){n=X("span"),r=Z(i),J(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){V(e,n,t),W(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.hot")+"")&&Q(r,i)},d(e){e&&z(n)}}}function wr(e){let n,r,i=!e[21]&&e[19]&&e[20]&&Er(e);function s(e){return e[21]&&e[18]&&e[18]===Ir?Sr:e[21]&&e[18]&&e[18]===Nr?Tr:void 0}let o=s(e),a=o&&o(e);return{c(){i&&i.c(),n=K(),a&&a.c(),r=l()},m(e,t){i&&i.m(e,t),V(e,n,t),a&&a.m(e,t),V(e,r,t)},p(e,t){!e[21]&&e[19]&&e[20]?i?i.p(e,t):(i=Er(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=s(e))&&a?a.p(e,t):(a&&a.d(1),a=o&&o(e),a&&(a.c(),a.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&z(n),a&&a.d(e),e&&z(r)}}}function Er(e){let n,r,i,s,o,a,l,u,c,h,d=e[33]("gameThumbnail.opens")+"",f=L.utc(e[19]).local().format(e[20])+"",m=e[43](e[32])+"",p=e[42](e[24],e[25],e[23])+"";return{c(){n=X("div"),r=X("div"),i=Z(d),s=K(),o=X("span"),a=Z(f),l=K(),c=K(),J(r,"class","ClosedGame"),u=new y(c),h=new y(null),J(n,"class","GameProp LiveProps")},m(e,t){V(e,n,t),W(n,r),W(r,i),W(r,s),W(r,o),W(o,a),W(n,l),u.m(m,n),W(n,c),h.m(p,n)},p(e,t){4&t[1]&&d!==(d=e[33]("gameThumbnail.opens")+"")&&Q(i,d),1572864&t[0]&&f!==(f=L.utc(e[19]).local().format(e[20])+"")&&Q(a,f),2&t[1]&&m!==(m=e[43](e[32])+"")&&u.p(m),58720256&t[0]&&p!==(p=e[42](e[24],e[25],e[23])+"")&&h.p(p)},d(e){e&&z(n)}}}function Tr(n){let r,i,s,o,a,l,u=n[43](n[32])+"",c=n[42](n[24],n[25],n[23])+"",h=new Array(Ar),d=[];for(let e=0;e<h.length;e+=1)d[e]=Or(fr(n,h,e));return{c(){r=X("div"),i=X("div");for(let e=0;e<d.length;e+=1)d[e].c();s=K(),a=K(),J(i,"class","LiveIcons"),o=new y(a),l=new y(null),J(r,"class",n[28])},m(e,t){V(e,r,t),W(r,i);for(let e=0;e<d.length;e+=1)d[e].m(i,null);n[64](i),W(r,s),o.m(u,r),W(r,a),l.m(c,r)},p(t,n){if(671089664&n[0]|8192&n[1]){let e;for(h=new Array(Ar),e=0;e<h.length;e+=1){const o=fr(t,h,e);d[e]?d[e].p(o,n):(d[e]=Or(o),d[e].c(),d[e].m(i,null))}for(;e<d.length;e+=1)d[e].d(1);d.length=h.length}2&n[1]&&u!==(u=t[43](t[32])+"")&&o.p(u),58720256&n[0]&&c!==(c=t[42](t[24],t[25],t[23])+"")&&l.p(c),268435456&n[0]&&J(r,"class",t[28])},d(e){e&&z(r),m(d,e),n[64](null)}}}function Sr(e){let n,r,i,s,o,a,l=e[43](e[32])+"",u=e[42](e[24],e[25],e[23])+"";function c(e){return e[30]?Mr:Dr}let h=c(e),d=h(e);return{c(){n=X("div"),r=X("div"),d.c(),i=K(),o=K(),J(r,"class","LiveIcons"),s=new y(o),a=new y(null),J(n,"class","GameProp LiveProps BlackjackDisplay")},m(e,t){V(e,n,t),W(n,r),d.m(r,null),W(n,i),s.m(l,n),W(n,o),a.m(u,n)},p(e,t){h===(h=c(e))&&d?d.p(e,t):(d.d(1),d=h(e),d&&(d.c(),d.m(r,null))),2&t[1]&&l!==(l=e[43](e[32])+"")&&s.p(l),58720256&t[0]&&u!==(u=e[42](e[24],e[25],e[23])+"")&&a.p(u)},d(e){e&&z(n),d.d()}}}function Lr(e){let n;function r(e){return e[27]?kr:xr}let i=r(e),s=i(e);return{c(){s.c(),n=l()},m(e,t){s.m(e,t),V(e,n,t)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),s=i(e),s&&(s.c(),s.m(n.parentNode,n)))},d(e){s.d(e),e&&z(n)}}}function xr(e){let n,r,i=e[44]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[29][e[10][e[106]]])+"";return{c(){r=l(),n=new y(r)},m(e,t){n.m(i,e,t),V(e,r,t)},p(e,t){536871936&t[0]&&i!==(i=e[44]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[29][e[10][e[106]]])+"")&&n.p(i)},d(e){e&&z(r),e&&n.d()}}}function kr(e){let n,r,i,s,o,a=e[44]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[29][e[10][e[106]][0]])+"",l=e[44]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[29][e[10][e[106]][1]])+"";return{c(){n=X("div"),i=K(),o=K(),r=new y(i),s=new y(o),J(n,"class","Double")},m(e,t){V(e,n,t),r.m(a,n),W(n,i),s.m(l,n),W(n,o)},p(e,t){536871936&t[0]&&a!==(a=e[44]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[29][e[10][e[106]][0]])+"")&&r.p(a),536871936&t[0]&&l!==(l=e[44]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[29][e[10][e[106]][1]])+"")&&s.p(l)},d(e){e&&z(n)}}}function Or(e){let n,r=e[10]&&e[10][e[106]]&&Lr(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),V(e,n,t)},p(e,t){e[10]&&e[10][e[106]]?r?r.p(e,t):(r=Lr(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&z(n)}}}function Dr(t){let i,s=t[22],o=[];for(let e=0;e<s.length;e+=1)o[e]=Gr(mr(t,s,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);V(t,i,n)},p(t,n){if(71303168&n[0]|1024&n[1]){let e;for(s=t[22],e=0;e<s.length;e+=1){var r=mr(t,s,e);o[e]?o[e].p(r,n):(o[e]=Gr(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=s.length}},d(e){m(o,e),e&&z(i)}}}function Mr(e){let n,r,i=e[33]("gameThumbnail.full")+"";return{c(){n=X("span"),r=Z(i),J(n,"class","FullTable")},m(e,t){V(e,n,t),W(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.full")+"")&&Q(r,i)},d(e){e&&z(n)}}}function Gr(e){let n,r,i,s,o,a;return{c(){n=X("span"),r=t("svg"),i=t("path"),s=t("path"),o=K(),J(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),J(s,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),J(r,"xmlns","http://www.w3.org/2000/svg"),J(r,"width","13"),J(r,"height","14"),J(r,"viewBox","0 0 13 14"),J(n,"class",a=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){V(e,n,t),W(n,r),W(r,i),W(r,s),W(n,o)},p(e,t){71303168&t[0]&&a!==(a=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")&&J(n,"class",a)},d(e){e&&z(n)}}}function Cr(e){let n,r;return{c(){n=X("p"),r=Z(e[3]),J(n,"class","GameNameBelow"),J(n,"title",e[3])},m(e,t){V(e,n,t),W(n,r)},p(e,t){8&t[0]&&Q(r,e[3]),8&t[0]&&J(n,"title",e[3])},d(e){e&&z(n)}}}function Pr(n){let r,i,s,o,a,l,u,c,h,d,f,m,p,y,g,b,_,v,w,E,T,S,L,x,k,O,D,M,G,C=n[33]("gameThumbnail.playNow")+"",P=(n[4]||"-")+"",I=0<parseInt(n[7]),N=n[13]&&pr(n);function R(e,t){return(null==E||4099&t[0])&&(E=!(cr(e[34])||!e[0]||!e[12]||!e[1])),E?br:((null==T||4099&t[0])&&(T=!!(cr(e[34])&&e[0]&&e[12]&&e[1])),T?gr:void 0)}let A=R(n,[-1]),F=A&&A(n),Y=n[6]&&_r(n),U=I&&vr(n),$=n[9]&&wr(n),j=n[8]&&Cr(n);return{c(){r=X("div"),i=X("div"),s=X("img"),l=K(),u=X("div"),c=X("div"),N&&N.c(),h=K(),d=X("p"),f=Z(n[3]),m=K(),p=X("button"),y=Z(C),b=K(),_=X("span"),v=Z(P),w=K(),F&&F.c(),S=K(),L=X("div"),Y&&Y.c(),x=K(),U&&U.c(),k=K(),$&&$.c(),O=K(),j&&j.c(),this.c=B,s.src!==(o=n[2])&&J(s,"src",o),J(s,"class",a="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),J(s,"alt",""),J(s,"loading","lazy"),J(d,"class","GameInfoName"),J(d,"title",n[3]),J(p,"class","GameInfoBtn"),J(c,"class",g="GameInfo "+(n[14]?"GameHovered":"")),J(_,"class","GameInfoVendor"),J(u,"class","GameInfoWrapper"),J(L,"class","GameExtraInfo"),J(i,"class","GameInnerContainer"),J(r,"class",D=`GameContainer ${n[31]}`)},m(e,t){V(e,r,t),W(r,i),W(i,s),n[60](s),W(i,l),W(i,u),W(u,c),N&&N.m(c,null),W(c,h),W(c,d),W(d,f),W(c,m),W(c,p),W(p,y),W(u,b),W(u,_),W(_,v),W(i,w),F&&F.m(i,null),W(i,S),W(i,L),Y&&Y.m(L,null),W(L,x),U&&U.m(L,null),W(L,k),$&&$.m(L,null),W(r,O),j&&j.m(r,null),n[65](r),M||(G=[q(p,"click",n[62]),q(i,"mouseenter",n[39]),q(i,"mouseleave",n[40]),q(i,"touchstart",n[37],{passive:!0}),q(i,"touchleave",n[38])],M=!0)},p(e,t){4&t[0]&&s.src!==(o=e[2])&&J(s,"src",o),49152&t[0]&&a!==(a="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&J(s,"class",a),e[13]?N?N.p(e,t):(N=pr(e),N.c(),N.m(c,h)):N&&(N.d(1),N=null),8&t[0]&&Q(f,e[3]),8&t[0]&&J(d,"title",e[3]),4&t[1]&&C!==(C=e[33]("gameThumbnail.playNow")+"")&&Q(y,C),16384&t[0]&&g!==(g="GameInfo "+(e[14]?"GameHovered":""))&&J(c,"class",g),16&t[0]&&P!==(P=(e[4]||"-")+"")&&Q(v,P),A===(A=R(e,t))&&F?F.p(e,t):(F&&F.d(1),F=A&&A(e),F&&(F.c(),F.m(i,S))),e[6]?Y?Y.p(e,t):(Y=_r(e),Y.c(),Y.m(L,x)):Y&&(Y.d(1),Y=null),128&t[0]&&(I=0<parseInt(e[7])),I?U?U.p(e,t):(U=vr(e),U.c(),U.m(L,k)):U&&(U.d(1),U=null),e[9]?$?$.p(e,t):($=wr(e),$.c(),$.m(L,null)):$&&($.d(1),$=null),e[8]?j?j.p(e,t):(j=Cr(e),j.c(),j.m(r,null)):j&&(j.d(1),j=null),1&t[1]&&D!==(D=`GameContainer ${e[31]}`)&&J(r,"class",D)},i:B,o:B,d(e){e&&z(r),n[60](null),N&&N.d(),F&&F.d(),Y&&Y.d(),U&&U.d(),$&&$.d(),j&&j.d(),n[65](null),M=!1,H(G)}}}const Ir="blackjack",Nr="roulette",Rr="doubleballroulette",Ar=5;function Fr(n,e,o){let t;var r=ur;n.$$.on_destroy.push(_e(r,e=>o(33,t=e)));var i=this&&this.__awaiter||function(e,o,a,l){return new(a=a||Promise)(function(n,t){function r(e){try{s(l.next(e))}catch(e){t(e)}}function i(e){try{s(l.throw(e))}catch(e){t(e)}}function s(e){var t;e.done?n(e.value):((t=e.value)instanceof a?t:new a(function(e){e(t)})).then(r,i)}s((l=l.apply(e,o||[])).next())})};let s,a,l,u,c,h,d,f,m,p,y,g,b,_,v,w,E,T,S,L,x,k,O,D,{session:M=""}=e,{userid:G=""}=e,{lang:C=""}=e,{clientstyling:P=""}=e,{clientstylingurl:I=""}=e,{favorites:N=""}=e,{gamethumbnail:R=""}=e,{gamename:A=""}=e,{gamevendor:F=""}=e,{gameid:Y=""}=e,{gameisnew:U=""}=e,{gamepopularity:$=""}=e,{gamefunmode:j=!1}=e,{searchitem:B=!1}=e,{gamefavorite:H=!1}=e,{showfavoredcategory:W=!1}=e,{showgamename:V=!1}=e,{endpoint:z=""}=e,{livelobbyendpoint:X=""}=e,{currency:Z="EUR"}=e,{connectlive:K=""}=e,{visibilityconnect:q=""}=e,J=!1,Q=!1,ee=!1,te=window.navigator.userAgent,ne="HH:mm",re,ie=[],se="TRY",oe="";const ae=[Ir],le=[Nr,Rr],ue={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ce={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(hr).forEach(e=>{Bn(e,hr[e])});const he=e=>{e.data.type!==`AddFavoriteThumbnail_${Y}`||W||o(0,H=!0),e.data.type!==`RemoveFavoriteThumbnail_${Y}`||W||o(0,H=!1),"UserSessionID"===e.data.type&&(o(12,J=!0),e.data.session,e.data.userID)},de=e=>{cr(te)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:j},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),B&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},fe=e=>{var t="thumbnail";H?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},me=()=>{X&&EventSource&&!u&&F&&Y&&(u=new EventSource(`${z}/encoder/lobby/updates/${F}/${Y}`),u.addEventListener("message",ye))},pe=()=>{u&&(u.close(),u=void 0)},ye=s=>i(void 0,void 0,void 0,function*(){const{type:e,data:t}=s;let n;if("message"===e){if(t)try{n=JSON.parse(t)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(n){const{InternalTableId:s,MessageType:e,Results:t,Seats:r,Open:i}=n;if(s)switch(e){case"SeatsUpdated":r&&Array.isArray(r)&&(o(26,g=r),o(9,l.currentOccupiedSeats=r,l),yield Ee());break;case"RouletteResultsUpdated":t&&Array.isArray(t)&&(b=t,o(9,l.currentRouletteNumbers=t,l),yield Ee());break;case"DoubleBallRouletteResultsUpdated":t&&Array.isArray(t)&&(_=t,o(9,l.currentDoubleBallRouletteNumbers=t,l),yield Ee());break;case"TableOpened":case"TableClosed":o(21,d=i),o(9,l.isOpen=i,l),yield Ee()}}}}),ge=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",be=(e,t)=>e.some(e=>e===t);return e=()=>(window.addEventListener("message",he,!1),()=>{window.removeEventListener("message",he),u&&u.removeEventListener("message",ye)}),function(){if(!ve)throw new Error("Function called outside component initialization");return ve}().$$.on_mount.push(e),n.$$set=e=>{"session"in e&&o(45,M=e.session),"userid"in e&&o(46,G=e.userid),"lang"in e&&o(47,C=e.lang),"clientstyling"in e&&o(48,P=e.clientstyling),"clientstylingurl"in e&&o(49,I=e.clientstylingurl),"favorites"in e&&o(1,N=e.favorites),"gamethumbnail"in e&&o(2,R=e.gamethumbnail),"gamename"in e&&o(3,A=e.gamename),"gamevendor"in e&&o(4,F=e.gamevendor),"gameid"in e&&o(5,Y=e.gameid),"gameisnew"in e&&o(6,U=e.gameisnew),"gamepopularity"in e&&o(7,$=e.gamepopularity),"gamefunmode"in e&&o(50,j=e.gamefunmode),"searchitem"in e&&o(51,B=e.searchitem),"gamefavorite"in e&&o(0,H=e.gamefavorite),"showfavoredcategory"in e&&o(52,W=e.showfavoredcategory),"showgamename"in e&&o(8,V=e.showgamename),"endpoint"in e&&o(53,z=e.endpoint),"livelobbyendpoint"in e&&o(54,X=e.livelobbyendpoint),"currency"in e&&o(55,Z=e.currency),"connectlive"in e&&o(56,K=e.connectlive),"visibilityconnect"in e&&o(57,q=e.visibilityconnect)},n.$$.update=()=>{var e,t;33554432&n.$$.dirty[1]&&K&&("disconnect"===K?pe():"connect"===K&&me()),67108864&n.$$.dirty[1]&&q&&("disconnect"===q?pe():"connect"===q&&"connect"===K&&me()),n.$$.dirty[1],4243456&n.$$.dirty[1]&&M&&G&&z&&o(12,J=!0),4&n.$$.dirty[0]&&R&&s&&o(16,s.onload=()=>{o(15,ee=!0)},s),131072&n.$$.dirty[1]&&P&&(()=>{let e=document.createElement("style");e.innerHTML=P,setTimeout(()=>{a.appendChild(e)})})(),2&n.$$.dirty[0]&&N&&"true"==N&&o(13,Q=!0),262144&n.$$.dirty[1]&&I&&(()=>{let e=new URL(I),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)})})})(),12582912&n.$$.dirty[1]&&z&&X&&(()=>{let e=new URL(`${X.split("?")[0]}`);var t;e.searchParams.append("platform",(t=te).toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),e.searchParams.append("language",C),fetch(e).then(e=>e.json()).then(e=>{var{details:e}=e[0];o(9,l=e)})})(),512&n.$$.dirty[0]&&l&&l&&(o(21,d=l.isOpen),re=l.betLimit||{},f=l.openHours,o(22,ie=(e=>{y=e.totalSeats||7,o(26,g=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=y;e++)t.push(e);return{seats:t}})(l).seats),f&&f.value&&({value:{startTime:e,originalTimeFormat:t}}=f,o(19,h=e),o(20,ne=t||ne)),d&&o(18,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();be(ae,e)?t=Ir:be(le,e)&&(t=Nr)}}return t})(l)),o(23,se=dr[Z]),o(24,m=(re.min||{})[Z]),o(25,p=(re.max||{})[Z]),b=l.currentRouletteNumbers,_=l.currentDoubleBallRouletteNumbers,v=l.vendorCategory,o(27,w=v.toLowerCase()===Rr),o(10,E=(w?_:b)||[]),o(28,T="GameProp LiveProps RoulleteProps"),o(28,T+=w?" Double":""),o(29,S=be(le,v.toLowerCase())?ce:ue),x=L,o(30,L=Array.isArray(g)&&g.length===y),l.dealer&&o(32,O=l.dealer.DealerName),D=l.numberOfPlayers,o(31,oe="ListGame"),d&&L&&m&&p&&l.currentOccupiedSeats?o(31,oe+=" GameContainerDimmed"):!1===d&&h&&o(31,oe+=" GameContainerFullyDimmed"),a&&(!x&&L?(o(31,oe+=" PulsatingRedShadow"),o(31,oe=oe.replace(" PulsatingGreenShadow",""))):x&&!L&&(o(31,oe+=" PulsatingGreenShadow"),o(31,oe=oe.replace(" PulsatingRedShadow",""))))),3072&n.$$.dirty[0]&&k&&E&&(()=>{const e="FirstElementAnimated",t=k.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))})()},[H,N,R,A,F,Y,U,$,V,l,E,k,J,Q,!1,ee,s,a,c,h,ne,d,ie,se,m,p,g,w,T,S,L,oe,O,t,te,de,fe,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},be,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${ge(e)}-${ge(t)}`),D&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${D}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${t("gameThumbnail.dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{e=`${e} ${r}`,r=t.toString().match(/first0|second0|0/g);return 0===t||r&&0!==r.length?`\n <span\n id=${t}\n class="${e}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${e}">\n ${n}\n </span>\n `},M,G,C,P,I,j,B,W,z,X,Z,K,q,ue,ce,function(e){we[e?"unshift":"push"](()=>{s=e,o(16,s)})},()=>fe(Y),()=>de(Y),()=>fe(Y),function(e){we[e?"unshift":"push"](()=>{k=e,o(11,k)})},function(e){we[e?"unshift":"push"](()=>{a=e,o(17,a)})}]}class Yr extends c{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:9.6px;text-align:center;font-size:17.6px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6.4px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:4.8px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14.4px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11.2px;padding:3.2px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:4.8px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:1.6px;margin:0 1px;margin-right:6.4px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:4.8px;padding:1.6px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:10px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 20px 5px 20px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",u(this,{target:this.shadowRoot,props:function(e){const t={};for(const n of e)t[n.name]=n.value;return t}(this.attributes),customElement:!0},Fr,Pr,n,{session:45,userid:46,lang:47,clientstyling:48,clientstylingurl:49,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:50,searchitem:51,gamefavorite:0,showfavoredcategory:52,showgamename:8,endpoint:53,livelobbyendpoint:54,currency:55,connectlive:56,visibilityconnect:57,MONEY_WHEEL_COLOR_MAP:58,ROULETTE_COLOR_MAP:59},[-1,-1,-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),v()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","endpoint","livelobbyendpoint","currency","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[45]}set session(e){this.$set({session:e}),v()}get userid(){return this.$$.ctx[46]}set userid(e){this.$set({userid:e}),v()}get lang(){return this.$$.ctx[47]}set lang(e){this.$set({lang:e}),v()}get clientstyling(){return this.$$.ctx[48]}set clientstyling(e){this.$set({clientstyling:e}),v()}get clientstylingurl(){return this.$$.ctx[49]}set clientstylingurl(e){this.$set({clientstylingurl:e}),v()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),v()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),v()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),v()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),v()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),v()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),v()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),v()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$set({gamefunmode:e}),v()}get searchitem(){return this.$$.ctx[51]}set searchitem(e){this.$set({searchitem:e}),v()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),v()}get showfavoredcategory(){return this.$$.ctx[52]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),v()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),v()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$set({endpoint:e}),v()}get livelobbyendpoint(){return this.$$.ctx[54]}set livelobbyendpoint(e){this.$set({livelobbyendpoint:e}),v()}get currency(){return this.$$.ctx[55]}set currency(e){this.$set({currency:e}),v()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$set({connectlive:e}),v()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$set({visibilityconnect:e}),v()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[58]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[59]}}return customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",Yr),Yr});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function V(){}function h(e){return e()}function d(){return Object.create(null)}function z(e){e.forEach(h)}function f(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function ve(e,...t){if(null==e)return V;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function X(e,t){e.appendChild(t)}function Z(e,t,n){e.insertBefore(t,n||null)}function K(e){e.parentNode.removeChild(e)}function m(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function q(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function J(e){return document.createTextNode(e)}function Q(){return J(" ")}function l(){return J("")}function ee(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function te(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function ne(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}class y{constructor(e=null){this.a=e,this.e=this.n=null}m(e,t,n=null){this.e||(this.e=q(t.nodeName),this.t=t,this.h(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)Z(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(K)}}let _e;function p(e){_e=e}const g=[],we=[],r=[],e=[],i=Promise.resolve();let o=!1;function b(){o||(o=!0,i.then(_))}function Ee(){return b(),i}function v(e){r.push(e)}let s=!1;const a=new Set;function _(){if(!s){s=!0;do{for(let e=0;e<g.length;e+=1){var t=g[e];p(t),function(e){{var t;null!==e.fragment&&(e.update(),z(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(v))}}(t.$$)}for(p(null),g.length=0;we.length;)we.pop()();for(let e=0;e<r.length;e+=1){const n=r[e];a.has(n)||(a.add(n),n())}}while(r.length=0,g.length);for(;e.length;)e.pop()();o=!1,s=!1,a.clear()}}const w=new Set;function u(r,e,t,n,i,o,s=[-1]){var a,l=_e;p(r);const u=r.$$={fragment:null,ctx:null,props:o,update:V,not_equal:i,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:d(),dirty:s,skip_bound:!1};let c=!1;if(u.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return u.ctx&&i(u.ctx[e],u.ctx[e]=n)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](n),c&&(n=e,-1===(e=r).$$.dirty[0]&&(g.push(e),b(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],u.update(),c=!0,z(u.before_update),u.fragment=!!n&&n(u.ctx),e.target){if(e.hydrate){const V=(n=e.target,Array.from(n.childNodes));u.fragment&&u.fragment.l(V),V.forEach(K)}else u.fragment&&u.fragment.c();e.intro&&(a=r.$$.fragment)&&a.i&&(w.delete(a),a.i(void 0)),function(t,e,n,r){const{fragment:i,on_mount:o,on_destroy:s,after_update:a}=t.$$;i&&i.m(e,n),r||v(()=>{var e=o.map(h).filter(f);s?s.push(...e):z(e),t.$$.on_mount=[]}),a.forEach(v)}(r,e.target,e.anchor,e.customElement),_()}p(l)}let c;function Mn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}"function"==typeof HTMLElement&&(c=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(h).filter(f);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){z(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(z(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=V}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var E,Cn,S,T,L=(Cn=E={path:void 0,exports:{},require:function(e,t){return Mn(null==t&&E.path)}},E.exports,Cn.exports=function(){var e;function m(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function o(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){for(var n=[],r=0;r<e.length;++r)n.push(t(e[r],r));return n}function c(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return Ot(e,t,n,r,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function d(e){if(null==e._isValid){var t=p(e),n=g.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function y(e){var t=h(NaN);return null!=e?c(p(t),e):p(t).userInvalidated=!0,t}var g=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},b=m.momentProperties=[],t=!1;function v(e,t){var n,r,i;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=p(t)),o(t._locale)||(e._locale=t._locale),0<b.length)for(n=0;n<b.length;n++)o(i=t[r=b[n]])||(e[r]=i);return e}function _(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function w(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function E(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,o){var s=!0;return c(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,i),s){for(var e,t,n=[],r=0;r<arguments.length;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}E(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var S={};function T(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),S[e]||(E(t),S[e]=!0)}function L(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function x(e,t){var n,r=c({},e);for(n in t)f(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},c(r[n],e[n]),c(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)f(e,n)&&!f(t,n)&&a(e[n])&&(r[n]=c({},r[n]));return r}function k(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var G=Object.keys||function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};function O(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var D=/(\[[^\[]*\])|(\\)?([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,M=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,C={},I={};function P(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(I[e]=i),t&&(I[t[0]]=function(){return O(i.apply(this,arguments),t[1],t[2])}),n&&(I[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=R(t,e.localeData()),C[t]=C[t]||function(r){for(var e,i=r.match(D),t=0,o=i.length;t<o;t++)I[i[t]]?i[t]=I[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=L(i[n])?i[n].call(e,r):i[n];return t}}(t),C[t](e)):e.localeData().invalidDate()}function R(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(M.lastIndex=0;0<=n&&M.test(e);)e=e.replace(M,r),M.lastIndex=0,--n;return e}var A={};function F(e,t){var n=e.toLowerCase();A[n]=A[n+"s"]=A[t]=e}function Y(e){return"string"==typeof e?A[e]||A[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)f(e,n)&&(t=Y(n))&&(r[t]=e[n]);return r}var $={};function j(e,t){$[e]=t}function B(e){return e%4==0&&e%100!=0||e%400==0}function H(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function W(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?H(t):e}function V(t,n){return function(e){return null!=e?(X(this,t,e),m.updateOffset(this,n),this):z(this,t)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function X(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&B(e.year())&&1===e.month()&&29===e.date()?(n=W(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ge(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Z=/\d/,K=/\d\d/,q=/\d{3}/,J=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,re=/\d{1,3}/,ie=/\d{1,4}/,oe=/[+-]?\d{1,6}/,se=/\d+/,ae=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,n,r){me[e]=L(n)?n:function(e,t){return e&&r?r:n}}function de(e,t){return f(me,e)?me[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},pe={};function ye(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),u(n)&&(r=function(e,t){t[n]=W(e)}),t=0;t<e.length;t++)pe[e[t]]=r}function ge(e,i){ye(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var be,ve=0,_e=1,we=2,Ee=3,Se=4,Te=5,Le=6,xe=7,ke=8;function Ge(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?B(e)?29:28:31-n%7%2}be=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},P("M",["MM",2],"Mo",function(){return this.month()+1}),P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),P("MMMM",0,0,function(e){return this.localeData().months(this,e)}),F("month","M"),j("month",8),he("M",ee),he("MM",ee,K),he("MMM",function(e,t){return t.monthsShortRegex(e)}),he("MMMM",function(e,t){return t.monthsRegex(e)}),ye(["M","MM"],function(e,t){t[_e]=W(e)-1}),ye(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[_e]=r:p(n).invalidMonth=e});var Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Me=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ce=ce,Ie=ce;function Pe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=W(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ge(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ne(e){return null!=e?(Pe(this,e),m.updateOffset(this,!0),this):z(this,"Month")}function Re(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],o=0;o<12;o++)t=h([2e3,o]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),o=0;o<12;o++)n[o]=fe(n[o]),r[o]=fe(r[o]);for(o=0;o<24;o++)i[o]=fe(i[o]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ae(e){return B(e)?366:365}P("Y",0,0,function(){var e=this.year();return e<=9999?O(e,4):"+"+e}),P(0,["YY",2],0,function(){return this.year()%100}),P(0,["YYYY",4],0,"year"),P(0,["YYYYY",5],0,"year"),P(0,["YYYYYY",6,!0],0,"year"),F("year","y"),j("year",1),he("Y",ae),he("YY",ee,K),he("YYYY",ie,J),he("YYYYY",oe,Q),he("YYYYYY",oe,Q),ye(["YYYYY","YYYYYY"],ve),ye("YYYY",function(e,t){t[ve]=2===e.length?m.parseTwoDigitYear(e):W(e)}),ye("YY",function(e,t){t[ve]=m.parseTwoDigitYear(e)}),ye("Y",function(e,t){t[ve]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return W(e)+(68<W(e)?1900:2e3)};var Fe=V("FullYear",!0);function Ye(e,t,n,r,i,o,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}function Ue(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function $e(e,t,n){n=7+t-n;return-(7+Ue(e,0,n).getUTCDay()-t)%7+n-1}function je(e,t,n,r,i){var o,i=1+7*(t-1)+(7+n-r)%7+$e(e,r,i),i=i<=0?Ae(o=e-1)+i:i>Ae(e)?(o=e+1,i-Ae(e)):(o=e,i);return{year:o,dayOfYear:i}}function Be(e,t,n){var r,i,o=$e(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?r=o+He(i=e.year()-1,t,n):o>He(e.year(),t,n)?(r=o-He(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function He(e,t,n){var r=$e(e,t,n),n=$e(e+1,t,n);return(Ae(e)-r+n)/7}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),j("week",5),j("isoWeek",5),he("w",ee),he("ww",ee,K),he("W",ee),he("WW",ee,K),ge(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=W(e)});function We(e,t){return e.slice(t,7).concat(e.slice(0,t))}P("d",0,"do","day"),P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),he("d",ee),he("e",ee),he("E",ee),he("dd",function(e,t){return t.weekdaysMinRegex(e)}),he("ddd",function(e,t){return t.weekdaysShortRegex(e)}),he("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:p(n).invalidWeekday=e}),ge(["d","e","E"],function(e,t,n,r){t[r]=W(e)});var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ze=ce,Ke=ce,qe=ce;function Je(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],o=[],s=[],a=[],l=0;l<7;l++)r=h([2e3,1]).day(l),t=fe(this.weekdaysMin(r,"")),n=fe(this.weekdaysShort(r,"")),r=fe(this.weekdays(r,"")),i.push(t),o.push(n),s.push(r),a.push(t),a.push(n),a.push(r);i.sort(e),o.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,Qe),P("k",["kk",2],0,function(){return this.hours()||24}),P("hmm",0,0,function(){return""+Qe.apply(this)+O(this.minutes(),2)}),P("hmmss",0,0,function(){return""+Qe.apply(this)+O(this.minutes(),2)+O(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+O(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+O(this.minutes(),2)+O(this.seconds(),2)}),et("a",!0),et("A",!1),F("hour","h"),j("hour",13),he("a",tt),he("A",tt),he("H",ee),he("h",ee),he("k",ee),he("HH",ee,K),he("hh",ee,K),he("kk",ee,K),he("hmm",te),he("hmmss",ne),he("Hmm",te),he("Hmmss",ne),ye(["H","HH"],Ee),ye(["k","kk"],function(e,t,n){e=W(e);t[Ee]=24===e?0:e}),ye(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ye(["h","hh"],function(e,t,n){t[Ee]=W(e),p(n).bigHour=!0}),ye("hmm",function(e,t,n){var r=e.length-2;t[Ee]=W(e.substr(0,r)),t[Se]=W(e.substr(r)),p(n).bigHour=!0}),ye("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ee]=W(e.substr(0,r)),t[Se]=W(e.substr(r,2)),t[Te]=W(e.substr(i)),p(n).bigHour=!0}),ye("Hmm",function(e,t,n){var r=e.length-2;t[Ee]=W(e.substr(0,r)),t[Se]=W(e.substr(r))}),ye("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ee]=W(e.substr(0,r)),t[Se]=W(e.substr(r,2)),t[Te]=W(e.substr(i))});var nt=V("Hours",!0);var rt,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Oe,monthsShort:De,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:Xe,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},ot={},st={};function at(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=at(e[o]).split("-")).length,n=(n=at(e[o+1]))?n.split("-"):null;0<t;){if(r=ut(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}o++}return rt}function ut(t){var e;if(void 0===ot[t]&&Cn&&Cn.exports)try{e=rt._abbr,Mn(),ct(e)}catch(e){ot[t]=null}return ot[t]}function ct(e,t){return e&&((t=o(t)?dt(e):ht(e,t))?rt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function ht(e,t){if(null===t)return delete ot[e],null;var n,r=it;if(t.abbr=e,null!=ot[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ot[e]._config;else if(null!=t.parentLocale)if(null!=ot[t.parentLocale])r=ot[t.parentLocale]._config;else{if(null==(n=ut(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ot[e]=new k(x(r,t)),st[e]&&st[e].forEach(function(e){ht(e.name,e.config)}),ct(e),ot[e]}function dt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!s(e)){if(t=ut(e))return t;e=[e]}return lt(e)}function ft(e){var t=e._a;return t&&-2===p(e).overflow&&(t=t[_e]<0||11<t[_e]?_e:t[we]<1||t[we]>Ge(t[ve],t[_e])?we:t[Ee]<0||24<t[Ee]||24===t[Ee]&&(0!==t[Se]||0!==t[Te]||0!==t[Le])?Ee:t[Se]<0||59<t[Se]?Se:t[Te]<0||59<t[Te]?Te:t[Le]<0||999<t[Le]?Le:-1,p(e)._overflowDayOfYear&&(t<ve||we<t)&&(t=we),p(e)._overflowWeeks&&-1===t&&(t=xe),p(e)._overflowWeekday&&-1===t&&(t=ke),p(e).overflow=t),e}var mt=/^\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)?)?$/,pt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,gt=[["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]],bt=[["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/]],vt=/^\/?Date\((-?\d+)/i,_t=/^(?:(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}))$/,wt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Et(e){var t,n,r,i,o,s,a=e._i,l=mt.exec(a)||pt.exec(a);if(l){for(p(e).iso=!0,t=0,n=gt.length;t<n;t++)if(gt[t][1].exec(l[1])){i=gt[t][0],r=!1!==gt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=bt.length;t<n;t++)if(bt[t][1].exec(l[3])){o=(l[2]||" ")+bt[t][0];break}if(null==o)return e._isValid=!1}if(!r&&null!=o)return e._isValid=!1;if(l[4]){if(!yt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=i+(o||"")+(s||""),kt(e)}else e._isValid=!1}function St(e,t,n,r,i,o){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&i.push(parseInt(o,10)),i}function Tt(e){var t,n,r,i,o=_t.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=St(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],r=t,i=e,n&&ze.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(p(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=o[8],t=o[9],o=o[10],i?wt[i]:t?0:((t=parseInt(o,10))-(o=t%100))/100*60+o),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0)):e._isValid=!1}function Lt(e,t,n){return null!=e?e:null!=t?t:n}function xt(e){var t,n,r,i,o,s,a,l,u,c,h,d,f=[];if(!e._d){for(h=e,d=new Date(m.now()),n=h._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[we]&&null==e._a[_e]&&(null!=(h=(i=e)._w).GG||null!=h.W||null!=h.E?(l=1,u=4,o=Lt(h.GG,i._a[ve],Be(Dt(),1,4).year),s=Lt(h.W,1),((a=Lt(h.E,1))<1||7<a)&&(c=!0)):(l=i._locale._week.dow,u=i._locale._week.doy,d=Be(Dt(),l,u),o=Lt(h.gg,i._a[ve],d.year),s=Lt(h.w,d.week),null!=h.d?((a=h.d)<0||6<a)&&(c=!0):null!=h.e?(a=h.e+l,(h.e<0||6<h.e)&&(c=!0)):a=l),s<1||s>He(o,l,u)?p(i)._overflowWeeks=!0:null!=c?p(i)._overflowWeekday=!0:(u=je(o,s,a,l,u),i._a[ve]=u.year,i._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(r=Lt(e._a[ve],n[ve]),(e._dayOfYear>Ae(r)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),r=Ue(r,0,e._dayOfYear),e._a[_e]=r.getUTCMonth(),e._a[we]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=f[t]=n[t];for(;t<7;t++)e._a[t]=f[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ee]&&0===e._a[Se]&&0===e._a[Te]&&0===e._a[Le]&&(e._nextDay=!0,e._a[Ee]=0),e._d=(e._useUTC?Ue:Ye).apply(null,f),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ee]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(p(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],p(e).empty=!0;for(var t,n,r=""+e._i,i=r.length,o=0,s=R(e._f,e._locale).match(D)||[],a=0;a<s.length;a++)n=s[a],(t=(r.match(de(n,e))||[])[0])&&(0<(h=r.substr(0,r.indexOf(t))).length&&p(e).unusedInput.push(h),r=r.slice(r.indexOf(t)+t.length),o+=t.length),I[n]?(t?p(e).empty=!1:p(e).unusedTokens.push(n),c=n,d=e,null!=(h=t)&&f(pe,c)&&pe[c](h,d._a,d,c)):e._strict&&!t&&p(e).unusedTokens.push(n);p(e).charsLeftOver=i-o,0<r.length&&p(e).unusedInput.push(r),e._a[Ee]<=12&&!0===p(e).bigHour&&0<e._a[Ee]&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Ee]=(l=e._locale,u=e._a[Ee],null==(i=e._meridiem)?u:null!=l.meridiemHour?l.meridiemHour(u,i):null!=l.isPM?((i=l.isPM(i))&&u<12&&(u+=12),u=i||12!==u?u:0):u),null!==(u=p(e).era)&&(e._a[ve]=e._locale.erasConvertYear(u,e._a[ve])),xt(e),ft(e)}else Tt(e);else Et(e);var l,u,c,h,d}function Gt(e){var t=e._i,n=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(ft(t)):(i(t)?e._d=t:s(n)?function(e){var t,n,r,i,o,s,a=!1;if(0===e._f.length)return p(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)o=0,s=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],kt(t),d(t)&&(s=!0),o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));c(e,n||t)}(e):n?kt(e):o(n=(t=e)._i)?t._d=new Date(m.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=vt.exec(e._i);null===t?(Et(e),!1===e._isValid&&(delete e._isValid,Tt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):s(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),xt(t)):a(n)?function(e){var t,n;e._d||(n=void 0===(t=U(e._i)).day?t.date:t.day,e._a=r([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),xt(e))}(t):u(n)?t._d=new Date(n):m.createFromInputFallback(t),d(e)||(e._d=null),e))}function Ot(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(o=new _(ft(Gt(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Dt(e,t,n,r){return Ot(e,t,n,r,!1)}m.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};var Mt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()}),Ct=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:y()});function It(e,t){var n,r;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return Dt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var t=U(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,a=t.hour||0,l=t.minute||0,u=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(f(e,t)&&(-1===be.call(Pt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Pt.length;++n)if(e[Pt[n]]){if(r)return!1;parseFloat(e[Pt[n]])!==W(e[Pt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*u+6e4*l+1e3*a*60*60,this._days=+s+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=dt(),this._bubble()}function Rt(e){return e instanceof Nt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){P(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+O(~~(e/60),2)+n+O(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),he("Z",ue),he("ZZ",ue),ye(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(ue,e)});var Yt=/([\+\-]|\d\d)/gi;function Ut(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Yt)||["-",0,0])[1]+W(e[2]))?0:"+"===e[0]?t:-t}function $t(e,t){var n;return t._isUTC?(n=t.clone(),t=(w(e)||i(e)?e:Dt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),m.updateOffset(n,!1),n):Dt(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Bt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ht=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vt(e,t){var n,r,i=e,o=null;return Rt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(o=Ht.exec(e))?(n="-"===o[1]?-1:1,i={y:0,d:W(o[we])*n,h:W(o[Ee])*n,m:W(o[Se])*n,s:W(o[Te])*n,ms:W(At(1e3*o[Le]))*n}):(o=Wt.exec(e))?(n="-"===o[1]?-1:1,i={y:zt(o[2],n),M:zt(o[3],n),w:zt(o[4],n),d:zt(o[5],n),h:zt(o[6],n),m:zt(o[7],n),s:zt(o[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(o=Dt(i.from),n=Dt(i.to),r=o.isValid()&&n.isValid()?(n=$t(n,o),o.isBefore(n)?r=Xt(o,n):((r=Xt(n,o)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new Nt(i),Rt(e)&&f(e,"_locale")&&(i._locale=e._locale),Rt(e)&&f(e,"_isValid")&&(i._isValid=e._isValid),i}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Xt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Zt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(T(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Kt(this,Vt(e,t),r),this}}function Kt(e,t,n,r){var i=t._milliseconds,o=At(t._days),t=At(t._months);e.isValid()&&(r=null==r||r,t&&Pe(e,z(e,"Month")+t*n),o&&X(e,"Date",z(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&m.updateOffset(e,o||t))}Vt.fn=Nt.prototype,Vt.invalid=function(){return Vt(NaN)};var qt=Zt(1,"add"),ce=Zt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Qt(e){return w(e)||i(e)||Jt(e)||u(e)||(n=s(t=e),r=!1,n&&(r=0===t.filter(function(e){return!u(e)&&Jt(t)}).length),n&&r)||function(e){var t,n,r=a(e)&&!l(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)n=o[t],i=i||f(e,n);return r&&i}(e)||null==e;var t,n,r}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=dt(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var rn=126227808e5;function on(e,t){return(e%t+t)%t}function sn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function un(){for(var e=[],t=[],n=[],r=[],i=this.eras(),o=0,s=i.length;o<s;++o)t.push(fe(i[o].name)),e.push(fe(i[o].abbr)),n.push(fe(i[o].narrow)),r.push(fe(i[o].name)),r.push(fe(i[o].abbr)),r.push(fe(i[o].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function cn(e,t){P(0,[e,e.length],0,t)}function hn(e,t,n,r,i){var o;return null==e?Be(this,r,i).year:(t>(o=He(e,r,i))&&(t=o),function(e,t,n,r,i){i=je(e,t,n,r,i),i=Ue(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,r,i))}P("N",0,0,"eraAbbr"),P("NN",0,0,"eraAbbr"),P("NNN",0,0,"eraAbbr"),P("NNNN",0,0,"eraName"),P("NNNNN",0,0,"eraNarrow"),P("y",["y",1],"yo","eraYear"),P("y",["yy",2],0,"eraYear"),P("y",["yyy",3],0,"eraYear"),P("y",["yyyy",4],0,"eraYear"),he("N",ln),he("NN",ln),he("NNN",ln),he("NNNN",function(e,t){return t.erasNameRegex(e)}),he("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ye(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?p(n).era=r:p(n).invalidEra=e}),he("y",se),he("yy",se),he("yyy",se),he("yyyy",se),he("yo",function(e,t){return t._eraYearOrdinalRegex||se}),ye(["y","yy","yyy","yyyy"],ve),ye(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ve]=n._locale.eraYearOrdinalParse(e,i):t[ve]=parseInt(e,10)}),P(0,["gg",2],0,function(){return this.weekYear()%100}),P(0,["GG",2],0,function(){return this.isoWeekYear()%100}),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),he("G",ae),he("g",ae),he("GG",ee,K),he("gg",ee,K),he("GGGG",ie,J),he("gggg",ie,J),he("GGGGG",oe,Q),he("ggggg",oe,Q),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=W(e)}),ge(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),P("Q",0,"Qo","quarter"),F("quarter","Q"),j("quarter",7),he("Q",Z),ye("Q",function(e,t){t[_e]=3*(W(e)-1)}),P("D",["DD",2],"Do","date"),F("date","D"),j("date",9),he("D",ee),he("DD",ee,K),he("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ye(["D","DD"],we),ye("Do",function(e,t){t[we]=W(e.match(ee)[0])});ne=V("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),j("dayOfYear",4),he("DDD",re),he("DDDD",q),ye(["DDD","DDDD"],function(e,t,n){n._dayOfYear=W(e)}),P("m",["mm",2],0,"minute"),F("minute","m"),j("minute",14),he("m",ee),he("mm",ee,K),ye(["m","mm"],Se);Oe=V("Minutes",!1);P("s",["ss",2],0,"second"),F("second","s"),j("second",15),he("s",ee),he("ss",ee,K),ye(["s","ss"],Te);var dn,Ve=V("Seconds",!1);for(P("S",0,0,function(){return~~(this.millisecond()/100)}),P(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,function(){return 10*this.millisecond()}),P(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),P(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),P(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),P(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),P(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),j("millisecond",16),he("S",re,Z),he("SS",re,K),he("SSS",re,q),dn="SSSS";dn.length<=9;dn+="S")he(dn,se);function fn(e,t){t[Le]=W(1e3*("0."+e))}for(dn="S";dn.length<=9;dn+="S")ye(dn,fn);Xe=V("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");ie=_.prototype;function mn(e){return e}ie.add=qt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||f(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Dt(),e=$t(n,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(L(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Dt(n)))},ie.clone=function(){return new _(this)},ie.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=$t(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=Y(t)){case"year":o=en(this,r)/12;break;case"month":o=en(this,r);break;case"quarter":o=en(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:H(o)},ie.endOf=function(e){var t,n;if(void 0===(e=Y(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-on(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-on(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-on(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=N(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Dt(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Dt(),e)},ie.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Dt(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Dt(),e)},ie.get=function(e){return L(this[e=Y(e)])?this[e]():this},ie.invalidAt=function(){return p(this).overflow},ie.isAfter=function(e,t){return e=w(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=Y(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=w(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=Y(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,n,r){return e=w(e)?e:Dt(e),t=w(t)?t:Dt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},ie.isSame=function(e,t){var e=w(e)?e:Dt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=Y(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return d(this)},ie.lang=te,ie.locale=tn,ie.localeData=nn,ie.max=Ct,ie.min=Mt,ie.parsingFlags=function(){return c({},p(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)f(e,t)&&n.push({unit:t,priority:$[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=U(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(L(this[e=Y(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=Y(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=on(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=on(t,6e4);break;case"second":t=this._d.valueOf(),t-=on(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.subtract=ce,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?N(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(e,"Z")):N(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},ie.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},ie.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},ie.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-m(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=Fe,ie.isLeapYear=function(){return B(this.year())},ie.weekYear=function(e){return hn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return hn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Ne,ie.daysInMonth=function(){return Ge(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=Be(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return He(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return He(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return He(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return He(this.isoWeekYear(),1,4)},ie.date=ne,ie.day=ie.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},ie.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ie.hour=ie.hours=nt,ie.minute=ie.minutes=Oe,ie.second=ie.seconds=Ve,ie.millisecond=ie.milliseconds=Xe,ie.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:jt(this);if("string"==typeof e){if(null===(e=Ut(ue,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Kt(this,Vt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ut(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Dt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=Bt,ie.isUTC=Bt,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=n("dates accessor is deprecated. Use date instead.",ne),ie.months=n("months accessor is deprecated. Use month instead",Ne),ie.years=n("years accessor is deprecated. Use year instead",Fe),ie.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),ie.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Gt(t))._a?(e=(t._isUTC?h:Dt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0,s=0;s<r;s++)(n&&e[s]!==t[s]||!n&&W(e[s])!==W(t[s]))&&o++;return o+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});J=k.prototype;function pn(e,t,n,r){var i=dt(),t=h().set(r,t);return i[n](t,e)}function yn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=pn(e,i,n,"month");return r}function gn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),u(t)&&(n=t,t=void 0),t||"");var i,o=dt(),s=e?o._week.dow:0,a=[];if(null!=n)return pn(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=pn(t,(i+s)%7,r,"day");return a}J.calendar=function(e,t,n){return L(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},J.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(D).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},J.invalidDate=function(){return this._invalidDate},J.ordinal=function(e){return this._ordinal.replace("%d",e)},J.preparse=mn,J.postformat=mn,J.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return L(i)?i(e,t,n,r):i.replace(/%d/i,e)},J.pastFuture=function(e,t){return L(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},J.set=function(e){var t,n;for(n in e)f(e,n)&&(L(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},J.eras=function(e,t){for(var n,r=this._eras||dt("en")._eras,i=0,o=r.length;i<o;++i)switch("string"==typeof r[i].since&&(n=m(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=m(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},J.erasParse=function(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if(0<=[o,s,a].indexOf(e))return l[r]},J.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},J.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||un.call(this),e?this._erasAbbrRegex:this._erasRegex},J.erasNameRegex=function(e){return f(this,"_erasNameRegex")||un.call(this),e?this._erasNameRegex:this._erasRegex},J.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||un.call(this),e?this._erasNarrowRegex:this._erasRegex},J.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Me).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},J.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Me.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},J.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=be.call(this._shortMonthsParse,e))?i:null:-1!==(i=be.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=be.call(this._shortMonthsParse,e))||-1!==(i=be.call(this._longMonthsParse,e))?i:null:-1!==(i=be.call(this._longMonthsParse,e))||-1!==(i=be.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},J.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ie),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},J.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Ce),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},J.week=function(e){return Be(e,this._week.dow,this._week.doy).week},J.firstDayOfYear=function(){return this._week.doy},J.firstDayOfWeek=function(){return this._week.dow},J.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?We(t,this._week.dow):e?t[e.day()]:t},J.weekdaysMin=function(e){return!0===e?We(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},J.weekdaysShort=function(e){return!0===e?We(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},J.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=be.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=be.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=be.call(this._weekdaysParse,e))||-1!==(i=be.call(this._shortWeekdaysParse,e))||-1!==(i=be.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,e))||-1!==(i=be.call(this._weekdaysParse,e))||-1!==(i=be.call(this._minWeekdaysParse,e))?i:null:-1!==(i=be.call(this._minWeekdaysParse,e))||-1!==(i=be.call(this._weekdaysParse,e))||-1!==(i=be.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},J.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},J.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},J.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},J.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},J.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===W(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=n("moment.lang is deprecated. Use moment.locale instead.",ct),m.langData=n("moment.langData is deprecated. Use moment.localeData instead.",dt);var bn=Math.abs;function vn(e,t,n,r){n=Vt(t,n);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function _n(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function En(e){return 146097*e/4800}function Sn(e){return function(){return this.as(e)}}oe=Sn("ms"),Q=Sn("s"),Z=Sn("m"),K=Sn("h"),re=Sn("d"),q=Sn("w"),qt=Sn("M"),Ct=Sn("Q"),Mt=Sn("y");function Tn(e){return function(){return this.isValid()?this._data[e]:NaN}}ce=Tn("milliseconds"),nt=Tn("seconds"),Oe=Tn("minutes"),Ve=Tn("hours"),Xe=Tn("days"),ne=Tn("months"),Fe=Tn("years");var Ln=Math.round,xn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function kn(e,t,n,r){var i=Vt(e).abs(),o=Ln(i.as("s")),s=Ln(i.as("m")),a=Ln(i.as("h")),l=Ln(i.as("d")),u=Ln(i.as("M")),c=Ln(i.as("w")),i=Ln(i.as("y")),l=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||c<=1&&["w"]||c<n.w&&["ww",c]:l)||u<=1&&["M"]||u<n.M&&["MM",u]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}var Gn=Math.abs;function On(e){return(0<e)-(e<0)||+e}function Dn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,s,a=Gn(this._milliseconds)/1e3,l=Gn(this._days),u=Gn(this._months),c=this.asSeconds();return c?(e=H(a/60),t=H(e/60),a%=60,e%=60,n=H(u/12),u%=12,r=a?a.toFixed(3).replace(/\.?0+$/,""):"",i=On(this._months)!==On(c)?"-":"",o=On(this._days)!==On(c)?"-":"",s=On(this._milliseconds)!==On(c)?"-":"",(c<0?"-":"")+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(l?o+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+r+"S":"")):"P0D"}J=Nt.prototype;return J.isValid=function(){return this._isValid},J.abs=function(){var e=this._data;return this._milliseconds=bn(this._milliseconds),this._days=bn(this._days),this._months=bn(this._months),e.milliseconds=bn(e.milliseconds),e.seconds=bn(e.seconds),e.minutes=bn(e.minutes),e.hours=bn(e.hours),e.months=bn(e.months),e.years=bn(e.years),this},J.add=function(e,t){return vn(this,e,t,1)},J.subtract=function(e,t){return vn(this,e,t,-1)},J.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=Y(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+wn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(En(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},J.asMilliseconds=oe,J.asSeconds=Q,J.asMinutes=Z,J.asHours=K,J.asDays=re,J.asWeeks=q,J.asMonths=qt,J.asQuarters=Ct,J.asYears=Mt,J.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*W(this._months/12):NaN},J._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*_n(En(n)+t),n=t=0),r.milliseconds=e%1e3,e=H(e/1e3),r.seconds=e%60,e=H(e/60),r.minutes=e%60,e=H(e/60),r.hours=e%24,t+=H(e/24),n+=e=H(wn(t)),t-=_n(En(e)),e=H(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},J.clone=function(){return Vt(this)},J.get=function(e){return e=Y(e),this.isValid()?this[e+"s"]():NaN},J.milliseconds=ce,J.seconds=nt,J.minutes=Oe,J.hours=Ve,J.days=Xe,J.weeks=function(){return H(this.days()/7)},J.months=ne,J.years=Fe,J.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=xn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},xn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),r=kn(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},J.toISOString=Dn,J.toString=Dn,J.toJSON=Dn,J.locale=tn,J.localeData=nn,J.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),J.lang=te,P("X",0,0,"unix"),P("x",0,0,"valueOf"),he("x",ae),he("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ye("x",function(e,t,n){n._d=new Date(W(e))}),m.version="2.29.1",e=Dt,m.fn=ie,m.min=function(){return It("isBefore",[].slice.call(arguments,0))},m.max=function(){return It("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=h,m.unix=function(e){return Dt(1e3*e)},m.months=function(e,t){return yn(e,t,"months")},m.isDate=i,m.locale=ct,m.invalid=y,m.duration=Vt,m.isMoment=w,m.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},m.parseZone=function(){return Dt.apply(null,arguments).parseZone()},m.localeData=dt,m.isDuration=Rt,m.monthsShort=function(e,t){return yn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},m.defineLocale=ht,m.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=ot[e]&&null!=ot[e].parentLocale?ot[e].set(x(ot[e]._config,t)):(t=x(r=null!=(n=ut(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new k(t)).parentLocale=ot[e],ot[e]=t),ct(e)):null!=ot[e]&&(null!=ot[e].parentLocale?(ot[e]=ot[e].parentLocale,e===ct()&&ct(e)):null!=ot[e]&&delete ot[e]),ot[e]},m.locales=function(){return G(ot)},m.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},m.normalizeUnits=Y,m.relativeTimeRounding=function(e){return void 0===e?Ln:"function"==typeof e&&(Ln=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==xn[e]&&(void 0===t?xn[e]:(xn[e]=t,"s"===e&&(xn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=ie,m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},m}(),E.exports),x="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==x&&x,k="URLSearchParams"in x,G="Symbol"in x&&"iterator"in Symbol,O="FileReader"in x&&"Blob"in x&&function(){try{return new Blob,!0}catch(e){return!1}}(),D="FormData"in x,M="ArrayBuffer"in x;function C(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function I(e){return e="string"!=typeof e?String(e):e}function P(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return G&&(e[Symbol.iterator]=function(){return e}),e}function N(t){this.map={},t instanceof N?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function R(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function A(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function F(e){var t=new FileReader,n=A(t);return t.readAsArrayBuffer(e),n}function Y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function U(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:O&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:D&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:k&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():M&&O&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=Y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):M&&(ArrayBuffer.prototype.isPrototypeOf(e)||T(e))?this._bodyArrayBuffer=Y(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):k&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},O&&(this.blob=function(){var e=R(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?R(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(F)}),this.text=function(){var e,t,n=R(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,n=A(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},D&&(this.formData=function(){return this.text().then(B)}),this.json=function(){return this.text().then(JSON.parse)},this}M&&(S=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],T=ArrayBuffer.isView||function(e){return e&&-1<S.indexOf(Object.prototype.toString.call(e))}),N.prototype.append=function(e,t){e=C(e),t=I(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},N.prototype.delete=function(e){delete this.map[C(e)]},N.prototype.get=function(e){return e=C(e),this.has(e)?this.map[e]:null},N.prototype.has=function(e){return this.map.hasOwnProperty(C(e))},N.prototype.set=function(e,t){this.map[C(e)]=I(t)},N.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},N.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),P(n)},N.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),P(t)},N.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),P(n)},G&&(N.prototype[Symbol.iterator]=N.prototype.entries);var $=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function j(e,t){if(!(this instanceof j))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof j){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new N(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new N(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<$.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function B(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function H(e,t){if(!(this instanceof H))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new N(t.headers),this.url=t.url||"",this._initBody(e)}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})},U.call(j.prototype),U.call(H.prototype),H.prototype.clone=function(){return new H(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new N(this.headers),url:this.url})},H.error=function(){var e=new H(null,{status:0,statusText:""});return e.type="error",e};var W=[301,302,303,307,308];H.redirect=function(e,t){if(-1===W.indexOf(t))throw new RangeError("Invalid status code");return new H(null,{status:t,headers:{location:e}})};var re=x.DOMException;try{new re}catch(V){(re=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),re.prototype.constructor=re}function ie(r,s){return new Promise(function(i,e){var t=new j(r,s);if(t.signal&&t.signal.aborted)return e(new re("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var e,n,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",n=new N,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL");var r="response"in o?o.response:o.responseText;setTimeout(function(){i(new H(r,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new re("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&x.location.href?x.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(O?o.responseType="blob":M&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof N?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){o.setRequestHeader(e,I(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",n)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}ie.polyfill=!0,x.fetch||(x.fetch=ie,x.Headers=N,x.Request=j,x.Response=H),self.fetch.bind(self);var oe=function(e,t){return(oe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function se(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}oe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ae(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function le(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function ue(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function ce(e){return"function"==typeof e}function he(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var de=he(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function fe(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var me=(ye.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=ae(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(ce(o))try{o()}catch(e){i=e instanceof de?e.errors:[e]}o=this._teardowns;if(o){this._teardowns=null;try{for(var l=ae(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{be(c)}catch(e){i=null!=i?i:[],e instanceof de?i=ue(ue([],le(i)),le(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new de(i)}},ye.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)be(e);else{if(e instanceof ye){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},ye.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},ye.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},ye.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&fe(t,e)},ye.prototype.remove=function(e){var t=this._teardowns;t&&fe(t,e),e instanceof ye&&e._removeParent(this)},ye.EMPTY=((Ht=new ye).closed=!0,Ht),ye),pe=me.EMPTY;function ye(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function ge(e){return e instanceof me||e&&"closed"in e&&ce(e.remove)&&ce(e.add)&&ce(e.unsubscribe)}function be(e){ce(e)?e():e.unsubscribe()}var Se=void 0,Te=!1,Le=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,ue([],le(e)))};function xe(){}function ke(e){e()}var Ge,Oe,De=(se(Ie,Oe=me),Ie.create=function(e,t,n){return new Me(e,t,n)},Ie.prototype.next=function(e){this.isStopped||this._next(e)},Ie.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ie.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ie.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Oe.prototype.unsubscribe.call(this),this.destination=null)},Ie.prototype._next=function(e){this.destination.next(e)},Ie.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ie.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ie),Me=(se(Ce,Ge=De),Ce);function Ce(e,t,n){var r,i,o=Ge.call(this)||this;return ce(e)?i=e:e&&(i=e.next,t=e.error,n=e.complete,o&&Te?(r=Object.create(e)).unsubscribe=function(){return o.unsubscribe()}:r=e,i=null==i?void 0:i.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),o.destination={next:i?Pe(i):xe,error:Pe(null!=t?t:Ne),complete:n?Pe(n):xe},o}function Ie(e){var t=Oe.call(this)||this;return t.isStopped=!1,e?ge(t.destination=e)&&e.add(t):t.destination=Re,t}function Pe(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,ue([],le(e)))}catch(e){t=e,Le(function(){throw t})}}}function Ne(e){throw e}var Re={closed:!0,next:xe,error:Ne,complete:xe},Ae="function"==typeof Symbol&&Symbol.observable||"@@observable";function Fe(e){return e}var Ye=(Ue.prototype.lift=function(e){var t=new Ue;return t.source=this,t.operator=e,t},Ue.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof De||r&&ce(r.next)&&ce(r.error)&&ce(r.complete)&&ge(r)?e:new Me(e,t,n);return ke(function(){var e=i.operator,t=i.source;o.add(e?e.call(o,t):t?i._subscribe(o):i._trySubscribe(o))}),o},Ue.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Ue.prototype.forEach=function(r,e){var i=this;return new(e=$e(e))(function(e,t){var n=i.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},Ue.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},Ue.prototype[Ae]=function(){return this},Ue.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Fe:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Ue.prototype.toPromise=function(e){var r=this;return new(e=$e(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Ue.create=function(e){return new Ue(e)},Ue);function Ue(e){e&&(this._subscribe=e)}function $e(e){return null!==(e=null!=e?e:Se)&&void 0!==e?e:Promise}var je,Be,He,We=he(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ve=(se(Je,He=Ye),Je.prototype.lift=function(e){var t=new ze(this,this);return t.operator=e,t},Je.prototype._throwIfClosed=function(){if(this.closed)throw new We},Je.prototype.next=function(o){var s=this;ke(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var n=s.observers.slice();try{for(var r=ae(n),i=r.next();!i.done;i=r.next())i.value.next(o)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},Je.prototype.error=function(t){var n=this;ke(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},Je.prototype.complete=function(){var t=this;ke(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Je.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Je.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Je.prototype._trySubscribe=function(e){return this._throwIfClosed(),He.prototype._trySubscribe.call(this,e)},Je.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Je.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?pe:(r.push(e),new me(function(){return fe(r,e)}))},Je.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Je.prototype.asObservable=function(){var e=new Ye;return e.source=this,e},Je.create=function(e,t){return new ze(e,t)},Je),ze=(se(qe,Be=Ve),qe.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},qe.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},qe.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},qe.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:pe},qe),Xe={now:function(){return(Xe.delegate||Date).now()},delegate:void 0},Ze=(se(Ke,je=Ve),Ke.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(o.now()+t)),this._trimBuffer(),je.prototype.next.call(this,e)},Ke.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},Ke.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var o=t.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},Ke);function Ke(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Xe);var r=je.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function qe(e,t){var n=Be.call(this)||this;return n.destination=e,n.source=t,n}function Je(){var e=He.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Qe=[],et={};const tt=[];function nt(r,i=V){let o;const s=[];function a(e){if(n(r,e)&&(r=e,o)){const e=!tt.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),tt.push(t,r)}if(e){for(let e=0;e<tt.length;e+=2)tt[e][0](tt[e+1]);tt.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=V){const n=[e,t];return s.push(n),1===s.length&&(o=i(a)||V),e(r),()=>{var e=s.indexOf(n);-1!==e&&s.splice(e,1),0===s.length&&(o(),o=null)}}}}function rt(e,a,t){const l=!Array.isArray(e),u=l?[e]:e,c=a.length<2;return{subscribe:nt(t,t=>{let n=!1;const r=[];let i=0,o=V;const s=()=>{var e;i||(o(),e=a(l?r[0]:r,t),c?t(e):o=f(e)?e:V)},e=u.map((e,t)=>ve(e,e=>{r[t]=e,i&=~(1<<t),n&&s()},()=>{i|=1<<t}));return n=!0,s(),function(){z(e),o()}}).subscribe}}var it=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===ot));var t},ot="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function st(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ht(Array.isArray(e)?[]:{},e,t):e}function at(e,t,n){return e.concat(t).map(function(e){return st(e,n)})}function lt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function ut(e,t){try{return t in e}catch(e){return!1}}function ct(r,i,o){var s={};return o.isMergeableObject(r)&<(r).forEach(function(e){s[e]=st(r[e],o)}),lt(i).forEach(function(t){var e,n;(!ut(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(ut(r,t)&&o.isMergeableObject(i[t])?s[t]=function(){if(!o.customMerge)return ht;var e=o.customMerge(t);return"function"==typeof e?e:ht}()(r[t],i[t],o):s[t]=st(i[t],o))}),s}function ht(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||at,n.isMergeableObject=n.isMergeableObject||it,n.cloneUnlessOtherwiseSpecified=st;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ct(e,t,n):st(t,n)}ht.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return ht(e,t,n)},{})};var dt=ht,ft=function(e,t){return(ft=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function mt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ft(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var pt,yt,gt,bt=function(){return(bt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function vt(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function _t(e){return e.type===yt.literal}function wt(e){return e.type===yt.number}function Et(e){return e.type===yt.date}function St(e){return e.type===yt.time}function Tt(e){return e.type===yt.select}function Lt(e){return e.type===yt.plural}function xt(e){return e.type===yt.tag}function kt(e){return e&&"object"==typeof e&&e.type===gt.number}function Gt(e){return e&&"object"==typeof e&&e.type===gt.dateTime}(Wt=pt=pt||{})[Wt.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Wt[Wt.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Wt[Wt.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Wt[Wt.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Wt[Wt.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Wt[Wt.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Wt[Wt.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Wt[Wt.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Wt[Wt.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Wt[Wt.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Wt[Wt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Wt[Wt.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Wt[Wt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Wt[Wt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Wt[Wt.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Wt[Wt.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Wt[Wt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Wt[Wt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Wt[Wt.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Wt[Wt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Wt[Wt.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Wt[Wt.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Wt[Wt.INVALID_TAG=23]="INVALID_TAG",Wt[Wt.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Wt[Wt.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Wt[Wt.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Vt=yt=yt||{})[Vt.literal=0]="literal",Vt[Vt.argument=1]="argument",Vt[Vt.number=2]="number",Vt[Vt.date=3]="date",Vt[Vt.time=4]="time",Vt[Vt.select=5]="select",Vt[Vt.plural=6]="plural",Vt[Vt.pound=7]="pound",Vt[Vt.tag=8]="tag",(zt=gt=gt||{})[zt.number=0]="number",zt[zt.dateTime=1]="dateTime";var Ot=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Dt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var Mt,Ct=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,It=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Pt=/^(@+)?(\+|#+)?$/g,Nt=/(\*)(0+)|(#+)(0+)|(0+)/g,Rt=/^(0+)$/;function At(e){var r={};return e.replace(Pt,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function Ft(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 Yt(e){return Ft(e)||{}}function Ut(e){for(var s={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=bt(bt(bt({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return bt(bt({},e),Yt(t))},{}));continue;case"engineering":s=bt(bt(bt({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return bt(bt({},e),Yt(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Nt,function(e,t,n,r,i,o){if(t)s.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Rt.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(It.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(It,function(e,t,n,r,i,o){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),i.options.length&&(s=bt(bt({},s),At(i.options[0])))}else Pt.test(i.stem)?s=bt(bt({},s),At(i.stem)):((r=Ft(i.stem))&&(s=bt(bt({},s),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Rt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=bt(bt({},s),r)))}return s}var $t=new RegExp("^"+Ot.source+"*"),jt=new RegExp(Ot.source+"*$");function Bt(e,t){return{start:e,end:t}}var Ht=!!String.prototype.startsWith,Ae=!!String.fromCodePoint,Ve=!!Object.fromEntries,Wt=!!String.prototype.codePointAt,Vt=!!String.prototype.trimStart,zt=!!String.prototype.trimEnd,Xt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ot=!0;try{Ot="a"===(null===(Mt=rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Mt?void 0:Mt[0])}catch(V){Ot=!1}var Zt,Kt,qt=Ht?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Jt=Ae?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;o<i;){if(1114111<(n=e[o++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Qt=Ve?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],i=i[1];t[o]=i}return t},en=Wt?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},tn=Vt?function(e){return e.trimStart()}:function(e){return e.replace($t,"")},nn=zt?function(e){return e.trimEnd()}:function(e){return e.replace(jt,"")};function rn(e,t){return new RegExp(e,t)}Kt=Ot?(Zt=rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Zt.lastIndex=t,null!==(e=Zt.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=en(e,t);if(void 0===i||ln(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return Jt.apply(void 0,r)};var on=(sn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},sn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(pt.UNMATCHED_CLOSING_TAG,Bt(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&an(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{o=this.clonePosition();this.bump(),r.push({type:yt.pound,location:Bt(o,this.clonePosition())})}}}return{val:r,err:null}},sn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:yt.literal,value:"<"+r+"/>",location:Bt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!an(this.char()))return this.error(pt.INVALID_TAG,Bt(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(pt.UNMATCHED_CLOSING_TAG,Bt(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:yt.tag,value:r,children:e,location:Bt(n,this.clonePosition())},err:null}:this.error(pt.INVALID_TAG,Bt(t,this.clonePosition())))}return this.error(pt.UNCLOSED_TAG,Bt(n,this.clonePosition()))}return this.error(pt.INVALID_TAG,Bt(n,this.clonePosition()))},sn.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},sn.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=Bt(n,this.clonePosition());return{val:{type:yt.literal,value:r,location:n},err:null}},sn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(an(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},sn.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Jt.apply(void 0,t)},sn.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Jt(n))},sn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(pt.EMPTY_ARGUMENT,Bt(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(pt.MALFORMED_ARGUMENT,Bt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:yt.argument,value:r,location:Bt(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(pt.MALFORMED_ARGUMENT,Bt(n,this.clonePosition()))}},sn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Kt(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:Bt(e,this.clonePosition())}},sn.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(pt.EXPECT_ARGUMENT_TYPE,Bt(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(h=nn(d.val)).length)return this.error(pt.EXPECT_ARGUMENT_STYLE,Bt(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:Bt(u,this.clonePosition())}}if((f=this.tryParseArgumentClose(r)).err)return f;var c=Bt(r,this.clonePosition());if(l&&qt(null==l?void 0:l.style,"::",0)){u=tn(l.style.slice(2));if("number"===s)return(d=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?d:{val:{type:yt.number,value:n,location:c,style:d.val},err:null};if(0===u.length)return this.error(pt.EXPECT_DATE_TIME_SKELETON,c);var h={type:gt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},u.replace(Dt,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===s?yt.date:yt.time,value:n,location:c,style:h},err:null}}return{val:{type:"number"===s?yt.number:"date"===s?yt.date:yt.time,value:n,location:c,style:null!==(c=null==l?void 0:l.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(pt.EXPECT_SELECT_ARGUMENT_OPTIONS,Bt(l,bt({},l)));this.bumpSpace();var d,c=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Bt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,pt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=d.val}c=this.tryParsePluralOrSelectOptions(e,s,t,c);if(c.err)return c;if((f=this.tryParseArgumentClose(r)).err)return f;var f=Bt(r,this.clonePosition());return"select"===s?{val:{type:yt.select,value:n,options:Qt(c.val),location:f},err:null}:{val:{type:yt.plural,value:n,options:Qt(c.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:f},err:null};default:return this.error(pt.INVALID_ARGUMENT_TYPE,Bt(o,a))}},sn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},sn.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(pt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Bt(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},sn.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(Ct).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(pt.INVALID_NUMBER_SKELETON,t)}return{val:{type:gt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ut(n):{}},err:null}},sn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,o=[],s=new Set,a=r.value,l=r.location;;){if(0===a.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(pt.EXPECT_PLURAL_ARGUMENT_SELECTOR,pt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=Bt(u,this.clonePosition()),a=this.message.slice(u.offset,this.offset())}if(s.has(a))return this.error("select"===t?pt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:pt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(i=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?pt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:pt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Bt(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;u=this.tryParseArgumentClose(h);if(u.err)return u;o.push([a,{value:c.val,location:Bt(h,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.length?this.error("select"===t?pt.EXPECT_SELECT_ARGUMENT_SELECTOR:pt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Bt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(pt.MISSING_OTHER_CLAUSE,Bt(this.clonePosition(),this.clonePosition())):{val:o,err:null}},sn.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}r=Bt(r,this.clonePosition());return i?Xt(o*=n)?{val:o,err:null}:this.error(t,r):this.error(e,r)},sn.prototype.offset=function(){return this.position.offset},sn.prototype.isEOF=function(){return this.offset()===this.message.length},sn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},sn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=en(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},sn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},sn.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},sn.prototype.bumpIf=function(e){if(qt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},sn.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},sn.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},sn.prototype.bumpSpace=function(){for(;!this.isEOF()&&ln(this.char());)this.bump()},sn.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},sn);function sn(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function an(e){return 97<=e&&e<=122||65<=e&&e<=90}function ln(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function un(e,t){t=bt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new on(e,t).parse();if(n.err){e=SyntaxError(pt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Tt(e)||Lt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else wt(e)&&kt(e.style)||(Et(e)||St(e))&&Gt(e.style)?delete e.style.location:xt(e)&&n(e.children)})}(n.val),n.val}function cn(e,t){var n=t&&t.cache?t.cache:gn,r=t&&t.serializer?t.serializer:mn;return(t&&t.strategy?t.strategy:function(e,t){return fn(e,this,1===e.length?hn:dn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function hn(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function dn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function fn(e,t,n,r,i){return n.bind(t,e,r,i)}var mn=function(){return JSON.stringify(arguments)};function pn(){this.cache=Object.create(null)}pn.prototype.has=function(e){return e in this.cache},pn.prototype.get=function(e){return this.cache[e]},pn.prototype.set=function(e,t){this.cache[e]=t};var yn,gn={create:function(){return new pn}},bn={variadic:function(e,t){return fn(e,this,dn,t.cache.create(),t.serializer)},monadic:function(e,t){return fn(e,this,hn,t.cache.create(),t.serializer)}};(Ot=yn=yn||{}).MISSING_VALUE="MISSING_VALUE",Ot.INVALID_VALUE="INVALID_VALUE",Ot.MISSING_INTL_API="MISSING_INTL_API";var vn,_n,wn,En,Sn,Tn=(mt(In,Sn=Error),In.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},In),Ln=(mt(Dn,En=Tn),Dn),xn=(mt(On,wn=Tn),On),kn=(mt(Gn,_n=Tn),Gn);function Gn(e,t){return _n.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',yn.MISSING_VALUE,t)||this}function On(e,t,n){return wn.call(this,'Value for "'+e+'" must be of type '+t,yn.INVALID_VALUE,n)||this}function Dn(e,t,n,r){return En.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',yn.INVALID_VALUE,r)||this}function In(e,t,n){e=Sn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Pn(e,t,n,r,i,o,s){if(1===e.length&&_t(e[0]))return[{type:vn.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(_t(c))a.push({type:vn.literal,value:c.value});else if(c.type===yt.pound)"number"==typeof o&&a.push({type:vn.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;if(!(i&&h in i))throw new kn(h,s);var d=i[h];if(c.type===yt.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?vn.literal:vn.object,value:d});else if(Et(c)){var f="string"==typeof c.style?r.date[c.style]:Gt(c.style)?c.style.parsedOptions:void 0;a.push({type:vn.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(St(c))f="string"==typeof c.style?r.time[c.style]:Gt(c.style)?c.style.parsedOptions:void 0,a.push({type:vn.literal,value:n.getDateTimeFormat(t,f).format(d)});else if(wt(c))(f="string"==typeof c.style?r.number[c.style]:kt(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:vn.literal,value:n.getNumberFormat(t,f).format(d)});else{if(xt(c)){var m=c.children,p=c.value,h=i[p];if("function"!=typeof h)throw new xn(p,"function",s);m=h(Pn(m,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?vn.literal:vn.object,value:e}}))}if(Tt(c)){if(!(y=c.options[d]||c.options.other))throw new Ln(c.value,d,Object.keys(c.options),s);a.push.apply(a,Pn(y.value,t,n,r,i))}else if(Lt(c)){if(!(y=c.options["="+d])){if(!Intl.PluralRules)throw new Tn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',yn.MISSING_INTL_API,s);var m=n.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0)),y=c.options[m]||c.options.other}if(!y)throw new Ln(c.value,d,Object.keys(c.options),s);a.push.apply(a,Pn(y.value,t,n,r,i,d-(c.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===vn.literal&&t.type===vn.literal?n.value+=t.value:e.push(t),e},[])}function Nn(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(Ot=vn=vn||{})[Ot.literal=0]="literal",Ot[Ot.object=1]="object";var Rn=(Object.defineProperty(An,"defaultLocale",{get:function(){return An.memoizedDefaultLocale||(An.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),An.memoizedDefaultLocale},enumerable:!1,configurable:!0}),An.memoizedDefaultLocale=null,An.__parse=un,An.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"}}},An);function An(e,t,n,r){var i,o,s=this;if(void 0===t&&(t=An.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===vn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Pn(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!An.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=An.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=An.formats,(o=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=o[t])?bt(bt(bt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=bt(bt({},n[t]),r[t]||{}),e},{})):n),e},bt({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:cn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,vt([void 0],t)))},{cache:Nn((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:bn.variadic}),getDateTimeFormat:cn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,vt([void 0],t)))},{cache:Nn(r.dateTime),strategy:bn.variadic}),getPluralRules:cn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,vt([void 0],t)))},{cache:Nn(r.pluralRules),strategy:bn.variadic})}}const Fn={},Yn=(t,n)=>{if(null!=n){if(n in Fn&&t in Fn[n])return Fn[n][t];var r,i,o=tr(n);for(let e=0;e<o.length;e++){var s=(r=o[e],i=t,jn(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return Un[e]||null}(r),i):null);if(s)return r=t,i=n,(s=s)&&(i in Fn||(Fn[i]={}),r in Fn[i]||(Fn[i][r]=s),s)}}};let Un;const $n=nt({});function jn(e){return e in Un}function Bn(t,...n){delete Fn[t],$n.update(e=>(e[t]=dt.all([e[t]||{},...n]),e))}rt([$n],([e])=>Object.keys(e)),$n.subscribe(e=>Un=e);const Hn={};function Wn(e){return Hn[e]}function Vn(e){return tr(e).some(e=>{return null===(e=Wn(e))||void 0===e?void 0:e.size})}const zn={};function Xn(e){if(!Vn(e))return e in zn?zn[e]:void 0;const t=tr(e).map(e=>{var t=Wn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return zn[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){Hn[e].delete(t),0===Hn[e].size&&delete Hn[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Bn(t,...e))}(e))).then(()=>Vn(e)?Xn(e):void delete zn[e]),zn[e]}function Zn(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Kn={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const qn=nt(!1);let Jn;const Qn=nt(null);function er(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function tr(e,t=Kn.fallbackLocale){e=er(e);return t?[...new Set([...e,...er(t)])]:e}Qn.subscribe(e=>{Jn=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const nr=Qn.set;Qn.set=t=>{if(function(e){if(null!=e){var t=tr(e);for(let e=0;e<t.length;e++){var n=t[e];if(jn(n))return n}}}(t)&&Vn(t)){var{loadingDelay:n}=Kn;let e;return"undefined"!=typeof window&&null!=Jn&&n?e=window.setTimeout(()=>qn.set(!0),n):qn.set(!0),Xn(t).then(()=>{nr(t)}).finally(()=>{clearTimeout(e),qn.set(!1)})}return nr(t)},Qn.update=e=>nr(e(Jn));const rr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},ir=(e,t)=>{var{formats:n}=Kn;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},or=rr(e=>{var{locale:t,format:n}=e,e=Zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=ir("number",n)),new Intl.NumberFormat(t,e)}),sr=rr(e=>{var{locale:t,format:n}=e,e=Zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=ir("date",n):0===Object.keys(e).length&&(e=ir("date","short")),new Intl.DateTimeFormat(t,e)}),ar=rr(e=>{var{locale:t,format:n}=e,e=Zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=ir("time",n):0===Object.keys(e).length&&(e=ir("time","short")),new Intl.DateTimeFormat(t,e)}),lr=rr((e,t=Jn)=>new Rn(e,t,Kn.formats,{ignoreTag:Kn.ignoreTag})),ur=rt([Qn,$n],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=Jn,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=Yn(e,r);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else Kn.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${tr(r).join('", "')}".${Vn(Jn)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=i||e;if(!n)return o;let s=o;try{s=lr(o,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});rt([Qn],()=>(e,t)=>((e={})=>{var{locale:t=Jn}=e,e=Zn(e,["locale"]);return ar(Object.assign({locale:t},e))})(t).format(e)),rt([Qn],()=>(e,t)=>((e={})=>{var{locale:t=Jn}=e,e=Zn(e,["locale"]);return sr(Object.assign({locale:t},e))})(t).format(e)),rt([Qn],()=>(e,t)=>((e={})=>{var{locale:t=Jn}=e,e=Zn(e,["locale"]);return or(Object.assign({locale:t},e))})(t).format(e)),rt([Qn,$n],()=>(e,t=Jn)=>Yn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Qe.indexOf(e)&&(t=new Ze(t),et[e]=t,Qe.push(e)),et[e]}};const cr=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)),hr={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},dr={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function fr(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function mr(e,t,n){const r=e.slice();return r[101]=t[n],r}function pr(e){let n,r=!cr(e[34])&&!e[0]&&e[12],i=r&&yr(e);return{c(){i&&i.c(),n=l()},m(e,t){i&&i.m(e,t),Z(e,n,t)},p(e,t){4097&t[0]&&(r=!cr(e[34])&&!e[0]&&e[12]),r?i?i.p(e,t):(i=yr(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&K(n)}}}function yr(n){let r,i,o;return{c(){r=q("div"),r.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',te(r,"class","FavIconContainer"),te(r,"part","FavIconContainer")},m(e,t){Z(e,r,t),i||(o=ee(r,"click",n[61]),i=!0)},p:V,d(e){e&&K(r),i=!1,o()}}}function gr(e){let n;return{c(){n=q("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',te(n,"class","FavIconContainer"),te(n,"part","FavIconContainer")},m(e,t){Z(e,n,t)},p:V,d(e){e&&K(n)}}}function br(n){let r,i,o;return{c(){r=q("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',te(r,"class","FavIconContainer"),te(r,"part","FavIconContainer")},m(e,t){Z(e,r,t),i||(o=ee(r,"click",n[63]),i=!0)},p:V,d(e){e&&K(r),i=!1,o()}}}function vr(e){let n,r,i=e[33]("gameThumbnail.new")+"";return{c(){n=q("span"),r=J(i),te(n,"class","GameExtraInfoLabel NewGameTag"),te(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){Z(e,n,t),X(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.new")+"")&&ne(r,i)},d(e){e&&K(n)}}}function _r(e){let n,r,i=e[33]("gameThumbnail.hot")+"";return{c(){n=q("span"),r=J(i),te(n,"class","GameExtraInfoLabel PopularGameTag"),te(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){Z(e,n,t),X(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.hot")+"")&&ne(r,i)},d(e){e&&K(n)}}}function wr(e){let n,r,i=!e[21]&&e[19]&&e[20]&&Er(e);function o(e){return e[21]&&e[18]&&e[18]===Pr?Tr:e[21]&&e[18]&&e[18]===Nr?Sr:void 0}let s=o(e),a=s&&s(e);return{c(){i&&i.c(),n=Q(),a&&a.c(),r=l()},m(e,t){i&&i.m(e,t),Z(e,n,t),a&&a.m(e,t),Z(e,r,t)},p(e,t){!e[21]&&e[19]&&e[20]?i?i.p(e,t):(i=Er(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),s===(s=o(e))&&a?a.p(e,t):(a&&a.d(1),a=s&&s(e),a&&(a.c(),a.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&K(n),a&&a.d(e),e&&K(r)}}}function Er(e){let n,r,i,o,s,a,l,u,c,h,d=e[33]("gameThumbnail.opens")+"",f=L.utc(e[19]).local().format(e[20])+"",m=e[43](e[32])+"",p=e[42](e[24],e[25],e[23])+"";return{c(){n=q("div"),r=q("div"),i=J(d),o=Q(),s=q("span"),a=J(f),l=Q(),c=Q(),te(r,"class","ClosedGame"),te(r,"part","ClosedGame"),u=new y(c),h=new y(null),te(n,"class","GameProp LiveProps"),te(n,"part","GameProp LiveProps")},m(e,t){Z(e,n,t),X(n,r),X(r,i),X(r,o),X(r,s),X(s,a),X(n,l),u.m(m,n),X(n,c),h.m(p,n)},p(e,t){4&t[1]&&d!==(d=e[33]("gameThumbnail.opens")+"")&&ne(i,d),1572864&t[0]&&f!==(f=L.utc(e[19]).local().format(e[20])+"")&&ne(a,f),2&t[1]&&m!==(m=e[43](e[32])+"")&&u.p(m),58720256&t[0]&&p!==(p=e[42](e[24],e[25],e[23])+"")&&h.p(p)},d(e){e&&K(n)}}}function Sr(n){let r,i,o,s,a,l,u=n[43](n[32])+"",c=n[42](n[24],n[25],n[23])+"",h=new Array(Ar),d=[];for(let e=0;e<h.length;e+=1)d[e]=Gr(fr(n,h,e));return{c(){r=q("div"),i=q("div");for(let e=0;e<d.length;e+=1)d[e].c();o=Q(),a=Q(),te(i,"class","LiveIcons"),te(i,"part","LiveIcons"),s=new y(a),l=new y(null),te(r,"class",n[28]),te(r,"part",n[28])},m(e,t){Z(e,r,t),X(r,i);for(let e=0;e<d.length;e+=1)d[e].m(i,null);n[64](i),X(r,o),s.m(u,r),X(r,a),l.m(c,r)},p(t,n){if(671089664&n[0]|8192&n[1]){let e;for(h=new Array(Ar),e=0;e<h.length;e+=1){const s=fr(t,h,e);d[e]?d[e].p(s,n):(d[e]=Gr(s),d[e].c(),d[e].m(i,null))}for(;e<d.length;e+=1)d[e].d(1);d.length=h.length}2&n[1]&&u!==(u=t[43](t[32])+"")&&s.p(u),58720256&n[0]&&c!==(c=t[42](t[24],t[25],t[23])+"")&&l.p(c),268435456&n[0]&&te(r,"class",t[28]),268435456&n[0]&&te(r,"part",t[28])},d(e){e&&K(r),m(d,e),n[64](null)}}}function Tr(e){let n,r,i,o,s,a,l=e[43](e[32])+"",u=e[42](e[24],e[25],e[23])+"";function c(e){return e[30]?Dr:Or}let h=c(e),d=h(e);return{c(){n=q("div"),r=q("div"),d.c(),i=Q(),s=Q(),te(r,"class","LiveIcons"),te(r,"part","LiveIcons"),o=new y(s),a=new y(null),te(n,"class","GameProp LiveProps BlackjackDisplay"),te(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){Z(e,n,t),X(n,r),d.m(r,null),X(n,i),o.m(l,n),X(n,s),a.m(u,n)},p(e,t){h===(h=c(e))&&d?d.p(e,t):(d.d(1),d=h(e),d&&(d.c(),d.m(r,null))),2&t[1]&&l!==(l=e[43](e[32])+"")&&o.p(l),58720256&t[0]&&u!==(u=e[42](e[24],e[25],e[23])+"")&&a.p(u)},d(e){e&&K(n),d.d()}}}function Lr(e){let n;function r(e){return e[27]?kr:xr}let i=r(e),o=i(e);return{c(){o.c(),n=l()},m(e,t){o.m(e,t),Z(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&K(n)}}}function xr(e){let n,r,i=e[44]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[29][e[10][e[106]]])+"";return{c(){r=l(),n=new y(r)},m(e,t){n.m(i,e,t),Z(e,r,t)},p(e,t){536871936&t[0]&&i!==(i=e[44]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[29][e[10][e[106]]])+"")&&n.p(i)},d(e){e&&K(r),e&&n.d()}}}function kr(e){let n,r,i,o,s,a=e[44]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[29][e[10][e[106]][0]])+"",l=e[44]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[29][e[10][e[106]][1]])+"";return{c(){n=q("div"),i=Q(),s=Q(),r=new y(i),o=new y(s),te(n,"class","Double"),te(n,"part","Double")},m(e,t){Z(e,n,t),r.m(a,n),X(n,i),o.m(l,n),X(n,s)},p(e,t){536871936&t[0]&&a!==(a=e[44]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[29][e[10][e[106]][0]])+"")&&r.p(a),536871936&t[0]&&l!==(l=e[44]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[29][e[10][e[106]][1]])+"")&&o.p(l)},d(e){e&&K(n)}}}function Gr(e){let n,r=e[10]&&e[10][e[106]]&&Lr(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),Z(e,n,t)},p(e,t){e[10]&&e[10][e[106]]?r?r.p(e,t):(r=Lr(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&K(n)}}}function Or(t){let i,o=t[22],s=[];for(let e=0;e<o.length;e+=1)s[e]=Mr(mr(t,o,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();i=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);Z(t,i,n)},p(t,n){if(71303168&n[0]|1024&n[1]){let e;for(o=t[22],e=0;e<o.length;e+=1){var r=mr(t,o,e);s[e]?s[e].p(r,n):(s[e]=Mr(r),s[e].c(),s[e].m(i.parentNode,i))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){m(s,e),e&&K(i)}}}function Dr(e){let n,r,i=e[33]("gameThumbnail.full")+"";return{c(){n=q("span"),r=J(i),te(n,"class","FullTable"),te(n,"part","FullTable")},m(e,t){Z(e,n,t),X(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.full")+"")&&ne(r,i)},d(e){e&&K(n)}}}function Mr(e){let n,r,i,o,s,a,l;return{c(){n=q("span"),r=t("svg"),i=t("path"),o=t("path"),s=Q(),te(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),te(o,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),te(r,"xmlns","http://www.w3.org/2000/svg"),te(r,"width","13"),te(r,"height","14"),te(r,"viewBox","0 0 13 14"),te(n,"class",a=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat"),te(n,"part",l=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){Z(e,n,t),X(n,r),X(r,i),X(r,o),X(n,s)},p(e,t){71303168&t[0]&&a!==(a=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")&&te(n,"class",a),71303168&t[0]&&l!==(l=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")&&te(n,"part",l)},d(e){e&&K(n)}}}function Cr(e){let n,r;return{c(){n=q("p"),r=J(e[3]),te(n,"class","GameNameBelow"),te(n,"part","GameNameBelow"),te(n,"title",e[3])},m(e,t){Z(e,n,t),X(n,r)},p(e,t){8&t[0]&&ne(r,e[3]),8&t[0]&&te(n,"title",e[3])},d(e){e&&K(n)}}}function Ir(n){let r,i,o,s,a,l,u,c,h,d,f,m,p,y,g,b,v,_,w,E,S,T,L,x,k,G,O,D,M,C,I,P,N=n[33]("gameThumbnail.playNow")+"",R=(n[4]||"-")+"",A=0<parseInt(n[7]),F=n[13]&&pr(n);function Y(e,t){return(null==T||4099&t[0])&&(T=!(cr(e[34])||!e[0]||!e[12]||!e[1])),T?br:((null==L||4099&t[0])&&(L=!!(cr(e[34])&&e[0]&&e[12]&&e[1])),L?gr:void 0)}let U=Y(n,[-1]),$=U&&U(n),j=n[6]&&vr(n),B=A&&_r(n),H=n[9]&&wr(n),W=n[8]&&Cr(n);return{c(){r=q("div"),i=q("div"),o=q("img"),u=Q(),c=q("div"),h=q("div"),F&&F.c(),d=Q(),f=q("p"),m=J(n[3]),p=Q(),y=q("button"),g=J(N),_=Q(),w=q("span"),E=J(R),S=Q(),$&&$.c(),x=Q(),k=q("div"),j&&j.c(),G=Q(),B&&B.c(),O=Q(),H&&H.c(),D=Q(),W&&W.c(),this.c=V,o.src!==(s=n[2])&&te(o,"src",s),te(o,"class",a="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),te(o,"part",l="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),te(o,"alt",""),te(o,"loading","lazy"),te(f,"class","GameInfoName"),te(f,"part","GameInfoName"),te(f,"title",n[3]),te(y,"class","GameInfoBtn"),te(y,"part","GameInfoBtn"),te(h,"class",b="GameInfo "+(n[14]?"GameHovered":"")),te(h,"part",v="GameInfo "+(n[14]?"GameHovered":"")),te(w,"class","GameInfoVendor"),te(w,"part","GameInfoVendor"),te(c,"class","GameInfoWrapper"),te(c,"part","GameInfoWrapper"),te(k,"class","GameExtraInfo"),te(k,"part","GameExtraInfo"),te(i,"class","GameInnerContainer"),te(i,"part","GameInnerContainer"),te(r,"class",M=`GameContainer ${n[31]}`),te(r,"part",C=`GameContainer ${n[31]}`)},m(e,t){Z(e,r,t),X(r,i),X(i,o),n[60](o),X(i,u),X(i,c),X(c,h),F&&F.m(h,null),X(h,d),X(h,f),X(f,m),X(h,p),X(h,y),X(y,g),X(c,_),X(c,w),X(w,E),X(i,S),$&&$.m(i,null),X(i,x),X(i,k),j&&j.m(k,null),X(k,G),B&&B.m(k,null),X(k,O),H&&H.m(k,null),X(r,D),W&&W.m(r,null),n[65](r),I||(P=[ee(y,"click",n[62]),ee(i,"mouseenter",n[39]),ee(i,"mouseleave",n[40]),ee(i,"touchstart",n[37],{passive:!0}),ee(i,"touchleave",n[38])],I=!0)},p(e,t){4&t[0]&&o.src!==(s=e[2])&&te(o,"src",s),49152&t[0]&&a!==(a="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&te(o,"class",a),49152&t[0]&&l!==(l="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&te(o,"part",l),e[13]?F?F.p(e,t):(F=pr(e),F.c(),F.m(h,d)):F&&(F.d(1),F=null),8&t[0]&&ne(m,e[3]),8&t[0]&&te(f,"title",e[3]),4&t[1]&&N!==(N=e[33]("gameThumbnail.playNow")+"")&&ne(g,N),16384&t[0]&&b!==(b="GameInfo "+(e[14]?"GameHovered":""))&&te(h,"class",b),16384&t[0]&&v!==(v="GameInfo "+(e[14]?"GameHovered":""))&&te(h,"part",v),16&t[0]&&R!==(R=(e[4]||"-")+"")&&ne(E,R),U===(U=Y(e,t))&&$?$.p(e,t):($&&$.d(1),$=U&&U(e),$&&($.c(),$.m(i,x))),e[6]?j?j.p(e,t):(j=vr(e),j.c(),j.m(k,G)):j&&(j.d(1),j=null),128&t[0]&&(A=0<parseInt(e[7])),A?B?B.p(e,t):(B=_r(e),B.c(),B.m(k,O)):B&&(B.d(1),B=null),e[9]?H?H.p(e,t):(H=wr(e),H.c(),H.m(k,null)):H&&(H.d(1),H=null),e[8]?W?W.p(e,t):(W=Cr(e),W.c(),W.m(r,null)):W&&(W.d(1),W=null),1&t[1]&&M!==(M=`GameContainer ${e[31]}`)&&te(r,"class",M),1&t[1]&&C!==(C=`GameContainer ${e[31]}`)&&te(r,"part",C)},i:V,o:V,d(e){e&&K(r),n[60](null),F&&F.d(),$&&$.d(),j&&j.d(),B&&B.d(),H&&H.d(),W&&W.d(),n[65](null),I=!1,z(P)}}}const Pr="blackjack",Nr="roulette",Rr="doubleballroulette",Ar=5;function Fr(n,e,s){let t;var r=ur;n.$$.on_destroy.push(ve(r,e=>s(33,t=e)));var i=this&&this.__awaiter||function(e,s,a,l){return new(a=a||Promise)(function(n,t){function r(e){try{o(l.next(e))}catch(e){t(e)}}function i(e){try{o(l.throw(e))}catch(e){t(e)}}function o(e){var t;e.done?n(e.value):((t=e.value)instanceof a?t:new a(function(e){e(t)})).then(r,i)}o((l=l.apply(e,s||[])).next())})};let o,a,l,u,c,h,d,f,m,p,y,g,b,v,_,w,E,S,T,L,x,k,G,O,{session:D=""}=e,{userid:M=""}=e,{lang:C=""}=e,{clientstyling:I=""}=e,{clientstylingurl:P=""}=e,{favorites:N=""}=e,{gamethumbnail:R=""}=e,{gamename:A=""}=e,{gamevendor:F=""}=e,{gameid:Y=""}=e,{gameisnew:U=""}=e,{gamepopularity:$=""}=e,{gamefunmode:j=!1}=e,{searchitem:B=!1}=e,{gamefavorite:H=!1}=e,{showfavoredcategory:W=!1}=e,{showgamename:V=!1}=e,{endpoint:z=""}=e,{livelobbyendpoint:X=""}=e,{currency:Z="EUR"}=e,{connectlive:K=""}=e,{visibilityconnect:q=""}=e,J=!1,Q=!1,ee=!1,te=window.navigator.userAgent,ne="HH:mm",re,ie=[],oe="TRY",se="";const ae=[Pr],le=[Nr,Rr],ue={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ce={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(hr).forEach(e=>{Bn(e,hr[e])});const he=e=>{e.data.type!==`AddFavoriteThumbnail_${Y}`||W||s(0,H=!0),e.data.type!==`RemoveFavoriteThumbnail_${Y}`||W||s(0,H=!1),"UserSessionID"===e.data.type&&(s(12,J=!0),e.data.session,e.data.userID)},de=e=>{cr(te)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:j},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),B&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},fe=e=>{var t="thumbnail";H?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},me=()=>{X&&EventSource&&!u&&F&&Y&&(u=new EventSource(`${z}/encoder/lobby/updates/${F}/${Y}`),u.addEventListener("message",ye))},pe=()=>{u&&(u.close(),u=void 0)},ye=o=>i(void 0,void 0,void 0,function*(){const{type:e,data:t}=o;let n;if("message"===e){if(t)try{n=JSON.parse(t)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(n){const{InternalTableId:o,MessageType:e,Results:t,Seats:r,Open:i}=n;if(o)switch(e){case"SeatsUpdated":r&&Array.isArray(r)&&(s(26,g=r),s(9,l.currentOccupiedSeats=r,l),yield Ee());break;case"RouletteResultsUpdated":t&&Array.isArray(t)&&(b=t,s(9,l.currentRouletteNumbers=t,l),yield Ee());break;case"DoubleBallRouletteResultsUpdated":t&&Array.isArray(t)&&(v=t,s(9,l.currentDoubleBallRouletteNumbers=t,l),yield Ee());break;case"TableOpened":case"TableClosed":s(21,d=i),s(9,l.isOpen=i,l),yield Ee()}}}}),ge=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",be=(e,t)=>e.some(e=>e===t);return e=()=>(window.addEventListener("message",he,!1),()=>{window.removeEventListener("message",he),u&&u.removeEventListener("message",ye)}),function(){if(!_e)throw new Error("Function called outside component initialization");return _e}().$$.on_mount.push(e),n.$$set=e=>{"session"in e&&s(45,D=e.session),"userid"in e&&s(46,M=e.userid),"lang"in e&&s(47,C=e.lang),"clientstyling"in e&&s(48,I=e.clientstyling),"clientstylingurl"in e&&s(49,P=e.clientstylingurl),"favorites"in e&&s(1,N=e.favorites),"gamethumbnail"in e&&s(2,R=e.gamethumbnail),"gamename"in e&&s(3,A=e.gamename),"gamevendor"in e&&s(4,F=e.gamevendor),"gameid"in e&&s(5,Y=e.gameid),"gameisnew"in e&&s(6,U=e.gameisnew),"gamepopularity"in e&&s(7,$=e.gamepopularity),"gamefunmode"in e&&s(50,j=e.gamefunmode),"searchitem"in e&&s(51,B=e.searchitem),"gamefavorite"in e&&s(0,H=e.gamefavorite),"showfavoredcategory"in e&&s(52,W=e.showfavoredcategory),"showgamename"in e&&s(8,V=e.showgamename),"endpoint"in e&&s(53,z=e.endpoint),"livelobbyendpoint"in e&&s(54,X=e.livelobbyendpoint),"currency"in e&&s(55,Z=e.currency),"connectlive"in e&&s(56,K=e.connectlive),"visibilityconnect"in e&&s(57,q=e.visibilityconnect)},n.$$.update=()=>{var e,t;33554432&n.$$.dirty[1]&&K&&("disconnect"===K?pe():"connect"===K&&me()),67108864&n.$$.dirty[1]&&q&&("disconnect"===q?pe():"connect"===q&&"connect"===K&&me()),n.$$.dirty[1],4243456&n.$$.dirty[1]&&D&&M&&z&&s(12,J=!0),4&n.$$.dirty[0]&&R&&o&&s(16,o.onload=()=>{s(15,ee=!0)},o),131072&n.$$.dirty[1]&&I&&(()=>{let e=document.createElement("style");e.innerHTML=I,setTimeout(()=>{a.appendChild(e)})})(),2&n.$$.dirty[0]&&N&&"true"==N&&s(13,Q=!0),262144&n.$$.dirty[1]&&P&&(()=>{let e=new URL(P),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)})})})(),12582912&n.$$.dirty[1]&&z&&X&&(()=>{let e=new URL(`${X.split("?")[0]}`);var t;e.searchParams.append("platform",(t=te).toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),e.searchParams.append("language",C),fetch(e).then(e=>e.json()).then(e=>{var{details:e}=e[0];s(9,l=e)})})(),512&n.$$.dirty[0]&&l&&l&&(s(21,d=l.isOpen),re=l.betLimit||{},f=l.openHours,s(22,ie=(e=>{y=e.totalSeats||7,s(26,g=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=y;e++)t.push(e);return{seats:t}})(l).seats),f&&f.value&&({value:{startTime:e,originalTimeFormat:t}}=f,s(19,h=e),s(20,ne=t||ne)),d&&s(18,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();be(ae,e)?t=Pr:be(le,e)&&(t=Nr)}}return t})(l)),s(23,oe=dr[Z]),s(24,m=(re.min||{})[Z]),s(25,p=(re.max||{})[Z]),b=l.currentRouletteNumbers,v=l.currentDoubleBallRouletteNumbers,_=l.vendorCategory,s(27,w=_.toLowerCase()===Rr),s(10,E=(w?v:b)||[]),s(28,S="GameProp LiveProps RoulleteProps"),s(28,S+=w?" Double":""),s(29,T=be(le,_.toLowerCase())?ce:ue),x=L,s(30,L=Array.isArray(g)&&g.length===y),l.dealer&&s(32,G=l.dealer.DealerName),O=l.numberOfPlayers,s(31,se="ListGame"),d&&L&&m&&p&&l.currentOccupiedSeats?s(31,se+=" GameContainerDimmed"):!1===d&&h&&s(31,se+=" GameContainerFullyDimmed"),a&&(!x&&L?(s(31,se+=" PulsatingRedShadow"),s(31,se=se.replace(" PulsatingGreenShadow",""))):x&&!L&&(s(31,se+=" PulsatingGreenShadow"),s(31,se=se.replace(" PulsatingRedShadow",""))))),3072&n.$$.dirty[0]&&k&&E&&(()=>{const e="FirstElementAnimated",t=k.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))})()},[H,N,R,A,F,Y,U,$,V,l,E,k,J,Q,!1,ee,o,a,c,h,ne,d,ie,oe,m,p,g,w,S,T,L,se,G,t,te,de,fe,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},be,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${ge(e)}-${ge(t)}`),O&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${O}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${t("gameThumbnail.dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{e=`${e} ${r}`,r=t.toString().match(/first0|second0|0/g);return 0===t||r&&0!==r.length?`\n <span\n id=${t}\n class="${e}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${e}">\n ${n}\n </span>\n `},D,M,C,I,P,j,B,W,z,X,Z,K,q,ue,ce,function(e){we[e?"unshift":"push"](()=>{o=e,s(16,o)})},()=>fe(Y),()=>de(Y),()=>fe(Y),function(e){we[e?"unshift":"push"](()=>{k=e,s(11,k)})},function(e){we[e?"unshift":"push"](()=>{a=e,s(17,a)})}]}class Yr extends c{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:9.6px;text-align:center;font-size:17.6px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6.4px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:4.8px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14.4px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11.2px;padding:3.2px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:4.8px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:1.6px;margin:0 1px;margin-right:6.4px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:4.8px;padding:1.6px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 20px 5px 20px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",u(this,{target:this.shadowRoot,props:function(e){const t={};for(const n of e)t[n.name]=n.value;return t}(this.attributes),customElement:!0},Fr,Ir,n,{session:45,userid:46,lang:47,clientstyling:48,clientstylingurl:49,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:50,searchitem:51,gamefavorite:0,showfavoredcategory:52,showgamename:8,endpoint:53,livelobbyendpoint:54,currency:55,connectlive:56,visibilityconnect:57,MONEY_WHEEL_COLOR_MAP:58,ROULETTE_COLOR_MAP:59},[-1,-1,-1,-1]),e&&(e.target&&Z(e.target,this,e.anchor),e.props&&(this.$set(e.props),_()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","endpoint","livelobbyendpoint","currency","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[45]}set session(e){this.$set({session:e}),_()}get userid(){return this.$$.ctx[46]}set userid(e){this.$set({userid:e}),_()}get lang(){return this.$$.ctx[47]}set lang(e){this.$set({lang:e}),_()}get clientstyling(){return this.$$.ctx[48]}set clientstyling(e){this.$set({clientstyling:e}),_()}get clientstylingurl(){return this.$$.ctx[49]}set clientstylingurl(e){this.$set({clientstylingurl:e}),_()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),_()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),_()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),_()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),_()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),_()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),_()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),_()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$set({gamefunmode:e}),_()}get searchitem(){return this.$$.ctx[51]}set searchitem(e){this.$set({searchitem:e}),_()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),_()}get showfavoredcategory(){return this.$$.ctx[52]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),_()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),_()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$set({endpoint:e}),_()}get livelobbyendpoint(){return this.$$.ctx[54]}set livelobbyendpoint(e){this.$set({livelobbyendpoint:e}),_()}get currency(){return this.$$.ctx[55]}set currency(e){this.$set({currency:e}),_()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$set({connectlive:e}),_()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$set({visibilityconnect:e}),_()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[58]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[59]}}return customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",Yr),Yr});
|
|
2
2
|
//# sourceMappingURL=casino-game-thumbnail.js.map
|