@everymatrix/player-rglimits 1.60.0 → 1.60.2
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.
- package/components/{PlayerRglimits-DVmQUz36.cjs → PlayerRglimits-CTwhIQnc.cjs} +14 -14
- package/components/{PlayerRglimits-C3yG82aF.js → PlayerRglimits-CggLDTKX.js} +1006 -1008
- package/components/{PlayerRglimits-Bbve7FHy.js → PlayerRglimits-DiKSaFAk.js} +1017 -1019
- package/es2015/player-rglimits.cjs +1 -1
- package/es2015/player-rglimits.js +1 -1
- package/esnext/player-rglimits.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BJzf08Qh.js +519 -0
- package/stencil/index-b2193545-BcwULm-K.cjs +1 -0
- package/stencil/index-b2193545-BlEoeZZL.js +503 -0
- package/stencil/ui-skeleton-B_ESS51i.cjs +1 -0
- package/stencil/{ui-skeleton-M7HNQCk1.js → ui-skeleton-C8koemPS.js} +8 -8
- package/stencil/{ui-skeleton-C5gPr5Xv.js → ui-skeleton-Cb-Iz3dC.js} +4 -4
- package/stencil/ui-skeleton-ea659b95-8xls9UKV.cjs +73 -0
- package/stencil/ui-skeleton-ea659b95-BbvMCw6x.js +152 -0
- package/stencil/ui-skeleton-ea659b95-CGzZMsW7.js +152 -0
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +0 -1
- package/stencil/index-ae04a8b1-DRAR7dln.js +0 -532
- package/stencil/index-ae04a8b1-eSktas_K.js +0 -516
- package/stencil/ui-skeleton-C1buDKbo.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-BFJMszWG.js +0 -122
- package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-p8tGooXk.js +0 -122
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var Ml=Object.defineProperty,Dl=Object.defineProperties;var Pl=Object.getOwnPropertyDescriptors;var ha=Object.getOwnPropertySymbols;var Al=Object.prototype.hasOwnProperty,Ol=Object.prototype.propertyIsEnumerable;var en=(e,t,i)=>t in e?Ml(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,fa=(e,t)=>{for(var i in t||(t={}))Al.call(t,i)&&en(e,i,t[i]);if(ha)for(var i of ha(t))Ol.call(t,i)&&en(e,i,t[i]);return e},ca=(e,t)=>Dl(e,Pl(t));var fe=(e,t,i)=>(en(e,typeof t!="symbol"?t+"":t,i),i);var Ai=(e,t,i)=>new Promise((r,n)=>{var a=o=>{try{l(i.next(o))}catch(u){n(u)}},s=o=>{try{l(i.throw(o))}catch(u){n(u)}},l=o=>o.done?r(o.value):Promise.resolve(o.value).then(a,s);l((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-B_ESS51i.cjs");function Pe(){}function ls(e){return e()}function ma(){return Object.create(null)}function Tt(e){e.forEach(ls)}function On(e){return typeof e=="function"}function os(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Cl(e){return Object.keys(e).length===0}function us(e,...t){if(e==null){for(const r of t)r(void 0);return Pe}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function Hl(e,t,i){e.$$.on_destroy.push(us(t,i))}function d(e,t){e.appendChild(t)}function Rl(e,t,i){const r=Nl(e);if(!r.getElementById(t)){const n=g("style");n.id=t,n.textContent=i,Il(r,n)}}function Nl(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Il(e,t){return d(e.head||e,t),t.sheet}function U(e,t,i){e.insertBefore(t,i||null)}function R(e){e.parentNode&&e.parentNode.removeChild(e)}function Pt(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function g(e){return document.createElement(e)}function Ul(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function E(e){return document.createTextNode(e)}function S(){return E(" ")}function Re(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function di(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function p(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function Bl(e){return Array.from(e.childNodes)}function O(e,t){t=""+t,e.data!==t&&(e.data=t)}function ri(e,t){e.value=t==null?"":t}function cr(e,t,i,r){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function ni(e,t,i){for(let r=0;r<e.options.length;r+=1){const n=e.options[r];if(n.__value===t){n.selected=!0;return}}(!i||t!==void 0)&&(e.selectedIndex=-1)}function tn(e){const t=e.querySelector(":checked");return t&&t.__value}class Fl{constructor(t=!1){fe(this,"is_svg",!1);fe(this,"e");fe(this,"n");fe(this,"t");fe(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,i,r=null){this.e||(this.is_svg?this.e=Ul(i.nodeName):this.e=g(i.nodeType===11?"TEMPLATE":i.nodeName),this.t=i.tagName!=="TEMPLATE"?i:i.content,this.c(t)),this.i(r)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let i=0;i<this.n.length;i+=1)U(this.t,this.n[i],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(R)}}function Yl(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let Bi;function Ni(e){Bi=e}function jl(){if(!Bi)throw new Error("Function called outside component initialization");return Bi}function Gl(e){jl().$$.on_mount.push(e)}const Xt=[],mn=[];let Kt=[];const pa=[],Wl=Promise.resolve();let pn=!1;function zl(){pn||(pn=!0,Wl.then(de))}function ai(e){Kt.push(e)}const rn=new Set;let $t=0;function de(){if($t!==0)return;const e=Bi;do{try{for(;$t<Xt.length;){const t=Xt[$t];$t++,Ni(t),Vl(t.$$)}}catch(t){throw Xt.length=0,$t=0,t}for(Ni(null),Xt.length=0,$t=0;mn.length;)mn.pop()();for(let t=0;t<Kt.length;t+=1){const i=Kt[t];rn.has(i)||(rn.add(i),i())}Kt.length=0}while(Xt.length);for(;pa.length;)pa.pop()();pn=!1,rn.clear(),Ni(e)}function Vl(e){if(e.fragment!==null){e.update(),Tt(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ai)}}function $l(e){const t=[],i=[];Kt.forEach(r=>e.indexOf(r)===-1?t.push(r):i.push(r)),i.forEach(r=>r()),Kt=t}const ql=new Set;function Zl(e,t){e&&e.i&&(ql.delete(e),e.i(t))}function Ue(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Xl(e,t,i){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,i),ai(()=>{const a=e.$$.on_mount.map(ls).filter(On);e.$$.on_destroy?e.$$.on_destroy.push(...a):Tt(a),e.$$.on_mount=[]}),n.forEach(ai)}function Jl(e,t){const i=e.$$;i.fragment!==null&&($l(i.after_update),Tt(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function Ql(e,t){e.$$.dirty[0]===-1&&(Xt.push(e),zl(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Kl(e,t,i,r,n,a,s=null,l=[-1]){const o=Bi;Ni(e);const u=e.$$={fragment:null,ctx:[],props:a,update:Pe,not_equal:n,bound:ma(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(o?o.$$.context:[])),callbacks:ma(),dirty:l,skip_bound:!1,root:t.target||o.$$.root};s&&s(u.root);let h=!1;if(u.ctx=i?i(e,t.props||{},(c,f,...w)=>{const _=w.length?w[0]:f;return u.ctx&&n(u.ctx[c],u.ctx[c]=_)&&(!u.skip_bound&&u.bound[c]&&u.bound[c](_),h&&Ql(e,c)),f}):[],u.update(),h=!0,Tt(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const c=Bl(t.target);u.fragment&&u.fragment.l(c),c.forEach(R)}else u.fragment&&u.fragment.c();t.intro&&Zl(e.$$.fragment),Xl(e,t.target,t.anchor),de()}Ni(o)}let ds;typeof HTMLElement=="function"&&(ds=class extends HTMLElement{constructor(t,i,r){super();fe(this,"$$ctor");fe(this,"$$s");fe(this,"$$c");fe(this,"$$cn",!1);fe(this,"$$d",{});fe(this,"$$r",!1);fe(this,"$$p_d",{});fe(this,"$$l",{});fe(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=i,r&&this.attachShadow({mode:"open"})}addEventListener(t,i,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(i),this.$$c){const n=this.$$c.$on(t,i);this.$$l_u.set(i,n)}super.addEventListener(t,i,r)}removeEventListener(t,i,r){if(super.removeEventListener(t,i,r),this.$$c){const n=this.$$l_u.get(i);n&&(n(),this.$$l_u.delete(i))}}connectedCallback(){return Ai(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let s;return{c:function(){s=g("slot"),a!=="default"&&p(s,"name",a)},m:function(u,h){U(u,s,h)},d:function(u){u&&R(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},r=Yl(this);for(const a of this.$$s)a in r&&(i[a]=[t(a)]);for(const a of this.attributes){const s=this.$$g_p(a.name);s in this.$$d||(this.$$d[s]=_r(s,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:ca(fa({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const s=_r(a,this.$$d[a],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,s)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const a in this.$$l)for(const s of this.$$l[a]){const l=this.$$c.$on(a,s);this.$$l_u.set(s,l)}this.$$l={}}})}attributeChangedCallback(t,i,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=_r(t,r,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(i=>this.$$p_d[i].attribute===t||!this.$$p_d[i].attribute&&i.toLowerCase()===t)||t}});function _r(e,t,i,r){var a;const n=(a=i[e])==null?void 0:a.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!i[e])return t;if(r==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function eo(e,t,i,r,n,a){let s=class extends ds{constructor(){super(e,i,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(s.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){var u;o=_r(l,o,t),this.$$d[l]=o,(u=this.$$c)==null||u.$set({[l]:o})}})}),r.forEach(l=>{Object.defineProperty(s.prototype,l,{get(){var o;return(o=this.$$c)==null?void 0:o[l]}})}),e.element=s,s}class to{constructor(){fe(this,"$$");fe(this,"$$set")}$destroy(){Jl(this,1),this.$destroy=Pe}$on(t,i){if(!On(i))return Pe;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(i),()=>{const n=r.indexOf(i);n!==-1&&r.splice(n,1)}}$set(t){this.$$set&&!Cl(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const io="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(io);function ro(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function no(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
|
|
2
2
|
//! version : 2.29.4
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
|
5
5
|
//! momentjs.com
|
|
6
|
-
var
|
|
7
|
-
[`+a+"] ";for(s in arguments[0])Y(arguments[0],s)&&(n+=s+": "+arguments[0][s]+", ");n=n.slice(0,-2)}else n=arguments[a];r.push(n)}
|
|
6
|
+
var hs;function L(){return hs.apply(null,arguments)}function ao(e){hs=e}function Ge(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Dt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function Y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Cn(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(Y(e,t))return!1;return!0}function De(e){return e===void 0}function ut(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function zi(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function fs(e,t){var i=[],r,n=e.length;for(r=0;r<n;++r)i.push(t(e[r],r));return i}function bt(e,t){for(var i in t)Y(t,i)&&(e[i]=t[i]);return Y(t,"toString")&&(e.toString=t.toString),Y(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Xe(e,t,i,r){return Ns(e,t,i,r,!0).utc()}function so(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function D(e){return e._pf==null&&(e._pf=so()),e._pf}var gn;Array.prototype.some?gn=Array.prototype.some:gn=function(e){var t=Object(this),i=t.length>>>0,r;for(r=0;r<i;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function Hn(e){if(e._isValid==null){var t=D(e),i=gn.call(t.parsedDateParts,function(n){return n!=null}),r=!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&&i);if(e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r}return e._isValid}function Ar(e){var t=Xe(NaN);return e!=null?bt(D(t),e):D(t).userInvalidated=!0,t}var ga=L.momentProperties=[],nn=!1;function Rn(e,t){var i,r,n,a=ga.length;if(De(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),De(t._i)||(e._i=t._i),De(t._f)||(e._f=t._f),De(t._l)||(e._l=t._l),De(t._strict)||(e._strict=t._strict),De(t._tzm)||(e._tzm=t._tzm),De(t._isUTC)||(e._isUTC=t._isUTC),De(t._offset)||(e._offset=t._offset),De(t._pf)||(e._pf=D(t)),De(t._locale)||(e._locale=t._locale),a>0)for(i=0;i<a;i++)r=ga[i],n=t[r],De(n)||(e[r]=n);return e}function Vi(e){Rn(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),nn===!1&&(nn=!0,L.updateOffset(this),nn=!1)}function We(e){return e instanceof Vi||e!=null&&e._isAMomentObject!=null}function cs(e){L.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function Be(e,t){var i=!0;return bt(function(){if(L.deprecationHandler!=null&&L.deprecationHandler(null,e),i){var r=[],n,a,s,l=arguments.length;for(a=0;a<l;a++){if(n="",typeof arguments[a]=="object"){n+=`
|
|
7
|
+
[`+a+"] ";for(s in arguments[0])Y(arguments[0],s)&&(n+=s+": "+arguments[0][s]+", ");n=n.slice(0,-2)}else n=arguments[a];r.push(n)}cs(e+`
|
|
8
8
|
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
9
|
-
`+new Error().stack),i=!1}return t.apply(this,arguments)},t)}var ba={};function gs(e,t){L.deprecationHandler!=null&&L.deprecationHandler(e,t),ba[e]||(ps(t),ba[e]=!0)}L.suppressDeprecationWarnings=!1;L.deprecationHandler=null;function Je(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function uo(e){var t,i;for(i in e)Y(e,i)&&(t=e[i],Je(t)?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function _n(e,t){var i=bt({},e),r;for(r in t)Y(t,r)&&(Dt(e[r])&&Dt(t[r])?(i[r]={},bt(i[r],e[r]),bt(i[r],t[r])):t[r]!=null?i[r]=t[r]:delete i[r]);for(r in e)Y(e,r)&&!Y(t,r)&&Dt(e[r])&&(i[r]=bt({},i[r]));return i}function Nn(e){e!=null&&this.set(e)}var yn;Object.keys?yn=Object.keys:yn=function(e){var t,i=[];for(t in e)Y(e,t)&&i.push(t);return i};var ho={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function fo(e,t,i){var r=this._calendar[e]||this._calendar.sameElse;return Je(r)?r.call(t,i):r}function Ze(e,t,i){var r=""+Math.abs(e),n=t-r.length,a=e>=0;return(a?i?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var In=/(\[[^\[]*\])|(\\)?([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,mr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,an={},ei={};function k(e,t,i,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(ei[e]=n),t&&(ei[t[0]]=function(){return Ze(n.apply(this,arguments),t[1],t[2])}),i&&(ei[i]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function co(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function mo(e){var t=e.match(In),i,r;for(i=0,r=t.length;i<r;i++)ei[t[i]]?t[i]=ei[t[i]]:t[i]=co(t[i]);return function(n){var a="",s;for(s=0;s<r;s++)a+=Je(t[s])?t[s].call(n,e):t[s];return a}}function yr(e,t){return e.isValid()?(t=_s(t,e.localeData()),an[t]=an[t]||mo(t),an[t](e)):e.localeData().invalidDate()}function _s(e,t){var i=5;function r(n){return t.longDateFormat(n)||n}for(mr.lastIndex=0;i>=0&&mr.test(e);)e=e.replace(mr,r),mr.lastIndex=0,i-=1;return e}var po={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function go(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(In).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var _o="Invalid date";function yo(){return this._invalidDate}var bo="%d",vo=/\d{1,2}/;function Lo(e){return this._ordinal.replace("%d",e)}var wo={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function To(e,t,i,r){var n=this._relativeTime[i];return Je(n)?n(e,t,i,r):n.replace(/%d/i,e)}function So(e,t){var i=this._relativeTime[e>0?"future":"past"];return Je(i)?i(t):i.replace(/%s/i,t)}var Ii={};function pe(e,t){var i=e.toLowerCase();Ii[i]=Ii[i+"s"]=Ii[t]=e}function Fe(e){return typeof e=="string"?Ii[e]||Ii[e.toLowerCase()]:void 0}function Un(e){var t={},i,r;for(r in e)Y(e,r)&&(i=Fe(r),i&&(t[i]=e[r]));return t}var ys={};function ge(e,t){ys[e]=t}function ko(e){var t=[],i;for(i in e)Y(e,i)&&t.push({unit:i,priority:ys[i]});return t.sort(function(r,n){return r.priority-n.priority}),t}function Or(e){return e%4===0&&e%100!==0||e%400===0}function Ie(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function C(e){var t=+e,i=0;return t!==0&&isFinite(t)&&(i=Ie(t)),i}function hi(e,t){return function(i){return i!=null?(bs(this,e,i),L.updateOffset(this,t),this):Tr(this,e)}}function Tr(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function bs(e,t,i){e.isValid()&&!isNaN(i)&&(t==="FullYear"&&Or(e.year())&&e.month()===1&&e.date()===29?(i=C(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),Ur(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}function Eo(e){return e=Fe(e),Je(this[e])?this[e]():this}function xo(e,t){if(typeof e=="object"){e=Un(e);var i=ko(e),r,n=i.length;for(r=0;r<n;r++)this[i[r].unit](e[i[r].unit])}else if(e=Fe(e),Je(this[e]))return this[e](t);return this}var vs=/\d/,Ne=/\d\d/,Ls=/\d{3}/,Bn=/\d{4}/,Cr=/[+-]?\d{6}/,Z=/\d\d?/,ws=/\d\d\d\d?/,Ts=/\d\d\d\d\d\d?/,Hr=/\d{1,3}/,Fn=/\d{1,4}/,Rr=/[+-]?\d{1,6}/,fi=/\d+/,Nr=/[+-]?\d+/,Mo=/Z|[+-]\d\d:?\d\d/gi,Ir=/Z|[+-]\d\d(?::?\d\d)?/gi,Do=/[+-]?\d+(\.\d{1,3})?/,$i=/[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,Sr;Sr={};function T(e,t,i){Sr[e]=Je(t)?t:function(r,n){return r&&i?i:t}}function Po(e,t){return Y(Sr,e)?Sr[e](t._strict,t._locale):new RegExp(Ao(e))}function Ao(e){return He(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,i,r,n,a){return i||r||n||a}))}function He(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var bn={};function V(e,t){var i,r=t,n;for(typeof e=="string"&&(e=[e]),ut(t)&&(r=function(a,s){s[t]=C(a)}),n=e.length,i=0;i<n;i++)bn[e[i]]=r}function qi(e,t){V(e,function(i,r,n,a){n._w=n._w||{},t(i,n._w,n,a)})}function Oo(e,t,i){t!=null&&Y(bn,e)&&bn[e](t,i._a,i,e)}var me=0,st=1,qe=2,ne=3,je=4,lt=5,Mt=6,Co=7,Ho=8;function Ro(e,t){return(e%t+t)%t}var ie;Array.prototype.indexOf?ie=Array.prototype.indexOf:ie=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Ur(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=Ro(t,12);return e+=(t-i)/12,i===1?Or(e)?29:28:31-i%7%2}k("M",["MM",2],"Mo",function(){return this.month()+1});k("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});k("MMMM",0,0,function(e){return this.localeData().months(this,e)});pe("month","M");ge("month",8);T("M",Z);T("MM",Z,Ne);T("MMM",function(e,t){return t.monthsShortRegex(e)});T("MMMM",function(e,t){return t.monthsRegex(e)});V(["M","MM"],function(e,t){t[st]=C(e)-1});V(["MMM","MMMM"],function(e,t,i,r){var n=i._locale.monthsParse(e,r,i._strict);n!=null?t[st]=n:D(i).invalidMonth=e});var No="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ss="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ks=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Io=$i,Uo=$i;function Bo(e,t){return e?Ge(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ks).test(t)?"format":"standalone"][e.month()]:Ge(this._months)?this._months:this._months.standalone}function Fo(e,t){return e?Ge(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ks.test(t)?"format":"standalone"][e.month()]:Ge(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Yo(e,t,i){var r,n,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=Xe([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return i?t==="MMM"?(n=ie.call(this._shortMonthsParse,s),n!==-1?n:null):(n=ie.call(this._longMonthsParse,s),n!==-1?n:null):t==="MMM"?(n=ie.call(this._shortMonthsParse,s),n!==-1?n:(n=ie.call(this._longMonthsParse,s),n!==-1?n:null)):(n=ie.call(this._longMonthsParse,s),n!==-1?n:(n=ie.call(this._shortMonthsParse,s),n!==-1?n:null))}function jo(e,t,i){var r,n,a;if(this._monthsParseExact)return Yo.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=Xe([2e3,r]),i&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!i&&!this._monthsParse[r]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),i&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(i&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!i&&this._monthsParse[r].test(e))return r}}function Es(e,t){var i;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=C(t);else if(t=e.localeData().monthsParse(t),!ut(t))return e}return i=Math.min(e.date(),Ur(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i),e}function xs(e){return e!=null?(Es(this,e),L.updateOffset(this,!0),this):Tr(this,"Month")}function Go(){return Ur(this.year(),this.month())}function Wo(e){return this._monthsParseExact?(Y(this,"_monthsRegex")||Ms.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Y(this,"_monthsShortRegex")||(this._monthsShortRegex=Io),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function zo(e){return this._monthsParseExact?(Y(this,"_monthsRegex")||Ms.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Y(this,"_monthsRegex")||(this._monthsRegex=Uo),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Ms(){function e(s,l){return l.length-s.length}var t=[],i=[],r=[],n,a;for(n=0;n<12;n++)a=Xe([2e3,n]),t.push(this.monthsShort(a,"")),i.push(this.months(a,"")),r.push(this.months(a,"")),r.push(this.monthsShort(a,""));for(t.sort(e),i.sort(e),r.sort(e),n=0;n<12;n++)t[n]=He(t[n]),i[n]=He(i[n]);for(n=0;n<24;n++)r[n]=He(r[n]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}k("Y",0,0,function(){var e=this.year();return e<=9999?Ze(e,4):"+"+e});k(0,["YY",2],0,function(){return this.year()%100});k(0,["YYYY",4],0,"year");k(0,["YYYYY",5],0,"year");k(0,["YYYYYY",6,!0],0,"year");pe("year","y");ge("year",1);T("Y",Nr);T("YY",Z,Ne);T("YYYY",Fn,Bn);T("YYYYY",Rr,Cr);T("YYYYYY",Rr,Cr);V(["YYYYY","YYYYYY"],me);V("YYYY",function(e,t){t[me]=e.length===2?L.parseTwoDigitYear(e):C(e)});V("YY",function(e,t){t[me]=L.parseTwoDigitYear(e)});V("Y",function(e,t){t[me]=parseInt(e,10)});function Ui(e){return Or(e)?366:365}L.parseTwoDigitYear=function(e){return C(e)+(C(e)>68?1900:2e3)};var Ds=hi("FullYear",!0);function Vo(){return Or(this.year())}function $o(e,t,i,r,n,a,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,i,r,n,a,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,i,r,n,a,s),l}function Fi(e){var t,i;return e<100&&e>=0?(i=Array.prototype.slice.call(arguments),i[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function kr(e,t,i){var r=7+t-i,n=(7+Fi(e,0,r).getUTCDay()-t)%7;return-n+r-1}function Ps(e,t,i,r,n){var a=(7+i-r)%7,s=kr(e,r,n),l=1+7*(t-1)+a+s,o,u;return l<=0?(o=e-1,u=Ui(o)+l):l>Ui(e)?(o=e+1,u=l-Ui(e)):(o=e,u=l),{year:o,dayOfYear:u}}function Yi(e,t,i){var r=kr(e.year(),t,i),n=Math.floor((e.dayOfYear()-r-1)/7)+1,a,s;return n<1?(s=e.year()-1,a=n+ot(s,t,i)):n>ot(e.year(),t,i)?(a=n-ot(e.year(),t,i),s=e.year()+1):(s=e.year(),a=n),{week:a,year:s}}function ot(e,t,i){var r=kr(e,t,i),n=kr(e+1,t,i);return(Ui(e)-r+n)/7}k("w",["ww",2],"wo","week");k("W",["WW",2],"Wo","isoWeek");pe("week","w");pe("isoWeek","W");ge("week",5);ge("isoWeek",5);T("w",Z);T("ww",Z,Ne);T("W",Z);T("WW",Z,Ne);qi(["w","ww","W","WW"],function(e,t,i,r){t[r.substr(0,1)]=C(e)});function qo(e){return Yi(e,this._week.dow,this._week.doy).week}var Zo={dow:0,doy:6};function Xo(){return this._week.dow}function Jo(){return this._week.doy}function Qo(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ko(e){var t=Yi(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}k("d",0,"do","day");k("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});k("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});k("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});k("e",0,0,"weekday");k("E",0,0,"isoWeekday");pe("day","d");pe("weekday","e");pe("isoWeekday","E");ge("day",11);ge("weekday",11);ge("isoWeekday",11);T("d",Z);T("e",Z);T("E",Z);T("dd",function(e,t){return t.weekdaysMinRegex(e)});T("ddd",function(e,t){return t.weekdaysShortRegex(e)});T("dddd",function(e,t){return t.weekdaysRegex(e)});qi(["dd","ddd","dddd"],function(e,t,i,r){var n=i._locale.weekdaysParse(e,r,i._strict);n!=null?t.d=n:D(i).invalidWeekday=e});qi(["d","e","E"],function(e,t,i,r){t[r]=C(e)});function eu(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function tu(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Yn(e,t){return e.slice(t,7).concat(e.slice(0,t))}var iu="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),As="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ru="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),nu=$i,au=$i,su=$i;function lu(e,t){var i=Ge(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Yn(i,this._week.dow):e?i[e.day()]:i}function ou(e){return e===!0?Yn(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function uu(e){return e===!0?Yn(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function du(e,t,i){var r,n,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=Xe([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return i?t==="dddd"?(n=ie.call(this._weekdaysParse,s),n!==-1?n:null):t==="ddd"?(n=ie.call(this._shortWeekdaysParse,s),n!==-1?n:null):(n=ie.call(this._minWeekdaysParse,s),n!==-1?n:null):t==="dddd"?(n=ie.call(this._weekdaysParse,s),n!==-1||(n=ie.call(this._shortWeekdaysParse,s),n!==-1)?n:(n=ie.call(this._minWeekdaysParse,s),n!==-1?n:null)):t==="ddd"?(n=ie.call(this._shortWeekdaysParse,s),n!==-1||(n=ie.call(this._weekdaysParse,s),n!==-1)?n:(n=ie.call(this._minWeekdaysParse,s),n!==-1?n:null)):(n=ie.call(this._minWeekdaysParse,s),n!==-1||(n=ie.call(this._weekdaysParse,s),n!==-1)?n:(n=ie.call(this._shortWeekdaysParse,s),n!==-1?n:null))}function hu(e,t,i){var r,n,a;if(this._weekdaysParseExact)return du.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=Xe([2e3,1]).day(r),i&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),i&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(i&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(i&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!i&&this._weekdaysParse[r].test(e))return r}}function fu(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=eu(e,this.localeData()),this.add(e-t,"d")):t}function cu(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function mu(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=tu(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function pu(e){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||jn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Y(this,"_weekdaysRegex")||(this._weekdaysRegex=nu),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function gu(e){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||jn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=au),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function _u(e){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||jn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=su),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function jn(){function e(h,c){return c.length-h.length}var t=[],i=[],r=[],n=[],a,s,l,o,u;for(a=0;a<7;a++)s=Xe([2e3,1]).day(a),l=He(this.weekdaysMin(s,"")),o=He(this.weekdaysShort(s,"")),u=He(this.weekdays(s,"")),t.push(l),i.push(o),r.push(u),n.push(l),n.push(o),n.push(u);t.sort(e),i.sort(e),r.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Gn(){return this.hours()%12||12}function yu(){return this.hours()||24}k("H",["HH",2],0,"hour");k("h",["hh",2],0,Gn);k("k",["kk",2],0,yu);k("hmm",0,0,function(){return""+Gn.apply(this)+Ze(this.minutes(),2)});k("hmmss",0,0,function(){return""+Gn.apply(this)+Ze(this.minutes(),2)+Ze(this.seconds(),2)});k("Hmm",0,0,function(){return""+this.hours()+Ze(this.minutes(),2)});k("Hmmss",0,0,function(){return""+this.hours()+Ze(this.minutes(),2)+Ze(this.seconds(),2)});function Os(e,t){k(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Os("a",!0);Os("A",!1);pe("hour","h");ge("hour",13);function Cs(e,t){return t._meridiemParse}T("a",Cs);T("A",Cs);T("H",Z);T("h",Z);T("k",Z);T("HH",Z,Ne);T("hh",Z,Ne);T("kk",Z,Ne);T("hmm",ws);T("hmmss",Ts);T("Hmm",ws);T("Hmmss",Ts);V(["H","HH"],ne);V(["k","kk"],function(e,t,i){var r=C(e);t[ne]=r===24?0:r});V(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e});V(["h","hh"],function(e,t,i){t[ne]=C(e),D(i).bigHour=!0});V("hmm",function(e,t,i){var r=e.length-2;t[ne]=C(e.substr(0,r)),t[je]=C(e.substr(r)),D(i).bigHour=!0});V("hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[ne]=C(e.substr(0,r)),t[je]=C(e.substr(r,2)),t[lt]=C(e.substr(n)),D(i).bigHour=!0});V("Hmm",function(e,t,i){var r=e.length-2;t[ne]=C(e.substr(0,r)),t[je]=C(e.substr(r))});V("Hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[ne]=C(e.substr(0,r)),t[je]=C(e.substr(r,2)),t[lt]=C(e.substr(n))});function bu(e){return(e+"").toLowerCase().charAt(0)==="p"}var vu=/[ap]\.?m?\.?/i,Lu=hi("Hours",!0);function wu(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"}var Hs={calendar:ho,longDateFormat:po,invalidDate:_o,ordinal:bo,dayOfMonthOrdinalParse:vo,relativeTime:wo,months:No,monthsShort:Ss,week:Zo,weekdays:iu,weekdaysMin:ru,weekdaysShort:As,meridiemParse:vu},Q={},Oi={},ji;function Tu(e,t){var i,r=Math.min(e.length,t.length);for(i=0;i<r;i+=1)if(e[i]!==t[i])return i;return r}function va(e){return e&&e.toLowerCase().replace("_","-")}function Su(e){for(var t=0,i,r,n,a;t<e.length;){for(a=va(e[t]).split("-"),i=a.length,r=va(e[t+1]),r=r?r.split("-"):null;i>0;){if(n=Br(a.slice(0,i).join("-")),n)return n;if(r&&r.length>=i&&Tu(a,r)>=i-1)break;i--}t++}return ji}function ku(e){return e.match("^[^/\\\\]*$")!=null}function Br(e){var t=null,i;if(Q[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&ku(e))try{t=ji._abbr,i=so,i("./locale/"+e),wt(t)}catch(r){Q[e]=null}return Q[e]}function wt(e,t){var i;return e&&(De(t)?i=dt(e):i=Wn(e,t),i?ji=i:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ji._abbr}function Wn(e,t){if(t!==null){var i,r=Hs;if(t.abbr=e,Q[e]!=null)gs("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=Q[e]._config;else if(t.parentLocale!=null)if(Q[t.parentLocale]!=null)r=Q[t.parentLocale]._config;else if(i=Br(t.parentLocale),i!=null)r=i._config;else return Oi[t.parentLocale]||(Oi[t.parentLocale]=[]),Oi[t.parentLocale].push({name:e,config:t}),null;return Q[e]=new Nn(_n(r,t)),Oi[e]&&Oi[e].forEach(function(n){Wn(n.name,n.config)}),wt(e),Q[e]}else return delete Q[e],null}function Eu(e,t){if(t!=null){var i,r,n=Hs;Q[e]!=null&&Q[e].parentLocale!=null?Q[e].set(_n(Q[e]._config,t)):(r=Br(e),r!=null&&(n=r._config),t=_n(n,t),r==null&&(t.abbr=e),i=new Nn(t),i.parentLocale=Q[e],Q[e]=i),wt(e)}else Q[e]!=null&&(Q[e].parentLocale!=null?(Q[e]=Q[e].parentLocale,e===wt()&&wt(e)):Q[e]!=null&&delete Q[e]);return Q[e]}function dt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ji;if(!Ge(e)){if(t=Br(e),t)return t;e=[e]}return Su(e)}function xu(){return yn(Q)}function zn(e){var t,i=e._a;return i&&D(e).overflow===-2&&(t=i[st]<0||i[st]>11?st:i[qe]<1||i[qe]>Ur(i[me],i[st])?qe:i[ne]<0||i[ne]>24||i[ne]===24&&(i[je]!==0||i[lt]!==0||i[Mt]!==0)?ne:i[je]<0||i[je]>59?je:i[lt]<0||i[lt]>59?lt:i[Mt]<0||i[Mt]>999?Mt:-1,D(e)._overflowDayOfYear&&(t<me||t>qe)&&(t=qe),D(e)._overflowWeeks&&t===-1&&(t=Co),D(e)._overflowWeekday&&t===-1&&(t=Ho),D(e).overflow=t),e}var Mu=/^\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)?)?$/,Du=/^\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)?)?$/,Pu=/Z|[+-]\d\d(?::?\d\d)?/,pr=[["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]],sn=[["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/]],Au=/^\/?Date\((-?\d+)/i,Ou=/^(?:(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}))$/,Cu={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Rs(e){var t,i,r=e._i,n=Mu.exec(r)||Du.exec(r),a,s,l,o,u=pr.length,h=sn.length;if(n){for(D(e).iso=!0,t=0,i=u;t<i;t++)if(pr[t][1].exec(n[1])){s=pr[t][0],a=pr[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(n[3]){for(t=0,i=h;t<i;t++)if(sn[t][1].exec(n[3])){l=(n[2]||" ")+sn[t][0];break}if(l==null){e._isValid=!1;return}}if(!a&&l!=null){e._isValid=!1;return}if(n[4])if(Pu.exec(n[4]))o="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(o||""),$n(e)}else e._isValid=!1}function Hu(e,t,i,r,n,a){var s=[Ru(e),Ss.indexOf(t),parseInt(i,10),parseInt(r,10),parseInt(n,10)];return a&&s.push(parseInt(a,10)),s}function Ru(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Nu(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Iu(e,t,i){if(e){var r=As.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(r!==n)return D(i).weekdayMismatch=!0,i._isValid=!1,!1}return!0}function Uu(e,t,i){if(e)return Cu[e];if(t)return 0;var r=parseInt(i,10),n=r%100,a=(r-n)/100;return a*60+n}function Ns(e){var t=Ou.exec(Nu(e._i)),i;if(t){if(i=Hu(t[4],t[3],t[2],t[5],t[6],t[7]),!Iu(t[1],i,e))return;e._a=i,e._tzm=Uu(t[8],t[9],t[10]),e._d=Fi.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),D(e).rfc2822=!0}else e._isValid=!1}function Bu(e){var t=Au.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Rs(e),e._isValid===!1)delete e._isValid;else return;if(Ns(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:L.createFromInputFallback(e)}L.createFromInputFallback=Be("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Jt(e,t,i){return e!=null?e:t!=null?t:i}function Fu(e){var t=new Date(L.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Vn(e){var t,i,r=[],n,a,s;if(!e._d){for(n=Fu(e),e._w&&e._a[qe]==null&&e._a[st]==null&&Yu(e),e._dayOfYear!=null&&(s=Jt(e._a[me],n[me]),(e._dayOfYear>Ui(s)||e._dayOfYear===0)&&(D(e)._overflowDayOfYear=!0),i=Fi(s,0,e._dayOfYear),e._a[st]=i.getUTCMonth(),e._a[qe]=i.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ne]===24&&e._a[je]===0&&e._a[lt]===0&&e._a[Mt]===0&&(e._nextDay=!0,e._a[ne]=0),e._d=(e._useUTC?Fi:$o).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ne]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==a&&(D(e).weekdayMismatch=!0)}}function Yu(e){var t,i,r,n,a,s,l,o,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,s=4,i=Jt(t.GG,e._a[me],Yi(q(),1,4).year),r=Jt(t.W,1),n=Jt(t.E,1),(n<1||n>7)&&(o=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,u=Yi(q(),a,s),i=Jt(t.gg,e._a[me],u.year),r=Jt(t.w,u.week),t.d!=null?(n=t.d,(n<0||n>6)&&(o=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(o=!0)):n=a),r<1||r>ot(i,a,s)?D(e)._overflowWeeks=!0:o!=null?D(e)._overflowWeekday=!0:(l=Ps(i,r,n,a,s),e._a[me]=l.year,e._dayOfYear=l.dayOfYear)}L.ISO_8601=function(){};L.RFC_2822=function(){};function $n(e){if(e._f===L.ISO_8601){Rs(e);return}if(e._f===L.RFC_2822){Ns(e);return}e._a=[],D(e).empty=!0;var t=""+e._i,i,r,n,a,s,l=t.length,o=0,u,h;for(n=_s(e._f,e._locale).match(In)||[],h=n.length,i=0;i<h;i++)a=n[i],r=(t.match(Po(a,e))||[])[0],r&&(s=t.substr(0,t.indexOf(r)),s.length>0&&D(e).unusedInput.push(s),t=t.slice(t.indexOf(r)+r.length),o+=r.length),ei[a]?(r?D(e).empty=!1:D(e).unusedTokens.push(a),Oo(a,r,e)):e._strict&&!r&&D(e).unusedTokens.push(a);D(e).charsLeftOver=l-o,t.length>0&&D(e).unusedInput.push(t),e._a[ne]<=12&&D(e).bigHour===!0&&e._a[ne]>0&&(D(e).bigHour=void 0),D(e).parsedDateParts=e._a.slice(0),D(e).meridiem=e._meridiem,e._a[ne]=ju(e._locale,e._a[ne],e._meridiem),u=D(e).era,u!==null&&(e._a[me]=e._locale.erasConvertYear(u,e._a[me])),Vn(e),zn(e)}function ju(e,t,i){var r;return i==null?t:e.meridiemHour!=null?e.meridiemHour(t,i):(e.isPM!=null&&(r=e.isPM(i),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Gu(e){var t,i,r,n,a,s,l=!1,o=e._f.length;if(o===0){D(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<o;n++)a=0,s=!1,t=Rn({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],$n(t),Hn(t)&&(s=!0),a+=D(t).charsLeftOver,a+=D(t).unusedTokens.length*10,D(t).score=a,l?a<r&&(r=a,i=t):(r==null||a<r||s)&&(r=a,i=t,s&&(l=!0));bt(e,i||t)}function Wu(e){if(!e._d){var t=Un(e._i),i=t.day===void 0?t.date:t.day;e._a=ms([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),Vn(e)}}function zu(e){var t=new Vi(zn(Is(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Is(e){var t=e._i,i=e._f;return e._locale=e._locale||dt(e._l),t===null||i===void 0&&t===""?Ar({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),We(t)?new Vi(zn(t)):(zi(t)?e._d=t:Ge(i)?Gu(e):i?$n(e):Vu(e),Hn(e)||(e._d=null),e))}function Vu(e){var t=e._i;De(t)?e._d=new Date(L.now()):zi(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Bu(e):Ge(t)?(e._a=ms(t.slice(0),function(i){return parseInt(i,10)}),Vn(e)):Dt(t)?Wu(e):ut(t)?e._d=new Date(t):L.createFromInputFallback(e)}function Us(e,t,i,r,n){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(i===!0||i===!1)&&(r=i,i=void 0),(Dt(e)&&Cn(e)||Ge(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=i,a._i=e,a._f=t,a._strict=r,zu(a)}function q(e,t,i,r){return Us(e,t,i,r,!1)}var $u=Be("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=q.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Ar()}),qu=Be("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=q.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Ar()});function Bs(e,t){var i,r;if(t.length===1&&Ge(t[0])&&(t=t[0]),!t.length)return q();for(i=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](i))&&(i=t[r]);return i}function Zu(){var e=[].slice.call(arguments,0);return Bs("isBefore",e)}function Xu(){var e=[].slice.call(arguments,0);return Bs("isAfter",e)}var Ju=function(){return Date.now?Date.now():+new Date},Ci=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Qu(e){var t,i=!1,r,n=Ci.length;for(t in e)if(Y(e,t)&&!(ie.call(Ci,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<n;++r)if(e[Ci[r]]){if(i)return!1;parseFloat(e[Ci[r]])!==C(e[Ci[r]])&&(i=!0)}return!0}function Ku(){return this._isValid}function ed(){return ze(NaN)}function Fr(e){var t=Un(e),i=t.year||0,r=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,o=t.minute||0,u=t.second||0,h=t.millisecond||0;this._isValid=Qu(t),this._milliseconds=+h+u*1e3+o*6e4+l*1e3*60*60,this._days=+s+a*7,this._months=+n+r*3+i*12,this._data={},this._locale=dt(),this._bubble()}function br(e){return e instanceof Fr}function vn(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function td(e,t,i){var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,s;for(s=0;s<r;s++)C(e[s])!==C(t[s])&&a++;return a+n}function Fs(e,t){k(e,0,0,function(){var i=this.utcOffset(),r="+";return i<0&&(i=-i,r="-"),r+Ze(~~(i/60),2)+t+Ze(~~i%60,2)})}Fs("Z",":");Fs("ZZ","");T("Z",Ir);T("ZZ",Ir);V(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=qn(Ir,e)});var id=/([\+\-]|\d\d)/gi;function qn(e,t){var i=(t||"").match(e),r,n,a;return i===null?null:(r=i[i.length-1]||[],n=(r+"").match(id)||["-",0,0],a=+(n[1]*60)+C(n[2]),a===0?0:n[0]==="+"?a:-a)}function Zn(e,t){var i,r;return t._isUTC?(i=t.clone(),r=(We(e)||zi(e)?e.valueOf():q(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),L.updateOffset(i,!1),i):q(e).local()}function Ln(e){return-Math.round(e._d.getTimezoneOffset())}L.updateOffset=function(){};function rd(e,t,i){var r=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=qn(Ir,e),e===null)return this}else Math.abs(e)<16&&!i&&(e=e*60);return!this._isUTC&&t&&(n=Ln(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Gs(this,ze(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,L.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Ln(this)}function nd(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ad(e){return this.utcOffset(0,e)}function sd(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ln(this),"m")),this}function ld(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=qn(Mo,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function od(e){return this.isValid()?(e=e?q(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ud(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function dd(){if(!De(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Rn(e,this),e=Is(e),e._a?(t=e._isUTC?Xe(e._a):q(e._a),this._isDSTShifted=this.isValid()&&td(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function hd(){return this.isValid()?!this._isUTC:!1}function fd(){return this.isValid()?this._isUTC:!1}function Ys(){return this.isValid()?this._isUTC&&this._offset===0:!1}var cd=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,md=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ze(e,t){var i=e,r=null,n,a,s;return br(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:ut(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(r=cd.exec(e))?(n=r[1]==="-"?-1:1,i={y:0,d:C(r[qe])*n,h:C(r[ne])*n,m:C(r[je])*n,s:C(r[lt])*n,ms:C(vn(r[Mt]*1e3))*n}):(r=md.exec(e))?(n=r[1]==="-"?-1:1,i={y:xt(r[2],n),M:xt(r[3],n),w:xt(r[4],n),d:xt(r[5],n),h:xt(r[6],n),m:xt(r[7],n),s:xt(r[8],n)}):i==null?i={}:typeof i=="object"&&("from"in i||"to"in i)&&(s=pd(q(i.from),q(i.to)),i={},i.ms=s.milliseconds,i.M=s.months),a=new Fr(i),br(e)&&Y(e,"_locale")&&(a._locale=e._locale),br(e)&&Y(e,"_isValid")&&(a._isValid=e._isValid),a}ze.fn=Fr.prototype;ze.invalid=ed;function xt(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function La(e,t){var i={};return i.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function pd(e,t){var i;return e.isValid()&&t.isValid()?(t=Zn(t,e),e.isBefore(t)?i=La(e,t):(i=La(t,e),i.milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}function js(e,t){return function(i,r){var n,a;return r!==null&&!isNaN(+r)&&(gs(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=i,i=r,r=a),n=ze(i,r),Gs(this,n,e),this}}function Gs(e,t,i,r){var n=t._milliseconds,a=vn(t._days),s=vn(t._months);e.isValid()&&(r=r==null?!0:r,s&&Es(e,Tr(e,"Month")+s*i),a&&bs(e,"Date",Tr(e,"Date")+a*i),n&&e._d.setTime(e._d.valueOf()+n*i),r&&L.updateOffset(e,a||s))}var gd=js(1,"add"),_d=js(-1,"subtract");function Ws(e){return typeof e=="string"||e instanceof String}function yd(e){return We(e)||zi(e)||Ws(e)||ut(e)||vd(e)||bd(e)||e===null||e===void 0}function bd(e){var t=Dt(e)&&!Cn(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,a,s=r.length;for(n=0;n<s;n+=1)a=r[n],i=i||Y(e,a);return t&&i}function vd(e){var t=Ge(e),i=!1;return t&&(i=e.filter(function(r){return!ut(r)&&Ws(e)}).length===0),t&&i}function Ld(e){var t=Dt(e)&&!Cn(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<r.length;n+=1)a=r[n],i=i||Y(e,a);return t&&i}function wd(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function Td(e,t){arguments.length===1&&(arguments[0]?yd(arguments[0])?(e=arguments[0],t=void 0):Ld(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var i=e||q(),r=Zn(i,this).startOf("day"),n=L.calendarFormat(this,r)||"sameElse",a=t&&(Je(t[n])?t[n].call(this,i):t[n]);return this.format(a||this.localeData().calendar(n,this,q(i)))}function Sd(){return new Vi(this)}function kd(e,t){var i=We(e)?e:q(e);return this.isValid()&&i.isValid()?(t=Fe(t)||"millisecond",t==="millisecond"?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf()):!1}function Ed(e,t){var i=We(e)?e:q(e);return this.isValid()&&i.isValid()?(t=Fe(t)||"millisecond",t==="millisecond"?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf()):!1}function xd(e,t,i,r){var n=We(e)?e:q(e),a=We(t)?t:q(t);return this.isValid()&&n.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(n,i):!this.isBefore(n,i))&&(r[1]===")"?this.isBefore(a,i):!this.isAfter(a,i))):!1}function Md(e,t){var i=We(e)?e:q(e),r;return this.isValid()&&i.isValid()?(t=Fe(t)||"millisecond",t==="millisecond"?this.valueOf()===i.valueOf():(r=i.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function Dd(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Pd(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Ad(e,t,i){var r,n,a;if(!this.isValid())return NaN;if(r=Zn(e,this),!r.isValid())return NaN;switch(n=(r.utcOffset()-this.utcOffset())*6e4,t=Fe(t),t){case"year":a=vr(this,r)/12;break;case"month":a=vr(this,r);break;case"quarter":a=vr(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-n)/864e5;break;case"week":a=(this-r-n)/6048e5;break;default:a=this-r}return i?a:Ie(a)}function vr(e,t){if(e.date()<t.date())return-vr(t,e);var i=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(i,"months"),n,a;return t-r<0?(n=e.clone().add(i-1,"months"),a=(t-r)/(r-n)):(n=e.clone().add(i+1,"months"),a=(t-r)/(n-r)),-(i+a)||0}L.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";L.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Od(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Cd(e){if(!this.isValid())return null;var t=e!==!0,i=t?this.clone().utc():this;return i.year()<0||i.year()>9999?yr(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Je(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",yr(i,"Z")):yr(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Hd(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",i,r,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),i="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(i+r+n+a)}function Rd(e){e||(e=this.isUtc()?L.defaultFormatUtc:L.defaultFormat);var t=yr(this,e);return this.localeData().postformat(t)}function Nd(e,t){return this.isValid()&&(We(e)&&e.isValid()||q(e).isValid())?ze({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Id(e){return this.from(q(),e)}function Ud(e,t){return this.isValid()&&(We(e)&&e.isValid()||q(e).isValid())?ze({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Bd(e){return this.to(q(),e)}function zs(e){var t;return e===void 0?this._locale._abbr:(t=dt(e),t!=null&&(this._locale=t),this)}var Vs=Be("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function $s(){return this._locale}var Er=1e3,ti=60*Er,xr=60*ti,qs=(365*400+97)*24*xr;function ii(e,t){return(e%t+t)%t}function Zs(e,t,i){return e<100&&e>=0?new Date(e+400,t,i)-qs:new Date(e,t,i).valueOf()}function Xs(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-qs:Date.UTC(e,t,i)}function Fd(e){var t,i;if(e=Fe(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(i=this._isUTC?Xs:Zs,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ii(t+(this._isUTC?0:this.utcOffset()*ti),xr);break;case"minute":t=this._d.valueOf(),t-=ii(t,ti);break;case"second":t=this._d.valueOf(),t-=ii(t,Er);break}return this._d.setTime(t),L.updateOffset(this,!0),this}function Yd(e){var t,i;if(e=Fe(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(i=this._isUTC?Xs:Zs,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=xr-ii(t+(this._isUTC?0:this.utcOffset()*ti),xr)-1;break;case"minute":t=this._d.valueOf(),t+=ti-ii(t,ti)-1;break;case"second":t=this._d.valueOf(),t+=Er-ii(t,Er)-1;break}return this._d.setTime(t),L.updateOffset(this,!0),this}function jd(){return this._d.valueOf()-(this._offset||0)*6e4}function Gd(){return Math.floor(this.valueOf()/1e3)}function Wd(){return new Date(this.valueOf())}function zd(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Vd(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function $d(){return this.isValid()?this.toISOString():null}function qd(){return Hn(this)}function Zd(){return bt({},D(this))}function Xd(){return D(this).overflow}function Jd(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}k("N",0,0,"eraAbbr");k("NN",0,0,"eraAbbr");k("NNN",0,0,"eraAbbr");k("NNNN",0,0,"eraName");k("NNNNN",0,0,"eraNarrow");k("y",["y",1],"yo","eraYear");k("y",["yy",2],0,"eraYear");k("y",["yyy",3],0,"eraYear");k("y",["yyyy",4],0,"eraYear");T("N",Xn);T("NN",Xn);T("NNN",Xn);T("NNNN",oh);T("NNNNN",uh);V(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,r){var n=i._locale.erasParse(e,r,i._strict);n?D(i).era=n:D(i).invalidEra=e});T("y",fi);T("yy",fi);T("yyy",fi);T("yyyy",fi);T("yo",dh);V(["y","yy","yyy","yyyy"],me);V(["yo"],function(e,t,i,r){var n;i._locale._eraYearOrdinalRegex&&(n=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[me]=i._locale.eraYearOrdinalParse(e,n):t[me]=parseInt(e,10)});function Qd(e,t){var i,r,n,a=this._eras||dt("en")._eras;for(i=0,r=a.length;i<r;++i){switch(typeof a[i].since){case"string":n=L(a[i].since).startOf("day"),a[i].since=n.valueOf();break}switch(typeof a[i].until){case"undefined":a[i].until=1/0;break;case"string":n=L(a[i].until).startOf("day").valueOf(),a[i].until=n.valueOf();break}}return a}function Kd(e,t,i){var r,n,a=this.eras(),s,l,o;for(e=e.toUpperCase(),r=0,n=a.length;r<n;++r)if(s=a[r].name.toUpperCase(),l=a[r].abbr.toUpperCase(),o=a[r].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(l===e)return a[r];break;case"NNNN":if(s===e)return a[r];break;case"NNNNN":if(o===e)return a[r];break}else if([s,l,o].indexOf(e)>=0)return a[r]}function eh(e,t){var i=e.since<=e.until?1:-1;return t===void 0?L(e.since).year():L(e.since).year()+(t-e.offset)*i}function th(){var e,t,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return r[e].name;return""}function ih(){var e,t,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return r[e].narrow;return""}function rh(){var e,t,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return r[e].abbr;return""}function nh(){var e,t,i,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(i=n[e].since<=n[e].until?1:-1,r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return(this.year()-L(n[e].since).year())*i+n[e].offset;return this.year()}function ah(e){return Y(this,"_erasNameRegex")||Jn.call(this),e?this._erasNameRegex:this._erasRegex}function sh(e){return Y(this,"_erasAbbrRegex")||Jn.call(this),e?this._erasAbbrRegex:this._erasRegex}function lh(e){return Y(this,"_erasNarrowRegex")||Jn.call(this),e?this._erasNarrowRegex:this._erasRegex}function Xn(e,t){return t.erasAbbrRegex(e)}function oh(e,t){return t.erasNameRegex(e)}function uh(e,t){return t.erasNarrowRegex(e)}function dh(e,t){return t._eraYearOrdinalRegex||fi}function Jn(){var e=[],t=[],i=[],r=[],n,a,s=this.eras();for(n=0,a=s.length;n<a;++n)t.push(He(s[n].name)),e.push(He(s[n].abbr)),i.push(He(s[n].narrow)),r.push(He(s[n].name)),r.push(He(s[n].abbr)),r.push(He(s[n].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("^("+i.join("|")+")","i")}k(0,["gg",2],0,function(){return this.weekYear()%100});k(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Yr(e,t){k(0,[e,e.length],0,t)}Yr("gggg","weekYear");Yr("ggggg","weekYear");Yr("GGGG","isoWeekYear");Yr("GGGGG","isoWeekYear");pe("weekYear","gg");pe("isoWeekYear","GG");ge("weekYear",1);ge("isoWeekYear",1);T("G",Nr);T("g",Nr);T("GG",Z,Ne);T("gg",Z,Ne);T("GGGG",Fn,Bn);T("gggg",Fn,Bn);T("GGGGG",Rr,Cr);T("ggggg",Rr,Cr);qi(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,r){t[r.substr(0,2)]=C(e)});qi(["gg","GG"],function(e,t,i,r){t[r]=L.parseTwoDigitYear(e)});function hh(e){return Js.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function fh(e){return Js.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ch(){return ot(this.year(),1,4)}function mh(){return ot(this.isoWeekYear(),1,4)}function ph(){var e=this.localeData()._week;return ot(this.year(),e.dow,e.doy)}function gh(){var e=this.localeData()._week;return ot(this.weekYear(),e.dow,e.doy)}function Js(e,t,i,r,n){var a;return e==null?Yi(this,r,n).year:(a=ot(e,r,n),t>a&&(t=a),_h.call(this,e,t,i,r,n))}function _h(e,t,i,r,n){var a=Ps(e,t,i,r,n),s=Fi(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}k("Q",0,"Qo","quarter");pe("quarter","Q");ge("quarter",7);T("Q",vs);V("Q",function(e,t){t[st]=(C(e)-1)*3});function yh(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}k("D",["DD",2],"Do","date");pe("date","D");ge("date",9);T("D",Z);T("DD",Z,Ne);T("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});V(["D","DD"],qe);V("Do",function(e,t){t[qe]=C(e.match(Z)[0])});var Qs=hi("Date",!0);k("DDD",["DDDD",3],"DDDo","dayOfYear");pe("dayOfYear","DDD");ge("dayOfYear",4);T("DDD",Hr);T("DDDD",Ls);V(["DDD","DDDD"],function(e,t,i){i._dayOfYear=C(e)});function bh(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}k("m",["mm",2],0,"minute");pe("minute","m");ge("minute",14);T("m",Z);T("mm",Z,Ne);V(["m","mm"],je);var vh=hi("Minutes",!1);k("s",["ss",2],0,"second");pe("second","s");ge("second",15);T("s",Z);T("ss",Z,Ne);V(["s","ss"],lt);var Lh=hi("Seconds",!1);k("S",0,0,function(){return~~(this.millisecond()/100)});k(0,["SS",2],0,function(){return~~(this.millisecond()/10)});k(0,["SSS",3],0,"millisecond");k(0,["SSSS",4],0,function(){return this.millisecond()*10});k(0,["SSSSS",5],0,function(){return this.millisecond()*100});k(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});k(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});k(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});k(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});pe("millisecond","ms");ge("millisecond",16);T("S",Hr,vs);T("SS",Hr,Ne);T("SSS",Hr,Ls);var vt,Ks;for(vt="SSSS";vt.length<=9;vt+="S")T(vt,fi);function wh(e,t){t[Mt]=C(("0."+e)*1e3)}for(vt="S";vt.length<=9;vt+="S")V(vt,wh);Ks=hi("Milliseconds",!1);k("z",0,0,"zoneAbbr");k("zz",0,0,"zoneName");function Th(){return this._isUTC?"UTC":""}function Sh(){return this._isUTC?"Coordinated Universal Time":""}var y=Vi.prototype;y.add=gd;y.calendar=Td;y.clone=Sd;y.diff=Ad;y.endOf=Yd;y.format=Rd;y.from=Nd;y.fromNow=Id;y.to=Ud;y.toNow=Bd;y.get=Eo;y.invalidAt=Xd;y.isAfter=kd;y.isBefore=Ed;y.isBetween=xd;y.isSame=Md;y.isSameOrAfter=Dd;y.isSameOrBefore=Pd;y.isValid=qd;y.lang=Vs;y.locale=zs;y.localeData=$s;y.max=qu;y.min=$u;y.parsingFlags=Zd;y.set=xo;y.startOf=Fd;y.subtract=_d;y.toArray=zd;y.toObject=Vd;y.toDate=Wd;y.toISOString=Cd;y.inspect=Hd;typeof Symbol!="undefined"&&Symbol.for!=null&&(y[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});y.toJSON=$d;y.toString=Od;y.unix=Gd;y.valueOf=jd;y.creationData=Jd;y.eraName=th;y.eraNarrow=ih;y.eraAbbr=rh;y.eraYear=nh;y.year=Ds;y.isLeapYear=Vo;y.weekYear=hh;y.isoWeekYear=fh;y.quarter=y.quarters=yh;y.month=xs;y.daysInMonth=Go;y.week=y.weeks=Qo;y.isoWeek=y.isoWeeks=Ko;y.weeksInYear=ph;y.weeksInWeekYear=gh;y.isoWeeksInYear=ch;y.isoWeeksInISOWeekYear=mh;y.date=Qs;y.day=y.days=fu;y.weekday=cu;y.isoWeekday=mu;y.dayOfYear=bh;y.hour=y.hours=Lu;y.minute=y.minutes=vh;y.second=y.seconds=Lh;y.millisecond=y.milliseconds=Ks;y.utcOffset=rd;y.utc=ad;y.local=sd;y.parseZone=ld;y.hasAlignedHourOffset=od;y.isDST=ud;y.isLocal=hd;y.isUtcOffset=fd;y.isUtc=Ys;y.isUTC=Ys;y.zoneAbbr=Th;y.zoneName=Sh;y.dates=Be("dates accessor is deprecated. Use date instead.",Qs);y.months=Be("months accessor is deprecated. Use month instead",xs);y.years=Be("years accessor is deprecated. Use year instead",Ds);y.zone=Be("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",nd);y.isDSTShifted=Be("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",dd);function kh(e){return q(e*1e3)}function Eh(){return q.apply(null,arguments).parseZone()}function el(e){return e}var j=Nn.prototype;j.calendar=fo;j.longDateFormat=go;j.invalidDate=yo;j.ordinal=Lo;j.preparse=el;j.postformat=el;j.relativeTime=To;j.pastFuture=So;j.set=uo;j.eras=Qd;j.erasParse=Kd;j.erasConvertYear=eh;j.erasAbbrRegex=sh;j.erasNameRegex=ah;j.erasNarrowRegex=lh;j.months=Bo;j.monthsShort=Fo;j.monthsParse=jo;j.monthsRegex=zo;j.monthsShortRegex=Wo;j.week=qo;j.firstDayOfYear=Jo;j.firstDayOfWeek=Xo;j.weekdays=lu;j.weekdaysMin=uu;j.weekdaysShort=ou;j.weekdaysParse=hu;j.weekdaysRegex=pu;j.weekdaysShortRegex=gu;j.weekdaysMinRegex=_u;j.isPM=bu;j.meridiem=wu;function Mr(e,t,i,r){var n=dt(),a=Xe().set(r,t);return n[i](a,e)}function tl(e,t,i){if(ut(e)&&(t=e,e=void 0),e=e||"",t!=null)return Mr(e,t,i,"month");var r,n=[];for(r=0;r<12;r++)n[r]=Mr(e,r,i,"month");return n}function Qn(e,t,i,r){typeof e=="boolean"?(ut(t)&&(i=t,t=void 0),t=t||""):(t=e,i=t,e=!1,ut(t)&&(i=t,t=void 0),t=t||"");var n=dt(),a=e?n._week.dow:0,s,l=[];if(i!=null)return Mr(t,(i+a)%7,r,"day");for(s=0;s<7;s++)l[s]=Mr(t,(s+a)%7,r,"day");return l}function xh(e,t){return tl(e,t,"months")}function Mh(e,t){return tl(e,t,"monthsShort")}function Dh(e,t,i){return Qn(e,t,i,"weekdays")}function Ph(e,t,i){return Qn(e,t,i,"weekdaysShort")}function Ah(e,t,i){return Qn(e,t,i,"weekdaysMin")}wt("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,i=C(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i}});L.lang=Be("moment.lang is deprecated. Use moment.locale instead.",wt);L.langData=Be("moment.langData is deprecated. Use moment.localeData instead.",dt);var nt=Math.abs;function Oh(){var e=this._data;return this._milliseconds=nt(this._milliseconds),this._days=nt(this._days),this._months=nt(this._months),e.milliseconds=nt(e.milliseconds),e.seconds=nt(e.seconds),e.minutes=nt(e.minutes),e.hours=nt(e.hours),e.months=nt(e.months),e.years=nt(e.years),this}function il(e,t,i,r){var n=ze(t,i);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function Ch(e,t){return il(this,e,t,1)}function Hh(e,t){return il(this,e,t,-1)}function wa(e){return e<0?Math.floor(e):Math.ceil(e)}function Rh(){var e=this._milliseconds,t=this._days,i=this._months,r=this._data,n,a,s,l,o;return e>=0&&t>=0&&i>=0||e<=0&&t<=0&&i<=0||(e+=wa(wn(i)+t)*864e5,t=0,i=0),r.milliseconds=e%1e3,n=Ie(e/1e3),r.seconds=n%60,a=Ie(n/60),r.minutes=a%60,s=Ie(a/60),r.hours=s%24,t+=Ie(s/24),o=Ie(rl(t)),i+=o,t-=wa(wn(o)),l=Ie(i/12),i%=12,r.days=t,r.months=i,r.years=l,this}function rl(e){return e*4800/146097}function wn(e){return e*146097/4800}function Nh(e){if(!this.isValid())return NaN;var t,i,r=this._milliseconds;if(e=Fe(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,i=this._months+rl(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(wn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Ih(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+C(this._months/12)*31536e6:NaN}function ht(e){return function(){return this.as(e)}}var Uh=ht("ms"),Bh=ht("s"),Fh=ht("m"),Yh=ht("h"),jh=ht("d"),Gh=ht("w"),Wh=ht("M"),zh=ht("Q"),Vh=ht("y");function $h(){return ze(this)}function qh(e){return e=Fe(e),this.isValid()?this[e+"s"]():NaN}function At(e){return function(){return this.isValid()?this._data[e]:NaN}}var Zh=At("milliseconds"),Xh=At("seconds"),Jh=At("minutes"),Qh=At("hours"),Kh=At("days"),ef=At("months"),tf=At("years");function rf(){return Ie(this.days()/7)}var at=Math.round,Qt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function nf(e,t,i,r,n){return n.relativeTime(t||1,!!i,e,r)}function af(e,t,i,r){var n=ze(e).abs(),a=at(n.as("s")),s=at(n.as("m")),l=at(n.as("h")),o=at(n.as("d")),u=at(n.as("M")),h=at(n.as("w")),c=at(n.as("y")),f=a<=i.ss&&["s",a]||a<i.s&&["ss",a]||s<=1&&["m"]||s<i.m&&["mm",s]||l<=1&&["h"]||l<i.h&&["hh",l]||o<=1&&["d"]||o<i.d&&["dd",o];return i.w!=null&&(f=f||h<=1&&["w"]||h<i.w&&["ww",h]),f=f||u<=1&&["M"]||u<i.M&&["MM",u]||c<=1&&["y"]||["yy",c],f[2]=t,f[3]=+e>0,f[4]=r,nf.apply(null,f)}function sf(e){return e===void 0?at:typeof e=="function"?(at=e,!0):!1}function lf(e,t){return Qt[e]===void 0?!1:t===void 0?Qt[e]:(Qt[e]=t,e==="s"&&(Qt.ss=t-1),!0)}function of(e,t){if(!this.isValid())return this.localeData().invalidDate();var i=!1,r=Qt,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(i=e),typeof t=="object"&&(r=Object.assign({},Qt,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),n=this.localeData(),a=af(this,!i,r,n),i&&(a=n.pastFuture(+this,a)),n.postformat(a)}var ln=Math.abs;function qt(e){return(e>0)-(e<0)||+e}function jr(){if(!this.isValid())return this.localeData().invalidDate();var e=ln(this._milliseconds)/1e3,t=ln(this._days),i=ln(this._months),r,n,a,s,l=this.asSeconds(),o,u,h,c;return l?(r=Ie(e/60),n=Ie(r/60),e%=60,r%=60,a=Ie(i/12),i%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",o=l<0?"-":"",u=qt(this._months)!==qt(l)?"-":"",h=qt(this._days)!==qt(l)?"-":"",c=qt(this._milliseconds)!==qt(l)?"-":"",o+"P"+(a?u+a+"Y":"")+(i?u+i+"M":"")+(t?h+t+"D":"")+(n||r||e?"T":"")+(n?c+n+"H":"")+(r?c+r+"M":"")+(e?c+s+"S":"")):"P0D"}var B=Fr.prototype;B.isValid=Ku;B.abs=Oh;B.add=Ch;B.subtract=Hh;B.as=Nh;B.asMilliseconds=Uh;B.asSeconds=Bh;B.asMinutes=Fh;B.asHours=Yh;B.asDays=jh;B.asWeeks=Gh;B.asMonths=Wh;B.asQuarters=zh;B.asYears=Vh;B.valueOf=Ih;B._bubble=Rh;B.clone=$h;B.get=qh;B.milliseconds=Zh;B.seconds=Xh;B.minutes=Jh;B.hours=Qh;B.days=Kh;B.weeks=rf;B.months=ef;B.years=tf;B.humanize=of;B.toISOString=jr;B.toString=jr;B.toJSON=jr;B.locale=zs;B.localeData=$s;B.toIsoString=Be("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",jr);B.lang=Vs;k("X",0,0,"unix");k("x",0,0,"valueOf");T("x",Nr);T("X",Do);V("X",function(e,t,i){i._d=new Date(parseFloat(e)*1e3)});V("x",function(e,t,i){i._d=new Date(C(e))});//! moment.js
|
|
10
|
-
L.version="2.29.4";
|
|
9
|
+
`+new Error().stack),i=!1}return t.apply(this,arguments)},t)}var _a={};function ms(e,t){L.deprecationHandler!=null&&L.deprecationHandler(e,t),_a[e]||(cs(t),_a[e]=!0)}L.suppressDeprecationWarnings=!1;L.deprecationHandler=null;function Je(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function lo(e){var t,i;for(i in e)Y(e,i)&&(t=e[i],Je(t)?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function _n(e,t){var i=bt({},e),r;for(r in t)Y(t,r)&&(Dt(e[r])&&Dt(t[r])?(i[r]={},bt(i[r],e[r]),bt(i[r],t[r])):t[r]!=null?i[r]=t[r]:delete i[r]);for(r in e)Y(e,r)&&!Y(t,r)&&Dt(e[r])&&(i[r]=bt({},i[r]));return i}function Nn(e){e!=null&&this.set(e)}var yn;Object.keys?yn=Object.keys:yn=function(e){var t,i=[];for(t in e)Y(e,t)&&i.push(t);return i};var oo={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function uo(e,t,i){var r=this._calendar[e]||this._calendar.sameElse;return Je(r)?r.call(t,i):r}function Ze(e,t,i){var r=""+Math.abs(e),n=t-r.length,a=e>=0;return(a?i?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var In=/(\[[^\[]*\])|(\\)?([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,mr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,an={},ei={};function k(e,t,i,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(ei[e]=n),t&&(ei[t[0]]=function(){return Ze(n.apply(this,arguments),t[1],t[2])}),i&&(ei[i]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function ho(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function fo(e){var t=e.match(In),i,r;for(i=0,r=t.length;i<r;i++)ei[t[i]]?t[i]=ei[t[i]]:t[i]=ho(t[i]);return function(n){var a="",s;for(s=0;s<r;s++)a+=Je(t[s])?t[s].call(n,e):t[s];return a}}function yr(e,t){return e.isValid()?(t=ps(t,e.localeData()),an[t]=an[t]||fo(t),an[t](e)):e.localeData().invalidDate()}function ps(e,t){var i=5;function r(n){return t.longDateFormat(n)||n}for(mr.lastIndex=0;i>=0&&mr.test(e);)e=e.replace(mr,r),mr.lastIndex=0,i-=1;return e}var co={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function mo(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(In).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var po="Invalid date";function go(){return this._invalidDate}var _o="%d",yo=/\d{1,2}/;function bo(e){return this._ordinal.replace("%d",e)}var vo={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Lo(e,t,i,r){var n=this._relativeTime[i];return Je(n)?n(e,t,i,r):n.replace(/%d/i,e)}function wo(e,t){var i=this._relativeTime[e>0?"future":"past"];return Je(i)?i(t):i.replace(/%s/i,t)}var Ii={};function pe(e,t){var i=e.toLowerCase();Ii[i]=Ii[i+"s"]=Ii[t]=e}function Fe(e){return typeof e=="string"?Ii[e]||Ii[e.toLowerCase()]:void 0}function Un(e){var t={},i,r;for(r in e)Y(e,r)&&(i=Fe(r),i&&(t[i]=e[r]));return t}var gs={};function ge(e,t){gs[e]=t}function To(e){var t=[],i;for(i in e)Y(e,i)&&t.push({unit:i,priority:gs[i]});return t.sort(function(r,n){return r.priority-n.priority}),t}function Or(e){return e%4===0&&e%100!==0||e%400===0}function Ie(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function C(e){var t=+e,i=0;return t!==0&&isFinite(t)&&(i=Ie(t)),i}function hi(e,t){return function(i){return i!=null?(_s(this,e,i),L.updateOffset(this,t),this):Tr(this,e)}}function Tr(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function _s(e,t,i){e.isValid()&&!isNaN(i)&&(t==="FullYear"&&Or(e.year())&&e.month()===1&&e.date()===29?(i=C(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),Ur(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}function So(e){return e=Fe(e),Je(this[e])?this[e]():this}function ko(e,t){if(typeof e=="object"){e=Un(e);var i=To(e),r,n=i.length;for(r=0;r<n;r++)this[i[r].unit](e[i[r].unit])}else if(e=Fe(e),Je(this[e]))return this[e](t);return this}var ys=/\d/,Ne=/\d\d/,bs=/\d{3}/,Bn=/\d{4}/,Cr=/[+-]?\d{6}/,Z=/\d\d?/,vs=/\d\d\d\d?/,Ls=/\d\d\d\d\d\d?/,Hr=/\d{1,3}/,Fn=/\d{1,4}/,Rr=/[+-]?\d{1,6}/,fi=/\d+/,Nr=/[+-]?\d+/,Eo=/Z|[+-]\d\d:?\d\d/gi,Ir=/Z|[+-]\d\d(?::?\d\d)?/gi,xo=/[+-]?\d+(\.\d{1,3})?/,$i=/[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,Sr;Sr={};function T(e,t,i){Sr[e]=Je(t)?t:function(r,n){return r&&i?i:t}}function Mo(e,t){return Y(Sr,e)?Sr[e](t._strict,t._locale):new RegExp(Do(e))}function Do(e){return He(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,i,r,n,a){return i||r||n||a}))}function He(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var bn={};function V(e,t){var i,r=t,n;for(typeof e=="string"&&(e=[e]),ut(t)&&(r=function(a,s){s[t]=C(a)}),n=e.length,i=0;i<n;i++)bn[e[i]]=r}function qi(e,t){V(e,function(i,r,n,a){n._w=n._w||{},t(i,n._w,n,a)})}function Po(e,t,i){t!=null&&Y(bn,e)&&bn[e](t,i._a,i,e)}var me=0,st=1,qe=2,ne=3,je=4,lt=5,Mt=6,Ao=7,Oo=8;function Co(e,t){return(e%t+t)%t}var ie;Array.prototype.indexOf?ie=Array.prototype.indexOf:ie=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Ur(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=Co(t,12);return e+=(t-i)/12,i===1?Or(e)?29:28:31-i%7%2}k("M",["MM",2],"Mo",function(){return this.month()+1});k("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});k("MMMM",0,0,function(e){return this.localeData().months(this,e)});pe("month","M");ge("month",8);T("M",Z);T("MM",Z,Ne);T("MMM",function(e,t){return t.monthsShortRegex(e)});T("MMMM",function(e,t){return t.monthsRegex(e)});V(["M","MM"],function(e,t){t[st]=C(e)-1});V(["MMM","MMMM"],function(e,t,i,r){var n=i._locale.monthsParse(e,r,i._strict);n!=null?t[st]=n:D(i).invalidMonth=e});var Ho="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ws="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ts=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ro=$i,No=$i;function Io(e,t){return e?Ge(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ts).test(t)?"format":"standalone"][e.month()]:Ge(this._months)?this._months:this._months.standalone}function Uo(e,t){return e?Ge(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ts.test(t)?"format":"standalone"][e.month()]:Ge(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Bo(e,t,i){var r,n,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=Xe([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return i?t==="MMM"?(n=ie.call(this._shortMonthsParse,s),n!==-1?n:null):(n=ie.call(this._longMonthsParse,s),n!==-1?n:null):t==="MMM"?(n=ie.call(this._shortMonthsParse,s),n!==-1?n:(n=ie.call(this._longMonthsParse,s),n!==-1?n:null)):(n=ie.call(this._longMonthsParse,s),n!==-1?n:(n=ie.call(this._shortMonthsParse,s),n!==-1?n:null))}function Fo(e,t,i){var r,n,a;if(this._monthsParseExact)return Bo.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=Xe([2e3,r]),i&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!i&&!this._monthsParse[r]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),i&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(i&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!i&&this._monthsParse[r].test(e))return r}}function Ss(e,t){var i;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=C(t);else if(t=e.localeData().monthsParse(t),!ut(t))return e}return i=Math.min(e.date(),Ur(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i),e}function ks(e){return e!=null?(Ss(this,e),L.updateOffset(this,!0),this):Tr(this,"Month")}function Yo(){return Ur(this.year(),this.month())}function jo(e){return this._monthsParseExact?(Y(this,"_monthsRegex")||Es.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Y(this,"_monthsShortRegex")||(this._monthsShortRegex=Ro),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Go(e){return this._monthsParseExact?(Y(this,"_monthsRegex")||Es.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Y(this,"_monthsRegex")||(this._monthsRegex=No),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Es(){function e(s,l){return l.length-s.length}var t=[],i=[],r=[],n,a;for(n=0;n<12;n++)a=Xe([2e3,n]),t.push(this.monthsShort(a,"")),i.push(this.months(a,"")),r.push(this.months(a,"")),r.push(this.monthsShort(a,""));for(t.sort(e),i.sort(e),r.sort(e),n=0;n<12;n++)t[n]=He(t[n]),i[n]=He(i[n]);for(n=0;n<24;n++)r[n]=He(r[n]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}k("Y",0,0,function(){var e=this.year();return e<=9999?Ze(e,4):"+"+e});k(0,["YY",2],0,function(){return this.year()%100});k(0,["YYYY",4],0,"year");k(0,["YYYYY",5],0,"year");k(0,["YYYYYY",6,!0],0,"year");pe("year","y");ge("year",1);T("Y",Nr);T("YY",Z,Ne);T("YYYY",Fn,Bn);T("YYYYY",Rr,Cr);T("YYYYYY",Rr,Cr);V(["YYYYY","YYYYYY"],me);V("YYYY",function(e,t){t[me]=e.length===2?L.parseTwoDigitYear(e):C(e)});V("YY",function(e,t){t[me]=L.parseTwoDigitYear(e)});V("Y",function(e,t){t[me]=parseInt(e,10)});function Ui(e){return Or(e)?366:365}L.parseTwoDigitYear=function(e){return C(e)+(C(e)>68?1900:2e3)};var xs=hi("FullYear",!0);function Wo(){return Or(this.year())}function zo(e,t,i,r,n,a,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,i,r,n,a,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,i,r,n,a,s),l}function Fi(e){var t,i;return e<100&&e>=0?(i=Array.prototype.slice.call(arguments),i[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function kr(e,t,i){var r=7+t-i,n=(7+Fi(e,0,r).getUTCDay()-t)%7;return-n+r-1}function Ms(e,t,i,r,n){var a=(7+i-r)%7,s=kr(e,r,n),l=1+7*(t-1)+a+s,o,u;return l<=0?(o=e-1,u=Ui(o)+l):l>Ui(e)?(o=e+1,u=l-Ui(e)):(o=e,u=l),{year:o,dayOfYear:u}}function Yi(e,t,i){var r=kr(e.year(),t,i),n=Math.floor((e.dayOfYear()-r-1)/7)+1,a,s;return n<1?(s=e.year()-1,a=n+ot(s,t,i)):n>ot(e.year(),t,i)?(a=n-ot(e.year(),t,i),s=e.year()+1):(s=e.year(),a=n),{week:a,year:s}}function ot(e,t,i){var r=kr(e,t,i),n=kr(e+1,t,i);return(Ui(e)-r+n)/7}k("w",["ww",2],"wo","week");k("W",["WW",2],"Wo","isoWeek");pe("week","w");pe("isoWeek","W");ge("week",5);ge("isoWeek",5);T("w",Z);T("ww",Z,Ne);T("W",Z);T("WW",Z,Ne);qi(["w","ww","W","WW"],function(e,t,i,r){t[r.substr(0,1)]=C(e)});function Vo(e){return Yi(e,this._week.dow,this._week.doy).week}var $o={dow:0,doy:6};function qo(){return this._week.dow}function Zo(){return this._week.doy}function Xo(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Jo(e){var t=Yi(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}k("d",0,"do","day");k("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});k("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});k("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});k("e",0,0,"weekday");k("E",0,0,"isoWeekday");pe("day","d");pe("weekday","e");pe("isoWeekday","E");ge("day",11);ge("weekday",11);ge("isoWeekday",11);T("d",Z);T("e",Z);T("E",Z);T("dd",function(e,t){return t.weekdaysMinRegex(e)});T("ddd",function(e,t){return t.weekdaysShortRegex(e)});T("dddd",function(e,t){return t.weekdaysRegex(e)});qi(["dd","ddd","dddd"],function(e,t,i,r){var n=i._locale.weekdaysParse(e,r,i._strict);n!=null?t.d=n:D(i).invalidWeekday=e});qi(["d","e","E"],function(e,t,i,r){t[r]=C(e)});function Qo(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Ko(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Yn(e,t){return e.slice(t,7).concat(e.slice(0,t))}var eu="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ds="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),tu="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),iu=$i,ru=$i,nu=$i;function au(e,t){var i=Ge(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Yn(i,this._week.dow):e?i[e.day()]:i}function su(e){return e===!0?Yn(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function lu(e){return e===!0?Yn(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function ou(e,t,i){var r,n,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=Xe([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return i?t==="dddd"?(n=ie.call(this._weekdaysParse,s),n!==-1?n:null):t==="ddd"?(n=ie.call(this._shortWeekdaysParse,s),n!==-1?n:null):(n=ie.call(this._minWeekdaysParse,s),n!==-1?n:null):t==="dddd"?(n=ie.call(this._weekdaysParse,s),n!==-1||(n=ie.call(this._shortWeekdaysParse,s),n!==-1)?n:(n=ie.call(this._minWeekdaysParse,s),n!==-1?n:null)):t==="ddd"?(n=ie.call(this._shortWeekdaysParse,s),n!==-1||(n=ie.call(this._weekdaysParse,s),n!==-1)?n:(n=ie.call(this._minWeekdaysParse,s),n!==-1?n:null)):(n=ie.call(this._minWeekdaysParse,s),n!==-1||(n=ie.call(this._weekdaysParse,s),n!==-1)?n:(n=ie.call(this._shortWeekdaysParse,s),n!==-1?n:null))}function uu(e,t,i){var r,n,a;if(this._weekdaysParseExact)return ou.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=Xe([2e3,1]).day(r),i&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),i&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(i&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(i&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!i&&this._weekdaysParse[r].test(e))return r}}function du(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Qo(e,this.localeData()),this.add(e-t,"d")):t}function hu(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function fu(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Ko(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function cu(e){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||jn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Y(this,"_weekdaysRegex")||(this._weekdaysRegex=iu),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function mu(e){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||jn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ru),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function pu(e){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||jn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nu),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function jn(){function e(h,c){return c.length-h.length}var t=[],i=[],r=[],n=[],a,s,l,o,u;for(a=0;a<7;a++)s=Xe([2e3,1]).day(a),l=He(this.weekdaysMin(s,"")),o=He(this.weekdaysShort(s,"")),u=He(this.weekdays(s,"")),t.push(l),i.push(o),r.push(u),n.push(l),n.push(o),n.push(u);t.sort(e),i.sort(e),r.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Gn(){return this.hours()%12||12}function gu(){return this.hours()||24}k("H",["HH",2],0,"hour");k("h",["hh",2],0,Gn);k("k",["kk",2],0,gu);k("hmm",0,0,function(){return""+Gn.apply(this)+Ze(this.minutes(),2)});k("hmmss",0,0,function(){return""+Gn.apply(this)+Ze(this.minutes(),2)+Ze(this.seconds(),2)});k("Hmm",0,0,function(){return""+this.hours()+Ze(this.minutes(),2)});k("Hmmss",0,0,function(){return""+this.hours()+Ze(this.minutes(),2)+Ze(this.seconds(),2)});function Ps(e,t){k(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Ps("a",!0);Ps("A",!1);pe("hour","h");ge("hour",13);function As(e,t){return t._meridiemParse}T("a",As);T("A",As);T("H",Z);T("h",Z);T("k",Z);T("HH",Z,Ne);T("hh",Z,Ne);T("kk",Z,Ne);T("hmm",vs);T("hmmss",Ls);T("Hmm",vs);T("Hmmss",Ls);V(["H","HH"],ne);V(["k","kk"],function(e,t,i){var r=C(e);t[ne]=r===24?0:r});V(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e});V(["h","hh"],function(e,t,i){t[ne]=C(e),D(i).bigHour=!0});V("hmm",function(e,t,i){var r=e.length-2;t[ne]=C(e.substr(0,r)),t[je]=C(e.substr(r)),D(i).bigHour=!0});V("hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[ne]=C(e.substr(0,r)),t[je]=C(e.substr(r,2)),t[lt]=C(e.substr(n)),D(i).bigHour=!0});V("Hmm",function(e,t,i){var r=e.length-2;t[ne]=C(e.substr(0,r)),t[je]=C(e.substr(r))});V("Hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[ne]=C(e.substr(0,r)),t[je]=C(e.substr(r,2)),t[lt]=C(e.substr(n))});function _u(e){return(e+"").toLowerCase().charAt(0)==="p"}var yu=/[ap]\.?m?\.?/i,bu=hi("Hours",!0);function vu(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"}var Os={calendar:oo,longDateFormat:co,invalidDate:po,ordinal:_o,dayOfMonthOrdinalParse:yo,relativeTime:vo,months:Ho,monthsShort:ws,week:$o,weekdays:eu,weekdaysMin:tu,weekdaysShort:Ds,meridiemParse:yu},Q={},Oi={},ji;function Lu(e,t){var i,r=Math.min(e.length,t.length);for(i=0;i<r;i+=1)if(e[i]!==t[i])return i;return r}function ya(e){return e&&e.toLowerCase().replace("_","-")}function wu(e){for(var t=0,i,r,n,a;t<e.length;){for(a=ya(e[t]).split("-"),i=a.length,r=ya(e[t+1]),r=r?r.split("-"):null;i>0;){if(n=Br(a.slice(0,i).join("-")),n)return n;if(r&&r.length>=i&&Lu(a,r)>=i-1)break;i--}t++}return ji}function Tu(e){return e.match("^[^/\\\\]*$")!=null}function Br(e){var t=null,i;if(Q[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&Tu(e))try{t=ji._abbr,i=no,i("./locale/"+e),wt(t)}catch(r){Q[e]=null}return Q[e]}function wt(e,t){var i;return e&&(De(t)?i=dt(e):i=Wn(e,t),i?ji=i:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ji._abbr}function Wn(e,t){if(t!==null){var i,r=Os;if(t.abbr=e,Q[e]!=null)ms("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=Q[e]._config;else if(t.parentLocale!=null)if(Q[t.parentLocale]!=null)r=Q[t.parentLocale]._config;else if(i=Br(t.parentLocale),i!=null)r=i._config;else return Oi[t.parentLocale]||(Oi[t.parentLocale]=[]),Oi[t.parentLocale].push({name:e,config:t}),null;return Q[e]=new Nn(_n(r,t)),Oi[e]&&Oi[e].forEach(function(n){Wn(n.name,n.config)}),wt(e),Q[e]}else return delete Q[e],null}function Su(e,t){if(t!=null){var i,r,n=Os;Q[e]!=null&&Q[e].parentLocale!=null?Q[e].set(_n(Q[e]._config,t)):(r=Br(e),r!=null&&(n=r._config),t=_n(n,t),r==null&&(t.abbr=e),i=new Nn(t),i.parentLocale=Q[e],Q[e]=i),wt(e)}else Q[e]!=null&&(Q[e].parentLocale!=null?(Q[e]=Q[e].parentLocale,e===wt()&&wt(e)):Q[e]!=null&&delete Q[e]);return Q[e]}function dt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ji;if(!Ge(e)){if(t=Br(e),t)return t;e=[e]}return wu(e)}function ku(){return yn(Q)}function zn(e){var t,i=e._a;return i&&D(e).overflow===-2&&(t=i[st]<0||i[st]>11?st:i[qe]<1||i[qe]>Ur(i[me],i[st])?qe:i[ne]<0||i[ne]>24||i[ne]===24&&(i[je]!==0||i[lt]!==0||i[Mt]!==0)?ne:i[je]<0||i[je]>59?je:i[lt]<0||i[lt]>59?lt:i[Mt]<0||i[Mt]>999?Mt:-1,D(e)._overflowDayOfYear&&(t<me||t>qe)&&(t=qe),D(e)._overflowWeeks&&t===-1&&(t=Ao),D(e)._overflowWeekday&&t===-1&&(t=Oo),D(e).overflow=t),e}var Eu=/^\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)?)?$/,xu=/^\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)?)?$/,Mu=/Z|[+-]\d\d(?::?\d\d)?/,pr=[["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]],sn=[["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/]],Du=/^\/?Date\((-?\d+)/i,Pu=/^(?:(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}))$/,Au={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Cs(e){var t,i,r=e._i,n=Eu.exec(r)||xu.exec(r),a,s,l,o,u=pr.length,h=sn.length;if(n){for(D(e).iso=!0,t=0,i=u;t<i;t++)if(pr[t][1].exec(n[1])){s=pr[t][0],a=pr[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(n[3]){for(t=0,i=h;t<i;t++)if(sn[t][1].exec(n[3])){l=(n[2]||" ")+sn[t][0];break}if(l==null){e._isValid=!1;return}}if(!a&&l!=null){e._isValid=!1;return}if(n[4])if(Mu.exec(n[4]))o="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(o||""),$n(e)}else e._isValid=!1}function Ou(e,t,i,r,n,a){var s=[Cu(e),ws.indexOf(t),parseInt(i,10),parseInt(r,10),parseInt(n,10)];return a&&s.push(parseInt(a,10)),s}function Cu(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Hu(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ru(e,t,i){if(e){var r=Ds.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(r!==n)return D(i).weekdayMismatch=!0,i._isValid=!1,!1}return!0}function Nu(e,t,i){if(e)return Au[e];if(t)return 0;var r=parseInt(i,10),n=r%100,a=(r-n)/100;return a*60+n}function Hs(e){var t=Pu.exec(Hu(e._i)),i;if(t){if(i=Ou(t[4],t[3],t[2],t[5],t[6],t[7]),!Ru(t[1],i,e))return;e._a=i,e._tzm=Nu(t[8],t[9],t[10]),e._d=Fi.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),D(e).rfc2822=!0}else e._isValid=!1}function Iu(e){var t=Du.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Cs(e),e._isValid===!1)delete e._isValid;else return;if(Hs(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:L.createFromInputFallback(e)}L.createFromInputFallback=Be("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Jt(e,t,i){return e!=null?e:t!=null?t:i}function Uu(e){var t=new Date(L.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Vn(e){var t,i,r=[],n,a,s;if(!e._d){for(n=Uu(e),e._w&&e._a[qe]==null&&e._a[st]==null&&Bu(e),e._dayOfYear!=null&&(s=Jt(e._a[me],n[me]),(e._dayOfYear>Ui(s)||e._dayOfYear===0)&&(D(e)._overflowDayOfYear=!0),i=Fi(s,0,e._dayOfYear),e._a[st]=i.getUTCMonth(),e._a[qe]=i.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ne]===24&&e._a[je]===0&&e._a[lt]===0&&e._a[Mt]===0&&(e._nextDay=!0,e._a[ne]=0),e._d=(e._useUTC?Fi:zo).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ne]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==a&&(D(e).weekdayMismatch=!0)}}function Bu(e){var t,i,r,n,a,s,l,o,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,s=4,i=Jt(t.GG,e._a[me],Yi(q(),1,4).year),r=Jt(t.W,1),n=Jt(t.E,1),(n<1||n>7)&&(o=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,u=Yi(q(),a,s),i=Jt(t.gg,e._a[me],u.year),r=Jt(t.w,u.week),t.d!=null?(n=t.d,(n<0||n>6)&&(o=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(o=!0)):n=a),r<1||r>ot(i,a,s)?D(e)._overflowWeeks=!0:o!=null?D(e)._overflowWeekday=!0:(l=Ms(i,r,n,a,s),e._a[me]=l.year,e._dayOfYear=l.dayOfYear)}L.ISO_8601=function(){};L.RFC_2822=function(){};function $n(e){if(e._f===L.ISO_8601){Cs(e);return}if(e._f===L.RFC_2822){Hs(e);return}e._a=[],D(e).empty=!0;var t=""+e._i,i,r,n,a,s,l=t.length,o=0,u,h;for(n=ps(e._f,e._locale).match(In)||[],h=n.length,i=0;i<h;i++)a=n[i],r=(t.match(Mo(a,e))||[])[0],r&&(s=t.substr(0,t.indexOf(r)),s.length>0&&D(e).unusedInput.push(s),t=t.slice(t.indexOf(r)+r.length),o+=r.length),ei[a]?(r?D(e).empty=!1:D(e).unusedTokens.push(a),Po(a,r,e)):e._strict&&!r&&D(e).unusedTokens.push(a);D(e).charsLeftOver=l-o,t.length>0&&D(e).unusedInput.push(t),e._a[ne]<=12&&D(e).bigHour===!0&&e._a[ne]>0&&(D(e).bigHour=void 0),D(e).parsedDateParts=e._a.slice(0),D(e).meridiem=e._meridiem,e._a[ne]=Fu(e._locale,e._a[ne],e._meridiem),u=D(e).era,u!==null&&(e._a[me]=e._locale.erasConvertYear(u,e._a[me])),Vn(e),zn(e)}function Fu(e,t,i){var r;return i==null?t:e.meridiemHour!=null?e.meridiemHour(t,i):(e.isPM!=null&&(r=e.isPM(i),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Yu(e){var t,i,r,n,a,s,l=!1,o=e._f.length;if(o===0){D(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<o;n++)a=0,s=!1,t=Rn({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],$n(t),Hn(t)&&(s=!0),a+=D(t).charsLeftOver,a+=D(t).unusedTokens.length*10,D(t).score=a,l?a<r&&(r=a,i=t):(r==null||a<r||s)&&(r=a,i=t,s&&(l=!0));bt(e,i||t)}function ju(e){if(!e._d){var t=Un(e._i),i=t.day===void 0?t.date:t.day;e._a=fs([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),Vn(e)}}function Gu(e){var t=new Vi(zn(Rs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Rs(e){var t=e._i,i=e._f;return e._locale=e._locale||dt(e._l),t===null||i===void 0&&t===""?Ar({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),We(t)?new Vi(zn(t)):(zi(t)?e._d=t:Ge(i)?Yu(e):i?$n(e):Wu(e),Hn(e)||(e._d=null),e))}function Wu(e){var t=e._i;De(t)?e._d=new Date(L.now()):zi(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Iu(e):Ge(t)?(e._a=fs(t.slice(0),function(i){return parseInt(i,10)}),Vn(e)):Dt(t)?ju(e):ut(t)?e._d=new Date(t):L.createFromInputFallback(e)}function Ns(e,t,i,r,n){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(i===!0||i===!1)&&(r=i,i=void 0),(Dt(e)&&Cn(e)||Ge(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=i,a._i=e,a._f=t,a._strict=r,Gu(a)}function q(e,t,i,r){return Ns(e,t,i,r,!1)}var zu=Be("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=q.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Ar()}),Vu=Be("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=q.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Ar()});function Is(e,t){var i,r;if(t.length===1&&Ge(t[0])&&(t=t[0]),!t.length)return q();for(i=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](i))&&(i=t[r]);return i}function $u(){var e=[].slice.call(arguments,0);return Is("isBefore",e)}function qu(){var e=[].slice.call(arguments,0);return Is("isAfter",e)}var Zu=function(){return Date.now?Date.now():+new Date},Ci=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Xu(e){var t,i=!1,r,n=Ci.length;for(t in e)if(Y(e,t)&&!(ie.call(Ci,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<n;++r)if(e[Ci[r]]){if(i)return!1;parseFloat(e[Ci[r]])!==C(e[Ci[r]])&&(i=!0)}return!0}function Ju(){return this._isValid}function Qu(){return ze(NaN)}function Fr(e){var t=Un(e),i=t.year||0,r=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,o=t.minute||0,u=t.second||0,h=t.millisecond||0;this._isValid=Xu(t),this._milliseconds=+h+u*1e3+o*6e4+l*1e3*60*60,this._days=+s+a*7,this._months=+n+r*3+i*12,this._data={},this._locale=dt(),this._bubble()}function br(e){return e instanceof Fr}function vn(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Ku(e,t,i){var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,s;for(s=0;s<r;s++)C(e[s])!==C(t[s])&&a++;return a+n}function Us(e,t){k(e,0,0,function(){var i=this.utcOffset(),r="+";return i<0&&(i=-i,r="-"),r+Ze(~~(i/60),2)+t+Ze(~~i%60,2)})}Us("Z",":");Us("ZZ","");T("Z",Ir);T("ZZ",Ir);V(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=qn(Ir,e)});var ed=/([\+\-]|\d\d)/gi;function qn(e,t){var i=(t||"").match(e),r,n,a;return i===null?null:(r=i[i.length-1]||[],n=(r+"").match(ed)||["-",0,0],a=+(n[1]*60)+C(n[2]),a===0?0:n[0]==="+"?a:-a)}function Zn(e,t){var i,r;return t._isUTC?(i=t.clone(),r=(We(e)||zi(e)?e.valueOf():q(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),L.updateOffset(i,!1),i):q(e).local()}function Ln(e){return-Math.round(e._d.getTimezoneOffset())}L.updateOffset=function(){};function td(e,t,i){var r=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=qn(Ir,e),e===null)return this}else Math.abs(e)<16&&!i&&(e=e*60);return!this._isUTC&&t&&(n=Ln(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Ys(this,ze(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,L.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Ln(this)}function id(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function rd(e){return this.utcOffset(0,e)}function nd(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ln(this),"m")),this}function ad(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=qn(Eo,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function sd(e){return this.isValid()?(e=e?q(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ld(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function od(){if(!De(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Rn(e,this),e=Rs(e),e._a?(t=e._isUTC?Xe(e._a):q(e._a),this._isDSTShifted=this.isValid()&&Ku(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ud(){return this.isValid()?!this._isUTC:!1}function dd(){return this.isValid()?this._isUTC:!1}function Bs(){return this.isValid()?this._isUTC&&this._offset===0:!1}var hd=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,fd=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ze(e,t){var i=e,r=null,n,a,s;return br(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:ut(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(r=hd.exec(e))?(n=r[1]==="-"?-1:1,i={y:0,d:C(r[qe])*n,h:C(r[ne])*n,m:C(r[je])*n,s:C(r[lt])*n,ms:C(vn(r[Mt]*1e3))*n}):(r=fd.exec(e))?(n=r[1]==="-"?-1:1,i={y:xt(r[2],n),M:xt(r[3],n),w:xt(r[4],n),d:xt(r[5],n),h:xt(r[6],n),m:xt(r[7],n),s:xt(r[8],n)}):i==null?i={}:typeof i=="object"&&("from"in i||"to"in i)&&(s=cd(q(i.from),q(i.to)),i={},i.ms=s.milliseconds,i.M=s.months),a=new Fr(i),br(e)&&Y(e,"_locale")&&(a._locale=e._locale),br(e)&&Y(e,"_isValid")&&(a._isValid=e._isValid),a}ze.fn=Fr.prototype;ze.invalid=Qu;function xt(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function ba(e,t){var i={};return i.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function cd(e,t){var i;return e.isValid()&&t.isValid()?(t=Zn(t,e),e.isBefore(t)?i=ba(e,t):(i=ba(t,e),i.milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}function Fs(e,t){return function(i,r){var n,a;return r!==null&&!isNaN(+r)&&(ms(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=i,i=r,r=a),n=ze(i,r),Ys(this,n,e),this}}function Ys(e,t,i,r){var n=t._milliseconds,a=vn(t._days),s=vn(t._months);e.isValid()&&(r=r==null?!0:r,s&&Ss(e,Tr(e,"Month")+s*i),a&&_s(e,"Date",Tr(e,"Date")+a*i),n&&e._d.setTime(e._d.valueOf()+n*i),r&&L.updateOffset(e,a||s))}var md=Fs(1,"add"),pd=Fs(-1,"subtract");function js(e){return typeof e=="string"||e instanceof String}function gd(e){return We(e)||zi(e)||js(e)||ut(e)||yd(e)||_d(e)||e===null||e===void 0}function _d(e){var t=Dt(e)&&!Cn(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,a,s=r.length;for(n=0;n<s;n+=1)a=r[n],i=i||Y(e,a);return t&&i}function yd(e){var t=Ge(e),i=!1;return t&&(i=e.filter(function(r){return!ut(r)&&js(e)}).length===0),t&&i}function bd(e){var t=Dt(e)&&!Cn(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<r.length;n+=1)a=r[n],i=i||Y(e,a);return t&&i}function vd(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function Ld(e,t){arguments.length===1&&(arguments[0]?gd(arguments[0])?(e=arguments[0],t=void 0):bd(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var i=e||q(),r=Zn(i,this).startOf("day"),n=L.calendarFormat(this,r)||"sameElse",a=t&&(Je(t[n])?t[n].call(this,i):t[n]);return this.format(a||this.localeData().calendar(n,this,q(i)))}function wd(){return new Vi(this)}function Td(e,t){var i=We(e)?e:q(e);return this.isValid()&&i.isValid()?(t=Fe(t)||"millisecond",t==="millisecond"?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf()):!1}function Sd(e,t){var i=We(e)?e:q(e);return this.isValid()&&i.isValid()?(t=Fe(t)||"millisecond",t==="millisecond"?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf()):!1}function kd(e,t,i,r){var n=We(e)?e:q(e),a=We(t)?t:q(t);return this.isValid()&&n.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(n,i):!this.isBefore(n,i))&&(r[1]===")"?this.isBefore(a,i):!this.isAfter(a,i))):!1}function Ed(e,t){var i=We(e)?e:q(e),r;return this.isValid()&&i.isValid()?(t=Fe(t)||"millisecond",t==="millisecond"?this.valueOf()===i.valueOf():(r=i.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function xd(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Md(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Dd(e,t,i){var r,n,a;if(!this.isValid())return NaN;if(r=Zn(e,this),!r.isValid())return NaN;switch(n=(r.utcOffset()-this.utcOffset())*6e4,t=Fe(t),t){case"year":a=vr(this,r)/12;break;case"month":a=vr(this,r);break;case"quarter":a=vr(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-n)/864e5;break;case"week":a=(this-r-n)/6048e5;break;default:a=this-r}return i?a:Ie(a)}function vr(e,t){if(e.date()<t.date())return-vr(t,e);var i=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(i,"months"),n,a;return t-r<0?(n=e.clone().add(i-1,"months"),a=(t-r)/(r-n)):(n=e.clone().add(i+1,"months"),a=(t-r)/(n-r)),-(i+a)||0}L.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";L.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Pd(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ad(e){if(!this.isValid())return null;var t=e!==!0,i=t?this.clone().utc():this;return i.year()<0||i.year()>9999?yr(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Je(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",yr(i,"Z")):yr(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Od(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",i,r,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),i="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(i+r+n+a)}function Cd(e){e||(e=this.isUtc()?L.defaultFormatUtc:L.defaultFormat);var t=yr(this,e);return this.localeData().postformat(t)}function Hd(e,t){return this.isValid()&&(We(e)&&e.isValid()||q(e).isValid())?ze({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Rd(e){return this.from(q(),e)}function Nd(e,t){return this.isValid()&&(We(e)&&e.isValid()||q(e).isValid())?ze({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Id(e){return this.to(q(),e)}function Gs(e){var t;return e===void 0?this._locale._abbr:(t=dt(e),t!=null&&(this._locale=t),this)}var Ws=Be("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function zs(){return this._locale}var Er=1e3,ti=60*Er,xr=60*ti,Vs=(365*400+97)*24*xr;function ii(e,t){return(e%t+t)%t}function $s(e,t,i){return e<100&&e>=0?new Date(e+400,t,i)-Vs:new Date(e,t,i).valueOf()}function qs(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-Vs:Date.UTC(e,t,i)}function Ud(e){var t,i;if(e=Fe(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(i=this._isUTC?qs:$s,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ii(t+(this._isUTC?0:this.utcOffset()*ti),xr);break;case"minute":t=this._d.valueOf(),t-=ii(t,ti);break;case"second":t=this._d.valueOf(),t-=ii(t,Er);break}return this._d.setTime(t),L.updateOffset(this,!0),this}function Bd(e){var t,i;if(e=Fe(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(i=this._isUTC?qs:$s,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=xr-ii(t+(this._isUTC?0:this.utcOffset()*ti),xr)-1;break;case"minute":t=this._d.valueOf(),t+=ti-ii(t,ti)-1;break;case"second":t=this._d.valueOf(),t+=Er-ii(t,Er)-1;break}return this._d.setTime(t),L.updateOffset(this,!0),this}function Fd(){return this._d.valueOf()-(this._offset||0)*6e4}function Yd(){return Math.floor(this.valueOf()/1e3)}function jd(){return new Date(this.valueOf())}function Gd(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Wd(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function zd(){return this.isValid()?this.toISOString():null}function Vd(){return Hn(this)}function $d(){return bt({},D(this))}function qd(){return D(this).overflow}function Zd(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}k("N",0,0,"eraAbbr");k("NN",0,0,"eraAbbr");k("NNN",0,0,"eraAbbr");k("NNNN",0,0,"eraName");k("NNNNN",0,0,"eraNarrow");k("y",["y",1],"yo","eraYear");k("y",["yy",2],0,"eraYear");k("y",["yyy",3],0,"eraYear");k("y",["yyyy",4],0,"eraYear");T("N",Xn);T("NN",Xn);T("NNN",Xn);T("NNNN",sh);T("NNNNN",lh);V(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,r){var n=i._locale.erasParse(e,r,i._strict);n?D(i).era=n:D(i).invalidEra=e});T("y",fi);T("yy",fi);T("yyy",fi);T("yyyy",fi);T("yo",oh);V(["y","yy","yyy","yyyy"],me);V(["yo"],function(e,t,i,r){var n;i._locale._eraYearOrdinalRegex&&(n=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[me]=i._locale.eraYearOrdinalParse(e,n):t[me]=parseInt(e,10)});function Xd(e,t){var i,r,n,a=this._eras||dt("en")._eras;for(i=0,r=a.length;i<r;++i){switch(typeof a[i].since){case"string":n=L(a[i].since).startOf("day"),a[i].since=n.valueOf();break}switch(typeof a[i].until){case"undefined":a[i].until=1/0;break;case"string":n=L(a[i].until).startOf("day").valueOf(),a[i].until=n.valueOf();break}}return a}function Jd(e,t,i){var r,n,a=this.eras(),s,l,o;for(e=e.toUpperCase(),r=0,n=a.length;r<n;++r)if(s=a[r].name.toUpperCase(),l=a[r].abbr.toUpperCase(),o=a[r].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(l===e)return a[r];break;case"NNNN":if(s===e)return a[r];break;case"NNNNN":if(o===e)return a[r];break}else if([s,l,o].indexOf(e)>=0)return a[r]}function Qd(e,t){var i=e.since<=e.until?1:-1;return t===void 0?L(e.since).year():L(e.since).year()+(t-e.offset)*i}function Kd(){var e,t,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return r[e].name;return""}function eh(){var e,t,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return r[e].narrow;return""}function th(){var e,t,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return r[e].abbr;return""}function ih(){var e,t,i,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(i=n[e].since<=n[e].until?1:-1,r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return(this.year()-L(n[e].since).year())*i+n[e].offset;return this.year()}function rh(e){return Y(this,"_erasNameRegex")||Jn.call(this),e?this._erasNameRegex:this._erasRegex}function nh(e){return Y(this,"_erasAbbrRegex")||Jn.call(this),e?this._erasAbbrRegex:this._erasRegex}function ah(e){return Y(this,"_erasNarrowRegex")||Jn.call(this),e?this._erasNarrowRegex:this._erasRegex}function Xn(e,t){return t.erasAbbrRegex(e)}function sh(e,t){return t.erasNameRegex(e)}function lh(e,t){return t.erasNarrowRegex(e)}function oh(e,t){return t._eraYearOrdinalRegex||fi}function Jn(){var e=[],t=[],i=[],r=[],n,a,s=this.eras();for(n=0,a=s.length;n<a;++n)t.push(He(s[n].name)),e.push(He(s[n].abbr)),i.push(He(s[n].narrow)),r.push(He(s[n].name)),r.push(He(s[n].abbr)),r.push(He(s[n].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("^("+i.join("|")+")","i")}k(0,["gg",2],0,function(){return this.weekYear()%100});k(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Yr(e,t){k(0,[e,e.length],0,t)}Yr("gggg","weekYear");Yr("ggggg","weekYear");Yr("GGGG","isoWeekYear");Yr("GGGGG","isoWeekYear");pe("weekYear","gg");pe("isoWeekYear","GG");ge("weekYear",1);ge("isoWeekYear",1);T("G",Nr);T("g",Nr);T("GG",Z,Ne);T("gg",Z,Ne);T("GGGG",Fn,Bn);T("gggg",Fn,Bn);T("GGGGG",Rr,Cr);T("ggggg",Rr,Cr);qi(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,r){t[r.substr(0,2)]=C(e)});qi(["gg","GG"],function(e,t,i,r){t[r]=L.parseTwoDigitYear(e)});function uh(e){return Zs.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function dh(e){return Zs.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function hh(){return ot(this.year(),1,4)}function fh(){return ot(this.isoWeekYear(),1,4)}function ch(){var e=this.localeData()._week;return ot(this.year(),e.dow,e.doy)}function mh(){var e=this.localeData()._week;return ot(this.weekYear(),e.dow,e.doy)}function Zs(e,t,i,r,n){var a;return e==null?Yi(this,r,n).year:(a=ot(e,r,n),t>a&&(t=a),ph.call(this,e,t,i,r,n))}function ph(e,t,i,r,n){var a=Ms(e,t,i,r,n),s=Fi(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}k("Q",0,"Qo","quarter");pe("quarter","Q");ge("quarter",7);T("Q",ys);V("Q",function(e,t){t[st]=(C(e)-1)*3});function gh(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}k("D",["DD",2],"Do","date");pe("date","D");ge("date",9);T("D",Z);T("DD",Z,Ne);T("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});V(["D","DD"],qe);V("Do",function(e,t){t[qe]=C(e.match(Z)[0])});var Xs=hi("Date",!0);k("DDD",["DDDD",3],"DDDo","dayOfYear");pe("dayOfYear","DDD");ge("dayOfYear",4);T("DDD",Hr);T("DDDD",bs);V(["DDD","DDDD"],function(e,t,i){i._dayOfYear=C(e)});function _h(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}k("m",["mm",2],0,"minute");pe("minute","m");ge("minute",14);T("m",Z);T("mm",Z,Ne);V(["m","mm"],je);var yh=hi("Minutes",!1);k("s",["ss",2],0,"second");pe("second","s");ge("second",15);T("s",Z);T("ss",Z,Ne);V(["s","ss"],lt);var bh=hi("Seconds",!1);k("S",0,0,function(){return~~(this.millisecond()/100)});k(0,["SS",2],0,function(){return~~(this.millisecond()/10)});k(0,["SSS",3],0,"millisecond");k(0,["SSSS",4],0,function(){return this.millisecond()*10});k(0,["SSSSS",5],0,function(){return this.millisecond()*100});k(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});k(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});k(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});k(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});pe("millisecond","ms");ge("millisecond",16);T("S",Hr,ys);T("SS",Hr,Ne);T("SSS",Hr,bs);var vt,Js;for(vt="SSSS";vt.length<=9;vt+="S")T(vt,fi);function vh(e,t){t[Mt]=C(("0."+e)*1e3)}for(vt="S";vt.length<=9;vt+="S")V(vt,vh);Js=hi("Milliseconds",!1);k("z",0,0,"zoneAbbr");k("zz",0,0,"zoneName");function Lh(){return this._isUTC?"UTC":""}function wh(){return this._isUTC?"Coordinated Universal Time":""}var y=Vi.prototype;y.add=md;y.calendar=Ld;y.clone=wd;y.diff=Dd;y.endOf=Bd;y.format=Cd;y.from=Hd;y.fromNow=Rd;y.to=Nd;y.toNow=Id;y.get=So;y.invalidAt=qd;y.isAfter=Td;y.isBefore=Sd;y.isBetween=kd;y.isSame=Ed;y.isSameOrAfter=xd;y.isSameOrBefore=Md;y.isValid=Vd;y.lang=Ws;y.locale=Gs;y.localeData=zs;y.max=Vu;y.min=zu;y.parsingFlags=$d;y.set=ko;y.startOf=Ud;y.subtract=pd;y.toArray=Gd;y.toObject=Wd;y.toDate=jd;y.toISOString=Ad;y.inspect=Od;typeof Symbol!="undefined"&&Symbol.for!=null&&(y[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});y.toJSON=zd;y.toString=Pd;y.unix=Yd;y.valueOf=Fd;y.creationData=Zd;y.eraName=Kd;y.eraNarrow=eh;y.eraAbbr=th;y.eraYear=ih;y.year=xs;y.isLeapYear=Wo;y.weekYear=uh;y.isoWeekYear=dh;y.quarter=y.quarters=gh;y.month=ks;y.daysInMonth=Yo;y.week=y.weeks=Xo;y.isoWeek=y.isoWeeks=Jo;y.weeksInYear=ch;y.weeksInWeekYear=mh;y.isoWeeksInYear=hh;y.isoWeeksInISOWeekYear=fh;y.date=Xs;y.day=y.days=du;y.weekday=hu;y.isoWeekday=fu;y.dayOfYear=_h;y.hour=y.hours=bu;y.minute=y.minutes=yh;y.second=y.seconds=bh;y.millisecond=y.milliseconds=Js;y.utcOffset=td;y.utc=rd;y.local=nd;y.parseZone=ad;y.hasAlignedHourOffset=sd;y.isDST=ld;y.isLocal=ud;y.isUtcOffset=dd;y.isUtc=Bs;y.isUTC=Bs;y.zoneAbbr=Lh;y.zoneName=wh;y.dates=Be("dates accessor is deprecated. Use date instead.",Xs);y.months=Be("months accessor is deprecated. Use month instead",ks);y.years=Be("years accessor is deprecated. Use year instead",xs);y.zone=Be("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",id);y.isDSTShifted=Be("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",od);function Th(e){return q(e*1e3)}function Sh(){return q.apply(null,arguments).parseZone()}function Qs(e){return e}var j=Nn.prototype;j.calendar=uo;j.longDateFormat=mo;j.invalidDate=go;j.ordinal=bo;j.preparse=Qs;j.postformat=Qs;j.relativeTime=Lo;j.pastFuture=wo;j.set=lo;j.eras=Xd;j.erasParse=Jd;j.erasConvertYear=Qd;j.erasAbbrRegex=nh;j.erasNameRegex=rh;j.erasNarrowRegex=ah;j.months=Io;j.monthsShort=Uo;j.monthsParse=Fo;j.monthsRegex=Go;j.monthsShortRegex=jo;j.week=Vo;j.firstDayOfYear=Zo;j.firstDayOfWeek=qo;j.weekdays=au;j.weekdaysMin=lu;j.weekdaysShort=su;j.weekdaysParse=uu;j.weekdaysRegex=cu;j.weekdaysShortRegex=mu;j.weekdaysMinRegex=pu;j.isPM=_u;j.meridiem=vu;function Mr(e,t,i,r){var n=dt(),a=Xe().set(r,t);return n[i](a,e)}function Ks(e,t,i){if(ut(e)&&(t=e,e=void 0),e=e||"",t!=null)return Mr(e,t,i,"month");var r,n=[];for(r=0;r<12;r++)n[r]=Mr(e,r,i,"month");return n}function Qn(e,t,i,r){typeof e=="boolean"?(ut(t)&&(i=t,t=void 0),t=t||""):(t=e,i=t,e=!1,ut(t)&&(i=t,t=void 0),t=t||"");var n=dt(),a=e?n._week.dow:0,s,l=[];if(i!=null)return Mr(t,(i+a)%7,r,"day");for(s=0;s<7;s++)l[s]=Mr(t,(s+a)%7,r,"day");return l}function kh(e,t){return Ks(e,t,"months")}function Eh(e,t){return Ks(e,t,"monthsShort")}function xh(e,t,i){return Qn(e,t,i,"weekdays")}function Mh(e,t,i){return Qn(e,t,i,"weekdaysShort")}function Dh(e,t,i){return Qn(e,t,i,"weekdaysMin")}wt("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,i=C(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i}});L.lang=Be("moment.lang is deprecated. Use moment.locale instead.",wt);L.langData=Be("moment.langData is deprecated. Use moment.localeData instead.",dt);var nt=Math.abs;function Ph(){var e=this._data;return this._milliseconds=nt(this._milliseconds),this._days=nt(this._days),this._months=nt(this._months),e.milliseconds=nt(e.milliseconds),e.seconds=nt(e.seconds),e.minutes=nt(e.minutes),e.hours=nt(e.hours),e.months=nt(e.months),e.years=nt(e.years),this}function el(e,t,i,r){var n=ze(t,i);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function Ah(e,t){return el(this,e,t,1)}function Oh(e,t){return el(this,e,t,-1)}function va(e){return e<0?Math.floor(e):Math.ceil(e)}function Ch(){var e=this._milliseconds,t=this._days,i=this._months,r=this._data,n,a,s,l,o;return e>=0&&t>=0&&i>=0||e<=0&&t<=0&&i<=0||(e+=va(wn(i)+t)*864e5,t=0,i=0),r.milliseconds=e%1e3,n=Ie(e/1e3),r.seconds=n%60,a=Ie(n/60),r.minutes=a%60,s=Ie(a/60),r.hours=s%24,t+=Ie(s/24),o=Ie(tl(t)),i+=o,t-=va(wn(o)),l=Ie(i/12),i%=12,r.days=t,r.months=i,r.years=l,this}function tl(e){return e*4800/146097}function wn(e){return e*146097/4800}function Hh(e){if(!this.isValid())return NaN;var t,i,r=this._milliseconds;if(e=Fe(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,i=this._months+tl(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(wn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Rh(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+C(this._months/12)*31536e6:NaN}function ht(e){return function(){return this.as(e)}}var Nh=ht("ms"),Ih=ht("s"),Uh=ht("m"),Bh=ht("h"),Fh=ht("d"),Yh=ht("w"),jh=ht("M"),Gh=ht("Q"),Wh=ht("y");function zh(){return ze(this)}function Vh(e){return e=Fe(e),this.isValid()?this[e+"s"]():NaN}function At(e){return function(){return this.isValid()?this._data[e]:NaN}}var $h=At("milliseconds"),qh=At("seconds"),Zh=At("minutes"),Xh=At("hours"),Jh=At("days"),Qh=At("months"),Kh=At("years");function ef(){return Ie(this.days()/7)}var at=Math.round,Qt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function tf(e,t,i,r,n){return n.relativeTime(t||1,!!i,e,r)}function rf(e,t,i,r){var n=ze(e).abs(),a=at(n.as("s")),s=at(n.as("m")),l=at(n.as("h")),o=at(n.as("d")),u=at(n.as("M")),h=at(n.as("w")),c=at(n.as("y")),f=a<=i.ss&&["s",a]||a<i.s&&["ss",a]||s<=1&&["m"]||s<i.m&&["mm",s]||l<=1&&["h"]||l<i.h&&["hh",l]||o<=1&&["d"]||o<i.d&&["dd",o];return i.w!=null&&(f=f||h<=1&&["w"]||h<i.w&&["ww",h]),f=f||u<=1&&["M"]||u<i.M&&["MM",u]||c<=1&&["y"]||["yy",c],f[2]=t,f[3]=+e>0,f[4]=r,tf.apply(null,f)}function nf(e){return e===void 0?at:typeof e=="function"?(at=e,!0):!1}function af(e,t){return Qt[e]===void 0?!1:t===void 0?Qt[e]:(Qt[e]=t,e==="s"&&(Qt.ss=t-1),!0)}function sf(e,t){if(!this.isValid())return this.localeData().invalidDate();var i=!1,r=Qt,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(i=e),typeof t=="object"&&(r=Object.assign({},Qt,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),n=this.localeData(),a=rf(this,!i,r,n),i&&(a=n.pastFuture(+this,a)),n.postformat(a)}var ln=Math.abs;function qt(e){return(e>0)-(e<0)||+e}function jr(){if(!this.isValid())return this.localeData().invalidDate();var e=ln(this._milliseconds)/1e3,t=ln(this._days),i=ln(this._months),r,n,a,s,l=this.asSeconds(),o,u,h,c;return l?(r=Ie(e/60),n=Ie(r/60),e%=60,r%=60,a=Ie(i/12),i%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",o=l<0?"-":"",u=qt(this._months)!==qt(l)?"-":"",h=qt(this._days)!==qt(l)?"-":"",c=qt(this._milliseconds)!==qt(l)?"-":"",o+"P"+(a?u+a+"Y":"")+(i?u+i+"M":"")+(t?h+t+"D":"")+(n||r||e?"T":"")+(n?c+n+"H":"")+(r?c+r+"M":"")+(e?c+s+"S":"")):"P0D"}var B=Fr.prototype;B.isValid=Ju;B.abs=Ph;B.add=Ah;B.subtract=Oh;B.as=Hh;B.asMilliseconds=Nh;B.asSeconds=Ih;B.asMinutes=Uh;B.asHours=Bh;B.asDays=Fh;B.asWeeks=Yh;B.asMonths=jh;B.asQuarters=Gh;B.asYears=Wh;B.valueOf=Rh;B._bubble=Ch;B.clone=zh;B.get=Vh;B.milliseconds=$h;B.seconds=qh;B.minutes=Zh;B.hours=Xh;B.days=Jh;B.weeks=ef;B.months=Qh;B.years=Kh;B.humanize=sf;B.toISOString=jr;B.toString=jr;B.toJSON=jr;B.locale=Gs;B.localeData=zs;B.toIsoString=Be("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",jr);B.lang=Ws;k("X",0,0,"unix");k("x",0,0,"valueOf");T("x",Nr);T("X",xo);V("X",function(e,t,i){i._d=new Date(parseFloat(e)*1e3)});V("x",function(e,t,i){i._d=new Date(C(e))});//! moment.js
|
|
10
|
+
L.version="2.29.4";ao(q);L.fn=y;L.min=$u;L.max=qu;L.now=Zu;L.utc=Xe;L.unix=Th;L.months=kh;L.isDate=zi;L.locale=wt;L.invalid=Ar;L.duration=ze;L.isMoment=We;L.weekdays=xh;L.parseZone=Sh;L.localeData=dt;L.isDuration=br;L.monthsShort=Eh;L.weekdaysMin=Dh;L.defineLocale=Wn;L.updateLocale=Su;L.locales=ku;L.weekdaysShort=Mh;L.normalizeUnits=Fe;L.relativeTimeRounding=nf;L.relativeTimeThreshold=af;L.calendarFormat=vd;L.prototype=y;L.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"};const Zt=[];function lf(e,t){return{subscribe:Gr(e,t).subscribe}}function Gr(e,t=Pe){let i;const r=new Set;function n(l){if(os(e,l)&&(e=l,i)){const o=!Zt.length;for(const u of r)u[1](),Zt.push(u,e);if(o){for(let u=0;u<Zt.length;u+=2)Zt[u][0](Zt[u+1]);Zt.length=0}}}function a(l){n(l(e))}function s(l,o=Pe){const u=[l,o];return r.add(u),r.size===1&&(i=t(n,a)||Pe),l(e),()=>{r.delete(u),r.size===0&&i&&(i(),i=null)}}return{set:n,update:a,subscribe:s}}function ci(e,t,i){const r=!Array.isArray(e),n=r?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return lf(i,(s,l)=>{let o=!1;const u=[];let h=0,c=Pe;const f=()=>{if(h)return;c();const _=t(r?u[0]:u,s,l);a?s(_):c=On(_)?_:Pe},w=n.map((_,M)=>us(_,ae=>{u[M]=ae,h&=~(1<<M),o&&f()},()=>{h|=1<<M}));return o=!0,f(),function(){Tt(w),c(),o=!1}})}var of=function(t){return uf(t)&&!df(t)};function uf(e){return!!e&&typeof e=="object"}function df(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||cf(e)}var hf=typeof Symbol=="function"&&Symbol.for,ff=hf?Symbol.for("react.element"):60103;function cf(e){return e.$$typeof===ff}function mf(e){return Array.isArray(e)?[]:{}}function Gi(e,t){return t.clone!==!1&&t.isMergeableObject(e)?si(mf(e),e,t):e}function pf(e,t,i){return e.concat(t).map(function(r){return Gi(r,i)})}function gf(e,t){if(!t.customMerge)return si;var i=t.customMerge(e);return typeof i=="function"?i:si}function _f(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function La(e){return Object.keys(e).concat(_f(e))}function il(e,t){try{return t in e}catch(i){return!1}}function yf(e,t){return il(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function bf(e,t,i){var r={};return i.isMergeableObject(e)&&La(e).forEach(function(n){r[n]=Gi(e[n],i)}),La(t).forEach(function(n){yf(e,n)||(il(e,n)&&i.isMergeableObject(t[n])?r[n]=gf(n,i)(e[n],t[n],i):r[n]=Gi(t[n],i))}),r}function si(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||pf,i.isMergeableObject=i.isMergeableObject||of,i.cloneUnlessOtherwiseSpecified=Gi;var r=Array.isArray(t),n=Array.isArray(e),a=r===n;return a?r?i.arrayMerge(e,t,i):bf(e,t,i):Gi(t,i)}si.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return si(r,n,i)},{})};var vf=si,Lf=vf;const wf=ro(Lf);/*! *****************************************************************************
|
|
11
11
|
Copyright (c) Microsoft Corporation.
|
|
12
12
|
|
|
13
13
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -20,24 +20,24 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
20
20
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
21
21
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
22
22
|
PERFORMANCE OF THIS SOFTWARE.
|
|
23
|
-
***************************************************************************** */var Tn=function(e,t){return Tn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(i[n]=r[n])},Tn(e,t)};function Wr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Tn(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var F=function(){return F=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},F.apply(this,arguments)};function kf(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]]);return i}function on(e,t,i){if(arguments.length===2)for(var r=0,n=t.length,a;r<n;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||t)}function un(e,t){var i=t&&t.cache?t.cache:Af,r=t&&t.serializer?t.serializer:Pf,n=t&&t.strategy?t.strategy:xf;return n(e,{cache:i,serializer:r})}function Ef(e){return e==null||typeof e=="number"||typeof e=="boolean"}function al(e,t,i,r){var n=Ef(r)?r:i(r),a=t.get(n);return typeof a=="undefined"&&(a=e.call(this,r),t.set(n,a)),a}function sl(e,t,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),a=t.get(n);return typeof a=="undefined"&&(a=e.apply(this,r),t.set(n,a)),a}function Kn(e,t,i,r,n){return i.bind(t,e,r,n)}function xf(e,t){var i=e.length===1?al:sl;return Kn(e,this,i,t.cache.create(),t.serializer)}function Mf(e,t){return Kn(e,this,sl,t.cache.create(),t.serializer)}function Df(e,t){return Kn(e,this,al,t.cache.create(),t.serializer)}var Pf=function(){return JSON.stringify(arguments)};function ea(){this.cache=Object.create(null)}ea.prototype.get=function(e){return this.cache[e]};ea.prototype.set=function(e,t){this.cache[e]=t};var Af={create:function(){return new ea}},dn={variadic:Mf,monadic:Df},H;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(H||(H={}));var K;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(K||(K={}));var li;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(li||(li={}));function Sa(e){return e.type===K.literal}function Of(e){return e.type===K.argument}function ll(e){return e.type===K.number}function ol(e){return e.type===K.date}function ul(e){return e.type===K.time}function dl(e){return e.type===K.select}function hl(e){return e.type===K.plural}function Cf(e){return e.type===K.pound}function fl(e){return e.type===K.tag}function cl(e){return!!(e&&typeof e=="object"&&e.type===li.number)}function Sn(e){return!!(e&&typeof e=="object"&&e.type===li.dateTime)}var ml=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Hf=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Rf(e){var t={};return e.replace(Hf,function(i){var r=i.length;switch(i[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Nf=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function If(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Nf).filter(function(f){return f.length>0}),i=[],r=0,n=t;r<n.length;r++){var a=n[r],s=a.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var l=s[0],o=s.slice(1),u=0,h=o;u<h.length;u++){var c=h[u];if(c.length===0)throw new Error("Invalid number skeleton")}i.push({stem:l,options:o})}return i}function Uf(e){return e.replace(/^(.*?)-/,"")}var ka=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,pl=/^(@+)?(\+|#+)?[rs]?$/g,Bf=/(\*)(0+)|(#+)(0+)|(0+)/g,gl=/^(0+)$/;function Ea(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(pl,function(i,r,n){return typeof n!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):n==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof n=="string"?n.length:0)),""}),t}function _l(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 Ff(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if(i==="+!"?(t.signDisplay="always",e=e.slice(2)):i==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!gl.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function xa(e){var t={},i=_l(e);return i||t}function Yf(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Uf(n.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=F(F(F({},t),{notation:"scientific"}),n.options.reduce(function(o,u){return F(F({},o),xa(u))},{}));continue;case"engineering":t=F(F(F({},t),{notation:"engineering"}),n.options.reduce(function(o,u){return F(F({},o),xa(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Bf,function(o,u,h,c,f,w){if(u)t.minimumIntegerDigits=h.length;else{if(c&&f)throw new Error("We currently do not support maximum integer digits");if(w)throw new Error("We currently do not support exact integer digits")}return""});continue}if(gl.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(ka.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(ka,function(o,u,h,c,f,w){return h==="*"?t.minimumFractionDigits=u.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:f&&w?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+w.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=n.options[0];a==="w"?t=F(F({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=F(F({},t),Ea(a)));continue}if(pl.test(n.stem)){t=F(F({},t),Ea(n.stem));continue}var s=_l(n.stem);s&&(t=F(F({},t),s));var l=Ff(n.stem);l&&(t=F(F({},t),l))}return t}var gr={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function jf(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){for(var a=0;r+1<e.length&&e.charAt(r+1)===n;)a++,r++;var s=1+(a&1),l=a<2?1:3+(a>>1),o="a",u=Gf(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)i+=o;for(;s-- >0;)i=u+i}else n==="J"?i+="H":i+=n}return i}function Gf(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i=e.language,r;i!=="root"&&(r=e.maximize().region);var n=gr[r||""]||gr[i||""]||gr["".concat(i,"-001")]||gr["001"];return n[0]}var hn,Wf=new RegExp("^".concat(ml.source,"*")),zf=new RegExp("".concat(ml.source,"*$"));function I(e,t){return{start:e,end:t}}var Vf=!!String.prototype.startsWith&&"_a".startsWith("a",1),$f=!!String.fromCodePoint,qf=!!Object.fromEntries,Zf=!!String.prototype.codePointAt,Xf=!!String.prototype.trimStart,Jf=!!String.prototype.trimEnd,Qf=!!Number.isSafeInteger,Kf=Qf?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},kn=!0;try{var ec=bl("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");kn=((hn=ec.exec("a"))===null||hn===void 0?void 0:hn[0])==="a"}catch(e){kn=!1}var Ma=Vf?function(t,i,r){return t.startsWith(i,r)}:function(t,i,r){return t.slice(r,r+i.length)===i},En=$f?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var r="",n=t.length,a=0,s;n>a;){if(s=t[a++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Da=qf?Object.fromEntries:function(t){for(var i={},r=0,n=t;r<n.length;r++){var a=n[r],s=a[0],l=a[1];i[s]=l}return i},yl=Zf?function(t,i){return t.codePointAt(i)}:function(t,i){var r=t.length;if(!(i<0||i>=r)){var n=t.charCodeAt(i),a;return n<55296||n>56319||i+1===r||(a=t.charCodeAt(i+1))<56320||a>57343?n:(n-55296<<10)+(a-56320)+65536}},tc=Xf?function(t){return t.trimStart()}:function(t){return t.replace(Wf,"")},ic=Jf?function(t){return t.trimEnd()}:function(t){return t.replace(zf,"")};function bl(e,t){return new RegExp(e,t)}var xn;if(kn){var Pa=bl("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xn=function(t,i){var r;Pa.lastIndex=i;var n=Pa.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else xn=function(t,i){for(var r=[];;){var n=yl(t,i);if(n===void 0||vl(n)||sc(n))break;r.push(n),i+=n>=65536?2:1}return En.apply(void 0,r)};var rc=function(){function e(t,i){i===void 0&&(i={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!i.ignoreTag,this.locale=i.locale,this.requiresOtherClause=!!i.requiresOtherClause,this.shouldParseSkeletons=!!i.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,i,r){for(var n=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(t,r);if(s.err)return s;n.push(s.val)}else{if(a===125&&t>0)break;if(a===35&&(i==="plural"||i==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:K.pound,location:I(l,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(H.UNMATCHED_CLOSING_TAG,I(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Mn(this.peek()||0)){var s=this.parseTag(t,i);if(s.err)return s;n.push(s.val)}else{var s=this.parseLiteral(t,i);if(s.err)return s;n.push(s.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,i){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:K.literal,value:"<".concat(n,"/>"),location:I(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,i,!0);if(a.err)return a;var s=a.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Mn(this.char()))return this.error(H.INVALID_TAG,I(l,this.clonePosition()));var o=this.clonePosition(),u=this.parseTagName();return n!==u?this.error(H.UNMATCHED_CLOSING_TAG,I(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:K.tag,value:n,children:s,location:I(r,this.clonePosition())},err:null}:this.error(H.INVALID_TAG,I(l,this.clonePosition())))}else return this.error(H.UNCLOSED_TAG,I(r,this.clonePosition()))}else return this.error(H.INVALID_TAG,I(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ac(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var r=this.clonePosition(),n="";;){var a=this.tryParseQuote(i);if(a){n+=a;continue}var s=this.tryParseUnquoted(t,i);if(s){n+=s;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var o=I(r,this.clonePosition());return{val:{type:K.literal,value:n,location:o},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!nc(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var i=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(r);this.bump()}return En.apply(void 0,i)},e.prototype.tryParseUnquoted=function(t,i){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(i==="plural"||i==="selectordinal")||r===125&&t>0?null:(this.bump(),En(r))},e.prototype.parseArgument=function(t,i){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,I(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(H.EMPTY_ARGUMENT,I(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(H.MALFORMED_ARGUMENT,I(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,I(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:K.argument,value:n,location:I(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,I(r,this.clonePosition())):this.parseArgumentOptions(t,i,n,r);default:return this.error(H.MALFORMED_ARGUMENT,I(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),r=xn(this.message,i),n=i+r.length;this.bumpTo(n);var a=this.clonePosition(),s=I(t,a);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,i,r,n){var a,s=this.clonePosition(),l=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(l){case"":return this.error(H.EXPECT_ARGUMENT_TYPE,I(s,o));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var f=ic(c.val);if(f.length===0)return this.error(H.EXPECT_ARGUMENT_STYLE,I(this.clonePosition(),this.clonePosition()));var w=I(h,this.clonePosition());u={style:f,styleLocation:w}}var _=this.tryParseArgumentClose(n);if(_.err)return _;var M=I(n,this.clonePosition());if(u&&Ma(u==null?void 0:u.style,"::",0)){var ae=tc(u.style.slice(2));if(l==="number"){var c=this.parseNumberSkeletonFromString(ae,u.styleLocation);return c.err?c:{val:{type:K.number,value:r,location:M,style:c.val},err:null}}else{if(ae.length===0)return this.error(H.EXPECT_DATE_TIME_SKELETON,M);var se=ae;this.locale&&(se=jf(ae,this.locale));var f={type:li.dateTime,pattern:se,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Rf(se):{}},te=l==="date"?K.date:K.time;return{val:{type:te,value:r,location:M,style:f},err:null}}}return{val:{type:l==="number"?K.number:l==="date"?K.date:K.time,value:r,location:M,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var N=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS,I(N,F({},N)));this.bumpSpace();var ee=this.parseIdentifierIfPossible(),X=0;if(l!=="select"&&ee.value==="offset"){if(!this.bumpIf(":"))return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,I(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),ee=this.parseIdentifierIfPossible(),X=c.val}var P=this.tryParsePluralOrSelectOptions(t,l,i,ee);if(P.err)return P;var _=this.tryParseArgumentClose(n);if(_.err)return _;var le=I(n,this.clonePosition());return l==="select"?{val:{type:K.select,value:r,options:Da(P.val),location:le},err:null}:{val:{type:K.plural,value:r,options:Da(P.val),offset:X,pluralType:l==="plural"?"cardinal":"ordinal",location:le},err:null}}default:return this.error(H.INVALID_ARGUMENT_TYPE,I(s,o))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,I(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,i=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,I(n,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(i.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(i.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,i){var r=[];try{r=If(t)}catch(n){return this.error(H.INVALID_NUMBER_SKELETON,i)}return{val:{type:li.number,tokens:r,location:i,parsedOptions:this.shouldParseSkeletons?Yf(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,r,n){for(var a,s=!1,l=[],o=new Set,u=n.value,h=n.location;;){if(u.length===0){var c=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR,H.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;h=I(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}else break}if(o.has(u))return this.error(i==="select"?H.DUPLICATE_SELECT_ARGUMENT_SELECTOR:H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(s=!0),this.bumpSpace();var w=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,I(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,i,r);if(_.err)return _;var M=this.tryParseArgumentClose(w);if(M.err)return M;l.push([u,{value:_.val,location:I(w,this.clonePosition())}]),o.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,h=a.location}return l.length===0?this.error(i==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR:H.EXPECT_PLURAL_ARGUMENT_SELECTOR,I(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(H.MISSING_OTHER_CLAUSE,I(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,s=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)a=!0,s=s*10+(l-48),this.bump();else break}var o=I(n,this.clonePosition());return a?(s*=r,Kf(s)?{val:s,err:null}:this.error(i,o)):this.error(t,o)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var i=yl(this.message,t);if(i===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return i},e.prototype.error=function(t,i){return{val:null,err:{kind:t,message:this.message,location:i}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ma(this.message,t,this.offset())){for(var i=0;i<t.length;i++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var i=this.offset(),r=this.message.indexOf(t,i);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var i=this.offset();if(i===t)break;if(i>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&vl(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),i=this.offset(),r=this.message.charCodeAt(i+(t>=65536?2:1));return r!=null?r:null},e}();function Mn(e){return e>=97&&e<=122||e>=65&&e<=90}function nc(e){return Mn(e)||e===47}function ac(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function vl(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function sc(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Dn(e){e.forEach(function(t){if(delete t.location,dl(t)||hl(t))for(var i in t.options)delete t.options[i].location,Dn(t.options[i].value);else ll(t)&&cl(t.style)||(ol(t)||ul(t))&&Sn(t.style)?delete t.style.location:fl(t)&&Dn(t.children)})}function lc(e,t){t===void 0&&(t={}),t=F({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new rc(e,t).parse();if(i.err){var r=SyntaxError(H[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t!=null&&t.captureLocation||Dn(i.val),i.val}var oi;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(oi||(oi={}));var zr=function(e){Wr(t,e);function t(i,r,n){var a=e.call(this,i)||this;return a.code=r,a.originalMessage=n,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Aa=function(e){Wr(t,e);function t(i,r,n,a){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),oi.INVALID_VALUE,a)||this}return t}(zr),oc=function(e){Wr(t,e);function t(i,r,n){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(r),oi.INVALID_VALUE,n)||this}return t}(zr),uc=function(e){Wr(t,e);function t(i,r){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(r,'"'),oi.MISSING_VALUE,r)||this}return t}(zr),be;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(be||(be={}));function dc(e){return e.length<2?e:e.reduce(function(t,i){var r=t[t.length-1];return!r||r.type!==be.literal||i.type!==be.literal?t.push(i):r.value+=i.value,t},[])}function hc(e){return typeof e=="function"}function Lr(e,t,i,r,n,a,s){if(e.length===1&&Sa(e[0]))return[{type:be.literal,value:e[0].value}];for(var l=[],o=0,u=e;o<u.length;o++){var h=u[o];if(Sa(h)){l.push({type:be.literal,value:h.value});continue}if(Cf(h)){typeof a=="number"&&l.push({type:be.literal,value:i.getNumberFormat(t).format(a)});continue}var c=h.value;if(!(n&&c in n))throw new uc(c,s);var f=n[c];if(Of(h)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),l.push({type:typeof f=="string"?be.literal:be.object,value:f});continue}if(ol(h)){var w=typeof h.style=="string"?r.date[h.style]:Sn(h.style)?h.style.parsedOptions:void 0;l.push({type:be.literal,value:i.getDateTimeFormat(t,w).format(f)});continue}if(ul(h)){var w=typeof h.style=="string"?r.time[h.style]:Sn(h.style)?h.style.parsedOptions:r.time.medium;l.push({type:be.literal,value:i.getDateTimeFormat(t,w).format(f)});continue}if(ll(h)){var w=typeof h.style=="string"?r.number[h.style]:cl(h.style)?h.style.parsedOptions:void 0;w&&w.scale&&(f=f*(w.scale||1)),l.push({type:be.literal,value:i.getNumberFormat(t,w).format(f)});continue}if(fl(h)){var _=h.children,M=h.value,ae=n[M];if(!hc(ae))throw new oc(M,"function",s);var se=Lr(_,t,i,r,n,a),te=ae(se.map(function(X){return X.value}));Array.isArray(te)||(te=[te]),l.push.apply(l,te.map(function(X){return{type:typeof X=="string"?be.literal:be.object,value:X}}))}if(dl(h)){var N=h.options[f]||h.options.other;if(!N)throw new Aa(h.value,f,Object.keys(h.options),s);l.push.apply(l,Lr(N.value,t,i,r,n));continue}if(hl(h)){var N=h.options["=".concat(f)];if(!N){if(!Intl.PluralRules)throw new zr(`Intl.PluralRules is not available in this environment.
|
|
23
|
+
***************************************************************************** */var Tn=function(e,t){return Tn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(i[n]=r[n])},Tn(e,t)};function Wr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Tn(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var F=function(){return F=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},F.apply(this,arguments)};function Tf(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]]);return i}function on(e,t,i){if(arguments.length===2)for(var r=0,n=t.length,a;r<n;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||t)}function un(e,t){var i=t&&t.cache?t.cache:Pf,r=t&&t.serializer?t.serializer:Mf,n=t&&t.strategy?t.strategy:Ef;return n(e,{cache:i,serializer:r})}function Sf(e){return e==null||typeof e=="number"||typeof e=="boolean"}function kf(e,t,i,r){var n=Sf(r)?r:i(r),a=t.get(n);return typeof a=="undefined"&&(a=e.call(this,r),t.set(n,a)),a}function rl(e,t,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),a=t.get(n);return typeof a=="undefined"&&(a=e.apply(this,r),t.set(n,a)),a}function nl(e,t,i,r,n){return i.bind(t,e,r,n)}function Ef(e,t){var i=e.length===1?kf:rl;return nl(e,this,i,t.cache.create(),t.serializer)}function xf(e,t){return nl(e,this,rl,t.cache.create(),t.serializer)}var Mf=function(){return JSON.stringify(arguments)},Df=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,i){this.cache[t]=i},e}(),Pf={create:function(){return new Df}},dn={variadic:xf},H;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(H||(H={}));var K;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(K||(K={}));var li;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(li||(li={}));function wa(e){return e.type===K.literal}function Af(e){return e.type===K.argument}function al(e){return e.type===K.number}function sl(e){return e.type===K.date}function ll(e){return e.type===K.time}function ol(e){return e.type===K.select}function ul(e){return e.type===K.plural}function Of(e){return e.type===K.pound}function dl(e){return e.type===K.tag}function hl(e){return!!(e&&typeof e=="object"&&e.type===li.number)}function Sn(e){return!!(e&&typeof e=="object"&&e.type===li.dateTime)}var fl=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Cf=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Hf(e){var t={};return e.replace(Cf,function(i){var r=i.length;switch(i[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Rf=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Nf(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Rf).filter(function(f){return f.length>0}),i=[],r=0,n=t;r<n.length;r++){var a=n[r],s=a.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var l=s[0],o=s.slice(1),u=0,h=o;u<h.length;u++){var c=h[u];if(c.length===0)throw new Error("Invalid number skeleton")}i.push({stem:l,options:o})}return i}function If(e){return e.replace(/^(.*?)-/,"")}var Ta=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,cl=/^(@+)?(\+|#+)?[rs]?$/g,Uf=/(\*)(0+)|(#+)(0+)|(0+)/g,ml=/^(0+)$/;function Sa(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(cl,function(i,r,n){return typeof n!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):n==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof n=="string"?n.length:0)),""}),t}function pl(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 Bf(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if(i==="+!"?(t.signDisplay="always",e=e.slice(2)):i==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!ml.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function ka(e){var t={},i=pl(e);return i||t}function Ff(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=If(n.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=F(F(F({},t),{notation:"scientific"}),n.options.reduce(function(o,u){return F(F({},o),ka(u))},{}));continue;case"engineering":t=F(F(F({},t),{notation:"engineering"}),n.options.reduce(function(o,u){return F(F({},o),ka(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Uf,function(o,u,h,c,f,w){if(u)t.minimumIntegerDigits=h.length;else{if(c&&f)throw new Error("We currently do not support maximum integer digits");if(w)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ml.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Ta.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Ta,function(o,u,h,c,f,w){return h==="*"?t.minimumFractionDigits=u.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:f&&w?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+w.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=n.options[0];a==="w"?t=F(F({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=F(F({},t),Sa(a)));continue}if(cl.test(n.stem)){t=F(F({},t),Sa(n.stem));continue}var s=pl(n.stem);s&&(t=F(F({},t),s));var l=Bf(n.stem);l&&(t=F(F({},t),l))}return t}var gr={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Yf(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){for(var a=0;r+1<e.length&&e.charAt(r+1)===n;)a++,r++;var s=1+(a&1),l=a<2?1:3+(a>>1),o="a",u=jf(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)i+=o;for(;s-- >0;)i=u+i}else n==="J"?i+="H":i+=n}return i}function jf(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i=e.language,r;i!=="root"&&(r=e.maximize().region);var n=gr[r||""]||gr[i||""]||gr["".concat(i,"-001")]||gr["001"];return n[0]}var hn,Gf=new RegExp("^".concat(fl.source,"*")),Wf=new RegExp("".concat(fl.source,"*$"));function I(e,t){return{start:e,end:t}}var zf=!!String.prototype.startsWith&&"_a".startsWith("a",1),Vf=!!String.fromCodePoint,$f=!!Object.fromEntries,qf=!!String.prototype.codePointAt,Zf=!!String.prototype.trimStart,Xf=!!String.prototype.trimEnd,Jf=!!Number.isSafeInteger,Qf=Jf?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},kn=!0;try{var Kf=_l("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");kn=((hn=Kf.exec("a"))===null||hn===void 0?void 0:hn[0])==="a"}catch(e){kn=!1}var Ea=zf?function(t,i,r){return t.startsWith(i,r)}:function(t,i,r){return t.slice(r,r+i.length)===i},En=Vf?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var r="",n=t.length,a=0,s;n>a;){if(s=t[a++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},xa=$f?Object.fromEntries:function(t){for(var i={},r=0,n=t;r<n.length;r++){var a=n[r],s=a[0],l=a[1];i[s]=l}return i},gl=qf?function(t,i){return t.codePointAt(i)}:function(t,i){var r=t.length;if(!(i<0||i>=r)){var n=t.charCodeAt(i),a;return n<55296||n>56319||i+1===r||(a=t.charCodeAt(i+1))<56320||a>57343?n:(n-55296<<10)+(a-56320)+65536}},ec=Zf?function(t){return t.trimStart()}:function(t){return t.replace(Gf,"")},tc=Xf?function(t){return t.trimEnd()}:function(t){return t.replace(Wf,"")};function _l(e,t){return new RegExp(e,t)}var xn;if(kn){var Ma=_l("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xn=function(t,i){var r;Ma.lastIndex=i;var n=Ma.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else xn=function(t,i){for(var r=[];;){var n=gl(t,i);if(n===void 0||yl(n)||ac(n))break;r.push(n),i+=n>=65536?2:1}return En.apply(void 0,r)};var ic=function(){function e(t,i){i===void 0&&(i={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!i.ignoreTag,this.locale=i.locale,this.requiresOtherClause=!!i.requiresOtherClause,this.shouldParseSkeletons=!!i.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,i,r){for(var n=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(t,r);if(s.err)return s;n.push(s.val)}else{if(a===125&&t>0)break;if(a===35&&(i==="plural"||i==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:K.pound,location:I(l,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(H.UNMATCHED_CLOSING_TAG,I(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Mn(this.peek()||0)){var s=this.parseTag(t,i);if(s.err)return s;n.push(s.val)}else{var s=this.parseLiteral(t,i);if(s.err)return s;n.push(s.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,i){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:K.literal,value:"<".concat(n,"/>"),location:I(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,i,!0);if(a.err)return a;var s=a.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Mn(this.char()))return this.error(H.INVALID_TAG,I(l,this.clonePosition()));var o=this.clonePosition(),u=this.parseTagName();return n!==u?this.error(H.UNMATCHED_CLOSING_TAG,I(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:K.tag,value:n,children:s,location:I(r,this.clonePosition())},err:null}:this.error(H.INVALID_TAG,I(l,this.clonePosition())))}else return this.error(H.UNCLOSED_TAG,I(r,this.clonePosition()))}else return this.error(H.INVALID_TAG,I(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&nc(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var r=this.clonePosition(),n="";;){var a=this.tryParseQuote(i);if(a){n+=a;continue}var s=this.tryParseUnquoted(t,i);if(s){n+=s;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var o=I(r,this.clonePosition());return{val:{type:K.literal,value:n,location:o},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!rc(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var i=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(r);this.bump()}return En.apply(void 0,i)},e.prototype.tryParseUnquoted=function(t,i){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(i==="plural"||i==="selectordinal")||r===125&&t>0?null:(this.bump(),En(r))},e.prototype.parseArgument=function(t,i){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,I(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(H.EMPTY_ARGUMENT,I(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(H.MALFORMED_ARGUMENT,I(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,I(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:K.argument,value:n,location:I(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,I(r,this.clonePosition())):this.parseArgumentOptions(t,i,n,r);default:return this.error(H.MALFORMED_ARGUMENT,I(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),r=xn(this.message,i),n=i+r.length;this.bumpTo(n);var a=this.clonePosition(),s=I(t,a);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,i,r,n){var a,s=this.clonePosition(),l=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(l){case"":return this.error(H.EXPECT_ARGUMENT_TYPE,I(s,o));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var f=tc(c.val);if(f.length===0)return this.error(H.EXPECT_ARGUMENT_STYLE,I(this.clonePosition(),this.clonePosition()));var w=I(h,this.clonePosition());u={style:f,styleLocation:w}}var _=this.tryParseArgumentClose(n);if(_.err)return _;var M=I(n,this.clonePosition());if(u&&Ea(u==null?void 0:u.style,"::",0)){var ae=ec(u.style.slice(2));if(l==="number"){var c=this.parseNumberSkeletonFromString(ae,u.styleLocation);return c.err?c:{val:{type:K.number,value:r,location:M,style:c.val},err:null}}else{if(ae.length===0)return this.error(H.EXPECT_DATE_TIME_SKELETON,M);var se=ae;this.locale&&(se=Yf(ae,this.locale));var f={type:li.dateTime,pattern:se,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Hf(se):{}},te=l==="date"?K.date:K.time;return{val:{type:te,value:r,location:M,style:f},err:null}}}return{val:{type:l==="number"?K.number:l==="date"?K.date:K.time,value:r,location:M,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var N=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS,I(N,F({},N)));this.bumpSpace();var ee=this.parseIdentifierIfPossible(),X=0;if(l!=="select"&&ee.value==="offset"){if(!this.bumpIf(":"))return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,I(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),ee=this.parseIdentifierIfPossible(),X=c.val}var P=this.tryParsePluralOrSelectOptions(t,l,i,ee);if(P.err)return P;var _=this.tryParseArgumentClose(n);if(_.err)return _;var le=I(n,this.clonePosition());return l==="select"?{val:{type:K.select,value:r,options:xa(P.val),location:le},err:null}:{val:{type:K.plural,value:r,options:xa(P.val),offset:X,pluralType:l==="plural"?"cardinal":"ordinal",location:le},err:null}}default:return this.error(H.INVALID_ARGUMENT_TYPE,I(s,o))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,I(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,i=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,I(n,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(i.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(i.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,i){var r=[];try{r=Nf(t)}catch(n){return this.error(H.INVALID_NUMBER_SKELETON,i)}return{val:{type:li.number,tokens:r,location:i,parsedOptions:this.shouldParseSkeletons?Ff(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,r,n){for(var a,s=!1,l=[],o=new Set,u=n.value,h=n.location;;){if(u.length===0){var c=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR,H.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;h=I(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}else break}if(o.has(u))return this.error(i==="select"?H.DUPLICATE_SELECT_ARGUMENT_SELECTOR:H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(s=!0),this.bumpSpace();var w=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,I(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,i,r);if(_.err)return _;var M=this.tryParseArgumentClose(w);if(M.err)return M;l.push([u,{value:_.val,location:I(w,this.clonePosition())}]),o.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,h=a.location}return l.length===0?this.error(i==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR:H.EXPECT_PLURAL_ARGUMENT_SELECTOR,I(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(H.MISSING_OTHER_CLAUSE,I(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,s=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)a=!0,s=s*10+(l-48),this.bump();else break}var o=I(n,this.clonePosition());return a?(s*=r,Qf(s)?{val:s,err:null}:this.error(i,o)):this.error(t,o)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var i=gl(this.message,t);if(i===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return i},e.prototype.error=function(t,i){return{val:null,err:{kind:t,message:this.message,location:i}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ea(this.message,t,this.offset())){for(var i=0;i<t.length;i++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var i=this.offset(),r=this.message.indexOf(t,i);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var i=this.offset();if(i===t)break;if(i>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&yl(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),i=this.offset(),r=this.message.charCodeAt(i+(t>=65536?2:1));return r!=null?r:null},e}();function Mn(e){return e>=97&&e<=122||e>=65&&e<=90}function rc(e){return Mn(e)||e===47}function nc(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function yl(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ac(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Dn(e){e.forEach(function(t){if(delete t.location,ol(t)||ul(t))for(var i in t.options)delete t.options[i].location,Dn(t.options[i].value);else al(t)&&hl(t.style)||(sl(t)||ll(t))&&Sn(t.style)?delete t.style.location:dl(t)&&Dn(t.children)})}function sc(e,t){t===void 0&&(t={}),t=F({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new ic(e,t).parse();if(i.err){var r=SyntaxError(H[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t!=null&&t.captureLocation||Dn(i.val),i.val}var oi;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(oi||(oi={}));var zr=function(e){Wr(t,e);function t(i,r,n){var a=e.call(this,i)||this;return a.code=r,a.originalMessage=n,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Da=function(e){Wr(t,e);function t(i,r,n,a){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),oi.INVALID_VALUE,a)||this}return t}(zr),lc=function(e){Wr(t,e);function t(i,r,n){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(r),oi.INVALID_VALUE,n)||this}return t}(zr),oc=function(e){Wr(t,e);function t(i,r){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(r,'"'),oi.MISSING_VALUE,r)||this}return t}(zr),be;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(be||(be={}));function uc(e){return e.length<2?e:e.reduce(function(t,i){var r=t[t.length-1];return!r||r.type!==be.literal||i.type!==be.literal?t.push(i):r.value+=i.value,t},[])}function dc(e){return typeof e=="function"}function Lr(e,t,i,r,n,a,s){if(e.length===1&&wa(e[0]))return[{type:be.literal,value:e[0].value}];for(var l=[],o=0,u=e;o<u.length;o++){var h=u[o];if(wa(h)){l.push({type:be.literal,value:h.value});continue}if(Of(h)){typeof a=="number"&&l.push({type:be.literal,value:i.getNumberFormat(t).format(a)});continue}var c=h.value;if(!(n&&c in n))throw new oc(c,s);var f=n[c];if(Af(h)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),l.push({type:typeof f=="string"?be.literal:be.object,value:f});continue}if(sl(h)){var w=typeof h.style=="string"?r.date[h.style]:Sn(h.style)?h.style.parsedOptions:void 0;l.push({type:be.literal,value:i.getDateTimeFormat(t,w).format(f)});continue}if(ll(h)){var w=typeof h.style=="string"?r.time[h.style]:Sn(h.style)?h.style.parsedOptions:r.time.medium;l.push({type:be.literal,value:i.getDateTimeFormat(t,w).format(f)});continue}if(al(h)){var w=typeof h.style=="string"?r.number[h.style]:hl(h.style)?h.style.parsedOptions:void 0;w&&w.scale&&(f=f*(w.scale||1)),l.push({type:be.literal,value:i.getNumberFormat(t,w).format(f)});continue}if(dl(h)){var _=h.children,M=h.value,ae=n[M];if(!dc(ae))throw new lc(M,"function",s);var se=Lr(_,t,i,r,n,a),te=ae(se.map(function(X){return X.value}));Array.isArray(te)||(te=[te]),l.push.apply(l,te.map(function(X){return{type:typeof X=="string"?be.literal:be.object,value:X}}))}if(ol(h)){var N=h.options[f]||h.options.other;if(!N)throw new Da(h.value,f,Object.keys(h.options),s);l.push.apply(l,Lr(N.value,t,i,r,n));continue}if(ul(h)){var N=h.options["=".concat(f)];if(!N){if(!Intl.PluralRules)throw new zr(`Intl.PluralRules is not available in this environment.
|
|
24
24
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
25
|
-
`,oi.MISSING_INTL_API,s);var ee=i.getPluralRules(t,{type:h.pluralType}).select(f-(h.offset||0));N=h.options[ee]||h.options.other}if(!N)throw new Aa(h.value,f,Object.keys(h.options),s);l.push.apply(l,Lr(N.value,t,i,r,n,f-(h.offset||0)));continue}}return dc(l)}function fc(e,t){return t?F(F(F({},e||{}),t||{}),Object.keys(e).reduce(function(i,r){return i[r]=F(F({},e[r]),t[r]||{}),i},{})):e}function cc(e,t){return t?Object.keys(e).reduce(function(i,r){return i[r]=fc(e[r],t[r]),i},F({},e)):e}function fn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function mc(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:un(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,on([void 0],i,!1)))},{cache:fn(e.number),strategy:dn.variadic}),getDateTimeFormat:un(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,on([void 0],i,!1)))},{cache:fn(e.dateTime),strategy:dn.variadic}),getPluralRules:un(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,on([void 0],i,!1)))},{cache:fn(e.pluralRules),strategy:dn.variadic})}}var pc=function(){function e(t,i,r,n){i===void 0&&(i=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(o){var u=a.formatToParts(o);if(u.length===1)return u[0].value;var h=u.reduce(function(c,f){return!c.length||f.type!==be.literal||typeof c[c.length-1]!="string"?c.push(f.value):c[c.length-1]+=f.value,c},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(o){return Lr(a.ast,a.locales,a.formatters,a.formats,o,void 0,a.message)},this.resolvedOptions=function(){var o;return{locale:((o=a.resolvedLocale)===null||o===void 0?void 0:o.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=n||{};s.formatters;var l=kf(s,["formatters"]);this.ast=e.__parse(t,F(F({},l),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=cc(e.formats,r),this.formatters=n&&n.formatters||mc(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var i=Intl.NumberFormat.supportedLocalesOf(t);return i.length>0?new Intl.Locale(i[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=lc,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function gc(e,t){if(t==null)return;if(t in e)return e[t];const i=t.split(".");let r=e;for(let n=0;n<i.length;n++)if(typeof r=="object"){if(n>0){const a=i.slice(n,i.length).join(".");if(a in r){r=r[a];break}}r=r[i[n]]}else r=void 0;return r}const Lt={},_c=(e,t,i)=>i&&(t in Lt||(Lt[t]={}),e in Lt[t]||(Lt[t][e]=i),i),Ll=(e,t)=>{if(t==null)return;if(t in Lt&&e in Lt[t])return Lt[t][e];const i=Vr(t);for(let r=0;r<i.length;r++){const n=i[r],a=bc(n,e);if(a)return _c(e,t,a)}};let ta;const Zi=Gr({});function yc(e){return ta[e]||null}function wl(e){return e in ta}function bc(e,t){if(!wl(e))return null;const i=yc(e);return gc(i,t)}function vc(e){if(e==null)return;const t=Vr(e);for(let i=0;i<t.length;i++){const r=t[i];if(wl(r))return r}}function Tl(e,...t){delete Lt[e],Zi.update(i=>(i[e]=Sf.all([i[e]||{},...t]),i))}ci([Zi],([e])=>Object.keys(e));Zi.subscribe(e=>ta=e);const wr={};function Lc(e,t){wr[e].delete(t),wr[e].size===0&&delete wr[e]}function Sl(e){return wr[e]}function wc(e){return Vr(e).map(t=>{const i=Sl(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function Pn(e){return e==null?!1:Vr(e).some(t=>{var i;return(i=Sl(t))==null?void 0:i.size})}function Tc(e,t){return Promise.all(t.map(r=>(Lc(e,r),r().then(n=>n.default||n)))).then(r=>Tl(e,...r))}const Hi={};function kl(e){if(!Pn(e))return e in Hi?Hi[e]:Promise.resolve();const t=wc(e);return Hi[e]=Promise.all(t.map(([i,r])=>Tc(i,r))).then(()=>{if(Pn(e))return kl(e);delete Hi[e]}),Hi[e]}const Sc={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"}}},kc={fallbackLocale:null,loadingDelay:200,formats:Sc,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ec=kc;function ui(){return Ec}const cn=Gr(!1);var xc=Object.defineProperty,Mc=Object.defineProperties,Dc=Object.getOwnPropertyDescriptors,Oa=Object.getOwnPropertySymbols,Pc=Object.prototype.hasOwnProperty,Ac=Object.prototype.propertyIsEnumerable,Ca=(e,t,i)=>t in e?xc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Oc=(e,t)=>{for(var i in t||(t={}))Pc.call(t,i)&&Ca(e,i,t[i]);if(Oa)for(var i of Oa(t))Ac.call(t,i)&&Ca(e,i,t[i]);return e},Cc=(e,t)=>Mc(e,Dc(t));let An;const Dr=Gr(null);function Ha(e){return e.split("-").map((t,i,r)=>r.slice(0,i+1).join("-")).reverse()}function Vr(e,t=ui().fallbackLocale){const i=Ha(e);return t?[...new Set([...i,...Ha(t)])]:i}function Ot(){return An!=null?An:void 0}Dr.subscribe(e=>{An=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Hc=e=>{if(e&&vc(e)&&Pn(e)){const{loadingDelay:t}=ui();let i;return typeof window!="undefined"&&Ot()!=null&&t?i=window.setTimeout(()=>cn.set(!0),t):cn.set(!0),kl(e).then(()=>{Dr.set(e)}).finally(()=>{clearTimeout(i),cn.set(!1)})}return Dr.set(e)},mi=Cc(Oc({},Dr),{set:Hc}),$r=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var Rc=Object.defineProperty,Pr=Object.getOwnPropertySymbols,El=Object.prototype.hasOwnProperty,xl=Object.prototype.propertyIsEnumerable,Ra=(e,t,i)=>t in e?Rc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ia=(e,t)=>{for(var i in t||(t={}))El.call(t,i)&&Ra(e,i,t[i]);if(Pr)for(var i of Pr(t))xl.call(t,i)&&Ra(e,i,t[i]);return e},pi=(e,t)=>{var i={};for(var r in e)El.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&Pr)for(var r of Pr(e))t.indexOf(r)<0&&xl.call(e,r)&&(i[r]=e[r]);return i};const Wi=(e,t)=>{const{formats:i}=ui();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Nc=$r(e=>{var t=e,{locale:i,format:r}=t,n=pi(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Wi("number",r)),new Intl.NumberFormat(i,n)}),Ic=$r(e=>{var t=e,{locale:i,format:r}=t,n=pi(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Wi("date",r):Object.keys(n).length===0&&(n=Wi("date","short")),new Intl.DateTimeFormat(i,n)}),Uc=$r(e=>{var t=e,{locale:i,format:r}=t,n=pi(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Wi("time",r):Object.keys(n).length===0&&(n=Wi("time","short")),new Intl.DateTimeFormat(i,n)}),Bc=(e={})=>{var t=e,{locale:i=Ot()}=t,r=pi(t,["locale"]);return Nc(ia({locale:i},r))},Fc=(e={})=>{var t=e,{locale:i=Ot()}=t,r=pi(t,["locale"]);return Ic(ia({locale:i},r))},Yc=(e={})=>{var t=e,{locale:i=Ot()}=t,r=pi(t,["locale"]);return Uc(ia({locale:i},r))},jc=$r((e,t=Ot())=>new pc(e,t,ui().formats,{ignoreTag:ui().ignoreTag})),Gc=(e,t={})=>{var i,r,n,a;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:l,locale:o=Ot(),default:u}=s;if(o==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Ll(e,o);if(!h)h=(a=(n=(r=(i=ui()).handleMissingMessage)==null?void 0:r.call(i,{locale:o,id:e,defaultValue:u}))!=null?n:u)!=null?a:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!l)return h;let c=h;try{c=jc(h,o).format(l)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,f.message)}return c},Wc=(e,t)=>Yc(t).format(e),zc=(e,t)=>Fc(t).format(e),Vc=(e,t)=>Bc(t).format(e),$c=(e,t=Ot())=>Ll(e,t),qc=ci([mi,Zi],()=>Gc);ci([mi],()=>Wc);ci([mi],()=>zc);ci([mi],()=>Vc);ci([mi,Zi],()=>$c);function Na(e,t){Tl(e,t)}function Zc(e){mi.set(e)}const Ia={en:{noLimitToDisplay:"The user has not set a limit...",depositLimitHeader:"Deposit limit",lossLimitHeader:"Loss limit",wageringLimitHeader:"Wagering limit",spentAmount:"Spent amount",remainingAmount:"Remaining amount",limitPeriod:"Limit period",displayedProduct:"Product",futureLimit:"Future limit",additionalLink1:"Last deposit transaction details",additionalLink2:"Transactions in period",limitRemoved:"This limit has been removed and is valid until",limitUpdated:"This limit will be applied beginning with",changeLimitLabel:"Period",futureAmount:"Future amount",limitTypeLabel:"Limit type",fetchLimitDefError:"Failed to fetch limit definitions.",fetchLimitBalanceError:"Failed to fetch limit balance.",invalidUrl:"Failed to construct 'URL': Invalid URL",startLabel:"Start",resetLabel:"Reset",infoLabel:"Info",walletLabel:"Wallet",walletsLabel:"Wallets",addLimitTitle:"Add limit",editLimitTitle:"Edit Limit",deleteLimitTitle:"Delete limit",cancelScheduleTitle:"Cancel schedule",addLimitText:"Add monetary limit",limitWalletTypeLabel:"Wallet type"},"zh-hk":{noLimitToDisplay:"使用者尚未設定限額...",depositLimitHeader:"存款限額",lossLimitHeader:"損失限額",wageringLimitHeader:"押注限額",spentAmount:"花費金額",remainingAmount:"剩餘金額",limitPeriod:"限制期限",displayedProduct:"產品",futureLimit:"未來限額",additionalLink1:"最後存款交易詳情",additionalLink2:"期間交易",limitRemoved:"此限額已移除,有效期至",limitUpdated:"此限額將自以下日期開始生效",changeLimitLabel:"期限",futureAmount:"未來金額",limitTypeLabel:"限額類型",fetchLimitDefError:"無法獲取限額定義。",fetchLimitBalanceError:"無法獲取限額餘額。",invalidUrl:"無法構建 'URL':URL 無效",startLabel:"開始",resetLabel:"重設",infoLabel:"信息",walletLabel:"錢包",walletsLabel:"錢包",addLimitTitle:"新增限制",editLimitTitle:"編輯限制",deleteLimitTitle:"刪除限制",cancelScheduleTitle:"取消行程",addLimitText:"新增貨幣限額",limitWalletTypeLabel:"钱包类型"},de:{noLimitToDisplay:"Der Benutzer hat kein Limit festgelegt...",depositLimitHeader:"Einzahlungslimit",lossLimitHeader:"Verlustgrenze",wageringLimitHeader:"Wetteinsatzgrenze",spentAmount:"Ausgegebener Betrag",remainingAmount:"Verbleibender Betrag",limitPeriod:"Begrenzungszeitraum",displayedProduct:"Produkt",futureLimit:"Zukünftiges Limit",additionalLink1:"Details zur letzten Einzahlungstransaktion",additionalLink2:"Transaktionen im Zeitraum",limitRemoved:"Dieses Limit wurde entfernt und ist gültig bis",limitUpdated:"Dieses Limit wird ab dem folgenden Datum angewendet",changeLimitLabel:"Zeitraum",futureAmount:"Zukünftiger Betrag",limitTypeLabel:"Limit Typ",fetchLimitDefError:"Fehler beim Abrufen von Limitdefinitionen.",fetchLimitBalanceError:"Fehler beim Abrufen des Limitbetrags.",invalidUrl:"Fehler beim Erstellen der URL: Ungültige URL",startLabel:"Start",resetLabel:"Zurücksetzen",infoLabel:"Info",walletLabel:"Brieftasche",walletsLabel:"Brieftaschen",addLimitTitle:"Limit hinzufügen",editLimitTitle:"Limit bearbeiten",deleteLimitTitle:"Limit löschen",cancelScheduleTitle:"Zeitplan abbrechen",addLimitText:"Geldlimit hinzufügen",limitWalletTypeLabel:"Geldbörsentyp"},it:{noLimitToDisplay:"L'utente non ha impostato un limite...",depositLimitHeader:"Limite di deposito",lossLimitHeader:"Limite di perdita",wageringLimitHeader:"Limite di scommessa",spentAmount:"Importo speso",remainingAmount:"Importo residuo",limitPeriod:"Periodo limite",displayedProduct:"Prodotto",futureLimit:"Limite futuro",additionalLink1:"Dettagli della transazione dell'ultimo deposito",additionalLink2:"Deposito nel periodo",limitRemoved:"Questo limite è stato rimosso ed è valido fino a",limitUpdated:"Questo limite sarà applicato a partire da",changeLimitLabel:"Cambia limite",futureAmount:"Importo futuro",limitTypeLabel:"Tipo di limite",fetchLimitDefError:"Impossibile recuperare le definizioni di limite.",fetchLimitBalanceError:"Impossibile recuperare il saldo limite.",invalidUrl:"Impossibile costruire l'URL: URL non valido",startLabel:"Inizio",resetLabel:"Ripristina",infoLabel:"Info",walletLabel:"Portafoglio",walletsLabel:"Portafogli",addLimitTitle:"Aggiungi limite",editLimitTitle:"Modifica limite",deleteLimitTitle:"Elimina limite",cancelScheduleTitle:"Annulla pianificazione",addLimitText:"Aggiungi limite monetario",limitWalletTypeLabel:"Tipo di portafoglio"},fr:{noLimitToDisplay:"L'utilisateur n'a pas fixé de limite...",depositLimitHeader:"Limite de dépôt",lossLimitHeader:"Limite de perte",wageringLimitHeader:"Limite de mise",spentAmount:"Montant dépensé",remainingAmount:"Montant restant",limitPeriod:"Délai limite",displayedProduct:"Produit",futureLimit:"Limite future",additionalLink1:"Détails de la transaction du dernier dépôt",additionalLink2:"Dépôt en période",limitRemoved:"Cette limite a été supprimée et est valide jusqu'à",limitUpdated:"Cette limite sera appliquée à partir de",changeLimitLabel:"Changer de limite",futureAmount:"Montant futur",limitTypeLabel:"Type de limite",fetchLimitDefError:"Échec du téléchargement des définitions de limite.",fetchLimitBalanceError:"Échec du téléchargement du solde limite.",invalidUrl:"Échec de la construction de 'URL' : URL non valide",startLabel:"Démarrer",resetLabel:"Réinitialiser",infoLabel:"Info",walletLabel:"Portefeuille",walletsLabel:"Portefeuilles",addLimitTitle:"Ajouter une limite",editLimitTitle:"Modifier la limite",deleteLimitTitle:"Supprimer la limite",cancelScheduleTitle:"Annuler le planning",addLimitText:"Ajouter une limite monétaire",limitWalletTypeLabel:"Type de portefeuille"},es:{noLimitToDisplay:"El usuario no ha establecido un límite...",depositLimitHeader:"Límite de depósito",lossLimitHeader:"Límite de pérdida",wageringLimitHeader:"Límite de apuesta",spentAmount:"Monto gastado",remainingAmount:"Monto restante",limitPeriod:"Período de límite",displayedProduct:"Producto",futureLimit:"Límite futuro",additionalLink1:"Detalles de la última transacción de depósito",additionalLink2:"Depósito en el período",limitRemoved:"Este límite ha sido eliminado y es válido hasta",limitUpdated:"Este límite se aplicará a partir de",changeLimitLabel:"Cambiar límite",futureAmount:"Monto futuro",limitTypeLabel:"Tipo de límite",fetchLimitDefError:"Error al obtener definiciones de límite.",fetchLimitBalanceError:"Error al obtener el saldo del límite.",invalidUrl:"Error al construir 'URL': URL inválida",startLabel:"Comienzo",resetLabel:"Reiniciar",infoLabel:"Información",walletLabel:"Cartera",walletsLabel:"Carteras",addLimitTitle:"Agregar límite",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación",addLimitText:"Agregar límite monetario",limitWalletTypeLabel:"Tipo de billetera"},el:{noLimitToDisplay:"Ο χρήστης δεν έχει ορίσει όριο...",depositLimitHeader:"Όριο κατάθεσης",lossLimitHeader:"Όριο απώλειας",wageringLimitHeader:"Όριο στοίχημα",spentAmount:"Ποσό που έχει δαπανηθεί",remainingAmount:"Υπόλοιπο ποσό",limitPeriod:"Περίοδος ορίου",displayedProduct:"Προϊόν",futureLimit:"Μελλοντικό όριο",additionalLink1:"Λεπτομέρειες της τελευταίας συναλλαγής κατάθεσης",additionalLink2:"Καταθέσεις κατά την περίοδο",limitRemoved:"Αυτό το όριο έχει καταργηθεί και είναι έγκυρο μέχρι",limitUpdated:"Αυτό το όριο θα εφαρμοστεί από",changeLimitLabel:"Αλλαγή ορίου",futureAmount:"Μελλοντικό ποσό",limitTypeLabel:"Τύπος ορίου",fetchLimitDefError:"Αποτυχία λήψης ορισμών ορίου.",fetchLimitBalanceError:"Αποτυχία λήψης υπολοίπου ορίου.",invalidUrl:"Αποτυχία κατασκευής 'URL': Μη έγκυρη διεύθυνση URL",startLabel:"Έναρξη",resetLabel:"Επαναφορά",infoLabel:"Πληροφορίες",walletLabel:"Πορτοφόλι",walletsLabel:"Πορτοφόλια",addLimitTitle:"Προσθήκη ορίου",editLimitTitle:"Επεξεργασία ορίου",deleteLimitTitle:"Διαγραφή ορίου",cancelScheduleTitle:"Ακύρωση προγράμματος",addLimitText:"Προσθήκη νομισματικού ορίου",limitWalletTypeLabel:"Τύπος πορτοφολιού"},tr:{noLimitToDisplay:"Kullanıcı bir sınırlama belirlemedi...",depositLimitHeader:"Yatırım limiti",lossLimitHeader:"Kayıp limiti",wageringLimitHeader:"Bahis limiti",spentAmount:"Harcamış miktar",remainingAmount:"Kalan miktar",limitPeriod:"Limit süresi",displayedProduct:"Ürün",futureLimit:"Gelecek limit",additionalLink1:"Son yatırım işlemi detayları",additionalLink2:"Dönemdeki işlemler",limitRemoved:"Bu limit kaldırıldı ve geçerli",limitUpdated:"Bu limit aşağıdaki tarihte uygulanacaktır",changeLimitLabel:"Dönem",futureAmount:"Gelecek miktar",limitTypeLabel:"Limit türü",fetchLimitDefError:"Limit tanımları alınamadı.",fetchLimitBalanceError:"Limit bakiyesi alınamadı.",invalidUrl:"'URL' oluşturulamadı: Geçersiz URL",startLabel:"Başlangıç",resetLabel:"Sıfırla",infoLabel:"Bilgi",walletLabel:"Cüzdan",walletsLabel:"Cüzdanlar",addLimitTitle:"Sınır ekle",editLimitTitle:"Sınırı Düzenle",deleteLimitTitle:"Sınırı sil",cancelScheduleTitle:"Programı iptal et",addLimitText:"Para limiti ekle",limitWalletTypeLabel:"Cüzdan türü"},ru:{noLimitToDisplay:"Пользователь не установил лимит...",depositLimitHeader:"Лимит депозита",lossLimitHeader:"Лимит потерь",wageringLimitHeader:"Лимит ставок",spentAmount:"Потраченная сумма",remainingAmount:"Оставшаяся сумма",limitPeriod:"Период лимита",displayedProduct:"Продукт",futureLimit:"Будущий лимит",additionalLink1:"Детали последней транзакции депозита",additionalLink2:"Транзакции за период",limitRemoved:"Этот лимит был удален и действует до",limitUpdated:"Этот лимит будет применен с",changeLimitLabel:"Изменить лимит",futureAmount:"Будущая сумма",limitTypeLabel:"Тип лимита",fetchLimitDefError:"Не удалось получить определения лимита.",fetchLimitBalanceError:"Не удалось получить баланс лимита.",invalidUrl:"Не удалось построить 'URL': Недопустимый URL",startLabel:"Начало",resetLabel:"Сброс",infoLabel:"Информация",walletLabel:"Кошелек",walletsLabel:"Кошельки",addLimitTitle:"Добавить лимит",editLimitTitle:"Изменить лимит",deleteLimitTitle:"Удалить лимит",cancelScheduleTitle:"Отменить расписание",addLimitText:"Добавить денежный лимит",limitWalletTypeLabel:"Тип кошелька"},ro:{noLimitToDisplay:"Utilizatorul nu a setat nicio limită...",depositLimitHeader:"Limită de depunere",lossLimitHeader:"Limită de pierdere",wageringLimitHeader:"Limită de pariere",spentAmount:"Suma cheltuită",remainingAmount:"Suma rămasă",limitPeriod:"Perioadă limită",displayedProduct:"Produs",futureLimit:"Limită viitoare",additionalLink1:"Detalii ultima tranzacție de depunere",additionalLink2:"Tranzacții în perioadă",limitRemoved:"Această limită a fost eliminată și este validă până la",limitUpdated:"Această limită va fi aplicată începând cu",changeLimitLabel:"Schimbă limita",futureAmount:"Suma viitoare",limitTypeLabel:"Tipul limitei",fetchLimitDefError:"Eșec la preluarea definițiilor de limită.",fetchLimitBalanceError:"Eșec la preluarea balanței limitelor.",invalidUrl:"Eșec la construirea 'URL-ului': URL invalid",startLabel:"Start",resetLabel:"Resetare",infoLabel:"Info",walletLabel:"Portofel",walletsLabel:"Portofele",addLimitTitle:"Adăugați limită",editLimitTitle:"Editați limita",deleteLimitTitle:"Ștergeți limita",cancelScheduleTitle:"Anulați programul",addLimitText:"Adăugați o limită monetară",limitWalletTypeLabel:"Tip portofel"},hr:{noLimitToDisplay:"Korisnik nije postavio limit...",depositLimitHeader:"Limit uplate",lossLimitHeader:"Limit gubitka",wageringLimitHeader:"Limit klađenja",spentAmount:"Potrošeni iznos",remainingAmount:"Preostali iznos",limitPeriod:"Period limita",displayedProduct:"Proizvod",futureLimit:"Budući limit",additionalLink1:"Detalji posljednje transakcije uplate",additionalLink2:"Transakcije u periodu",limitRemoved:"Ovaj limit je uklonjen i važi do",limitUpdated:"Ovaj limit će biti primijenjen počevši od",changeLimitLabel:"Promijeni limit",futureAmount:"Budući iznos",limitTypeLabel:"Vrsta limita",fetchLimitDefError:"Nije uspjelo preuzimanje definicija limita.",fetchLimitBalanceError:"Nije uspjelo preuzimanje stanja limita.",invalidUrl:"Nije uspjelo konstruiranje 'URL'-a: Nevaljan URL",startLabel:"Početak",resetLabel:"Resetiraj",infoLabel:"Informacije",walletLabel:"Novčanik",walletsLabel:"Novčanici",addLimitTitle:"Dodaj ograničenje",editLimitTitle:"Uredi ograničenje",deleteLimitTitle:"Ograničenje brisanja",cancelScheduleTitle:"Otkaži raspored",addLimitText:"Dodaj novčani limit",limitWalletTypeLabel:"Vrsta novčanika"},hu:{noLimitToDisplay:"A felhasználó nem állított be korlátot...",depositLimitHeader:"Befizetési limit",lossLimitHeader:"Veszteségkorlát",wageringLimitHeader:"Tétlimit",spentAmount:"Elköltött összeg",remainingAmount:"Fennmaradó összeg",limitPeriod:"Korlát időtartama",displayedProduct:"Termék",futureLimit:"Jövőbeli limit",additionalLink1:"Legutóbbi befizetési tranzakció részletei",additionalLink2:"Tranzakciók időszakban",limitRemoved:"Ez a korlát eltávolításra került és érvényes",limitUpdated:"Ez a korlát alkalmazásra kerül a következőtől",changeLimitLabel:"Korlát módosítása",futureAmount:"Jövőbeli összeg",limitTypeLabel:"Korlát típusa",fetchLimitDefError:"Nem sikerült letölteni a korlát definíciókat.",fetchLimitBalanceError:"Nem sikerült letölteni a korlát egyenlegét.",invalidUrl:"Nem sikerült létrehozni az 'URL'-t: Érvénytelen URL",startLabel:"Indítás",resetLabel:"Visszaállítás",infoLabel:"Információ",walletLabel:"Pénztárca",walletsLabel:"Pénztárcák",addLimitTitle:"Korlát hozzáadása",editLimitTitle:"Korlát szerkesztése",deleteLimitTitle:"Korlát törlése",cancelScheduleTitle:"Ütemezés törlése",addLimitText:"Pénzösszeg hozzáadása",limitWalletTypeLabel:"Pénztárca típusa"},pl:{noLimitToDisplay:"Użytkownik nie ustawił limitu...",depositLimitHeader:"Limit depozytu",lossLimitHeader:"Limit strat",wageringLimitHeader:"Limit zakładów",spentAmount:"Wydana kwota",remainingAmount:"Pozostała kwota",limitPeriod:"Okres limitu",displayedProduct:"Produkt",futureLimit:"Przyszły limit",additionalLink1:"Szczegóły ostatniej transakcji depozytowej",additionalLink2:"Transakcje w okresie",limitRemoved:"Ten limit został usunięty i jest ważny do",limitUpdated:"Ten limit będzie obowiązywać począwszy od",changeLimitLabel:"Zmień limit",futureAmount:"Przyszła kwota",limitTypeLabel:"Typ limitu",fetchLimitDefError:"Nie udało się pobrać definicji limitu.",fetchLimitBalanceError:"Nie udało się pobrać salda limitu.",invalidUrl:"Nie udało się skonstruować 'URL': Nieprawidłowy URL",startLabel:"Start",resetLabel:"Resetuj",infoLabel:"Informacje",walletLabel:"Portfel",walletsLabel:"Portfele",addLimitTitle:"Dodaj limit",editLimitTitle:"Limit edycji",deleteLimitTitle:"Usuń limit",cancelScheduleTitle:"Anuluj harmonogram",addLimitText:"Dodaj limit pieniężny",limitWalletTypeLabel:"Typ portfela"},pt:{noLimitToDisplay:"O usuário não definiu um limite...",depositLimitHeader:"Limite de depósito",lossLimitHeader:"Limite de perdas",wageringLimitHeader:"Limite de apostas",spentAmount:"Valor gasto",remainingAmount:"Valor restante",limitPeriod:"Período do limite",displayedProduct:"Produto",futureLimit:"Limite futuro",additionalLink1:"Detalhes da última transação de depósito",additionalLink2:"Transações no período",limitRemoved:"Este limite foi removido e é válido até",limitUpdated:"Este limite será aplicado a partir de",changeLimitLabel:"Alterar limite",futureAmount:"Valor futuro",limitTypeLabel:"Tipo de limite",fetchLimitDefError:"Falha ao buscar definições de limite.",fetchLimitBalanceError:"Falha ao buscar saldo do limite.",invalidUrl:"Falha ao construir 'URL': URL inválida",startLabel:"Iniciar",resetLabel:"Redefinir",infoLabel:"Informação",walletLabel:"Carteira",walletsLabel:"Carteiras",addLimitTitle:"Adicionar limite",editLimitTitle:"Editar Limite",deleteLimitTitle:"Excluir limite",cancelScheduleTitle:"Cancelar agendamento",addLimitText:"Adicionar limite monetário",limitWalletTypeLabel:"Tipo de carteira"},sl:{noLimitToDisplay:"Uporabnik ni določil omejitve...",depositLimitHeader:"Omejitev pologa",lossLimitHeader:"Omejitev izgub",wageringLimitHeader:"Omejitev stav",spentAmount:"Porabljen znesek",remainingAmount:"Preostali znesek",limitPeriod:"Obdobje omejitve",displayedProduct:"Izdelek",futureLimit:"Prihodnja omejitev",additionalLink1:"Podrobnosti zadnje transakcije pologa",additionalLink2:"Transakcije v obdobju",limitRemoved:"Ta omejitev je bila odstranjena in velja do",limitUpdated:"Ta omejitev bo veljavna od",changeLimitLabel:"Spremeni omejitev",futureAmount:"Prihodnji znesek",limitTypeLabel:"Vrsta omejitve",fetchLimitDefError:"Pridobivanje definicij omejitev ni uspelo.",fetchLimitBalanceError:"Pridobivanje stanja omejitev ni uspelo.",invalidUrl:"Izgradnja 'URL'-ja ni uspela: Neveljaven URL",startLabel:"Začni",resetLabel:"Ponastavi",infoLabel:"Informacije",walletLabel:"Denarnica",walletsLabel:"Denarnice",addLimitTitle:"Dodaj omejitev",editLimitTitle:"Uredi omejitev",deleteLimitTitle:"Omejitev brisanja",cancelScheduleTitle:"Prekliči razpored",addLimitText:"Dodaj denarno omejitev",limitWalletTypeLabel:"Vrsta denarnice"},sr:{noLimitToDisplay:"Korisnik nije postavio limit...",depositLimitHeader:"Limit depozita",lossLimitHeader:"Limit gubitka",wageringLimitHeader:"Limit klađenja",spentAmount:"Potrošeni iznos",remainingAmount:"Preostali iznos",limitPeriod:"Period limita",displayedProduct:"Proizvod",futureLimit:"Budući limit",additionalLink1:"Detalji poslednje transakcije depozita",additionalLink2:"Transakcije u periodu",limitRemoved:"Ovaj limit je uklonjen i važi do",limitUpdated:"Ovaj limit će se primeniti počevši od",changeLimitLabel:"Promeni limit",futureAmount:"Budući iznos",limitTypeLabel:"Vrsta limita",fetchLimitDefError:"Neuspeh u dobavljanju definicija limita.",fetchLimitBalanceError:"Neuspeh u dobavljanju stanja limita.",invalidUrl:"Neuspeh u konstrukciji 'URL'-a: Neispravan URL",startLabel:"Početak",resetLabel:"Resetuj",infoLabel:"Informacije",walletLabel:"Novčanik",walletsLabel:"Novčanici",addLimitTitle:"Додај ограничење",editLimitTitle:"Ограничење уређивања",deleteLimitTitle:"Избриши ограничење",cancelScheduleTitle:"Откажи распоред",addLimitText:"Додај новчано ограничење",limitWalletTypeLabel:"Тип новчаника"},"es-mx":{noLimitToDisplay:"El usuario no ha establecido un límite...",depositLimitHeader:"Límite de depósito",lossLimitHeader:"Límite de pérdida",wageringLimitHeader:"Límite de apuesta",spentAmount:"Monto gastado",remainingAmount:"Monto restante",limitPeriod:"Período de límite",displayedProduct:"Producto",futureLimit:"Límite futuro",additionalLink1:"Detalles de la última transacción de depósito",additionalLink2:"Transacciones en el período",limitRemoved:"Este límite ha sido eliminado y es válido hasta",limitUpdated:"Este límite se aplicará a partir de",changeLimitLabel:"Cambiar límite",futureAmount:"Monto futuro",limitTypeLabel:"Tipo de límite",fetchLimitDefError:"Error al obtener definiciones de límite.",fetchLimitBalanceError:"Error al obtener el saldo del límite.",invalidUrl:"Error al construir 'URL': URL inválida",startLabel:"Inicio",resetLabel:"Reiniciar",infoLabel:"Información",walletLabel:"Cartera",walletsLabel:"Carteras",addLimitTitle:"Agregar límite",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación",addLimitText:"Agregar límite monetario",limitWalletTypeLabel:"Tipo de billetera"},"pt-br":{noLimitToDisplay:"O usuário não definiu um limite...",depositLimitHeader:"Limite de depósito",lossLimitHeader:"Limite de perda",wageringLimitHeader:"Limite de apostas",spentAmount:"Valor gasto",remainingAmount:"Valor restante",limitPeriod:"Período de limite",displayedProduct:"Produto",futureLimit:"Limite futuro",additionalLink1:"Detalhes da última transação de depósito",additionalLink2:"Transações no período",limitRemoved:"Este limite foi removido e é válido até",limitUpdated:"Este limite será aplicado a partir de",changeLimitLabel:"Alterar limite",futureAmount:"Valor futuro",limitTypeLabel:"Tipo de limite",fetchLimitDefError:"Falha ao buscar definições de limite.",fetchLimitBalanceError:"Falha ao buscar saldo do limite.",invalidUrl:"Falha ao construir 'URL': URL inválida",startLabel:"Iniciar",resetLabel:"Redefinir",infoLabel:"Informação",walletLabel:"Carteira",walletsLabel:"Carteiras",addLimitTitle:"Agregar límite",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación",addLimitText:"Agregar límite monetario",limitWalletTypeLabel:"Tipo de carteira"}};function Xc(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function Jc(e,t){const i=new URL(t);fetch(i.href).then(r=>r.text()).then(r=>{const n=document.createElement("style");n.innerHTML=r,e&&e.appendChild(n)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function Qc(e,t,i){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(t,n=>{r.innerHTML=n,e&&e.appendChild(r)})}}const Kc=`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 386 193" fill="none">
|
|
25
|
+
`,oi.MISSING_INTL_API,s);var ee=i.getPluralRules(t,{type:h.pluralType}).select(f-(h.offset||0));N=h.options[ee]||h.options.other}if(!N)throw new Da(h.value,f,Object.keys(h.options),s);l.push.apply(l,Lr(N.value,t,i,r,n,f-(h.offset||0)));continue}}return uc(l)}function hc(e,t){return t?F(F(F({},e||{}),t||{}),Object.keys(e).reduce(function(i,r){return i[r]=F(F({},e[r]),t[r]||{}),i},{})):e}function fc(e,t){return t?Object.keys(e).reduce(function(i,r){return i[r]=hc(e[r],t[r]),i},F({},e)):e}function fn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function cc(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:un(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,on([void 0],i,!1)))},{cache:fn(e.number),strategy:dn.variadic}),getDateTimeFormat:un(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,on([void 0],i,!1)))},{cache:fn(e.dateTime),strategy:dn.variadic}),getPluralRules:un(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,on([void 0],i,!1)))},{cache:fn(e.pluralRules),strategy:dn.variadic})}}var mc=function(){function e(t,i,r,n){i===void 0&&(i=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(o){var u=a.formatToParts(o);if(u.length===1)return u[0].value;var h=u.reduce(function(c,f){return!c.length||f.type!==be.literal||typeof c[c.length-1]!="string"?c.push(f.value):c[c.length-1]+=f.value,c},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(o){return Lr(a.ast,a.locales,a.formatters,a.formats,o,void 0,a.message)},this.resolvedOptions=function(){var o;return{locale:((o=a.resolvedLocale)===null||o===void 0?void 0:o.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=n||{};s.formatters;var l=Tf(s,["formatters"]);this.ast=e.__parse(t,F(F({},l),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=fc(e.formats,r),this.formatters=n&&n.formatters||cc(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var i=Intl.NumberFormat.supportedLocalesOf(t);return i.length>0?new Intl.Locale(i[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=sc,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function pc(e,t){if(t==null)return;if(t in e)return e[t];const i=t.split(".");let r=e;for(let n=0;n<i.length;n++)if(typeof r=="object"){if(n>0){const a=i.slice(n,i.length).join(".");if(a in r){r=r[a];break}}r=r[i[n]]}else r=void 0;return r}const Lt={},gc=(e,t,i)=>i&&(t in Lt||(Lt[t]={}),e in Lt[t]||(Lt[t][e]=i),i),bl=(e,t)=>{if(t==null)return;if(t in Lt&&e in Lt[t])return Lt[t][e];const i=Vr(t);for(let r=0;r<i.length;r++){const n=i[r],a=yc(n,e);if(a)return gc(e,t,a)}};let Kn;const Zi=Gr({});function _c(e){return Kn[e]||null}function vl(e){return e in Kn}function yc(e,t){if(!vl(e))return null;const i=_c(e);return pc(i,t)}function bc(e){if(e==null)return;const t=Vr(e);for(let i=0;i<t.length;i++){const r=t[i];if(vl(r))return r}}function Ll(e,...t){delete Lt[e],Zi.update(i=>(i[e]=wf.all([i[e]||{},...t]),i))}ci([Zi],([e])=>Object.keys(e));Zi.subscribe(e=>Kn=e);const wr={};function vc(e,t){wr[e].delete(t),wr[e].size===0&&delete wr[e]}function wl(e){return wr[e]}function Lc(e){return Vr(e).map(t=>{const i=wl(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function Pn(e){return e==null?!1:Vr(e).some(t=>{var i;return(i=wl(t))==null?void 0:i.size})}function wc(e,t){return Promise.all(t.map(r=>(vc(e,r),r().then(n=>n.default||n)))).then(r=>Ll(e,...r))}const Hi={};function Tl(e){if(!Pn(e))return e in Hi?Hi[e]:Promise.resolve();const t=Lc(e);return Hi[e]=Promise.all(t.map(([i,r])=>wc(i,r))).then(()=>{if(Pn(e))return Tl(e);delete Hi[e]}),Hi[e]}const Tc={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"}}},Sc={fallbackLocale:null,loadingDelay:200,formats:Tc,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},kc=Sc;function ui(){return kc}const cn=Gr(!1);var Ec=Object.defineProperty,xc=Object.defineProperties,Mc=Object.getOwnPropertyDescriptors,Pa=Object.getOwnPropertySymbols,Dc=Object.prototype.hasOwnProperty,Pc=Object.prototype.propertyIsEnumerable,Aa=(e,t,i)=>t in e?Ec(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Ac=(e,t)=>{for(var i in t||(t={}))Dc.call(t,i)&&Aa(e,i,t[i]);if(Pa)for(var i of Pa(t))Pc.call(t,i)&&Aa(e,i,t[i]);return e},Oc=(e,t)=>xc(e,Mc(t));let An;const Dr=Gr(null);function Oa(e){return e.split("-").map((t,i,r)=>r.slice(0,i+1).join("-")).reverse()}function Vr(e,t=ui().fallbackLocale){const i=Oa(e);return t?[...new Set([...i,...Oa(t)])]:i}function Ot(){return An!=null?An:void 0}Dr.subscribe(e=>{An=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Cc=e=>{if(e&&bc(e)&&Pn(e)){const{loadingDelay:t}=ui();let i;return typeof window!="undefined"&&Ot()!=null&&t?i=window.setTimeout(()=>cn.set(!0),t):cn.set(!0),Tl(e).then(()=>{Dr.set(e)}).finally(()=>{clearTimeout(i),cn.set(!1)})}return Dr.set(e)},mi=Oc(Ac({},Dr),{set:Cc}),$r=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var Hc=Object.defineProperty,Pr=Object.getOwnPropertySymbols,Sl=Object.prototype.hasOwnProperty,kl=Object.prototype.propertyIsEnumerable,Ca=(e,t,i)=>t in e?Hc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ea=(e,t)=>{for(var i in t||(t={}))Sl.call(t,i)&&Ca(e,i,t[i]);if(Pr)for(var i of Pr(t))kl.call(t,i)&&Ca(e,i,t[i]);return e},pi=(e,t)=>{var i={};for(var r in e)Sl.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&Pr)for(var r of Pr(e))t.indexOf(r)<0&&kl.call(e,r)&&(i[r]=e[r]);return i};const Wi=(e,t)=>{const{formats:i}=ui();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Rc=$r(e=>{var t=e,{locale:i,format:r}=t,n=pi(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Wi("number",r)),new Intl.NumberFormat(i,n)}),Nc=$r(e=>{var t=e,{locale:i,format:r}=t,n=pi(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Wi("date",r):Object.keys(n).length===0&&(n=Wi("date","short")),new Intl.DateTimeFormat(i,n)}),Ic=$r(e=>{var t=e,{locale:i,format:r}=t,n=pi(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Wi("time",r):Object.keys(n).length===0&&(n=Wi("time","short")),new Intl.DateTimeFormat(i,n)}),Uc=(e={})=>{var t=e,{locale:i=Ot()}=t,r=pi(t,["locale"]);return Rc(ea({locale:i},r))},Bc=(e={})=>{var t=e,{locale:i=Ot()}=t,r=pi(t,["locale"]);return Nc(ea({locale:i},r))},Fc=(e={})=>{var t=e,{locale:i=Ot()}=t,r=pi(t,["locale"]);return Ic(ea({locale:i},r))},Yc=$r((e,t=Ot())=>new mc(e,t,ui().formats,{ignoreTag:ui().ignoreTag})),jc=(e,t={})=>{var i,r,n,a;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:l,locale:o=Ot(),default:u}=s;if(o==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=bl(e,o);if(!h)h=(a=(n=(r=(i=ui()).handleMissingMessage)==null?void 0:r.call(i,{locale:o,id:e,defaultValue:u}))!=null?n:u)!=null?a:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!l)return h;let c=h;try{c=Yc(h,o).format(l)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,f.message)}return c},Gc=(e,t)=>Fc(t).format(e),Wc=(e,t)=>Bc(t).format(e),zc=(e,t)=>Uc(t).format(e),Vc=(e,t=Ot())=>bl(e,t),$c=ci([mi,Zi],()=>jc);ci([mi],()=>Gc);ci([mi],()=>Wc);ci([mi],()=>zc);ci([mi,Zi],()=>Vc);function Ha(e,t){Ll(e,t)}function qc(e){mi.set(e)}const Ra={en:{noLimitToDisplay:"The user has not set a limit...",depositLimitHeader:"Deposit limit",lossLimitHeader:"Loss limit",wageringLimitHeader:"Wagering limit",spentAmount:"Spent amount",remainingAmount:"Remaining amount",limitPeriod:"Limit period",displayedProduct:"Product",futureLimit:"Future limit",additionalLink1:"Last deposit transaction details",additionalLink2:"Transactions in period",limitRemoved:"This limit has been removed and is valid until",limitUpdated:"This limit will be applied beginning with",changeLimitLabel:"Period",futureAmount:"Future amount",limitTypeLabel:"Limit type",fetchLimitDefError:"Failed to fetch limit definitions.",fetchLimitBalanceError:"Failed to fetch limit balance.",invalidUrl:"Failed to construct 'URL': Invalid URL",startLabel:"Start",resetLabel:"Reset",infoLabel:"Info",walletLabel:"Wallet",walletsLabel:"Wallets",addLimitTitle:"Add limit",editLimitTitle:"Edit Limit",deleteLimitTitle:"Delete limit",cancelScheduleTitle:"Cancel schedule",addLimitText:"Add monetary limit",limitWalletTypeLabel:"Wallet type"},"zh-hk":{noLimitToDisplay:"使用者尚未設定限額...",depositLimitHeader:"存款限額",lossLimitHeader:"損失限額",wageringLimitHeader:"押注限額",spentAmount:"花費金額",remainingAmount:"剩餘金額",limitPeriod:"限制期限",displayedProduct:"產品",futureLimit:"未來限額",additionalLink1:"最後存款交易詳情",additionalLink2:"期間交易",limitRemoved:"此限額已移除,有效期至",limitUpdated:"此限額將自以下日期開始生效",changeLimitLabel:"期限",futureAmount:"未來金額",limitTypeLabel:"限額類型",fetchLimitDefError:"無法獲取限額定義。",fetchLimitBalanceError:"無法獲取限額餘額。",invalidUrl:"無法構建 'URL':URL 無效",startLabel:"開始",resetLabel:"重設",infoLabel:"信息",walletLabel:"錢包",walletsLabel:"錢包",addLimitTitle:"新增限制",editLimitTitle:"編輯限制",deleteLimitTitle:"刪除限制",cancelScheduleTitle:"取消行程",addLimitText:"新增貨幣限額",limitWalletTypeLabel:"钱包类型"},de:{noLimitToDisplay:"Der Benutzer hat kein Limit festgelegt...",depositLimitHeader:"Einzahlungslimit",lossLimitHeader:"Verlustgrenze",wageringLimitHeader:"Wetteinsatzgrenze",spentAmount:"Ausgegebener Betrag",remainingAmount:"Verbleibender Betrag",limitPeriod:"Begrenzungszeitraum",displayedProduct:"Produkt",futureLimit:"Zukünftiges Limit",additionalLink1:"Details zur letzten Einzahlungstransaktion",additionalLink2:"Transaktionen im Zeitraum",limitRemoved:"Dieses Limit wurde entfernt und ist gültig bis",limitUpdated:"Dieses Limit wird ab dem folgenden Datum angewendet",changeLimitLabel:"Zeitraum",futureAmount:"Zukünftiger Betrag",limitTypeLabel:"Limit Typ",fetchLimitDefError:"Fehler beim Abrufen von Limitdefinitionen.",fetchLimitBalanceError:"Fehler beim Abrufen des Limitbetrags.",invalidUrl:"Fehler beim Erstellen der URL: Ungültige URL",startLabel:"Start",resetLabel:"Zurücksetzen",infoLabel:"Info",walletLabel:"Brieftasche",walletsLabel:"Brieftaschen",addLimitTitle:"Limit hinzufügen",editLimitTitle:"Limit bearbeiten",deleteLimitTitle:"Limit löschen",cancelScheduleTitle:"Zeitplan abbrechen",addLimitText:"Geldlimit hinzufügen",limitWalletTypeLabel:"Geldbörsentyp"},it:{noLimitToDisplay:"L'utente non ha impostato un limite...",depositLimitHeader:"Limite di deposito",lossLimitHeader:"Limite di perdita",wageringLimitHeader:"Limite di scommessa",spentAmount:"Importo speso",remainingAmount:"Importo residuo",limitPeriod:"Periodo limite",displayedProduct:"Prodotto",futureLimit:"Limite futuro",additionalLink1:"Dettagli della transazione dell'ultimo deposito",additionalLink2:"Deposito nel periodo",limitRemoved:"Questo limite è stato rimosso ed è valido fino a",limitUpdated:"Questo limite sarà applicato a partire da",changeLimitLabel:"Cambia limite",futureAmount:"Importo futuro",limitTypeLabel:"Tipo di limite",fetchLimitDefError:"Impossibile recuperare le definizioni di limite.",fetchLimitBalanceError:"Impossibile recuperare il saldo limite.",invalidUrl:"Impossibile costruire l'URL: URL non valido",startLabel:"Inizio",resetLabel:"Ripristina",infoLabel:"Info",walletLabel:"Portafoglio",walletsLabel:"Portafogli",addLimitTitle:"Aggiungi limite",editLimitTitle:"Modifica limite",deleteLimitTitle:"Elimina limite",cancelScheduleTitle:"Annulla pianificazione",addLimitText:"Aggiungi limite monetario",limitWalletTypeLabel:"Tipo di portafoglio"},fr:{noLimitToDisplay:"L'utilisateur n'a pas fixé de limite...",depositLimitHeader:"Limite de dépôt",lossLimitHeader:"Limite de perte",wageringLimitHeader:"Limite de mise",spentAmount:"Montant dépensé",remainingAmount:"Montant restant",limitPeriod:"Délai limite",displayedProduct:"Produit",futureLimit:"Limite future",additionalLink1:"Détails de la transaction du dernier dépôt",additionalLink2:"Dépôt en période",limitRemoved:"Cette limite a été supprimée et est valide jusqu'à",limitUpdated:"Cette limite sera appliquée à partir de",changeLimitLabel:"Changer de limite",futureAmount:"Montant futur",limitTypeLabel:"Type de limite",fetchLimitDefError:"Échec du téléchargement des définitions de limite.",fetchLimitBalanceError:"Échec du téléchargement du solde limite.",invalidUrl:"Échec de la construction de 'URL' : URL non valide",startLabel:"Démarrer",resetLabel:"Réinitialiser",infoLabel:"Info",walletLabel:"Portefeuille",walletsLabel:"Portefeuilles",addLimitTitle:"Ajouter une limite",editLimitTitle:"Modifier la limite",deleteLimitTitle:"Supprimer la limite",cancelScheduleTitle:"Annuler le planning",addLimitText:"Ajouter une limite monétaire",limitWalletTypeLabel:"Type de portefeuille"},es:{noLimitToDisplay:"El usuario no ha establecido un límite...",depositLimitHeader:"Límite de depósito",lossLimitHeader:"Límite de pérdida",wageringLimitHeader:"Límite de apuesta",spentAmount:"Monto gastado",remainingAmount:"Monto restante",limitPeriod:"Período de límite",displayedProduct:"Producto",futureLimit:"Límite futuro",additionalLink1:"Detalles de la última transacción de depósito",additionalLink2:"Depósito en el período",limitRemoved:"Este límite ha sido eliminado y es válido hasta",limitUpdated:"Este límite se aplicará a partir de",changeLimitLabel:"Cambiar límite",futureAmount:"Monto futuro",limitTypeLabel:"Tipo de límite",fetchLimitDefError:"Error al obtener definiciones de límite.",fetchLimitBalanceError:"Error al obtener el saldo del límite.",invalidUrl:"Error al construir 'URL': URL inválida",startLabel:"Comienzo",resetLabel:"Reiniciar",infoLabel:"Información",walletLabel:"Cartera",walletsLabel:"Carteras",addLimitTitle:"Agregar límite",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación",addLimitText:"Agregar límite monetario",limitWalletTypeLabel:"Tipo de billetera"},el:{noLimitToDisplay:"Ο χρήστης δεν έχει ορίσει όριο...",depositLimitHeader:"Όριο κατάθεσης",lossLimitHeader:"Όριο απώλειας",wageringLimitHeader:"Όριο στοίχημα",spentAmount:"Ποσό που έχει δαπανηθεί",remainingAmount:"Υπόλοιπο ποσό",limitPeriod:"Περίοδος ορίου",displayedProduct:"Προϊόν",futureLimit:"Μελλοντικό όριο",additionalLink1:"Λεπτομέρειες της τελευταίας συναλλαγής κατάθεσης",additionalLink2:"Καταθέσεις κατά την περίοδο",limitRemoved:"Αυτό το όριο έχει καταργηθεί και είναι έγκυρο μέχρι",limitUpdated:"Αυτό το όριο θα εφαρμοστεί από",changeLimitLabel:"Αλλαγή ορίου",futureAmount:"Μελλοντικό ποσό",limitTypeLabel:"Τύπος ορίου",fetchLimitDefError:"Αποτυχία λήψης ορισμών ορίου.",fetchLimitBalanceError:"Αποτυχία λήψης υπολοίπου ορίου.",invalidUrl:"Αποτυχία κατασκευής 'URL': Μη έγκυρη διεύθυνση URL",startLabel:"Έναρξη",resetLabel:"Επαναφορά",infoLabel:"Πληροφορίες",walletLabel:"Πορτοφόλι",walletsLabel:"Πορτοφόλια",addLimitTitle:"Προσθήκη ορίου",editLimitTitle:"Επεξεργασία ορίου",deleteLimitTitle:"Διαγραφή ορίου",cancelScheduleTitle:"Ακύρωση προγράμματος",addLimitText:"Προσθήκη νομισματικού ορίου",limitWalletTypeLabel:"Τύπος πορτοφολιού"},tr:{noLimitToDisplay:"Kullanıcı bir sınırlama belirlemedi...",depositLimitHeader:"Yatırım limiti",lossLimitHeader:"Kayıp limiti",wageringLimitHeader:"Bahis limiti",spentAmount:"Harcamış miktar",remainingAmount:"Kalan miktar",limitPeriod:"Limit süresi",displayedProduct:"Ürün",futureLimit:"Gelecek limit",additionalLink1:"Son yatırım işlemi detayları",additionalLink2:"Dönemdeki işlemler",limitRemoved:"Bu limit kaldırıldı ve geçerli",limitUpdated:"Bu limit aşağıdaki tarihte uygulanacaktır",changeLimitLabel:"Dönem",futureAmount:"Gelecek miktar",limitTypeLabel:"Limit türü",fetchLimitDefError:"Limit tanımları alınamadı.",fetchLimitBalanceError:"Limit bakiyesi alınamadı.",invalidUrl:"'URL' oluşturulamadı: Geçersiz URL",startLabel:"Başlangıç",resetLabel:"Sıfırla",infoLabel:"Bilgi",walletLabel:"Cüzdan",walletsLabel:"Cüzdanlar",addLimitTitle:"Sınır ekle",editLimitTitle:"Sınırı Düzenle",deleteLimitTitle:"Sınırı sil",cancelScheduleTitle:"Programı iptal et",addLimitText:"Para limiti ekle",limitWalletTypeLabel:"Cüzdan türü"},ru:{noLimitToDisplay:"Пользователь не установил лимит...",depositLimitHeader:"Лимит депозита",lossLimitHeader:"Лимит потерь",wageringLimitHeader:"Лимит ставок",spentAmount:"Потраченная сумма",remainingAmount:"Оставшаяся сумма",limitPeriod:"Период лимита",displayedProduct:"Продукт",futureLimit:"Будущий лимит",additionalLink1:"Детали последней транзакции депозита",additionalLink2:"Транзакции за период",limitRemoved:"Этот лимит был удален и действует до",limitUpdated:"Этот лимит будет применен с",changeLimitLabel:"Изменить лимит",futureAmount:"Будущая сумма",limitTypeLabel:"Тип лимита",fetchLimitDefError:"Не удалось получить определения лимита.",fetchLimitBalanceError:"Не удалось получить баланс лимита.",invalidUrl:"Не удалось построить 'URL': Недопустимый URL",startLabel:"Начало",resetLabel:"Сброс",infoLabel:"Информация",walletLabel:"Кошелек",walletsLabel:"Кошельки",addLimitTitle:"Добавить лимит",editLimitTitle:"Изменить лимит",deleteLimitTitle:"Удалить лимит",cancelScheduleTitle:"Отменить расписание",addLimitText:"Добавить денежный лимит",limitWalletTypeLabel:"Тип кошелька"},ro:{noLimitToDisplay:"Utilizatorul nu a setat nicio limită...",depositLimitHeader:"Limită de depunere",lossLimitHeader:"Limită de pierdere",wageringLimitHeader:"Limită de pariere",spentAmount:"Suma cheltuită",remainingAmount:"Suma rămasă",limitPeriod:"Perioadă limită",displayedProduct:"Produs",futureLimit:"Limită viitoare",additionalLink1:"Detalii ultima tranzacție de depunere",additionalLink2:"Tranzacții în perioadă",limitRemoved:"Această limită a fost eliminată și este validă până la",limitUpdated:"Această limită va fi aplicată începând cu",changeLimitLabel:"Schimbă limita",futureAmount:"Suma viitoare",limitTypeLabel:"Tipul limitei",fetchLimitDefError:"Eșec la preluarea definițiilor de limită.",fetchLimitBalanceError:"Eșec la preluarea balanței limitelor.",invalidUrl:"Eșec la construirea 'URL-ului': URL invalid",startLabel:"Start",resetLabel:"Resetare",infoLabel:"Info",walletLabel:"Portofel",walletsLabel:"Portofele",addLimitTitle:"Adăugați limită",editLimitTitle:"Editați limita",deleteLimitTitle:"Ștergeți limita",cancelScheduleTitle:"Anulați programul",addLimitText:"Adăugați o limită monetară",limitWalletTypeLabel:"Tip portofel"},hr:{noLimitToDisplay:"Korisnik nije postavio limit...",depositLimitHeader:"Limit uplate",lossLimitHeader:"Limit gubitka",wageringLimitHeader:"Limit klađenja",spentAmount:"Potrošeni iznos",remainingAmount:"Preostali iznos",limitPeriod:"Period limita",displayedProduct:"Proizvod",futureLimit:"Budući limit",additionalLink1:"Detalji posljednje transakcije uplate",additionalLink2:"Transakcije u periodu",limitRemoved:"Ovaj limit je uklonjen i važi do",limitUpdated:"Ovaj limit će biti primijenjen počevši od",changeLimitLabel:"Promijeni limit",futureAmount:"Budući iznos",limitTypeLabel:"Vrsta limita",fetchLimitDefError:"Nije uspjelo preuzimanje definicija limita.",fetchLimitBalanceError:"Nije uspjelo preuzimanje stanja limita.",invalidUrl:"Nije uspjelo konstruiranje 'URL'-a: Nevaljan URL",startLabel:"Početak",resetLabel:"Resetiraj",infoLabel:"Informacije",walletLabel:"Novčanik",walletsLabel:"Novčanici",addLimitTitle:"Dodaj ograničenje",editLimitTitle:"Uredi ograničenje",deleteLimitTitle:"Ograničenje brisanja",cancelScheduleTitle:"Otkaži raspored",addLimitText:"Dodaj novčani limit",limitWalletTypeLabel:"Vrsta novčanika"},hu:{noLimitToDisplay:"A felhasználó nem állított be korlátot...",depositLimitHeader:"Befizetési limit",lossLimitHeader:"Veszteségkorlát",wageringLimitHeader:"Tétlimit",spentAmount:"Elköltött összeg",remainingAmount:"Fennmaradó összeg",limitPeriod:"Korlát időtartama",displayedProduct:"Termék",futureLimit:"Jövőbeli limit",additionalLink1:"Legutóbbi befizetési tranzakció részletei",additionalLink2:"Tranzakciók időszakban",limitRemoved:"Ez a korlát eltávolításra került és érvényes",limitUpdated:"Ez a korlát alkalmazásra kerül a következőtől",changeLimitLabel:"Korlát módosítása",futureAmount:"Jövőbeli összeg",limitTypeLabel:"Korlát típusa",fetchLimitDefError:"Nem sikerült letölteni a korlát definíciókat.",fetchLimitBalanceError:"Nem sikerült letölteni a korlát egyenlegét.",invalidUrl:"Nem sikerült létrehozni az 'URL'-t: Érvénytelen URL",startLabel:"Indítás",resetLabel:"Visszaállítás",infoLabel:"Információ",walletLabel:"Pénztárca",walletsLabel:"Pénztárcák",addLimitTitle:"Korlát hozzáadása",editLimitTitle:"Korlát szerkesztése",deleteLimitTitle:"Korlát törlése",cancelScheduleTitle:"Ütemezés törlése",addLimitText:"Pénzösszeg hozzáadása",limitWalletTypeLabel:"Pénztárca típusa"},pl:{noLimitToDisplay:"Użytkownik nie ustawił limitu...",depositLimitHeader:"Limit depozytu",lossLimitHeader:"Limit strat",wageringLimitHeader:"Limit zakładów",spentAmount:"Wydana kwota",remainingAmount:"Pozostała kwota",limitPeriod:"Okres limitu",displayedProduct:"Produkt",futureLimit:"Przyszły limit",additionalLink1:"Szczegóły ostatniej transakcji depozytowej",additionalLink2:"Transakcje w okresie",limitRemoved:"Ten limit został usunięty i jest ważny do",limitUpdated:"Ten limit będzie obowiązywać począwszy od",changeLimitLabel:"Zmień limit",futureAmount:"Przyszła kwota",limitTypeLabel:"Typ limitu",fetchLimitDefError:"Nie udało się pobrać definicji limitu.",fetchLimitBalanceError:"Nie udało się pobrać salda limitu.",invalidUrl:"Nie udało się skonstruować 'URL': Nieprawidłowy URL",startLabel:"Start",resetLabel:"Resetuj",infoLabel:"Informacje",walletLabel:"Portfel",walletsLabel:"Portfele",addLimitTitle:"Dodaj limit",editLimitTitle:"Limit edycji",deleteLimitTitle:"Usuń limit",cancelScheduleTitle:"Anuluj harmonogram",addLimitText:"Dodaj limit pieniężny",limitWalletTypeLabel:"Typ portfela"},pt:{noLimitToDisplay:"O usuário não definiu um limite...",depositLimitHeader:"Limite de depósito",lossLimitHeader:"Limite de perdas",wageringLimitHeader:"Limite de apostas",spentAmount:"Valor gasto",remainingAmount:"Valor restante",limitPeriod:"Período do limite",displayedProduct:"Produto",futureLimit:"Limite futuro",additionalLink1:"Detalhes da última transação de depósito",additionalLink2:"Transações no período",limitRemoved:"Este limite foi removido e é válido até",limitUpdated:"Este limite será aplicado a partir de",changeLimitLabel:"Alterar limite",futureAmount:"Valor futuro",limitTypeLabel:"Tipo de limite",fetchLimitDefError:"Falha ao buscar definições de limite.",fetchLimitBalanceError:"Falha ao buscar saldo do limite.",invalidUrl:"Falha ao construir 'URL': URL inválida",startLabel:"Iniciar",resetLabel:"Redefinir",infoLabel:"Informação",walletLabel:"Carteira",walletsLabel:"Carteiras",addLimitTitle:"Adicionar limite",editLimitTitle:"Editar Limite",deleteLimitTitle:"Excluir limite",cancelScheduleTitle:"Cancelar agendamento",addLimitText:"Adicionar limite monetário",limitWalletTypeLabel:"Tipo de carteira"},sl:{noLimitToDisplay:"Uporabnik ni določil omejitve...",depositLimitHeader:"Omejitev pologa",lossLimitHeader:"Omejitev izgub",wageringLimitHeader:"Omejitev stav",spentAmount:"Porabljen znesek",remainingAmount:"Preostali znesek",limitPeriod:"Obdobje omejitve",displayedProduct:"Izdelek",futureLimit:"Prihodnja omejitev",additionalLink1:"Podrobnosti zadnje transakcije pologa",additionalLink2:"Transakcije v obdobju",limitRemoved:"Ta omejitev je bila odstranjena in velja do",limitUpdated:"Ta omejitev bo veljavna od",changeLimitLabel:"Spremeni omejitev",futureAmount:"Prihodnji znesek",limitTypeLabel:"Vrsta omejitve",fetchLimitDefError:"Pridobivanje definicij omejitev ni uspelo.",fetchLimitBalanceError:"Pridobivanje stanja omejitev ni uspelo.",invalidUrl:"Izgradnja 'URL'-ja ni uspela: Neveljaven URL",startLabel:"Začni",resetLabel:"Ponastavi",infoLabel:"Informacije",walletLabel:"Denarnica",walletsLabel:"Denarnice",addLimitTitle:"Dodaj omejitev",editLimitTitle:"Uredi omejitev",deleteLimitTitle:"Omejitev brisanja",cancelScheduleTitle:"Prekliči razpored",addLimitText:"Dodaj denarno omejitev",limitWalletTypeLabel:"Vrsta denarnice"},sr:{noLimitToDisplay:"Korisnik nije postavio limit...",depositLimitHeader:"Limit depozita",lossLimitHeader:"Limit gubitka",wageringLimitHeader:"Limit klađenja",spentAmount:"Potrošeni iznos",remainingAmount:"Preostali iznos",limitPeriod:"Period limita",displayedProduct:"Proizvod",futureLimit:"Budući limit",additionalLink1:"Detalji poslednje transakcije depozita",additionalLink2:"Transakcije u periodu",limitRemoved:"Ovaj limit je uklonjen i važi do",limitUpdated:"Ovaj limit će se primeniti počevši od",changeLimitLabel:"Promeni limit",futureAmount:"Budući iznos",limitTypeLabel:"Vrsta limita",fetchLimitDefError:"Neuspeh u dobavljanju definicija limita.",fetchLimitBalanceError:"Neuspeh u dobavljanju stanja limita.",invalidUrl:"Neuspeh u konstrukciji 'URL'-a: Neispravan URL",startLabel:"Početak",resetLabel:"Resetuj",infoLabel:"Informacije",walletLabel:"Novčanik",walletsLabel:"Novčanici",addLimitTitle:"Додај ограничење",editLimitTitle:"Ограничење уређивања",deleteLimitTitle:"Избриши ограничење",cancelScheduleTitle:"Откажи распоред",addLimitText:"Додај новчано ограничење",limitWalletTypeLabel:"Тип новчаника"},"es-mx":{noLimitToDisplay:"El usuario no ha establecido un límite...",depositLimitHeader:"Límite de depósito",lossLimitHeader:"Límite de pérdida",wageringLimitHeader:"Límite de apuesta",spentAmount:"Monto gastado",remainingAmount:"Monto restante",limitPeriod:"Período de límite",displayedProduct:"Producto",futureLimit:"Límite futuro",additionalLink1:"Detalles de la última transacción de depósito",additionalLink2:"Transacciones en el período",limitRemoved:"Este límite ha sido eliminado y es válido hasta",limitUpdated:"Este límite se aplicará a partir de",changeLimitLabel:"Cambiar límite",futureAmount:"Monto futuro",limitTypeLabel:"Tipo de límite",fetchLimitDefError:"Error al obtener definiciones de límite.",fetchLimitBalanceError:"Error al obtener el saldo del límite.",invalidUrl:"Error al construir 'URL': URL inválida",startLabel:"Inicio",resetLabel:"Reiniciar",infoLabel:"Información",walletLabel:"Cartera",walletsLabel:"Carteras",addLimitTitle:"Agregar límite",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación",addLimitText:"Agregar límite monetario",limitWalletTypeLabel:"Tipo de billetera"},"pt-br":{noLimitToDisplay:"O usuário não definiu um limite...",depositLimitHeader:"Limite de depósito",lossLimitHeader:"Limite de perda",wageringLimitHeader:"Limite de apostas",spentAmount:"Valor gasto",remainingAmount:"Valor restante",limitPeriod:"Período de limite",displayedProduct:"Produto",futureLimit:"Limite futuro",additionalLink1:"Detalhes da última transação de depósito",additionalLink2:"Transações no período",limitRemoved:"Este limite foi removido e é válido até",limitUpdated:"Este limite será aplicado a partir de",changeLimitLabel:"Alterar limite",futureAmount:"Valor futuro",limitTypeLabel:"Tipo de limite",fetchLimitDefError:"Falha ao buscar definições de limite.",fetchLimitBalanceError:"Falha ao buscar saldo do limite.",invalidUrl:"Falha ao construir 'URL': URL inválida",startLabel:"Iniciar",resetLabel:"Redefinir",infoLabel:"Informação",walletLabel:"Carteira",walletsLabel:"Carteiras",addLimitTitle:"Agregar límite",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación",addLimitText:"Agregar límite monetario",limitWalletTypeLabel:"Tipo de carteira"}};function Zc(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function Xc(e,t){const i=new URL(t);fetch(i.href).then(r=>r.text()).then(r=>{const n=document.createElement("style");n.innerHTML=r,e&&e.appendChild(n)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function Jc(e,t,i){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(t,n=>{r.innerHTML=n,e&&e.appendChild(r)})}}const Qc=`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 386 193" fill="none">
|
|
26
26
|
<path d="M4 193a189 189 0 0 1 379 0" stroke="url(#a)" stroke-width="6" stroke-dasharray="2 2"/>
|
|
27
27
|
<path d="M49 193a144 144 0 1 1 288 0" stroke="#C4C4C4" stroke-width="30" stroke-dasharray="2 2"/>
|
|
28
28
|
<defs><linearGradient id="a" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%"/><stop offset="100%" stop-opacity=".2"/></linearGradient></defs>
|
|
29
|
-
</svg>`,
|
|
29
|
+
</svg>`,Kc=`<svg width="13" height="28" viewBox="0 0 13 28" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
30
30
|
<path d="M13 14L0.250001 27.8564L0.250002 0.143593L13 14Z"/>
|
|
31
31
|
</svg>
|
|
32
32
|
`,Ri=`<svelte:options tag={'caret-right'} />
|
|
33
33
|
<svg xmlns="http://www.w3.org/2000/svg" height="12" width="6" viewBox="0 0 256 512">
|
|
34
34
|
<path fill="currentColor" d="M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z"/>
|
|
35
35
|
</svg>
|
|
36
|
-
`,
|
|
36
|
+
`,em=`<svg width="18" viewBox="0 0 25 26" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
37
37
|
<path d="M12.375 25.3977C10.7746 25.3977 9.27367 25.09 7.87216 24.4744C6.47064 23.8494 5.23485 22.9782 4.16477 21.8608C3.10417 20.7434 2.27557 19.4413 1.67898 17.9545C1.08239 16.4678 0.784091 14.858 0.784091 13.125C0.784091 11.392 1.08239 9.78693 1.67898 8.30966C2.27557 6.82292 3.10417 5.52557 4.16477 4.41761C5.23485 3.30966 6.47064 2.44792 7.87216 1.83239C9.27367 1.21686 10.7746 0.90909 12.375 0.90909C13.9848 0.90909 15.4905 1.21686 16.892 1.83239C18.303 2.44792 19.5388 3.30966 20.5994 4.41761C21.6695 5.52557 22.5076 6.82292 23.1136 8.30966C23.7197 9.78693 24.0227 11.392 24.0227 13.125C24.0227 14.858 23.7197 16.4678 23.1136 17.9545C22.5076 19.4413 21.6695 20.7434 20.5994 21.8608C19.5388 22.9782 18.303 23.8494 16.892 24.4744C15.4905 25.09 13.9848 25.3977 12.375 25.3977ZM12.375 22.2727C13.5398 22.2727 14.6288 22.036 15.642 21.5625C16.6648 21.0795 17.5597 20.4167 18.3267 19.5739C19.0938 18.7311 19.6951 17.7604 20.1307 16.6619C20.5663 15.554 20.7841 14.375 20.7841 13.125C20.7841 11.4394 20.4053 9.9053 19.6477 8.52273C18.8996 7.14015 17.8864 6.03693 16.608 5.21307C15.339 4.3892 13.928 3.97727 12.375 3.97727C10.822 3.97727 9.40152 4.3892 8.11364 5.21307C6.83523 6.03693 5.8125 7.14015 5.04545 8.52273C4.28788 9.9053 3.90909 11.4394 3.90909 13.125C3.90909 14.7917 4.28788 16.321 5.04545 17.7131C5.8125 19.0956 6.83523 20.2036 8.11364 21.0369C9.40152 21.8608 10.822 22.2727 12.375 22.2727ZM20.6136 6.93182L18.3409 4.54545L22.2614 0.511363L24.5909 2.89773L20.6136 6.93182ZM22.2614 25.2841L18.3409 21.25L20.6136 18.9205L24.5909 22.8977L22.2614 25.2841ZM2.60227 25.2841L0.329545 22.8977L4.25 18.9205L6.57955 21.25L2.60227 25.2841ZM4.25 6.93182L0.329545 2.89773L2.60227 0.511363L6.57955 4.54545L4.25 6.93182Z"/>
|
|
38
38
|
</svg>
|
|
39
|
-
`,
|
|
40
|
-
`,
|
|
41
|
-
`,
|
|
42
|
-
`,
|
|
43
|
-
`;function am(e){Il(e,"svelte-6z51uw",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.DisplayNone{display:none}.ContainerCenter{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ContainerCenter p{padding:6px}.ErrorMessage{margin:0 15px;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.LimitsContainer{width:100%;max-width:700px;min-height:355px;border:1px solid var(--emw--color-primary, #307fe2);border-radius:var(--emw--border-radius-large, 20px);overflow:hidden;box-shadow:14px 26px 19.7px 0px var(--emw--color-gray-150, #76768B)}.LimitsContainer .LimitsWrapper{display:flex;gap:25px;padding:25px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.ContentLeft{line-height:20px;flex:1}.LimitTypeHeader{display:flex;align-items:center;color:var(--emw--color-gray-150, #76768B);margin-bottom:20px;gap:5px}.DetailsContainer{margin-bottom:15px;display:inline}.DetailsContainer span{font-weight:var(--emw--font-weight-bold, 700)}.CaretRight{color:var(--emw--color-primary, #307fe2)}.ContentRight{min-width:300px;display:flex;justify-content:center;flex-direction:column}.ExtraInfoContainer{padding:1rem 0;color:var(--emw--color-red, #ed0909)}.UsefulLinksSection{padding-top:5px}.UsefulLinksSection a{color:var(--emw--color-primary, #307fe2);text-decoration:underline}.AddLimitControl{border:0.1rem solid var(--emw--color-primary, #307fe2);border-radius:var(--emw--border-radius-small, 0.3rem);min-height:1rem;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-primary, #307fe2);padding:0.3rem;cursor:pointer;min-width:10rem;display:flex;flex-direction:row;align-items:center;justify-content:center}.WidgetControls{display:flex;width:100%;justify-content:end;gap:10px}.ControlContainer label{display:block;width:100%;font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-bold, 700);margin-bottom:5px}.ControlContainer button{padding:5px;border:1px solid var(--emw--color-contrast, #07072A);border-radius:var(--emw--border-radius-small, 5px);width:25px;cursor:pointer;display:flex;flex-direction:column;margin-bottom:4px}.ControlContainer select{max-width:100px}.ControlContainer .ActionsSvg{height:1em;width:1em;display:flex;justify-content:center;cursor:pointer}.ControlContainer button{padding:5px;border:1px solid var(--emw--color-contrast, #07072A);border-radius:var(--emw--border-radius-small, 5px);width:25px;cursor:pointer;display:flex;flex-direction:column;margin-bottom:4px}.ControlContainer .ActionsSvg{height:1em;width:1em;display:flex;justify-content:center;cursor:pointer}.AddLimitControl .ActionsSvg{height:2em;width:2em;display:flex;justify-content:center;cursor:pointer;padding:5px;margin-right:5px;border:1px solid var(--emw--color-contrast, #07072A);border-radius:var(--emw--border-radius-small, 4px);background:var(--emw--color-white, #FFFFFF)}.Gauge{width:100%;font-family:"Roboto", sans-serif;color:var(--emw--color-black, #000000);margin:1rem 0;flex:1;align-content:center}.GaugeBody{width:100%;position:relative;text-align:center;padding:23px;padding-bottom:0}.Archbg{position:absolute;right:0;bottom:0}.GaugeFill{--p:0deg;--b:26px;border-radius:500px 500px 0 0;background:var(--emw--gauge-fill-bg, var(--emw--color-primary, #307fe2));mask:radial-gradient(farthest-side at bottom, transparent calc(100% - var(--b) - 1px), #fff calc(100% - var(--b))), linear-gradient(var(--p), #fff 50%, transparent 0) top/100% 200%;-webkit-mask:radial-gradient(farthest-side at bottom, transparent calc(100% - var(--b) - 1px), #fff calc(100% - var(--b))), linear-gradient(var(--p), #fff 50%, transparent 0) top/100% 200%;mask-composite:intersect;-webkit-mask-composite:destination-in}.GaugeFill::before{content:"";display:block;padding-top:50%}.GaugeCover{position:absolute;left:50%;transform:translateX(-50%);top:50%;font-size:var(--emw--font-size-large, 18px);white-space:nowrap;width:130px;max-width:200px;overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.GaugeNeedle{width:0.2rem;height:3.5rem;background:linear-gradient(0deg, #000000 0, #000000 55%, #c5c5c5 55%, #c5c5c5 90%, #000000 90%, #000000 100%);display:inline-block;left:49.5%;position:absolute;bottom:0.1rem;transform:var(--transform-needle-value);transform-origin:bottom}.GaugeNeedleCover{width:60px;height:30px;border-radius:150px 150px 0 0;background:var(--emw--color-black, #000000);background:radial-gradient(circle at 50% 100%, var(--emw--color-black, #000000) 0%, var(--emw--color-black, #000000) 25%, #fff 25%, #fff 40%, var(--emw--color-primary, #307fe2) 40%);position:absolute;bottom:0;left:50%;border:4px solid var(--emw--color-white, #FFFFFF);border-bottom:0;transform:translateX(-50%)}.MinMaxContainer{display:flex;justify-content:space-between;margin-top:10px}.ProductSelector{position:relative;margin-bottom:20px}.DisplayContainer{border:1px solid var(--emw--color-primary, #307fe2);background-color:var(--emw--color-gray-100, #f5f5f5);border-radius:var(--emw--border-radius-medium, 12px);box-shadow:4px 4px 4px 0px rgba(0, 0, 0, 0.25);padding:9px;display:flex;align-items:center;justify-content:space-between;color:var(--emw--color-contrast, #07072A);gap:5px;margin-top:20px}.SelectedProduct{font-weight:var(--emw--font-weight-bold, 700);text-align:center;width:70px;color:var(--emw--color-gray-150, #76768B)}.TotalAmount{font-size:var(--emw--font-size-2x-large, 36px);align-items:baseline;gap:5px;overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none;line-height:normal;justify-content:center;white-space:nowrap;max-width:188px;flex:1;text-align:center}.TotalAmount .Currency{font-size:var(--emw--font-size-x-large, 24px)}.TotalAmount::-webkit-scrollbar{display:none}.ProductsDropdown{display:none;position:absolute;background-color:var(--emw--color-gray-100, #f5f5f5);width:100%;box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2);z-index:1;border:1px solid var(--emw--color-primary, #307fe2)}.ProductsDropdown.Show{display:block;border-radius:var(--emw--border-radius-medium, 12px)}.ProductsDropdown button{background-color:transparent;border:none;outline:none;cursor:pointer;padding:10px;width:100%;text-align:left;font-weight:var(--emw--font-weight-bold, 700)}.ProductsDropdown button:hover{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-primary, #307fe2);color:var(--emw--color-white, #FFFFFF)}.DropdownToggle{width:35px;height:35px;display:flex;justify-content:center;align-items:center;background:none;border:none;cursor:pointer;color:var(--emw--color-primary, #307fe2);line-height:0}.DropdownToggle.Active{transform:rotate(90deg)}.Row{display:flex}.Col{flex:1}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function Ua(e,t,i){const r=e.slice();return r[85]=t[i],r}function Ba(e,t,i){const r=e.slice();return r[85]=t[i],r}function Fa(e,t,i){const r=e.slice();return r[85]=t[i],r}function Ya(e,t,i){const r=e.slice();return r[92]=t[i],r}function sm(e,t,i){const r=e.slice();return r[78]=t[i],r}function ja(e,t,i){const r=e.slice();return r[78]=t[i],r}function lm(e,t,i){const r=e.slice();return r[78]=t[i],r}function om(e){let t,i;function r(s,l){return s[8]?fm:s[20]?hm:dm}let n=r(e),a=n(e);return{c(){t=g("div"),i=g("div"),a.c(),p(i,"class","LimitsWrapper"),p(t,"class","LimitsContainer")},m(s,l){U(s,t,l),d(t,i),a.m(i,null),e[58](t)},p(s,l){n===(n=r(s))&&a?a.p(s,l):(a.d(1),a=n(s),a&&(a.c(),a.m(i,null)))},d(s){s&&R(t),a.d(),e[58](null)}}}function um(e){let t,i,r,n,a,s,l,o,u,h,c,f,w,_,M,ae,se,te=Ue(Array(4)),N=[];for(let P=0;P<te.length;P+=1)N[P]=os(ja(e,te,P));let ee=Ue(Array(3)),X=[];for(let P=0;P<ee.length;P+=1)X[P]=gm(sm(e,ee,P));return{c(){t=g("div"),i=g("div"),r=g("div"),n=g("div"),n.innerHTML='<ui-skeleton structure="title" width="20px" height="25px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="25px"></ui-skeleton>',a=S(),s=g("div"),s.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="63px" margin-bottom="20px"></ui-skeleton>',l=S(),o=g("div");for(let P=0;P<N.length;P+=1)N[P].c();u=S(),h=g("div"),h.innerHTML='<div class="Row"><div class="Col"><ui-skeleton structure="text" width="50%" height="15px"></ui-skeleton></div></div>',c=S(),f=g("div"),w=g("div");for(let P=0;P<X.length;P+=1)X[P].c();_=S(),M=g("div"),M.innerHTML='<ui-skeleton structure="rectangle" width="25px" height="25px" margin-bottom="4px"></ui-skeleton> <ui-skeleton structure="rectangle" width="25px" height="25px" margin-bottom="4px"></ui-skeleton> <ui-skeleton structure="rectangle" width="25px" height="25px" margin-bottom="4px"></ui-skeleton>',ae=S(),se=g("div"),se.innerHTML='<ui-skeleton structure="image" width="100%" height="177px"></ui-skeleton>',p(n,"class","LimitTypeHeader"),p(s,"class","ProductSelector"),p(h,"class","UsefulLinksSection"),p(o,"class","DetailsContainer"),p(r,"class","ContentLeft"),p(M,"class","ControlContainer"),p(w,"class","WidgetControls"),p(se,"class","Gauge"),p(f,"class","ContentRight"),p(i,"class","LimitsWrapper"),p(t,"class","LimitsContainer")},m(P,le){U(P,t,le),d(t,i),d(i,r),d(r,n),d(r,a),d(r,s),d(r,l),d(r,o);for(let G=0;G<N.length;G+=1)N[G]&&N[G].m(o,null);d(o,u),d(o,h),d(i,c),d(i,f),d(f,w);for(let G=0;G<X.length;G+=1)X[G]&&X[G].m(w,null);d(w,_),d(w,M),d(f,ae),d(f,se)},p(P,le){if(le&0){te=Ue(Array(4));let G;for(G=0;G<te.length;G+=1){const Ye=ja(P,te,G);N[G]?N[G].p(Ye,le):(N[G]=os(Ye),N[G].c(),N[G].m(o,u))}for(;G<N.length;G+=1)N[G].d(1);N.length=te.length}},d(P){P&&R(t),Pt(N,P),Pt(X,P)}}}function dm(e){let t,i,r,n=e[25](e[16])+"",a,s,l,o,u,h=e[17]==="All"?`${e[17]} ${e[21]("walletsLabel")}`:`${e[17]} ${e[21]("walletLabel")}`,c,f,w,_=e[30](e[10].totalAmount)+"",M,ae,se,te=e[10].limitCurrency+"",N,ee,X,P,le,G,Ye,ce,_e,re,Ae=e[21]("spentAmount")+"",Qe,St,$,J,Oe,oe=e[30](e[10].spentAmount)+"",ve,Ce,Ve=e[10].limitCurrency+"",Ct,gi,ft,Ht,Ke=e[21]("remainingAmount")+"",_i,Rt,$e,ct,yi,et=e[30](e[10].remainingAmount)+"",bi,Xi,kt=e[10].limitCurrency+"",vi,Ji,Li,mt,Et,Nt=e[21]("startLabel")+"",wi,Ti,pt,It,Qi,Ut=e[24](e[10].from)+"",Bt,Si,tt,gt,Ft=e[21]("resetLabel")+"",ki,Ki,_t,Yt,er,jt=e[24](e[10].to)+"",Ei,tr,xi,Mi,m,v,E,W,z,it,rt,ue,ir,ra,Di,na,yt,rr=e[30](e[10].spentAmount)+"",qr,aa,nr=e[10].limitCurrency+"",Zr,ar,sa,Xr,la,Pi,oa,Gt,Wt,sr,ua,lr,or=e[10].limitCurrency+"",Jr,da,zt,ur,dr=e[30](e[10].totalAmount)+"",Qr,ha,hr,fr=e[10].limitCurrency+"",Kr,Le=e[18].length>1&&Ga(e),Vt=Ue(e[18]),ye=[];for(let b=0;b<Vt.length;b+=1)ye[b]=Wa(Ya(e,Vt,b));let we=e[10].formattedSchedule.isUpdated===!0&&za(e),Te=(e[10].formattedSchedule.isRemoved===!0||e[10].formattedSchedule.isUpdated===!0)&&Va(e),Se=e[0]==="admin"&&Za(e),ke=e[11].length>0&&Xa(e),Ee=e[12].length>0&&Qa(e),xe=e[13].length>0&&es(e),Me=e[13].length>0&&e[0]==="admin"&&e[10]&&is(e);return{c(){t=g("div"),i=g("h2"),r=new jl(!1),a=x(n),s=S(),l=g("div"),o=g("div"),u=g("span"),c=x(h),f=S(),w=g("span"),M=x(_),ae=S(),se=g("span"),N=x(te),X=S(),Le&&Le.c(),P=S(),le=g("div");for(let b=0;b<ye.length;b+=1)ye[b].c();Ye=S(),ce=g("div"),_e=g("div"),re=g("div"),Qe=x(Ae),St=S(),$=g("div"),J=g("span"),Oe=S(),ve=x(oe),Ce=S(),Ct=x(Ve),gi=S(),ft=g("div"),Ht=g("div"),_i=x(Ke),Rt=S(),$e=g("div"),ct=g("span"),yi=S(),bi=x(et),Xi=S(),vi=x(kt),Ji=S(),we&&we.c(),Li=S(),mt=g("div"),Et=g("div"),wi=x(Nt),Ti=S(),pt=g("div"),It=g("span"),Qi=S(),Bt=x(Ut),Si=S(),tt=g("div"),gt=g("div"),ki=x(Ft),Ki=S(),_t=g("div"),Yt=g("span"),er=S(),Ei=x(jt),tr=S(),Te&&Te.c(),xi=S(),Se&&Se.c(),Mi=S(),m=g("div"),v=g("div"),ke&&ke.c(),E=S(),Ee&&Ee.c(),W=S(),xe&&xe.c(),z=S(),Me&&Me.c(),it=S(),rt=g("div"),ue=g("div"),ir=g("div"),ra=S(),Di=g("div"),na=S(),yt=g("div"),qr=x(rr),aa=S(),Zr=x(nr),sa=S(),Xr=g("div"),la=S(),Pi=g("div"),oa=S(),Gt=g("div"),Wt=g("div"),sr=g("strong"),sr.textContent="0",ua=S(),lr=g("span"),Jr=x(or),da=S(),zt=g("div"),ur=g("strong"),Qr=x(dr),ha=S(),hr=g("span"),Kr=x(fr),r.a=a,p(i,"class","LimitTypeHeader"),p(u,"class","SelectedProduct"),p(se,"class","Currency"),p(w,"class","TotalAmount"),p(w,"title",ee=`${e[30](e[10].totalAmount)} ${e[10].limitCurrency}`),p(o,"class","DisplayContainer"),p(le,"class",G="ProductsDropdown "+(e[9]?"Show":"")),p(l,"class","ProductSelector"),p(re,"class","Col"),p(J,"class","CaretRight"),p($,"class","Col"),p(_e,"class","Row"),p(Ht,"class","Col"),p(ct,"class","CaretRight"),p($e,"class","Col"),p(ft,"class","Row"),p(Et,"class","Col"),p(It,"class","CaretRight"),p(pt,"class","Col"),p(mt,"class","Row"),p(gt,"class","Col"),p(Yt,"class","CaretRight"),p(_t,"class","Col"),p(tt,"class","Row"),p(ce,"class","DetailsContainer Entries"),p(t,"class","ContentLeft"),p(v,"class","WidgetControls"),p(ir,"class","Archbg"),p(Di,"class","GaugeFill"),cr(Di,"--p",e[19]+"deg"),p(yt,"class","GaugeCover"),p(yt,"title",ar=`${e[30](e[10].spentAmount)} ${e[10].limitCurrency}`),p(Xr,"class","GaugeNeedleCover"),p(Pi,"class","GaugeNeedle"),cr(Pi,"--transform-needle-value","rotate("+(e[19]-90)+"deg)"),p(ue,"class","GaugeBody"),p(sr,"class","MinContent"),p(lr,"class","MinContentCurrency"),p(Wt,"class","Min"),p(ur,"class","MaxContent"),p(hr,"class","MaxContentCurrency"),p(zt,"class","Max"),p(Gt,"class","MinMaxContainer"),p(rt,"class","Gauge"),p(m,"class","ContentRight")},m(b,A){U(b,t,A),d(t,i),r.m(tm,i),d(i,a),d(t,s),d(t,l),d(l,o),d(o,u),d(u,c),d(o,f),d(o,w),d(w,M),d(w,ae),d(w,se),d(se,N),d(o,X),Le&&Le.m(o,null),d(l,P),d(l,le);for(let he=0;he<ye.length;he+=1)ye[he]&&ye[he].m(le,null);d(t,Ye),d(t,ce),d(ce,_e),d(_e,re),d(re,Qe),d(_e,St),d(_e,$),d($,J),J.innerHTML=Ri,d($,Oe),d($,ve),d($,Ce),d($,Ct),d(ce,gi),d(ce,ft),d(ft,Ht),d(Ht,_i),d(ft,Rt),d(ft,$e),d($e,ct),ct.innerHTML=Ri,d($e,yi),d($e,bi),d($e,Xi),d($e,vi),d(ce,Ji),we&&we.m(ce,null),d(ce,Li),d(ce,mt),d(mt,Et),d(Et,wi),d(mt,Ti),d(mt,pt),d(pt,It),It.innerHTML=Ri,d(pt,Qi),d(pt,Bt),d(ce,Si),d(ce,tt),d(tt,gt),d(gt,ki),d(tt,Ki),d(tt,_t),d(_t,Yt),Yt.innerHTML=Ri,d(_t,er),d(_t,Ei),d(t,tr),Te&&Te.m(t,null),d(t,xi),Se&&Se.m(t,null),U(b,Mi,A),U(b,m,A),d(m,v),ke&&ke.m(v,null),d(v,E),Ee&&Ee.m(v,null),d(v,W),xe&&xe.m(v,null),d(v,z),Me&&Me.m(v,null),d(m,it),d(m,rt),d(rt,ue),d(ue,ir),ir.innerHTML=Kc,d(ue,ra),d(ue,Di),d(ue,na),d(ue,yt),d(yt,qr),d(yt,aa),d(yt,Zr),d(ue,sa),d(ue,Xr),d(ue,la),d(ue,Pi),d(rt,oa),d(rt,Gt),d(Gt,Wt),d(Wt,sr),d(Wt,ua),d(Wt,lr),d(lr,Jr),d(Gt,da),d(Gt,zt),d(zt,ur),d(ur,Qr),d(zt,ha),d(zt,hr),d(hr,Kr)},p(b,A){if(A[0]&65536&&n!==(n=b[25](b[16])+"")&&O(a,n),A[0]&2228224&&h!==(h=b[17]==="All"?`${b[17]} ${b[21]("walletsLabel")}`:`${b[17]} ${b[21]("walletLabel")}`)&&O(c,h),A[0]&1024&&_!==(_=b[30](b[10].totalAmount)+"")&&O(M,_),A[0]&1024&&te!==(te=b[10].limitCurrency+"")&&O(N,te),A[0]&1024&&ee!==(ee=`${b[30](b[10].totalAmount)} ${b[10].limitCurrency}`)&&p(w,"title",ee),b[18].length>1?Le?Le.p(b,A):(Le=Ga(b),Le.c(),Le.m(o,null)):Le&&(Le.d(1),Le=null),A[0]&270794752){Vt=Ue(b[18]);let he;for(he=0;he<Vt.length;he+=1){const fa=Ya(b,Vt,he);ye[he]?ye[he].p(fa,A):(ye[he]=Wa(fa),ye[he].c(),ye[he].m(le,null))}for(;he<ye.length;he+=1)ye[he].d(1);ye.length=Vt.length}A[0]&512&&G!==(G="ProductsDropdown "+(b[9]?"Show":""))&&p(le,"class",G),A[0]&2097152&&Ae!==(Ae=b[21]("spentAmount")+"")&&O(Qe,Ae),A[0]&1024&&oe!==(oe=b[30](b[10].spentAmount)+"")&&O(ve,oe),A[0]&1024&&Ve!==(Ve=b[10].limitCurrency+"")&&O(Ct,Ve),A[0]&2097152&&Ke!==(Ke=b[21]("remainingAmount")+"")&&O(_i,Ke),A[0]&1024&&et!==(et=b[30](b[10].remainingAmount)+"")&&O(bi,et),A[0]&1024&&kt!==(kt=b[10].limitCurrency+"")&&O(vi,kt),b[10].formattedSchedule.isUpdated===!0?we?we.p(b,A):(we=za(b),we.c(),we.m(ce,Li)):we&&(we.d(1),we=null),A[0]&2097152&&Nt!==(Nt=b[21]("startLabel")+"")&&O(wi,Nt),A[0]&1024&&Ut!==(Ut=b[24](b[10].from)+"")&&O(Bt,Ut),A[0]&2097152&&Ft!==(Ft=b[21]("resetLabel")+"")&&O(ki,Ft),A[0]&1024&&jt!==(jt=b[24](b[10].to)+"")&&O(Ei,jt),b[10].formattedSchedule.isRemoved===!0||b[10].formattedSchedule.isUpdated===!0?Te?Te.p(b,A):(Te=Va(b),Te.c(),Te.m(t,xi)):Te&&(Te.d(1),Te=null),b[0]==="admin"?Se?Se.p(b,A):(Se=Za(b),Se.c(),Se.m(t,null)):Se&&(Se.d(1),Se=null),b[11].length>0?ke?ke.p(b,A):(ke=Xa(b),ke.c(),ke.m(v,E)):ke&&(ke.d(1),ke=null),b[12].length>0?Ee?Ee.p(b,A):(Ee=Qa(b),Ee.c(),Ee.m(v,W)):Ee&&(Ee.d(1),Ee=null),b[13].length>0?xe?xe.p(b,A):(xe=es(b),xe.c(),xe.m(v,z)):xe&&(xe.d(1),xe=null),b[13].length>0&&b[0]==="admin"&&b[10]?Me?Me.p(b,A):(Me=is(b),Me.c(),Me.m(v,null)):Me&&(Me.d(1),Me=null),A[0]&524288&&cr(Di,"--p",b[19]+"deg"),A[0]&1024&&rr!==(rr=b[30](b[10].spentAmount)+"")&&O(qr,rr),A[0]&1024&&nr!==(nr=b[10].limitCurrency+"")&&O(Zr,nr),A[0]&1024&&ar!==(ar=`${b[30](b[10].spentAmount)} ${b[10].limitCurrency}`)&&p(yt,"title",ar),A[0]&524288&&cr(Pi,"--transform-needle-value","rotate("+(b[19]-90)+"deg)"),A[0]&1024&&or!==(or=b[10].limitCurrency+"")&&O(Jr,or),A[0]&1024&&dr!==(dr=b[30](b[10].totalAmount)+"")&&O(Qr,dr),A[0]&1024&&fr!==(fr=b[10].limitCurrency+"")&&O(Kr,fr)},d(b){b&&(R(t),R(Mi),R(m)),Le&&Le.d(),Pt(ye,b),we&&we.d(),Te&&Te.d(),Se&&Se.d(),ke&&ke.d(),Ee&&Ee.d(),xe&&xe.d(),Me&&Me.d()}}}function hm(e){let t,i,r;return{c(){t=g("div"),i=g("strong"),r=x(e[20]),p(i,"class","ErrorMessage"),p(t,"class","ContainerCenter")},m(n,a){U(n,t,a),d(t,i),d(i,r)},p(n,a){a[0]&1048576&&O(r,n[20])},d(n){n&&R(t)}}}function fm(e){let t,i,r=e[21]("noLimitToDisplay")+"",n,a,s=e[3]==="true"&&ls(e);return{c(){t=g("div"),i=g("p"),n=x(r),a=S(),s&&s.c(),p(t,"class","ContainerCenter")},m(l,o){U(l,t,o),d(t,i),d(i,n),d(t,a),s&&s.m(t,null)},p(l,o){o[0]&2097152&&r!==(r=l[21]("noLimitToDisplay")+"")&&O(n,r),l[3]==="true"?s?s.p(l,o):(s=ls(l),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},d(l){l&&R(t),s&&s.d()}}}function Ga(e){let t,i,r,n;return{c(){t=g("button"),p(t,"class",i="DropdownToggle "+(e[9]?"Active":""))},m(a,s){U(a,t,s),t.innerHTML=em,r||(n=Re(t,"click",di(e[49])),r=!0)},p(a,s){s[0]&512&&i!==(i="DropdownToggle "+(a[9]?"Active":""))&&p(t,"class",i)},d(a){a&&R(t),r=!1,n()}}}function Wa(e){let t,i=e[92]==="All"?`${e[92]} ${e[21]("walletsLabel")}`:`${e[92]} ${e[21]("walletLabel")}`,r,n,a,s;function l(){return e[50](e[92])}return{c(){t=g("button"),r=x(i),n=S()},m(o,u){U(o,t,u),d(t,r),d(t,n),a||(s=Re(t,"click",l),a=!0)},p(o,u){e=o,u[0]&2359296&&i!==(i=e[92]==="All"?`${e[92]} ${e[21]("walletsLabel")}`:`${e[92]} ${e[21]("walletLabel")}`)&&O(r,i)},d(o){o&&R(t),a=!1,s()}}}function za(e){let t,i,r=e[21]("futureAmount")+"",n,a,s,l,o,u=e[30](e[10].formattedSchedule.updateAmount)+"",h,c,f=e[10].limitCurrency+"",w;return{c(){t=g("div"),i=g("div"),n=x(r),a=S(),s=g("div"),l=g("span"),o=S(),h=x(u),c=S(),w=x(f),p(i,"class","Col"),p(l,"class","CaretRight"),p(s,"class","Col"),p(t,"class","Row")},m(_,M){U(_,t,M),d(t,i),d(i,n),d(t,a),d(t,s),d(s,l),l.innerHTML=Ri,d(s,o),d(s,h),d(s,c),d(s,w)},p(_,M){M[0]&2097152&&r!==(r=_[21]("futureAmount")+"")&&O(n,r),M[0]&1024&&u!==(u=_[30](_[10].formattedSchedule.updateAmount)+"")&&O(h,u),M[0]&1024&&f!==(f=_[10].limitCurrency+"")&&O(w,f)},d(_){_&&R(t)}}}function Va(e){let t,i,r=e[10].formattedSchedule.isRemoved===!0&&$a(e),n=e[10].formattedSchedule.isUpdated===!0&&qa(e);return{c(){t=g("div"),r&&r.c(),i=S(),n&&n.c(),p(t,"class","ExtraInfoContainer")},m(a,s){U(a,t,s),r&&r.m(t,null),d(t,i),n&&n.m(t,null)},p(a,s){a[10].formattedSchedule.isRemoved===!0?r?r.p(a,s):(r=$a(a),r.c(),r.m(t,i)):r&&(r.d(1),r=null),a[10].formattedSchedule.isUpdated===!0?n?n.p(a,s):(n=qa(a),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},d(a){a&&R(t),r&&r.d(),n&&n.d()}}}function $a(e){let t,i=e[21]("limitRemoved")+"",r,n,a=e[10].formattedSchedule.expiresString+"",s;return{c(){t=g("span"),r=x(i),n=x(": "),s=x(a)},m(l,o){U(l,t,o),d(t,r),d(t,n),d(t,s)},p(l,o){o[0]&2097152&&i!==(i=l[21]("limitRemoved")+"")&&O(r,i),o[0]&1024&&a!==(a=l[10].formattedSchedule.expiresString+"")&&O(s,a)},d(l){l&&R(t)}}}function qa(e){let t,i=e[21]("limitUpdated")+"",r,n,a=e[10].formattedSchedule.expiresString+"",s;return{c(){t=g("span"),r=x(i),n=x(": "),s=x(a)},m(l,o){U(l,t,o),d(t,r),d(t,n),d(t,s)},p(l,o){o[0]&2097152&&i!==(i=l[21]("limitUpdated")+"")&&O(r,i),o[0]&1024&&a!==(a=l[10].formattedSchedule.expiresString+"")&&O(s,a)},d(l){l&&R(t)}}}function Za(e){let t;function i(a,s){if(a[1])return mm;if(a[2])return cm}let r=i(e),n=r&&r(e);return{c(){t=g("div"),n&&n.c(),p(t,"class","UsefulLinksSection")},m(a,s){U(a,t,s),n&&n.m(t,null)},p(a,s){r===(r=i(a))&&n?n.p(a,s):(n&&n.d(1),n=r&&r(a),n&&(n.c(),n.m(t,null)))},d(a){a&&R(t),n&&n.d()}}}function cm(e){let t,i=e[21]("additionalLink2")+"",r;return{c(){t=g("a"),r=x(i),p(t,"href",e[31]()),p(t,"target","_blank")},m(n,a){U(n,t,a),d(t,r)},p(n,a){a[0]&2097152&&i!==(i=n[21]("additionalLink2")+"")&&O(r,i)},d(n){n&&R(t)}}}function mm(e){let t,i=e[21]("additionalLink1")+"",r;return{c(){t=g("a"),r=x(i),p(t,"href",e[1]),p(t,"target","_blank")},m(n,a){U(n,t,a),d(t,r)},p(n,a){a[0]&2097152&&i!==(i=n[21]("additionalLink1")+"")&&O(r,i),a[0]&2&&p(t,"href",n[1])},d(n){n&&R(t)}}}function Xa(e){let t,i,r=e[21]("limitWalletTypeLabel")+"",n,a,s,l,o,u,h=Ue(e[11]),c=[];for(let f=0;f<h.length;f+=1)c[f]=Ja(Fa(e,h,f));return{c(){t=g("div"),i=g("label"),n=x(r),a=x(":"),s=S(),l=g("select");for(let f=0;f<c.length;f+=1)c[f].c();p(i,"for","LimitPeriod"),p(l,"id","WalletType"),e[14]===void 0&&ai(()=>e[51].call(l)),p(t,"class","ControlContainer")},m(f,w){U(f,t,w),d(t,i),d(i,n),d(i,a),d(t,s),d(t,l);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(l,null);ni(l,e[14],!0),o||(u=[Re(l,"change",e[51]),Re(l,"change",e[27])],o=!0)},p(f,w){if(w[0]&2097152&&r!==(r=f[21]("limitWalletTypeLabel")+"")&&O(n,r),w[0]&4196352){h=Ue(f[11]);let _;for(_=0;_<h.length;_+=1){const M=Fa(f,h,_);c[_]?c[_].p(M,w):(c[_]=Ja(M),c[_].c(),c[_].m(l,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=h.length}w[0]&18432&&ni(l,f[14])},d(f){f&&R(t),Pt(c,f),o=!1,Tt(u)}}}function Ja(e){let t,i=e[22][e[85]]+"",r,n,a;return{c(){t=g("option"),r=x(i),n=S(),t.__value=a=e[85],ri(t,t.__value)},m(s,l){U(s,t,l),d(t,r),d(t,n)},p(s,l){l[0]&2048&&i!==(i=s[22][s[85]]+"")&&O(r,i),l[0]&2048&&a!==(a=s[85])&&(t.__value=a,ri(t,t.__value))},d(s){s&&R(t)}}}function Qa(e){let t,i,r=e[21]("changeLimitLabel")+"",n,a,s,l,o,u,h=Ue(e[12]),c=[];for(let f=0;f<h.length;f+=1)c[f]=Ka(Ba(e,h,f));return{c(){t=g("div"),i=g("label"),n=x(r),a=x(":"),s=S(),l=g("select");for(let f=0;f<c.length;f+=1)c[f].c();p(i,"for","LimitPeriod"),p(l,"id","LimitPeriod"),e[15]===void 0&&ai(()=>e[52].call(l)),p(t,"class","ControlContainer")},m(f,w){U(f,t,w),d(t,i),d(i,n),d(i,a),d(t,s),d(t,l);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(l,null);ni(l,e[15],!0),o||(u=[Re(l,"change",e[52]),Re(l,"change",e[26])],o=!0)},p(f,w){if(w[0]&2097152&&r!==(r=f[21]("changeLimitLabel")+"")&&O(n,r),w[0]&4096){h=Ue(f[12]);let _;for(_=0;_<h.length;_+=1){const M=Ba(f,h,_);c[_]?c[_].p(M,w):(c[_]=Ka(M),c[_].c(),c[_].m(l,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=h.length}w[0]&36864&&ni(l,f[15])},d(f){f&&R(t),Pt(c,f),o=!1,Tt(u)}}}function Ka(e){let t,i=e[85]+"",r,n,a;return{c(){t=g("option"),r=x(i),n=S(),t.__value=a=e[85],ri(t,t.__value)},m(s,l){U(s,t,l),d(t,r),d(t,n)},p(s,l){l[0]&4096&&i!==(i=s[85]+"")&&O(r,i),l[0]&4096&&a!==(a=s[85])&&(t.__value=a,ri(t,t.__value))},d(s){s&&R(t)}}}function es(e){let t,i,r=e[21]("limitTypeLabel")+"",n,a,s,l,o,u,h=Ue(e[13]),c=[];for(let f=0;f<h.length;f+=1)c[f]=ts(Ua(e,h,f));return{c(){t=g("div"),i=g("label"),n=x(r),a=x(":"),s=S(),l=g("select");for(let f=0;f<c.length;f+=1)c[f].c();p(i,"for","LimitType"),p(l,"id","LimitType"),e[16]===void 0&&ai(()=>e[53].call(l)),p(t,"class","ControlContainer")},m(f,w){U(f,t,w),d(t,i),d(i,n),d(i,a),d(t,s),d(t,l);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(l,null);ni(l,e[16],!0),o||(u=[Re(l,"change",e[53]),Re(l,"change",e[23])],o=!0)},p(f,w){if(w[0]&2097152&&r!==(r=f[21]("limitTypeLabel")+"")&&O(n,r),w[0]&8192){h=Ue(f[13]);let _;for(_=0;_<h.length;_+=1){const M=Ua(f,h,_);c[_]?c[_].p(M,w):(c[_]=ts(M),c[_].c(),c[_].m(l,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=h.length}w[0]&73728&&ni(l,f[16])},d(f){f&&R(t),Pt(c,f),o=!1,Tt(u)}}}function ts(e){let t,i=e[85]+"",r,n,a;return{c(){t=g("option"),r=x(i),n=S(),t.__value=a=e[85],ri(t,t.__value)},m(s,l){U(s,t,l),d(t,r),d(t,n)},p(s,l){l[0]&8192&&i!==(i=s[85]+"")&&O(r,i),l[0]&8192&&a!==(a=s[85])&&(t.__value=a,ri(t,t.__value))},d(s){s&&R(t)}}}function is(e){let t,i,r,n,a=e[3]==="true"&&rs(e),s=e[3]==="true"&&ns(e),l=e[4]==="true"&&as(e),o=e[5]==="true"&&e[10].formattedSchedule&&(e[10].formattedSchedule.isRemoved===!0||e[10].formattedSchedule.isUpdated===!0)&&ss(e);return{c(){t=g("div"),a&&a.c(),i=S(),s&&s.c(),r=S(),l&&l.c(),n=S(),o&&o.c(),p(t,"class","ControlContainer")},m(u,h){U(u,t,h),a&&a.m(t,null),d(t,i),s&&s.m(t,null),d(t,r),l&&l.m(t,null),d(t,n),o&&o.m(t,null)},p(u,h){u[3]==="true"?a?a.p(u,h):(a=rs(u),a.c(),a.m(t,i)):a&&(a.d(1),a=null),u[3]==="true"?s?s.p(u,h):(s=ns(u),s.c(),s.m(t,r)):s&&(s.d(1),s=null),u[4]==="true"?l?l.p(u,h):(l=as(u),l.c(),l.m(t,n)):l&&(l.d(1),l=null),u[5]==="true"&&u[10].formattedSchedule&&(u[10].formattedSchedule.isRemoved===!0||u[10].formattedSchedule.isUpdated===!0)?o?o.p(u,h):(o=ss(u),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(u){u&&R(t),a&&a.d(),s&&s.d(),l&&l.d(),o&&o.d()}}}function rs(e){let t,i,r,n,a;return{c(){t=g("button"),i=g("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("addLimitTitle"))},m(s,l){U(s,t,l),d(t,i),i.innerHTML=Ml,n||(a=Re(t,"click",di(e[54])),n=!0)},p(s,l){l[0]&2097152&&r!==(r=s[21]("addLimitTitle"))&&p(t,"title",r)},d(s){s&&R(t),n=!1,a()}}}function ns(e){let t,i,r,n,a;return{c(){t=g("button"),i=g("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("editLimitTitle"))},m(s,l){U(s,t,l),d(t,i),i.innerHTML=rm,n||(a=Re(t,"click",di(e[55])),n=!0)},p(s,l){l[0]&2097152&&r!==(r=s[21]("editLimitTitle"))&&p(t,"title",r)},d(s){s&&R(t),n=!1,a()}}}function as(e){let t,i,r,n,a;return{c(){t=g("button"),i=g("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("deleteLimitTitle"))},m(s,l){U(s,t,l),d(t,i),i.innerHTML=nm,n||(a=Re(t,"click",di(e[56])),n=!0)},p(s,l){l[0]&2097152&&r!==(r=s[21]("deleteLimitTitle"))&&p(t,"title",r)},d(s){s&&R(t),n=!1,a()}}}function ss(e){let t,i,r,n,a;return{c(){t=g("button"),i=g("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("cancelScheduleTitle"))},m(s,l){U(s,t,l),d(t,i),i.innerHTML=im,n||(a=Re(t,"click",di(e[57])),n=!0)},p(s,l){l[0]&2097152&&r!==(r=s[21]("cancelScheduleTitle"))&&p(t,"title",r)},d(s){s&&R(t),n=!1,a()}}}function ls(e){let t,i,r,n,a=e[21]("addLimitText")+"",s,l,o,u;return{c(){t=g("button"),i=g("span"),r=S(),n=g("span"),s=x(a),p(i,"class","ActionsSvg"),p(t,"class","AddLimitControl"),p(t,"title",l=e[21]("addLimitTitle"))},m(h,c){U(h,t,c),d(t,i),i.innerHTML=Ml,d(t,r),d(t,n),d(n,s),o||(u=Re(t,"click",di(e[48])),o=!0)},p(h,c){c[0]&2097152&&a!==(a=h[21]("addLimitText")+"")&&O(s,a),c[0]&2097152&&l!==(l=h[21]("addLimitTitle"))&&p(t,"title",l)},d(h){h&&R(t),o=!1,u()}}}function pm(e){let t;return{c(){t=g("div"),t.innerHTML='<ui-skeleton structure="text" width="90%" height="15px"></ui-skeleton>',p(t,"class","Col")},m(i,r){U(i,t,r)},p:Pe,d(i){i&&R(t)}}}function os(e){let t,i=Ue(Array(2)),r=[];for(let n=0;n<i.length;n+=1)r[n]=pm(lm(e,i,n));return{c(){t=g("div");for(let n=0;n<r.length;n+=1)r[n].c();p(t,"class","Row")},m(n,a){U(n,t,a);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(t,null)},p:Pe,d(n){n&&R(t),Pt(r,n)}}}function gm(e){let t;return{c(){t=g("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="60px" height="10px" margin-bottom="5px"></ui-skeleton> <ui-skeleton structure="rectangle" width="90px" height="20px"></ui-skeleton>',p(t,"class","ControlContainer")},m(i,r){U(i,t,r)},p:Pe,d(i){i&&R(t)}}}function _m(e){let t;function i(a,s){return a[7]?um:om}let r=i(e),n=r(e);return{c(){t=g("div"),n.c(),p(t,"class","")},m(a,s){U(a,t,s),n.m(t,null)},p(a,s){r===(r=i(a))&&n?n.p(a,s):(n.d(1),n=r(a),n&&(n.c(),n.m(t,null)))},i:Pe,o:Pe,d(a){a&&R(t),n.d()}}}function ym(e,t,i){let r;Nl(e,qc,m=>i(21,r=m));let{session:n=""}=t,{sessiontype:a=""}=t,{userid:s=""}=t,{endpoint:l=""}=t,{transdetailsurl:o=""}=t,{transactionspageurl:u=""}=t,{clientstyling:h=""}=t,{clientstylingurl:c=""}=t,{mbsource:f}=t,{lang:w="en"}=t,{translationurl:_=""}=t,{datetimeformat:M=""}=t,{editlimitaction:ae=""}=t,{deletelimitaction:se=""}=t,{cancelimitscheduleaction:te=""}=t,{getutctime:N=""}=t,ee,X=!1,P=!1,le="",G="",Ye=!0,ce,_e=!1,re={id:"",totalAmount:null,spentAmount:"",limitCurrency:"EUR",remainingAmount:"",limitPeriod:"",limitProducts:"",from:"",to:""},Ae=[],Qe=[],St=[],$="",J="",Oe="",oe="",ve=[],Ce=[],Ve=0,Ct="";const gi={Daily:0,Weekly:1,Monthly:2},ft={All:"All",RealCash:"Real Money"};Object.keys(Ia).forEach(m=>{Na(m,Ia[m])}),zl(()=>{setTimeout(()=>{i(46,X=!0)},50);const m=v=>{v.target.closest(".ProductsDropdown")||i(9,_e=!1)};return window.addEventListener("click",m),()=>{window.removeEventListener("click",m)}});const Ht=()=>{i(47,P=!0),le=n,G=s},Ke=m=>{i(20,Ct=m)},_i=()=>{let m=ve;return J&&(m=m.filter(v=>v.period===J)),$&&(m=m.filter(v=>v.walletTypes.includes($))),Oe&&(m=m.filter(v=>v.type===Oe)),oe&&(m=m.filter(v=>v.products.includes(oe))),m[0]||ve[0]},Rt=()=>Ai(this,null,function*(){i(9,_e=!1);try{if(ve=yield $e(),ve.length===0){i(7,Ye=!1),i(8,ce=!0);return}i(12,Qe=[...new Set(ve.map(m=>m.period))].sort((m,v)=>gi[m]-gi[v])),(!J||!Qe.includes(J))&&i(15,J=Qe[0]),i(11,Ae=yi(J)),(!$||!Ae.includes($))&&i(14,$=Ae[0]),i(18,Ce=ct(J,$)),Ce.includes(oe)||i(17,oe=Ce[0]),et(_i())}catch(m){i(7,Ye=!1),Ke(r("fetchLimitBalanceError"));return}}),$e=()=>Ai(this,null,function*(){try{const m=new URL(`${l}/v1/player/${G}/limits/monetary/`),E=yield fetch(m,{method:"GET",headers:{"X-SessionId":le,"X-Session-Type":a}});if(!E.ok)throw new Error(r("fetchLimitDefError"));const W=yield E.json(),z=["Deposit","Loss","Wagering"],it=W.limits.map(ue=>ue.type);i(13,St=Array.from(new Set(it)).filter(ue=>z.includes(ue))),Oe||i(16,Oe=St[0]);const rt=W.limits.filter(ue=>ue.type===Oe);return rt.length>0?rt:[]}catch(m){const v=m instanceof TypeError?r("invalidUrl"):m.message;Ke(v)}}),ct=(m,v)=>{const E=ve.filter(z=>z.period===m&&z.walletTypes[0]===v),W=[];return E.forEach(z=>{z.products.forEach(it=>{W.indexOf(it)===-1&&W.push(it)})}),W.sort()},yi=m=>{const v=ve.filter(W=>W.period===m),E=[];return v.forEach(W=>{W.walletTypes.forEach(z=>{E.indexOf(z)===-1&&E.push(z)})}),E.sort()},et=m=>Ai(this,null,function*(){try{i(7,Ye=!0);const v=new URL(`${l}/v1/player/${G}/limits/monetary/balance`);v.searchParams.append("limitDefinitionId",m.id);const W=yield fetch(v,{method:"GET",headers:{"X-SessionId":le,"X-Session-Type":a}});if(!W.ok)throw new Error(r("fetchLimitBalanceError"));const z=yield W.json();bi(z.limitBalances[0],m)}catch(v){const E=v instanceof TypeError?r("invalidUrl"):v.message;Ke(E)}finally{i(7,Ye=!1)}}),bi=(m,v)=>{i(15,J=m.limitPeriod),i(17,oe=m.limitProducts[0]),i(14,$=m.limitWalletTypes[0]);const E=Xi(v.id,v.schedules);i(10,re={id:v.id,totalAmount:m.limitAmount,spentAmount:m.spentBalance.amount.toFixed(2),limitCurrency:m.limitCurrency,remainingAmount:(m.limitAmount-m.spentBalance.amount).toFixed(2),limitPeriod:m.limitPeriod,limitProducts:oe,from:m.from,to:m.to}),E&&i(10,re.formattedSchedule=E,re),vi(re)},Xi=(m,v)=>{const E=v.find(W=>W.playerLimitId===m);return E?{updateAmount:E.updateAmount,expires:E.applyAt,expiresString:kt(E.applyAt),id:E.id,isRemoved:E.updateAmount<1,isUpdated:E.updateAmount>0}:{updateAmount:"",expires:"",expiresString:"",id:"",isRemoved:!1,isUpdated:!1}},kt=m=>{const v=N==="true";return L(m).utc(v).format(M||"DD/MM/YYYY HH:mm:ss")},vi=m=>{let v=180/m.totalAmount*parseFloat(m.spentAmount);v=Math.min(180,Math.max(0,v));const E=1.5,W=setInterval(()=>{i(19,Ve+=Ve<v?E:-E),Math.abs(Ve-v)<=E&&(i(19,Ve=v),clearInterval(W))})},Ji=m=>{switch(m){case"Deposit":return r("depositLimitHeader");case"Loss":return r("lossLimitHeader");case"Wagering":return r("wageringLimitHeader");default:return""}},Li=m=>{const v=m.currentTarget;i(15,J=v.value),i(11,Ae=yi(J)),(!$||!Ae.includes($))&&i(14,$=Ae[0]),i(18,Ce=ct(J,$)),i(9,_e=!1),Ce.includes(oe)||i(17,oe=Ce[0]);const E=ve.find(W=>W.period===J&&W.walletTypes[0]===$&&W.products.includes(oe));E&&et(E)},mt=m=>{const v=m.currentTarget;i(14,$=v.value),i(18,Ce=ct(J,$)),i(9,_e=!1),Ce.includes(oe)||i(17,oe=Ce[0]);const E=ve.find(W=>W.period===J&&W.walletTypes[0]===$&&W.products.includes(oe));E&&et(E)},Et=m=>{const v=ve.find(E=>E.period===J&&E.products.includes(m));i(10,re.limitProducts=m,re),i(9,_e=!1),v&&et(v)},Nt=()=>{Zc(w)},wi=()=>{let m=new URL(_);fetch(m.href).then(v=>v.json()).then(v=>{Object.keys(v).forEach(E=>{Na(E,v[E])})}).catch(v=>{console.log(v)})},Ti=()=>{i(9,_e=!_e)},pt=m=>m.toString().replace(new RegExp("\\B(?<!\\.\\d*)(?=(\\d{3})+(?!\\d))","g")," "),It=()=>{const m=u,v=Oe==="Deposit"?"payment-transactions":"gaming-transactions",E={Daily:1,Weekly:7,Monthly:30},W=Qi(new Date(re.to),E[J]);try{const z=new URL(`${m}/gammatrix/gmwi/${v}`);switch(z.searchParams.append("transStatuses","2"),z.searchParams.append("startTime",W.toISOString()),z.searchParams.append("endTime",new Date().toISOString()),z.searchParams.append("dateOption","Select custom dates"),z.searchParams.append("userId",s),Oe){case"Deposit":z.searchParams.append("transTypes","1");break;case"Wagering":z.searchParams.append("transTypes","12");break;case"Loss":z.searchParams.append("transTypes","8");break;default:break}return z.toString()}catch(z){const it=z instanceof TypeError?r("invalidUrl"):z.message;Ke(it)}},Qi=(m,v)=>new Date(m.getTime()-v*24*60*60*1e3),Ut=()=>{window.addEventListener("message",m=>{m.data.type==="RGW:RefreshLimits"&&Rt()})},Bt=()=>{window.postMessage({type:"RGW:EditLimit",payload:{id:re.id}},window.location.href)},Si=()=>{window.postMessage({type:"RGW:DeleteLimit",payload:{id:re.id}},window.location.href)},tt=()=>{re&&re.formattedSchedule&&window.postMessage({type:"RGW:CancelLimitSchedule",payload:{limitId:re.id,scheduleId:re.formattedSchedule.id}},window.location.href)},gt=()=>{window.postMessage({type:"RGW:AddNewLimit"},window.location.href)},Ft=()=>gt(),ki=()=>Ti(),Ki=m=>Et(m);function _t(){$=tn(this),i(14,$),i(11,Ae)}function Yt(){J=tn(this),i(15,J),i(12,Qe)}function er(){Oe=tn(this),i(16,Oe),i(13,St)}const jt=()=>gt(),Ei=()=>Bt(),tr=()=>Si(),xi=()=>tt();function Mi(m){mn[m?"unshift":"push"](()=>{ee=m,i(6,ee)})}return e.$$set=m=>{"session"in m&&i(36,n=m.session),"sessiontype"in m&&i(0,a=m.sessiontype),"userid"in m&&i(37,s=m.userid),"endpoint"in m&&i(38,l=m.endpoint),"transdetailsurl"in m&&i(1,o=m.transdetailsurl),"transactionspageurl"in m&&i(2,u=m.transactionspageurl),"clientstyling"in m&&i(39,h=m.clientstyling),"clientstylingurl"in m&&i(40,c=m.clientstylingurl),"mbsource"in m&&i(41,f=m.mbsource),"lang"in m&&i(42,w=m.lang),"translationurl"in m&&i(43,_=m.translationurl),"datetimeformat"in m&&i(44,M=m.datetimeformat),"editlimitaction"in m&&i(3,ae=m.editlimitaction),"deletelimitaction"in m&&i(4,se=m.deletelimitaction),"cancelimitscheduleaction"in m&&i(5,te=m.cancelimitscheduleaction),"getutctime"in m&&i(45,N=m.getutctime)},e.$$.update=()=>{e.$$.dirty[1]&32864&&X&&n&&s&&Ht(),e.$$.dirty[1]&98304&&X&&P&&Ut(),e.$$.dirty[1]&98304&&X&&P&&Rt(),e.$$.dirty[0]&64|e.$$.dirty[1]&256&&h&&ee&&Xc(ee,h),e.$$.dirty[0]&64|e.$$.dirty[1]&512&&c&&ee&&Jc(ee,c),e.$$.dirty[0]&64|e.$$.dirty[1]&1024&&f&&ee&&Qc(ee,`${f}.Style`),e.$$.dirty[1]&2048&&w&&Nt(),e.$$.dirty[1]&4096&&_&&wi()},[a,o,u,ae,se,te,ee,Ye,ce,_e,re,Ae,Qe,St,$,J,Oe,oe,Ce,Ve,Ct,r,ft,Rt,kt,Ji,Li,mt,Et,Ti,pt,It,Bt,Si,tt,gt,n,s,l,h,c,f,w,_,M,N,X,P,Ft,ki,Ki,_t,Yt,er,jt,Ei,tr,xi,Mi]}class Dl extends ro{constructor(t){super(),to(this,t,ym,_m,ds,{session:36,sessiontype:0,userid:37,endpoint:38,transdetailsurl:1,transactionspageurl:2,clientstyling:39,clientstylingurl:40,mbsource:41,lang:42,translationurl:43,datetimeformat:44,editlimitaction:3,deletelimitaction:4,cancelimitscheduleaction:5,getutctime:45},am,[-1,-1,-1,-1])}get session(){return this.$$.ctx[36]}set session(t){this.$$set({session:t}),de()}get sessiontype(){return this.$$.ctx[0]}set sessiontype(t){this.$$set({sessiontype:t}),de()}get userid(){return this.$$.ctx[37]}set userid(t){this.$$set({userid:t}),de()}get endpoint(){return this.$$.ctx[38]}set endpoint(t){this.$$set({endpoint:t}),de()}get transdetailsurl(){return this.$$.ctx[1]}set transdetailsurl(t){this.$$set({transdetailsurl:t}),de()}get transactionspageurl(){return this.$$.ctx[2]}set transactionspageurl(t){this.$$set({transactionspageurl:t}),de()}get clientstyling(){return this.$$.ctx[39]}set clientstyling(t){this.$$set({clientstyling:t}),de()}get clientstylingurl(){return this.$$.ctx[40]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),de()}get mbsource(){return this.$$.ctx[41]}set mbsource(t){this.$$set({mbsource:t}),de()}get lang(){return this.$$.ctx[42]}set lang(t){this.$$set({lang:t}),de()}get translationurl(){return this.$$.ctx[43]}set translationurl(t){this.$$set({translationurl:t}),de()}get datetimeformat(){return this.$$.ctx[44]}set datetimeformat(t){this.$$set({datetimeformat:t}),de()}get editlimitaction(){return this.$$.ctx[3]}set editlimitaction(t){this.$$set({editlimitaction:t}),de()}get deletelimitaction(){return this.$$.ctx[4]}set deletelimitaction(t){this.$$set({deletelimitaction:t}),de()}get cancelimitscheduleaction(){return this.$$.ctx[5]}set cancelimitscheduleaction(t){this.$$set({cancelimitscheduleaction:t}),de()}get getutctime(){return this.$$.ctx[45]}set getutctime(t){this.$$set({getutctime:t}),de()}}io(Dl,{session:{},sessiontype:{},userid:{},endpoint:{},transdetailsurl:{},transactionspageurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},lang:{},translationurl:{},datetimeformat:{},editlimitaction:{},deletelimitaction:{},cancelimitscheduleaction:{},getutctime:{}},[],[],!0);exports.default=Dl;
|
|
39
|
+
`,tm=`<svg xmlns="http://www.w3.org/2000/svg" width="0.93em" height="1em" viewBox="0 0 1664 1792"><path fill="currentColor" d="m1111 1385l-46 46q-9 9-22 9t-23-9l-188-189l-188 189q-10 9-23 9t-22-9l-46-46q-9-9-9-22t9-23l189-188l-189-188q-9-10-9-23t9-22l46-46q9-9 22-9t23 9l188 188l188-188q10-9 23-9t22 9l46 46q9 9 9 22t-9 23l-188 188l188 188q9 10 9 23t-9 22m-983 279h1408V640H128zM512 448V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23m768 0V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23m384-64v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h128v-96q0-66 47-113T416 0h64q66 0 113 47t47 113v96h384v-96q0-66 47-113t113-47h64q66 0 113 47t47 113v96h128q52 0 90 38t38 90"/></svg>
|
|
40
|
+
`,im=`<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 1536 1536"><path fill="currentColor" d="m363 1408l91-91l-235-235l-91 91v107h128v128zm523-928q0-22-22-22q-10 0-17 7l-542 542q-7 7-7 17q0 22 22 22q10 0 17-7l542-542q7-7 7-17m-54-192l416 416l-832 832H0v-416zm683 96q0 53-37 90l-166 166l-416-416l166-165q36-38 90-38q53 0 91 38l235 234q37 39 37 91"/></svg>
|
|
41
|
+
`,rm=`<svg xmlns="http://www.w3.org/2000/svg" width="0.93em" height="1em" viewBox="0 0 1216 1312"><path fill="currentColor" d="M1202 1066q0 40-28 68l-136 136q-28 28-68 28t-68-28L608 976l-294 294q-28 28-68 28t-68-28L42 1134q-28-28-28-68t28-68l294-294L42 410q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294l294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68L880 704l294 294q28 28 28 68"/></svg>
|
|
42
|
+
`,El=`<svg xmlns="http://www.w3.org/2000/svg" class="ControlContainerSvg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"/></svg>
|
|
43
|
+
`;function nm(e){Rl(e,"svelte-6z51uw",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.DisplayNone{display:none}.ContainerCenter{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ContainerCenter p{padding:6px}.ErrorMessage{margin:0 15px;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.LimitsContainer{width:100%;max-width:700px;min-height:355px;border:1px solid var(--emw--color-primary, #307fe2);border-radius:var(--emw--border-radius-large, 20px);overflow:hidden;box-shadow:14px 26px 19.7px 0px var(--emw--color-gray-150, #76768B)}.LimitsContainer .LimitsWrapper{display:flex;gap:25px;padding:25px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.ContentLeft{line-height:20px;flex:1}.LimitTypeHeader{display:flex;align-items:center;color:var(--emw--color-gray-150, #76768B);margin-bottom:20px;gap:5px}.DetailsContainer{margin-bottom:15px;display:inline}.DetailsContainer span{font-weight:var(--emw--font-weight-bold, 700)}.CaretRight{color:var(--emw--color-primary, #307fe2)}.ContentRight{min-width:300px;display:flex;justify-content:center;flex-direction:column}.ExtraInfoContainer{padding:1rem 0;color:var(--emw--color-red, #ed0909)}.UsefulLinksSection{padding-top:5px}.UsefulLinksSection a{color:var(--emw--color-primary, #307fe2);text-decoration:underline}.AddLimitControl{border:0.1rem solid var(--emw--color-primary, #307fe2);border-radius:var(--emw--border-radius-small, 0.3rem);min-height:1rem;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-primary, #307fe2);padding:0.3rem;cursor:pointer;min-width:10rem;display:flex;flex-direction:row;align-items:center;justify-content:center}.WidgetControls{display:flex;width:100%;justify-content:end;gap:10px}.ControlContainer label{display:block;width:100%;font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-bold, 700);margin-bottom:5px}.ControlContainer button{padding:5px;border:1px solid var(--emw--color-contrast, #07072A);border-radius:var(--emw--border-radius-small, 5px);width:25px;cursor:pointer;display:flex;flex-direction:column;margin-bottom:4px}.ControlContainer select{max-width:100px}.ControlContainer .ActionsSvg{height:1em;width:1em;display:flex;justify-content:center;cursor:pointer}.ControlContainer button{padding:5px;border:1px solid var(--emw--color-contrast, #07072A);border-radius:var(--emw--border-radius-small, 5px);width:25px;cursor:pointer;display:flex;flex-direction:column;margin-bottom:4px}.ControlContainer .ActionsSvg{height:1em;width:1em;display:flex;justify-content:center;cursor:pointer}.AddLimitControl .ActionsSvg{height:2em;width:2em;display:flex;justify-content:center;cursor:pointer;padding:5px;margin-right:5px;border:1px solid var(--emw--color-contrast, #07072A);border-radius:var(--emw--border-radius-small, 4px);background:var(--emw--color-white, #FFFFFF)}.Gauge{width:100%;font-family:"Roboto", sans-serif;color:var(--emw--color-black, #000000);margin:1rem 0;flex:1;align-content:center}.GaugeBody{width:100%;position:relative;text-align:center;padding:23px;padding-bottom:0}.Archbg{position:absolute;right:0;bottom:0}.GaugeFill{--p:0deg;--b:26px;border-radius:500px 500px 0 0;background:var(--emw--gauge-fill-bg, var(--emw--color-primary, #307fe2));mask:radial-gradient(farthest-side at bottom, transparent calc(100% - var(--b) - 1px), #fff calc(100% - var(--b))), linear-gradient(var(--p), #fff 50%, transparent 0) top/100% 200%;-webkit-mask:radial-gradient(farthest-side at bottom, transparent calc(100% - var(--b) - 1px), #fff calc(100% - var(--b))), linear-gradient(var(--p), #fff 50%, transparent 0) top/100% 200%;mask-composite:intersect;-webkit-mask-composite:destination-in}.GaugeFill::before{content:"";display:block;padding-top:50%}.GaugeCover{position:absolute;left:50%;transform:translateX(-50%);top:50%;font-size:var(--emw--font-size-large, 18px);white-space:nowrap;width:130px;max-width:200px;overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.GaugeNeedle{width:0.2rem;height:3.5rem;background:linear-gradient(0deg, #000000 0, #000000 55%, #c5c5c5 55%, #c5c5c5 90%, #000000 90%, #000000 100%);display:inline-block;left:49.5%;position:absolute;bottom:0.1rem;transform:var(--transform-needle-value);transform-origin:bottom}.GaugeNeedleCover{width:60px;height:30px;border-radius:150px 150px 0 0;background:var(--emw--color-black, #000000);background:radial-gradient(circle at 50% 100%, var(--emw--color-black, #000000) 0%, var(--emw--color-black, #000000) 25%, #fff 25%, #fff 40%, var(--emw--color-primary, #307fe2) 40%);position:absolute;bottom:0;left:50%;border:4px solid var(--emw--color-white, #FFFFFF);border-bottom:0;transform:translateX(-50%)}.MinMaxContainer{display:flex;justify-content:space-between;margin-top:10px}.ProductSelector{position:relative;margin-bottom:20px}.DisplayContainer{border:1px solid var(--emw--color-primary, #307fe2);background-color:var(--emw--color-gray-100, #f5f5f5);border-radius:var(--emw--border-radius-medium, 12px);box-shadow:4px 4px 4px 0px rgba(0, 0, 0, 0.25);padding:9px;display:flex;align-items:center;justify-content:space-between;color:var(--emw--color-contrast, #07072A);gap:5px;margin-top:20px}.SelectedProduct{font-weight:var(--emw--font-weight-bold, 700);text-align:center;width:70px;color:var(--emw--color-gray-150, #76768B)}.TotalAmount{font-size:var(--emw--font-size-2x-large, 36px);align-items:baseline;gap:5px;overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none;line-height:normal;justify-content:center;white-space:nowrap;max-width:188px;flex:1;text-align:center}.TotalAmount .Currency{font-size:var(--emw--font-size-x-large, 24px)}.TotalAmount::-webkit-scrollbar{display:none}.ProductsDropdown{display:none;position:absolute;background-color:var(--emw--color-gray-100, #f5f5f5);width:100%;box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2);z-index:1;border:1px solid var(--emw--color-primary, #307fe2)}.ProductsDropdown.Show{display:block;border-radius:var(--emw--border-radius-medium, 12px)}.ProductsDropdown button{background-color:transparent;border:none;outline:none;cursor:pointer;padding:10px;width:100%;text-align:left;font-weight:var(--emw--font-weight-bold, 700)}.ProductsDropdown button:hover{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-primary, #307fe2);color:var(--emw--color-white, #FFFFFF)}.DropdownToggle{width:35px;height:35px;display:flex;justify-content:center;align-items:center;background:none;border:none;cursor:pointer;color:var(--emw--color-primary, #307fe2);line-height:0}.DropdownToggle.Active{transform:rotate(90deg)}.Row{display:flex}.Col{flex:1}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function Na(e,t,i){const r=e.slice();return r[85]=t[i],r}function Ia(e,t,i){const r=e.slice();return r[85]=t[i],r}function Ua(e,t,i){const r=e.slice();return r[85]=t[i],r}function Ba(e,t,i){const r=e.slice();return r[92]=t[i],r}function am(e,t,i){const r=e.slice();return r[78]=t[i],r}function Fa(e,t,i){const r=e.slice();return r[78]=t[i],r}function sm(e,t,i){const r=e.slice();return r[78]=t[i],r}function lm(e){let t,i;function r(s,l){return s[8]?hm:s[20]?dm:um}let n=r(e),a=n(e);return{c(){t=g("div"),i=g("div"),a.c(),p(i,"class","LimitsWrapper"),p(t,"class","LimitsContainer")},m(s,l){U(s,t,l),d(t,i),a.m(i,null),e[58](t)},p(s,l){n===(n=r(s))&&a?a.p(s,l):(a.d(1),a=n(s),a&&(a.c(),a.m(i,null)))},d(s){s&&R(t),a.d(),e[58](null)}}}function om(e){let t,i,r,n,a,s,l,o,u,h,c,f,w,_,M,ae,se,te=Ue(Array(4)),N=[];for(let P=0;P<te.length;P+=1)N[P]=ss(Fa(e,te,P));let ee=Ue(Array(3)),X=[];for(let P=0;P<ee.length;P+=1)X[P]=pm(am(e,ee,P));return{c(){t=g("div"),i=g("div"),r=g("div"),n=g("div"),n.innerHTML='<ui-skeleton structure="title" width="20px" height="25px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="25px"></ui-skeleton>',a=S(),s=g("div"),s.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="63px" margin-bottom="20px"></ui-skeleton>',l=S(),o=g("div");for(let P=0;P<N.length;P+=1)N[P].c();u=S(),h=g("div"),h.innerHTML='<div class="Row"><div class="Col"><ui-skeleton structure="text" width="50%" height="15px"></ui-skeleton></div></div>',c=S(),f=g("div"),w=g("div");for(let P=0;P<X.length;P+=1)X[P].c();_=S(),M=g("div"),M.innerHTML='<ui-skeleton structure="rectangle" width="25px" height="25px" margin-bottom="4px"></ui-skeleton> <ui-skeleton structure="rectangle" width="25px" height="25px" margin-bottom="4px"></ui-skeleton> <ui-skeleton structure="rectangle" width="25px" height="25px" margin-bottom="4px"></ui-skeleton>',ae=S(),se=g("div"),se.innerHTML='<ui-skeleton structure="image" width="100%" height="177px"></ui-skeleton>',p(n,"class","LimitTypeHeader"),p(s,"class","ProductSelector"),p(h,"class","UsefulLinksSection"),p(o,"class","DetailsContainer"),p(r,"class","ContentLeft"),p(M,"class","ControlContainer"),p(w,"class","WidgetControls"),p(se,"class","Gauge"),p(f,"class","ContentRight"),p(i,"class","LimitsWrapper"),p(t,"class","LimitsContainer")},m(P,le){U(P,t,le),d(t,i),d(i,r),d(r,n),d(r,a),d(r,s),d(r,l),d(r,o);for(let G=0;G<N.length;G+=1)N[G]&&N[G].m(o,null);d(o,u),d(o,h),d(i,c),d(i,f),d(f,w);for(let G=0;G<X.length;G+=1)X[G]&&X[G].m(w,null);d(w,_),d(w,M),d(f,ae),d(f,se)},p(P,le){if(le&0){te=Ue(Array(4));let G;for(G=0;G<te.length;G+=1){const Ye=Fa(P,te,G);N[G]?N[G].p(Ye,le):(N[G]=ss(Ye),N[G].c(),N[G].m(o,u))}for(;G<N.length;G+=1)N[G].d(1);N.length=te.length}},d(P){P&&R(t),Pt(N,P),Pt(X,P)}}}function um(e){let t,i,r,n=e[25](e[16])+"",a,s,l,o,u,h=e[17]==="All"?`${e[17]} ${e[21]("walletsLabel")}`:`${e[17]} ${e[21]("walletLabel")}`,c,f,w,_=e[30](e[10].totalAmount)+"",M,ae,se,te=e[10].limitCurrency+"",N,ee,X,P,le,G,Ye,ce,_e,re,Ae=e[21]("spentAmount")+"",Qe,St,$,J,Oe,oe=e[30](e[10].spentAmount)+"",ve,Ce,Ve=e[10].limitCurrency+"",Ct,gi,ft,Ht,Ke=e[21]("remainingAmount")+"",_i,Rt,$e,ct,yi,et=e[30](e[10].remainingAmount)+"",bi,Xi,kt=e[10].limitCurrency+"",vi,Ji,Li,mt,Et,Nt=e[21]("startLabel")+"",wi,Ti,pt,It,Qi,Ut=e[24](e[10].from)+"",Bt,Si,tt,gt,Ft=e[21]("resetLabel")+"",ki,Ki,_t,Yt,er,jt=e[24](e[10].to)+"",Ei,tr,xi,Mi,m,v,x,W,z,it,rt,ue,ir,ta,Di,ia,yt,rr=e[30](e[10].spentAmount)+"",qr,ra,nr=e[10].limitCurrency+"",Zr,ar,na,Xr,aa,Pi,sa,Gt,Wt,sr,la,lr,or=e[10].limitCurrency+"",Jr,oa,zt,ur,dr=e[30](e[10].totalAmount)+"",Qr,ua,hr,fr=e[10].limitCurrency+"",Kr,Le=e[18].length>1&&Ya(e),Vt=Ue(e[18]),ye=[];for(let b=0;b<Vt.length;b+=1)ye[b]=ja(Ba(e,Vt,b));let we=e[10].formattedSchedule.isUpdated===!0&&Ga(e),Te=(e[10].formattedSchedule.isRemoved===!0||e[10].formattedSchedule.isUpdated===!0)&&Wa(e),Se=e[0]==="admin"&&$a(e),ke=e[11].length>0&&qa(e),Ee=e[12].length>0&&Xa(e),xe=e[13].length>0&&Qa(e),Me=e[13].length>0&&e[0]==="admin"&&e[10]&&es(e);return{c(){t=g("div"),i=g("h2"),r=new Fl(!1),a=E(n),s=S(),l=g("div"),o=g("div"),u=g("span"),c=E(h),f=S(),w=g("span"),M=E(_),ae=S(),se=g("span"),N=E(te),X=S(),Le&&Le.c(),P=S(),le=g("div");for(let b=0;b<ye.length;b+=1)ye[b].c();Ye=S(),ce=g("div"),_e=g("div"),re=g("div"),Qe=E(Ae),St=S(),$=g("div"),J=g("span"),Oe=S(),ve=E(oe),Ce=S(),Ct=E(Ve),gi=S(),ft=g("div"),Ht=g("div"),_i=E(Ke),Rt=S(),$e=g("div"),ct=g("span"),yi=S(),bi=E(et),Xi=S(),vi=E(kt),Ji=S(),we&&we.c(),Li=S(),mt=g("div"),Et=g("div"),wi=E(Nt),Ti=S(),pt=g("div"),It=g("span"),Qi=S(),Bt=E(Ut),Si=S(),tt=g("div"),gt=g("div"),ki=E(Ft),Ki=S(),_t=g("div"),Yt=g("span"),er=S(),Ei=E(jt),tr=S(),Te&&Te.c(),xi=S(),Se&&Se.c(),Mi=S(),m=g("div"),v=g("div"),ke&&ke.c(),x=S(),Ee&&Ee.c(),W=S(),xe&&xe.c(),z=S(),Me&&Me.c(),it=S(),rt=g("div"),ue=g("div"),ir=g("div"),ta=S(),Di=g("div"),ia=S(),yt=g("div"),qr=E(rr),ra=S(),Zr=E(nr),na=S(),Xr=g("div"),aa=S(),Pi=g("div"),sa=S(),Gt=g("div"),Wt=g("div"),sr=g("strong"),sr.textContent="0",la=S(),lr=g("span"),Jr=E(or),oa=S(),zt=g("div"),ur=g("strong"),Qr=E(dr),ua=S(),hr=g("span"),Kr=E(fr),r.a=a,p(i,"class","LimitTypeHeader"),p(u,"class","SelectedProduct"),p(se,"class","Currency"),p(w,"class","TotalAmount"),p(w,"title",ee=`${e[30](e[10].totalAmount)} ${e[10].limitCurrency}`),p(o,"class","DisplayContainer"),p(le,"class",G="ProductsDropdown "+(e[9]?"Show":"")),p(l,"class","ProductSelector"),p(re,"class","Col"),p(J,"class","CaretRight"),p($,"class","Col"),p(_e,"class","Row"),p(Ht,"class","Col"),p(ct,"class","CaretRight"),p($e,"class","Col"),p(ft,"class","Row"),p(Et,"class","Col"),p(It,"class","CaretRight"),p(pt,"class","Col"),p(mt,"class","Row"),p(gt,"class","Col"),p(Yt,"class","CaretRight"),p(_t,"class","Col"),p(tt,"class","Row"),p(ce,"class","DetailsContainer Entries"),p(t,"class","ContentLeft"),p(v,"class","WidgetControls"),p(ir,"class","Archbg"),p(Di,"class","GaugeFill"),cr(Di,"--p",e[19]+"deg"),p(yt,"class","GaugeCover"),p(yt,"title",ar=`${e[30](e[10].spentAmount)} ${e[10].limitCurrency}`),p(Xr,"class","GaugeNeedleCover"),p(Pi,"class","GaugeNeedle"),cr(Pi,"--transform-needle-value","rotate("+(e[19]-90)+"deg)"),p(ue,"class","GaugeBody"),p(sr,"class","MinContent"),p(lr,"class","MinContentCurrency"),p(Wt,"class","Min"),p(ur,"class","MaxContent"),p(hr,"class","MaxContentCurrency"),p(zt,"class","Max"),p(Gt,"class","MinMaxContainer"),p(rt,"class","Gauge"),p(m,"class","ContentRight")},m(b,A){U(b,t,A),d(t,i),r.m(em,i),d(i,a),d(t,s),d(t,l),d(l,o),d(o,u),d(u,c),d(o,f),d(o,w),d(w,M),d(w,ae),d(w,se),d(se,N),d(o,X),Le&&Le.m(o,null),d(l,P),d(l,le);for(let he=0;he<ye.length;he+=1)ye[he]&&ye[he].m(le,null);d(t,Ye),d(t,ce),d(ce,_e),d(_e,re),d(re,Qe),d(_e,St),d(_e,$),d($,J),J.innerHTML=Ri,d($,Oe),d($,ve),d($,Ce),d($,Ct),d(ce,gi),d(ce,ft),d(ft,Ht),d(Ht,_i),d(ft,Rt),d(ft,$e),d($e,ct),ct.innerHTML=Ri,d($e,yi),d($e,bi),d($e,Xi),d($e,vi),d(ce,Ji),we&&we.m(ce,null),d(ce,Li),d(ce,mt),d(mt,Et),d(Et,wi),d(mt,Ti),d(mt,pt),d(pt,It),It.innerHTML=Ri,d(pt,Qi),d(pt,Bt),d(ce,Si),d(ce,tt),d(tt,gt),d(gt,ki),d(tt,Ki),d(tt,_t),d(_t,Yt),Yt.innerHTML=Ri,d(_t,er),d(_t,Ei),d(t,tr),Te&&Te.m(t,null),d(t,xi),Se&&Se.m(t,null),U(b,Mi,A),U(b,m,A),d(m,v),ke&&ke.m(v,null),d(v,x),Ee&&Ee.m(v,null),d(v,W),xe&&xe.m(v,null),d(v,z),Me&&Me.m(v,null),d(m,it),d(m,rt),d(rt,ue),d(ue,ir),ir.innerHTML=Qc,d(ue,ta),d(ue,Di),d(ue,ia),d(ue,yt),d(yt,qr),d(yt,ra),d(yt,Zr),d(ue,na),d(ue,Xr),d(ue,aa),d(ue,Pi),d(rt,sa),d(rt,Gt),d(Gt,Wt),d(Wt,sr),d(Wt,la),d(Wt,lr),d(lr,Jr),d(Gt,oa),d(Gt,zt),d(zt,ur),d(ur,Qr),d(zt,ua),d(zt,hr),d(hr,Kr)},p(b,A){if(A[0]&65536&&n!==(n=b[25](b[16])+"")&&O(a,n),A[0]&2228224&&h!==(h=b[17]==="All"?`${b[17]} ${b[21]("walletsLabel")}`:`${b[17]} ${b[21]("walletLabel")}`)&&O(c,h),A[0]&1024&&_!==(_=b[30](b[10].totalAmount)+"")&&O(M,_),A[0]&1024&&te!==(te=b[10].limitCurrency+"")&&O(N,te),A[0]&1024&&ee!==(ee=`${b[30](b[10].totalAmount)} ${b[10].limitCurrency}`)&&p(w,"title",ee),b[18].length>1?Le?Le.p(b,A):(Le=Ya(b),Le.c(),Le.m(o,null)):Le&&(Le.d(1),Le=null),A[0]&270794752){Vt=Ue(b[18]);let he;for(he=0;he<Vt.length;he+=1){const da=Ba(b,Vt,he);ye[he]?ye[he].p(da,A):(ye[he]=ja(da),ye[he].c(),ye[he].m(le,null))}for(;he<ye.length;he+=1)ye[he].d(1);ye.length=Vt.length}A[0]&512&&G!==(G="ProductsDropdown "+(b[9]?"Show":""))&&p(le,"class",G),A[0]&2097152&&Ae!==(Ae=b[21]("spentAmount")+"")&&O(Qe,Ae),A[0]&1024&&oe!==(oe=b[30](b[10].spentAmount)+"")&&O(ve,oe),A[0]&1024&&Ve!==(Ve=b[10].limitCurrency+"")&&O(Ct,Ve),A[0]&2097152&&Ke!==(Ke=b[21]("remainingAmount")+"")&&O(_i,Ke),A[0]&1024&&et!==(et=b[30](b[10].remainingAmount)+"")&&O(bi,et),A[0]&1024&&kt!==(kt=b[10].limitCurrency+"")&&O(vi,kt),b[10].formattedSchedule.isUpdated===!0?we?we.p(b,A):(we=Ga(b),we.c(),we.m(ce,Li)):we&&(we.d(1),we=null),A[0]&2097152&&Nt!==(Nt=b[21]("startLabel")+"")&&O(wi,Nt),A[0]&1024&&Ut!==(Ut=b[24](b[10].from)+"")&&O(Bt,Ut),A[0]&2097152&&Ft!==(Ft=b[21]("resetLabel")+"")&&O(ki,Ft),A[0]&1024&&jt!==(jt=b[24](b[10].to)+"")&&O(Ei,jt),b[10].formattedSchedule.isRemoved===!0||b[10].formattedSchedule.isUpdated===!0?Te?Te.p(b,A):(Te=Wa(b),Te.c(),Te.m(t,xi)):Te&&(Te.d(1),Te=null),b[0]==="admin"?Se?Se.p(b,A):(Se=$a(b),Se.c(),Se.m(t,null)):Se&&(Se.d(1),Se=null),b[11].length>0?ke?ke.p(b,A):(ke=qa(b),ke.c(),ke.m(v,x)):ke&&(ke.d(1),ke=null),b[12].length>0?Ee?Ee.p(b,A):(Ee=Xa(b),Ee.c(),Ee.m(v,W)):Ee&&(Ee.d(1),Ee=null),b[13].length>0?xe?xe.p(b,A):(xe=Qa(b),xe.c(),xe.m(v,z)):xe&&(xe.d(1),xe=null),b[13].length>0&&b[0]==="admin"&&b[10]?Me?Me.p(b,A):(Me=es(b),Me.c(),Me.m(v,null)):Me&&(Me.d(1),Me=null),A[0]&524288&&cr(Di,"--p",b[19]+"deg"),A[0]&1024&&rr!==(rr=b[30](b[10].spentAmount)+"")&&O(qr,rr),A[0]&1024&&nr!==(nr=b[10].limitCurrency+"")&&O(Zr,nr),A[0]&1024&&ar!==(ar=`${b[30](b[10].spentAmount)} ${b[10].limitCurrency}`)&&p(yt,"title",ar),A[0]&524288&&cr(Pi,"--transform-needle-value","rotate("+(b[19]-90)+"deg)"),A[0]&1024&&or!==(or=b[10].limitCurrency+"")&&O(Jr,or),A[0]&1024&&dr!==(dr=b[30](b[10].totalAmount)+"")&&O(Qr,dr),A[0]&1024&&fr!==(fr=b[10].limitCurrency+"")&&O(Kr,fr)},d(b){b&&(R(t),R(Mi),R(m)),Le&&Le.d(),Pt(ye,b),we&&we.d(),Te&&Te.d(),Se&&Se.d(),ke&&ke.d(),Ee&&Ee.d(),xe&&xe.d(),Me&&Me.d()}}}function dm(e){let t,i,r;return{c(){t=g("div"),i=g("strong"),r=E(e[20]),p(i,"class","ErrorMessage"),p(t,"class","ContainerCenter")},m(n,a){U(n,t,a),d(t,i),d(i,r)},p(n,a){a[0]&1048576&&O(r,n[20])},d(n){n&&R(t)}}}function hm(e){let t,i,r=e[21]("noLimitToDisplay")+"",n,a,s=e[3]==="true"&&as(e);return{c(){t=g("div"),i=g("p"),n=E(r),a=S(),s&&s.c(),p(t,"class","ContainerCenter")},m(l,o){U(l,t,o),d(t,i),d(i,n),d(t,a),s&&s.m(t,null)},p(l,o){o[0]&2097152&&r!==(r=l[21]("noLimitToDisplay")+"")&&O(n,r),l[3]==="true"?s?s.p(l,o):(s=as(l),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},d(l){l&&R(t),s&&s.d()}}}function Ya(e){let t,i,r,n;return{c(){t=g("button"),p(t,"class",i="DropdownToggle "+(e[9]?"Active":""))},m(a,s){U(a,t,s),t.innerHTML=Kc,r||(n=Re(t,"click",di(e[49])),r=!0)},p(a,s){s[0]&512&&i!==(i="DropdownToggle "+(a[9]?"Active":""))&&p(t,"class",i)},d(a){a&&R(t),r=!1,n()}}}function ja(e){let t,i=e[92]==="All"?`${e[92]} ${e[21]("walletsLabel")}`:`${e[92]} ${e[21]("walletLabel")}`,r,n,a,s;function l(){return e[50](e[92])}return{c(){t=g("button"),r=E(i),n=S()},m(o,u){U(o,t,u),d(t,r),d(t,n),a||(s=Re(t,"click",l),a=!0)},p(o,u){e=o,u[0]&2359296&&i!==(i=e[92]==="All"?`${e[92]} ${e[21]("walletsLabel")}`:`${e[92]} ${e[21]("walletLabel")}`)&&O(r,i)},d(o){o&&R(t),a=!1,s()}}}function Ga(e){let t,i,r=e[21]("futureAmount")+"",n,a,s,l,o,u=e[30](e[10].formattedSchedule.updateAmount)+"",h,c,f=e[10].limitCurrency+"",w;return{c(){t=g("div"),i=g("div"),n=E(r),a=S(),s=g("div"),l=g("span"),o=S(),h=E(u),c=S(),w=E(f),p(i,"class","Col"),p(l,"class","CaretRight"),p(s,"class","Col"),p(t,"class","Row")},m(_,M){U(_,t,M),d(t,i),d(i,n),d(t,a),d(t,s),d(s,l),l.innerHTML=Ri,d(s,o),d(s,h),d(s,c),d(s,w)},p(_,M){M[0]&2097152&&r!==(r=_[21]("futureAmount")+"")&&O(n,r),M[0]&1024&&u!==(u=_[30](_[10].formattedSchedule.updateAmount)+"")&&O(h,u),M[0]&1024&&f!==(f=_[10].limitCurrency+"")&&O(w,f)},d(_){_&&R(t)}}}function Wa(e){let t,i,r=e[10].formattedSchedule.isRemoved===!0&&za(e),n=e[10].formattedSchedule.isUpdated===!0&&Va(e);return{c(){t=g("div"),r&&r.c(),i=S(),n&&n.c(),p(t,"class","ExtraInfoContainer")},m(a,s){U(a,t,s),r&&r.m(t,null),d(t,i),n&&n.m(t,null)},p(a,s){a[10].formattedSchedule.isRemoved===!0?r?r.p(a,s):(r=za(a),r.c(),r.m(t,i)):r&&(r.d(1),r=null),a[10].formattedSchedule.isUpdated===!0?n?n.p(a,s):(n=Va(a),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},d(a){a&&R(t),r&&r.d(),n&&n.d()}}}function za(e){let t,i=e[21]("limitRemoved")+"",r,n,a=e[10].formattedSchedule.expiresString+"",s;return{c(){t=g("span"),r=E(i),n=E(": "),s=E(a)},m(l,o){U(l,t,o),d(t,r),d(t,n),d(t,s)},p(l,o){o[0]&2097152&&i!==(i=l[21]("limitRemoved")+"")&&O(r,i),o[0]&1024&&a!==(a=l[10].formattedSchedule.expiresString+"")&&O(s,a)},d(l){l&&R(t)}}}function Va(e){let t,i=e[21]("limitUpdated")+"",r,n,a=e[10].formattedSchedule.expiresString+"",s;return{c(){t=g("span"),r=E(i),n=E(": "),s=E(a)},m(l,o){U(l,t,o),d(t,r),d(t,n),d(t,s)},p(l,o){o[0]&2097152&&i!==(i=l[21]("limitUpdated")+"")&&O(r,i),o[0]&1024&&a!==(a=l[10].formattedSchedule.expiresString+"")&&O(s,a)},d(l){l&&R(t)}}}function $a(e){let t;function i(a,s){if(a[1])return cm;if(a[2])return fm}let r=i(e),n=r&&r(e);return{c(){t=g("div"),n&&n.c(),p(t,"class","UsefulLinksSection")},m(a,s){U(a,t,s),n&&n.m(t,null)},p(a,s){r===(r=i(a))&&n?n.p(a,s):(n&&n.d(1),n=r&&r(a),n&&(n.c(),n.m(t,null)))},d(a){a&&R(t),n&&n.d()}}}function fm(e){let t,i=e[21]("additionalLink2")+"",r;return{c(){t=g("a"),r=E(i),p(t,"href",e[31]()),p(t,"target","_blank")},m(n,a){U(n,t,a),d(t,r)},p(n,a){a[0]&2097152&&i!==(i=n[21]("additionalLink2")+"")&&O(r,i)},d(n){n&&R(t)}}}function cm(e){let t,i=e[21]("additionalLink1")+"",r;return{c(){t=g("a"),r=E(i),p(t,"href",e[1]),p(t,"target","_blank")},m(n,a){U(n,t,a),d(t,r)},p(n,a){a[0]&2097152&&i!==(i=n[21]("additionalLink1")+"")&&O(r,i),a[0]&2&&p(t,"href",n[1])},d(n){n&&R(t)}}}function qa(e){let t,i,r=e[21]("limitWalletTypeLabel")+"",n,a,s,l,o,u,h=Ue(e[11]),c=[];for(let f=0;f<h.length;f+=1)c[f]=Za(Ua(e,h,f));return{c(){t=g("div"),i=g("label"),n=E(r),a=E(":"),s=S(),l=g("select");for(let f=0;f<c.length;f+=1)c[f].c();p(i,"for","LimitPeriod"),p(l,"id","WalletType"),e[14]===void 0&&ai(()=>e[51].call(l)),p(t,"class","ControlContainer")},m(f,w){U(f,t,w),d(t,i),d(i,n),d(i,a),d(t,s),d(t,l);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(l,null);ni(l,e[14],!0),o||(u=[Re(l,"change",e[51]),Re(l,"change",e[27])],o=!0)},p(f,w){if(w[0]&2097152&&r!==(r=f[21]("limitWalletTypeLabel")+"")&&O(n,r),w[0]&4196352){h=Ue(f[11]);let _;for(_=0;_<h.length;_+=1){const M=Ua(f,h,_);c[_]?c[_].p(M,w):(c[_]=Za(M),c[_].c(),c[_].m(l,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=h.length}w[0]&18432&&ni(l,f[14])},d(f){f&&R(t),Pt(c,f),o=!1,Tt(u)}}}function Za(e){let t,i=e[22][e[85]]+"",r,n,a;return{c(){t=g("option"),r=E(i),n=S(),t.__value=a=e[85],ri(t,t.__value)},m(s,l){U(s,t,l),d(t,r),d(t,n)},p(s,l){l[0]&2048&&i!==(i=s[22][s[85]]+"")&&O(r,i),l[0]&2048&&a!==(a=s[85])&&(t.__value=a,ri(t,t.__value))},d(s){s&&R(t)}}}function Xa(e){let t,i,r=e[21]("changeLimitLabel")+"",n,a,s,l,o,u,h=Ue(e[12]),c=[];for(let f=0;f<h.length;f+=1)c[f]=Ja(Ia(e,h,f));return{c(){t=g("div"),i=g("label"),n=E(r),a=E(":"),s=S(),l=g("select");for(let f=0;f<c.length;f+=1)c[f].c();p(i,"for","LimitPeriod"),p(l,"id","LimitPeriod"),e[15]===void 0&&ai(()=>e[52].call(l)),p(t,"class","ControlContainer")},m(f,w){U(f,t,w),d(t,i),d(i,n),d(i,a),d(t,s),d(t,l);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(l,null);ni(l,e[15],!0),o||(u=[Re(l,"change",e[52]),Re(l,"change",e[26])],o=!0)},p(f,w){if(w[0]&2097152&&r!==(r=f[21]("changeLimitLabel")+"")&&O(n,r),w[0]&4096){h=Ue(f[12]);let _;for(_=0;_<h.length;_+=1){const M=Ia(f,h,_);c[_]?c[_].p(M,w):(c[_]=Ja(M),c[_].c(),c[_].m(l,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=h.length}w[0]&36864&&ni(l,f[15])},d(f){f&&R(t),Pt(c,f),o=!1,Tt(u)}}}function Ja(e){let t,i=e[85]+"",r,n,a;return{c(){t=g("option"),r=E(i),n=S(),t.__value=a=e[85],ri(t,t.__value)},m(s,l){U(s,t,l),d(t,r),d(t,n)},p(s,l){l[0]&4096&&i!==(i=s[85]+"")&&O(r,i),l[0]&4096&&a!==(a=s[85])&&(t.__value=a,ri(t,t.__value))},d(s){s&&R(t)}}}function Qa(e){let t,i,r=e[21]("limitTypeLabel")+"",n,a,s,l,o,u,h=Ue(e[13]),c=[];for(let f=0;f<h.length;f+=1)c[f]=Ka(Na(e,h,f));return{c(){t=g("div"),i=g("label"),n=E(r),a=E(":"),s=S(),l=g("select");for(let f=0;f<c.length;f+=1)c[f].c();p(i,"for","LimitType"),p(l,"id","LimitType"),e[16]===void 0&&ai(()=>e[53].call(l)),p(t,"class","ControlContainer")},m(f,w){U(f,t,w),d(t,i),d(i,n),d(i,a),d(t,s),d(t,l);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(l,null);ni(l,e[16],!0),o||(u=[Re(l,"change",e[53]),Re(l,"change",e[23])],o=!0)},p(f,w){if(w[0]&2097152&&r!==(r=f[21]("limitTypeLabel")+"")&&O(n,r),w[0]&8192){h=Ue(f[13]);let _;for(_=0;_<h.length;_+=1){const M=Na(f,h,_);c[_]?c[_].p(M,w):(c[_]=Ka(M),c[_].c(),c[_].m(l,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=h.length}w[0]&73728&&ni(l,f[16])},d(f){f&&R(t),Pt(c,f),o=!1,Tt(u)}}}function Ka(e){let t,i=e[85]+"",r,n,a;return{c(){t=g("option"),r=E(i),n=S(),t.__value=a=e[85],ri(t,t.__value)},m(s,l){U(s,t,l),d(t,r),d(t,n)},p(s,l){l[0]&8192&&i!==(i=s[85]+"")&&O(r,i),l[0]&8192&&a!==(a=s[85])&&(t.__value=a,ri(t,t.__value))},d(s){s&&R(t)}}}function es(e){let t,i,r,n,a=e[3]==="true"&&ts(e),s=e[3]==="true"&&is(e),l=e[4]==="true"&&rs(e),o=e[5]==="true"&&e[10].formattedSchedule&&(e[10].formattedSchedule.isRemoved===!0||e[10].formattedSchedule.isUpdated===!0)&&ns(e);return{c(){t=g("div"),a&&a.c(),i=S(),s&&s.c(),r=S(),l&&l.c(),n=S(),o&&o.c(),p(t,"class","ControlContainer")},m(u,h){U(u,t,h),a&&a.m(t,null),d(t,i),s&&s.m(t,null),d(t,r),l&&l.m(t,null),d(t,n),o&&o.m(t,null)},p(u,h){u[3]==="true"?a?a.p(u,h):(a=ts(u),a.c(),a.m(t,i)):a&&(a.d(1),a=null),u[3]==="true"?s?s.p(u,h):(s=is(u),s.c(),s.m(t,r)):s&&(s.d(1),s=null),u[4]==="true"?l?l.p(u,h):(l=rs(u),l.c(),l.m(t,n)):l&&(l.d(1),l=null),u[5]==="true"&&u[10].formattedSchedule&&(u[10].formattedSchedule.isRemoved===!0||u[10].formattedSchedule.isUpdated===!0)?o?o.p(u,h):(o=ns(u),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(u){u&&R(t),a&&a.d(),s&&s.d(),l&&l.d(),o&&o.d()}}}function ts(e){let t,i,r,n,a;return{c(){t=g("button"),i=g("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("addLimitTitle"))},m(s,l){U(s,t,l),d(t,i),i.innerHTML=El,n||(a=Re(t,"click",di(e[54])),n=!0)},p(s,l){l[0]&2097152&&r!==(r=s[21]("addLimitTitle"))&&p(t,"title",r)},d(s){s&&R(t),n=!1,a()}}}function is(e){let t,i,r,n,a;return{c(){t=g("button"),i=g("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("editLimitTitle"))},m(s,l){U(s,t,l),d(t,i),i.innerHTML=im,n||(a=Re(t,"click",di(e[55])),n=!0)},p(s,l){l[0]&2097152&&r!==(r=s[21]("editLimitTitle"))&&p(t,"title",r)},d(s){s&&R(t),n=!1,a()}}}function rs(e){let t,i,r,n,a;return{c(){t=g("button"),i=g("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("deleteLimitTitle"))},m(s,l){U(s,t,l),d(t,i),i.innerHTML=rm,n||(a=Re(t,"click",di(e[56])),n=!0)},p(s,l){l[0]&2097152&&r!==(r=s[21]("deleteLimitTitle"))&&p(t,"title",r)},d(s){s&&R(t),n=!1,a()}}}function ns(e){let t,i,r,n,a;return{c(){t=g("button"),i=g("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("cancelScheduleTitle"))},m(s,l){U(s,t,l),d(t,i),i.innerHTML=tm,n||(a=Re(t,"click",di(e[57])),n=!0)},p(s,l){l[0]&2097152&&r!==(r=s[21]("cancelScheduleTitle"))&&p(t,"title",r)},d(s){s&&R(t),n=!1,a()}}}function as(e){let t,i,r,n,a=e[21]("addLimitText")+"",s,l,o,u;return{c(){t=g("button"),i=g("span"),r=S(),n=g("span"),s=E(a),p(i,"class","ActionsSvg"),p(t,"class","AddLimitControl"),p(t,"title",l=e[21]("addLimitTitle"))},m(h,c){U(h,t,c),d(t,i),i.innerHTML=El,d(t,r),d(t,n),d(n,s),o||(u=Re(t,"click",di(e[48])),o=!0)},p(h,c){c[0]&2097152&&a!==(a=h[21]("addLimitText")+"")&&O(s,a),c[0]&2097152&&l!==(l=h[21]("addLimitTitle"))&&p(t,"title",l)},d(h){h&&R(t),o=!1,u()}}}function mm(e){let t;return{c(){t=g("div"),t.innerHTML='<ui-skeleton structure="text" width="90%" height="15px"></ui-skeleton>',p(t,"class","Col")},m(i,r){U(i,t,r)},p:Pe,d(i){i&&R(t)}}}function ss(e){let t,i=Ue(Array(2)),r=[];for(let n=0;n<i.length;n+=1)r[n]=mm(sm(e,i,n));return{c(){t=g("div");for(let n=0;n<r.length;n+=1)r[n].c();p(t,"class","Row")},m(n,a){U(n,t,a);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(t,null)},p:Pe,d(n){n&&R(t),Pt(r,n)}}}function pm(e){let t;return{c(){t=g("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="60px" height="10px" margin-bottom="5px"></ui-skeleton> <ui-skeleton structure="rectangle" width="90px" height="20px"></ui-skeleton>',p(t,"class","ControlContainer")},m(i,r){U(i,t,r)},p:Pe,d(i){i&&R(t)}}}function gm(e){let t;function i(a,s){return a[7]?om:lm}let r=i(e),n=r(e);return{c(){t=g("div"),n.c(),p(t,"class","")},m(a,s){U(a,t,s),n.m(t,null)},p(a,s){r===(r=i(a))&&n?n.p(a,s):(n.d(1),n=r(a),n&&(n.c(),n.m(t,null)))},i:Pe,o:Pe,d(a){a&&R(t),n.d()}}}function _m(e,t,i){let r;Hl(e,$c,m=>i(21,r=m));let{session:n=""}=t,{sessiontype:a=""}=t,{userid:s=""}=t,{endpoint:l=""}=t,{transdetailsurl:o=""}=t,{transactionspageurl:u=""}=t,{clientstyling:h=""}=t,{clientstylingurl:c=""}=t,{mbsource:f}=t,{lang:w="en"}=t,{translationurl:_=""}=t,{datetimeformat:M=""}=t,{editlimitaction:ae=""}=t,{deletelimitaction:se=""}=t,{cancelimitscheduleaction:te=""}=t,{getutctime:N=""}=t,ee,X=!1,P=!1,le="",G="",Ye=!0,ce,_e=!1,re={id:"",totalAmount:null,spentAmount:"",limitCurrency:"EUR",remainingAmount:"",limitPeriod:"",limitProducts:"",from:"",to:""},Ae=[],Qe=[],St=[],$="",J="",Oe="",oe="",ve=[],Ce=[],Ve=0,Ct="";const gi={Daily:0,Weekly:1,Monthly:2},ft={All:"All",RealCash:"Real Money"};Object.keys(Ra).forEach(m=>{Ha(m,Ra[m])}),Gl(()=>{setTimeout(()=>{i(46,X=!0)},50);const m=v=>{v.target.closest(".ProductsDropdown")||i(9,_e=!1)};return window.addEventListener("click",m),()=>{window.removeEventListener("click",m)}});const Ht=()=>{i(47,P=!0),le=n,G=s},Ke=m=>{i(20,Ct=m)},_i=()=>{let m=ve;return J&&(m=m.filter(v=>v.period===J)),$&&(m=m.filter(v=>v.walletTypes.includes($))),Oe&&(m=m.filter(v=>v.type===Oe)),oe&&(m=m.filter(v=>v.products.includes(oe))),m[0]||ve[0]},Rt=()=>Ai(this,null,function*(){i(9,_e=!1);try{if(ve=yield $e(),ve.length===0){i(7,Ye=!1),i(8,ce=!0);return}i(12,Qe=[...new Set(ve.map(m=>m.period))].sort((m,v)=>gi[m]-gi[v])),(!J||!Qe.includes(J))&&i(15,J=Qe[0]),i(11,Ae=yi(J)),(!$||!Ae.includes($))&&i(14,$=Ae[0]),i(18,Ce=ct(J,$)),Ce.includes(oe)||i(17,oe=Ce[0]),et(_i())}catch(m){i(7,Ye=!1),Ke(r("fetchLimitBalanceError"));return}}),$e=()=>Ai(this,null,function*(){try{const m=new URL(`${l}/v1/player/${G}/limits/monetary/`),x=yield fetch(m,{method:"GET",headers:{"X-SessionId":le,"X-Session-Type":a}});if(!x.ok)throw new Error(r("fetchLimitDefError"));const W=yield x.json(),z=["Deposit","Loss","Wagering"],it=W.limits.map(ue=>ue.type);i(13,St=Array.from(new Set(it)).filter(ue=>z.includes(ue))),Oe||i(16,Oe=St[0]);const rt=W.limits.filter(ue=>ue.type===Oe);return rt.length>0?rt:[]}catch(m){const v=m instanceof TypeError?r("invalidUrl"):m.message;Ke(v)}}),ct=(m,v)=>{const x=ve.filter(z=>z.period===m&&z.walletTypes[0]===v),W=[];return x.forEach(z=>{z.products.forEach(it=>{W.indexOf(it)===-1&&W.push(it)})}),W.sort()},yi=m=>{const v=ve.filter(W=>W.period===m),x=[];return v.forEach(W=>{W.walletTypes.forEach(z=>{x.indexOf(z)===-1&&x.push(z)})}),x.sort()},et=m=>Ai(this,null,function*(){try{i(7,Ye=!0);const v=new URL(`${l}/v1/player/${G}/limits/monetary/balance`);v.searchParams.append("limitDefinitionId",m.id);const W=yield fetch(v,{method:"GET",headers:{"X-SessionId":le,"X-Session-Type":a}});if(!W.ok)throw new Error(r("fetchLimitBalanceError"));const z=yield W.json();bi(z.limitBalances[0],m)}catch(v){const x=v instanceof TypeError?r("invalidUrl"):v.message;Ke(x)}finally{i(7,Ye=!1)}}),bi=(m,v)=>{i(15,J=m.limitPeriod),i(17,oe=m.limitProducts[0]),i(14,$=m.limitWalletTypes[0]);const x=Xi(v.id,v.schedules);i(10,re={id:v.id,totalAmount:m.limitAmount,spentAmount:m.spentBalance.amount.toFixed(2),limitCurrency:m.limitCurrency,remainingAmount:(m.limitAmount-m.spentBalance.amount).toFixed(2),limitPeriod:m.limitPeriod,limitProducts:oe,from:m.from,to:m.to}),x&&i(10,re.formattedSchedule=x,re),vi(re)},Xi=(m,v)=>{const x=v.find(W=>W.playerLimitId===m);return x?{updateAmount:x.updateAmount,expires:x.applyAt,expiresString:kt(x.applyAt),id:x.id,isRemoved:x.updateAmount<1,isUpdated:x.updateAmount>0}:{updateAmount:"",expires:"",expiresString:"",id:"",isRemoved:!1,isUpdated:!1}},kt=m=>{const v=N==="true";return L(m).utc(v).format(M||"DD/MM/YYYY HH:mm:ss")},vi=m=>{let v=180/m.totalAmount*parseFloat(m.spentAmount);v=Math.min(180,Math.max(0,v));const x=1.5,W=setInterval(()=>{i(19,Ve+=Ve<v?x:-1.5),Math.abs(Ve-v)<=x&&(i(19,Ve=v),clearInterval(W))})},Ji=m=>{switch(m){case"Deposit":return r("depositLimitHeader");case"Loss":return r("lossLimitHeader");case"Wagering":return r("wageringLimitHeader");default:return""}},Li=m=>{const v=m.currentTarget;i(15,J=v.value),i(11,Ae=yi(J)),(!$||!Ae.includes($))&&i(14,$=Ae[0]),i(18,Ce=ct(J,$)),i(9,_e=!1),Ce.includes(oe)||i(17,oe=Ce[0]);const x=ve.find(W=>W.period===J&&W.walletTypes[0]===$&&W.products.includes(oe));x&&et(x)},mt=m=>{const v=m.currentTarget;i(14,$=v.value),i(18,Ce=ct(J,$)),i(9,_e=!1),Ce.includes(oe)||i(17,oe=Ce[0]);const x=ve.find(W=>W.period===J&&W.walletTypes[0]===$&&W.products.includes(oe));x&&et(x)},Et=m=>{const v=ve.find(x=>x.period===J&&x.products.includes(m));i(10,re.limitProducts=m,re),i(9,_e=!1),v&&et(v)},Nt=()=>{qc(w)},wi=()=>{let m=new URL(_);fetch(m.href).then(v=>v.json()).then(v=>{Object.keys(v).forEach(x=>{Ha(x,v[x])})}).catch(v=>{console.log(v)})},Ti=()=>{i(9,_e=!_e)},pt=m=>m.toString().replace(new RegExp("\\B(?<!\\.\\d*)(?=(\\d{3})+(?!\\d))","g")," "),It=()=>{const m=u,v=Oe==="Deposit"?"payment-transactions":"gaming-transactions",x={Daily:1,Weekly:7,Monthly:30},W=Qi(new Date(re.to),x[J]);try{const z=new URL(`${m}/gammatrix/gmwi/${v}`);switch(z.searchParams.append("transStatuses","2"),z.searchParams.append("startTime",W.toISOString()),z.searchParams.append("endTime",new Date().toISOString()),z.searchParams.append("dateOption","Select custom dates"),z.searchParams.append("userId",s),Oe){case"Deposit":z.searchParams.append("transTypes","1");break;case"Wagering":z.searchParams.append("transTypes","12");break;case"Loss":z.searchParams.append("transTypes","8");break;default:break}return z.toString()}catch(z){const it=z instanceof TypeError?r("invalidUrl"):z.message;Ke(it)}},Qi=(m,v)=>new Date(m.getTime()-v*24*60*60*1e3),Ut=()=>{window.addEventListener("message",m=>{m.data.type==="RGW:RefreshLimits"&&Rt()})},Bt=()=>{window.postMessage({type:"RGW:EditLimit",payload:{id:re.id}},window.location.href)},Si=()=>{window.postMessage({type:"RGW:DeleteLimit",payload:{id:re.id}},window.location.href)},tt=()=>{re&&re.formattedSchedule&&window.postMessage({type:"RGW:CancelLimitSchedule",payload:{limitId:re.id,scheduleId:re.formattedSchedule.id}},window.location.href)},gt=()=>{window.postMessage({type:"RGW:AddNewLimit"},window.location.href)},Ft=()=>gt(),ki=()=>Ti(),Ki=m=>Et(m);function _t(){$=tn(this),i(14,$),i(11,Ae)}function Yt(){J=tn(this),i(15,J),i(12,Qe)}function er(){Oe=tn(this),i(16,Oe),i(13,St)}const jt=()=>gt(),Ei=()=>Bt(),tr=()=>Si(),xi=()=>tt();function Mi(m){mn[m?"unshift":"push"](()=>{ee=m,i(6,ee)})}return e.$$set=m=>{"session"in m&&i(36,n=m.session),"sessiontype"in m&&i(0,a=m.sessiontype),"userid"in m&&i(37,s=m.userid),"endpoint"in m&&i(38,l=m.endpoint),"transdetailsurl"in m&&i(1,o=m.transdetailsurl),"transactionspageurl"in m&&i(2,u=m.transactionspageurl),"clientstyling"in m&&i(39,h=m.clientstyling),"clientstylingurl"in m&&i(40,c=m.clientstylingurl),"mbsource"in m&&i(41,f=m.mbsource),"lang"in m&&i(42,w=m.lang),"translationurl"in m&&i(43,_=m.translationurl),"datetimeformat"in m&&i(44,M=m.datetimeformat),"editlimitaction"in m&&i(3,ae=m.editlimitaction),"deletelimitaction"in m&&i(4,se=m.deletelimitaction),"cancelimitscheduleaction"in m&&i(5,te=m.cancelimitscheduleaction),"getutctime"in m&&i(45,N=m.getutctime)},e.$$.update=()=>{e.$$.dirty[1]&32864&&X&&n&&s&&Ht(),e.$$.dirty[1]&98304&&X&&P&&Ut(),e.$$.dirty[1]&98304&&X&&P&&Rt(),e.$$.dirty[0]&64|e.$$.dirty[1]&256&&h&&ee&&Zc(ee,h),e.$$.dirty[0]&64|e.$$.dirty[1]&512&&c&&ee&&Xc(ee,c),e.$$.dirty[0]&64|e.$$.dirty[1]&1024&&f&&ee&&Jc(ee,`${f}.Style`),e.$$.dirty[1]&2048&&w&&Nt(),e.$$.dirty[1]&4096&&_&&wi()},[a,o,u,ae,se,te,ee,Ye,ce,_e,re,Ae,Qe,St,$,J,Oe,oe,Ce,Ve,Ct,r,ft,Rt,kt,Ji,Li,mt,Et,Ti,pt,It,Bt,Si,tt,gt,n,s,l,h,c,f,w,_,M,N,X,P,Ft,ki,Ki,_t,Yt,er,jt,Ei,tr,xi,Mi]}class xl extends to{constructor(t){super(),Kl(this,t,_m,gm,os,{session:36,sessiontype:0,userid:37,endpoint:38,transdetailsurl:1,transactionspageurl:2,clientstyling:39,clientstylingurl:40,mbsource:41,lang:42,translationurl:43,datetimeformat:44,editlimitaction:3,deletelimitaction:4,cancelimitscheduleaction:5,getutctime:45},nm,[-1,-1,-1,-1])}get session(){return this.$$.ctx[36]}set session(t){this.$$set({session:t}),de()}get sessiontype(){return this.$$.ctx[0]}set sessiontype(t){this.$$set({sessiontype:t}),de()}get userid(){return this.$$.ctx[37]}set userid(t){this.$$set({userid:t}),de()}get endpoint(){return this.$$.ctx[38]}set endpoint(t){this.$$set({endpoint:t}),de()}get transdetailsurl(){return this.$$.ctx[1]}set transdetailsurl(t){this.$$set({transdetailsurl:t}),de()}get transactionspageurl(){return this.$$.ctx[2]}set transactionspageurl(t){this.$$set({transactionspageurl:t}),de()}get clientstyling(){return this.$$.ctx[39]}set clientstyling(t){this.$$set({clientstyling:t}),de()}get clientstylingurl(){return this.$$.ctx[40]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),de()}get mbsource(){return this.$$.ctx[41]}set mbsource(t){this.$$set({mbsource:t}),de()}get lang(){return this.$$.ctx[42]}set lang(t){this.$$set({lang:t}),de()}get translationurl(){return this.$$.ctx[43]}set translationurl(t){this.$$set({translationurl:t}),de()}get datetimeformat(){return this.$$.ctx[44]}set datetimeformat(t){this.$$set({datetimeformat:t}),de()}get editlimitaction(){return this.$$.ctx[3]}set editlimitaction(t){this.$$set({editlimitaction:t}),de()}get deletelimitaction(){return this.$$.ctx[4]}set deletelimitaction(t){this.$$set({deletelimitaction:t}),de()}get cancelimitscheduleaction(){return this.$$.ctx[5]}set cancelimitscheduleaction(t){this.$$set({cancelimitscheduleaction:t}),de()}get getutctime(){return this.$$.ctx[45]}set getutctime(t){this.$$set({getutctime:t}),de()}}eo(xl,{session:{},sessiontype:{},userid:{},endpoint:{},transdetailsurl:{},transactionspageurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},lang:{},translationurl:{},datetimeformat:{},editlimitaction:{},deletelimitaction:{},cancelimitscheduleaction:{},getutctime:{}},[],[],!0);exports.default=xl;
|