@everymatrix/player-rglimits 1.29.0 → 1.29.3
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/CHANGELOG.md +1 -0
- package/dist/player-rglimits.js +109 -109
- package/dist/player-rglimits.js.map +1 -1
- package/package.json +2 -2
- package/src/translations.js +53 -1
package/dist/player-rglimits.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function i(){return Object.create(null)}function n(e){e.forEach(t)}function r(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,o;function l(t,...i){if(null==t)return e;const n=t.subscribe(...i);return n.unsubscribe?()=>n.unsubscribe():n}function u(e,t){e.appendChild(t)}function c(e,t,i){e.insertBefore(t,i||null)}function h(e){e.parentNode&&e.parentNode.removeChild(e)}function d(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function m(e){return document.createElement(e)}function f(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function p(e){return document.createTextNode(e)}function g(){return p(" ")}function y(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function b(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function v(e,t,i){t in e?e[t]="boolean"==typeof e[t]&&""===i||i:b(e,t,i)}function _(e,t){t=""+t,e.data!==t&&(e.data=t)}function
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function i(){return Object.create(null)}function n(e){e.forEach(t)}function r(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,o;function l(t,...i){if(null==t)return e;const n=t.subscribe(...i);return n.unsubscribe?()=>n.unsubscribe():n}function u(e,t){e.appendChild(t)}function c(e,t,i){e.insertBefore(t,i||null)}function h(e){e.parentNode&&e.parentNode.removeChild(e)}function d(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function m(e){return document.createElement(e)}function f(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function p(e){return document.createTextNode(e)}function g(){return p(" ")}function y(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function b(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function v(e,t,i){t in e?e[t]="boolean"==typeof e[t]&&""===i||i:b(e,t,i)}function _(e,t){t=""+t,e.data!==t&&(e.data=t)}function L(e,t,i,n){null==i?e.style.removeProperty(t):e.style.setProperty(t,i,n?"important":"")}function w(e,t,i){for(let i=0;i<e.options.length;i+=1){const n=e.options[i];if(n.__value===t)return void(n.selected=!0)}i&&void 0===t||(e.selectedIndex=-1)}function E(e){const t=e.querySelector(":checked");return t&&t.__value}function T(e){const t={};for(const i of e)t[i.name]=i.value;return t}function S(e){o=e}
|
|
2
2
|
/**
|
|
3
3
|
* The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.
|
|
4
4
|
* It must be called during the component's initialisation (but doesn't need to live *inside* the component;
|
|
@@ -27,17 +27,17 @@ function k(e){(function(){if(!o)throw new Error("Function called outside compone
|
|
|
27
27
|
// 3. During afterUpdate, any updated components will NOT have their afterUpdate
|
|
28
28
|
// callback called a second time; the seen_callbacks set, outside the flush()
|
|
29
29
|
// function, guarantees this behavior.
|
|
30
|
-
const N=new Set;let
|
|
31
|
-
function
|
|
30
|
+
const N=new Set;let R=0;// Do *not* move this inside the flush() function
|
|
31
|
+
function x(){
|
|
32
32
|
// Do not reenter flush while dirty components are updated, as this can
|
|
33
33
|
// result in an infinite loop. Instead, let the inner flush handle it.
|
|
34
34
|
// Reentrancy is ok afterwards for bindings etc.
|
|
35
|
-
if(0!==
|
|
35
|
+
if(0!==R)return;const e=o;do{
|
|
36
36
|
// first, call beforeUpdate functions
|
|
37
37
|
// and update components
|
|
38
|
-
try{for(;
|
|
38
|
+
try{for(;R<M.length;){const e=M[R];R++,S(e),B(e.$$)}}catch(e){
|
|
39
39
|
// reset dirty state to not end up in a deadlocked state and then rethrow
|
|
40
|
-
throw M.length=0,
|
|
40
|
+
throw M.length=0,R=0,e}for(S(null),M.length=0,R=0;D.length;)D.pop()();
|
|
41
41
|
// then, once components are updated, call
|
|
42
42
|
// afterUpdate functions. This may cause
|
|
43
43
|
// subsequent updates...
|
|
@@ -49,7 +49,7 @@ N.add(t),t())}P.length=0}while(M.length);for(;A.length;)A.pop()();C=!1,N.clear()
|
|
|
49
49
|
*/const U=new Set;function Y(e,t){const i=e.$$;null!==i.fragment&&(!function(e){const t=[],i=[];P.forEach((n=>-1===e.indexOf(n)?t.push(n):i.push(n))),i.forEach((e=>e())),P=t}(i.after_update),n(i.on_destroy),i.fragment&&i.fragment.d(t),
|
|
50
50
|
// TODO null out other refs, including component.$$ (but need to
|
|
51
51
|
// preserve final state?)
|
|
52
|
-
i.on_destroy=i.fragment=null,i.ctx=[])}function I(e,t){-1===e.$$.dirty[0]&&(M.push(e),C||(C=!0,H.then(
|
|
52
|
+
i.on_destroy=i.fragment=null,i.ctx=[])}function I(e,t){-1===e.$$.dirty[0]&&(M.push(e),C||(C=!0,H.then(x)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function j(a,s,l,u,c,d,m,f=[-1]){const p=o;S(a);const g=a.$$={fragment:null,ctx:[],
|
|
53
53
|
// state
|
|
54
54
|
props:d,update:e,not_equal:c,bound:i(),
|
|
55
55
|
// lifecycle
|
|
@@ -70,7 +70,7 @@ O((()=>{const i=e.$$.on_mount.map(t).filter(r);
|
|
|
70
70
|
e.$$.on_destroy?e.$$.on_destroy.push(...i):
|
|
71
71
|
// Edge case - component was destroyed immediately,
|
|
72
72
|
// most likely as a result of a binding initialising
|
|
73
|
-
n(i),e.$$.on_mount=[]})),l.forEach(O)}(a,s.target,s.anchor,s.customElement),
|
|
73
|
+
n(i),e.$$.on_mount=[]})),l.forEach(O)}(a,s.target,s.anchor,s.customElement),x()}var b,v;S(p)}let G;"function"==typeof HTMLElement&&(G=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(r);
|
|
74
74
|
// @ts-ignore todo: improve typings
|
|
75
75
|
for(const e in this.$$.slotted)
|
|
76
76
|
// @ts-ignore todo: improve typings
|
|
@@ -87,31 +87,31 @@ return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o
|
|
|
87
87
|
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 g(e){return null==e._pf&&(e._pf=p()),e._pf}function y(e){if(null==e._isValid){var t=g(e),n=i.call(t.parsedDateParts,(function(e){return null!=e})),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&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function b(e){var t=f(NaN);return null!=e?m(g(t),e):g(t).userInvalidated=!0,t}
|
|
88
88
|
// Plugins that add properties should also add the key here (null value),
|
|
89
89
|
// so we can properly clone ourselves.
|
|
90
|
-
i=Array.prototype.some?Array.prototype.some:function(e){var t,i=Object(this),n=i.length>>>0;for(t=0;t<n;t++)if(t in i&&e.call(this,i[t],t,i))return!0;return!1};var v=n.momentProperties=[],_=!1;function
|
|
90
|
+
i=Array.prototype.some?Array.prototype.some:function(e){var t,i=Object(this),n=i.length>>>0;for(t=0;t<n;t++)if(t in i&&e.call(this,i[t],t,i))return!0;return!1};var v=n.momentProperties=[],_=!1;function L(e,t){var i,n,r,a=v.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=g(t)),u(t._locale)||(e._locale=t._locale),a>0)for(i=0;i<a;i++)u(r=t[n=v[i]])||(e[n]=r);return e}
|
|
91
91
|
// Moment prototype object
|
|
92
|
-
function
|
|
92
|
+
function w(e){L(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),
|
|
93
93
|
// Prevent infinite loop in case updateOffset creates new moment
|
|
94
94
|
// objects.
|
|
95
|
-
!1===_&&(_=!0,n.updateOffset(this),_=!1)}function E(e){return e instanceof
|
|
95
|
+
!1===_&&(_=!0,n.updateOffset(this),_=!1)}function E(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function T(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var i=!0;return m((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),i){var r,a,s,l=[],u=arguments.length;for(a=0;a<u;a++){if(r="","object"==typeof arguments[a]){for(s in r+="\n["+a+"] ",arguments[0])o(arguments[0],s)&&(r+=s+": "+arguments[0][s]+", ");r=r.slice(0,-2)}else r=arguments[a];l.push(r)}T(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),i=!1}return t.apply(this,arguments)}),t)}var k,M={};function D(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),M[e]||(T(t),M[e]=!0)}function P(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function A(e){var t,i;for(i in e)o(e,i)&&(P(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,
|
|
96
96
|
// Lenient ordinal parsing accepts just a number in addition to
|
|
97
97
|
// number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
|
|
98
98
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
|
99
99
|
this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function H(e,t){var i,n=m({},e);for(i in t)o(t,i)&&(s(e[i])&&s(t[i])?(n[i]={},m(n[i],e[i]),m(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)o(e,i)&&!o(t,i)&&s(e[i])&&(
|
|
100
100
|
// make sure changes to properties don't modify parent config
|
|
101
|
-
n[i]=m({},n[i]));return n}function C(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)o(e,t)&&i.push(t);return i};var O={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function N(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return P(n)?n.call(t,i):n}function
|
|
101
|
+
n[i]=m({},n[i]));return n}function C(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)o(e,t)&&i.push(t);return i};var O={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function N(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return P(n)?n.call(t,i):n}function R(e,t,i){var n=""+Math.abs(e),r=t-n.length;return(e>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+n}var x=/(\[[^\[]*\])|(\\)?([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,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,U={},Y={};
|
|
102
102
|
// token: 'M'
|
|
103
103
|
// padded: ['MM', 2]
|
|
104
104
|
// ordinal: 'Mo'
|
|
105
105
|
// callback: function () { this.month() + 1 }
|
|
106
|
-
function I(e,t,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),e&&(Y[e]=r),t&&(Y[t[0]]=function(){return
|
|
106
|
+
function I(e,t,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),e&&(Y[e]=r),t&&(Y[t[0]]=function(){return R(r.apply(this,arguments),t[1],t[2])}),i&&(Y[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function j(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function G(e){var t,i,n=e.match(x);for(t=0,i=n.length;t<i;t++)Y[n[t]]?n[t]=Y[n[t]]:n[t]=j(n[t]);return function(t){var r,a="";for(r=0;r<i;r++)a+=P(n[r])?n[r].call(t,e):n[r];return a}}
|
|
107
107
|
// format date using native date object
|
|
108
|
-
function $(e,t){return e.isValid()?(t=z(t,e.localeData()),U[t]=U[t]||G(t),U[t](e)):e.localeData().invalidDate()}function z(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(B.lastIndex=0;i>=0&&B.test(e);)e=e.replace(B,n),B.lastIndex=0,i-=1;return e}var
|
|
108
|
+
function $(e,t){return e.isValid()?(t=z(t,e.localeData()),U[t]=U[t]||G(t),U[t](e)):e.localeData().invalidDate()}function z(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(B.lastIndex=0;i>=0&&B.test(e);)e=e.replace(B,n),B.lastIndex=0,i-=1;return e}var V={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 W(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(x).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var Z="Invalid date";function X(){return this._invalidDate}var K="%d",q=/\d{1,2}/;function J(e){return this._ordinal.replace("%d",e)}var Q={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 ee(e,t,i,n){var r=this._relativeTime[i];return P(r)?r(e,t,i,n):r.replace(/%d/i,e)}function te(e,t){var i=this._relativeTime[e>0?"future":"past"];return P(i)?i(t):i.replace(/%s/i,t)}var ie={};function ne(e,t){var i=e.toLowerCase();ie[i]=ie[i+"s"]=ie[t]=e}function re(e){return"string"==typeof e?ie[e]||ie[e.toLowerCase()]:void 0}function ae(e){var t,i,n={};for(i in e)o(e,i)&&(t=re(i))&&(n[t]=e[i]);return n}var se={};function oe(e,t){se[e]=t}function le(e){var t,i=[];for(t in e)o(e,t)&&i.push({unit:t,priority:se[t]});return i.sort((function(e,t){return e.priority-t.priority})),i}function ue(e){return e%4==0&&e%100!=0||e%400==0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=ce(t)),i}function de(e,t){return function(i){return null!=i?(fe(this,e,i),n.updateOffset(this,t),this):me(this,e)}}function me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(i=he(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),et(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}
|
|
109
109
|
// MOMENTS
|
|
110
110
|
function pe(e){return P(this[e=re(e)])?this[e]():this}function ge(e,t){if("object"==typeof e){var i,n=le(e=ae(e)),r=n.length;for(i=0;i<r;i++)this[n[i].unit](e[n[i].unit])}else if(P(this[e=re(e)]))return this[e](t);return this}var ye,be=/\d/,// 0 - 9
|
|
111
111
|
ve=/\d\d/,// 00 - 99
|
|
112
112
|
_e=/\d{3}/,// 000 - 999
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
Le=/\d{4}/,// 0000 - 9999
|
|
114
|
+
we=/[+-]?\d{6}/,// -999999 - 999999
|
|
115
115
|
Ee=/\d\d?/,// 0 - 99
|
|
116
116
|
Te=/\d\d\d\d?/,// 999 - 9999
|
|
117
117
|
Se=/\d\d\d\d\d\d?/,// 99999 - 999999
|
|
@@ -125,9 +125,9 @@ Ce=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
|
|
|
125
125
|
Oe=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
|
|
126
126
|
// any word (or two) characters or numbers including two/three word month in arabic.
|
|
127
127
|
// includes scottish gaelic two word and hyphenated months
|
|
128
|
-
Ne=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function
|
|
128
|
+
Ne=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Re(e,t,i){ye[e]=P(t)?t:function(e,n){return e&&i?i:t}}function xe(e,t){return o(ye,e)?ye[e](t._strict,t._locale):new RegExp(Be(e))}
|
|
129
129
|
// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
|
|
130
|
-
function Be(e){return Ue(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,i,n,r){return t||i||n||r})))}function Ue(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ye={};var Ye={};function Ie(e,t){var i,n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,i){i[t]=he(e)}),n=e.length,i=0;i<n;i++)Ye[e[i]]=r}function je(e,t){Ie(e,(function(e,i,n,r){n._w=n._w||{},t(e,n._w,n,r)}))}function Ge(e,t,i){null!=t&&o(Ye,e)&&Ye[e](t,i._a,i,e)}var Fe,$e=0,ze=1,
|
|
130
|
+
function Be(e){return Ue(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,i,n,r){return t||i||n||r})))}function Ue(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ye={};var Ye={};function Ie(e,t){var i,n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,i){i[t]=he(e)}),n=e.length,i=0;i<n;i++)Ye[e[i]]=r}function je(e,t){Ie(e,(function(e,i,n,r){n._w=n._w||{},t(e,n._w,n,r)}))}function Ge(e,t,i){null!=t&&o(Ye,e)&&Ye[e](t,i._a,i,e)}var Fe,$e=0,ze=1,Ve=2,We=3,Ze=4,Xe=5,Ke=6,qe=7,Je=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=Qe(t,12);return e+=(t-i)/12,1===i?ue(e)?29:28:31-i%7%2}
|
|
131
131
|
// FORMATTING
|
|
132
132
|
Fe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
|
|
133
133
|
// I know
|
|
@@ -137,7 +137,7 @@ ne("month","M"),
|
|
|
137
137
|
// PRIORITY
|
|
138
138
|
oe("month",8),
|
|
139
139
|
// PARSING
|
|
140
|
-
|
|
140
|
+
Re("M",Ee),Re("MM",Ee,ve),Re("MMM",(function(e,t){return t.monthsShortRegex(e)})),Re("MMMM",(function(e,t){return t.monthsRegex(e)})),Ie(["M","MM"],(function(e,t){t[ze]=he(e)-1})),Ie(["MMM","MMMM"],(function(e,t,i,n){var r=i._locale.monthsParse(e,n,i._strict);
|
|
141
141
|
// if we didn't find a month name, mark the date as invalid.
|
|
142
142
|
null!=r?t[ze]=r:g(i).invalidMonth=e}));
|
|
143
143
|
// LOCALES
|
|
@@ -167,13 +167,13 @@ for(n.sort(e),r.sort(e),a.sort(e),t=0;t<12;t++)n[t]=Ue(n[t]),r[t]=Ue(r[t]);for(t
|
|
|
167
167
|
// HELPERS
|
|
168
168
|
function gt(e){return ue(e)?366:365}
|
|
169
169
|
// HOOKS
|
|
170
|
-
I("Y",0,0,(function(){var e=this.year();return e<=9999?
|
|
170
|
+
I("Y",0,0,(function(){var e=this.year();return e<=9999?R(e,4):"+"+e})),I(0,["YY",2],0,(function(){return this.year()%100})),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),
|
|
171
171
|
// ALIASES
|
|
172
172
|
ne("year","y"),
|
|
173
173
|
// PRIORITIES
|
|
174
174
|
oe("year",1),
|
|
175
175
|
// PARSING
|
|
176
|
-
|
|
176
|
+
Re("Y",Ae),Re("YY",Ee,ve),Re("YYYY",Me,Le),Re("YYYYY",De,we),Re("YYYYYY",De,we),Ie(["YYYYY","YYYYYY"],$e),Ie("YYYY",(function(e,t){t[$e]=2===e.length?n.parseTwoDigitYear(e):he(e)})),Ie("YY",(function(e,t){t[$e]=n.parseTwoDigitYear(e)})),Ie("Y",(function(e,t){t[$e]=parseInt(e,10)})),n.parseTwoDigitYear=function(e){return he(e)+(he(e)>68?1900:2e3)};
|
|
177
177
|
// MOMENTS
|
|
178
178
|
var yt=de("FullYear",!0);function bt(){return ue(this.year())}function vt(e,t,i,n,r,a,s){
|
|
179
179
|
// can't just apply() to create a date:
|
|
@@ -188,10 +188,10 @@ return e<100&&e>=0?(
|
|
|
188
188
|
// preserve leap years using a full 400 year cycle, then reset
|
|
189
189
|
(i=Array.prototype.slice.call(arguments))[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}
|
|
190
190
|
// start-of-first-week - start-of-year
|
|
191
|
-
function
|
|
191
|
+
function Lt(e,t,i){var// first-week day -- which january is always in the first week (4 for iso, 1 for other)
|
|
192
192
|
n=7+t-i;return-(7+_t(e,0,n).getUTCDay()-t)%7+n-1}
|
|
193
193
|
// https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
|
|
194
|
-
function
|
|
194
|
+
function wt(e,t,i,n,r){var a,s,o=1+7*(t-1)+(7+i-n)%7+Lt(e,n,r);return o<=0?s=gt(a=e-1)+o:o>gt(e)?(a=e+1,s=o-gt(e)):(a=e,s=o),{year:a,dayOfYear:s}}function Et(e,t,i){var n,r,a=Lt(e.year(),t,i),s=Math.floor((e.dayOfYear()-a-1)/7)+1;return s<1?n=s+Tt(r=e.year()-1,t,i):s>Tt(e.year(),t,i)?(n=s-Tt(e.year(),t,i),r=e.year()+1):(r=e.year(),n=s),{week:n,year:r}}function Tt(e,t,i){var n=Lt(e,t,i),r=Lt(e+1,t,i);return(gt(e)-n+r)/7}
|
|
195
195
|
// FORMATTING
|
|
196
196
|
// HELPERS
|
|
197
197
|
// LOCALES
|
|
@@ -201,7 +201,7 @@ ne("week","w"),ne("isoWeek","W"),
|
|
|
201
201
|
// PRIORITIES
|
|
202
202
|
oe("week",5),oe("isoWeek",5),
|
|
203
203
|
// PARSING
|
|
204
|
-
|
|
204
|
+
Re("w",Ee),Re("ww",Ee,ve),Re("W",Ee),Re("WW",Ee,ve),je(["w","ww","W","WW"],(function(e,t,i,n){t[n.substr(0,1)]=he(e)}));var kt={dow:0,// Sunday is the first day of the week.
|
|
205
205
|
doy:6};function Mt(){return this._week.dow}function Dt(){return this._week.doy}
|
|
206
206
|
// MOMENTS
|
|
207
207
|
function Pt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function At(e){var t=Et(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
|
|
@@ -215,15 +215,15 @@ ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),
|
|
|
215
215
|
// PRIORITY
|
|
216
216
|
oe("day",11),oe("weekday",11),oe("isoWeekday",11),
|
|
217
217
|
// PARSING
|
|
218
|
-
|
|
218
|
+
Re("d",Ee),Re("e",Ee),Re("E",Ee),Re("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Re("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Re("dddd",(function(e,t){return t.weekdaysRegex(e)})),je(["dd","ddd","dddd"],(function(e,t,i,n){var r=i._locale.weekdaysParse(e,n,i._strict);
|
|
219
219
|
// if we didn't get a weekday name, mark the date as invalid
|
|
220
|
-
null!=r?t.d=r:g(i).invalidWeekday=e})),je(["d","e","E"],(function(e,t,i,n){t[n]=he(e)}));var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
|
220
|
+
null!=r?t.d=r:g(i).invalidWeekday=e})),je(["d","e","E"],(function(e,t,i,n){t[n]=he(e)}));var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bt=Ne,Ut=Ne,Yt=Ne;function It(e,t){var i=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ot(i,this._week.dow):e?i[e.day()]:i}function jt(e){return!0===e?Ot(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Gt(e){return!0===e?Ot(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ft(e,t,i){var n,r,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=f([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=Fe.call(this._weekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Fe.call(this._shortWeekdaysParse,s))?r:null:-1!==(r=Fe.call(this._minWeekdaysParse,s))?r:null:"dddd"===t?-1!==(r=Fe.call(this._weekdaysParse,s))||-1!==(r=Fe.call(this._shortWeekdaysParse,s))||-1!==(r=Fe.call(this._minWeekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Fe.call(this._shortWeekdaysParse,s))||-1!==(r=Fe.call(this._weekdaysParse,s))||-1!==(r=Fe.call(this._minWeekdaysParse,s))?r:null:-1!==(r=Fe.call(this._minWeekdaysParse,s))||-1!==(r=Fe.call(this._weekdaysParse,s))||-1!==(r=Fe.call(this._shortWeekdaysParse,s))?r:null}function $t(e,t,i){var n,r,a;if(this._weekdaysParseExact)return Ft.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){
|
|
221
221
|
// test the regex
|
|
222
222
|
if(
|
|
223
223
|
// make the regex if we don't have it already
|
|
224
224
|
r=f([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}}
|
|
225
225
|
// MOMENTS
|
|
226
|
-
function zt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ht(e,this.localeData()),this.add(e-t,"d")):t}function
|
|
226
|
+
function zt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ht(e,this.localeData()),this.add(e-t,"d")):t}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Wt(e){if(!this.isValid())return null!=e?this:NaN;
|
|
227
227
|
// behaves the same as moment#day except
|
|
228
228
|
// as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
|
|
229
229
|
// as a setter, sunday should belong to the previous week.
|
|
@@ -241,16 +241,16 @@ function ti(e,t){return t._meridiemParse}
|
|
|
241
241
|
function ii(e){
|
|
242
242
|
// IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
|
|
243
243
|
// Using charAt should be more compatible.
|
|
244
|
-
return"p"===(e+"").toLowerCase().charAt(0)}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Jt),I("k",["kk",2],0,Qt),I("hmm",0,0,(function(){return""+Jt.apply(this)+
|
|
244
|
+
return"p"===(e+"").toLowerCase().charAt(0)}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Jt),I("k",["kk",2],0,Qt),I("hmm",0,0,(function(){return""+Jt.apply(this)+R(this.minutes(),2)})),I("hmmss",0,0,(function(){return""+Jt.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)})),I("Hmm",0,0,(function(){return""+this.hours()+R(this.minutes(),2)})),I("Hmmss",0,0,(function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)})),ei("a",!0),ei("A",!1),
|
|
245
245
|
// ALIASES
|
|
246
246
|
ne("hour","h"),
|
|
247
247
|
// PRIORITY
|
|
248
|
-
oe("hour",13),
|
|
248
|
+
oe("hour",13),Re("a",ti),Re("A",ti),Re("H",Ee),Re("h",Ee),Re("k",Ee),Re("HH",Ee,ve),Re("hh",Ee,ve),Re("kk",Ee,ve),Re("hmm",Te),Re("hmmss",Se),Re("Hmm",Te),Re("Hmmss",Se),Ie(["H","HH"],We),Ie(["k","kk"],(function(e,t,i){var n=he(e);t[We]=24===n?0:n})),Ie(["a","A"],(function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e})),Ie(["h","hh"],(function(e,t,i){t[We]=he(e),g(i).bigHour=!0})),Ie("hmm",(function(e,t,i){var n=e.length-2;t[We]=he(e.substr(0,n)),t[Ze]=he(e.substr(n)),g(i).bigHour=!0})),Ie("hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[We]=he(e.substr(0,n)),t[Ze]=he(e.substr(n,2)),t[Xe]=he(e.substr(r)),g(i).bigHour=!0})),Ie("Hmm",(function(e,t,i){var n=e.length-2;t[We]=he(e.substr(0,n)),t[Ze]=he(e.substr(n))})),Ie("Hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[We]=he(e.substr(0,n)),t[Ze]=he(e.substr(n,2)),t[Xe]=he(e.substr(r))}));var ni=/[ap]\.?m?\.?/i,
|
|
249
249
|
// Setting the hour should keep the time, because the user explicitly
|
|
250
250
|
// specified which hour they want. So trying to maintain the same hour (in
|
|
251
251
|
// a new timezone) makes sense. Adding/subtracting hours does not follow
|
|
252
252
|
// this rule.
|
|
253
|
-
ri=de("Hours",!0);function ai(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"}var si,oi={calendar:O,longDateFormat:
|
|
253
|
+
ri=de("Hours",!0);function ai(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"}var si,oi={calendar:O,longDateFormat:V,invalidDate:Z,ordinal:K,dayOfMonthOrdinalParse:q,relativeTime:Q,months:tt,monthsShort:it,week:kt,weekdays:Nt,weekdaysMin:xt,weekdaysShort:Rt,meridiemParse:ni},li={},ui={};
|
|
254
254
|
// internal storage for locale config files
|
|
255
255
|
function ci(e,t){var i,n=Math.min(e.length,t.length);for(i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}function hi(e){return e?e.toLowerCase().replace("_","-"):e}
|
|
256
256
|
// pick the locale from the array
|
|
@@ -296,26 +296,26 @@ null!=li[e]&&(null!=li[e].parentLocale?(li[e]=li[e].parentLocale,e===pi()&&pi(e)
|
|
|
296
296
|
// returns locale data
|
|
297
297
|
function bi(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return si;if(!a(e)){if(
|
|
298
298
|
//short-circuit everything else
|
|
299
|
-
t=fi(e))return t;e=[e]}return di(e)}function vi(){return k(li)}function _i(e){var t,i=e._a;return i&&-2===g(e).overflow&&(t=i[ze]<0||i[ze]>11?ze:i[
|
|
299
|
+
t=fi(e))return t;e=[e]}return di(e)}function vi(){return k(li)}function _i(e){var t,i=e._a;return i&&-2===g(e).overflow&&(t=i[ze]<0||i[ze]>11?ze:i[Ve]<1||i[Ve]>et(i[$e],i[ze])?Ve:i[We]<0||i[We]>24||24===i[We]&&(0!==i[Ze]||0!==i[Xe]||0!==i[Ke])?We:i[Ze]<0||i[Ze]>59?Ze:i[Xe]<0||i[Xe]>59?Xe:i[Ke]<0||i[Ke]>999?Ke:-1,g(e)._overflowDayOfYear&&(t<$e||t>Ve)&&(t=Ve),g(e)._overflowWeeks&&-1===t&&(t=qe),g(e)._overflowWeekday&&-1===t&&(t=Je),g(e).overflow=t),e}
|
|
300
300
|
// iso 8601 regex
|
|
301
301
|
// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
|
|
302
|
-
var
|
|
302
|
+
var Li=/^\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)?)?$/,wi=/^\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)?)?$/,Ei=/Z|[+-]\d\d(?::?\d\d)?/,Ti=[["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]],
|
|
303
303
|
// iso time formats and regexes
|
|
304
304
|
Si=[["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/]],ki=/^\/?Date\((-?\d+)/i,
|
|
305
305
|
// RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
|
|
306
306
|
Mi=/^(?:(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}))$/,Di={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
|
|
307
307
|
// date from iso format
|
|
308
|
-
function Pi(e){var t,i,n,r,a,s,o=e._i,l=
|
|
308
|
+
function Pi(e){var t,i,n,r,a,s,o=e._i,l=Li.exec(o)||wi.exec(o),u=Ti.length,c=Si.length;if(l){for(g(e).iso=!0,t=0,i=u;t<i;t++)if(Ti[t][1].exec(l[1])){r=Ti[t][0],n=!1!==Ti[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,i=c;t<i;t++)if(Si[t][1].exec(l[3])){
|
|
309
309
|
// match[2] should be 'T' or space
|
|
310
310
|
a=(l[2]||" ")+Si[t][0];break}if(null==a)return void(e._isValid=!1)}if(!n&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Ei.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=r+(a||"")+(s||""),ji(e)}else e._isValid=!1}function Ai(e,t,i,n,r,a){var s=[Hi(e),it.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(r,10)];return a&&s.push(parseInt(a,10)),s}function Hi(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ci(e){
|
|
311
311
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
|
312
|
-
return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Oi(e,t,i){return!e||
|
|
312
|
+
return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Oi(e,t,i){return!e||Rt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(i).weekdayMismatch=!0,i._isValid=!1,!1)}function Ni(e,t,i){if(e)return Di[e];if(t)
|
|
313
313
|
// the only allowed military tz is Z
|
|
314
314
|
return 0;var n=parseInt(i,10),r=n%100;return(n-r)/100*60+r}
|
|
315
315
|
// date and time from ref 2822 format
|
|
316
|
-
function
|
|
316
|
+
function Ri(e){var t,i=Mi.exec(Ci(e._i));if(i){if(t=Ai(i[4],i[3],i[2],i[5],i[6],i[7]),!Oi(i[1],t,e))return;e._a=t,e._tzm=Ni(i[8],i[9],i[10]),e._d=_t.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
|
|
317
317
|
// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
|
|
318
|
-
function
|
|
318
|
+
function xi(e){var t=ki.exec(e._i);null===t?(Pi(e),!1===e._isValid&&(delete e._isValid,Ri(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
|
|
319
319
|
// Final attempt, use Input Fallback
|
|
320
320
|
n.createFromInputFallback(e)))):e._d=new Date(+t[1])}
|
|
321
321
|
// Pick the first defined of two or three arguments.
|
|
@@ -334,16 +334,16 @@ function Yi(e){var t,i,n,r,a,s=[];if(!e._d){
|
|
|
334
334
|
// * if year is given, don't default anything
|
|
335
335
|
for(n=Ui(e),
|
|
336
336
|
//compute day of the year from weeks and weekdays
|
|
337
|
-
e._w&&null==e._a[
|
|
337
|
+
e._w&&null==e._a[Ve]&&null==e._a[ze]&&Ii(e),
|
|
338
338
|
//if the day of the year is set, figure out what it is
|
|
339
|
-
null!=e._dayOfYear&&(a=Bi(e._a[$e],n[$e]),(e._dayOfYear>gt(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),i=_t(a,0,e._dayOfYear),e._a[ze]=i.getUTCMonth(),e._a[
|
|
339
|
+
null!=e._dayOfYear&&(a=Bi(e._a[$e],n[$e]),(e._dayOfYear>gt(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),i=_t(a,0,e._dayOfYear),e._a[ze]=i.getUTCMonth(),e._a[Ve]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=n[t];
|
|
340
340
|
// Zero out whatever was not defaulted, including time
|
|
341
341
|
for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];
|
|
342
342
|
// Check for 24:00:00.000
|
|
343
|
-
24===e._a[
|
|
343
|
+
24===e._a[We]&&0===e._a[Ze]&&0===e._a[Xe]&&0===e._a[Ke]&&(e._nextDay=!0,e._a[We]=0),e._d=(e._useUTC?_t:vt).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),
|
|
344
344
|
// Apply timezone offset from input. The actual utcOffset can be changed
|
|
345
345
|
// with parseZone.
|
|
346
|
-
null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[
|
|
346
|
+
null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[We]=24),
|
|
347
347
|
// check for mismatching day of week
|
|
348
348
|
e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Ii(e){var t,i,n,r,a,s,o,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,s=4,
|
|
349
349
|
// TODO: We need to take the current isoWeekYear, but that depends on
|
|
@@ -358,34 +358,34 @@ r=t.d)<0||r>6)&&(l=!0):null!=t.e?(
|
|
|
358
358
|
// local weekday -- counting starts from beginning of week
|
|
359
359
|
r=t.e+a,(t.e<0||t.e>6)&&(l=!0)):
|
|
360
360
|
// default to beginning of week
|
|
361
|
-
r=a),n<1||n>Tt(i,a,s)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(o=
|
|
361
|
+
r=a),n<1||n>Tt(i,a,s)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(o=wt(i,n,r,a,s),e._a[$e]=o.year,e._dayOfYear=o.dayOfYear)}
|
|
362
362
|
// constant that refers to the ISO standard
|
|
363
363
|
// date from string and format string
|
|
364
364
|
function ji(e){
|
|
365
365
|
// TODO: Move this to another part of the creation flow to prevent circular deps
|
|
366
366
|
if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],g(e).empty=!0;
|
|
367
367
|
// This array is used to make a Date, either with `new Date` or `Date.UTC`
|
|
368
|
-
var t,i,r,a,s,o,l,u=""+e._i,c=u.length,h=0;for(l=(r=z(e._f,e._locale).match(
|
|
368
|
+
var t,i,r,a,s,o,l,u=""+e._i,c=u.length,h=0;for(l=(r=z(e._f,e._locale).match(x)||[]).length,t=0;t<l;t++)a=r[t],(i=(u.match(xe(a,e))||[])[0])&&((s=u.substr(0,u.indexOf(i))).length>0&&g(e).unusedInput.push(s),u=u.slice(u.indexOf(i)+i.length),h+=i.length),
|
|
369
369
|
// don't parse if it's not a known token
|
|
370
370
|
Y[a]?(i?g(e).empty=!1:g(e).unusedTokens.push(a),Ge(a,i,e)):e._strict&&!i&&g(e).unusedTokens.push(a);
|
|
371
371
|
// add remaining unparsed input length to the string
|
|
372
372
|
g(e).charsLeftOver=c-h,u.length>0&&g(e).unusedInput.push(u),
|
|
373
373
|
// clear _12h flag if hour is <= 12
|
|
374
|
-
e._a[
|
|
374
|
+
e._a[We]<=12&&!0===g(e).bigHour&&e._a[We]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,
|
|
375
375
|
// handle meridiem
|
|
376
|
-
e._a[
|
|
376
|
+
e._a[We]=Gi(e._locale,e._a[We],e._meridiem),null!==(
|
|
377
377
|
// handle era
|
|
378
|
-
o=g(e).era)&&(e._a[$e]=e._locale.erasConvertYear(o,e._a[$e])),Yi(e),_i(e)}else
|
|
378
|
+
o=g(e).era)&&(e._a[$e]=e._locale.erasConvertYear(o,e._a[$e])),Yi(e),_i(e)}else Ri(e);else Pi(e)}function Gi(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?(
|
|
379
379
|
// Fallback
|
|
380
380
|
(n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}
|
|
381
381
|
// date from string and array of format strings
|
|
382
|
-
function Fi(e){var t,i,n,r,a,s,o=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)a=0,s=!1,t=
|
|
382
|
+
function Fi(e){var t,i,n,r,a,s,o=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)a=0,s=!1,t=L({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],ji(t),y(t)&&(s=!0),
|
|
383
383
|
// if there is any input that was not parsed add a penalty for that format
|
|
384
384
|
a+=g(t).charsLeftOver,
|
|
385
385
|
//or tokens
|
|
386
|
-
a+=10*g(t).unusedTokens.length,g(t).score=a,o?a<n&&(n=a,i=t):(null==n||a<n||s)&&(n=a,i=t,s&&(o=!0));m(e,i||t)}function $i(e){if(!e._d){var t=ae(e._i),i=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Yi(e)}}function zi(e){var t=new
|
|
386
|
+
a+=10*g(t).unusedTokens.length,g(t).score=a,o?a<n&&(n=a,i=t):(null==n||a<n||s)&&(n=a,i=t,s&&(o=!0));m(e,i||t)}function $i(e){if(!e._d){var t=ae(e._i),i=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Yi(e)}}function zi(e){var t=new w(_i(Vi(e)));return t._nextDay&&(
|
|
387
387
|
// Adding is smart enough around DST
|
|
388
|
-
t.add(1,"d"),t._nextDay=void 0),t}function
|
|
388
|
+
t.add(1,"d"),t._nextDay=void 0),t}function Vi(e){var t=e._i,i=e._f;return e._locale=e._locale||bi(e._l),null===t||void 0===i&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),E(t)?new w(_i(t)):(h(t)?e._d=t:a(i)?Fi(e):i?ji(e):Wi(e),y(e)||(e._d=null),e))}function Wi(e){var t=e._i;u(t)?e._d=new Date(n.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?xi(e):a(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Yi(e)):s(t)?$i(e):c(t)?
|
|
389
389
|
// from milliseconds
|
|
390
390
|
e._d=new Date(t):n.createFromInputFallback(e)}function Zi(e,t,i,n,r){var o={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(s(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),
|
|
391
391
|
// object construction must be done this way.
|
|
@@ -416,9 +416,9 @@ this._months=+r+3*n+12*i,this._data={},this._locale=bi(),this._bubble()}function
|
|
|
416
416
|
// compare two arrays, return the number of differences
|
|
417
417
|
function cn(e,t,i){var n,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),s=0;for(n=0;n<r;n++)(i&&e[n]!==t[n]||!i&&he(e[n])!==he(t[n]))&&s++;return s+a}
|
|
418
418
|
// FORMATTING
|
|
419
|
-
function hn(e,t){I(e,0,0,(function(){var e=this.utcOffset(),i="+";return e<0&&(e=-e,i="-"),i+
|
|
419
|
+
function hn(e,t){I(e,0,0,(function(){var e=this.utcOffset(),i="+";return e<0&&(e=-e,i="-"),i+R(~~(e/60),2)+t+R(~~e%60,2)}))}hn("Z",":"),hn("ZZ",""),
|
|
420
420
|
// PARSING
|
|
421
|
-
|
|
421
|
+
Re("Z",Ce),Re("ZZ",Ce),Ie(["Z","ZZ"],(function(e,t,i){i._useUTC=!0,i._tzm=mn(Ce,e)}));
|
|
422
422
|
// HELPERS
|
|
423
423
|
// timezone chunker
|
|
424
424
|
// '+10:00' > ['10', '00']
|
|
@@ -444,7 +444,7 @@ return-Math.round(e._d.getTimezoneOffset())}
|
|
|
444
444
|
// a second time. In case it wants us to change the offset again
|
|
445
445
|
// _changeInProgress == true case, then we have to adjust, because
|
|
446
446
|
// there is no such time in the given timezone.
|
|
447
|
-
function gn(e,t,i){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=mn(Ce,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(r=pn(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?Nn(this,Pn(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:pn(this)}function yn(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function bn(e){return this.utcOffset(0,e)}function vn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pn(this),"m")),this}function _n(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mn(He,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function
|
|
447
|
+
function gn(e,t,i){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=mn(Ce,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(r=pn(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?Nn(this,Pn(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:pn(this)}function yn(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function bn(e){return this.utcOffset(0,e)}function vn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pn(this),"m")),this}function _n(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mn(He,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ln(e){return!!this.isValid()&&(e=e?Xi(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function wn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function En(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return L(t,this),(t=Vi(t))._a?(e=t._isUTC?f(t._a):Xi(t._a),this._isDSTShifted=this.isValid()&&cn(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Tn(){return!!this.isValid()&&!this._isUTC}function Sn(){return!!this.isValid()&&this._isUTC}function kn(){return!!this.isValid()&&this._isUTC&&0===this._offset}
|
|
448
448
|
// ASP.NET json date format regex
|
|
449
449
|
n.updateOffset=function(){};var Mn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
|
|
450
450
|
// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
|
|
@@ -452,7 +452,7 @@ n.updateOffset=function(){};var Mn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\
|
|
|
452
452
|
// and further modified to allow for strings containing both week and day
|
|
453
453
|
Dn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Pn(e,t){var i,n,r,a=e,
|
|
454
454
|
// matching against regexp is expensive, do it on demand
|
|
455
|
-
s=null;return ln(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(s=Mn.exec(e))?(i="-"===s[1]?-1:1,a={y:0,d:he(s[
|
|
455
|
+
s=null;return ln(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(s=Mn.exec(e))?(i="-"===s[1]?-1:1,a={y:0,d:he(s[Ve])*i,h:he(s[We])*i,m:he(s[Ze])*i,s:he(s[Xe])*i,ms:he(un(1e3*s[Ke]))*i}):(s=Dn.exec(e))?(i="-"===s[1]?-1:1,a={y:An(s[2],i),M:An(s[3],i),w:An(s[4],i),d:An(s[5],i),h:An(s[6],i),m:An(s[7],i),s:An(s[8],i)}):null==a?
|
|
456
456
|
// checks for null or undefined
|
|
457
457
|
a={}:"object"==typeof a&&("from"in a||"to"in a)&&(r=Cn(Xi(a.from),Xi(a.to)),(a={}).ms=r.milliseconds,a.M=r.months),n=new on(a),ln(e)&&o(e,"_locale")&&(n._locale=e._locale),ln(e)&&o(e,"_isValid")&&(n._isValid=e._isValid),n}function An(e,t){
|
|
458
458
|
// We'd normally use ~~inp for this, but unfortunately it also
|
|
@@ -464,14 +464,14 @@ return(isNaN(i)?0:i)*t}function Hn(e,t){var i={};return i.months=t.month()-e.mon
|
|
|
464
464
|
// TODO: remove 'name' arg after deprecation is removed
|
|
465
465
|
function On(e,t){return function(i,n){var r;
|
|
466
466
|
//invert the arguments, but complain about it
|
|
467
|
-
return null===n||isNaN(+n)||(D(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."),r=i,i=n,n=r),Nn(this,Pn(i,n),e),this}}function Nn(e,t,i,r){var a=t._milliseconds,s=un(t._days),o=un(t._months);e.isValid()&&(r=null==r||r,o&&ct(e,me(e,"Month")+o*i),s&&fe(e,"Date",me(e,"Date")+s*i),a&&e._d.setTime(e._d.valueOf()+a*i),r&&n.updateOffset(e,s||o))}Pn.fn=on.prototype,Pn.invalid=sn;var
|
|
467
|
+
return null===n||isNaN(+n)||(D(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."),r=i,i=n,n=r),Nn(this,Pn(i,n),e),this}}function Nn(e,t,i,r){var a=t._milliseconds,s=un(t._days),o=un(t._months);e.isValid()&&(r=null==r||r,o&&ct(e,me(e,"Month")+o*i),s&&fe(e,"Date",me(e,"Date")+s*i),a&&e._d.setTime(e._d.valueOf()+a*i),r&&n.updateOffset(e,s||o))}Pn.fn=on.prototype,Pn.invalid=sn;var Rn=On(1,"add"),xn=On(-1,"subtract");function Bn(e){return"string"==typeof e||e instanceof String}
|
|
468
468
|
// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
|
|
469
469
|
function Un(e){return E(e)||h(e)||Bn(e)||c(e)||In(e)||Yn(e)||null==e}function Yn(e){var t,i,n=s(e)&&!l(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=a.length;for(t=0;t<u;t+=1)i=a[t],r=r||o(e,i);return n&&r}function In(e){var t=a(e),i=!1;return t&&(i=0===e.filter((function(t){return!c(t)&&Bn(e)})).length),t&&i}function jn(e){var t,i,n=s(e)&&!l(e),r=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)i=a[t],r=r||o(e,i);return n&&r}function Gn(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 Fn(e,t){
|
|
470
470
|
// Support for single parameter, formats only overload to the calendar function
|
|
471
471
|
1===arguments.length&&(arguments[0]?Un(arguments[0])?(e=arguments[0],t=void 0):jn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
|
|
472
472
|
// We want to compare the start of today, vs this.
|
|
473
473
|
// Getting start-of-today depends on whether we're local/utc/offset or not.
|
|
474
|
-
var i=e||Xi(),r=fn(i,this).startOf("day"),a=n.calendarFormat(this,r)||"sameElse",s=t&&(P(t[a])?t[a].call(this,i):t[a]);return this.format(s||this.localeData().calendar(a,this,Xi(i)))}function $n(){return new
|
|
474
|
+
var i=e||Xi(),r=fn(i,this).startOf("day"),a=n.calendarFormat(this,r)||"sameElse",s=t&&(P(t[a])?t[a].call(this,i):t[a]);return this.format(s||this.localeData().calendar(a,this,Xi(i)))}function $n(){return new w(this)}function zn(e,t){var i=E(e)?e:Xi(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())}function Vn(e,t){var i=E(e)?e:Xi(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())}function Wn(e,t,i,n){var r=E(e)?e:Xi(e),a=E(t)?t:Xi(t);return!!(this.isValid()&&r.isValid()&&a.isValid())&&("("===(n=n||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===n[1]?this.isBefore(a,i):!this.isAfter(a,i))}function Zn(e,t){var i,n=E(e)?e:Xi(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))}function Xn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Kn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function qn(e,t,i){var n,r,a;if(!this.isValid())return NaN;if(!(n=fn(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=re(t)){case"year":a=Jn(this,n)/12;break;case"month":a=Jn(this,n);break;case"quarter":a=Jn(this,n)/3;break;case"second":a=(this-n)/1e3;break;// 1000
|
|
475
475
|
case"minute":a=(this-n)/6e4;break;// 1000 * 60
|
|
476
476
|
case"hour":a=(this-n)/36e5;break;// 1000 * 60 * 60
|
|
477
477
|
case"day":a=(this-n-r)/864e5;break;// 1000 * 60 * 60 * 24, negate dst
|
|
@@ -503,7 +503,7 @@ function fr(e,t){return(e%t+t)%t}function pr(e,t,i){
|
|
|
503
503
|
// the date constructor remaps years 0-99 to 1900-1999
|
|
504
504
|
return e<100&&e>=0?new Date(e+400,t,i)-mr:new Date(e,t,i).valueOf()}function gr(e,t,i){
|
|
505
505
|
// Date.UTC remaps years 0-99 to 1900-1999
|
|
506
|
-
return e<100&&e>=0?Date.UTC(e+400,t,i)-mr:Date.UTC(e,t,i)}function yr(e){var t,i;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?gr:pr,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-=fr(t+(this._isUTC?0:this.utcOffset()*hr),dr);break;case"minute":t=this._d.valueOf(),t-=fr(t,hr);break;case"second":t=this._d.valueOf(),t-=fr(t,cr)}return this._d.setTime(t),n.updateOffset(this,!0),this}function br(e){var t,i;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?gr:pr,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+=dr-fr(t+(this._isUTC?0:this.utcOffset()*hr),dr)-1;break;case"minute":t=this._d.valueOf(),t+=hr-fr(t,hr)-1;break;case"second":t=this._d.valueOf(),t+=cr-fr(t,cr)-1}return this._d.setTime(t),n.updateOffset(this,!0),this}function vr(){return this._d.valueOf()-6e4*(this._offset||0)}function _r(){return Math.floor(this.valueOf()/1e3)}function
|
|
506
|
+
return e<100&&e>=0?Date.UTC(e+400,t,i)-mr:Date.UTC(e,t,i)}function yr(e){var t,i;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?gr:pr,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-=fr(t+(this._isUTC?0:this.utcOffset()*hr),dr);break;case"minute":t=this._d.valueOf(),t-=fr(t,hr);break;case"second":t=this._d.valueOf(),t-=fr(t,cr)}return this._d.setTime(t),n.updateOffset(this,!0),this}function br(e){var t,i;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?gr:pr,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+=dr-fr(t+(this._isUTC?0:this.utcOffset()*hr),dr)-1;break;case"minute":t=this._d.valueOf(),t+=hr-fr(t,hr)-1;break;case"second":t=this._d.valueOf(),t+=cr-fr(t,cr)-1}return this._d.setTime(t),n.updateOffset(this,!0),this}function vr(){return this._d.valueOf()-6e4*(this._offset||0)}function _r(){return Math.floor(this.valueOf()/1e3)}function Lr(){return new Date(this.valueOf())}function wr(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Er(){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 Tr(){
|
|
507
507
|
// new Date(NaN).toJSON() === null
|
|
508
508
|
return this.isValid()?this.toISOString():null}function Sr(){return y(this)}function kr(){return m({},g(this))}function Mr(){return g(this).overflow}function Dr(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Pr(e,t){var i,r,a,s=this._eras||bi("en")._eras;for(i=0,r=s.length;i<r;++i)switch("string"==typeof s[i].since&&(
|
|
509
509
|
// truncate time
|
|
@@ -515,38 +515,38 @@ i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e]
|
|
|
515
515
|
// truncate time
|
|
516
516
|
i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].narrow;if(n[e].until<=i&&i<=n[e].since)return n[e].narrow}return""}function Nr(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(
|
|
517
517
|
// truncate time
|
|
518
|
-
i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].abbr;if(n[e].until<=i&&i<=n[e].since)return n[e].abbr}return""}function
|
|
518
|
+
i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].abbr;if(n[e].until<=i&&i<=n[e].since)return n[e].abbr}return""}function Rr(){var e,t,i,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(i=a[e].since<=a[e].until?1:-1,
|
|
519
519
|
// truncate time
|
|
520
|
-
r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-n(a[e].since).year())*i+a[e].offset;return this.year()}function
|
|
520
|
+
r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-n(a[e].since).year())*i+a[e].offset;return this.year()}function xr(e){return o(this,"_erasNameRegex")||Fr.call(this),e?this._erasNameRegex:this._erasRegex}function Br(e){return o(this,"_erasAbbrRegex")||Fr.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ur(e){return o(this,"_erasNarrowRegex")||Fr.call(this),e?this._erasNarrowRegex:this._erasRegex}function Yr(e,t){return t.erasAbbrRegex(e)}function Ir(e,t){return t.erasNameRegex(e)}function jr(e,t){return t.erasNarrowRegex(e)}function Gr(e,t){return t._eraYearOrdinalRegex||Pe}function Fr(){var e,t,i=[],n=[],r=[],a=[],s=this.eras();for(e=0,t=s.length;e<t;++e)n.push(Ue(s[e].name)),i.push(Ue(s[e].abbr)),r.push(Ue(s[e].narrow)),a.push(Ue(s[e].name)),a.push(Ue(s[e].abbr)),a.push(Ue(s[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}
|
|
521
521
|
// FORMATTING
|
|
522
522
|
function $r(e,t){I(0,[e,e.length],0,t)}
|
|
523
523
|
// MOMENTS
|
|
524
|
-
function zr(e){return qr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function
|
|
524
|
+
function zr(e){return qr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vr(e){return qr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wr(){return Tt(this.year(),1,4)}function Zr(){return Tt(this.isoWeekYear(),1,4)}function Xr(){var e=this.localeData()._week;return Tt(this.year(),e.dow,e.doy)}function Kr(){var e=this.localeData()._week;return Tt(this.weekYear(),e.dow,e.doy)}function qr(e,t,i,n,r){var a;return null==e?Et(this,n,r).year:(t>(a=Tt(e,n,r))&&(t=a),Jr.call(this,e,t,i,n,r))}function Jr(e,t,i,n,r){var a=wt(e,t,i,n,r),s=_t(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}
|
|
525
525
|
// FORMATTING
|
|
526
526
|
// MOMENTS
|
|
527
527
|
function Qr(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
|
|
528
528
|
// FORMATTING
|
|
529
|
-
I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),
|
|
529
|
+
I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),Re("N",Yr),Re("NN",Yr),Re("NNN",Yr),Re("NNNN",Ir),Re("NNNNN",jr),Ie(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,i,n){var r=i._locale.erasParse(e,n,i._strict);r?g(i).era=r:g(i).invalidEra=e})),Re("y",Pe),Re("yy",Pe),Re("yyy",Pe),Re("yyyy",Pe),Re("yo",Gr),Ie(["y","yy","yyy","yyyy"],$e),Ie(["yo"],(function(e,t,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[$e]=i._locale.eraYearOrdinalParse(e,r):t[$e]=parseInt(e,10)})),I(0,["gg",2],0,(function(){return this.weekYear()%100})),I(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),$r("gggg","weekYear"),$r("ggggg","weekYear"),$r("GGGG","isoWeekYear"),$r("GGGGG","isoWeekYear"),
|
|
530
530
|
// ALIASES
|
|
531
531
|
ne("weekYear","gg"),ne("isoWeekYear","GG"),
|
|
532
532
|
// PRIORITY
|
|
533
533
|
oe("weekYear",1),oe("isoWeekYear",1),
|
|
534
534
|
// PARSING
|
|
535
|
-
|
|
535
|
+
Re("G",Ae),Re("g",Ae),Re("GG",Ee,ve),Re("gg",Ee,ve),Re("GGGG",Me,Le),Re("gggg",Me,Le),Re("GGGGG",De,we),Re("ggggg",De,we),je(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,i,n){t[n.substr(0,2)]=he(e)})),je(["gg","GG"],(function(e,t,i,r){t[r]=n.parseTwoDigitYear(e)})),I("Q",0,"Qo","quarter"),
|
|
536
536
|
// ALIASES
|
|
537
537
|
ne("quarter","Q"),
|
|
538
538
|
// PRIORITY
|
|
539
539
|
oe("quarter",7),
|
|
540
540
|
// PARSING
|
|
541
|
-
|
|
541
|
+
Re("Q",be),Ie("Q",(function(e,t){t[ze]=3*(he(e)-1)})),I("D",["DD",2],"Do","date"),
|
|
542
542
|
// ALIASES
|
|
543
543
|
ne("date","D"),
|
|
544
544
|
// PRIORITY
|
|
545
545
|
oe("date",9),
|
|
546
546
|
// PARSING
|
|
547
|
-
|
|
547
|
+
Re("D",Ee),Re("DD",Ee,ve),Re("Do",(function(e,t){
|
|
548
548
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
|
549
|
-
return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ie(["D","DD"],
|
|
549
|
+
return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ie(["D","DD"],Ve),Ie("Do",(function(e,t){t[Ve]=he(e.match(Ee)[0])}));
|
|
550
550
|
// MOMENTS
|
|
551
551
|
var ea=de("Date",!0);
|
|
552
552
|
// FORMATTING
|
|
@@ -560,13 +560,13 @@ ne("dayOfYear","DDD"),
|
|
|
560
560
|
// PRIORITY
|
|
561
561
|
oe("dayOfYear",4),
|
|
562
562
|
// PARSING
|
|
563
|
-
|
|
563
|
+
Re("DDD",ke),Re("DDDD",_e),Ie(["DDD","DDDD"],(function(e,t,i){i._dayOfYear=he(e)})),I("m",["mm",2],0,"minute"),
|
|
564
564
|
// ALIASES
|
|
565
565
|
ne("minute","m"),
|
|
566
566
|
// PRIORITY
|
|
567
567
|
oe("minute",14),
|
|
568
568
|
// PARSING
|
|
569
|
-
|
|
569
|
+
Re("m",Ee),Re("mm",Ee,ve),Ie(["m","mm"],Ze);
|
|
570
570
|
// MOMENTS
|
|
571
571
|
var ia=de("Minutes",!1);
|
|
572
572
|
// FORMATTING
|
|
@@ -576,7 +576,7 @@ ne("second","s"),
|
|
|
576
576
|
// PRIORITY
|
|
577
577
|
oe("second",15),
|
|
578
578
|
// PARSING
|
|
579
|
-
|
|
579
|
+
Re("s",Ee),Re("ss",Ee,ve),Ie(["s","ss"],Xe);
|
|
580
580
|
// MOMENTS
|
|
581
581
|
var na,ra,aa=de("Seconds",!1);
|
|
582
582
|
// FORMATTING
|
|
@@ -586,11 +586,11 @@ ne("millisecond","ms"),
|
|
|
586
586
|
// PRIORITY
|
|
587
587
|
oe("millisecond",16),
|
|
588
588
|
// PARSING
|
|
589
|
-
|
|
589
|
+
Re("S",ke,be),Re("SS",ke,ve),Re("SSS",ke,_e),na="SSSS";na.length<=9;na+="S")Re(na,Pe);function sa(e,t){t[Ke]=he(1e3*("0."+e))}for(na="S";na.length<=9;na+="S")Ie(na,sa);
|
|
590
590
|
// MOMENTS
|
|
591
591
|
function oa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ra=de("Milliseconds",!1),
|
|
592
592
|
// FORMATTING
|
|
593
|
-
I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var ua=
|
|
593
|
+
I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var ua=w.prototype;function ca(e){return Xi(1e3*e)}function ha(){return Xi.apply(null,arguments).parseZone()}function da(e){return e}ua.add=Rn,ua.calendar=Fn,ua.clone=$n,ua.diff=qn,ua.endOf=br,ua.format=ir,ua.from=nr,ua.fromNow=rr,ua.to=ar,ua.toNow=sr,ua.get=pe,ua.invalidAt=Mr,ua.isAfter=zn,ua.isBefore=Vn,ua.isBetween=Wn,ua.isSame=Zn,ua.isSameOrAfter=Xn,ua.isSameOrBefore=Kn,ua.isValid=Sr,ua.lang=lr,ua.locale=or,ua.localeData=ur,ua.max=qi,ua.min=Ki,ua.parsingFlags=kr,ua.set=ge,ua.startOf=yr,ua.subtract=xn,ua.toArray=wr,ua.toObject=Er,ua.toDate=Lr,ua.toISOString=er,ua.inspect=tr,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ua[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ua.toJSON=Tr,ua.toString=Qn,ua.unix=_r,ua.valueOf=vr,ua.creationData=Dr,ua.eraName=Cr,ua.eraNarrow=Or,ua.eraAbbr=Nr,ua.eraYear=Rr,ua.year=yt,ua.isLeapYear=bt,ua.weekYear=zr,ua.isoWeekYear=Vr,ua.quarter=ua.quarters=Qr,ua.month=ht,ua.daysInMonth=dt,ua.week=ua.weeks=Pt,ua.isoWeek=ua.isoWeeks=At,ua.weeksInYear=Xr,ua.weeksInWeekYear=Kr,ua.isoWeeksInYear=Wr,ua.isoWeeksInISOWeekYear=Zr,ua.date=ea,ua.day=ua.days=zt,ua.weekday=Vt,ua.isoWeekday=Wt,ua.dayOfYear=ta,ua.hour=ua.hours=ri,ua.minute=ua.minutes=ia,ua.second=ua.seconds=aa,ua.millisecond=ua.milliseconds=ra,ua.utcOffset=gn,ua.utc=bn,ua.local=vn,ua.parseZone=_n,ua.hasAlignedHourOffset=Ln,ua.isDST=wn,ua.isLocal=Tn,ua.isUtcOffset=Sn,ua.isUtc=kn,ua.isUTC=kn,ua.zoneAbbr=oa,ua.zoneName=la,ua.dates=S("dates accessor is deprecated. Use date instead.",ea),ua.months=S("months accessor is deprecated. Use month instead",ht),ua.years=S("years accessor is deprecated. Use year instead",yt),ua.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yn),ua.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",En);var ma=C.prototype;function fa(e,t,i,n){var r=bi(),a=f().set(n,t);return r[i](a,e)}function pa(e,t,i){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=fa(e,n,i,"month");return r}
|
|
594
594
|
// ()
|
|
595
595
|
// (5)
|
|
596
596
|
// (fmt, 5)
|
|
@@ -599,9 +599,9 @@ I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var ua=L.prototype;function ca(e){r
|
|
|
599
599
|
// (true, 5)
|
|
600
600
|
// (true, fmt, 5)
|
|
601
601
|
// (true, fmt)
|
|
602
|
-
function ga(e,t,i,n){"boolean"==typeof e?(c(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,c(t)&&(i=t,t=void 0),t=t||"");var r,a=bi(),s=e?a._week.dow:0,o=[];if(null!=i)return fa(t,(i+s)%7,n,"day");for(r=0;r<7;r++)o[r]=fa(t,(r+s)%7,n,"day");return o}function ya(e,t){return pa(e,t,"months")}function ba(e,t){return pa(e,t,"monthsShort")}function va(e,t,i){return ga(e,t,i,"weekdays")}function _a(e,t,i){return ga(e,t,i,"weekdaysShort")}function
|
|
602
|
+
function ga(e,t,i,n){"boolean"==typeof e?(c(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,c(t)&&(i=t,t=void 0),t=t||"");var r,a=bi(),s=e?a._week.dow:0,o=[];if(null!=i)return fa(t,(i+s)%7,n,"day");for(r=0;r<7;r++)o[r]=fa(t,(r+s)%7,n,"day");return o}function ya(e,t){return pa(e,t,"months")}function ba(e,t){return pa(e,t,"monthsShort")}function va(e,t,i){return ga(e,t,i,"weekdays")}function _a(e,t,i){return ga(e,t,i,"weekdaysShort")}function La(e,t,i){return ga(e,t,i,"weekdaysMin")}ma.calendar=N,ma.longDateFormat=W,ma.invalidDate=X,ma.ordinal=J,ma.preparse=da,ma.postformat=da,ma.relativeTime=ee,ma.pastFuture=te,ma.set=A,ma.eras=Pr,ma.erasParse=Ar,ma.erasConvertYear=Hr,ma.erasAbbrRegex=Br,ma.erasNameRegex=xr,ma.erasNarrowRegex=Ur,ma.months=st,ma.monthsShort=ot,ma.monthsParse=ut,ma.monthsRegex=ft,ma.monthsShortRegex=mt,ma.week=St,ma.firstDayOfYear=Dt,ma.firstDayOfWeek=Mt,ma.weekdays=It,ma.weekdaysMin=Gt,ma.weekdaysShort=jt,ma.weekdaysParse=$t,ma.weekdaysRegex=Zt,ma.weekdaysShortRegex=Xt,ma.weekdaysMinRegex=Kt,ma.isPM=ii,ma.meridiem=ai,pi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===he(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
|
|
603
603
|
// Side effect imports
|
|
604
|
-
n.lang=S("moment.lang is deprecated. Use moment.locale instead.",pi),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",bi);var
|
|
604
|
+
n.lang=S("moment.lang is deprecated. Use moment.locale instead.",pi),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",bi);var wa=Math.abs;function Ea(){var e=this._data;return this._milliseconds=wa(this._milliseconds),this._days=wa(this._days),this._months=wa(this._months),e.milliseconds=wa(e.milliseconds),e.seconds=wa(e.seconds),e.minutes=wa(e.minutes),e.hours=wa(e.hours),e.months=wa(e.months),e.years=wa(e.years),this}function Ta(e,t,i,n){var r=Pn(t,i);return e._milliseconds+=n*r._milliseconds,e._days+=n*r._days,e._months+=n*r._months,e._bubble()}
|
|
605
605
|
// supports only 2.0-style add(1, 's') or add(duration)
|
|
606
606
|
function Sa(e,t){return Ta(this,e,t,1)}
|
|
607
607
|
// supports only 2.0-style subtract(1, 's') or subtract(duration)
|
|
@@ -626,7 +626,7 @@ t=this._days+Math.round(Aa(this._months)),e){case"week":return t/7+n/6048e5;case
|
|
|
626
626
|
// Math.floor prevents floating point math errors here
|
|
627
627
|
case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}
|
|
628
628
|
// TODO: Use this.as('ms')?
|
|
629
|
-
function Ca(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*he(this._months/12):NaN}function Oa(e){return function(){return this.as(e)}}var Na=Oa("ms"),
|
|
629
|
+
function Ca(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*he(this._months/12):NaN}function Oa(e){return function(){return this.as(e)}}var Na=Oa("ms"),Ra=Oa("s"),xa=Oa("m"),Ba=Oa("h"),Ua=Oa("d"),Ya=Oa("w"),Ia=Oa("M"),ja=Oa("Q"),Ga=Oa("y");function Fa(){return Pn(this)}function $a(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function za(e){return function(){return this.isValid()?this._data[e]:NaN}}var Va=za("milliseconds"),Wa=za("seconds"),Za=za("minutes"),Xa=za("hours"),Ka=za("days"),qa=za("months"),Ja=za("years");function Qa(){return ce(this.days()/7)}var es=Math.round,ts={ss:44,// a few seconds to seconds
|
|
630
630
|
s:45,// seconds to minute
|
|
631
631
|
m:45,// minutes to hour
|
|
632
632
|
h:22,// hours to day
|
|
@@ -652,13 +652,13 @@ e=ce(l/60),t=ce(e/60),l%=60,e%=60,
|
|
|
652
652
|
// 12 months -> 1 year
|
|
653
653
|
i=ce(c/12),c%=12,
|
|
654
654
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
|
655
|
-
n=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=h<0?"-":"",a=ls(this._months)!==ls(h)?"-":"",s=ls(this._days)!==ls(h)?"-":"",o=ls(this._milliseconds)!==ls(h)?"-":"",r+"P"+(i?a+i+"Y":"")+(c?a+c+"M":"")+(u?s+u+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+n+"S":"")):"P0D"}var cs=on.prototype;return cs.isValid=an,cs.abs=Ea,cs.add=Sa,cs.subtract=ka,cs.as=Ha,cs.asMilliseconds=Na,cs.asSeconds=
|
|
655
|
+
n=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=h<0?"-":"",a=ls(this._months)!==ls(h)?"-":"",s=ls(this._days)!==ls(h)?"-":"",o=ls(this._milliseconds)!==ls(h)?"-":"",r+"P"+(i?a+i+"Y":"")+(c?a+c+"M":"")+(u?s+u+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+n+"S":"")):"P0D"}var cs=on.prototype;return cs.isValid=an,cs.abs=Ea,cs.add=Sa,cs.subtract=ka,cs.as=Ha,cs.asMilliseconds=Na,cs.asSeconds=Ra,cs.asMinutes=xa,cs.asHours=Ba,cs.asDays=Ua,cs.asWeeks=Ya,cs.asMonths=Ia,cs.asQuarters=ja,cs.asYears=Ga,cs.valueOf=Ca,cs._bubble=Da,cs.clone=Fa,cs.get=$a,cs.milliseconds=Va,cs.seconds=Wa,cs.minutes=Za,cs.hours=Xa,cs.days=Ka,cs.weeks=Qa,cs.months=qa,cs.years=Ja,cs.humanize=ss,cs.toISOString=us,cs.toString=us,cs.toJSON=us,cs.locale=or,cs.localeData=ur,cs.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",us),cs.lang=lr,
|
|
656
656
|
// FORMATTING
|
|
657
657
|
I("X",0,0,"unix"),I("x",0,0,"valueOf"),
|
|
658
658
|
// PARSING
|
|
659
|
-
|
|
659
|
+
Re("x",Ae),Re("X",Oe),Ie("X",(function(e,t,i){i._d=new Date(1e3*parseFloat(e))})),Ie("x",(function(e,t,i){i._d=new Date(he(e))})),
|
|
660
660
|
//! moment.js
|
|
661
|
-
n.version="2.29.4",r(Xi),n.fn=ua,n.min=Qi,n.max=en,n.now=tn,n.utc=f,n.unix=ca,n.months=ya,n.isDate=h,n.locale=pi,n.invalid=b,n.duration=Pn,n.isMoment=E,n.weekdays=va,n.parseZone=ha,n.localeData=bi,n.isDuration=ln,n.monthsShort=ba,n.weekdaysMin=
|
|
661
|
+
n.version="2.29.4",r(Xi),n.fn=ua,n.min=Qi,n.max=en,n.now=tn,n.utc=f,n.unix=ca,n.months=ya,n.isDate=h,n.locale=pi,n.invalid=b,n.duration=Pn,n.isMoment=E,n.weekdays=va,n.parseZone=ha,n.localeData=bi,n.isDuration=ln,n.monthsShort=ba,n.weekdaysMin=La,n.defineLocale=gi,n.updateLocale=yi,n.locales=vi,n.weekdaysShort=_a,n.normalizeUnits=re,n.relativeTimeRounding=rs,n.relativeTimeThreshold=as,n.calendarFormat=Gn,n.prototype=ua,
|
|
662
662
|
// currently HTML5 input type only supports 24-hour formats
|
|
663
663
|
n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",// <input type="datetime-local" />
|
|
664
664
|
DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",// <input type="datetime-local" step="1" />
|
|
@@ -679,12 +679,12 @@ MONTH:"YYYY-MM"},n}()}));const z=[];
|
|
|
679
679
|
* @param {*=}value initial value
|
|
680
680
|
* @param {StartStopNotifier=} start
|
|
681
681
|
*/
|
|
682
|
-
function
|
|
683
|
-
const e=!z.length;for(const e of r)e[1](),z.push(e,t);if(e){for(let e=0;e<z.length;e+=2)z[e][0](z[e+1]);z.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(a,o=e){const l=[a,o];return r.add(l),1===r.size&&(n=i(s)||e),a(t),()=>{r.delete(l),0===r.size&&n&&(n(),n=null)}}}}function
|
|
682
|
+
function V(t,i=e){let n;const r=new Set;function s(e){if(a(t,e)&&(t=e,n)){// store is ready
|
|
683
|
+
const e=!z.length;for(const e of r)e[1](),z.push(e,t);if(e){for(let e=0;e<z.length;e+=2)z[e][0](z[e+1]);z.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(a,o=e){const l=[a,o];return r.add(l),1===r.size&&(n=i(s)||e),a(t),()=>{r.delete(l),0===r.size&&n&&(n(),n=null)}}}}function W(t,i,a){const s=!Array.isArray(t),o=s?[t]:t,u=i.length<2;return c=t=>{let a=!1;const c=[];let h=0,d=e;const m=()=>{if(h)return;d();const n=i(s?c[0]:c,t);u?t(n):d=r(n)?n:e},f=o.map(((e,t)=>l(e,(e=>{c[t]=e,h&=~(1<<t),a&&m()}),(()=>{h|=1<<t}))));return a=!0,m(),function(){n(f),d(),
|
|
684
684
|
// We need to set this to false because callbacks can still happen despite having unsubscribed:
|
|
685
685
|
// Callbacks might already be placed in the queue which doesn't know it should no longer
|
|
686
686
|
// invoke this derived store.
|
|
687
|
-
a=!1}},{subscribe:
|
|
687
|
+
a=!1}},{subscribe:V(a,c).subscribe};var c}var Z=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===X}(e)}
|
|
688
688
|
// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
|
|
689
689
|
(e)};var X="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function K(e,t){return!1!==t.clone&&t.isMergeableObject(e)?te((i=e,Array.isArray(i)?[]:{}),e,t):e;var i}function q(e,t,i){return e.concat(t).map((function(e){return K(e,i)}))}function J(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function Q(e,t){try{return t in e}catch(e){return!1}}
|
|
690
690
|
// Protects from prototype poisoning and unexpected merging up the prototype chain.
|
|
@@ -795,7 +795,7 @@ e[e.pound=7]="pound",
|
|
|
795
795
|
/**
|
|
796
796
|
* XML-like tag
|
|
797
797
|
*/
|
|
798
|
-
e[e.tag=8]="tag"}(se||(se={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(oe||(oe={}));var
|
|
798
|
+
e[e.tag=8]="tag"}(se||(se={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(oe||(oe={}));var Le=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,we=/(?:[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;
|
|
799
799
|
/**
|
|
800
800
|
* https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
801
801
|
* Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
|
|
@@ -807,7 +807,7 @@ e[e.tag=8]="tag"}(se||(se={})),function(e){e[e.number=0]="number",e[e.dateTime=1
|
|
|
807
807
|
* @public
|
|
808
808
|
* @param skeleton skeleton string
|
|
809
809
|
*/
|
|
810
|
-
function Ee(e){var t={};return e.replace(
|
|
810
|
+
function Ee(e){var t={};return e.replace(we,(function(e){var i=e.length;switch(e[0]){
|
|
811
811
|
// Era
|
|
812
812
|
case"G":t.era=4===i?"long":5===i?"narrow":"short";break;
|
|
813
813
|
// Year
|
|
@@ -867,7 +867,7 @@ return"*"===n?t.minimumFractionDigits=i.length:r&&"#"===r[0]?t.maximumFractionDi
|
|
|
867
867
|
else if(ke.test(r.stem))t=le(le({},t),Pe(r.stem));else{var s=Ae(r.stem);s&&(t=le(le({},t),s));var o=He(r.stem);o&&(t=le(le({},t),o))}}return t}
|
|
868
868
|
// @generated from time-data-gen.ts
|
|
869
869
|
// prettier-ignore
|
|
870
|
-
var Ne,
|
|
870
|
+
var Ne,Re={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
|
|
871
871
|
/**
|
|
872
872
|
* Returns the best matching date time pattern if a date time skeleton
|
|
873
873
|
* pattern is provided with a locale. Follows the Unicode specification:
|
|
@@ -880,7 +880,7 @@ var Ne,xe={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H
|
|
|
880
880
|
* of the given `locale` to the corresponding time pattern.
|
|
881
881
|
* @param locale
|
|
882
882
|
*/
|
|
883
|
-
function
|
|
883
|
+
function xe(e){var t=e.hourCycle;if(void 0===t&&
|
|
884
884
|
// @ts-ignore hourCycle(s) is not identified yet
|
|
885
885
|
e.hourCycles&&
|
|
886
886
|
// @ts-ignore
|
|
@@ -888,17 +888,17 @@ e.hourCycles.length&&(
|
|
|
888
888
|
// @ts-ignore
|
|
889
889
|
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")}
|
|
890
890
|
// TODO: Once hourCycle is fully supported remove the following with data generation
|
|
891
|
-
var i,n=e.language;return"root"!==n&&(i=e.maximize().region),(
|
|
891
|
+
var i,n=e.language;return"root"!==n&&(i=e.maximize().region),(Re[i||""]||Re[n||""]||Re["".concat(n,"-001")]||Re["001"])[0]}var Be=new RegExp("^".concat(Le.source,"*")),Ue=new RegExp("".concat(Le.source,"*$"));function Ye(e,t){return{start:e,end:t}}
|
|
892
892
|
// #region Ponyfills
|
|
893
893
|
// Consolidate these variables up top for easier toggling during debugging
|
|
894
|
-
var Ie=!!String.prototype.startsWith,je=!!String.fromCodePoint,Ge=!!Object.fromEntries,Fe=!!String.prototype.codePointAt,$e=!!String.prototype.trimStart,ze=!!String.prototype.trimEnd,
|
|
894
|
+
var Ie=!!String.prototype.startsWith,je=!!String.fromCodePoint,Ge=!!Object.fromEntries,Fe=!!String.prototype.codePointAt,$e=!!String.prototype.trimStart,ze=!!String.prototype.trimEnd,Ve=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},We=!0;try{
|
|
895
895
|
/**
|
|
896
896
|
* legacy Edge or Xbox One browser
|
|
897
897
|
* Unicode flag support: supported
|
|
898
898
|
* Pattern_Syntax support: not supported
|
|
899
899
|
* See https://github.com/formatjs/formatjs/issues/2822
|
|
900
900
|
*/
|
|
901
|
-
|
|
901
|
+
We="a"===(null===(Ne=tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ne?void 0:Ne[0])}catch(e){We=!1}var Ze,Xe=Ie?// Native
|
|
902
902
|
function(e,t,i){return e.startsWith(t,i)}:// For IE11
|
|
903
903
|
function(e,t,i){return e.slice(i,i+t.length)===t},Ke=je?String.fromCodePoint:// IE11
|
|
904
904
|
function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,n="",r=e.length,a=0;r>a;){if((i=e[a++])>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return n},qe=
|
|
@@ -914,7 +914,7 @@ function(e){return e.replace(Ue,"")};
|
|
|
914
914
|
// Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
|
|
915
915
|
function tt(e,t){return new RegExp(e,t)}
|
|
916
916
|
// #endregion
|
|
917
|
-
if(
|
|
917
|
+
if(We){
|
|
918
918
|
// Native
|
|
919
919
|
var it=tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ze=function(e,t){var i;return it.lastIndex=t,null!==(i=it.exec(e)[1])&&void 0!==i?i:""}}else
|
|
920
920
|
// IE11
|
|
@@ -1003,7 +1003,7 @@ var h=Qe(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFrom
|
|
|
1003
1003
|
// Get "best match" pattern only if locale is passed, if not, let it
|
|
1004
1004
|
// pass as-is where `parseDateTimeSkeleton()` will throw an error
|
|
1005
1005
|
// for unsupported patterns.
|
|
1006
|
-
this.locale&&(d=function(e,t){for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if("j"===r){for(var a=0;n+1<e.length&&e.charAt(n+1)===r;)a++,n++;var s=1+(1&a),o=a<2?1:3+(a>>1),l=
|
|
1006
|
+
this.locale&&(d=function(e,t){for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if("j"===r){for(var a=0;n+1<e.length&&e.charAt(n+1)===r;)a++,n++;var s=1+(1&a),o=a<2?1:3+(a>>1),l=xe(t);for("H"!=l&&"k"!=l||(o=0);o-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===r?"H":r}return i}(h,this.locale));var m={type:oe.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Ee(d):{}};return{val:{type:"date"===s?se.date:se.time,value:i,location:c,style:m},err:null}}
|
|
1007
1007
|
// Regular style or no style.
|
|
1008
1008
|
return{val:{type:"number"===s?se.number:"date"===s?se.date:se.time,value:i,location:c,style:null!==(r=null==l?void 0:l.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":
|
|
1009
1009
|
// Parse this range:
|
|
@@ -1056,7 +1056,7 @@ this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.err
|
|
|
1056
1056
|
// Keep track of the existing selectors
|
|
1057
1057
|
o.add(l),
|
|
1058
1058
|
// Prep next selector clause.
|
|
1059
|
-
this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===s.length?this.error("select"===t?ae.EXPECT_SELECT_ARGUMENT_SELECTOR:ae.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ye(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(ae.MISSING_OTHER_CLAUSE,Ye(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,a=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;r=!0,a=10*a+(s-48),this.bump()}var o=Ye(n,this.clonePosition());return r?
|
|
1059
|
+
this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===s.length?this.error("select"===t?ae.EXPECT_SELECT_ARGUMENT_SELECTOR:ae.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ye(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(ae.MISSING_OTHER_CLAUSE,Ye(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,a=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;r=!0,a=10*a+(s-48),this.bump()}var o=Ye(n,this.clonePosition());return r?Ve(a*=i)?{val:a,err:null}:this.error(t,o):this.error(e,o)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
|
|
1060
1060
|
// This is much faster than `Object.assign` or spread.
|
|
1061
1061
|
return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
|
|
1062
1062
|
/**
|
|
@@ -1131,7 +1131,7 @@ e.MISSING_VALUE="MISSING_VALUE",
|
|
|
1131
1131
|
// When value supplied is invalid
|
|
1132
1132
|
e.INVALID_VALUE="INVALID_VALUE",
|
|
1133
1133
|
// When we need specific Intl API but it's not available
|
|
1134
|
-
e.MISSING_INTL_API="MISSING_INTL_API"}(gt||(gt={}));var vt,_t=/** @class */function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.code=i,r.originalMessage=n,r}return re(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),
|
|
1134
|
+
e.MISSING_INTL_API="MISSING_INTL_API"}(gt||(gt={}));var vt,_t=/** @class */function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.code=i,r.originalMessage=n,r}return re(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Lt=/** @class */function(e){function t(t,i,n,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),gt.INVALID_VALUE,r)||this}return re(t,e),t}(_t),wt=/** @class */function(e){function t(t,i,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),gt.INVALID_VALUE,n)||this}return re(t,e),t}(_t),Et=/** @class */function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),gt.MISSING_VALUE,i)||this}return re(t,e),t}(_t);function Tt(e){return"function"==typeof e}
|
|
1135
1135
|
// TODO(skeleton): add skeleton support
|
|
1136
1136
|
function St(e,t,i,n,r,a,
|
|
1137
1137
|
// For debugging
|
|
@@ -1148,7 +1148,7 @@ if(!r||!(h in r))throw new Et(h,s);var d=r[h];if(he(c))d&&"string"!=typeof d&&"n
|
|
|
1148
1148
|
// Recursively format plural and select parts' option — which can be a
|
|
1149
1149
|
// nested pattern structure. The choosing of the option to use is
|
|
1150
1150
|
// abstracted-by and delegated-to the part helper object.
|
|
1151
|
-
if(me(c)){var m="string"==typeof c.style?n.date[c.style]:_e(c.style)?c.style.parsedOptions:void 0;o.push({type:vt.literal,value:i.getDateTimeFormat(t,m).format(d)})}else if(fe(c)){m="string"==typeof c.style?n.time[c.style]:_e(c.style)?c.style.parsedOptions:n.time.medium;o.push({type:vt.literal,value:i.getDateTimeFormat(t,m).format(d)})}else if(de(c)){(m="string"==typeof c.style?n.number[c.style]:ve(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(d*=m.scale||1),o.push({type:vt.literal,value:i.getNumberFormat(t,m).format(d)})}else{if(be(c)){var f=c.children,p=c.value,g=r[p];if(!Tt(g))throw new
|
|
1151
|
+
if(me(c)){var m="string"==typeof c.style?n.date[c.style]:_e(c.style)?c.style.parsedOptions:void 0;o.push({type:vt.literal,value:i.getDateTimeFormat(t,m).format(d)})}else if(fe(c)){m="string"==typeof c.style?n.time[c.style]:_e(c.style)?c.style.parsedOptions:n.time.medium;o.push({type:vt.literal,value:i.getDateTimeFormat(t,m).format(d)})}else if(de(c)){(m="string"==typeof c.style?n.number[c.style]:ve(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(d*=m.scale||1),o.push({type:vt.literal,value:i.getNumberFormat(t,m).format(d)})}else{if(be(c)){var f=c.children,p=c.value,g=r[p];if(!Tt(g))throw new wt(p,"function",s);var y=g(St(f,t,i,n,r,a).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),o.push.apply(o,y.map((function(e){return{type:"string"==typeof e?vt.literal:vt.object,value:e}})))}if(pe(c)){if(!(b=c.options[d]||c.options.other))throw new Lt(c.value,d,Object.keys(c.options),s);o.push.apply(o,St(b.value,t,i,n,r))}else if(ge(c)){var b;if(!(b=c.options["=".concat(d)])){if(!Intl.PluralRules)throw new _t('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',gt.MISSING_INTL_API,s);var v=i.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new Lt(c.value,d,Object.keys(c.options),s);o.push.apply(o,St(b.value,t,i,n,r,d-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===vt.literal&&t.type===vt.literal?i.value+=t.value:e.push(t),e}),[])}(o)}
|
|
1152
1152
|
/*
|
|
1153
1153
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
|
1154
1154
|
Copyrights licensed under the New BSD License.
|
|
@@ -1168,9 +1168,9 @@ this.formats=kt(e.formats,n),this.formatters=r&&r.formatters||(void 0===(a=this.
|
|
|
1168
1168
|
// Default format options used as the prototype of the `formats` provided to the
|
|
1169
1169
|
// constructor. These are used when constructing the internal Intl.NumberFormat
|
|
1170
1170
|
// and Intl.DateTimeFormat instances.
|
|
1171
|
-
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}();const Pt={},At=(e,t,i)=>i?(t in Pt||(Pt[t]={}),e in Pt[t]||(Pt[t][e]=i),i):i,Ht=(e,t)=>{if(null==t)return;if(t in Pt&&e in Pt[t])return Pt[t][e];const i=ii(t);for(let n=0;n<i.length;n++){const r=
|
|
1171
|
+
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}();const Pt={},At=(e,t,i)=>i?(t in Pt||(Pt[t]={}),e in Pt[t]||(Pt[t][e]=i),i):i,Ht=(e,t)=>{if(null==t)return;if(t in Pt&&e in Pt[t])return Pt[t][e];const i=ii(t);for(let n=0;n<i.length;n++){const r=Rt(i[n],e);if(r)return At(e,t,r)}};let Ct;const Ot=V({});function Nt(e){return e in Ct}function Rt(e,t){if(!Nt(e))return null;const i=function(e){return Ct[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let n=e;for(let e=0;e<i.length;e++)if("object"==typeof n){if(e>0){const t=i.slice(e,i.length).join(".");if(t in n){n=n[t];break}}n=n[i[e]]}else n=void 0;return n}(i,t)}function xt(e,...t){delete Pt[e],Ot.update((i=>(i[e]=ie.all([i[e]||{},...t]),i)))}W([Ot],(([e])=>Object.keys(e))),Ot.subscribe((e=>Ct=e));const Bt={};function Ut(e){return Bt[e]}function Yt(e){return null!=e&&ii(e).some((e=>{var t;return null==(t=Ut(e))?void 0:t.size}))}function It(e,t){const i=Promise.all(t.map((t=>(function(e,t){Bt[e].delete(t),0===Bt[e].size&&delete Bt[e]}(e,t),t().then((e=>e.default||e))))));return i.then((t=>xt(e,...t)))}const jt={};function Gt(e){if(!Yt(e))return e in jt?jt[e]:Promise.resolve();const t=function(e){return ii(e).map((e=>{const t=Ut(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return jt[e]=Promise.all(t.map((([e,t])=>It(e,t)))).then((()=>{if(Yt(e))return Gt(e);delete jt[e]})),jt[e]}const Ft={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function $t(){return Ft}const zt=V(!1);var Vt=Object.defineProperty,Wt=Object.defineProperties,Zt=Object.getOwnPropertyDescriptors,Xt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable,Jt=(e,t,i)=>t in e?Vt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let Qt;const ei=V(null);function ti(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function ii(e,t=$t().fallbackLocale){const i=ti(e);return t?[...new Set([...i,...ti(t)])]:i}function ni(){return null!=Qt?Qt:void 0}ei.subscribe((e=>{Qt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const ri=(ai=((e,t)=>{for(var i in t||(t={}))Kt.call(t,i)&&Jt(e,i,t[i]);if(Xt)for(var i of Xt(t))qt.call(t,i)&&Jt(e,i,t[i]);return e})({},ei),Wt(ai,Zt({set:e=>{if(e&&function(e){if(null==e)return;const t=ii(e);for(let e=0;e<t.length;e++){const i=t[e];if(Nt(i))return i}}(e)&&Yt(e)){const{loadingDelay:t}=$t();let i;return"undefined"!=typeof window&&null!=ni()&&t?i=window.setTimeout((()=>zt.set(!0)),t):zt.set(!0),Gt(e).then((()=>{ei.set(e)})).finally((()=>{clearTimeout(i),zt.set(!1)}))}return ei.set(e)}})));var ai;const si=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var oi=Object.defineProperty,li=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable,hi=(e,t,i)=>t in e?oi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,di=(e,t)=>{for(var i in t||(t={}))ui.call(t,i)&&hi(e,i,t[i]);if(li)for(var i of li(t))ci.call(t,i)&&hi(e,i,t[i]);return e},mi=(e,t)=>{var i={};for(var n in e)ui.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&li)for(var n of li(e))t.indexOf(n)<0&&ci.call(e,n)&&(i[n]=e[n]);return i};const fi=(e,t)=>{const{formats:i}=$t();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},pi=si((e=>{var t=e,{locale:i,format:n}=t,r=mi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=fi("number",n)),new Intl.NumberFormat(i,r)})),gi=si((e=>{var t=e,{locale:i,format:n}=t,r=mi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=fi("date",n):0===Object.keys(r).length&&(r=fi("date","short")),new Intl.DateTimeFormat(i,r)})),yi=si((e=>{var t=e,{locale:i,format:n}=t,r=mi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=fi("time",n):0===Object.keys(r).length&&(r=fi("time","short")),new Intl.DateTimeFormat(i,r)})),bi=si((
|
|
1172
1172
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1173
|
-
(e,t=ni())=>new Dt(e,t,$t().formats,{ignoreTag:$t().ignoreTag}))),vi=(e,t={})=>{var i,n,r,a;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:o,locale:l=ni(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ht(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(a=null!=(r=null==(n=(i=$t()).handleMissingMessage)?void 0:n.call(i,{locale:l,id:e,defaultValue:u}))?r:u)?a:e;if(!o)return c;let h=c;try{h=bi(c,l).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},_i=(e,t)=>((e={})=>{var t=e,{locale:i=ni()}=t,n=mi(t,["locale"]);return yi(di({locale:i},n))})(t).format(e),wi=(e,t)=>((e={})=>{var t=e,{locale:i=ni()}=t,n=mi(t,["locale"]);return gi(di({locale:i},n))})(t).format(e),Li=(e,t)=>((e={})=>{var t=e,{locale:i=ni()}=t,n=mi(t,["locale"]);return pi(di({locale:i},n))})(t).format(e),Ei=(e,t=ni())=>Ht(e,t),Ti=V([ri,Ot],(()=>vi));function Si(e,t){Rt(e,t)}V([ri],(()=>_i)),V([ri],(()=>wi)),V([ri],(()=>Li)),V([ri,Ot],(()=>Ei));const ki={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"},"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:"錢包"},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"},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"},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"},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"},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:"Πορτοφόλια"},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"},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:"Кошельки"},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"},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"},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"},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"},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"},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"},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"}};var Mi="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 386 193' fill='none'%3e %3cpath d='M4 193a189 189 0 0 1 379 0' stroke='url(%23a)' stroke-width='6' stroke-dasharray='2 2'/%3e %3cpath d='M49 193a144 144 0 1 1 288 0' stroke='%23C4C4C4' stroke-width='30' stroke-dasharray='2 2'/%3e %3cdefs%3e%3clinearGradient id='a' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3e%3cstop offset='0%25'/%3e%3cstop offset='100%25' stop-opacity='.2'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
1173
|
+
(e,t=ni())=>new Dt(e,t,$t().formats,{ignoreTag:$t().ignoreTag}))),vi=(e,t={})=>{var i,n,r,a;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:o,locale:l=ni(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ht(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(a=null!=(r=null==(n=(i=$t()).handleMissingMessage)?void 0:n.call(i,{locale:l,id:e,defaultValue:u}))?r:u)?a:e;if(!o)return c;let h=c;try{h=bi(c,l).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},_i=(e,t)=>((e={})=>{var t=e,{locale:i=ni()}=t,n=mi(t,["locale"]);return yi(di({locale:i},n))})(t).format(e),Li=(e,t)=>((e={})=>{var t=e,{locale:i=ni()}=t,n=mi(t,["locale"]);return gi(di({locale:i},n))})(t).format(e),wi=(e,t)=>((e={})=>{var t=e,{locale:i=ni()}=t,n=mi(t,["locale"]);return pi(di({locale:i},n))})(t).format(e),Ei=(e,t=ni())=>Ht(e,t),Ti=W([ri,Ot],(()=>vi));function Si(e,t){xt(e,t)}W([ri],(()=>_i)),W([ri],(()=>Li)),W([ri],(()=>wi)),W([ri,Ot],(()=>Ei));const ki={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"},"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:"錢包"},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"},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"},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"},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"},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:"Πορτοφόλια"},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"},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:"Кошельки"},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"},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"},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"},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"},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"},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"},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"},"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"},"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"}};var Mi="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 386 193' fill='none'%3e %3cpath d='M4 193a189 189 0 0 1 379 0' stroke='url(%23a)' stroke-width='6' stroke-dasharray='2 2'/%3e %3cpath d='M49 193a144 144 0 1 1 288 0' stroke='%23C4C4C4' stroke-width='30' stroke-dasharray='2 2'/%3e %3cdefs%3e%3clinearGradient id='a' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3e%3cstop offset='0%25'/%3e%3cstop offset='100%25' stop-opacity='.2'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
1174
1174
|
/* src/images/caret-select.svg.svelte generated by Svelte v3.59.2 */function Di(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,b(n,"d","M13 14L0.250001 27.8564L0.250002 0.143593L13 14Z"),b(i,"width","13"),b(i,"height","28"),b(i,"viewBox","0 0 13 28"),b(i,"fill","currentColor"),b(i,"xmlns","http://www.w3.org/2000/svg")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}
|
|
1175
1175
|
/* src/images/fa-caret-right.svg.svelte generated by Svelte v3.59.2 */
|
|
1176
1176
|
function Pi(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,b(n,"fill","currentColor"),b(n,"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"),b(i,"xmlns","http://www.w3.org/2000/svg"),b(i,"height","12"),b(i,"width","6"),b(i,"viewBox","0 0 256 512")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("caret-select",class extends G{constructor(e){super(),j(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},null,Di,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
|
|
@@ -1181,17 +1181,17 @@ function Hi(t){let i;return{c(){i=m("div"),i.innerHTML='<section class="LoaderCo
|
|
|
1181
1181
|
/*div5_binding*/t[3](i)},p:e,i:e,o:e,d(e){e&&h(i)
|
|
1182
1182
|
/*div5_binding*/,t[3](null)}}}function Ci(e,t,i){let n,{clientstyling:r=""}=t,{clientstylingurl:a=""}=t;return e.$$set=e=>{"clientstyling"in e&&i(1,r=e.clientstyling),"clientstylingurl"in e&&i(2,a=e.clientstylingurl)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/3&e.$$.dirty&&r&&n&&(()=>{let e=document.createElement("style");e.innerHTML=r,n.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/5&e.$$.dirty&&a&&n&&(()=>{let e=new URL(a),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{n.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[n,r,a,function(e){D[e?"unshift":"push"]((()=>{n=e,i(0,n)}))}]}customElements.define("currency-icon",class extends G{constructor(e){super(),j(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},null,Ai,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
|
|
1183
1183
|
/* src/PlayerRglimits.svelte generated by Svelte v3.59.2 */
|
|
1184
|
-
function Oi(e,t,i){const n=e.slice();return n[58]=t[i],n}function Ni(e,t,i){const n=e.slice();return n[58]=t[i],n}function
|
|
1184
|
+
function Oi(e,t,i){const n=e.slice();return n[58]=t[i],n}function Ni(e,t,i){const n=e.slice();return n[58]=t[i],n}function Ri(e,t,i){const n=e.slice();return n[63]=t[i],n}
|
|
1185
1185
|
// (470:4) {:else}
|
|
1186
|
-
function
|
|
1187
|
-
return e[7]?Ii:Yi}let
|
|
1188
|
-
return e[8]?tn:en}let k=S(e),M=k(e);return{c(){t=m("div"),i=m("h2"),n=m("currency-icon"),r=p(y),a=g(),
|
|
1186
|
+
function xi(e){let t,i,n,r,a,s,o,l,d,f,y=/*getWidgetTitle*/e[23](/*selectedLimitType*/e[15])+"";function v(e,t){/*isLoading*/
|
|
1187
|
+
return e[7]?Ii:Yi}let L=v(e),w=L(e),E=/*limitPeriodList*/e[12].length>0&&Ki(e),T=/*limitTypeList*/e[13].length>0&&Ji(e);function S(e,t){/*isGaugeLoading*/
|
|
1188
|
+
return e[8]?tn:en}let k=S(e),M=k(e);return{c(){t=m("div"),i=m("h2"),n=m("currency-icon"),r=p(y),a=g(),w.c(),s=g(),o=m("div"),l=m("div"),E&&E.c(),d=g(),T&&T.c(),f=g(),M.c(),b(i,"class","LimitTypeHeader"),b(t,"class","ContentLeft"),b(l,"class","WidgetControls"),b(o,"class","ContentRight")},m(e,h){c(e,t,h),u(t,i),u(i,n),u(i,r),u(t,a),w.m(t,null),c(e,s,h),c(e,o,h),u(o,l),E&&E.m(l,null),u(l,d),T&&T.m(l,null),u(o,f),M.m(o,null)},p(e,i){/*selectedLimitType*/32768&i[0]&&y!==(y=/*getWidgetTitle*/e[23](/*selectedLimitType*/e[15])+"")&&_(r,y),L===(L=v(e))&&w?w.p(e,i):(w.d(1),w=L(e),w&&(w.c(),w.m(t,null))),/*limitPeriodList*/e[12].length>0?E?E.p(e,i):(E=Ki(e),E.c(),E.m(l,d)):E&&(E.d(1),E=null),/*limitTypeList*/e[13].length>0?T?T.p(e,i):(T=Ji(e),T.c(),T.m(l,null)):T&&(T.d(1),T=null),k===(k=S(e))&&M?M.p(e,i):(M.d(1),M=k(e),M&&(M.c(),M.m(o,null)))},d(e){e&&h(t),w.d(),e&&h(s),e&&h(o),E&&E.d(),T&&T.d(),M.d()}}}
|
|
1189
1189
|
// (466:27)
|
|
1190
1190
|
function Bi(e){let t,i,n;return{c(){t=m("div"),i=m("strong"),n=p(/*errorMessage*/e[19]),b(i,"class","ErrorMessage"),b(t,"class","ContainerCenter")},m(e,r){c(e,t,r),u(t,i),u(i,n)},p(e,t){/*errorMessage*/524288&t[0]&&_(n,/*errorMessage*/e[19])},d(e){e&&h(t)}}}
|
|
1191
1191
|
// (462:4) {#if noLimitToDisplay}
|
|
1192
1192
|
function Ui(e){let t,i,n,r=/*$_*/e[20]("noLimitToDisplay")+"";return{c(){t=m("div"),i=m("p"),n=p(r),b(t,"class","ContainerCenter")},m(e,r){c(e,t,r),u(t,i),u(i,n)},p(e,t){/*$_*/1048576&t[0]&&r!==(r=/*$_*/e[20]("noLimitToDisplay")+"")&&_(n,r)},d(e){e&&h(t)}}}
|
|
1193
1193
|
// (475:8) {:else}
|
|
1194
|
-
function Yi(e){let t,i,n,r,a,s,o,l,f,y,v,w,
|
|
1194
|
+
function Yi(e){let t,i,n,r,a,s,o,l,f,y,v,L,w,E,T,S,k,M,D,P,A,H,C,O,N,R,x,B,U,Y,I,j,G,F,$,z,V,W,Z,X,K,q,J,Q,ee,te,ie,ne,re,ae,se,oe,le,ue,ce,he,de,me,fe,pe,ge,ye,be,ve,_e,Le,we,Ee,Te=/*selectedProduct*/"All"===e[16]?`${/*selectedProduct*/e[16]} ${/*$_*/e[20]("walletsLabel")}`:`${/*selectedProduct*/e[16]} ${/*$_*/e[20]("walletLabel")}`,Se=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].totalAmount)+"",ke=/*displayedLimit*/e[11].limitCurrency+"",Me=/*$_*/e[20]("spentAmount")+"",De=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].spentAmount)+"",Pe=/*displayedLimit*/e[11].limitCurrency+"",Ae=/*$_*/e[20]("remainingAmount")+"",He=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].remainingAmount)+"",Ce=/*displayedLimit*/e[11].limitCurrency+"",Oe=/*$_*/e[20]("startLabel")+"",Ne=/*dateToReadableString*/e[22](/*displayedLimit*/e[11].from)+"",Re=/*$_*/e[20]("resetLabel")+"",xe=/*dateToReadableString*/e[22](/*displayedLimit*/e[11].to)+"",Be=/*productList*/e[17].length>1&&ji(e),Ue=/*productList*/e[17],Ye=[];for(let t=0;t<Ue.length;t+=1)Ye[t]=Gi(Ri(e,Ue,t));let Ie=/*displayedLimit*/!0===e[11].formattedSchedule.isUpdated&&Fi(e),je=/*displayedLimit*/(!0===e[11].formattedSchedule.isRemoved||/*displayedLimit*/!0===e[11].formattedSchedule.isUpdated)&&$i(e),Ge=/*sessiontype*/"admin"===e[0]&&Wi(e);return{c(){t=m("div"),i=m("div"),n=m("span"),r=p(Te),a=g(),s=m("span"),o=p(Se),l=g(),f=m("span"),y=p(ke),L=g(),Be&&Be.c(),w=g(),E=m("div");for(let e=0;e<Ye.length;e+=1)Ye[e].c();S=g(),k=m("div"),M=m("div"),D=m("div"),P=p(Me),A=p(":"),H=g(),C=m("div"),O=m("span"),N=m("caret-right"),R=g(),x=p(De),B=g(),U=p(Pe),Y=g(),I=m("div"),j=m("div"),G=p(Ae),F=p(":"),$=g(),z=m("div"),V=m("span"),W=m("caret-right"),Z=g(),X=p(He),K=g(),q=p(Ce),J=g(),Ie&&Ie.c(),Q=g(),ee=m("div"),te=m("div"),ie=p(Oe),ne=p(":"),re=g(),ae=m("div"),se=m("span"),oe=m("caret-right"),le=g(),ue=p(Ne),ce=g(),he=m("div"),de=m("div"),me=p(Re),fe=p(":"),pe=g(),ge=m("div"),ye=m("span"),be=m("caret-right"),ve=g(),_e=p(xe),Le=g(),je&&je.c(),we=g(),Ge&&Ge.c(),Ee=p(""),b(n,"class","SelectedProduct"),b(f,"class","Currency"),b(s,"class","TotalAmount"),b(s,"title",v=`${/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].totalAmount)} ${/*displayedLimit*/e[11].limitCurrency}`),b(i,"class","DisplayContainer"),b(E,"class",T="ProductsDropdown "+(/*showDropdown*/e[10]?"Show":"")),b(t,"class","ProductSelector"),b(D,"class","Col"),b(C,"class","Col"),b(M,"class","Row"),b(j,"class","Col"),b(z,"class","Col"),b(I,"class","Row"),b(te,"class","Col"),b(ae,"class","Col"),b(ee,"class","Row"),b(de,"class","Col"),b(ge,"class","Col"),b(he,"class","Row"),b(k,"class","DetailsContainer Entries")},m(e,h){c(e,t,h),u(t,i),u(i,n),u(n,r),u(i,a),u(i,s),u(s,o),u(s,l),u(s,f),u(f,y),u(i,L),Be&&Be.m(i,null),u(t,w),u(t,E);for(let e=0;e<Ye.length;e+=1)Ye[e]&&Ye[e].m(E,null);c(e,S,h),c(e,k,h),u(k,M),u(M,D),u(D,P),u(D,A),u(M,H),u(M,C),u(C,O),u(O,N),u(O,R),u(O,x),u(O,B),u(O,U),u(k,Y),u(k,I),u(I,j),u(j,G),u(j,F),u(I,$),u(I,z),u(z,V),u(V,W),u(V,Z),u(V,X),u(V,K),u(V,q),u(k,J),Ie&&Ie.m(k,null),u(k,Q),u(k,ee),u(ee,te),u(te,ie),u(te,ne),u(ee,re),u(ee,ae),u(ae,se),u(se,oe),u(se,le),u(se,ue),u(k,ce),u(k,he),u(he,de),u(de,me),u(de,fe),u(he,pe),u(he,ge),u(ge,ye),u(ye,be),u(ye,ve),u(ye,_e),c(e,Le,h),je&&je.m(e,h),c(e,we,h),Ge&&Ge.m(e,h),c(e,Ee,h)},p(e,t){if(/*selectedProduct, $_*/1114112&t[0]&&Te!==(Te=/*selectedProduct*/"All"===e[16]?`${/*selectedProduct*/e[16]} ${/*$_*/e[20]("walletsLabel")}`:`${/*selectedProduct*/e[16]} ${/*$_*/e[20]("walletLabel")}`)&&_(r,Te),/*displayedLimit*/2048&t[0]&&Se!==(Se=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].totalAmount)+"")&&_(o,Se),/*displayedLimit*/2048&t[0]&&ke!==(ke=/*displayedLimit*/e[11].limitCurrency+"")&&_(y,ke),/*displayedLimit*/2048&t[0]&&v!==(v=`${/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].totalAmount)} ${/*displayedLimit*/e[11].limitCurrency}`)&&b(s,"title",v),/*productList*/e[17].length>1?Be?Be.p(e,t):(Be=ji(e),Be.c(),Be.m(i,null)):Be&&(Be.d(1),Be=null),/*handleProductChange, productList, $_*/34734080&t[0]){let i;for(Ue=/*productList*/e[17],i=0;i<Ue.length;i+=1){const n=Ri(e,Ue,i);Ye[i]?Ye[i].p(n,t):(Ye[i]=Gi(n),Ye[i].c(),Ye[i].m(E,null))}for(;i<Ye.length;i+=1)Ye[i].d(1);Ye.length=Ue.length}/*showDropdown*/1024&t[0]&&T!==(T="ProductsDropdown "+(/*showDropdown*/e[10]?"Show":""))&&b(E,"class",T),/*$_*/1048576&t[0]&&Me!==(Me=/*$_*/e[20]("spentAmount")+"")&&_(P,Me),/*displayedLimit*/2048&t[0]&&De!==(De=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].spentAmount)+"")&&_(x,De),/*displayedLimit*/2048&t[0]&&Pe!==(Pe=/*displayedLimit*/e[11].limitCurrency+"")&&_(U,Pe),/*$_*/1048576&t[0]&&Ae!==(Ae=/*$_*/e[20]("remainingAmount")+"")&&_(G,Ae),/*displayedLimit*/2048&t[0]&&He!==(He=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].remainingAmount)+"")&&_(X,He),/*displayedLimit*/2048&t[0]&&Ce!==(Ce=/*displayedLimit*/e[11].limitCurrency+"")&&_(q,Ce),/*displayedLimit*/!0===e[11].formattedSchedule.isUpdated?Ie?Ie.p(e,t):(Ie=Fi(e),Ie.c(),Ie.m(k,Q)):Ie&&(Ie.d(1),Ie=null),/*$_*/1048576&t[0]&&Oe!==(Oe=/*$_*/e[20]("startLabel")+"")&&_(ie,Oe),/*displayedLimit*/2048&t[0]&&Ne!==(Ne=/*dateToReadableString*/e[22](/*displayedLimit*/e[11].from)+"")&&_(ue,Ne),/*$_*/1048576&t[0]&&Re!==(Re=/*$_*/e[20]("resetLabel")+"")&&_(me,Re),/*displayedLimit*/2048&t[0]&&xe!==(xe=/*dateToReadableString*/e[22](/*displayedLimit*/e[11].to)+"")&&_(_e,xe),/*displayedLimit*/!0===e[11].formattedSchedule.isRemoved||/*displayedLimit*/!0===e[11].formattedSchedule.isUpdated?je?je.p(e,t):(je=$i(e),je.c(),je.m(we.parentNode,we)):je&&(je.d(1),je=null),/*sessiontype*/"admin"===e[0]?Ge?Ge.p(e,t):(Ge=Wi(e),Ge.c(),Ge.m(Ee.parentNode,Ee)):Ge&&(Ge.d(1),Ge=null)},d(e){e&&h(t),Be&&Be.d(),d(Ye,e),e&&h(S),e&&h(k),Ie&&Ie.d(),e&&h(Le),je&&je.d(e),e&&h(we),Ge&&Ge.d(e),e&&h(Ee)}}}
|
|
1195
1195
|
// (473:8) {#if isLoading}
|
|
1196
1196
|
function Ii(e){let t;return{c(){t=m("general-animation-loading"),v(t,"clientstyling",/*clientstyling*/e[3]),v(t,"clientstylingurl",/*clientstylingurl*/e[4])},m(e,i){c(e,t,i)},p(e,i){/*clientstyling*/8&i[0]&&v(t,"clientstyling",/*clientstyling*/e[3]),/*clientstylingurl*/16&i[0]&&v(t,"clientstylingurl",/*clientstylingurl*/e[4])},d(e){e&&h(t)}}}
|
|
1197
1197
|
// (480:14) {#if productList.length > 1}
|
|
@@ -1202,39 +1202,39 @@ return e.stopPropagation(),o.call(this,e)})),r=!0)},p(e,i){/*showDropdown*/1024&
|
|
|
1202
1202
|
function Gi(e){let t,i,n,r,a,s=/*product*/"All"===e[63]?`${/*product*/e[63]} ${/*$_*/e[20]("walletsLabel")}`:`${/*product*/e[63]} ${/*$_*/e[20]("walletLabel")}`;function o(){/*click_handler_1*/
|
|
1203
1203
|
return e[38](/*product*/e[63])}return{c(){t=m("button"),i=p(s),n=g()},m(e,s){c(e,t,s),u(t,i),u(t,n),r||(a=y(t,"click",o),r=!0)},p(t,n){e=t,/*productList, $_*/1179648&n[0]&&s!==(s=/*product*/"All"===e[63]?`${/*product*/e[63]} ${/*$_*/e[20]("walletsLabel")}`:`${/*product*/e[63]} ${/*$_*/e[20]("walletLabel")}`)&&_(i,s)},d(e){e&&h(t),r=!1,a()}}}
|
|
1204
1204
|
// (503:12) {#if displayedLimit.formattedSchedule.isUpdated === true}
|
|
1205
|
-
function Fi(e){let t,i,n,r,a,s,o,l,d,f,y,v,
|
|
1205
|
+
function Fi(e){let t,i,n,r,a,s,o,l,d,f,y,v,L=/*$_*/e[20]("futureAmount")+"",w=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].formattedSchedule.updateAmount)+"",E=/*displayedLimit*/e[11].limitCurrency+"";return{c(){t=m("div"),i=m("div"),n=p(L),r=p(":"),a=g(),s=m("div"),o=m("span"),l=m("caret-right"),d=g(),f=p(w),y=g(),v=p(E),b(i,"class","Col"),b(s,"class","Col"),b(t,"class","Row")},m(e,h){c(e,t,h),u(t,i),u(i,n),u(i,r),u(t,a),u(t,s),u(s,o),u(o,l),u(o,d),u(o,f),u(o,y),u(o,v)},p(e,t){/*$_*/1048576&t[0]&&L!==(L=/*$_*/e[20]("futureAmount")+"")&&_(n,L),/*displayedLimit*/2048&t[0]&&w!==(w=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].formattedSchedule.updateAmount)+"")&&_(f,w),/*displayedLimit*/2048&t[0]&&E!==(E=/*displayedLimit*/e[11].limitCurrency+"")&&_(v,E)},d(e){e&&h(t)}}}
|
|
1206
1206
|
// (518:10) {#if displayedLimit.formattedSchedule.isRemoved === true || displayedLimit.formattedSchedule.isUpdated === true }
|
|
1207
|
-
function $i(e){let t,i,n=/*displayedLimit*/!0===e[11].formattedSchedule.isRemoved&&zi(e),r=/*displayedLimit*/!0===e[11].formattedSchedule.isUpdated&&
|
|
1207
|
+
function $i(e){let t,i,n=/*displayedLimit*/!0===e[11].formattedSchedule.isRemoved&&zi(e),r=/*displayedLimit*/!0===e[11].formattedSchedule.isUpdated&&Vi(e);return{c(){t=m("div"),n&&n.c(),i=g(),r&&r.c(),b(t,"class","ExtraInfoContainer")},m(e,a){c(e,t,a),n&&n.m(t,null),u(t,i),r&&r.m(t,null)},p(e,a){/*displayedLimit*/!0===e[11].formattedSchedule.isRemoved?n?n.p(e,a):(n=zi(e),n.c(),n.m(t,i)):n&&(n.d(1),n=null),/*displayedLimit*/!0===e[11].formattedSchedule.isUpdated?r?r.p(e,a):(r=Vi(e),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(e){e&&h(t),n&&n.d(),r&&r.d()}}}
|
|
1208
1208
|
// (520:14) {#if displayedLimit.formattedSchedule.isRemoved === true}
|
|
1209
1209
|
function zi(e){let t,i,n,r,a=/*$_*/e[20]("limitRemoved")+"",s=/*displayedLimit*/e[11].formattedSchedule.expiresString+"";return{c(){t=m("span"),i=p(a),n=p(": "),r=p(s)},m(e,a){c(e,t,a),u(t,i),u(t,n),u(t,r)},p(e,t){/*$_*/1048576&t[0]&&a!==(a=/*$_*/e[20]("limitRemoved")+"")&&_(i,a),/*displayedLimit*/2048&t[0]&&s!==(s=/*displayedLimit*/e[11].formattedSchedule.expiresString+"")&&_(r,s)},d(e){e&&h(t)}}}
|
|
1210
1210
|
// (523:14) {#if displayedLimit.formattedSchedule.isUpdated === true}
|
|
1211
|
-
function
|
|
1211
|
+
function Vi(e){let t,i,n,r,a=/*$_*/e[20]("limitUpdated")+"",s=/*displayedLimit*/e[11].formattedSchedule.expiresString+"";return{c(){t=m("span"),i=p(a),n=p(": "),r=p(s)},m(e,a){c(e,t,a),u(t,i),u(t,n),u(t,r)},p(e,t){/*$_*/1048576&t[0]&&a!==(a=/*$_*/e[20]("limitUpdated")+"")&&_(i,a),/*displayedLimit*/2048&t[0]&&s!==(s=/*displayedLimit*/e[11].formattedSchedule.expiresString+"")&&_(r,s)},d(e){e&&h(t)}}}
|
|
1212
1212
|
// (528:10) {#if sessiontype === 'admin'}
|
|
1213
|
-
function
|
|
1213
|
+
function Wi(e){let t;function i(e,t){/*transdetailsurl*/
|
|
1214
1214
|
return e[1]?Xi:/*transactionspageurl*/e[2]?Zi:void 0}let n=i(e),r=n&&n(e);return{c(){t=m("div"),r&&r.c(),b(t,"class","UsefulLinksSection")},m(e,i){c(e,t,i),r&&r.m(t,null)},p(e,a){n===(n=i(e))&&r?r.p(e,a):(r&&r.d(1),r=n&&n(e),r&&(r.c(),r.m(t,null)))},d(e){e&&h(t),r&&r.d()}}}
|
|
1215
1215
|
// (532:44)
|
|
1216
1216
|
function Zi(e){let t,i,n=/*$_*/e[20]("additionalLink2")+"";return{c(){t=m("a"),i=p(n),b(t,"href",/*getTransactionsUrl*/e[28]()),b(t,"target","_blank")},m(e,n){c(e,t,n),u(t,i)},p(e,t){/*$_*/1048576&t[0]&&n!==(n=/*$_*/e[20]("additionalLink2")+"")&&_(i,n)},d(e){e&&h(t)}}}
|
|
1217
1217
|
// (530:14) {#if transdetailsurl}
|
|
1218
1218
|
function Xi(e){let t,i,n=/*$_*/e[20]("additionalLink1")+"";return{c(){t=m("a"),i=p(n),b(t,"href",/*transdetailsurl*/e[1]),b(t,"target","_blank")},m(e,n){c(e,t,n),u(t,i)},p(e,r){/*$_*/1048576&r[0]&&n!==(n=/*$_*/e[20]("additionalLink1")+"")&&_(i,n),/*transdetailsurl*/2&r[0]&&b(t,"href",/*transdetailsurl*/e[1])},d(e){e&&h(t)}}}
|
|
1219
1219
|
// (541:10) {#if limitPeriodList.length > 0}
|
|
1220
|
-
function Ki(e){let t,i,r,a,s,o,l,f,v=/*$_*/e[20]("changeLimitLabel")+"",
|
|
1220
|
+
function Ki(e){let t,i,r,a,s,o,l,f,v=/*$_*/e[20]("changeLimitLabel")+"",L=/*limitPeriodList*/e[12],E=[];for(let t=0;t<L.length;t+=1)E[t]=qi(Ni(e,L,t));return{c(){t=m("div"),i=m("label"),r=p(v),a=p(":"),s=g(),o=m("select");for(let e=0;e<E.length;e+=1)E[e].c();b(i,"for","LimitPeriod"),b(o,"id","LimitPeriod"),/*selectedLimitPeriod*/void 0===e[14]&&O((()=>/*select_change_handler*/e[39].call(o))),b(t,"class","ControlContainer")},m(n,h){c(n,t,h),u(t,i),u(i,r),u(i,a),u(t,s),u(t,o);for(let e=0;e<E.length;e+=1)E[e]&&E[e].m(o,null);w(o,/*selectedLimitPeriod*/e[14],!0),l||(f=[y(o,"change",/*select_change_handler*/e[39]),y(o,"change",/*handlePeriodChange*/e[24])],l=!0)},p(e,t){if(/*$_*/1048576&t[0]&&v!==(v=/*$_*/e[20]("changeLimitLabel")+"")&&_(r,v),/*limitPeriodList*/4096&t[0]){let i;for(L=/*limitPeriodList*/e[12],i=0;i<L.length;i+=1){const n=Ni(e,L,i);E[i]?E[i].p(n,t):(E[i]=qi(n),E[i].c(),E[i].m(o,null))}for(;i<E.length;i+=1)E[i].d(1);E.length=L.length}/*selectedLimitPeriod, limitPeriodList*/20480&t[0]&&w(o,/*selectedLimitPeriod*/e[14])},d(e){e&&h(t),d(E,e),l=!1,n(f)}}}
|
|
1221
1221
|
// (545:16) {#each limitPeriodList as value}
|
|
1222
1222
|
function qi(e){let t,i,n,r,a=/*value*/e[58]+"";return{c(){t=m("option"),i=p(a),n=g(),t.__value=r=/*value*/e[58],t.value=t.__value},m(e,r){c(e,t,r),u(t,i),u(t,n)},p(e,n){/*limitPeriodList*/4096&n[0]&&a!==(a=/*value*/e[58]+"")&&_(i,a),/*limitPeriodList*/4096&n[0]&&r!==(r=/*value*/e[58])&&(t.__value=r,t.value=t.__value)},d(e){e&&h(t)}}}
|
|
1223
1223
|
// (553:10) {#if limitTypeList.length > 0}
|
|
1224
|
-
function Ji(e){let t,i,r,a,s,o,l,f,v=/*$_*/e[20]("limitTypeLabel")+"",
|
|
1224
|
+
function Ji(e){let t,i,r,a,s,o,l,f,v=/*$_*/e[20]("limitTypeLabel")+"",L=/*limitTypeList*/e[13],E=[];for(let t=0;t<L.length;t+=1)E[t]=Qi(Oi(e,L,t));return{c(){t=m("div"),i=m("label"),r=p(v),a=p(":"),s=g(),o=m("select");for(let e=0;e<E.length;e+=1)E[e].c();b(i,"for","LimitType"),b(o,"id","LimitType"),/*selectedLimitType*/void 0===e[15]&&O((()=>/*select_change_handler_1*/e[40].call(o))),b(t,"class","ControlContainer")},m(n,h){c(n,t,h),u(t,i),u(i,r),u(i,a),u(t,s),u(t,o);for(let e=0;e<E.length;e+=1)E[e]&&E[e].m(o,null);w(o,/*selectedLimitType*/e[15],!0),l||(f=[y(o,"change",/*select_change_handler_1*/e[40]),y(o,"change",/*getLimitBalance*/e[21])],l=!0)},p(e,t){if(/*$_*/1048576&t[0]&&v!==(v=/*$_*/e[20]("limitTypeLabel")+"")&&_(r,v),/*limitTypeList*/8192&t[0]){let i;for(L=/*limitTypeList*/e[13],i=0;i<L.length;i+=1){const n=Oi(e,L,i);E[i]?E[i].p(n,t):(E[i]=Qi(n),E[i].c(),E[i].m(o,null))}for(;i<E.length;i+=1)E[i].d(1);E.length=L.length}/*selectedLimitType, limitTypeList*/40960&t[0]&&w(o,/*selectedLimitType*/e[15])},d(e){e&&h(t),d(E,e),l=!1,n(f)}}}
|
|
1225
1225
|
// (557:16) {#each limitTypeList as value}
|
|
1226
1226
|
function Qi(e){let t,i,n,r,a=/*value*/e[58]+"";return{c(){t=m("option"),i=p(a),n=g(),t.__value=r=/*value*/e[58],t.value=t.__value},m(e,r){c(e,t,r),u(t,i),u(t,n)},p(e,n){/*limitTypeList*/8192&n[0]&&a!==(a=/*value*/e[58]+"")&&_(i,a),/*limitTypeList*/8192&n[0]&&r!==(r=/*value*/e[58])&&(t.__value=r,t.value=t.__value)},d(e){e&&h(t)}}}
|
|
1227
1227
|
// (568:8) {:else}
|
|
1228
|
-
function en(e){let t,i,n,r,a,o,l,d,f,y,v,
|
|
1228
|
+
function en(e){let t,i,n,r,a,o,l,d,f,y,v,w,E,T,S,k,M,D,P,A,H,C,O,N,R,x,B,U,Y,I,j=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].spentAmount)+"",G=/*displayedLimit*/e[11].limitCurrency+"",F=/*displayedLimit*/e[11].limitCurrency+"",$=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].totalAmount)+"",z=/*displayedLimit*/e[11].limitCurrency+"";return{c(){var u,c;t=m("div"),i=m("div"),n=m("img"),a=g(),o=m("div"),l=g(),d=m("div"),f=p(j),y=g(),v=p(G),E=g(),T=m("div"),S=g(),k=m("div"),M=g(),D=m("div"),P=m("div"),A=m("strong"),A.textContent="0",H=g(),C=m("span"),O=p(F),N=g(),R=m("div"),x=m("strong"),B=p($),U=g(),Y=m("span"),I=p(z),b(n,"class","Archbg"),u=n.src,c=r=Mi,s||(s=document.createElement("a")),s.href=c,u!==s.href&&b(n,"src",r),b(n,"alt","arch"),b(o,"class","GaugeFill"),L(o,"--p",/*gaugeValue*/e[18]+"deg"),b(d,"class","GaugeCover"),b(d,"title",w=`${/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].spentAmount)} ${/*displayedLimit*/e[11].limitCurrency}`),b(T,"class","GaugeNeedleCover"),b(k,"class","GaugeNeedle"),L(k,"--transform-needle-value","rotate("+(/*gaugeValue*/e[18]-90)+"deg)"),b(i,"class","GaugeBody"),b(A,"class","MinContent"),b(C,"class","MinContentCurrency"),b(P,"class","Min"),b(x,"class","MaxContent"),b(Y,"class","MaxContentCurrency"),b(R,"class","Max"),b(D,"class","MinMaxContainer"),b(t,"class","Gauge")},m(e,r){c(e,t,r),u(t,i),u(i,n),u(i,a),u(i,o),u(i,l),u(i,d),u(d,f),u(d,y),u(d,v),u(i,E),u(i,T),u(i,S),u(i,k),u(t,M),u(t,D),u(D,P),u(P,A),u(P,H),u(P,C),u(C,O),u(D,N),u(D,R),u(R,x),u(x,B),u(R,U),u(R,Y),u(Y,I)},p(e,t){/*gaugeValue*/262144&t[0]&&L(o,"--p",/*gaugeValue*/e[18]+"deg"),/*displayedLimit*/2048&t[0]&&j!==(j=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].spentAmount)+"")&&_(f,j),/*displayedLimit*/2048&t[0]&&G!==(G=/*displayedLimit*/e[11].limitCurrency+"")&&_(v,G),/*displayedLimit*/2048&t[0]&&w!==(w=`${/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].spentAmount)} ${/*displayedLimit*/e[11].limitCurrency}`)&&b(d,"title",w),/*gaugeValue*/262144&t[0]&&L(k,"--transform-needle-value","rotate("+(/*gaugeValue*/e[18]-90)+"deg)"),/*displayedLimit*/2048&t[0]&&F!==(F=/*displayedLimit*/e[11].limitCurrency+"")&&_(O,F),/*displayedLimit*/2048&t[0]&&$!==($=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].totalAmount)+"")&&_(B,$),/*displayedLimit*/2048&t[0]&&z!==(z=/*displayedLimit*/e[11].limitCurrency+"")&&_(I,z)},d(e){e&&h(t)}}}
|
|
1229
1229
|
// (566:8) {#if isGaugeLoading}
|
|
1230
1230
|
function tn(e){let t;return{c(){t=m("general-animation-loading"),v(t,"clientstyling",/*clientstyling*/e[3]),v(t,"clientstylingurl",/*clientstylingurl*/e[4])},m(e,i){c(e,t,i)},p(e,i){/*clientstyling*/8&i[0]&&v(t,"clientstyling",/*clientstyling*/e[3]),/*clientstylingurl*/16&i[0]&&v(t,"clientstylingurl",/*clientstylingurl*/e[4])},d(e){e&&h(t)}}}function nn(t){let i,n,r;function a(e,t){/*noLimitToDisplay*/
|
|
1231
|
-
return e[9]?Ui:/*errorMessage*/e[19]?Bi:
|
|
1231
|
+
return e[9]?Ui:/*errorMessage*/e[19]?Bi:xi}let s=a(t),o=s(t);return{c(){i=m("div"),n=m("div"),o.c(),this.c=e,b(n,"class","LimitsContainer"),b(i,"class",r=/*displayNone*/t[6]?"DisplayNone":"")},m(e,r){c(e,i,r),u(i,n),o.m(n,null),
|
|
1232
1232
|
/*div0_binding*/t[41](n)},p(e,t){s===(s=a(e))&&o?o.p(e,t):(o.d(1),o=s(e),o&&(o.c(),o.m(n,null))),/*displayNone*/64&t[0]&&r!==(r=/*displayNone*/e[6]?"DisplayNone":"")&&b(i,"class",r)},i:e,o:e,d(e){e&&h(i),o.d(),
|
|
1233
|
-
/*div0_binding*/t[41](null)}}}function rn(e,t,i){let n;var r,a;r=Ti,a=e=>i(20,n=e),e.$$.on_destroy.push(l(r,a));let s,o,{session:u=""}=t,{sessiontype:c=""}=t,{userid:h=""}=t,{endpoint:d=""}=t,{transdetailsurl:m=""}=t,{transactionspageurl:f=""}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,{lang:y="en"}=t,{translationurl:b=""}=t,{datetimeformat:v=""}=t,_=!1,
|
|
1233
|
+
/*div0_binding*/t[41](null)}}}function rn(e,t,i){let n;var r,a;r=Ti,a=e=>i(20,n=e),e.$$.on_destroy.push(l(r,a));let s,o,{session:u=""}=t,{sessiontype:c=""}=t,{userid:h=""}=t,{endpoint:d=""}=t,{transdetailsurl:m=""}=t,{transactionspageurl:f=""}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,{lang:y="en"}=t,{translationurl:b=""}=t,{datetimeformat:v=""}=t,_=!1,L=!1,w=!1,T="",S="",M=!0,P=!0,A=!1,H={totalAmount:null,spentAmount:"",limitCurrency:"EUR",remainingAmount:"",limitPeriod:"",limitProducts:"",from:"",to:""},C=[],O=[],N="",R="",x="",B=[],U=[],Y=0,I="";Object.keys(ki).forEach((e=>{Si(e,ki[e])})),
|
|
1234
1234
|
/**
|
|
1235
1235
|
* Sets the isMounted flag after a short delay when the component is first rendered.
|
|
1236
1236
|
*/
|
|
1237
|
-
k((()=>{setTimeout((()=>{i(35,
|
|
1237
|
+
k((()=>{setTimeout((()=>{i(35,L=!0)}),50);
|
|
1238
1238
|
// Define the function to handle clicks outside the dropdown
|
|
1239
1239
|
const e=e=>{
|
|
1240
1240
|
// Check if the click is outside the .ProductsDropdown
|
|
@@ -1247,12 +1247,12 @@ return window.addEventListener("click",e),()=>{window.removeEventListener("click
|
|
|
1247
1247
|
/**
|
|
1248
1248
|
* Sets the session information upon login.
|
|
1249
1249
|
*/
|
|
1250
|
-
const j=e=>{i(19,I=e)},G=async()=>{i(10,A=!1);try{if(B=await F(),0===B.length)return i(7,M=!1),void i(9,o=!0);i(12,C=[...new Set(B.map((e=>e.period)))]),i(17,U=z(B[0].period)),U.includes(
|
|
1250
|
+
const j=e=>{i(19,I=e)},G=async()=>{i(10,A=!1);try{if(B=await F(),0===B.length)return i(7,M=!1),void i(9,o=!0);i(12,C=[...new Set(B.map((e=>e.period)))]),i(17,U=z(B[0].period)),U.includes(x)||i(16,x=U[0]),V(B[0])}catch(e){return i(7,M=!1),void j(n("fetchLimitBalanceError"))}},F=async()=>{try{const e=new URL(`${d}/v1/player/${S}/limits/monetary/`),t={method:"GET",headers:{"X-SessionId":T,"X-Session-Type":c}},r=await fetch(e,t);if(!r.ok)throw new Error(n("fetchLimitDefError"));const a=await r.json(),s=["Deposit","Loss","Wagering"],o=a.limits.map((e=>e.type));i(13,O=Array.from(new Set(o)).filter((e=>s.includes(e)))),R||i(15,R=O[0]);const l=a.limits.filter((e=>e.type===R));return l.length>0?l:[]}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;j(t)}},z=e=>{const t=B.filter((t=>t.period===e)),i=[];return t.forEach((e=>{e.products.forEach((e=>{-1===i.indexOf(e)&&i.push(e)}))})),i},V=async e=>{try{i(7,M=!0);const t=new URL(`${d}/v1/player/${S}/limits/monetary/balance`);t.searchParams.append("limitDefinitionId",e.id);const r={method:"GET",headers:{"X-SessionId":T,"X-Session-Type":c}},a=await fetch(t,r);if(!a.ok)throw new Error(n("fetchLimitBalanceError"));const s=await a.json();W(s.limitBalances[0],e)}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;j(t)}finally{i(7,M=!1)}},W=(e,t)=>{i(14,N=e.limitPeriod),i(16,x=e.limitProducts[0]);const n=Z(t.id,t.schedules);i(11,H={totalAmount:e.limitAmount,spentAmount:e.spentBalance.amount.toFixed(2),limitCurrency:e.limitCurrency,remainingAmount:(e.limitAmount-e.spentBalance.amount).toFixed(2),limitPeriod:e.limitPeriod,limitProducts:x,from:e.from,to:e.to}),n&&i(11,H.formattedSchedule=n,H),K(H)},Z=(e,t)=>{const i=t.find((t=>t.playerLimitId===e));return i?{updateAmount:i.updateAmount,expires:i.applyAt,expiresString:X(i.applyAt),id:i.id,isRemoved:i.updateAmount<1,isUpdated:i.updateAmount>0}:{updateAmount:"",expires:"",expiresString:"",id:"",isRemoved:!1,isUpdated:!1}},X=e=>$(e).utc(!0).format(v||"DD/MM/YYYY HH:mm:ss"),K=e=>{const t=180/e.totalAmount*parseFloat(e.spentAmount),n=setInterval((()=>{Math.abs(Y-t)<1.5?(i(18,Y=t),clearInterval(n)):i(18,Y+=Y<t?1.5:-1.5),
|
|
1251
1251
|
// Boundary checks to ensure gaugeValue stays within [0, 180]
|
|
1252
|
-
i(18,Y=Math.min(180,Math.max(0,Y))),Y===t&&clearInterval(n)}));i(8,P=!1)},q=e=>{const t=B.find((t=>t.period===N&&t.products.includes(e)));i(11,H.limitProducts=e,H),i(10,A=!1),t&&
|
|
1252
|
+
i(18,Y=Math.min(180,Math.max(0,Y))),Y===t&&clearInterval(n)}));i(8,P=!1)},q=e=>{const t=B.find((t=>t.period===N&&t.products.includes(e)));i(11,H.limitProducts=e,H),i(10,A=!1),t&&V(t)},J=()=>{var e;e=y,ri.set(e)},Q=()=>{i(10,A=!A)},ee=(e,t)=>new Date(e.getTime()-24*t*60*60*1e3);
|
|
1253
1253
|
/**
|
|
1254
1254
|
* Handles errors by updating the error message.
|
|
1255
1255
|
*
|
|
1256
1256
|
* @param error - The error message to be handled.
|
|
1257
|
-
*/return e.$$set=e=>{"session"in e&&i(29,u=e.session),"sessiontype"in e&&i(0,c=e.sessiontype),"userid"in e&&i(30,h=e.userid),"endpoint"in e&&i(31,d=e.endpoint),"transdetailsurl"in e&&i(1,m=e.transdetailsurl),"transactionspageurl"in e&&i(2,f=e.transactionspageurl),"clientstyling"in e&&i(3,p=e.clientstyling),"clientstylingurl"in e&&i(4,g=e.clientstylingurl),"lang"in e&&i(32,y=e.lang),"translationurl"in e&&i(33,b=e.translationurl),"datetimeformat"in e&&i(34,v=e.datetimeformat)},e.$$.update=()=>{/*session, userid*/1610612736&e.$$.dirty[0]|/*isMounted*/16&e.$$.dirty[1]&&w&&u&&h&&(i(36,L=!0),T=u,S=h),/*isMounted, isLoggedIn*/48&e.$$.dirty[1]&&w&&L&&G(),/*clientstyling, customStylingContainer*/40&e.$$.dirty[0]&&p&&s&&(()=>{let e=document.createElement("style");e.innerHTML=p,s.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/48&e.$$.dirty[0]&&g&&s&&(()=>{try{i(6,_=!0);let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{s.appendChild(t)}),1),setTimeout((()=>{i(6,_=!1)}),500)}))}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;j(t)}})(),/*lang*/2&e.$$.dirty[1]&&y&&J(),/*translationurl*/4&e.$$.dirty[1]&&b&&(()=>{let e=new URL(b);fetch(e.href).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Si(t,e[t])}))})).catch((e=>{console.log(e)}))})()},[c,m,f,p,g,s,_,M,P,o,A,H,C,O,N,x,R,U,Y,I,n,G,X,e=>{switch(e){case"Deposit":return n("depositLimitHeader");case"Loss":return n("lossLimitHeader");case"Wagering":return n("wageringLimitHeader");default:return""}},e=>{const t=e.currentTarget;i(14,N=t.value),i(17,U=z(N)),i(10,A=!1),U.includes(R)||i(16,R=U[0]);const n=B.find((e=>e.period===N&&e.products.includes(R)));n&&W(n)},q,Q,e=>e.toString().replace(/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g," "),()=>{try{const e=f,t="Deposit"===x?"payment-transactions":"gaming-transactions",i={Daily:1,Weekly:7,Monthly:30},n=ee(new Date(H.to),i[N]),r=new URL(`${e}/gammatrix/gmwi/${t}`);switch(r.searchParams.append("transStatuses","2"),r.searchParams.append("startTime",n.toISOString()),r.searchParams.append("endTime",(new Date).toISOString()),r.searchParams.append("dateOption","Select custom dates"),r.searchParams.append("userId",h),x){case"Deposit":r.searchParams.append("transTypes","1");break;case"Wagering":r.searchParams.append("transTypes","12");break;case"Loss":r.searchParams.append("transTypes","8")}return r.toString()}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;j(t)}},u,h,d,y,b,v,w,L,()=>Q(),e=>q(e),function(){N=E(this),i(14,N),i(12,C)},function(){x=E(this),i(15,x),i(13,O)},function(e){D[e?"unshift":"push"]((()=>{s=e,i(5,s)}))}]}!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",class extends G{constructor(e){super();const t=document.createElement("style");t.textContent=".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Ci,Hi,a,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}});class an extends G{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::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;justify-content:center;align-items:center;min-height:219px}.ErrorMessage{margin:0 15px;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.LimitsContainer{display:flex;width:100%;max-width:700px;min-height:150px;border:1px solid var(--emw--color-primary, #307fe2);border-radius:20px;overflow:hidden;box-shadow:14px 26px 19.7px 0px var(--emw--color-gray-150, #76768B);gap:25px;padding:25px}.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:700}caret-right{color:var(--emw--color-primary, #307fe2)}.ContentRight{min-width:300px;display:flex;justify-content:center;flex-direction:column}.ExtraInfoContainer{padding:1rem 0;color:var(--emfe-w-color-red, #ed0909)}.UsefulLinksSection{padding-top:5px}.UsefulLinksSection a{color:var(--emw--color-primary, #307fe2);text-decoration:underline}.WidgetControls{display:flex;width:100%;justify-content:end;gap:20px}.ControlContainer label{display:block;width:100%;font-size:12px;font-weight:bold;margin-bottom:5px}.Gauge{width:100%;font-family:"Roboto", sans-serif;color:black;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:25px;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:large;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:#f5f5f5;border-radius:13px;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:700;text-align:center;width:70px;color:var(--emw--color-gray-150, #76768B)}.TotalAmount{font-size: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:24px}.TotalAmount::-webkit-scrollbar{display:none}.ProductsDropdown{display:none;position:absolute;background-color:#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}.ProductsDropdown button{background-color:transparent;border:none;outline:none;cursor:pointer;padding:10px;width:100%;text-align:left;font-weight:700}.ProductsDropdown button:hover{background-color:var(--emw--color-primary, #307fe2);color:#fff}.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}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},rn,nn,a,{session:29,sessiontype:0,userid:30,endpoint:31,transdetailsurl:1,transactionspageurl:2,clientstyling:3,clientstylingurl:4,lang:32,translationurl:33,datetimeformat:34},null,[-1,-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["session","sessiontype","userid","endpoint","transdetailsurl","transactionspageurl","clientstyling","clientstylingurl","lang","translationurl","datetimeformat"]}get session(){return this.$$.ctx[29]}set session(e){this.$$set({session:e}),R()}get sessiontype(){return this.$$.ctx[0]}set sessiontype(e){this.$$set({sessiontype:e}),R()}get userid(){return this.$$.ctx[30]}set userid(e){this.$$set({userid:e}),R()}get endpoint(){return this.$$.ctx[31]}set endpoint(e){this.$$set({endpoint:e}),R()}get transdetailsurl(){return this.$$.ctx[1]}set transdetailsurl(e){this.$$set({transdetailsurl:e}),R()}get transactionspageurl(){return this.$$.ctx[2]}set transactionspageurl(e){this.$$set({transactionspageurl:e}),R()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get lang(){return this.$$.ctx[32]}set lang(e){this.$$set({lang:e}),R()}get translationurl(){return this.$$.ctx[33]}set translationurl(e){this.$$set({translationurl:e}),R()}get datetimeformat(){return this.$$.ctx[34]}set datetimeformat(e){this.$$set({datetimeformat:e}),R()}}return!customElements.get("player-rglimits")&&customElements.define("player-rglimits",an),an}));
|
|
1257
|
+
*/return e.$$set=e=>{"session"in e&&i(29,u=e.session),"sessiontype"in e&&i(0,c=e.sessiontype),"userid"in e&&i(30,h=e.userid),"endpoint"in e&&i(31,d=e.endpoint),"transdetailsurl"in e&&i(1,m=e.transdetailsurl),"transactionspageurl"in e&&i(2,f=e.transactionspageurl),"clientstyling"in e&&i(3,p=e.clientstyling),"clientstylingurl"in e&&i(4,g=e.clientstylingurl),"lang"in e&&i(32,y=e.lang),"translationurl"in e&&i(33,b=e.translationurl),"datetimeformat"in e&&i(34,v=e.datetimeformat)},e.$$.update=()=>{/*session, userid*/1610612736&e.$$.dirty[0]|/*isMounted*/16&e.$$.dirty[1]&&L&&u&&h&&(i(36,w=!0),T=u,S=h),/*isMounted, isLoggedIn*/48&e.$$.dirty[1]&&L&&w&&G(),/*clientstyling, customStylingContainer*/40&e.$$.dirty[0]&&p&&s&&(()=>{let e=document.createElement("style");e.innerHTML=p,s.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/48&e.$$.dirty[0]&&g&&s&&(()=>{try{i(6,_=!0);let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{s.appendChild(t)}),1),setTimeout((()=>{i(6,_=!1)}),500)}))}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;j(t)}})(),/*lang*/2&e.$$.dirty[1]&&y&&J(),/*translationurl*/4&e.$$.dirty[1]&&b&&(()=>{let e=new URL(b);fetch(e.href).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Si(t,e[t])}))})).catch((e=>{console.log(e)}))})()},[c,m,f,p,g,s,_,M,P,o,A,H,C,O,N,R,x,U,Y,I,n,G,X,e=>{switch(e){case"Deposit":return n("depositLimitHeader");case"Loss":return n("lossLimitHeader");case"Wagering":return n("wageringLimitHeader");default:return""}},e=>{const t=e.currentTarget;i(14,N=t.value),i(17,U=z(N)),i(10,A=!1),U.includes(x)||i(16,x=U[0]);const n=B.find((e=>e.period===N&&e.products.includes(x)));n&&V(n)},q,Q,e=>e.toString().replace(/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g," "),()=>{try{const e=f,t="Deposit"===R?"payment-transactions":"gaming-transactions",i={Daily:1,Weekly:7,Monthly:30},n=ee(new Date(H.to),i[N]),r=new URL(`${e}/gammatrix/gmwi/${t}`);switch(r.searchParams.append("transStatuses","2"),r.searchParams.append("startTime",n.toISOString()),r.searchParams.append("endTime",(new Date).toISOString()),r.searchParams.append("dateOption","Select custom dates"),r.searchParams.append("userId",h),R){case"Deposit":r.searchParams.append("transTypes","1");break;case"Wagering":r.searchParams.append("transTypes","12");break;case"Loss":r.searchParams.append("transTypes","8")}return r.toString()}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;j(t)}},u,h,d,y,b,v,L,w,()=>Q(),e=>q(e),function(){N=E(this),i(14,N),i(12,C)},function(){R=E(this),i(15,R),i(13,O)},function(e){D[e?"unshift":"push"]((()=>{s=e,i(5,s)}))}]}!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",class extends G{constructor(e){super();const t=document.createElement("style");t.textContent=".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Ci,Hi,a,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),x()))}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),x()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),x()}});class an extends G{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::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;justify-content:center;align-items:center;min-height:219px}.ErrorMessage{margin:0 15px;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.LimitsContainer{display:flex;width:100%;max-width:700px;min-height:150px;border:1px solid var(--emw--color-primary, #307fe2);border-radius:20px;overflow:hidden;box-shadow:14px 26px 19.7px 0px var(--emw--color-gray-150, #76768B);gap:25px;padding:25px}.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:700}caret-right{color:var(--emw--color-primary, #307fe2)}.ContentRight{min-width:300px;display:flex;justify-content:center;flex-direction:column}.ExtraInfoContainer{padding:1rem 0;color:var(--emfe-w-color-red, #ed0909)}.UsefulLinksSection{padding-top:5px}.UsefulLinksSection a{color:var(--emw--color-primary, #307fe2);text-decoration:underline}.WidgetControls{display:flex;width:100%;justify-content:end;gap:20px}.ControlContainer label{display:block;width:100%;font-size:12px;font-weight:bold;margin-bottom:5px}.Gauge{width:100%;font-family:"Roboto", sans-serif;color:black;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:25px;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:large;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:#f5f5f5;border-radius:13px;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:700;text-align:center;width:70px;color:var(--emw--color-gray-150, #76768B)}.TotalAmount{font-size: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:24px}.TotalAmount::-webkit-scrollbar{display:none}.ProductsDropdown{display:none;position:absolute;background-color:#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}.ProductsDropdown button{background-color:transparent;border:none;outline:none;cursor:pointer;padding:10px;width:100%;text-align:left;font-weight:700}.ProductsDropdown button:hover{background-color:var(--emw--color-primary, #307fe2);color:#fff}.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}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},rn,nn,a,{session:29,sessiontype:0,userid:30,endpoint:31,transdetailsurl:1,transactionspageurl:2,clientstyling:3,clientstylingurl:4,lang:32,translationurl:33,datetimeformat:34},null,[-1,-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),x()))}static get observedAttributes(){return["session","sessiontype","userid","endpoint","transdetailsurl","transactionspageurl","clientstyling","clientstylingurl","lang","translationurl","datetimeformat"]}get session(){return this.$$.ctx[29]}set session(e){this.$$set({session:e}),x()}get sessiontype(){return this.$$.ctx[0]}set sessiontype(e){this.$$set({sessiontype:e}),x()}get userid(){return this.$$.ctx[30]}set userid(e){this.$$set({userid:e}),x()}get endpoint(){return this.$$.ctx[31]}set endpoint(e){this.$$set({endpoint:e}),x()}get transdetailsurl(){return this.$$.ctx[1]}set transdetailsurl(e){this.$$set({transdetailsurl:e}),x()}get transactionspageurl(){return this.$$.ctx[2]}set transactionspageurl(e){this.$$set({transactionspageurl:e}),x()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),x()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),x()}get lang(){return this.$$.ctx[32]}set lang(e){this.$$set({lang:e}),x()}get translationurl(){return this.$$.ctx[33]}set translationurl(e){this.$$set({translationurl:e}),x()}get datetimeformat(){return this.$$.ctx[34]}set datetimeformat(e){this.$$set({datetimeformat:e}),x()}}return!customElements.get("player-rglimits")&&customElements.define("player-rglimits",an),an}));
|
|
1258
1258
|
//# sourceMappingURL=player-rglimits.js.map
|