@everymatrix/player-rglimits 1.29.6 → 1.29.7
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/dist/player-rglimits.js +126 -125
- package/dist/player-rglimits.js.map +1 -1
- package/package.json +2 -2
- package/src/PlayerRglimits.svelte +10 -13
- package/src/translations.js +468 -522
package/dist/player-rglimits.js
CHANGED
|
@@ -48,22 +48,22 @@ for(let e=0;e<A.length;e+=1){const t=A[e];R.has(t)||(
|
|
|
48
48
|
R.add(t),t())}A.length=0}while(D.length);for(;H.length;)H.pop()();O=!1,R.clear(),k(e)}function U(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(x)}}
|
|
49
49
|
/**
|
|
50
50
|
* Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
|
|
51
|
-
*/const
|
|
51
|
+
*/const Y=new Set;function I(e,t){const i=e.$$;null!==i.fragment&&(!function(e){const t=[],i=[];A.forEach((n=>-1===e.indexOf(n)?t.push(n):i.push(n))),i.forEach((e=>e())),A=t}(i.after_update),n(i.on_destroy),i.fragment&&i.fragment.d(t),
|
|
52
52
|
// TODO null out other refs, including component.$$ (but need to
|
|
53
53
|
// preserve final state?)
|
|
54
|
-
i.on_destroy=i.fragment=null,i.ctx=[])}function
|
|
54
|
+
i.on_destroy=i.fragment=null,i.ctx=[])}function G(e,t){-1===e.$$.dirty[0]&&(D.push(e),O||(O=!0,C.then(B)),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;k(a);const g=a.$$={fragment:null,ctx:[],
|
|
55
55
|
// state
|
|
56
56
|
props:d,update:e,not_equal:c,bound:i(),
|
|
57
57
|
// lifecycle
|
|
58
58
|
on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(p?p.$$.context:[])),
|
|
59
59
|
// everything else
|
|
60
|
-
callbacks:i(),dirty:f,skip_bound:!1,root:s.target||p.$$.root};m&&m(g.root);let y=!1;if(g.ctx=l?l(a,s.props||{},((e,t,...i)=>{const n=i.length?i[0]:t;return g.ctx&&c(g.ctx[e],g.ctx[e]=n)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](n),y&&
|
|
60
|
+
callbacks:i(),dirty:f,skip_bound:!1,root:s.target||p.$$.root};m&&m(g.root);let y=!1;if(g.ctx=l?l(a,s.props||{},((e,t,...i)=>{const n=i.length?i[0]:t;return g.ctx&&c(g.ctx[e],g.ctx[e]=n)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](n),y&&G(a,e)),t})):[],g.update(),y=!0,n(g.before_update),
|
|
61
61
|
// `false` as a special case of no DOM component
|
|
62
62
|
g.fragment=!!u&&u(g.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
|
|
63
63
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
64
64
|
g.fragment&&g.fragment.l(e),e.forEach(h)}else
|
|
65
65
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
66
|
-
g.fragment&&g.fragment.c();s.intro&&((b=a.$$.fragment)&&b.i&&(
|
|
66
|
+
g.fragment&&g.fragment.c();s.intro&&((b=a.$$.fragment)&&b.i&&(Y.delete(b),b.i(v))),function(e,i,a,s){const{fragment:o,after_update:l}=e.$$;o&&o.m(i,a),s||
|
|
67
67
|
// onMount happens before the initial afterUpdate
|
|
68
68
|
x((()=>{const i=e.$$.on_mount.map(t).filter(r);
|
|
69
69
|
// if the component was destroyed immediately
|
|
@@ -76,7 +76,7 @@ n(i),e.$$.on_mount=[]})),l.forEach(x)}(a,s.target,s.anchor,s.customElement),B()}
|
|
|
76
76
|
// @ts-ignore todo: improve typings
|
|
77
77
|
for(const e in this.$$.slotted)
|
|
78
78
|
// @ts-ignore todo: improve typings
|
|
79
|
-
this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){
|
|
79
|
+
this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){I(this,1),this.$destroy=e}$on(t,i){
|
|
80
80
|
// TODO should this delegate to addEventListener?
|
|
81
81
|
if(!r(i))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(i),()=>{const e=n.indexOf(i);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function F(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var z=function(e,t,i){return e(i={path:t,exports:{},require:function(e,t){return F(null==t&&i.path)}},i.exports),i.exports}((function(e,t){e.exports=function(){var t,i;function n(){return t.apply(null,arguments)}
|
|
82
82
|
// This is done to register the method called with moment()
|
|
@@ -100,14 +100,14 @@ function w(e){L(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isV
|
|
|
100
100
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
|
101
101
|
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])&&(
|
|
102
102
|
// make sure changes to properties don't modify parent config
|
|
103
|
-
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 x(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 N=/(\[[^\[]*\])|(\\)?([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={},
|
|
103
|
+
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 x(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 N=/(\[[^\[]*\])|(\\)?([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={};
|
|
104
104
|
// token: 'M'
|
|
105
105
|
// padded: ['MM', 2]
|
|
106
106
|
// ordinal: 'Mo'
|
|
107
107
|
// callback: function () { this.month() + 1 }
|
|
108
|
-
function
|
|
108
|
+
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 G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function j(e){var t,i,n=e.match(N);for(t=0,i=n.length;t<i;t++)Y[n[t]]?n[t]=Y[n[t]]:n[t]=G(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}}
|
|
109
109
|
// format date using native date object
|
|
110
|
-
function $(e,t){return e.isValid()?(t=z(t,e.localeData()),U[t]=U[t]||
|
|
110
|
+
function $(e,t){return e.isValid()?(t=z(t,e.localeData()),U[t]=U[t]||j(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(N).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 q(){return this._invalidDate}var X="%d",K=/\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))}
|
|
111
111
|
// MOMENTS
|
|
112
112
|
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
|
|
113
113
|
ve=/\d\d/,// 00 - 99
|
|
@@ -129,17 +129,17 @@ Oe=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
|
|
|
129
129
|
// includes scottish gaelic two word and hyphenated months
|
|
130
130
|
xe=/[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 Ne(e,t){return o(ye,e)?ye[e](t._strict,t._locale):new RegExp(Be(e))}
|
|
131
131
|
// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
|
|
132
|
-
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
|
|
132
|
+
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 Ge(e,t){Ie(e,(function(e,i,n,r){n._w=n._w||{},t(e,n._w,n,r)}))}function je(e,t,i){null!=t&&o(Ye,e)&&Ye[e](t,i._a,i,e)}var $e,Fe=0,ze=1,Ve=2,We=3,Ze=4,qe=5,Xe=6,Ke=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}
|
|
133
133
|
// FORMATTING
|
|
134
134
|
$e=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
|
|
135
135
|
// I know
|
|
136
|
-
var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},
|
|
136
|
+
var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},I("M",["MM",2],"Mo",(function(){return this.month()+1})),I("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),I("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),
|
|
137
137
|
// ALIASES
|
|
138
138
|
ne("month","M"),
|
|
139
139
|
// PRIORITY
|
|
140
140
|
oe("month",8),
|
|
141
141
|
// PARSING
|
|
142
|
-
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)})),
|
|
142
|
+
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);
|
|
143
143
|
// if we didn't find a month name, mark the date as invalid.
|
|
144
144
|
null!=r?t[ze]=r:g(i).invalidMonth=e}));
|
|
145
145
|
// LOCALES
|
|
@@ -169,13 +169,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
|
|
|
169
169
|
// HELPERS
|
|
170
170
|
function gt(e){return ue(e)?366:365}
|
|
171
171
|
// HOOKS
|
|
172
|
-
|
|
172
|
+
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"),
|
|
173
173
|
// ALIASES
|
|
174
174
|
ne("year","y"),
|
|
175
175
|
// PRIORITIES
|
|
176
176
|
oe("year",1),
|
|
177
177
|
// PARSING
|
|
178
|
-
Re("Y",Ae),Re("YY",Ee,ve),Re("YYYY",Me,Le),Re("YYYYY",De,we),Re("YYYYYY",De,we),
|
|
178
|
+
Re("Y",Ae),Re("YY",Ee,ve),Re("YYYY",Me,Le),Re("YYYYY",De,we),Re("YYYYYY",De,we),Ie(["YYYYY","YYYYYY"],Fe),Ie("YYYY",(function(e,t){t[Fe]=2===e.length?n.parseTwoDigitYear(e):he(e)})),Ie("YY",(function(e,t){t[Fe]=n.parseTwoDigitYear(e)})),Ie("Y",(function(e,t){t[Fe]=parseInt(e,10)})),n.parseTwoDigitYear=function(e){return he(e)+(he(e)>68?1900:2e3)};
|
|
179
179
|
// MOMENTS
|
|
180
180
|
var yt=de("FullYear",!0);function bt(){return ue(this.year())}function vt(e,t,i,n,r,a,s){
|
|
181
181
|
// can't just apply() to create a date:
|
|
@@ -197,13 +197,13 @@ 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(
|
|
|
197
197
|
// FORMATTING
|
|
198
198
|
// HELPERS
|
|
199
199
|
// LOCALES
|
|
200
|
-
function St(e){return Et(e,this._week.dow,this._week.doy).week}
|
|
200
|
+
function St(e){return Et(e,this._week.dow,this._week.doy).week}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),
|
|
201
201
|
// ALIASES
|
|
202
202
|
ne("week","w"),ne("isoWeek","W"),
|
|
203
203
|
// PRIORITIES
|
|
204
204
|
oe("week",5),oe("isoWeek",5),
|
|
205
205
|
// PARSING
|
|
206
|
-
Re("w",Ee),Re("ww",Ee,ve),Re("W",Ee),Re("WW",Ee,ve),
|
|
206
|
+
Re("w",Ee),Re("ww",Ee,ve),Re("W",Ee),Re("WW",Ee,ve),Ge(["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.
|
|
207
207
|
doy:6};function Mt(){return this._week.dow}function Dt(){return this._week.doy}
|
|
208
208
|
// MOMENTS
|
|
209
209
|
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")}
|
|
@@ -211,15 +211,15 @@ function Pt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e
|
|
|
211
211
|
// HELPERS
|
|
212
212
|
function Ht(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Ct(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
|
|
213
213
|
// LOCALES
|
|
214
|
-
function Ot(e,t){return e.slice(t,7).concat(e.slice(0,t))}
|
|
214
|
+
function Ot(e,t){return e.slice(t,7).concat(e.slice(0,t))}I("d",0,"do","day"),I("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),I("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),I("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),
|
|
215
215
|
// ALIASES
|
|
216
216
|
ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),
|
|
217
217
|
// PRIORITY
|
|
218
218
|
oe("day",11),oe("weekday",11),oe("isoWeekday",11),
|
|
219
219
|
// PARSING
|
|
220
|
-
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)})),
|
|
220
|
+
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)})),Ge(["dd","ddd","dddd"],(function(e,t,i,n){var r=i._locale.weekdaysParse(e,n,i._strict);
|
|
221
221
|
// if we didn't get a weekday name, mark the date as invalid
|
|
222
|
-
null!=r?t.d=r:g(i).invalidWeekday=e})),
|
|
222
|
+
null!=r?t.d=r:g(i).invalidWeekday=e})),Ge(["d","e","E"],(function(e,t,i,n){t[n]=he(e)}));var xt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bt=xe,Ut=xe,Yt=xe;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 Gt(e){return!0===e?Ot(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function jt(e){return!0===e?Ot(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function $t(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=$e.call(this._weekdaysParse,s))?r:null:"ddd"===t?-1!==(r=$e.call(this._shortWeekdaysParse,s))?r:null:-1!==(r=$e.call(this._minWeekdaysParse,s))?r:null:"dddd"===t?-1!==(r=$e.call(this._weekdaysParse,s))||-1!==(r=$e.call(this._shortWeekdaysParse,s))||-1!==(r=$e.call(this._minWeekdaysParse,s))?r:null:"ddd"===t?-1!==(r=$e.call(this._shortWeekdaysParse,s))||-1!==(r=$e.call(this._weekdaysParse,s))||-1!==(r=$e.call(this._minWeekdaysParse,s))?r:null:-1!==(r=$e.call(this._minWeekdaysParse,s))||-1!==(r=$e.call(this._weekdaysParse,s))||-1!==(r=$e.call(this._shortWeekdaysParse,s))?r:null}function Ft(e,t,i){var n,r,a;if(this._weekdaysParseExact)return $t.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){
|
|
223
223
|
// test the regex
|
|
224
224
|
if(
|
|
225
225
|
// make the regex if we don't have it already
|
|
@@ -229,25 +229,25 @@ function zt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this
|
|
|
229
229
|
// behaves the same as moment#day except
|
|
230
230
|
// as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
|
|
231
231
|
// as a setter, sunday should belong to the previous week.
|
|
232
|
-
if(null!=e){var t=Ct(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Bt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ut),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=
|
|
232
|
+
if(null!=e){var t=Ct(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Bt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ut),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,i,n,r,a,s=[],o=[],l=[],u=[];for(t=0;t<7;t++)
|
|
233
233
|
// make the regex if we don't have it already
|
|
234
234
|
i=f([2e3,1]).day(t),n=Ue(this.weekdaysMin(i,"")),r=Ue(this.weekdaysShort(i,"")),a=Ue(this.weekdays(i,"")),s.push(n),o.push(r),l.push(a),u.push(n),u.push(r),u.push(a);
|
|
235
235
|
// Sorting makes sure if one weekday (or abbr) is a prefix of another it
|
|
236
236
|
// will match the longer piece.
|
|
237
237
|
s.sort(e),o.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}
|
|
238
238
|
// FORMATTING
|
|
239
|
-
function Jt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function ei(e,t){
|
|
239
|
+
function Jt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function ei(e,t){I(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}
|
|
240
240
|
// PARSING
|
|
241
241
|
function ti(e,t){return t._meridiemParse}
|
|
242
242
|
// LOCALES
|
|
243
243
|
function ii(e){
|
|
244
244
|
// IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
|
|
245
245
|
// Using charAt should be more compatible.
|
|
246
|
-
return"p"===(e+"").toLowerCase().charAt(0)}
|
|
246
|
+
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),
|
|
247
247
|
// ALIASES
|
|
248
248
|
ne("hour","h"),
|
|
249
249
|
// PRIORITY
|
|
250
|
-
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),
|
|
250
|
+
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[qe]=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[qe]=he(e.substr(r))}));var ni=/[ap]\.?m?\.?/i,
|
|
251
251
|
// Setting the hour should keep the time, because the user explicitly
|
|
252
252
|
// specified which hour they want. So trying to maintain the same hour (in
|
|
253
253
|
// a new timezone) makes sense. Adding/subtracting hours does not follow
|
|
@@ -309,7 +309,7 @@ Mi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|J
|
|
|
309
309
|
// date from iso format
|
|
310
310
|
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])){
|
|
311
311
|
// match[2] should be 'T' or space
|
|
312
|
-
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||""),
|
|
312
|
+
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||""),Gi(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){
|
|
313
313
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
|
314
314
|
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 xi(e,t,i){if(e)return Di[e];if(t)
|
|
315
315
|
// the only allowed military tz is Z
|
|
@@ -328,7 +328,7 @@ var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.g
|
|
|
328
328
|
// the array should mirror the parameters below
|
|
329
329
|
// note: all values past the year are optional and will default to the lowest possible value.
|
|
330
330
|
// [year, month, day , hour, minute, second, millisecond]
|
|
331
|
-
function
|
|
331
|
+
function Yi(e){var t,i,n,r,a,s=[];if(!e._d){
|
|
332
332
|
// Default to current date.
|
|
333
333
|
// * if no year, month, day of month are given, default to today
|
|
334
334
|
// * if day of month is given, default month and year
|
|
@@ -336,7 +336,7 @@ function Ii(e){var t,i,n,r,a,s=[];if(!e._d){
|
|
|
336
336
|
// * if year is given, don't default anything
|
|
337
337
|
for(n=Ui(e),
|
|
338
338
|
//compute day of the year from weeks and weekdays
|
|
339
|
-
e._w&&null==e._a[Ve]&&null==e._a[ze]&&
|
|
339
|
+
e._w&&null==e._a[Ve]&&null==e._a[ze]&&Ii(e),
|
|
340
340
|
//if the day of the year is set, figure out what it is
|
|
341
341
|
null!=e._dayOfYear&&(a=Bi(e._a[Fe],n[Fe]),(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];
|
|
342
342
|
// Zero out whatever was not defaulted, including time
|
|
@@ -347,7 +347,7 @@ for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];
|
|
|
347
347
|
// with parseZone.
|
|
348
348
|
null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[We]=24),
|
|
349
349
|
// check for mismatching day of week
|
|
350
|
-
e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function
|
|
350
|
+
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,
|
|
351
351
|
// TODO: We need to take the current isoWeekYear, but that depends on
|
|
352
352
|
// how we interpret now (local, utc, fixed offset). So create
|
|
353
353
|
// a now version of current config (take local/utc/offset flags, and
|
|
@@ -363,31 +363,31 @@ r=t.e+a,(t.e<0||t.e>6)&&(l=!0)):
|
|
|
363
363
|
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[Fe]=o.year,e._dayOfYear=o.dayOfYear)}
|
|
364
364
|
// constant that refers to the ISO standard
|
|
365
365
|
// date from string and format string
|
|
366
|
-
function
|
|
366
|
+
function Gi(e){
|
|
367
367
|
// TODO: Move this to another part of the creation flow to prevent circular deps
|
|
368
368
|
if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],g(e).empty=!0;
|
|
369
369
|
// This array is used to make a Date, either with `new Date` or `Date.UTC`
|
|
370
370
|
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(N)||[]).length,t=0;t<l;t++)a=r[t],(i=(u.match(Ne(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),
|
|
371
371
|
// don't parse if it's not a known token
|
|
372
|
-
|
|
372
|
+
Y[a]?(i?g(e).empty=!1:g(e).unusedTokens.push(a),je(a,i,e)):e._strict&&!i&&g(e).unusedTokens.push(a);
|
|
373
373
|
// add remaining unparsed input length to the string
|
|
374
374
|
g(e).charsLeftOver=c-h,u.length>0&&g(e).unusedInput.push(u),
|
|
375
375
|
// clear _12h flag if hour is <= 12
|
|
376
376
|
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,
|
|
377
377
|
// handle meridiem
|
|
378
|
-
e._a[We]=
|
|
378
|
+
e._a[We]=ji(e._locale,e._a[We],e._meridiem),null!==(
|
|
379
379
|
// handle era
|
|
380
|
-
o=g(e).era)&&(e._a[Fe]=e._locale.erasConvertYear(o,e._a[Fe])),
|
|
380
|
+
o=g(e).era)&&(e._a[Fe]=e._locale.erasConvertYear(o,e._a[Fe])),Yi(e),_i(e)}else Ri(e);else Pi(e)}function ji(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?(
|
|
381
381
|
// Fallback
|
|
382
382
|
(n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}
|
|
383
383
|
// date from string and array of format strings
|
|
384
|
-
function $i(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],
|
|
384
|
+
function $i(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],Gi(t),y(t)&&(s=!0),
|
|
385
385
|
// if there is any input that was not parsed add a penalty for that format
|
|
386
386
|
a+=g(t).charsLeftOver,
|
|
387
387
|
//or tokens
|
|
388
|
-
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 Fi(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)})),
|
|
388
|
+
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 Fi(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&&(
|
|
389
389
|
// Adding is smart enough around DST
|
|
390
|
-
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)?$i(e):i?
|
|
390
|
+
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)?$i(e):i?Gi(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?Ni(e):a(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Yi(e)):s(t)?Fi(e):c(t)?
|
|
391
391
|
// from milliseconds
|
|
392
392
|
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),
|
|
393
393
|
// object construction must be done this way.
|
|
@@ -418,9 +418,9 @@ this._months=+r+3*n+12*i,this._data={},this._locale=bi(),this._bubble()}function
|
|
|
418
418
|
// compare two arrays, return the number of differences
|
|
419
419
|
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}
|
|
420
420
|
// FORMATTING
|
|
421
|
-
function hn(e,t){
|
|
421
|
+
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",""),
|
|
422
422
|
// PARSING
|
|
423
|
-
Re("Z",Ce),Re("ZZ",Ce),
|
|
423
|
+
Re("Z",Ce),Re("ZZ",Ce),Ie(["Z","ZZ"],(function(e,t,i){i._useUTC=!0,i._tzm=mn(Ce,e)}));
|
|
424
424
|
// HELPERS
|
|
425
425
|
// timezone chunker
|
|
426
426
|
// '+10:00' > ['10', '00']
|
|
@@ -468,9 +468,9 @@ function On(e,t){return function(i,n){var r;
|
|
|
468
468
|
//invert the arguments, but complain about it
|
|
469
469
|
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),xn(this,Pn(i,n),e),this}}function xn(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"),Nn=On(-1,"subtract");function Bn(e){return"string"==typeof e||e instanceof String}
|
|
470
470
|
// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
|
|
471
|
-
function Un(e){return E(e)||h(e)||Bn(e)||c(e)||
|
|
471
|
+
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 Gn(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 jn(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 $n(e,t){
|
|
472
472
|
// Support for single parameter, formats only overload to the calendar function
|
|
473
|
-
1===arguments.length&&(arguments[0]?Un(arguments[0])?(e=arguments[0],t=void 0):
|
|
473
|
+
1===arguments.length&&(arguments[0]?Un(arguments[0])?(e=arguments[0],t=void 0):Gn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
|
|
474
474
|
// We want to compare the start of today, vs this.
|
|
475
475
|
// Getting start-of-today depends on whether we're local/utc/offset or not.
|
|
476
476
|
var i=e||qi(),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,qi(i)))}function Fn(){return new w(this)}function zn(e,t){var i=E(e)?e:qi(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:qi(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:qi(e),a=E(t)?t:qi(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:qi(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 qn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Xn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kn(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
|
|
@@ -519,28 +519,28 @@ i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e]
|
|
|
519
519
|
// truncate time
|
|
520
520
|
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,
|
|
521
521
|
// truncate time
|
|
522
|
-
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 Nr(e){return o(this,"_erasNameRegex")||$r.call(this),e?this._erasNameRegex:this._erasRegex}function Br(e){return o(this,"_erasAbbrRegex")||$r.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ur(e){return o(this,"_erasNarrowRegex")||$r.call(this),e?this._erasNarrowRegex:this._erasRegex}function
|
|
522
|
+
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 Nr(e){return o(this,"_erasNameRegex")||$r.call(this),e?this._erasNameRegex:this._erasRegex}function Br(e){return o(this,"_erasAbbrRegex")||$r.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ur(e){return o(this,"_erasNarrowRegex")||$r.call(this),e?this._erasNarrowRegex:this._erasRegex}function Yr(e,t){return t.erasAbbrRegex(e)}function Ir(e,t){return t.erasNameRegex(e)}function Gr(e,t){return t.erasNarrowRegex(e)}function jr(e,t){return t._eraYearOrdinalRegex||Pe}function $r(){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")}
|
|
523
523
|
// FORMATTING
|
|
524
|
-
function Fr(e,t){
|
|
524
|
+
function Fr(e,t){I(0,[e,e.length],0,t)}
|
|
525
525
|
// MOMENTS
|
|
526
526
|
function zr(e){return Kr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vr(e){return Kr.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 qr(){var e=this.localeData()._week;return Tt(this.year(),e.dow,e.doy)}function Xr(){var e=this.localeData()._week;return Tt(this.weekYear(),e.dow,e.doy)}function Kr(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}
|
|
527
527
|
// FORMATTING
|
|
528
528
|
// MOMENTS
|
|
529
529
|
function Qr(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
|
|
530
530
|
// FORMATTING
|
|
531
|
-
|
|
531
|
+
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",Gr),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",jr),Ie(["y","yy","yyy","yyyy"],Fe),Ie(["yo"],(function(e,t,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[Fe]=i._locale.eraYearOrdinalParse(e,r):t[Fe]=parseInt(e,10)})),I(0,["gg",2],0,(function(){return this.weekYear()%100})),I(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Fr("gggg","weekYear"),Fr("ggggg","weekYear"),Fr("GGGG","isoWeekYear"),Fr("GGGGG","isoWeekYear"),
|
|
532
532
|
// ALIASES
|
|
533
533
|
ne("weekYear","gg"),ne("isoWeekYear","GG"),
|
|
534
534
|
// PRIORITY
|
|
535
535
|
oe("weekYear",1),oe("isoWeekYear",1),
|
|
536
536
|
// PARSING
|
|
537
|
-
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),
|
|
537
|
+
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),Ge(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,i,n){t[n.substr(0,2)]=he(e)})),Ge(["gg","GG"],(function(e,t,i,r){t[r]=n.parseTwoDigitYear(e)})),I("Q",0,"Qo","quarter"),
|
|
538
538
|
// ALIASES
|
|
539
539
|
ne("quarter","Q"),
|
|
540
540
|
// PRIORITY
|
|
541
541
|
oe("quarter",7),
|
|
542
542
|
// PARSING
|
|
543
|
-
Re("Q",be),
|
|
543
|
+
Re("Q",be),Ie("Q",(function(e,t){t[ze]=3*(he(e)-1)})),I("D",["DD",2],"Do","date"),
|
|
544
544
|
// ALIASES
|
|
545
545
|
ne("date","D"),
|
|
546
546
|
// PRIORITY
|
|
@@ -548,7 +548,7 @@ oe("date",9),
|
|
|
548
548
|
// PARSING
|
|
549
549
|
Re("D",Ee),Re("DD",Ee,ve),Re("Do",(function(e,t){
|
|
550
550
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
|
551
|
-
return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),
|
|
551
|
+
return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ie(["D","DD"],Ve),Ie("Do",(function(e,t){t[Ve]=he(e.match(Ee)[0])}));
|
|
552
552
|
// MOMENTS
|
|
553
553
|
var ea=de("Date",!0);
|
|
554
554
|
// FORMATTING
|
|
@@ -556,43 +556,43 @@ var ea=de("Date",!0);
|
|
|
556
556
|
// MOMENTS
|
|
557
557
|
function ta(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}
|
|
558
558
|
// FORMATTING
|
|
559
|
-
|
|
559
|
+
I("DDD",["DDDD",3],"DDDo","dayOfYear"),
|
|
560
560
|
// ALIASES
|
|
561
561
|
ne("dayOfYear","DDD"),
|
|
562
562
|
// PRIORITY
|
|
563
563
|
oe("dayOfYear",4),
|
|
564
564
|
// PARSING
|
|
565
|
-
Re("DDD",ke),Re("DDDD",_e),
|
|
565
|
+
Re("DDD",ke),Re("DDDD",_e),Ie(["DDD","DDDD"],(function(e,t,i){i._dayOfYear=he(e)})),I("m",["mm",2],0,"minute"),
|
|
566
566
|
// ALIASES
|
|
567
567
|
ne("minute","m"),
|
|
568
568
|
// PRIORITY
|
|
569
569
|
oe("minute",14),
|
|
570
570
|
// PARSING
|
|
571
|
-
Re("m",Ee),Re("mm",Ee,ve),
|
|
571
|
+
Re("m",Ee),Re("mm",Ee,ve),Ie(["m","mm"],Ze);
|
|
572
572
|
// MOMENTS
|
|
573
573
|
var ia=de("Minutes",!1);
|
|
574
574
|
// FORMATTING
|
|
575
|
-
|
|
575
|
+
I("s",["ss",2],0,"second"),
|
|
576
576
|
// ALIASES
|
|
577
577
|
ne("second","s"),
|
|
578
578
|
// PRIORITY
|
|
579
579
|
oe("second",15),
|
|
580
580
|
// PARSING
|
|
581
|
-
Re("s",Ee),Re("ss",Ee,ve),
|
|
581
|
+
Re("s",Ee),Re("ss",Ee,ve),Ie(["s","ss"],qe);
|
|
582
582
|
// MOMENTS
|
|
583
583
|
var na,ra,aa=de("Seconds",!1);
|
|
584
584
|
// FORMATTING
|
|
585
|
-
for(
|
|
585
|
+
for(I("S",0,0,(function(){return~~(this.millisecond()/100)})),I(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),I(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),I(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),I(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),I(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),I(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),
|
|
586
586
|
// ALIASES
|
|
587
587
|
ne("millisecond","ms"),
|
|
588
588
|
// PRIORITY
|
|
589
589
|
oe("millisecond",16),
|
|
590
590
|
// PARSING
|
|
591
|
-
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[Xe]=he(1e3*("0."+e))}for(na="S";na.length<=9;na+="S")
|
|
591
|
+
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[Xe]=he(1e3*("0."+e))}for(na="S";na.length<=9;na+="S")Ie(na,sa);
|
|
592
592
|
// MOMENTS
|
|
593
593
|
function oa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ra=de("Milliseconds",!1),
|
|
594
594
|
// FORMATTING
|
|
595
|
-
|
|
595
|
+
I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var ua=w.prototype;function ca(e){return qi(1e3*e)}function ha(){return qi.apply(null,arguments).parseZone()}function da(e){return e}ua.add=Rn,ua.calendar=$n,ua.clone=Fn,ua.diff=Kn,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=qn,ua.isSameOrBefore=Xn,ua.isValid=Sr,ua.lang=lr,ua.locale=or,ua.localeData=ur,ua.max=Ki,ua.min=Xi,ua.parsingFlags=kr,ua.set=ge,ua.startOf=yr,ua.subtract=Nn,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=xr,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=qr,ua.weeksInWeekYear=Xr,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}
|
|
596
596
|
// ()
|
|
597
597
|
// (5)
|
|
598
598
|
// (fmt, 5)
|
|
@@ -601,7 +601,7 @@ Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var ua=w.prototype;function ca(e){r
|
|
|
601
601
|
// (true, 5)
|
|
602
602
|
// (true, fmt, 5)
|
|
603
603
|
// (true, fmt)
|
|
604
|
-
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=x,ma.longDateFormat=W,ma.invalidDate=q,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=Nr,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=
|
|
604
|
+
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=x,ma.longDateFormat=W,ma.invalidDate=q,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=Nr,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=jt,ma.weekdaysShort=Gt,ma.weekdaysParse=Ft,ma.weekdaysRegex=Zt,ma.weekdaysShortRegex=qt,ma.weekdaysMinRegex=Xt,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")}}),
|
|
605
605
|
// Side effect imports
|
|
606
606
|
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()}
|
|
607
607
|
// supports only 2.0-style add(1, 's') or add(duration)
|
|
@@ -628,7 +628,7 @@ t=this._days+Math.round(Aa(this._months)),e){case"week":return t/7+n/6048e5;case
|
|
|
628
628
|
// Math.floor prevents floating point math errors here
|
|
629
629
|
case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}
|
|
630
630
|
// TODO: Use this.as('ms')?
|
|
631
|
-
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 xa=Oa("ms"),Ra=Oa("s"),Na=Oa("m"),Ba=Oa("h"),Ua=Oa("d"),
|
|
631
|
+
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 xa=Oa("ms"),Ra=Oa("s"),Na=Oa("m"),Ba=Oa("h"),Ua=Oa("d"),Ya=Oa("w"),Ia=Oa("M"),Ga=Oa("Q"),ja=Oa("y");function $a(){return Pn(this)}function Fa(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"),qa=za("hours"),Xa=za("days"),Ka=za("months"),Ja=za("years");function Qa(){return ce(this.days()/7)}var es=Math.round,ts={ss:44,// a few seconds to seconds
|
|
632
632
|
s:45,// seconds to minute
|
|
633
633
|
m:45,// minutes to hour
|
|
634
634
|
h:22,// hours to day
|
|
@@ -654,13 +654,13 @@ e=ce(l/60),t=ce(e/60),l%=60,e%=60,
|
|
|
654
654
|
// 12 months -> 1 year
|
|
655
655
|
i=ce(c/12),c%=12,
|
|
656
656
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
|
657
|
-
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=xa,cs.asSeconds=Ra,cs.asMinutes=Na,cs.asHours=Ba,cs.asDays=Ua,cs.asWeeks=
|
|
657
|
+
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=xa,cs.asSeconds=Ra,cs.asMinutes=Na,cs.asHours=Ba,cs.asDays=Ua,cs.asWeeks=Ya,cs.asMonths=Ia,cs.asQuarters=Ga,cs.asYears=ja,cs.valueOf=Ca,cs._bubble=Da,cs.clone=$a,cs.get=Fa,cs.milliseconds=Va,cs.seconds=Wa,cs.minutes=Za,cs.hours=qa,cs.days=Xa,cs.weeks=Qa,cs.months=Ka,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,
|
|
658
658
|
// FORMATTING
|
|
659
|
-
|
|
659
|
+
I("X",0,0,"unix"),I("x",0,0,"valueOf"),
|
|
660
660
|
// PARSING
|
|
661
|
-
Re("x",Ae),Re("X",Oe),
|
|
661
|
+
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))})),
|
|
662
662
|
//! moment.js
|
|
663
|
-
n.version="2.29.4",r(qi),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=
|
|
663
|
+
n.version="2.29.4",r(qi),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=jn,n.prototype=ua,
|
|
664
664
|
// currently HTML5 input type only supports 24-hour formats
|
|
665
665
|
n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",// <input type="datetime-local" />
|
|
666
666
|
DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",// <input type="datetime-local" step="1" />
|
|
@@ -890,19 +890,19 @@ e.hourCycles.length&&(
|
|
|
890
890
|
// @ts-ignore
|
|
891
891
|
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")}
|
|
892
892
|
// TODO: Once hourCycle is fully supported remove the following with data generation
|
|
893
|
-
var i,n=e.language;return"root"!==n&&(i=e.maximize().region),(Ne[i||""]||Ne[n||""]||Ne["".concat(n,"-001")]||Ne["001"])[0]}var Ue=new RegExp("^".concat(we.source,"*")),
|
|
893
|
+
var i,n=e.language;return"root"!==n&&(i=e.maximize().region),(Ne[i||""]||Ne[n||""]||Ne["".concat(n,"-001")]||Ne["001"])[0]}var Ue=new RegExp("^".concat(we.source,"*")),Ye=new RegExp("".concat(we.source,"*$"));function Ie(e,t){return{start:e,end:t}}
|
|
894
894
|
// #region Ponyfills
|
|
895
895
|
// Consolidate these variables up top for easier toggling during debugging
|
|
896
|
-
var
|
|
896
|
+
var Ge=!!String.prototype.startsWith,je=!!String.fromCodePoint,$e=!!Object.fromEntries,Fe=!!String.prototype.codePointAt,ze=!!String.prototype.trimStart,Ve=!!String.prototype.trimEnd,We=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ze=!0;try{
|
|
897
897
|
/**
|
|
898
898
|
* legacy Edge or Xbox One browser
|
|
899
899
|
* Unicode flag support: supported
|
|
900
900
|
* Pattern_Syntax support: not supported
|
|
901
901
|
* See https://github.com/formatjs/formatjs/issues/2822
|
|
902
902
|
*/
|
|
903
|
-
Ze="a"===(null===(Re=it("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Re?void 0:Re[0])}catch(e){Ze=!1}var qe,Xe=
|
|
903
|
+
Ze="a"===(null===(Re=it("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Re?void 0:Re[0])}catch(e){Ze=!1}var qe,Xe=Ge?// Native
|
|
904
904
|
function(e,t,i){return e.startsWith(t,i)}:// For IE11
|
|
905
|
-
function(e,t,i){return e.slice(i,i+t.length)===t},Ke=
|
|
905
|
+
function(e,t,i){return e.slice(i,i+t.length)===t},Ke=je?String.fromCodePoint:// IE11
|
|
906
906
|
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},Je=
|
|
907
907
|
// native
|
|
908
908
|
$e?Object.fromEntries:// Ponyfill
|
|
@@ -912,7 +912,7 @@ function(e,t){var i=e.length;if(!(t<0||t>=i)){var n,r=e.charCodeAt(t);return r<5
|
|
|
912
912
|
function(e){return e.trimStart()}:// Ponyfill
|
|
913
913
|
function(e){return e.replace(Ue,"")},tt=Ve?// Native
|
|
914
914
|
function(e){return e.trimEnd()}:// Ponyfill
|
|
915
|
-
function(e){return e.replace(
|
|
915
|
+
function(e){return e.replace(Ye,"")};
|
|
916
916
|
// Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
|
|
917
917
|
function it(e,t){return new RegExp(e,t)}
|
|
918
918
|
// #endregion
|
|
@@ -920,7 +920,7 @@ if(Ze){
|
|
|
920
920
|
// Native
|
|
921
921
|
var nt=it("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");qe=function(e,t){var i;return nt.lastIndex=t,null!==(i=nt.exec(e)[1])&&void 0!==i?i:""}}else
|
|
922
922
|
// IE11
|
|
923
|
-
qe=function(e,t){for(var i=[];;){var n=Qe(e,t);if(void 0===n||st(n)||ot(n))break;i.push(n),t+=n>=65536?2:1}return Ke.apply(void 0,i)};var rt=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r=this.char();if(123/* `{` */===r){if((a=this.parseArgument(e,i)).err)return a;n.push(a.val)}else{if(125/* `}` */===r&&e>0)break;if(35/* `#` */!==r||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===r&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(se.UNMATCHED_CLOSING_TAG,
|
|
923
|
+
qe=function(e,t){for(var i=[];;){var n=Qe(e,t);if(void 0===n||st(n)||ot(n))break;i.push(n),t+=n>=65536?2:1}return Ke.apply(void 0,i)};var rt=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r=this.char();if(123/* `{` */===r){if((a=this.parseArgument(e,i)).err)return a;n.push(a.val)}else{if(125/* `}` */===r&&e>0)break;if(35/* `#` */!==r||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===r&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(se.UNMATCHED_CLOSING_TAG,Ie(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===r&&!this.ignoreTag&&at(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;n.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;n.push(a.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:oe.pound,location:Ie(s,this.clonePosition())})}}}return{val:n,err:null}},
|
|
924
924
|
/**
|
|
925
925
|
* A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
|
|
926
926
|
* [custom element name][] except that a dash is NOT always mandatory and uppercase letters
|
|
@@ -942,14 +942,14 @@ qe=function(e,t){for(var i=[];;){var n=Qe(e,t);if(void 0===n||st(n)||ot(n))break
|
|
|
942
942
|
e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();// `<`
|
|
943
943
|
var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
|
|
944
944
|
// Self closing tag
|
|
945
|
-
return{val:{type:oe.literal,value:"<".concat(n,"/>"),location:
|
|
945
|
+
return{val:{type:oe.literal,value:"<".concat(n,"/>"),location:Ie(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var a=r.val,s=this.clonePosition();
|
|
946
946
|
// Expecting a close tag
|
|
947
|
-
if(this.bumpIf("</")){if(this.isEOF()||!at(this.char()))return this.error(se.INVALID_TAG,
|
|
947
|
+
if(this.bumpIf("</")){if(this.isEOF()||!at(this.char()))return this.error(se.INVALID_TAG,Ie(s,this.clonePosition()));var o=this.clonePosition();return n!==this.parseTagName()?this.error(se.UNMATCHED_CLOSING_TAG,Ie(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:oe.tag,value:n,children:a,location:Ie(i,this.clonePosition())},err:null}:this.error(se.INVALID_TAG,Ie(s,this.clonePosition())))}return this.error(se.UNCLOSED_TAG,Ie(i,this.clonePosition()))}return this.error(se.INVALID_TAG,Ie(i,this.clonePosition()))},
|
|
948
948
|
/**
|
|
949
949
|
* This method assumes that the caller has peeked ahead for the first tag character.
|
|
950
950
|
*/
|
|
951
951
|
e.prototype.parseTagName=function(){var e,t=this.offset();// the first tag name character
|
|
952
|
-
for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r)n+=r;else{var a=this.tryParseUnquoted(e,t);if(a)n+=a;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var o=
|
|
952
|
+
for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r)n+=r;else{var a=this.tryParseUnquoted(e,t);if(a)n+=a;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var o=Ie(i,this.clonePosition());return{val:{type:oe.literal,value:n,location:o},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(at(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
|
|
953
953
|
/** See `parseTag` function docs. */},
|
|
954
954
|
/**
|
|
955
955
|
* Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
|
|
@@ -972,32 +972,32 @@ for(this.bump();!this.isEOF();){var i=this.char();if(39/* `'` */===i){if(39/* `'
|
|
|
972
972
|
this.bump();break}t.push(39),
|
|
973
973
|
// Bump one more time because we need to skip 2 characters.
|
|
974
974
|
this.bump()}else t.push(i);this.bump()}return Ke.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60/* `<` */===i||123/* `{` */===i||35/* `#` */===i&&("plural"===t||"selectordinal"===t)||125/* `}` */===i&&e>0?null:(this.bump(),Ke(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),// `{`
|
|
975
|
-
this.bumpSpace(),this.isEOF())return this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
975
|
+
this.bumpSpace(),this.isEOF())return this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,Ie(i,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(se.EMPTY_ARGUMENT,Ie(i,this.clonePosition()));
|
|
976
976
|
// argument name
|
|
977
|
-
var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(se.MALFORMED_ARGUMENT,
|
|
977
|
+
var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(se.MALFORMED_ARGUMENT,Ie(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,Ie(i,this.clonePosition()));switch(this.char()){
|
|
978
978
|
// Simple argument: `{name}`
|
|
979
979
|
case 125/* `}` */:// `}`
|
|
980
980
|
return this.bump(),{val:{type:oe.argument,
|
|
981
981
|
// value does not include the opening and closing braces.
|
|
982
|
-
value:n,location:
|
|
982
|
+
value:n,location:Ie(i,this.clonePosition())},err:null};
|
|
983
983
|
// Argument with options: `{name, format, ...}`
|
|
984
984
|
case 44/* `,` */:return this.bump(),// `,`
|
|
985
|
-
this.bumpSpace(),this.isEOF()?this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
985
|
+
this.bumpSpace(),this.isEOF()?this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,Ie(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(se.MALFORMED_ARGUMENT,Ie(i,this.clonePosition()))}},
|
|
986
986
|
/**
|
|
987
987
|
* Advance the parser until the end of the identifier, if it is currently on
|
|
988
988
|
* an identifier character. Return an empty string otherwise.
|
|
989
989
|
*/
|
|
990
|
-
e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=qe(this.message,t),n=t+i.length;return this.bumpTo(n),{value:i,location:
|
|
990
|
+
e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=qe(this.message,t),n=t+i.length;return this.bumpTo(n),{value:i,location:Ie(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,n){var r,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();
|
|
991
991
|
// Parse this range:
|
|
992
992
|
// {name, type, style}
|
|
993
993
|
// ^---^
|
|
994
994
|
switch(s){case"":
|
|
995
995
|
// Expecting a style string number, date, time, plural, selectordinal, or select.
|
|
996
|
-
return this.error(se.EXPECT_ARGUMENT_TYPE,
|
|
996
|
+
return this.error(se.EXPECT_ARGUMENT_TYPE,Ie(a,o));case"number":case"date":case"time":
|
|
997
997
|
// Parse this range:
|
|
998
998
|
// {name, number, style}
|
|
999
999
|
// ^-------^
|
|
1000
|
-
this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=tt(y.val)).length)return this.error(se.EXPECT_ARGUMENT_STYLE,
|
|
1000
|
+
this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=tt(y.val)).length)return this.error(se.EXPECT_ARGUMENT_STYLE,Ie(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Ie(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var c=Ie(n,this.clonePosition());
|
|
1001
1001
|
// Extract style or skeleton
|
|
1002
1002
|
if(l&&Xe(null==l?void 0:l.style,"::",0)){
|
|
1003
1003
|
// Skeleton starts with `::`.
|
|
@@ -1011,25 +1011,25 @@ return{val:{type:"number"===s?oe.number:"date"===s?oe.date:oe.time,value:i,locat
|
|
|
1011
1011
|
// Parse this range:
|
|
1012
1012
|
// {name, plural, options}
|
|
1013
1013
|
// ^---------^
|
|
1014
|
-
var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(se.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
1014
|
+
var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(se.EXPECT_SELECT_ARGUMENT_OPTIONS,Ie(f,ue({},f)));this.bumpSpace();
|
|
1015
1015
|
// Parse offset:
|
|
1016
1016
|
// {name, plural, offset:1, options}
|
|
1017
1017
|
// ^-----^
|
|
1018
1018
|
// or the first option:
|
|
1019
1019
|
// {name, plural, one {...} other {...}}
|
|
1020
1020
|
// ^--^
|
|
1021
|
-
var p=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(se.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
1021
|
+
var p=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(se.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ie(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(se.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,se.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
|
|
1022
1022
|
// Parse another identifier for option parsing
|
|
1023
|
-
this.bumpSpace(),p=this.parseIdentifierIfPossible(),g=y.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,p);if(v.err)return v;if((b=this.tryParseArgumentClose(n)).err)return b;var _=
|
|
1023
|
+
this.bumpSpace(),p=this.parseIdentifierIfPossible(),g=y.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,p);if(v.err)return v;if((b=this.tryParseArgumentClose(n)).err)return b;var _=Ie(n,this.clonePosition());return"select"===s?{val:{type:oe.select,value:i,options:Je(v.val),location:_},err:null}:{val:{type:oe.plural,value:i,options:Je(v.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:_},err:null};default:return this.error(se.INVALID_ARGUMENT_TYPE,Ie(a,o))}},e.prototype.tryParseArgumentClose=function(e){
|
|
1024
1024
|
// Parse: {value, number, ::currency/GBP }
|
|
1025
|
-
return this.isEOF()||125/* `}` */!==this.char()?this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
1025
|
+
return this.isEOF()||125/* `}` */!==this.char()?this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,Ie(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
|
|
1026
1026
|
/**
|
|
1027
1027
|
* See: https://github.com/unicode-org/icu/blob/af7ed1f6d2298013dc303628438ec4abe1f16479/icu4c/source/common/messagepattern.cpp#L659
|
|
1028
1028
|
*/
|
|
1029
1029
|
e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39/* `'` */:
|
|
1030
1030
|
// Treat apostrophe as quoting but include it in the style part.
|
|
1031
1031
|
// Find the end of the quoted literal text.
|
|
1032
|
-
this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(se.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
1032
|
+
this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(se.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Ie(i,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
|
|
1033
1033
|
// Parse the skeleton
|
|
1034
1034
|
for(var t=[],i=0,n=e.split(Se).filter((function(e){return e.length>0}));i<n.length;i++){var r=n[i].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var a=r[0],s=r.slice(1),o=0,l=s;o<l.length;o++)if(0===l[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:s})}return t}(e)}catch(e){return this.error(se.INVALID_NUMBER_SKELETON,t)}return{val:{type:le.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?xe(i):{}},err:null}},
|
|
1035
1035
|
/**
|
|
@@ -1048,17 +1048,17 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,n){
|
|
|
1048
1048
|
// ^--^
|
|
1049
1049
|
for(var r,a=!1,s=[],o=new Set,l=n.value,u=n.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
|
|
1050
1050
|
// Try parse `={number}` selector
|
|
1051
|
-
var h=this.tryParseDecimalInteger(se.EXPECT_PLURAL_ARGUMENT_SELECTOR,se.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=
|
|
1051
|
+
var h=this.tryParseDecimalInteger(se.EXPECT_PLURAL_ARGUMENT_SELECTOR,se.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Ie(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}
|
|
1052
1052
|
// Duplicate selector clauses
|
|
1053
1053
|
if(o.has(l))return this.error("select"===t?se.DUPLICATE_SELECT_ARGUMENT_SELECTOR:se.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(a=!0),
|
|
1054
1054
|
// Parse:
|
|
1055
1055
|
// one {one apple}
|
|
1056
1056
|
// ^----------^
|
|
1057
|
-
this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?se.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:se.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
1057
|
+
this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?se.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:se.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Ie(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,i);if(m.err)return m;var f=this.tryParseArgumentClose(d);if(f.err)return f;s.push([l,{value:m.val,location:Ie(d,this.clonePosition())}]),
|
|
1058
1058
|
// Keep track of the existing selectors
|
|
1059
1059
|
o.add(l),
|
|
1060
1060
|
// Prep next selector clause.
|
|
1061
|
-
this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===s.length?this.error("select"===t?se.EXPECT_SELECT_ARGUMENT_SELECTOR:se.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
1061
|
+
this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===s.length?this.error("select"===t?se.EXPECT_SELECT_ARGUMENT_SELECTOR:se.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ie(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(se.MISSING_OTHER_CLAUSE,Ie(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=Ie(n,this.clonePosition());return r?We(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(){
|
|
1062
1062
|
// This is much faster than `Object.assign` or spread.
|
|
1063
1063
|
return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
|
|
1064
1064
|
/**
|
|
@@ -1170,81 +1170,81 @@ this.formats=Mt(e.formats,n),this.formatters=r&&r.formatters||(void 0===(a=this.
|
|
|
1170
1170
|
// Default format options used as the prototype of the `formats` provided to the
|
|
1171
1171
|
// constructor. These are used when constructing the internal Intl.NumberFormat
|
|
1172
1172
|
// and Intl.DateTimeFormat instances.
|
|
1173
|
-
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 At={},Ht=(e,t,i)=>i?(t in At||(At[t]={}),e in At[t]||(At[t][e]=i),i):i,Ct=(e,t)=>{if(null==t)return;if(t in At&&e in At[t])return At[t][e];const i=ni(t);for(let n=0;n<i.length;n++){const r=Nt(i[n],e);if(r)return Ht(e,t,r)}};let Ot;const xt=W({});function Rt(e){return e in Ot}function Nt(e,t){if(!Rt(e))return null;const i=function(e){return Ot[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 Bt(e,...t){delete At[e],xt.update((i=>(i[e]=ne.all([i[e]||{},...t]),i)))}Z([xt],(([e])=>Object.keys(e))),xt.subscribe((e=>Ot=e));const Ut={};function
|
|
1173
|
+
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 At={},Ht=(e,t,i)=>i?(t in At||(At[t]={}),e in At[t]||(At[t][e]=i),i):i,Ct=(e,t)=>{if(null==t)return;if(t in At&&e in At[t])return At[t][e];const i=ni(t);for(let n=0;n<i.length;n++){const r=Nt(i[n],e);if(r)return Ht(e,t,r)}};let Ot;const xt=W({});function Rt(e){return e in Ot}function Nt(e,t){if(!Rt(e))return null;const i=function(e){return Ot[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 Bt(e,...t){delete At[e],xt.update((i=>(i[e]=ne.all([i[e]||{},...t]),i)))}Z([xt],(([e])=>Object.keys(e))),xt.subscribe((e=>Ot=e));const Ut={};function Yt(e){return Ut[e]}function It(e){return null!=e&&ni(e).some((e=>{var t;return null==(t=Yt(e))?void 0:t.size}))}function Gt(e,t){const i=Promise.all(t.map((t=>(function(e,t){Ut[e].delete(t),0===Ut[e].size&&delete Ut[e]}(e,t),t().then((e=>e.default||e))))));return i.then((t=>Bt(e,...t)))}const jt={};function $t(e){if(!It(e))return e in jt?jt[e]:Promise.resolve();const t=function(e){return ni(e).map((e=>{const t=Yt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return jt[e]=Promise.all(t.map((([e,t])=>Gt(e,t)))).then((()=>{if(It(e))return $t(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 zt(){return Ft}const Vt=W(!1);var Wt=Object.defineProperty,Zt=Object.defineProperties,qt=Object.getOwnPropertyDescriptors,Xt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,Qt=(e,t,i)=>t in e?Wt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let ei;const ti=W(null);function ii(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function ni(e,t=zt().fallbackLocale){const i=ii(e);return t?[...new Set([...i,...ii(t)])]:i}function ri(){return null!=ei?ei:void 0}ti.subscribe((e=>{ei=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const ai=(si=((e,t)=>{for(var i in t||(t={}))Kt.call(t,i)&&Qt(e,i,t[i]);if(Xt)for(var i of Xt(t))Jt.call(t,i)&&Qt(e,i,t[i]);return e})({},ti),Zt(si,qt({set:e=>{if(e&&function(e){if(null==e)return;const t=ni(e);for(let e=0;e<t.length;e++){const i=t[e];if(Rt(i))return i}}(e)&&It(e)){const{loadingDelay:t}=zt();let i;return"undefined"!=typeof window&&null!=ri()&&t?i=window.setTimeout((()=>Vt.set(!0)),t):Vt.set(!0),$t(e).then((()=>{ti.set(e)})).finally((()=>{clearTimeout(i),Vt.set(!1)}))}return ti.set(e)}})));var si;const oi=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var li=Object.defineProperty,ui=Object.getOwnPropertySymbols,ci=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,di=(e,t,i)=>t in e?li(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,mi=(e,t)=>{for(var i in t||(t={}))ci.call(t,i)&&di(e,i,t[i]);if(ui)for(var i of ui(t))hi.call(t,i)&&di(e,i,t[i]);return e},fi=(e,t)=>{var i={};for(var n in e)ci.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&ui)for(var n of ui(e))t.indexOf(n)<0&&hi.call(e,n)&&(i[n]=e[n]);return i};const pi=(e,t)=>{const{formats:i}=zt();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},gi=oi((e=>{var t=e,{locale:i,format:n}=t,r=fi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=pi("number",n)),new Intl.NumberFormat(i,r)})),yi=oi((e=>{var t=e,{locale:i,format:n}=t,r=fi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=pi("date",n):0===Object.keys(r).length&&(r=pi("date","short")),new Intl.DateTimeFormat(i,r)})),bi=oi((e=>{var t=e,{locale:i,format:n}=t,r=fi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=pi("time",n):0===Object.keys(r).length&&(r=pi("time","short")),new Intl.DateTimeFormat(i,r)})),vi=oi((
|
|
1174
1174
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1175
|
-
(e,t=ri())=>new Pt(e,t,zt().formats,{ignoreTag:zt().ignoreTag}))),_i=(e,t={})=>{var i,n,r,a;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:o,locale:l=ri(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ct(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=zt()).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=vi(c,l).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Li=(e,t)=>((e={})=>{var t=e,{locale:i=ri()}=t,n=fi(t,["locale"]);return bi(mi({locale:i},n))})(t).format(e),wi=(e,t)=>((e={})=>{var t=e,{locale:i=ri()}=t,n=fi(t,["locale"]);return yi(mi({locale:i},n))})(t).format(e),Ei=(e,t)=>((e={})=>{var t=e,{locale:i=ri()}=t,n=fi(t,["locale"]);return gi(mi({locale:i},n))})(t).format(e),Ti=(e,t=ri())=>Ct(e,t),Si=Z([ai,xt],(()=>_i));function ki(e,t){Bt(e,t)}Z([ai],(()=>Li)),Z([ai],(()=>wi)),Z([ai],(()=>Ei)),Z([ai,xt],(()=>Ti));const Mi={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",editLimitTitle:"Edit Limit",deleteLimitTitle:"Delete limit",cancelScheduleTitle:"Cancel schedule"},"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:"錢包",editLimitTitle:"編輯限制",deleteLimitTitle:"刪除限制",cancelScheduleTitle:"取消行程"},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",editLimitTitle:"Limit bearbeiten",deleteLimitTitle:"Limit löschen",cancelScheduleTitle:"Zeitplan abbrechen"},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",editLimitTitle:"Modifica limite",deleteLimitTitle:"Elimina limite",cancelScheduleTitle:"Annulla pianificazione"},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",editLimitTitle:"Modifier la limite",deleteLimitTitle:"Supprimer la limite",cancelScheduleTitle:"Annuler le planning"},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",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación"},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:"Πορτοφόλια",editLimitTitle:"Επεξεργασία ορίου",deleteLimitTitle:"Διαγραφή ορίου",cancelScheduleTitle:"Ακύρωση προγράμματος"},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",editLimitTitle:"Sınırı Düzenle",deleteLimitTitle:"Sınırı sil",cancelScheduleTitle:"Programı iptal et"},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:"Кошельки",editLimitTitle:"Изменить лимит",deleteLimitTitle:"Удалить лимит",cancelScheduleTitle:"Отменить расписание"},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",editLimitTitle:"Editați limita",deleteLimitTitle:"Ștergeți limita",cancelScheduleTitle:"Anulați programul"},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",editLimitTitle:"Uredi ograničenje",deleteLimitTitle:"Ograničenje brisanja",cancelScheduleTitle:"Otkaži raspored"},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",editLimitTitle:"Korlát szerkesztése",deleteLimitTitle:"Korlát törlése",cancelScheduleTitle:"Ütemezés törlése"},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",editLimitTitle:"Limit edycji",deleteLimitTitle:"Usuń limit",cancelScheduleTitle:"Anuluj harmonogram"},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",editLimitTitle:"Editar Limite",deleteLimitTitle:"Excluir limite",cancelScheduleTitle:"Cancelar agendamento"},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",editLimitTitle:"Uredi omejitev",deleteLimitTitle:"Omejitev brisanja",cancelScheduleTitle:"Prekliči razpored"},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",editLimitTitle:"Ograničenje uređivanja",deleteLimitTitle:"Izbriši ograničenje",cancelScheduleTitle:"Otkaži raspored"},"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",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación"},"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",editLimitTitle:"Editar Limite",deleteLimitTitle:"Excluir limite",cancelScheduleTitle:"Cancelar agendamento"}};var Di="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";
|
|
1175
|
+
(e,t=ri())=>new Pt(e,t,zt().formats,{ignoreTag:zt().ignoreTag}))),_i=(e,t={})=>{var i,n,r,a;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:o,locale:l=ri(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ct(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=zt()).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=vi(c,l).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Li=(e,t)=>((e={})=>{var t=e,{locale:i=ri()}=t,n=fi(t,["locale"]);return bi(mi({locale:i},n))})(t).format(e),wi=(e,t)=>((e={})=>{var t=e,{locale:i=ri()}=t,n=fi(t,["locale"]);return yi(mi({locale:i},n))})(t).format(e),Ei=(e,t)=>((e={})=>{var t=e,{locale:i=ri()}=t,n=fi(t,["locale"]);return gi(mi({locale:i},n))})(t).format(e),Ti=(e,t=ri())=>Ct(e,t),Si=Z([ai,xt],(()=>_i));function ki(e,t){Bt(e,t)}Z([ai],(()=>Li)),Z([ai],(()=>wi)),Z([ai],(()=>Ei)),Z([ai,xt],(()=>Ti));const Mi={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 Di="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";
|
|
1176
1176
|
/* src/images/caret-select.svg.svelte generated by Svelte v3.59.2 */function Pi(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"d","M13 14L0.250001 27.8564L0.250002 0.143593L13 14Z"),v(i,"width","13"),v(i,"height","28"),v(i,"viewBox","0 0 13 28"),v(i,"fill","currentColor"),v(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)}}}
|
|
1177
1177
|
/* src/images/fa-caret-right.svg.svelte generated by Svelte v3.59.2 */
|
|
1178
|
-
function Ai(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"fill","currentColor"),v(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"),v(i,"xmlns","http://www.w3.org/2000/svg"),v(i,"height","12"),v(i,"width","6"),v(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 ${constructor(e){super(),
|
|
1178
|
+
function Ai(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"fill","currentColor"),v(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"),v(i,"xmlns","http://www.w3.org/2000/svg"),v(i,"height","12"),v(i,"width","6"),v(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 ${constructor(e){super(),j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Pi,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
|
|
1179
1179
|
/* src/images/curency.svg.svelte generated by Svelte v3.59.2 */
|
|
1180
|
-
function Hi(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"d","M12.375 25.3977C10.7746 25.3977 9.27367 25.09 7.87216 24.4744C6.47064 23.8494 5.23485 22.9782 4.16477 21.8608C3.10417 20.7434 2.27557 19.4413 1.67898 17.9545C1.08239 16.4678 0.784091 14.858 0.784091 13.125C0.784091 11.392 1.08239 9.78693 1.67898 8.30966C2.27557 6.82292 3.10417 5.52557 4.16477 4.41761C5.23485 3.30966 6.47064 2.44792 7.87216 1.83239C9.27367 1.21686 10.7746 0.90909 12.375 0.90909C13.9848 0.90909 15.4905 1.21686 16.892 1.83239C18.303 2.44792 19.5388 3.30966 20.5994 4.41761C21.6695 5.52557 22.5076 6.82292 23.1136 8.30966C23.7197 9.78693 24.0227 11.392 24.0227 13.125C24.0227 14.858 23.7197 16.4678 23.1136 17.9545C22.5076 19.4413 21.6695 20.7434 20.5994 21.8608C19.5388 22.9782 18.303 23.8494 16.892 24.4744C15.4905 25.09 13.9848 25.3977 12.375 25.3977ZM12.375 22.2727C13.5398 22.2727 14.6288 22.036 15.642 21.5625C16.6648 21.0795 17.5597 20.4167 18.3267 19.5739C19.0938 18.7311 19.6951 17.7604 20.1307 16.6619C20.5663 15.554 20.7841 14.375 20.7841 13.125C20.7841 11.4394 20.4053 9.9053 19.6477 8.52273C18.8996 7.14015 17.8864 6.03693 16.608 5.21307C15.339 4.3892 13.928 3.97727 12.375 3.97727C10.822 3.97727 9.40152 4.3892 8.11364 5.21307C6.83523 6.03693 5.8125 7.14015 5.04545 8.52273C4.28788 9.9053 3.90909 11.4394 3.90909 13.125C3.90909 14.7917 4.28788 16.321 5.04545 17.7131C5.8125 19.0956 6.83523 20.2036 8.11364 21.0369C9.40152 21.8608 10.822 22.2727 12.375 22.2727ZM20.6136 6.93182L18.3409 4.54545L22.2614 0.511363L24.5909 2.89773L20.6136 6.93182ZM22.2614 25.2841L18.3409 21.25L20.6136 18.9205L24.5909 22.8977L22.2614 25.2841ZM2.60227 25.2841L0.329545 22.8977L4.25 18.9205L6.57955 21.25L2.60227 25.2841ZM4.25 6.93182L0.329545 2.89773L2.60227 0.511363L6.57955 4.54545L4.25 6.93182Z"),v(i,"width","18"),v(i,"viewBox","0 0 25 26"),v(i,"fill","currentColor"),v(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)}}}customElements.define("caret-right",class extends ${constructor(e){super(),
|
|
1180
|
+
function Hi(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"d","M12.375 25.3977C10.7746 25.3977 9.27367 25.09 7.87216 24.4744C6.47064 23.8494 5.23485 22.9782 4.16477 21.8608C3.10417 20.7434 2.27557 19.4413 1.67898 17.9545C1.08239 16.4678 0.784091 14.858 0.784091 13.125C0.784091 11.392 1.08239 9.78693 1.67898 8.30966C2.27557 6.82292 3.10417 5.52557 4.16477 4.41761C5.23485 3.30966 6.47064 2.44792 7.87216 1.83239C9.27367 1.21686 10.7746 0.90909 12.375 0.90909C13.9848 0.90909 15.4905 1.21686 16.892 1.83239C18.303 2.44792 19.5388 3.30966 20.5994 4.41761C21.6695 5.52557 22.5076 6.82292 23.1136 8.30966C23.7197 9.78693 24.0227 11.392 24.0227 13.125C24.0227 14.858 23.7197 16.4678 23.1136 17.9545C22.5076 19.4413 21.6695 20.7434 20.5994 21.8608C19.5388 22.9782 18.303 23.8494 16.892 24.4744C15.4905 25.09 13.9848 25.3977 12.375 25.3977ZM12.375 22.2727C13.5398 22.2727 14.6288 22.036 15.642 21.5625C16.6648 21.0795 17.5597 20.4167 18.3267 19.5739C19.0938 18.7311 19.6951 17.7604 20.1307 16.6619C20.5663 15.554 20.7841 14.375 20.7841 13.125C20.7841 11.4394 20.4053 9.9053 19.6477 8.52273C18.8996 7.14015 17.8864 6.03693 16.608 5.21307C15.339 4.3892 13.928 3.97727 12.375 3.97727C10.822 3.97727 9.40152 4.3892 8.11364 5.21307C6.83523 6.03693 5.8125 7.14015 5.04545 8.52273C4.28788 9.9053 3.90909 11.4394 3.90909 13.125C3.90909 14.7917 4.28788 16.321 5.04545 17.7131C5.8125 19.0956 6.83523 20.2036 8.11364 21.0369C9.40152 21.8608 10.822 22.2727 12.375 22.2727ZM20.6136 6.93182L18.3409 4.54545L22.2614 0.511363L24.5909 2.89773L20.6136 6.93182ZM22.2614 25.2841L18.3409 21.25L20.6136 18.9205L24.5909 22.8977L22.2614 25.2841ZM2.60227 25.2841L0.329545 22.8977L4.25 18.9205L6.57955 21.25L2.60227 25.2841ZM4.25 6.93182L0.329545 2.89773L2.60227 0.511363L6.57955 4.54545L4.25 6.93182Z"),v(i,"width","18"),v(i,"viewBox","0 0 25 26"),v(i,"fill","currentColor"),v(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)}}}customElements.define("caret-right",class extends ${constructor(e){super(),j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Ai,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
|
|
1181
1181
|
/* src/images/fa-calendar-times-o.svg.svelte generated by Svelte v3.59.2 */
|
|
1182
|
-
function Ci(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"fill","currentColor"),v(n,"d","m1111 1385l-46 46q-9 9-22 9t-23-9l-188-189l-188 189q-10 9-23 9t-22-9l-46-46q-9-9-9-22t9-23l189-188l-189-188q-9-10-9-23t9-22l46-46q9-9 22-9t23 9l188 188l188-188q10-9 23-9t22 9l46 46q9 9 9 22t-9 23l-188 188l188 188q9 10 9 23t-9 22m-983 279h1408V640H128zM512 448V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23m768 0V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23m384-64v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h128v-96q0-66 47-113T416 0h64q66 0 113 47t47 113v96h384v-96q0-66 47-113t113-47h64q66 0 113 47t47 113v96h128q52 0 90 38t38 90"),v(i,"xmlns","http://www.w3.org/2000/svg"),v(i,"width","0.93em"),v(i,"height","1em"),v(i,"viewBox","0 0 1664 1792")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("currency-icon",class extends ${constructor(e){super(),
|
|
1182
|
+
function Ci(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"fill","currentColor"),v(n,"d","m1111 1385l-46 46q-9 9-22 9t-23-9l-188-189l-188 189q-10 9-23 9t-22-9l-46-46q-9-9-9-22t9-23l189-188l-189-188q-9-10-9-23t9-22l46-46q9-9 22-9t23 9l188 188l188-188q10-9 23-9t22 9l46 46q9 9 9 22t-9 23l-188 188l188 188q9 10 9 23t-9 22m-983 279h1408V640H128zM512 448V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23m768 0V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23m384-64v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h128v-96q0-66 47-113T416 0h64q66 0 113 47t47 113v96h384v-96q0-66 47-113t113-47h64q66 0 113 47t47 113v96h128q52 0 90 38t38 90"),v(i,"xmlns","http://www.w3.org/2000/svg"),v(i,"width","0.93em"),v(i,"height","1em"),v(i,"viewBox","0 0 1664 1792")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("currency-icon",class extends ${constructor(e){super(),j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Hi,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
|
|
1183
1183
|
/* src/images/fa-pencil.svg.svelte generated by Svelte v3.59.2 */
|
|
1184
|
-
function Oi(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"fill","currentColor"),v(n,"d","m363 1408l91-91l-235-235l-91 91v107h128v128zm523-928q0-22-22-22q-10 0-17 7l-542 542q-7 7-7 17q0 22 22 22q10 0 17-7l542-542q7-7 7-17m-54-192l416 416l-832 832H0v-416zm683 96q0 53-37 90l-166 166l-416-416l166-165q36-38 90-38q53 0 91 38l235 234q37 39 37 91"),v(i,"xmlns","http://www.w3.org/2000/svg"),v(i,"width","1em"),v(i,"height","1em"),v(i,"viewBox","0 0 1536 1536")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("calendar-times-icon",class extends ${constructor(e){super(),
|
|
1184
|
+
function Oi(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"fill","currentColor"),v(n,"d","m363 1408l91-91l-235-235l-91 91v107h128v128zm523-928q0-22-22-22q-10 0-17 7l-542 542q-7 7-7 17q0 22 22 22q10 0 17-7l542-542q7-7 7-17m-54-192l416 416l-832 832H0v-416zm683 96q0 53-37 90l-166 166l-416-416l166-165q36-38 90-38q53 0 91 38l235 234q37 39 37 91"),v(i,"xmlns","http://www.w3.org/2000/svg"),v(i,"width","1em"),v(i,"height","1em"),v(i,"viewBox","0 0 1536 1536")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("calendar-times-icon",class extends ${constructor(e){super(),j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Ci,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
|
|
1185
1185
|
/* src/images/fa-times.svg.svelte generated by Svelte v3.59.2 */
|
|
1186
|
-
function xi(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"fill","currentColor"),v(n,"d","M1202 1066q0 40-28 68l-136 136q-28 28-68 28t-68-28L608 976l-294 294q-28 28-68 28t-68-28L42 1134q-28-28-28-68t28-68l294-294L42 410q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294l294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68L880 704l294 294q28 28 28 68"),v(i,"xmlns","http://www.w3.org/2000/svg"),v(i,"width","0.93em"),v(i,"height","1em"),v(i,"viewBox","0 0 1216 1312")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("pencil-icon",class extends ${constructor(e){super(),
|
|
1186
|
+
function xi(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"fill","currentColor"),v(n,"d","M1202 1066q0 40-28 68l-136 136q-28 28-68 28t-68-28L608 976l-294 294q-28 28-68 28t-68-28L42 1134q-28-28-28-68t28-68l294-294L42 410q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294l294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68L880 704l294 294q28 28 28 68"),v(i,"xmlns","http://www.w3.org/2000/svg"),v(i,"width","0.93em"),v(i,"height","1em"),v(i,"viewBox","0 0 1216 1312")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("pencil-icon",class extends ${constructor(e){super(),j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Oi,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
|
|
1187
1187
|
/* ../general-animation-loading/src/GeneralAnimationLoading.svelte generated by Svelte v3.59.2 */
|
|
1188
1188
|
function Ri(t){let i;return{c(){i=m("div"),i.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>',this.c=e},m(e,n){c(e,i,n),
|
|
1189
1189
|
/*div5_binding*/t[3](i)},p:e,i:e,o:e,d(e){e&&h(i)
|
|
1190
|
-
/*div5_binding*/,t[3](null)}}}function Ni(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){P[e?"unshift":"push"]((()=>{n=e,i(0,n)}))}]}customElements.define("cancel-limit-icon",class extends ${constructor(e){super(),
|
|
1190
|
+
/*div5_binding*/,t[3](null)}}}function Ni(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){P[e?"unshift":"push"]((()=>{n=e,i(0,n)}))}]}customElements.define("cancel-limit-icon",class extends ${constructor(e){super(),j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,xi,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
|
|
1191
1191
|
/* src/PlayerRglimits.svelte generated by Svelte v3.59.2 */
|
|
1192
|
-
function Bi(e,t,i){const n=e.slice();return n[68]=t[i],n}function Ui(e,t,i){const n=e.slice();return n[68]=t[i],n}function
|
|
1193
|
-
// (
|
|
1194
|
-
function
|
|
1192
|
+
function Bi(e,t,i){const n=e.slice();return n[68]=t[i],n}function Ui(e,t,i){const n=e.slice();return n[68]=t[i],n}function Yi(e,t,i){const n=e.slice();return n[73]=t[i],n}
|
|
1193
|
+
// (524:4) {:else}
|
|
1194
|
+
function Ii(e){let t,i,n,r,a,s,o,l,d,f,y,b=/*getWidgetTitle*/e[26](/*selectedLimitType*/e[18])+"";function _(e,t){/*isLoading*/
|
|
1195
1195
|
return e[10]?Fi:$i}let w=_(e),E=w(e),T=/*limitPeriodList*/e[15].length>0&&en(e),S=/*limitTypeList*/e[16].length>0&&nn(e),k=/*limitTypeList*/e[16].length>0&&/*sessiontype*/"admin"===e[0]&&/*displayedLimit*/e[14]&&an(e);function M(e,t){/*isGaugeLoading*/
|
|
1196
1196
|
return e[11]?cn:un}let D=M(e),P=D(e);return{c(){t=m("div"),i=m("h2"),n=m("currency-icon"),r=p(b),a=g(),E.c(),s=g(),o=m("div"),l=m("div"),T&&T.c(),d=g(),S&&S.c(),f=g(),k&&k.c(),y=g(),P.c(),v(i,"class","LimitTypeHeader"),v(t,"class","ContentLeft"),v(l,"class","WidgetControls"),v(o,"class","ContentRight")},m(e,h){c(e,t,h),u(t,i),u(i,n),u(i,r),u(t,a),E.m(t,null),c(e,s,h),c(e,o,h),u(o,l),T&&T.m(l,null),u(l,d),S&&S.m(l,null),u(l,f),k&&k.m(l,null),u(o,y),P.m(o,null)},p(e,i){/*selectedLimitType*/262144&i[0]&&b!==(b=/*getWidgetTitle*/e[26](/*selectedLimitType*/e[18])+"")&&L(r,b),w===(w=_(e))&&E?E.p(e,i):(E.d(1),E=w(e),E&&(E.c(),E.m(t,null))),/*limitPeriodList*/e[15].length>0?T?T.p(e,i):(T=en(e),T.c(),T.m(l,d)):T&&(T.d(1),T=null),/*limitTypeList*/e[16].length>0?S?S.p(e,i):(S=nn(e),S.c(),S.m(l,f)):S&&(S.d(1),S=null),/*limitTypeList*/e[16].length>0&&/*sessiontype*/"admin"===e[0]&&/*displayedLimit*/e[14]?k?k.p(e,i):(k=an(e),k.c(),k.m(l,null)):k&&(k.d(1),k=null),D===(D=M(e))&&P?P.p(e,i):(P.d(1),P=D(e),P&&(P.c(),P.m(o,null)))},d(e){e&&h(t),E.d(),e&&h(s),e&&h(o),T&&T.d(),S&&S.d(),k&&k.d(),P.d()}}}
|
|
1197
|
-
// (
|
|
1198
|
-
function
|
|
1199
|
-
// (
|
|
1200
|
-
function
|
|
1201
|
-
// (
|
|
1202
|
-
function $i(e){let t,i,n,r,a,s,o,l,f,y,b,_,w,E,T,S,k,M,D,P,A,H,C,O,x,R,N,B,U,I,
|
|
1203
|
-
// (
|
|
1197
|
+
// (520:27)
|
|
1198
|
+
function Gi(e){let t,i,n;return{c(){t=m("div"),i=m("strong"),n=p(/*errorMessage*/e[22]),v(i,"class","ErrorMessage"),v(t,"class","ContainerCenter")},m(e,r){c(e,t,r),u(t,i),u(i,n)},p(e,t){/*errorMessage*/4194304&t[0]&&L(n,/*errorMessage*/e[22])},d(e){e&&h(t)}}}
|
|
1199
|
+
// (516:4) {#if noLimitToDisplay}
|
|
1200
|
+
function ji(e){let t,i,n,r=/*$_*/e[23]("noLimitToDisplay")+"";return{c(){t=m("div"),i=m("p"),n=p(r),v(t,"class","ContainerCenter")},m(e,r){c(e,t,r),u(t,i),u(i,n)},p(e,t){/*$_*/8388608&t[0]&&r!==(r=/*$_*/e[23]("noLimitToDisplay")+"")&&L(n,r)},d(e){e&&h(t)}}}
|
|
1201
|
+
// (529:8) {:else}
|
|
1202
|
+
function $i(e){let t,i,n,r,a,s,o,l,f,y,b,_,w,E,T,S,k,M,D,P,A,H,C,O,x,R,N,B,U,Y,I,G,j,$,F,z,V,W,Z,q,X,K,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[19]?`${/*selectedProduct*/e[19]} ${/*$_*/e[23]("walletsLabel")}`:`${/*selectedProduct*/e[19]} ${/*$_*/e[23]("walletLabel")}`,Se=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].totalAmount)+"",ke=/*displayedLimit*/e[14].limitCurrency+"",Me=/*$_*/e[23]("spentAmount")+"",De=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].spentAmount)+"",Pe=/*displayedLimit*/e[14].limitCurrency+"",Ae=/*$_*/e[23]("remainingAmount")+"",He=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].remainingAmount)+"",Ce=/*displayedLimit*/e[14].limitCurrency+"",Oe=/*$_*/e[23]("startLabel")+"",xe=/*dateToReadableString*/e[25](/*displayedLimit*/e[14].from)+"",Re=/*$_*/e[23]("resetLabel")+"",Ne=/*dateToReadableString*/e[25](/*displayedLimit*/e[14].to)+"",Be=/*productList*/e[20].length>1&&zi(e),Ue=/*productList*/e[20],Ye=[];for(let t=0;t<Ue.length;t+=1)Ye[t]=Vi(Yi(e,Ue,t));let Ie=/*displayedLimit*/!0===e[14].formattedSchedule.isUpdated&&Wi(e),Ge=/*displayedLimit*/(!0===e[14].formattedSchedule.isRemoved||/*displayedLimit*/!0===e[14].formattedSchedule.isUpdated)&&Zi(e),je=/*sessiontype*/"admin"===e[0]&&Ki(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),_=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"),x=m("caret-right"),R=g(),N=p(De),B=g(),U=p(Pe),Y=g(),I=m("div"),G=m("div"),j=p(Ae),$=p(":"),F=g(),z=m("div"),V=m("span"),W=m("caret-right"),Z=g(),q=p(He),X=g(),K=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(xe),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(Ne),Le=g(),Ge&&Ge.c(),we=g(),je&&je.c(),Ee=p(""),v(n,"class","SelectedProduct"),v(f,"class","Currency"),v(s,"class","TotalAmount"),v(s,"title",b=`${/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].totalAmount)} ${/*displayedLimit*/e[14].limitCurrency}`),v(i,"class","DisplayContainer"),v(E,"class",T="ProductsDropdown "+(/*showDropdown*/e[13]?"Show":"")),v(t,"class","ProductSelector"),v(D,"class","Col"),v(C,"class","Col"),v(M,"class","Row"),v(G,"class","Col"),v(z,"class","Col"),v(I,"class","Row"),v(te,"class","Col"),v(ae,"class","Col"),v(ee,"class","Row"),v(de,"class","Col"),v(ge,"class","Col"),v(he,"class","Row"),v(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,_),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,x),u(O,R),u(O,N),u(O,B),u(O,U),u(k,Y),u(k,I),u(I,G),u(G,j),u(G,$),u(I,F),u(I,z),u(z,V),u(V,W),u(V,Z),u(V,q),u(V,X),u(V,K),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),Ge&&Ge.m(e,h),c(e,we,h),je&&je.m(e,h),c(e,Ee,h)},p(e,t){if(/*selectedProduct, $_*/8912896&t[0]&&Te!==(Te=/*selectedProduct*/"All"===e[19]?`${/*selectedProduct*/e[19]} ${/*$_*/e[23]("walletsLabel")}`:`${/*selectedProduct*/e[19]} ${/*$_*/e[23]("walletLabel")}`)&&L(r,Te),/*displayedLimit*/16384&t[0]&&Se!==(Se=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].totalAmount)+"")&&L(o,Se),/*displayedLimit*/16384&t[0]&&ke!==(ke=/*displayedLimit*/e[14].limitCurrency+"")&&L(y,ke),/*displayedLimit*/16384&t[0]&&b!==(b=`${/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].totalAmount)} ${/*displayedLimit*/e[14].limitCurrency}`)&&v(s,"title",b),/*productList*/e[20].length>1?Be?Be.p(e,t):(Be=zi(e),Be.c(),Be.m(i,null)):Be&&(Be.d(1),Be=null),/*handleProductChange, productList, $_*/277872640&t[0]){let i;for(Ue=/*productList*/e[20],i=0;i<Ue.length;i+=1){const n=Yi(e,Ue,i);Ye[i]?Ye[i].p(n,t):(Ye[i]=Vi(n),Ye[i].c(),Ye[i].m(E,null))}for(;i<Ye.length;i+=1)Ye[i].d(1);Ye.length=Ue.length}/*showDropdown*/8192&t[0]&&T!==(T="ProductsDropdown "+(/*showDropdown*/e[13]?"Show":""))&&v(E,"class",T),/*$_*/8388608&t[0]&&Me!==(Me=/*$_*/e[23]("spentAmount")+"")&&L(P,Me),/*displayedLimit*/16384&t[0]&&De!==(De=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].spentAmount)+"")&&L(N,De),/*displayedLimit*/16384&t[0]&&Pe!==(Pe=/*displayedLimit*/e[14].limitCurrency+"")&&L(U,Pe),/*$_*/8388608&t[0]&&Ae!==(Ae=/*$_*/e[23]("remainingAmount")+"")&&L(j,Ae),/*displayedLimit*/16384&t[0]&&He!==(He=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].remainingAmount)+"")&&L(q,He),/*displayedLimit*/16384&t[0]&&Ce!==(Ce=/*displayedLimit*/e[14].limitCurrency+"")&&L(K,Ce),/*displayedLimit*/!0===e[14].formattedSchedule.isUpdated?Ie?Ie.p(e,t):(Ie=Wi(e),Ie.c(),Ie.m(k,Q)):Ie&&(Ie.d(1),Ie=null),/*$_*/8388608&t[0]&&Oe!==(Oe=/*$_*/e[23]("startLabel")+"")&&L(ie,Oe),/*displayedLimit*/16384&t[0]&&xe!==(xe=/*dateToReadableString*/e[25](/*displayedLimit*/e[14].from)+"")&&L(ue,xe),/*$_*/8388608&t[0]&&Re!==(Re=/*$_*/e[23]("resetLabel")+"")&&L(me,Re),/*displayedLimit*/16384&t[0]&&Ne!==(Ne=/*dateToReadableString*/e[25](/*displayedLimit*/e[14].to)+"")&&L(_e,Ne),/*displayedLimit*/!0===e[14].formattedSchedule.isRemoved||/*displayedLimit*/!0===e[14].formattedSchedule.isUpdated?Ge?Ge.p(e,t):(Ge=Zi(e),Ge.c(),Ge.m(we.parentNode,we)):Ge&&(Ge.d(1),Ge=null),/*sessiontype*/"admin"===e[0]?je?je.p(e,t):(je=Ki(e),je.c(),je.m(Ee.parentNode,Ee)):je&&(je.d(1),je=null)},d(e){e&&h(t),Be&&Be.d(),d(Ye,e),e&&h(S),e&&h(k),Ie&&Ie.d(),e&&h(Le),Ge&&Ge.d(e),e&&h(we),je&&je.d(e),e&&h(Ee)}}}
|
|
1203
|
+
// (527:8) {#if isLoading}
|
|
1204
1204
|
function Fi(e){let t;return{c(){t=m("general-animation-loading"),_(t,"clientstyling",/*clientstyling*/e[3]),_(t,"clientstylingurl",/*clientstylingurl*/e[4])},m(e,i){c(e,t,i)},p(e,i){/*clientstyling*/8&i[0]&&_(t,"clientstyling",/*clientstyling*/e[3]),/*clientstylingurl*/16&i[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[4])},d(e){e&&h(t)}}}
|
|
1205
|
-
// (
|
|
1205
|
+
// (534:14) {#if productList.length > 1}
|
|
1206
1206
|
function zi(e){let t,i,n,r,a;return{c(){t=m("button"),i=m("caret-select"),v(t,"class",n="DropdownToggle "+(/*showDropdown*/e[13]?"Active":""))},m(n,s){c(n,t,s),u(t,i),r||(a=y(t,"click",b(/*click_handler*/e[43])),r=!0)},p(e,i){/*showDropdown*/8192&i[0]&&n!==(n="DropdownToggle "+(/*showDropdown*/e[13]?"Active":""))&&v(t,"class",n)},d(e){e&&h(t),r=!1,a()}}}
|
|
1207
|
-
// (
|
|
1207
|
+
// (541:14) {#each productList as product}
|
|
1208
1208
|
function Vi(e){let t,i,n,r,a,s=/*product*/"All"===e[73]?`${/*product*/e[73]} ${/*$_*/e[23]("walletsLabel")}`:`${/*product*/e[73]} ${/*$_*/e[23]("walletLabel")}`;function o(){/*click_handler_1*/
|
|
1209
1209
|
return e[44](/*product*/e[73])}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, $_*/9437184&n[0]&&s!==(s=/*product*/"All"===e[73]?`${/*product*/e[73]} ${/*$_*/e[23]("walletsLabel")}`:`${/*product*/e[73]} ${/*$_*/e[23]("walletLabel")}`)&&L(i,s)},d(e){e&&h(t),r=!1,a()}}}
|
|
1210
|
-
// (
|
|
1210
|
+
// (557:12) {#if displayedLimit.formattedSchedule.isUpdated === true}
|
|
1211
1211
|
function Wi(e){let t,i,n,r,a,s,o,l,d,f,y,b,_=/*$_*/e[23]("futureAmount")+"",w=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].formattedSchedule.updateAmount)+"",E=/*displayedLimit*/e[14].limitCurrency+"";return{c(){t=m("div"),i=m("div"),n=p(_),r=p(":"),a=g(),s=m("div"),o=m("span"),l=m("caret-right"),d=g(),f=p(w),y=g(),b=p(E),v(i,"class","Col"),v(s,"class","Col"),v(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,b)},p(e,t){/*$_*/8388608&t[0]&&_!==(_=/*$_*/e[23]("futureAmount")+"")&&L(n,_),/*displayedLimit*/16384&t[0]&&w!==(w=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].formattedSchedule.updateAmount)+"")&&L(f,w),/*displayedLimit*/16384&t[0]&&E!==(E=/*displayedLimit*/e[14].limitCurrency+"")&&L(b,E)},d(e){e&&h(t)}}}
|
|
1212
|
-
// (
|
|
1212
|
+
// (572:10) {#if displayedLimit.formattedSchedule.isRemoved === true || displayedLimit.formattedSchedule.isUpdated === true }
|
|
1213
1213
|
function Zi(e){let t,i,n=/*displayedLimit*/!0===e[14].formattedSchedule.isRemoved&&qi(e),r=/*displayedLimit*/!0===e[14].formattedSchedule.isUpdated&&Xi(e);return{c(){t=m("div"),n&&n.c(),i=g(),r&&r.c(),v(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[14].formattedSchedule.isRemoved?n?n.p(e,a):(n=qi(e),n.c(),n.m(t,i)):n&&(n.d(1),n=null),/*displayedLimit*/!0===e[14].formattedSchedule.isUpdated?r?r.p(e,a):(r=Xi(e),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(e){e&&h(t),n&&n.d(),r&&r.d()}}}
|
|
1214
|
-
// (
|
|
1214
|
+
// (574:14) {#if displayedLimit.formattedSchedule.isRemoved === true}
|
|
1215
1215
|
function qi(e){let t,i,n,r,a=/*$_*/e[23]("limitRemoved")+"",s=/*displayedLimit*/e[14].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){/*$_*/8388608&t[0]&&a!==(a=/*$_*/e[23]("limitRemoved")+"")&&L(i,a),/*displayedLimit*/16384&t[0]&&s!==(s=/*displayedLimit*/e[14].formattedSchedule.expiresString+"")&&L(r,s)},d(e){e&&h(t)}}}
|
|
1216
|
-
// (
|
|
1216
|
+
// (577:14) {#if displayedLimit.formattedSchedule.isUpdated === true}
|
|
1217
1217
|
function Xi(e){let t,i,n,r,a=/*$_*/e[23]("limitUpdated")+"",s=/*displayedLimit*/e[14].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){/*$_*/8388608&t[0]&&a!==(a=/*$_*/e[23]("limitUpdated")+"")&&L(i,a),/*displayedLimit*/16384&t[0]&&s!==(s=/*displayedLimit*/e[14].formattedSchedule.expiresString+"")&&L(r,s)},d(e){e&&h(t)}}}
|
|
1218
|
-
// (
|
|
1218
|
+
// (582:10) {#if sessiontype === 'admin'}
|
|
1219
1219
|
function Ki(e){let t;function i(e,t){/*transdetailsurl*/
|
|
1220
1220
|
return e[1]?Qi:/*transactionspageurl*/e[2]?Ji:void 0}let n=i(e),r=n&&n(e);return{c(){t=m("div"),r&&r.c(),v(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()}}}
|
|
1221
|
-
// (
|
|
1221
|
+
// (586:44)
|
|
1222
1222
|
function Ji(e){let t,i,n=/*$_*/e[23]("additionalLink2")+"";return{c(){t=m("a"),i=p(n),v(t,"href",/*getTransactionsUrl*/e[31]()),v(t,"target","_blank")},m(e,n){c(e,t,n),u(t,i)},p(e,t){/*$_*/8388608&t[0]&&n!==(n=/*$_*/e[23]("additionalLink2")+"")&&L(i,n)},d(e){e&&h(t)}}}
|
|
1223
|
-
// (
|
|
1223
|
+
// (584:14) {#if transdetailsurl}
|
|
1224
1224
|
function Qi(e){let t,i,n=/*$_*/e[23]("additionalLink1")+"";return{c(){t=m("a"),i=p(n),v(t,"href",/*transdetailsurl*/e[1]),v(t,"target","_blank")},m(e,n){c(e,t,n),u(t,i)},p(e,r){/*$_*/8388608&r[0]&&n!==(n=/*$_*/e[23]("additionalLink1")+"")&&L(i,n),/*transdetailsurl*/2&r[0]&&v(t,"href",/*transdetailsurl*/e[1])},d(e){e&&h(t)}}}
|
|
1225
|
-
// (
|
|
1225
|
+
// (595:10) {#if limitPeriodList.length > 0}
|
|
1226
1226
|
function en(e){let t,i,r,a,s,o,l,f,b=/*$_*/e[23]("changeLimitLabel")+"",_=/*limitPeriodList*/e[15],w=[];for(let t=0;t<_.length;t+=1)w[t]=tn(Ui(e,_,t));return{c(){t=m("div"),i=m("label"),r=p(b),a=p(":"),s=g(),o=m("select");for(let e=0;e<w.length;e+=1)w[e].c();v(i,"for","LimitPeriod"),v(o,"id","LimitPeriod"),/*selectedLimitPeriod*/void 0===e[17]&&x((()=>/*select_change_handler*/e[45].call(o))),v(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<w.length;e+=1)w[e]&&w[e].m(o,null);E(o,/*selectedLimitPeriod*/e[17],!0),l||(f=[y(o,"change",/*select_change_handler*/e[45]),y(o,"change",/*handlePeriodChange*/e[27])],l=!0)},p(e,t){if(/*$_*/8388608&t[0]&&b!==(b=/*$_*/e[23]("changeLimitLabel")+"")&&L(r,b),/*limitPeriodList*/32768&t[0]){let i;for(_=/*limitPeriodList*/e[15],i=0;i<_.length;i+=1){const n=Ui(e,_,i);w[i]?w[i].p(n,t):(w[i]=tn(n),w[i].c(),w[i].m(o,null))}for(;i<w.length;i+=1)w[i].d(1);w.length=_.length}/*selectedLimitPeriod, limitPeriodList*/163840&t[0]&&E(o,/*selectedLimitPeriod*/e[17])},d(e){e&&h(t),d(w,e),l=!1,n(f)}}}
|
|
1227
|
-
// (
|
|
1227
|
+
// (599:16) {#each limitPeriodList as value}
|
|
1228
1228
|
function tn(e){let t,i,n,r,a=/*value*/e[68]+"";return{c(){t=m("option"),i=p(a),n=g(),t.__value=r=/*value*/e[68],t.value=t.__value},m(e,r){c(e,t,r),u(t,i),u(t,n)},p(e,n){/*limitPeriodList*/32768&n[0]&&a!==(a=/*value*/e[68]+"")&&L(i,a),/*limitPeriodList*/32768&n[0]&&r!==(r=/*value*/e[68])&&(t.__value=r,t.value=t.__value)},d(e){e&&h(t)}}}
|
|
1229
|
-
// (
|
|
1229
|
+
// (607:10) {#if limitTypeList.length > 0}
|
|
1230
1230
|
function nn(e){let t,i,r,a,s,o,l,f,b=/*$_*/e[23]("limitTypeLabel")+"",_=/*limitTypeList*/e[16],w=[];for(let t=0;t<_.length;t+=1)w[t]=rn(Bi(e,_,t));return{c(){t=m("div"),i=m("label"),r=p(b),a=p(":"),s=g(),o=m("select");for(let e=0;e<w.length;e+=1)w[e].c();v(i,"for","LimitType"),v(o,"id","LimitType"),/*selectedLimitType*/void 0===e[18]&&x((()=>/*select_change_handler_1*/e[46].call(o))),v(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<w.length;e+=1)w[e]&&w[e].m(o,null);E(o,/*selectedLimitType*/e[18],!0),l||(f=[y(o,"change",/*select_change_handler_1*/e[46]),y(o,"change",/*getLimitBalance*/e[24])],l=!0)},p(e,t){if(/*$_*/8388608&t[0]&&b!==(b=/*$_*/e[23]("limitTypeLabel")+"")&&L(r,b),/*limitTypeList*/65536&t[0]){let i;for(_=/*limitTypeList*/e[16],i=0;i<_.length;i+=1){const n=Bi(e,_,i);w[i]?w[i].p(n,t):(w[i]=rn(n),w[i].c(),w[i].m(o,null))}for(;i<w.length;i+=1)w[i].d(1);w.length=_.length}/*selectedLimitType, limitTypeList*/327680&t[0]&&E(o,/*selectedLimitType*/e[18])},d(e){e&&h(t),d(w,e),l=!1,n(f)}}}
|
|
1231
|
-
// (
|
|
1231
|
+
// (611:16) {#each limitTypeList as value}
|
|
1232
1232
|
function rn(e){let t,i,n,r,a=/*value*/e[68]+"";return{c(){t=m("option"),i=p(a),n=g(),t.__value=r=/*value*/e[68],t.value=t.__value},m(e,r){c(e,t,r),u(t,i),u(t,n)},p(e,n){/*limitTypeList*/65536&n[0]&&a!==(a=/*value*/e[68]+"")&&L(i,a),/*limitTypeList*/65536&n[0]&&r!==(r=/*value*/e[68])&&(t.__value=r,t.value=t.__value)},d(e){e&&h(t)}}}
|
|
1233
|
-
// (
|
|
1233
|
+
// (619:10) {#if limitTypeList.length > 0 && sessiontype === 'admin' && displayedLimit}
|
|
1234
1234
|
function an(e){let t,i,n,r=/*editlimitaction*/"true"===e[5]&&sn(e),a=/*deletelimitaction*/"true"===e[6]&&on(e),s=/*cancelimitscheduleaction*/"true"===e[7]&&/*displayedLimit*/e[14].formattedSchedule&&/*displayedLimit*/!0===e[14].formattedSchedule.isRemoved&&ln(e);return{c(){t=m("div"),r&&r.c(),i=g(),a&&a.c(),n=g(),s&&s.c(),v(t,"class","ControlContainer")},m(e,o){c(e,t,o),r&&r.m(t,null),u(t,i),a&&a.m(t,null),u(t,n),s&&s.m(t,null)},p(e,o){/*editlimitaction*/"true"===e[5]?r?r.p(e,o):(r=sn(e),r.c(),r.m(t,i)):r&&(r.d(1),r=null),/*deletelimitaction*/"true"===e[6]?a?a.p(e,o):(a=on(e),a.c(),a.m(t,n)):a&&(a.d(1),a=null),/*cancelimitscheduleaction*/"true"===e[7]&&/*displayedLimit*/e[14].formattedSchedule&&/*displayedLimit*/!0===e[14].formattedSchedule.isRemoved?s?s.p(e,o):(s=ln(e),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},d(e){e&&h(t),r&&r.d(),a&&a.d(),s&&s.d()}}}
|
|
1235
|
-
// (
|
|
1235
|
+
// (621:14) {#if editlimitaction === 'true'}
|
|
1236
1236
|
function sn(e){let t,i,n,r,a;return{c(){t=m("button"),i=m("pencil-icon"),v(t,"class","ActionButton"),v(t,"title",n=/*$_*/e[23]("editLimitTitle"))},m(n,s){c(n,t,s),u(t,i),r||(a=y(t,"click",b(/*click_handler_2*/e[47])),r=!0)},p(e,i){/*$_*/8388608&i[0]&&n!==(n=/*$_*/e[23]("editLimitTitle"))&&v(t,"title",n)},d(e){e&&h(t),r=!1,a()}}}
|
|
1237
|
-
// (
|
|
1237
|
+
// (626:14) {#if deletelimitaction === 'true'}
|
|
1238
1238
|
function on(e){let t,i,n,r,a;return{c(){t=m("button"),i=m("cancel-limit-icon"),v(t,"class","ActionButton"),v(t,"title",n=/*$_*/e[23]("deleteLimitTitle"))},m(n,s){c(n,t,s),u(t,i),r||(a=y(t,"click",b(/*click_handler_3*/e[48])),r=!0)},p(e,i){/*$_*/8388608&i[0]&&n!==(n=/*$_*/e[23]("deleteLimitTitle"))&&v(t,"title",n)},d(e){e&&h(t),r=!1,a()}}}
|
|
1239
|
-
// (
|
|
1239
|
+
// (631:14) {#if cancelimitscheduleaction === 'true' && displayedLimit.formattedSchedule && displayedLimit.formattedSchedule.isRemoved === true}
|
|
1240
1240
|
function ln(e){let t,i,n,r,a;return{c(){t=m("button"),i=m("calendar-times-icon"),v(t,"class","ActionButton"),v(t,"title",n=/*$_*/e[23]("cancelScheduleTitle"))},m(n,s){c(n,t,s),u(t,i),r||(a=y(t,"click",b(/*click_handler_4*/e[49])),r=!0)},p(e,i){/*$_*/8388608&i[0]&&n!==(n=/*$_*/e[23]("cancelScheduleTitle"))&&v(t,"title",n)},d(e){e&&h(t),r=!1,a()}}}
|
|
1241
|
-
// (
|
|
1242
|
-
function un(e){let t,i,n,r,a,o,l,d,f,y,b,_,E,T,S,k,M,D,P,A,H,C,O,x,R,N,B,U,I,
|
|
1243
|
-
// (
|
|
1241
|
+
// (641:8) {:else}
|
|
1242
|
+
function un(e){let t,i,n,r,a,o,l,d,f,y,b,_,E,T,S,k,M,D,P,A,H,C,O,x,R,N,B,U,Y,I,G=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].spentAmount)+"",j=/*displayedLimit*/e[14].limitCurrency+"",$=/*displayedLimit*/e[14].limitCurrency+"",F=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].totalAmount)+"",z=/*displayedLimit*/e[14].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(G),y=g(),b=p(j),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($),x=g(),R=m("div"),N=m("strong"),B=p(F),U=g(),Y=m("span"),I=p(z),v(n,"class","Archbg"),u=n.src,c=r=Di,s||(s=document.createElement("a")),s.href=c,u!==s.href&&v(n,"src",r),v(n,"alt","arch"),v(o,"class","GaugeFill"),w(o,"--p",/*gaugeValue*/e[21]+"deg"),v(d,"class","GaugeCover"),v(d,"title",_=`${/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].spentAmount)} ${/*displayedLimit*/e[14].limitCurrency}`),v(T,"class","GaugeNeedleCover"),v(k,"class","GaugeNeedle"),w(k,"--transform-needle-value","rotate("+(/*gaugeValue*/e[21]-90)+"deg)"),v(i,"class","GaugeBody"),v(A,"class","MinContent"),v(C,"class","MinContentCurrency"),v(P,"class","Min"),v(N,"class","MaxContent"),v(Y,"class","MaxContentCurrency"),v(R,"class","Max"),v(D,"class","MinMaxContainer"),v(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,b),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,x),u(D,R),u(R,N),u(N,B),u(R,U),u(R,Y),u(Y,I)},p(e,t){/*gaugeValue*/2097152&t[0]&&w(o,"--p",/*gaugeValue*/e[21]+"deg"),/*displayedLimit*/16384&t[0]&&G!==(G=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].spentAmount)+"")&&L(f,G),/*displayedLimit*/16384&t[0]&&j!==(j=/*displayedLimit*/e[14].limitCurrency+"")&&L(b,j),/*displayedLimit*/16384&t[0]&&_!==(_=`${/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].spentAmount)} ${/*displayedLimit*/e[14].limitCurrency}`)&&v(d,"title",_),/*gaugeValue*/2097152&t[0]&&w(k,"--transform-needle-value","rotate("+(/*gaugeValue*/e[21]-90)+"deg)"),/*displayedLimit*/16384&t[0]&&$!==($=/*displayedLimit*/e[14].limitCurrency+"")&&L(O,$),/*displayedLimit*/16384&t[0]&&F!==(F=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].totalAmount)+"")&&L(B,F),/*displayedLimit*/16384&t[0]&&z!==(z=/*displayedLimit*/e[14].limitCurrency+"")&&L(I,z)},d(e){e&&h(t)}}}
|
|
1243
|
+
// (639:8) {#if isGaugeLoading}
|
|
1244
1244
|
function cn(e){let t;return{c(){t=m("general-animation-loading"),_(t,"clientstyling",/*clientstyling*/e[3]),_(t,"clientstylingurl",/*clientstylingurl*/e[4])},m(e,i){c(e,t,i)},p(e,i){/*clientstyling*/8&i[0]&&_(t,"clientstyling",/*clientstyling*/e[3]),/*clientstylingurl*/16&i[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[4])},d(e){e&&h(t)}}}function hn(t){let i,n,r;function a(e,t){/*noLimitToDisplay*/
|
|
1245
|
-
return e[12]?
|
|
1245
|
+
return e[12]?ji:/*errorMessage*/e[22]?Gi:Ii}let s=a(t),o=s(t);return{c(){i=m("div"),n=m("div"),o.c(),this.c=e,v(n,"class","LimitsContainer"),v(i,"class",r=/*displayNone*/t[9]?"DisplayNone":"")},m(e,r){c(e,i,r),u(i,n),o.m(n,null),
|
|
1246
1246
|
/*div0_binding*/t[50](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*/512&t[0]&&r!==(r=/*displayNone*/e[9]?"DisplayNone":"")&&v(i,"class",r)},i:e,o:e,d(e){e&&h(i),o.d(),
|
|
1247
|
-
/*div0_binding*/t[50](null)}}}function dn(e,t,i){let n;var r,a;r=Si,a=e=>i(23,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,{editlimitaction:_=""}=t,{deletelimitaction:L=""}=t,{cancelimitscheduleaction:w=""}=t,E=!1,S=!1,k=!1,D="",A="",H=!0,C=!0,O=!1,x={id:"",totalAmount:null,spentAmount:"",limitCurrency:"EUR",remainingAmount:"",limitPeriod:"",limitProducts:"",from:"",to:""},R=[],N=[],B="",U="",
|
|
1247
|
+
/*div0_binding*/t[50](null)}}}function dn(e,t,i){let n;var r,a;r=Si,a=e=>i(23,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,{editlimitaction:_=""}=t,{deletelimitaction:L=""}=t,{cancelimitscheduleaction:w=""}=t,E=!1,S=!1,k=!1,D="",A="",H=!0,C=!0,O=!1,x={id:"",totalAmount:null,spentAmount:"",limitCurrency:"EUR",remainingAmount:"",limitPeriod:"",limitProducts:"",from:"",to:""},R=[],N=[],B="",U="",Y="",I=[],G=[],j=0,$="";Object.keys(Mi).forEach((e=>{ki(e,Mi[e])})),
|
|
1248
1248
|
/**
|
|
1249
1249
|
* Sets the isMounted flag after a short delay when the component is first rendered.
|
|
1250
1250
|
*/
|
|
@@ -1261,12 +1261,13 @@ return window.addEventListener("click",e),()=>{window.removeEventListener("click
|
|
|
1261
1261
|
/**
|
|
1262
1262
|
* Sets the session information upon login.
|
|
1263
1263
|
*/
|
|
1264
|
-
const F=e=>{i(22,$=e)},V=async()=>{i(13,O=!1);try{if(
|
|
1265
|
-
//
|
|
1266
|
-
|
|
1264
|
+
const F=e=>{i(22,$=e)},V=async()=>{i(13,O=!1);try{if(I=await W(),0===I.length)return i(10,H=!1),void i(12,o=!0);i(15,R=[...new Set(I.map((e=>e.period)))]),i(20,G=Z(I[0].period)),G.includes(Y)||i(19,Y=G[0]);const e=I.find((e=>e.period===B))||I[0];q(e)}catch(e){return i(10,H=!1),void F(n("fetchLimitBalanceError"))}},W=async()=>{try{const e=new URL(`${d}/v1/player/${A}/limits/monetary/`),t={method:"GET",headers:{"X-SessionId":D,"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(16,N=Array.from(new Set(o)).filter((e=>s.includes(e)))),U||i(18,U=N[0]);const l=a.limits.filter((e=>e.type===U));return l.length>0?l:[]}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;F(t)}},Z=e=>{const t=I.filter((t=>t.period===e)),i=[];return t.forEach((e=>{e.products.forEach((e=>{-1===i.indexOf(e)&&i.push(e)}))})),i},q=async e=>{try{i(10,H=!0);const t=new URL(`${d}/v1/player/${A}/limits/monetary/balance`);t.searchParams.append("limitDefinitionId",e.id);const r={method:"GET",headers:{"X-SessionId":D,"X-Session-Type":c}},a=await fetch(t,r);if(!a.ok)throw new Error(n("fetchLimitBalanceError"));const s=await a.json();X(s.limitBalances[0],e)}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;F(t)}finally{i(10,H=!1)}},X=(e,t)=>{i(17,B=e.limitPeriod),i(19,Y=e.limitProducts[0]);const n=K(t.id,t.schedules);i(14,x={id:t.id,totalAmount:e.limitAmount,spentAmount:e.spentBalance.amount.toFixed(2),limitCurrency:e.limitCurrency,remainingAmount:(e.limitAmount-e.spentBalance.amount).toFixed(2),limitPeriod:e.limitPeriod,limitProducts:Y,from:e.from,to:e.to}),n&&i(14,x.formattedSchedule=n,x),Q(x)},K=(e,t)=>{const i=t.find((t=>t.playerLimitId===e));return i?{updateAmount:i.updateAmount,expires:i.applyAt,expiresString:J(i.applyAt),id:i.id,isRemoved:i.updateAmount<1,isUpdated:i.updateAmount>0}:{updateAmount:"",expires:"",expiresString:"",id:"",isRemoved:!1,isUpdated:!1}},J=e=>z(e).utc(!0).format(v||"DD/MM/YYYY HH:mm:ss"),Q=e=>{
|
|
1265
|
+
// Calculate newGaugeValue within [0, 180]
|
|
1266
|
+
let t=180/e.totalAmount*parseFloat(e.spentAmount);t=Math.min(180,Math.max(0,t));const n=setInterval((()=>{i(21,j+=j<t?1.5:-1.5),Math.abs(j-t)<=1.5&&(i(21,j=t),clearInterval(n))}));// Step size for increasing/decreasing gaugeValue
|
|
1267
|
+
i(11,C=!1)},ee=e=>{const t=I.find((t=>t.period===B&&t.products.includes(e)));i(14,x.limitProducts=e,x),i(13,O=!1),t&&q(t)},te=()=>{var e;e=y,ai.set(e)},ie=()=>{i(13,O=!O)},ne=(e,t)=>new Date(e.getTime()-24*t*60*60*1e3),re=()=>{window.postMessage({type:"RGW:EditLimit",payload:{id:x.id}},window.location.href)},ae=()=>{window.postMessage({type:"RGW:DeleteLimit",payload:{id:x.id}},window.location.href)},se=()=>{x&&x.formattedSchedule&&window.postMessage({type:"RGW:CancelLimitSchedule",payload:{limitId:x.id,scheduleId:x.formattedSchedule.id}},window.location.href)};
|
|
1267
1268
|
/**
|
|
1268
1269
|
* Handles errors by updating the error message.
|
|
1269
1270
|
*
|
|
1270
1271
|
* @param error - The error message to be handled.
|
|
1271
|
-
*/return e.$$set=e=>{"session"in e&&i(35,u=e.session),"sessiontype"in e&&i(0,c=e.sessiontype),"userid"in e&&i(36,h=e.userid),"endpoint"in e&&i(37,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(38,y=e.lang),"translationurl"in e&&i(39,b=e.translationurl),"datetimeformat"in e&&i(40,v=e.datetimeformat),"editlimitaction"in e&&i(5,_=e.editlimitaction),"deletelimitaction"in e&&i(6,L=e.deletelimitaction),"cancelimitscheduleaction"in e&&i(7,w=e.cancelimitscheduleaction)},e.$$.update=()=>{/*isMounted, session, userid*/1072&e.$$.dirty[1]&&S&&u&&h&&(i(42,k=!0),D=u,A=h),/*isMounted, isLoggedIn*/3072&e.$$.dirty[1]&&S&&k&&V(),/*isMounted, isLoggedIn*/3072&e.$$.dirty[1]&&S&&k&&window.addEventListener("message",(e=>{"RGW:RefreshLimits"===e.data.type&&V()})),/*clientstyling, customStylingContainer*/264&e.$$.dirty[0]&&p&&s&&(()=>{let e=document.createElement("style");e.innerHTML=p,s.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/272&e.$$.dirty[0]&&g&&s&&(()=>{try{i(9,E=!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(9,E=!1)}),500)}))}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;F(t)}})(),/*lang*/128&e.$$.dirty[1]&&y&&te(),/*translationurl*/256&e.$$.dirty[1]&&b&&(()=>{let e=new URL(b);fetch(e.href).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ki(t,e[t])}))})).catch((e=>{console.log(e)}))})()},[c,m,f,p,g,_,L,w,s,E,H,C,o,O,x,R,N,B,U,I,j,G,$,n,V,J,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(17,B=t.value),i(20,j=Z(B)),i(13,O=!1),j.includes(I)||i(19,I=j[0]);const n=Y.find((e=>e.period===B&&e.products.includes(I)));n&&q(n)},ee,ie,e=>e.toString().replace(/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g," "),()=>{try{const e=f,t="Deposit"===U?"payment-transactions":"gaming-transactions",i={Daily:1,Weekly:7,Monthly:30},n=ne(new Date(x.to),i[B]),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),U){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;F(t)}},re,ae,se,u,h,d,y,b,v,S,k,()=>ie(),e=>ee(e),function(){B=T(this),i(17,B),i(15,R)},function(){U=T(this),i(18,U),i(16,N)},()=>re(),()=>ae(),()=>se(),function(e){P[e?"unshift":"push"]((()=>{s=e,i(8,s)}))}]}!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",class extends ${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),G(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Ni,Ri,a,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}});class mn extends ${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}.ControlContainer button{padding:5px;border:1px solid #07072A;border-radius:5px;width:25px;cursor:pointer;display:flex;flex-direction:column;margin-bottom:4px}.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),G(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},dn,hn,a,{session:35,sessiontype:0,userid:36,endpoint:37,transdetailsurl:1,transactionspageurl:2,clientstyling:3,clientstylingurl:4,lang:38,translationurl:39,datetimeformat:40,editlimitaction:5,deletelimitaction:6,cancelimitscheduleaction:7},null,[-1,-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["session","sessiontype","userid","endpoint","transdetailsurl","transactionspageurl","clientstyling","clientstylingurl","lang","translationurl","datetimeformat","editlimitaction","deletelimitaction","cancelimitscheduleaction"]}get session(){return this.$$.ctx[35]}set session(e){this.$$set({session:e}),B()}get sessiontype(){return this.$$.ctx[0]}set sessiontype(e){this.$$set({sessiontype:e}),B()}get userid(){return this.$$.ctx[36]}set userid(e){this.$$set({userid:e}),B()}get endpoint(){return this.$$.ctx[37]}set endpoint(e){this.$$set({endpoint:e}),B()}get transdetailsurl(){return this.$$.ctx[1]}set transdetailsurl(e){this.$$set({transdetailsurl:e}),B()}get transactionspageurl(){return this.$$.ctx[2]}set transactionspageurl(e){this.$$set({transactionspageurl:e}),B()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get lang(){return this.$$.ctx[38]}set lang(e){this.$$set({lang:e}),B()}get translationurl(){return this.$$.ctx[39]}set translationurl(e){this.$$set({translationurl:e}),B()}get datetimeformat(){return this.$$.ctx[40]}set datetimeformat(e){this.$$set({datetimeformat:e}),B()}get editlimitaction(){return this.$$.ctx[5]}set editlimitaction(e){this.$$set({editlimitaction:e}),B()}get deletelimitaction(){return this.$$.ctx[6]}set deletelimitaction(e){this.$$set({deletelimitaction:e}),B()}get cancelimitscheduleaction(){return this.$$.ctx[7]}set cancelimitscheduleaction(e){this.$$set({cancelimitscheduleaction:e}),B()}}return!customElements.get("player-rglimits")&&customElements.define("player-rglimits",mn),mn}));
|
|
1272
|
+
*/return e.$$set=e=>{"session"in e&&i(35,u=e.session),"sessiontype"in e&&i(0,c=e.sessiontype),"userid"in e&&i(36,h=e.userid),"endpoint"in e&&i(37,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(38,y=e.lang),"translationurl"in e&&i(39,b=e.translationurl),"datetimeformat"in e&&i(40,v=e.datetimeformat),"editlimitaction"in e&&i(5,_=e.editlimitaction),"deletelimitaction"in e&&i(6,L=e.deletelimitaction),"cancelimitscheduleaction"in e&&i(7,w=e.cancelimitscheduleaction)},e.$$.update=()=>{/*isMounted, session, userid*/1072&e.$$.dirty[1]&&S&&u&&h&&(i(42,k=!0),D=u,A=h),/*isMounted, isLoggedIn*/3072&e.$$.dirty[1]&&S&&k&&V(),/*isMounted, isLoggedIn*/3072&e.$$.dirty[1]&&S&&k&&window.addEventListener("message",(e=>{"RGW:RefreshLimits"===e.data.type&&V()})),/*clientstyling, customStylingContainer*/264&e.$$.dirty[0]&&p&&s&&(()=>{let e=document.createElement("style");e.innerHTML=p,s.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/272&e.$$.dirty[0]&&g&&s&&(()=>{try{i(9,E=!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(9,E=!1)}),500)}))}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;F(t)}})(),/*lang*/128&e.$$.dirty[1]&&y&&te(),/*translationurl*/256&e.$$.dirty[1]&&b&&(()=>{let e=new URL(b);fetch(e.href).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ki(t,e[t])}))})).catch((e=>{console.log(e)}))})()},[c,m,f,p,g,_,L,w,s,E,H,C,o,O,x,R,N,B,U,Y,G,j,$,n,V,J,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(17,B=t.value),i(20,G=Z(B)),i(13,O=!1),G.includes(Y)||i(19,Y=G[0]);const n=I.find((e=>e.period===B&&e.products.includes(Y)));n&&q(n)},ee,ie,e=>e.toString().replace(/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g," "),()=>{try{const e=f,t="Deposit"===U?"payment-transactions":"gaming-transactions",i={Daily:1,Weekly:7,Monthly:30},n=ne(new Date(x.to),i[B]),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),U){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;F(t)}},re,ae,se,u,h,d,y,b,v,S,k,()=>ie(),e=>ee(e),function(){B=T(this),i(17,B),i(15,R)},function(){U=T(this),i(18,U),i(16,N)},()=>re(),()=>ae(),()=>se(),function(e){P[e?"unshift":"push"]((()=>{s=e,i(8,s)}))}]}!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",class extends ${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:S(this.attributes),customElement:!0},Ni,Ri,a,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}});class mn extends ${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}.ControlContainer button{padding:5px;border:1px solid #07072A;border-radius:5px;width:25px;cursor:pointer;display:flex;flex-direction:column;margin-bottom:4px}.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:26px;border-radius:500px 500px 0 0;background:var(--emw--gauge-fill-bg, var(--emw--color-primary, #307fe2));mask:radial-gradient(farthest-side at bottom, transparent calc(100% - var(--b) - 1px), #fff calc(100% - var(--b))), linear-gradient(var(--p), #fff 50%, transparent 0) top/100% 200%;-webkit-mask:radial-gradient(farthest-side at bottom, transparent calc(100% - var(--b) - 1px), #fff calc(100% - var(--b))), linear-gradient(var(--p), #fff 50%, transparent 0) top/100% 200%;mask-composite:intersect;-webkit-mask-composite:destination-in}.GaugeFill::before{content:"";display:block;padding-top:50%}.GaugeCover{position:absolute;left:50%;transform:translateX(-50%);top:50%;font-size: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:S(this.attributes),customElement:!0},dn,hn,a,{session:35,sessiontype:0,userid:36,endpoint:37,transdetailsurl:1,transactionspageurl:2,clientstyling:3,clientstylingurl:4,lang:38,translationurl:39,datetimeformat:40,editlimitaction:5,deletelimitaction:6,cancelimitscheduleaction:7},null,[-1,-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["session","sessiontype","userid","endpoint","transdetailsurl","transactionspageurl","clientstyling","clientstylingurl","lang","translationurl","datetimeformat","editlimitaction","deletelimitaction","cancelimitscheduleaction"]}get session(){return this.$$.ctx[35]}set session(e){this.$$set({session:e}),B()}get sessiontype(){return this.$$.ctx[0]}set sessiontype(e){this.$$set({sessiontype:e}),B()}get userid(){return this.$$.ctx[36]}set userid(e){this.$$set({userid:e}),B()}get endpoint(){return this.$$.ctx[37]}set endpoint(e){this.$$set({endpoint:e}),B()}get transdetailsurl(){return this.$$.ctx[1]}set transdetailsurl(e){this.$$set({transdetailsurl:e}),B()}get transactionspageurl(){return this.$$.ctx[2]}set transactionspageurl(e){this.$$set({transactionspageurl:e}),B()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get lang(){return this.$$.ctx[38]}set lang(e){this.$$set({lang:e}),B()}get translationurl(){return this.$$.ctx[39]}set translationurl(e){this.$$set({translationurl:e}),B()}get datetimeformat(){return this.$$.ctx[40]}set datetimeformat(e){this.$$set({datetimeformat:e}),B()}get editlimitaction(){return this.$$.ctx[5]}set editlimitaction(e){this.$$set({editlimitaction:e}),B()}get deletelimitaction(){return this.$$.ctx[6]}set deletelimitaction(e){this.$$set({deletelimitaction:e}),B()}get cancelimitscheduleaction(){return this.$$.ctx[7]}set cancelimitscheduleaction(e){this.$$set({cancelimitscheduleaction:e}),B()}}return!customElements.get("player-rglimits")&&customElements.define("player-rglimits",mn),mn}));
|
|
1272
1273
|
//# sourceMappingURL=player-rglimits.js.map
|