@everymatrix/player-account-gaming-limits-wrapper-2 0.0.363 → 0.0.365

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,(function(){"use strict";function t(){}function e(t){return t()}function r(){return Object.create(null)}function n(t){t.forEach(e)}function i(t){return"function"==typeof t}function o(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function s(e,...r){if(null==e)return t;const n=e.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}function a(t,e,r){t.$$.on_destroy.push(s(e,r))}function l(t,e){t.appendChild(e)}function c(t,e,r){t.insertBefore(e,r||null)}function u(t){t.parentNode.removeChild(t)}function h(t,e){for(let r=0;r<t.length;r+=1)t[r]&&t[r].d(e)}function p(t){return document.createElement(t)}function f(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function m(t){return document.createTextNode(t)}function d(){return m(" ")}function g(){return m("")}function y(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function b(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function v(t,e,r){e in t?t[e]="boolean"==typeof t[e]&&""===r||r:b(t,e,r)}function E(t){return""===t?null:+t}function T(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function L(t,e){t.value=null==e?"":e}function w(t,e,r,n){null===r?t.style.removeProperty(e):t.style.setProperty(e,r,n?"important":"")}function _(t,e){for(let r=0;r<t.options.length;r+=1){const n=t.options[r];if(n.__value===e)return void(n.selected=!0)}t.selectedIndex=-1}function A(t){const e=t.querySelector(":checked")||t.options[0];return e&&e.__value}function B(t,e,r){t.classList[r?"add":"remove"](e)}function S(t){const e={};for(const r of t)e[r.name]=r.value;return e}let H;function P(t){H=t}const x=[],I=[],$=[],O=[],C=Promise.resolve();let R=!1;function N(t){$.push(t)}
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@everymatrix/player-account-gaming-limits-page-2-gm16")):"function"==typeof define&&define.amd?define(["@everymatrix/player-account-gaming-limits-page-2-gm16"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,(function(){"use strict";function t(){}function e(t){return t()}function r(){return Object.create(null)}function n(t){t.forEach(e)}function i(t){return"function"==typeof t}function o(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function s(e,...r){if(null==e)return t;const n=e.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}function a(t,e,r){t.$$.on_destroy.push(s(e,r))}function l(t,e){t.appendChild(e)}function c(t,e,r){t.insertBefore(e,r||null)}function u(t){t.parentNode.removeChild(t)}function h(t,e){for(let r=0;r<t.length;r+=1)t[r]&&t[r].d(e)}function p(t){return document.createElement(t)}function f(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function m(t){return document.createTextNode(t)}function d(){return m(" ")}function g(){return m("")}function y(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function b(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function v(t,e,r){e in t?t[e]="boolean"==typeof t[e]&&""===r||r:b(t,e,r)}function E(t){return""===t?null:+t}function T(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function L(t,e){t.value=null==e?"":e}function w(t,e,r,n){null===r?t.style.removeProperty(e):t.style.setProperty(e,r,n?"important":"")}function _(t,e){for(let r=0;r<t.options.length;r+=1){const n=t.options[r];if(n.__value===e)return void(n.selected=!0)}t.selectedIndex=-1}function A(t){const e=t.querySelector(":checked")||t.options[0];return e&&e.__value}function B(t,e,r){t.classList[r?"add":"remove"](e)}function S(t){const e={};for(const r of t)e[r.name]=r.value;return e}let H;function x(t){H=t}const P=[],I=[],$=[],O=[],C=Promise.resolve();let R=!1;function N(t){$.push(t)}
2
2
  // flush() calls callbacks in this order:
3
3
  // 1. All beforeUpdate callbacks, in order: parents before children
4
4
  // 2. All bind:this callbacks, in reverse order: children before parents.
@@ -21,13 +21,13 @@ const M=new Set;let D=0;// Do *not* move this inside the flush() function
21
21
  function U(){const t=H;do{
22
22
  // first, call beforeUpdate functions
23
23
  // and update components
24
- for(;D<x.length;){const t=x[D];D++,P(t),k(t.$$)}for(P(null),x.length=0,D=0;I.length;)I.pop()();
24
+ for(;D<P.length;){const t=P[D];D++,x(t),k(t.$$)}for(x(null),P.length=0,D=0;I.length;)I.pop()();
25
25
  // then, once components are updated, call
26
26
  // afterUpdate functions. This may cause
27
27
  // subsequent updates...
28
28
  for(let t=0;t<$.length;t+=1){const e=$[t];M.has(e)||(
29
29
  // ...so guard against infinite loops
30
- M.add(e),e())}$.length=0}while(x.length);for(;O.length;)O.pop()();R=!1,M.clear(),P(t)}function k(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(N)}}const G=new Set;function F(t,e){-1===t.$$.dirty[0]&&(x.push(t),R||(R=!0,C.then(U)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function j(o,s,a,l,c,h,p,f=[-1]){const m=H;P(o);const d=o.$$={fragment:null,ctx:null,
30
+ M.add(e),e())}$.length=0}while(P.length);for(;O.length;)O.pop()();R=!1,M.clear(),x(t)}function k(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(N)}}const G=new Set;function F(t,e){-1===t.$$.dirty[0]&&(P.push(t),R||(R=!0,C.then(U)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function j(o,s,a,l,c,h,p,f=[-1]){const m=H;x(o);const d=o.$$={fragment:null,ctx:null,
31
31
  // state
32
32
  props:h,update:t,not_equal:c,bound:r(),
33
33
  // lifecycle
@@ -44,7 +44,7 @@ d.fragment&&d.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(G.delete(y),y.i(b)
44
44
  N((()=>{const r=l.map(e).filter(i);c?c.push(...r):
45
45
  // Edge case - component was destroyed immediately,
46
46
  // most likely as a result of a binding initialising
47
- n(r),t.$$.on_mount=[]})),u.forEach(N)}(o,s.target,s.anchor,s.customElement),U()}var y,b;P(m)}let V;"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(i);
47
+ n(r),t.$$.on_mount=[]})),u.forEach(N)}(o,s.target,s.anchor,s.customElement),U()}var y,b;x(m)}let V;"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(i);
48
48
  // @ts-ignore todo: improve typings
49
49
  for(const t in this.$$.slotted)
50
50
  // @ts-ignore todo: improve typings
@@ -53,7 +53,7 @@ this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,r){this[t]=r}d
53
53
  // preserve final state?)
54
54
  r.on_destroy=r.fragment=null,r.ctx=[])}(this,1),this.$destroy=t}$on(t,e){
55
55
  // TODO should this delegate to addEventListener?
56
- const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});const z={deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",periods:["Daily","Weekly","Monthly"]},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",periods:["Daily","Weekly","Monthly"]},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",periods:["Daily","Weekly","Monthly"]},stake:{title:"Stake Limit",value:"stake",callValue:"stakeLimit",periods:["Monthly"]}},W=[];
56
+ const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});const z={deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",periods:["Daily","Weekly","Monthly"]},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",periods:["Daily","Weekly","Monthly"]},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",periods:["Monthly"]},stake:{title:"Stake Limit",value:"stake",callValue:"stakeLimit",periods:["Monthly"]}},W=[];
57
57
  /**
58
58
  * Create a `Writable` store that allows both updating and reading by subscription.
59
59
  * @param {*=}value initial value
@@ -223,11 +223,11 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
223
223
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
224
224
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),e}
225
225
  // @generated from regex-gen.ts
226
- var At=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Bt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,St=/^(@+)?(\+|#+)?[rs]?$/g,Ht=/(\*)(0+)|(#+)(0+)|(0+)/g,Pt=/^(0+)$/;function xt(t){var e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(St,(function(t,r,n){
226
+ var At=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Bt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,St=/^(@+)?(\+|#+)?[rs]?$/g,Ht=/(\*)(0+)|(#+)(0+)|(0+)/g,xt=/^(0+)$/;function Pt(t){var e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(St,(function(t,r,n){
227
227
  // @@@ case
228
228
  return"string"!=typeof n?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):"+"===n?e.minimumSignificantDigits=r.length:"#"===r[0]?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),e}function It(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function $t(t){
229
229
  // Engineering
230
- var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!Pt.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Ot(t){var e=It(t);return e||{}}
230
+ var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!xt.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Ot(t){var e=It(t);return e||{}}
231
231
  /**
232
232
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
233
233
  */function Ct(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=ct(ct(ct({},e),{notation:"scientific"}),i.options.reduce((function(t,e){return ct(ct({},t),Ot(e))}),{}));continue;case"engineering":e=ct(ct(ct({},e),{notation:"engineering"}),i.options.reduce((function(t,e){return ct(ct({},t),Ot(e))}),{}));continue;case"notation-simple":e.notation="standard";continue;
@@ -236,7 +236,7 @@ case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";
236
236
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
237
237
  case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ht,(function(t,r,n,i,o,s){if(r)e.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
238
238
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
239
- if(Pt.test(i.stem))e.minimumIntegerDigits=i.stem.length;else if(Bt.test(i.stem)){
239
+ if(xt.test(i.stem))e.minimumIntegerDigits=i.stem.length;else if(Bt.test(i.stem)){
240
240
  // Precision
241
241
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
242
242
  // precision-integer case
@@ -244,9 +244,9 @@ if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept
244
244
  // .000* case (before ICU67 it was .000+)
245
245
  return"*"===n?e.minimumFractionDigits=r.length:i&&"#"===i[0]?e.maximumFractionDigits=i.length:o&&s?(e.minimumFractionDigits=o.length,e.maximumFractionDigits=o.length+s.length):(e.minimumFractionDigits=r.length,e.maximumFractionDigits=r.length),""}));var o=i.options[0];
246
246
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
247
- "w"===o?e=ct(ct({},e),{trailingZeroDisplay:"stripIfInteger"}):o&&(e=ct(ct({},e),xt(o)))}
247
+ "w"===o?e=ct(ct({},e),{trailingZeroDisplay:"stripIfInteger"}):o&&(e=ct(ct({},e),Pt(o)))}
248
248
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
249
- else if(St.test(i.stem))e=ct(ct({},e),xt(i.stem));else{var s=It(i.stem);s&&(e=ct(ct({},e),s));var a=$t(i.stem);a&&(e=ct(ct({},e),a))}}return e}
249
+ else if(St.test(i.stem))e=ct(ct({},e),Pt(i.stem));else{var s=It(i.stem);s&&(e=ct(ct({},e),s));var a=$t(i.stem);a&&(e=ct(ct({},e),a))}}return e}
250
250
  // @generated from time-data-gen.ts
251
251
  // prettier-ignore
252
252
  var Rt,Nt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
@@ -536,7 +536,7 @@ if(mt(u)){var f="string"==typeof u.style?n.date[u.style]:Tt(u.style)?u.style.par
536
536
  See the accompanying LICENSE file for terms.
537
537
  */
538
538
  // -- MessageFormat --------------------------------------------------------
539
- function He(t,e){return e?Object.keys(t).reduce((function(r,n){var i,o;return r[n]=(i=t[n],(o=e[n])?ct(ct(ct({},i||{}),o||{}),Object.keys(i).reduce((function(t,e){return t[e]=ct(ct({},i[e]),o[e]||{}),t}),{})):i),r}),ct({},t)):t}function Pe(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(Te||(Te={}));var xe=/** @class */function(){function t(e,r,n,i){var o,s=this;if(void 0===r&&(r=t.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var e=s.formatToParts(t);
539
+ function He(t,e){return e?Object.keys(t).reduce((function(r,n){var i,o;return r[n]=(i=t[n],(o=e[n])?ct(ct(ct({},i||{}),o||{}),Object.keys(i).reduce((function(t,e){return t[e]=ct(ct({},i[e]),o[e]||{}),t}),{})):i),r}),ct({},t)):t}function xe(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(Te||(Te={}));var Pe=/** @class */function(){function t(e,r,n,i){var o,s=this;if(void 0===r&&(r=t.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var e=s.formatToParts(t);
540
540
  // Hot path for straight simple msg translations
541
541
  if(1===e.length)return e[0].value;var r=e.reduce((function(t,e){return t.length&&e.type===Te.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(t){return Se(s.ast,s.locales,s.formatters,s.formats,t,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},
542
542
  // Defined first because it's used to build the format pattern.
@@ -545,11 +545,11 @@ this.locales=r,this.resolvedLocale=t.resolveLocale(r),"string"==typeof e){if(thi
545
545
  this.ast=t.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");
546
546
  // Creates a new object with the specified `formats` merged with the default
547
547
  // formats.
548
- this.formats=He(t.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:he((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,ut([void 0],e,!1)))}),{cache:Pe(o.number),strategy:Ee.variadic}),getDateTimeFormat:he((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,ut([void 0],e,!1)))}),{cache:Pe(o.dateTime),strategy:Ee.variadic}),getPluralRules:he((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,ut([void 0],e,!1)))}),{cache:Pe(o.pluralRules),strategy:Ee.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){var e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])},t.__parse=ue,
548
+ this.formats=He(t.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:he((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,ut([void 0],e,!1)))}),{cache:xe(o.number),strategy:Ee.variadic}),getDateTimeFormat:he((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,ut([void 0],e,!1)))}),{cache:xe(o.dateTime),strategy:Ee.variadic}),getPluralRules:he((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,ut([void 0],e,!1)))}),{cache:xe(o.pluralRules),strategy:Ee.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){var e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])},t.__parse=ue,
549
549
  // Default format options used as the prototype of the `formats` provided to the
550
550
  // constructor. These are used when constructing the internal Intl.NumberFormat
551
551
  // and Intl.DateTimeFormat instances.
552
- t.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"}}},t}(),Ie=xe;
552
+ t.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"}}},t}(),Ie=Pe;
553
553
  /*
554
554
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
555
555
  Copyrights licensed under the New BSD License.
@@ -570,7 +570,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
570
570
  PERFORMANCE OF THIS SOFTWARE.
571
571
  ***************************************************************************** */function ze(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}const We={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 Xe(){return We}const Ke=X(!1);let Ye;const Ze=X(null);function qe(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Qe(t,e=Xe().fallbackLocale){const r=qe(t);return e?[...new Set([...r,...qe(e)])]:r}function Je(){return null!=Ye?Ye:void 0}Ze.subscribe((t=>{Ye=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const tr=Object.assign(Object.assign({},Ze),{set:t=>{if(t&&function(t){if(null==t)return;const e=Qe(t);for(let t=0;t<e.length;t++){const r=e[t];if(Me(r))return r}}(t)&&Fe(t)){const{loadingDelay:e}=Xe();let r;return"undefined"!=typeof window&&null!=Je()&&e?r=window.setTimeout((()=>Ke.set(!0)),e):Ke.set(!0),Ve(t).then((()=>{Ze.set(t)})).finally((()=>{clearTimeout(r),Ke.set(!1)}))}return Ze.set(t)}}),er=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},rr=(t,e)=>{const{formats:r}=Xe();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},nr=er((t=>{var{locale:e,format:r}=t,n=ze(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=rr("number",r)),new Intl.NumberFormat(e,n)})),ir=er((t=>{var{locale:e,format:r}=t,n=ze(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=rr("date",r):0===Object.keys(n).length&&(n=rr("date","short")),new Intl.DateTimeFormat(e,n)})),or=er((t=>{var{locale:e,format:r}=t,n=ze(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=rr("time",r):0===Object.keys(n).length&&(n=rr("time","short")),new Intl.DateTimeFormat(e,n)})),sr=er(((t,e=Je())=>new Ie(t,e,Xe().formats,{ignoreTag:Xe().ignoreTag}))),ar=(t,e={})=>{var r,n,i,o;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:l=Je(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Ce(t,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!==(o=null!==(i=null===(n=(r=Xe()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:l,id:t,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==o?o:t;if(!a)return u;let h=u;try{h=sr(u,l).format(a)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},lr=(t,e)=>((t={})=>{var{locale:e=Je()}=t,r=ze(t,["locale"]);return or(Object.assign({locale:e},r))})(e).format(t),cr=(t,e)=>((t={})=>{var{locale:e=Je()}=t,r=ze(t,["locale"]);return ir(Object.assign({locale:e},r))})(e).format(t),ur=(t,e)=>((t={})=>{var{locale:e=Je()}=t,r=ze(t,["locale"]);return nr(Object.assign({locale:e},r))})(e).format(t),hr=(t,e=Je())=>Ce(t,e),pr=K([tr,Ne],(()=>ar));K([tr],(()=>lr)),K([tr],(()=>cr)),K([tr],(()=>ur)),K([tr,Ne],(()=>hr));const fr={en:{gamingLimits:{loadingText:"Loading, please wait...",Monthly:"month",Weekly:"week",Daily:"day",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",noLimitText:"There is currently no limit set.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",removeLimit:"REMOVE",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Succesful"}},fr:{gamingLimits:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",per:"par",updateText:"sera appliqué sur",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit"}},ro:{gamingLimits:{loadingText:"Se incarca, va rugam asteptati...",Monthly:"luna",Weekly:"saptamana",Daily:"zi",per:"pe",updateText:"va intra in vigoare incepand cu",noLimitText:"Momentan nu este setata o limita.",limitType:"Tip Limita",period:"Perioada",amount:"Valoare",new:"Limita pe",limit:"noua",setLimit:"ACCEPTA LIMITA",loss:"Limita de Pierdere",deposit:"Limita de Depunere",wager:"Limita de Pariere",removeLimit:"ELIMINA",popupPendingUpdate:"Am primit cererea de a schimba limita. Schimbarea va intra in vigoare in data de",popupImmediateUpdate:"Noua {selectedLimit} este {updatedAmount}{currency} pe {selectedPeriod}",popupTitle:"Limita schimbata",popupSuccess:"Succes!"}},es:{gamingLimits:{loadingText:"Cargando por favor espere..."}},pt:{gamingLimits:{loadingText:"Carregando, por favor espere..."}},de:{gamingLimits:{loadingText:"Laden, bitte warten..."}}};var mr="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==mr&&mr,dr="URLSearchParams"in mr,gr="Symbol"in mr&&"iterator"in Symbol,yr="FileReader"in mr&&"Blob"in mr&&function(){try{return new Blob,!0}catch(t){return!1}}(),br="FormData"in mr,vr="ArrayBuffer"in mr;if(vr)var Er=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Tr=ArrayBuffer.isView||function(t){return t&&Er.indexOf(Object.prototype.toString.call(t))>-1};function Lr(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function wr(t){return"string"!=typeof t&&(t=String(t)),t}
572
572
  // Build a destructive iterator for the value list
573
- function _r(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return gr&&(e[Symbol.iterator]=function(){return e}),e}function Ar(t){this.map={},t instanceof Ar?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function Br(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function Sr(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function Hr(t){var e=new FileReader,r=Sr(e);return e.readAsArrayBuffer(t),r}function Pr(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function xr(){return this.bodyUsed=!1,this._initBody=function(t){var e;
573
+ function _r(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return gr&&(e[Symbol.iterator]=function(){return e}),e}function Ar(t){this.map={},t instanceof Ar?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function Br(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function Sr(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function Hr(t){var e=new FileReader,r=Sr(e);return e.readAsArrayBuffer(t),r}function xr(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function Pr(){return this.bodyUsed=!1,this._initBody=function(t){var e;
574
574
  /*
575
575
  fetch-mock wraps the Response object in an ES6 Proxy to
576
576
  provide useful test harness features such as flush. However, on
@@ -581,15 +581,15 @@ function _r(t){var e={next:function(){var e=t.shift();return{done:void 0===e,val
581
581
  semantic of setting Request.bodyUsed in the constructor before
582
582
  _initBody is called.
583
583
  */
584
- this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:yr&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:br&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:dr&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():vr&&yr&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=Pr(t.buffer),
584
+ this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:yr&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:br&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:dr&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():vr&&yr&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=xr(t.buffer),
585
585
  // IE 10-11 can't handle a DataView body.
586
- this._bodyInit=new Blob([this._bodyArrayBuffer])):vr&&(ArrayBuffer.prototype.isPrototypeOf(t)||Tr(t))?this._bodyArrayBuffer=Pr(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):dr&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},yr&&(this.blob=function(){var t=Br(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=Br(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(Hr)}),this.text=function(){var t,e,r,n=Br(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=Sr(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},br&&(this.formData=function(){return this.text().then(Or)}),this.json=function(){return this.text().then(JSON.parse)},this}
586
+ this._bodyInit=new Blob([this._bodyArrayBuffer])):vr&&(ArrayBuffer.prototype.isPrototypeOf(t)||Tr(t))?this._bodyArrayBuffer=xr(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):dr&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},yr&&(this.blob=function(){var t=Br(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=Br(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(Hr)}),this.text=function(){var t,e,r,n=Br(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=Sr(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},br&&(this.formData=function(){return this.text().then(Or)}),this.json=function(){return this.text().then(JSON.parse)},this}
587
587
  // HTTP methods whose capitalization should be normalized
588
588
  Ar.prototype.append=function(t,e){t=Lr(t),e=wr(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},Ar.prototype.delete=function(t){delete this.map[Lr(t)]},Ar.prototype.get=function(t){return t=Lr(t),this.has(t)?this.map[t]:null},Ar.prototype.has=function(t){return this.map.hasOwnProperty(Lr(t))},Ar.prototype.set=function(t,e){this.map[Lr(t)]=wr(e)},Ar.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},Ar.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),_r(t)},Ar.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),_r(t)},Ar.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),_r(t)},gr&&(Ar.prototype[Symbol.iterator]=Ar.prototype.entries);var Ir=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function $r(t,e){if(!(this instanceof $r))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,i=(e=e||{}).body;if(t instanceof $r){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new Ar(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new Ar(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),Ir.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){
589
589
  // Search for a '_' parameter in the query string
590
590
  var o=/([?&])_=[^&]*/;if(o.test(this.url))
591
591
  // If it already exists then set the value with the current time
592
- this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Or(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}})),e}function Cr(t,e){if(!(this instanceof Cr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new Ar(e.headers),this.url=e.url||"",this._initBody(t)}$r.prototype.clone=function(){return new $r(this,{body:this._bodyInit})},xr.call($r.prototype),xr.call(Cr.prototype),Cr.prototype.clone=function(){return new Cr(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Ar(this.headers),url:this.url})},Cr.error=function(){var t=new Cr(null,{status:0,statusText:""});return t.type="error",t};var Rr=[301,302,303,307,308];Cr.redirect=function(t,e){if(-1===Rr.indexOf(e))throw new RangeError("Invalid status code");return new Cr(null,{status:e,headers:{location:t}})};var Nr=mr.DOMException;try{new Nr}catch(t){(Nr=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),Nr.prototype.constructor=Nr}function Mr(t,e){return new Promise((function(r,n){var i=new $r(t,e);if(i.signal&&i.signal.aborted)return n(new Nr("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var t,e,n={status:o.status,statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",e=new Ar,
592
+ this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Or(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}})),e}function Cr(t,e){if(!(this instanceof Cr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new Ar(e.headers),this.url=e.url||"",this._initBody(t)}$r.prototype.clone=function(){return new $r(this,{body:this._bodyInit})},Pr.call($r.prototype),Pr.call(Cr.prototype),Cr.prototype.clone=function(){return new Cr(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Ar(this.headers),url:this.url})},Cr.error=function(){var t=new Cr(null,{status:0,statusText:""});return t.type="error",t};var Rr=[301,302,303,307,308];Cr.redirect=function(t,e){if(-1===Rr.indexOf(e))throw new RangeError("Invalid status code");return new Cr(null,{status:e,headers:{location:t}})};var Nr=mr.DOMException;try{new Nr}catch(t){(Nr=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),Nr.prototype.constructor=Nr}function Mr(t,e){return new Promise((function(r,n){var i=new $r(t,e);if(i.signal&&i.signal.aborted)return n(new Nr("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var t,e,n={status:o.status,statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",e=new Ar,
593
593
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
594
594
  // https://github.com/github/fetch/issues/748
595
595
  // https://github.com/zloirock/core-js/issues/751
@@ -626,15 +626,15 @@ const Ln=t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackbe
626
626
  /* ../player-account-gaming-limits-page-2-gmcore/src/PlayerAccountGamingLimitsPage_2Gmcore.svelte generated by Svelte v3.48.0 */function wn(t,e,r){const n=t.slice();return n[46]=e[r],n}function _n(t,e,r){const n=t.slice();return n[49]=e[r],n}function An(t,e,r){const n=t.slice();return n[49]=e[r],n}function Bn(t,e,r){const n=t.slice();return n[54]=e[r],n}
627
627
  // (222:2) {#if popupVisible}
628
628
  function Sn(t){let e,r,n;function i(t,e){/*popupReady*/
629
- return t[10]?Hn:Pn}let o=i(t),s=o(t);return{c(){e=p("div"),r=p("div"),s.c(),b(r,"class",n="PopupContainer "+(/*isDesktop*/t[13]?"Desktop":"")),b(e,"class","PopupOverlay")},m(t,n){c(t,e,n),l(e,r),s.m(r,null)},p(t,e){o===(o=i(t))&&s?s.p(t,e):(s.d(1),s=o(t),s&&(s.c(),s.m(r,null)))},d(t){t&&u(e),s.d()}}}
629
+ return t[10]?Hn:xn}let o=i(t),s=o(t);return{c(){e=p("div"),r=p("div"),s.c(),b(r,"class",n="PopupContainer "+(/*isDesktop*/t[13]?"Desktop":"")),b(e,"class","PopupOverlay")},m(t,n){c(t,e,n),l(e,r),s.m(r,null)},p(t,e){o===(o=i(t))&&s?s.p(t,e):(s.d(1),s=o(t),s&&(s.c(),s.m(r,null)))},d(t){t&&u(e),s.d()}}}
630
630
  // (227:6) {:else}
631
- function Hn(t){let e,r,i,o,s,a,h,g,v,E,L,_,A,B,S,H,P,x,I,$,O,C,R,N,M=/*$_*/t[12]("gamingLimits.popupTitle")+"",D=/*$_*/t[12]("gamingLimits.popupSuccess")+"";return{c(){e=p("div"),r=p("span"),i=m(M),o=d(),s=p("button"),s.textContent="X",a=d(),h=p("div"),g=p("div"),v=f("svg"),E=f("defs"),L=f("style"),_=m(".fil0 {fill:black;fill-rule:nonzero}\n "),A=f("g"),B=f("polygon"),S=d(),H=p("p"),P=m(D),x=d(),I=p("p"),$=m(/*popupContent*/t[11]),O=d(),C=p("button"),C.textContent="OK",b(r,"class","PopupTitle"),b(s,"class","ClosePopup"),b(e,"class","PopupTitleWrapper"),b(L,"type","text/css"),b(B,"class","fil0"),b(B,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),b(v,"xmlns","http://www.w3.org/2000/svg"),b(v,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(v,"xml:space","preserve"),b(v,"version","1.1"),w(v,"shape-rendering","geometricPrecision"),w(v,"text-rendering","geometricPrecision"),w(v,"image-rendering","optimizeQuality"),b(v,"viewBox","0 0 90 69"),b(v,"x","0px"),b(v,"y","0px"),b(v,"fill-rule","evenodd"),b(v,"clip-rule","evenodd"),b(g,"class","ResultIconWrapper"),b(I,"class","DescriptionParagraph"),b(h,"class","DescriptionWrapper"),b(C,"class","ConfirmButton")},m(n,u){c(n,e,u),l(e,r),l(r,i),l(e,o),l(e,s),c(n,a,u),c(n,h,u),l(h,g),l(g,v),l(v,E),l(E,L),l(L,_),l(v,A),l(A,B),l(g,S),l(g,H),l(H,P),l(h,x),l(h,I),l(I,$),c(n,O,u),c(n,C,u),R||(N=[y(s,"click",/*closePopup*/t[19]),y(C,"click",/*closePopup*/t[19])],R=!0)},p(t,e){/*$_*/4096&e[0]&&M!==(M=/*$_*/t[12]("gamingLimits.popupTitle")+"")&&T(i,M),/*$_*/4096&e[0]&&D!==(D=/*$_*/t[12]("gamingLimits.popupSuccess")+"")&&T(P,D),/*popupContent*/2048&e[0]&&T($,/*popupContent*/t[11])},d(t){t&&u(e),t&&u(a),t&&u(h),t&&u(O),t&&u(C),R=!1,n(N)}}}
631
+ function Hn(t){let e,r,i,o,s,a,h,g,v,E,L,_,A,B,S,H,x,P,I,$,O,C,R,N,M=/*$_*/t[12]("gamingLimits.popupTitle")+"",D=/*$_*/t[12]("gamingLimits.popupSuccess")+"";return{c(){e=p("div"),r=p("span"),i=m(M),o=d(),s=p("button"),s.textContent="X",a=d(),h=p("div"),g=p("div"),v=f("svg"),E=f("defs"),L=f("style"),_=m(".fil0 {fill:black;fill-rule:nonzero}\n "),A=f("g"),B=f("polygon"),S=d(),H=p("p"),x=m(D),P=d(),I=p("p"),$=m(/*popupContent*/t[11]),O=d(),C=p("button"),C.textContent="OK",b(r,"class","PopupTitle"),b(s,"class","ClosePopup"),b(e,"class","PopupTitleWrapper"),b(L,"type","text/css"),b(B,"class","fil0"),b(B,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),b(v,"xmlns","http://www.w3.org/2000/svg"),b(v,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(v,"xml:space","preserve"),b(v,"version","1.1"),w(v,"shape-rendering","geometricPrecision"),w(v,"text-rendering","geometricPrecision"),w(v,"image-rendering","optimizeQuality"),b(v,"viewBox","0 0 90 69"),b(v,"x","0px"),b(v,"y","0px"),b(v,"fill-rule","evenodd"),b(v,"clip-rule","evenodd"),b(g,"class","ResultIconWrapper"),b(I,"class","DescriptionParagraph"),b(h,"class","DescriptionWrapper"),b(C,"class","ConfirmButton")},m(n,u){c(n,e,u),l(e,r),l(r,i),l(e,o),l(e,s),c(n,a,u),c(n,h,u),l(h,g),l(g,v),l(v,E),l(E,L),l(L,_),l(v,A),l(A,B),l(g,S),l(g,H),l(H,x),l(h,P),l(h,I),l(I,$),c(n,O,u),c(n,C,u),R||(N=[y(s,"click",/*closePopup*/t[19]),y(C,"click",/*closePopup*/t[19])],R=!0)},p(t,e){/*$_*/4096&e[0]&&M!==(M=/*$_*/t[12]("gamingLimits.popupTitle")+"")&&T(i,M),/*$_*/4096&e[0]&&D!==(D=/*$_*/t[12]("gamingLimits.popupSuccess")+"")&&T(x,D),/*popupContent*/2048&e[0]&&T($,/*popupContent*/t[11])},d(t){t&&u(e),t&&u(a),t&&u(h),t&&u(O),t&&u(C),R=!1,n(N)}}}
632
632
  // (225:6) {#if !popupReady}
633
- function Pn(e){let r;return{c(){r=p("div"),b(r,"class","LoadingIndicator")},m(t,e){c(t,r,e)},p:t,d(t){t&&u(r)}}}
633
+ function xn(e){let r;return{c(){r=p("div"),b(r,"class","LoadingIndicator")},m(t,e){c(t,r,e)},p:t,d(t){t&&u(r)}}}
634
634
  // (256:2) {:else}
635
- function xn(t){let e,r,i,o,s,a,f,g,v,w,_,A,B,S,H,P,x,I=/*multiplePeriods*/t[6]?`${/*$_*/t[12]("gamingLimits.amount")}`:`${/*$_*/t[12]("gamingLimits.new")} ${/*$_*/t[12](`gamingLimits.${/*selectedPeriod*/t[2]}`)} ${/*$_*/t[12]("gamingLimits.limit")}`,$=/*$_*/t[12]("gamingLimits.setLimit")+"",O=/*availableLimits*/t[14],C=[];for(let e=0;e<O.length;e+=1)C[e]=Un(An(t,O,e));let R=/*multipleLimits*/t[5]&&kn(t),N=/*multiplePeriods*/t[6]&&Fn(t);return{c(){e=p("div"),r=p("div"),i=p("div");for(let t=0;t<C.length;t+=1)C[t].c();o=d(),s=p("form"),R&&R.c(),a=d(),N&&N.c(),f=d(),g=p("label"),v=p("span"),w=m(I),_=d(),A=p("input"),B=d(),S=p("button"),H=m($),b(i,"class","LimitsList "+(/*isDesktop*/t[13]?"Desktop":"")),b(v,"class","LimitInputText"),b(A,"type","number"),b(g,"class","LimitAmountInputWrapper"),b(S,"class","LimitSubmitButton"),b(S,"type","button"),S.disabled=!0,b(s,"class","LimitsInteractionArea "+(/*isDesktop*/t[13]?"Desktop":"")),b(r,"class","LimitsPageContainer"),b(e,"class","player-account-gaming-limits-page-2-gmcore")},m(n,u){c(n,e,u),l(e,r),l(r,i);for(let t=0;t<C.length;t+=1)C[t].m(i,null);l(r,o),l(r,s),R&&R.m(s,null),l(s,a),N&&N.m(s,null),l(s,f),l(s,g),l(g,v),l(v,w),l(g,_),l(g,A),L(A,/*inputAmount*/t[3]),l(s,B),l(s,S),l(S,H),
636
- /*button_binding*/t[32](S),P||(x=[y(A,"input",/*input_input_handler*/t[31]),y(A,"keyup",/*updateInputValue*/t[17]),y(S,"click",/*updateLimits*/t[16]),y(s,"submit",/*updateLimits*/t[16])],P=!0)},p(t,e){if(/*isDesktop, availableLimits, removeLimit, $_*/290816&e[0]){let r;for(O=/*availableLimits*/t[14],r=0;r<O.length;r+=1){const n=An(t,O,r);C[r]?C[r].p(n,e):(C[r]=Un(n),C[r].c(),C[r].m(i,null))}for(;r<C.length;r+=1)C[r].d(1);C.length=O.length}/*multipleLimits*/t[5]?R?R.p(t,e):(R=kn(t),R.c(),R.m(s,a)):R&&(R.d(1),R=null),/*multiplePeriods*/t[6]?N?N.p(t,e):(N=Fn(t),N.c(),N.m(s,f)):N&&(N.d(1),N=null),/*multiplePeriods, $_, selectedPeriod*/4164&e[0]&&I!==(I=/*multiplePeriods*/t[6]?`${/*$_*/t[12]("gamingLimits.amount")}`:`${/*$_*/t[12]("gamingLimits.new")} ${/*$_*/t[12](`gamingLimits.${/*selectedPeriod*/t[2]}`)} ${/*$_*/t[12]("gamingLimits.limit")}`)&&T(w,I),/*inputAmount*/8&e[0]&&E(A.value)!==/*inputAmount*/t[3]&&L(A,/*inputAmount*/t[3]),/*$_*/4096&e[0]&&$!==($=/*$_*/t[12]("gamingLimits.setLimit")+"")&&T(H,$)},d(r){r&&u(e),h(C,r),R&&R.d(),N&&N.d()
637
- /*button_binding*/,t[32](null),P=!1,n(x)}}}
635
+ function Pn(t){let e,r,i,o,s,a,f,g,v,w,_,A,B,S,H,x,P,I=/*multiplePeriods*/t[6]?`${/*$_*/t[12]("gamingLimits.amount")}`:`${/*$_*/t[12]("gamingLimits.new")} ${/*$_*/t[12](`gamingLimits.${/*selectedPeriod*/t[2]}`)} ${/*$_*/t[12]("gamingLimits.limit")}`,$=/*$_*/t[12]("gamingLimits.setLimit")+"",O=/*availableLimits*/t[14],C=[];for(let e=0;e<O.length;e+=1)C[e]=Un(An(t,O,e));let R=/*multipleLimits*/t[5]&&kn(t),N=/*multiplePeriods*/t[6]&&Fn(t);return{c(){e=p("div"),r=p("div"),i=p("div");for(let t=0;t<C.length;t+=1)C[t].c();o=d(),s=p("form"),R&&R.c(),a=d(),N&&N.c(),f=d(),g=p("label"),v=p("span"),w=m(I),_=d(),A=p("input"),B=d(),S=p("button"),H=m($),b(i,"class","LimitsList "+(/*isDesktop*/t[13]?"Desktop":"")),b(v,"class","LimitInputText"),b(A,"type","number"),b(g,"class","LimitAmountInputWrapper"),b(S,"class","LimitSubmitButton"),b(S,"type","button"),S.disabled=!0,b(s,"class","LimitsInteractionArea "+(/*isDesktop*/t[13]?"Desktop":"")),b(r,"class","LimitsPageContainer"),b(e,"class","player-account-gaming-limits-page-2-gmcore")},m(n,u){c(n,e,u),l(e,r),l(r,i);for(let t=0;t<C.length;t+=1)C[t].m(i,null);l(r,o),l(r,s),R&&R.m(s,null),l(s,a),N&&N.m(s,null),l(s,f),l(s,g),l(g,v),l(v,w),l(g,_),l(g,A),L(A,/*inputAmount*/t[3]),l(s,B),l(s,S),l(S,H),
636
+ /*button_binding*/t[32](S),x||(P=[y(A,"input",/*input_input_handler*/t[31]),y(A,"keyup",/*updateInputValue*/t[17]),y(S,"click",/*updateLimits*/t[16]),y(s,"submit",/*updateLimits*/t[16])],x=!0)},p(t,e){if(/*isDesktop, availableLimits, removeLimit, $_*/290816&e[0]){let r;for(O=/*availableLimits*/t[14],r=0;r<O.length;r+=1){const n=An(t,O,r);C[r]?C[r].p(n,e):(C[r]=Un(n),C[r].c(),C[r].m(i,null))}for(;r<C.length;r+=1)C[r].d(1);C.length=O.length}/*multipleLimits*/t[5]?R?R.p(t,e):(R=kn(t),R.c(),R.m(s,a)):R&&(R.d(1),R=null),/*multiplePeriods*/t[6]?N?N.p(t,e):(N=Fn(t),N.c(),N.m(s,f)):N&&(N.d(1),N=null),/*multiplePeriods, $_, selectedPeriod*/4164&e[0]&&I!==(I=/*multiplePeriods*/t[6]?`${/*$_*/t[12]("gamingLimits.amount")}`:`${/*$_*/t[12]("gamingLimits.new")} ${/*$_*/t[12](`gamingLimits.${/*selectedPeriod*/t[2]}`)} ${/*$_*/t[12]("gamingLimits.limit")}`)&&T(w,I),/*inputAmount*/8&e[0]&&E(A.value)!==/*inputAmount*/t[3]&&L(A,/*inputAmount*/t[3]),/*$_*/4096&e[0]&&$!==($=/*$_*/t[12]("gamingLimits.setLimit")+"")&&T(H,$)},d(r){r&&u(e),h(C,r),R&&R.d(),N&&N.d()
637
+ /*button_binding*/,t[32](null),x=!1,n(P)}}}
638
638
  // (254:22)
639
639
  function In(e){let r;return{c(){r=p("p"),r.textContent="500 Server error"},m(t,e){c(t,r,e)},p:t,d(t){t&&u(r)}}}
640
640
  // (253:22)
@@ -665,16 +665,16 @@ function Gn(e){let r,n,i,o=/*limit*/e[49].title+"";return{c(){r=p("option"),n=m(
665
665
  function Fn(t){let e,r,n,i,o,s,a,f=/*$_*/t[12]("gamingLimits.period")+"",g=z[/*selectedLimit*/t[1]].periods,v=[];for(let e=0;e<g.length;e+=1)v[e]=jn(wn(t,g,e));return{c(){e=p("label"),r=p("span"),n=m(f),i=d(),o=p("select");for(let t=0;t<v.length;t+=1)v[t].c();b(r,"class","PeriodSelectText"),b(o,"name",""),b(o,"id",""),/*selectedPeriod*/void 0===t[2]&&N((()=>/*select_change_handler_1*/t[30].call(o))),b(e,"class","LimitPeriodDropdownWrapper")},m(u,h){c(u,e,h),l(e,r),l(r,n),l(e,i),l(e,o);for(let t=0;t<v.length;t+=1)v[t].m(o,null);_(o,/*selectedPeriod*/t[2]),s||(a=y(o,"change",/*select_change_handler_1*/t[30]),s=!0)},p(t,e){if(/*$_*/4096&e[0]&&f!==(f=/*$_*/t[12]("gamingLimits.period")+"")&&T(n,f),/*selectedLimit, $_*/4098&e[0]){let r;for(g=z[/*selectedLimit*/t[1]].periods,r=0;r<g.length;r+=1){const n=wn(t,g,r);v[r]?v[r].p(n,e):(v[r]=jn(n),v[r].c(),v[r].m(o,null))}for(;r<v.length;r+=1)v[r].d(1);v.length=g.length}/*selectedPeriod, selectedLimit*/6&e[0]&&_(o,/*selectedPeriod*/t[2])},d(t){t&&u(e),h(v,t),s=!1,a()}}}
666
666
  // (301:12) {#each limitsConfig[selectedLimit].periods as period}
667
667
  function jn(t){let e,r,n,i,o,s=/*$_*/t[12]("gamingLimits.per")+"",a=/*$_*/t[12](`gamingLimits.${/*period*/t[46]}`)+"";return{c(){e=p("option"),r=m(s),n=d(),i=m(a),e.__value=o=/*period*/t[46],e.value=e.__value,e.selected=!0},m(t,o){c(t,e,o),l(e,r),l(e,n),l(e,i)},p(t,n){/*$_*/4096&n[0]&&s!==(s=/*$_*/t[12]("gamingLimits.per")+"")&&T(r,s),/*$_, selectedLimit*/4098&n[0]&&a!==(a=/*$_*/t[12](`gamingLimits.${/*period*/t[46]}`)+"")&&T(i,a),/*selectedLimit, availableLimits*/16386&n[0]&&o!==(o=/*period*/t[46])&&(e.__value=o,e.value=e.__value)},d(t){t&&u(e)}}}function Vn(e){let r,n,i=/*popupVisible*/e[9]&&Sn(e);function o(t,e){/*isLoading*/
668
- return t[7]&&!/*popupVisible*/t[9]?On:/*isLoading*/t[7]?$n:/*hasErrors*/t[8]?In:xn}let s=o(e),a=s(e);return{c(){r=p("div"),i&&i.c(),n=d(),a.c(),this.c=t},m(t,o){c(t,r,o),i&&i.m(r,null),l(r,n),a.m(r,null),
668
+ return t[7]&&!/*popupVisible*/t[9]?On:/*isLoading*/t[7]?$n:/*hasErrors*/t[8]?In:Pn}let s=o(e),a=s(e);return{c(){r=p("div"),i&&i.c(),n=d(),a.c(),this.c=t},m(t,o){c(t,r,o),i&&i.m(r,null),l(r,n),a.m(r,null),
669
669
  /*div_binding*/e[33](r)},p(t,e){/*popupVisible*/t[9]?i?i.p(t,e):(i=Sn(t),i.c(),i.m(r,n)):i&&(i.d(1),i=null),s===(s=o(t))&&a?a.p(t,e):(a.d(1),a=s(t),a&&(a.c(),a.m(r,null)))},i:t,o:t,d(t){t&&u(r),i&&i.d(),a.d(),
670
- /*div_binding*/e[33](null)}}}function zn(t,e,r){let n;a(t,pr,(t=>r(12,n=t)));let i,o,s,l,{lang:c="en"}=e,{currency:u=""}=e,{limits:h=""}=e,{session:p=""}=e,{userid:f=""}=e,{endpoint:m=""}=e,{clientstyling:d=""}=e,{clientstylingurl:g=""}=e,y=window.navigator.userAgent,b=!Ln(y),v=[],T="",L="",w=!1,_=!1,B=!0,S=!1,H=!1,P=!1,x="";const $={EUR:"€",RON:" lei"};Object.keys(fr).forEach((t=>{!function(t,e){Ue(t,e)}(t,fr[t])}));const O=()=>{let t=new URL(`v2/player/${f}/limits`,m),e={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,e).then((t=>t.json())).then((t=>{l=t,H&&N(),C(l),r(7,B=!1),r(3,o=null)})).catch((t=>{console.log(t),r(8,S=!0)}))},C=t=>{v.forEach((e=>{var r;e.currentLimits=[],
670
+ /*div_binding*/e[33](null)}}}function zn(t,e,r){let n;a(t,pr,(t=>r(12,n=t)));let i,o,s,l,{lang:c="en"}=e,{currency:u=""}=e,{limits:h=""}=e,{session:p=""}=e,{userid:f=""}=e,{endpoint:m=""}=e,{clientstyling:d=""}=e,{clientstylingurl:g=""}=e,y=window.navigator.userAgent,b=!Ln(y),v=[],T="",L="",w=!1,_=!1,B=!0,S=!1,H=!1,x=!1,P="";const $={EUR:"€",RON:" lei"};Object.keys(fr).forEach((t=>{!function(t,e){Ue(t,e)}(t,fr[t])}));const O=()=>{let t=new URL(`v2/player/${f}/limits`,m),e={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,e).then((t=>t.json())).then((t=>{l=t,H&&N(),C(l),r(7,B=!1),r(3,o=null)})).catch((t=>{console.log(t),r(8,S=!0)}))},C=t=>{v.forEach((e=>{var r;e.currentLimits=[],
671
671
  // this is not n^2, despite the nesting loop. It's max totalLimitType * totalPeriodType, so 4 * 3 = 12 operations tops
672
672
  null===(r=t[z[e.value].callValue])||void 0===r||r.forEach(((r,n)=>{var i;const o=t[z[e.value].callValue][n];e.currentLimits.push({}),
673
673
  // format the limit data
674
- e.currentLimits[n].limitType=e.value,e.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),e.currentLimits[n].currency=null!==(i=$[o.currency])&&void 0!==i?i:o.currency,e.currentLimits[n].period=o.period,e.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),e.currentLimits[n].isModified=o.isModified,e.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),e.currentLimits=R(e.currentLimits)}))},R=t=>{const e={Daily:0,Weekly:1,Monthly:2};return t.sort(((t,r)=>e[t.period]-e[r.period])),t},N=()=>{if(l){const t=l[z[T].callValue].filter((t=>t.period===L))[0],e=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(t.amount);let i=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${T}`).toLowerCase()).replace("{updatedAmount}",e).replace("{currency}",$[t.currency]||t.currency).replace("{selectedPeriod}",n(`gamingLimits.${L}`).toLowerCase());r(11,x=t.isModified?`${n("gamingLimits.popupPendingUpdate")} ${new Date(t.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:i)}r(10,P=!0)},M=t=>{r(9,H=!0),r(7,B=!0);let e=new URL(`v2/player/${f}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit"}[t.limitType]}?periods=${t.period}`,m),n={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,n).then((t=>t.json())).then((t=>{O()})).catch((t=>{console.log(t),r(8,S=!0)}))},D=()=>{var t;t=c,tr.set(t)};return t.$$set=t=>{"lang"in t&&r(20,c=t.lang),"currency"in t&&r(21,u=t.currency),"limits"in t&&r(22,h=t.limits),"session"in t&&r(23,p=t.session),"userid"in t&&r(24,f=t.userid),"endpoint"in t&&r(25,m=t.endpoint),"clientstyling"in t&&r(26,d=t.clientstyling),"clientstylingurl"in t&&r(27,g=t.clientstylingurl)},t.$$.update=()=>{/*limits*/4194304&t.$$.dirty[0]&&h&&(h.split(" ").forEach((t=>{z[t]?v.push(z[t]):console.error(`Unknown limit: ${t}`)})),
674
+ e.currentLimits[n].limitType=e.value,e.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),e.currentLimits[n].currency=null!==(i=$[o.currency])&&void 0!==i?i:o.currency,e.currentLimits[n].period=o.period,e.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),e.currentLimits[n].isModified=o.isModified,e.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),e.currentLimits=R(e.currentLimits)}))},R=t=>{const e={Daily:0,Weekly:1,Monthly:2};return t.sort(((t,r)=>e[t.period]-e[r.period])),t},N=()=>{if(l){const t=l[z[T].callValue].filter((t=>t.period===L))[0],e=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(t.amount);let i=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${T}`).toLowerCase()).replace("{updatedAmount}",e).replace("{currency}",$[t.currency]||t.currency).replace("{selectedPeriod}",n(`gamingLimits.${L}`).toLowerCase());r(11,P=t.isModified?`${n("gamingLimits.popupPendingUpdate")} ${new Date(t.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:i)}r(10,x=!0)},M=t=>{r(9,H=!0),r(7,B=!0);let e=new URL(`v2/player/${f}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit"}[t.limitType]}?periods=${t.period}`,m),n={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,n).then((t=>t.json())).then((t=>{O()})).catch((t=>{console.log(t),r(8,S=!0)}))},D=()=>{var t;t=c,tr.set(t)};return t.$$set=t=>{"lang"in t&&r(20,c=t.lang),"currency"in t&&r(21,u=t.currency),"limits"in t&&r(22,h=t.limits),"session"in t&&r(23,p=t.session),"userid"in t&&r(24,f=t.userid),"endpoint"in t&&r(25,m=t.endpoint),"clientstyling"in t&&r(26,d=t.clientstyling),"clientstylingurl"in t&&r(27,g=t.clientstylingurl)},t.$$.update=()=>{/*limits*/4194304&t.$$.dirty[0]&&h&&(h.split(" ").forEach((t=>{z[t]?v.push(z[t]):console.error(`Unknown limit: ${t}`)})),
675
675
  //set default selected limit
676
- r(1,T=v[0].value),r(2,L=z[T].periods[0]),r(5,w=v.length>1),r(6,_=z[T].periods.length>1)),/*lang*/1048576&t.$$.dirty[0]&&c&&D(),/*userid, session, endpoint*/58720256&t.$$.dirty[0]&&f&&p&&m&&O(),/*clientstylingurl*/134217728&t.$$.dirty[0]&&g&&(()=>{let t=new URL(g),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,i&&(setTimeout((()=>{i.appendChild(e)}),1),setTimeout((()=>{}),500))}))})(),/*clientstyling*/67108864&t.$$.dirty[0]&&d&&(()=>{let t=document.createElement("style");t.innerHTML=d,i.appendChild(t)})()},[i,T,L,o,s,w,_,B,S,H,P,x,n,b,v,()=>{r(2,L=z[T].periods[0]),// select the first period by default until the user selects a different period
677
- r(6,_=z[T].periods.length>1)},()=>{if(!(o>0))return;r(9,H=!0),r(7,B=!0);let t=new URL(`v2/player/${f}/limits`,m);const e={};e[z[T].callValue]=[{period:L,amount:o,currency:u}];let n={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t.href,n).then((t=>t.json())).then((t=>{O()})).catch((t=>{console.log(t),r(8,S=!0)}))},()=>{const t=o-Math.floor(o)==0;o>0&&t?s.removeAttribute("disabled"):s.setAttribute("disabled","true")},M,()=>{r(10,P=r(9,H=!1))},c,u,h,p,f,m,d,g,t=>M(t),function(){T=A(this),r(1,T),r(14,v)},function(){L=A(this),r(2,L),r(1,T)},function(){o=E(this.value),r(3,o)},function(t){I[t?"unshift":"push"]((()=>{s=t,r(4,s)}))},function(t){I[t?"unshift":"push"]((()=>{i=t,r(0,i)}))}]}!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}select,input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:2px;border:1px solid #999}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gmcore{background:var(--emfe-w-color-black, #fff);color:var(--emfe-w-color-white, #333)}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:63%;padding:0 12px;margin:0 auto}.LimitsList.Desktop{display:flex;flex-wrap:wrap;justify-content:space-between;width:63%;margin:0 auto}.LimitWrapper{font-size:0.8rem;border:1px solid #ccc;padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:#7ac317;color:#fff;border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:#ccc 1px solid}.LimitDetailsTextWrapper{font-size:0.8rem;color:#666}.PendingLimit{color:#999}.LimitTitle{font-size:0.9rem}.PopupOverlay{position:absolute;top:0;left:0;background:#000;height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:#fff;font-size:1rem;color:#333;width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:0.8rem}.PopupTitleWrapper button{background:#fff;font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:0.8rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:#fff;color:#666;border:1px solid #ccc;border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:#f3f3fc}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px #7ac317;border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1.0s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1.0s;animation-iteration-count:infinite;animation-timing-function:linear}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},zn,Vn,o,{lang:20,currency:21,limits:22,session:23,userid:24,endpoint:25,clientstyling:26,clientstylingurl:27},null,[-1,-1]),t&&(t.target&&c(t.target,this,t.anchor),t.props&&(this.$set(t.props),U()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[20]}set lang(t){this.$$set({lang:t}),U()}get currency(){return this.$$.ctx[21]}set currency(t){this.$$set({currency:t}),U()}get limits(){return this.$$.ctx[22]}set limits(t){this.$$set({limits:t}),U()}get session(){return this.$$.ctx[23]}set session(t){this.$$set({session:t}),U()}get userid(){return this.$$.ctx[24]}set userid(t){this.$$set({userid:t}),U()}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),U()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),U()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),U()}});const Wn={en:{history:{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",loading:"Loading limits history...",error:"500 - Server Error",limitRemoved:"Limit removed"}},zh:{history:{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制"}},fr:{history:{expandLimits:"LIMITER L'HISTORIQUE",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée"}},ro:{history:{expandLimits:"ISTORIC LIMITE",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata"}}};
676
+ r(1,T=v[0].value),r(2,L=z[T].periods[0]),r(5,w=v.length>1),r(6,_=z[T].periods.length>1)),/*lang*/1048576&t.$$.dirty[0]&&c&&D(),/*userid, session, endpoint*/58720256&t.$$.dirty[0]&&f&&p&&m&&O(),/*clientstylingurl*/134217728&t.$$.dirty[0]&&g&&(()=>{let t=new URL(g),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,i&&(setTimeout((()=>{i.appendChild(e)}),1),setTimeout((()=>{}),500))}))})(),/*clientstyling*/67108864&t.$$.dirty[0]&&d&&(()=>{let t=document.createElement("style");t.innerHTML=d,i.appendChild(t)})()},[i,T,L,o,s,w,_,B,S,H,x,P,n,b,v,()=>{r(2,L=z[T].periods[0]),// select the first period by default until the user selects a different period
677
+ r(6,_=z[T].periods.length>1)},()=>{if(!(o>0))return;r(9,H=!0),r(7,B=!0);let t=new URL(`v2/player/${f}/limits`,m);const e={};e[z[T].callValue]=[{period:L,amount:o,currency:u}];let n={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t.href,n).then((t=>t.json())).then((t=>{O()})).catch((t=>{console.log(t),r(8,S=!0)}))},()=>{const t=o-Math.floor(o)==0;o>0&&t?s.removeAttribute("disabled"):s.setAttribute("disabled","true")},M,()=>{r(10,x=r(9,H=!1))},c,u,h,p,f,m,d,g,t=>M(t),function(){T=A(this),r(1,T),r(14,v)},function(){L=A(this),r(2,L),r(1,T)},function(){o=E(this.value),r(3,o)},function(t){I[t?"unshift":"push"]((()=>{s=t,r(4,s)}))},function(t){I[t?"unshift":"push"]((()=>{i=t,r(0,i)}))}]}!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}select,input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:2px;border:1px solid #999}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gmcore{background:var(--emfe-w-color-black, #fff);color:var(--emfe-w-color-white, #333)}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:63%;padding:0 12px;margin:0 auto}.LimitsList.Desktop{display:flex;flex-wrap:wrap;justify-content:space-between;width:63%;margin:0 auto}.LimitWrapper{font-size:0.8rem;border:1px solid #ccc;padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:#7ac317;color:#fff;border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:#ccc 1px solid}.LimitDetailsTextWrapper{font-size:0.8rem;color:#666}.PendingLimit{color:#999}.LimitTitle{font-size:0.9rem}.PopupOverlay{position:absolute;top:0;left:0;background:#000;height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:#fff;font-size:1rem;color:#333;width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:0.8rem}.PopupTitleWrapper button{background:#fff;font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:0.8rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:#fff;color:#666;border:1px solid #ccc;border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:#f3f3fc}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px #7ac317;border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1.0s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1.0s;animation-iteration-count:infinite;animation-timing-function:linear}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},zn,Vn,o,{lang:20,currency:21,limits:22,session:23,userid:24,endpoint:25,clientstyling:26,clientstylingurl:27},null,[-1,-1]),t&&(t.target&&c(t.target,this,t.anchor),t.props&&(this.$set(t.props),U()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[20]}set lang(t){this.$$set({lang:t}),U()}get currency(){return this.$$.ctx[21]}set currency(t){this.$$set({currency:t}),U()}get limits(){return this.$$.ctx[22]}set limits(t){this.$$set({limits:t}),U()}get session(){return this.$$.ctx[23]}set session(t){this.$$set({session:t}),U()}get userid(){return this.$$.ctx[24]}set userid(t){this.$$set({userid:t}),U()}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),U()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),U()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),U()}});const Wn={en:{history:{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",loading:"Loading limits history...",error:"500 - Server Error",limitRemoved:"Limit removed"}},zh:{history:{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制"}},fr:{history:{expandLimits:"LIMITER L'HISTORIQUE",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée"}},ro:{history:{expandLimits:"ISTORIC LIMITE",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata"}}};
678
678
  /* ../player-account-gaming-limits-history-2/src/PlayerAccountGamingLimitsHistory_2.svelte generated by Svelte v3.48.0 */function Xn(t,e,r){const n=t.slice();return n[24]=e[r],n}
679
679
  // (107:0) {:else}
680
680
  function Kn(t){let e,r,n,i,o,s,a,g,v,E,L,w,_=/*$_*/t[7]("history.expandLimits")+"",A=/*historyArray*/t[4],S=[];for(let e=0;e<A.length;e+=1)S[e]=Jn(Xn(t,A,e));return{c(){e=p("div"),r=p("div"),n=p("button"),i=m(_),o=d(),s=f("svg"),a=f("path"),g=f("path"),v=d(),E=p("div");for(let t=0;t<S.length;t+=1)S[t].c();b(a,"d","M10.5 15l7.5 7.5 7.5-7.5z"),b(g,"d","M0 0h36v36h-36z"),b(g,"fill","none"),b(s,"class","ExpandArrow"),b(s,"xmlns","http://www.w3.org/2000/svg"),b(s,"width","36"),b(s,"height","36"),b(s,"viewBox","0 0 36 36"),b(s,"fill","#999"),B(s,"extended",/*extended*/t[6]),b(n,"class","ExpandButton"),b(E,"class","HistoryDisplayArea"),B(E,"hidden",/*hidden*/t[5]),b(r,"class","HistoryWrapper "+(/*isDesktop*/t[8]?"Desktop":"")),b(e,"class","player-account-gaming-limits-history-2")},m(u,h){c(u,e,h),l(e,r),l(r,n),l(n,i),l(n,o),l(n,s),l(s,a),l(s,g),l(r,v),l(r,E);for(let t=0;t<S.length;t+=1)S[t].m(E,null);L||(w=y(n,"click",/*toggleHistoryDisplayArea*/t[9]),L=!0)},p(t,e){if(/*$_*/128&e&&_!==(_=/*$_*/t[7]("history.expandLimits")+"")&&T(i,_),/*extended*/64&e&&B(s,"extended",/*extended*/t[6]),/*historyArray, $_*/144&e){let r;for(A=/*historyArray*/t[4],r=0;r<A.length;r+=1){const n=Xn(t,A,r);S[r]?S[r].p(n,e):(S[r]=Jn(n),S[r].c(),S[r].m(E,null))}for(;r<S.length;r+=1)S[r].d(1);S.length=A.length}/*hidden*/32&e&&B(E,"hidden",/*hidden*/t[5])},d(t){t&&u(e),h(S,t),L=!1,w()}}}
@@ -695,25 +695,25 @@ return t[2]?Zn:/*isLoading*/t[3]?Yn:Kn}let i=n(e),o=i(e);return{c(){r=p("div"),o
695
695
  // hardcoded values because there's no date filtering requirement for the widget. However, the API requires these values
696
696
  t.searchParams.append("startDate","1970"),t.searchParams.append("endDate","2099");let e={method:"GET",headers:{"X-SessionID":u}};fetch(t.href,e).then((t=>t.json())).then((t=>{r(4,g=E(t)),r(3,d=!1)}),(t=>{console.error("There was an error",t),r(2,m=!0)}))})(),/*lang*/1&t.$$.dirty&&l&&T(),/*clientstylingurl*/16384&t.$$.dirty&&f&&(()=>{let t=new URL(f),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,i&&(setTimeout((()=>{i.appendChild(e)}),1),setTimeout((()=>{}),500))}))})(),/*clientstyling*/8192&t.$$.dirty&&p&&(()=>{let t=document.createElement("style");t.innerHTML=p,i.appendChild(t)})()},[l,i,m,d,g,y,b,n,s,()=>{r(5,y=!y),r(6,b=!b)},c,u,h,p,f,function(t){I[t?"unshift":"push"]((()=>{i=t,r(1,i)}))}]}
697
697
  /* src/PlayerAccountGamingLimitsWrapper_2.svelte generated by Svelte v3.48.0 */
698
- function ri(t,e,r){const n=t.slice();return n[25]=e[r],n}function ni(t,e,r){const n=t.slice();return n[28]=e[r],n[30]=r,n}
699
- // (67:2) {:else}
700
- function ii(t){let e,r,n,i,o=/*limitTabs*/t[9].length>1&&si(t),s=/*limitTabs*/t[9],a=[];for(let e=0;e<s.length;e+=1)a[e]=li(ri(t,s,e));let l=/*historyenabled*/"true"===t[5]&&ci(t);return{c(){o&&o.c(),e=d(),r=p("div");for(let t=0;t<a.length;t+=1)a[t].c();n=d(),l&&l.c(),i=g(),b(r,"class","player-account-gaming-limits-wrapper-2")},m(s,u){o&&o.m(s,u),c(s,e,u),c(s,r,u);for(let t=0;t<a.length;t+=1)a[t].m(r,null);
701
- /*div_binding_1*/t[19](r),c(s,n,u),l&&l.m(s,u),c(s,i,u)},p(t,n){if(/*limitTabs*/t[9].length>1?o?o.p(t,n):(o=si(t),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),/*lang, currency, limitTabs, userid, session, endpoint*/543&n){let e;for(s=/*limitTabs*/t[9],e=0;e<s.length;e+=1){const i=ri(t,s,e);a[e]?a[e].p(i,n):(a[e]=li(i),a[e].c(),a[e].m(r,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=s.length}/*historyenabled*/"true"===t[5]?l?l.p(t,n):(l=ci(t),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},d(s){o&&o.d(s),s&&u(e),s&&u(r),h(a,s),
702
- /*div_binding_1*/t[19](null),s&&u(n),l&&l.d(s),s&&u(i)}}}
703
- // (65:2) {#if isLoading}
698
+ function ri(t,e,r){const n=t.slice();return n[26]=e[r],n}function ni(t,e,r){const n=t.slice();return n[29]=e[r],n[31]=r,n}
699
+ // (69:2) {:else}
700
+ function ii(t){let e,r,n,i,o=/*limitTabs*/t[10].length>1&&si(t),s=/*limitTabs*/t[10],a=[];for(let e=0;e<s.length;e+=1)a[e]=li(ri(t,s,e));let l=/*historyenabled*/"true"===t[6]&&ci(t);return{c(){o&&o.c(),e=d(),r=p("div");for(let t=0;t<a.length;t+=1)a[t].c();n=d(),l&&l.c(),i=g(),b(r,"class","player-account-gaming-limits-wrapper-2")},m(s,u){o&&o.m(s,u),c(s,e,u),c(s,r,u);for(let t=0;t<a.length;t+=1)a[t].m(r,null);
701
+ /*div_binding_1*/t[20](r),c(s,n,u),l&&l.m(s,u),c(s,i,u)},p(t,n){if(/*limitTabs*/t[10].length>1?o?o.p(t,n):(o=si(t),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),/*lang, currency, limitTabs, userid, session, endpoint, apiversion*/1087&n[0]){let e;for(s=/*limitTabs*/t[10],e=0;e<s.length;e+=1){const i=ri(t,s,e);a[e]?a[e].p(i,n):(a[e]=li(i),a[e].c(),a[e].m(r,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=s.length}/*historyenabled*/"true"===t[6]?l?l.p(t,n):(l=ci(t),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},d(s){o&&o.d(s),s&&u(e),s&&u(r),h(a,s),
702
+ /*div_binding_1*/t[20](null),s&&u(n),l&&l.d(s),s&&u(i)}}}
703
+ // (67:2) {#if isLoading}
704
704
  function oi(e){return{c:t,m:t,p:t,d:t}}
705
- // (68:4) {#if limitTabs.length > 1}
706
- function si(t){let e,r=/*limitTabs*/t[9],n=[];for(let e=0;e<r.length;e+=1)n[e]=ai(ni(t,r,e));return{c(){e=p("div");for(let t=0;t<n.length;t+=1)n[t].c();b(e,"class","TabsContainer")},m(r,i){c(r,e,i);for(let t=0;t<n.length;t+=1)n[t].m(e,null);
707
- /*div_binding*/t[18](e)},p(t,i){if(/*limitTabs, selectTab, tabLabelArray*/5632&i){let o;for(r=/*limitTabs*/t[9],o=0;o<r.length;o+=1){const s=ni(t,r,o);n[o]?n[o].p(s,i):(n[o]=ai(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(r){r&&u(e),h(n,r),
708
- /*div_binding*/t[18](null)}}}
709
- // (70:8) {#each limitTabs as limit,i}
710
- function ai(t){let e,r,n,i,o=/*tabLabelArray*/(t[10][/*i*/t[30]]??/*limit*/t[28])+"";function s(){/*click_handler*/
711
- return t[17](/*i*/t[30])}return{c(){e=p("div"),r=m(o),b(e,"class","LimitsTab"),w(e,"width",100/ /*limitTabs*/t[9].length+"%")},m(t,o){c(t,e,o),l(e,r),n||(i=y(e,"click",s),n=!0)},p(n,i){t=n,/*tabLabelArray, limitTabs*/1536&i&&o!==(o=/*tabLabelArray*/(t[10][/*i*/t[30]]??/*limit*/t[28])+"")&&T(r,o),/*limitTabs*/512&i&&w(e,"width",100/ /*limitTabs*/t[9].length+"%")},d(t){t&&u(e),n=!1,i()}}}
712
- // (77:6) {#each limitTabs as limits}
713
- function li(t){let e,r;return{c(){e=p("player-account-gaming-limits-page-2-gmcore"),v(e,"class","hidden selected"),v(e,"lang",/*lang*/t[0]),v(e,"currency",/*currency*/t[4]),v(e,"limits",r=/*limits*/t[25]),v(e,"userid",/*userid*/t[1]),v(e,"session",/*session*/t[2]),v(e,"endpoint",/*endpoint*/t[3])},m(t,r){c(t,e,r)},p(t,n){/*lang*/1&n&&v(e,"lang",/*lang*/t[0]),/*currency*/16&n&&v(e,"currency",/*currency*/t[4]),/*limitTabs*/512&n&&r!==(r=/*limits*/t[25])&&v(e,"limits",r),/*userid*/2&n&&v(e,"userid",/*userid*/t[1]),/*session*/4&n&&v(e,"session",/*session*/t[2]),/*endpoint*/8&n&&v(e,"endpoint",/*endpoint*/t[3])},d(t){t&&u(e)}}}
714
- // (88:4) {#if historyenabled === 'true'}
715
- function ci(t){let e;return{c(){e=p("player-account-gaming-limits-history-2"),v(e,"lang",/*lang*/t[0]),v(e,"userid",/*userid*/t[1]),v(e,"session",/*session*/t[2]),v(e,"endpoint",/*endpoint*/t[3])},m(t,r){c(t,e,r)},p(t,r){/*lang*/1&r&&v(e,"lang",/*lang*/t[0]),/*userid*/2&r&&v(e,"userid",/*userid*/t[1]),/*session*/4&r&&v(e,"session",/*session*/t[2]),/*endpoint*/8&r&&v(e,"endpoint",/*endpoint*/t[3])},d(t){t&&u(e)}}}function ui(e){let r;function n(t,e){/*isLoading*/
716
- return t[7]?oi:ii}let i=n(e),o=i(e);return{c(){r=p("div"),o.c(),this.c=t},m(t,n){c(t,r,n),o.m(r,null),
717
- /*div_binding_2*/e[20](r)},p(t,[e]){i===(i=n(t))&&o?o.p(t,e):(o.d(1),o=i(t),o&&(o.c(),o.m(r,null)))},i:t,o:t,d(t){t&&u(r),o.d(),
718
- /*div_binding_2*/e[20](null)}}}function hi(t,e,r){let n,i,o,s,{lang:a=""}=e,{userid:l=""}=e,{session:c=""}=e,{endpoint:u=""}=e,{currency:h=""}=e,{includedlimits:p=""}=e,{tablabels:f=""}=e,{historyenabled:m="true"}=e,{clientstyling:d=""}=e,{clientstylingurl:g=""}=e,y=!0,b=[];const v=t=>{if(o.children.length>0)for(let e=0;e<o.children.length;e++)t===e?(o.children[e].classList.remove("hidden"),null==s||s.children[e].classList.add("selected")):(o.children[e].classList.add("hidden"),null==s||s.children[e].classList.remove("selected"))};return t.$$set=t=>{"lang"in t&&r(0,a=t.lang),"userid"in t&&r(1,l=t.userid),"session"in t&&r(2,c=t.session),"endpoint"in t&&r(3,u=t.endpoint),"currency"in t&&r(4,h=t.currency),"includedlimits"in t&&r(13,p=t.includedlimits),"tablabels"in t&&r(14,f=t.tablabels),"historyenabled"in t&&r(5,m=t.historyenabled),"clientstyling"in t&&r(15,d=t.clientstyling),"clientstylingurl"in t&&r(16,g=t.clientstylingurl)},t.$$.update=()=>{/*mainContainer*/64&t.$$.dirty&&o&&v(0),/*clientstylingurl*/65536&t.$$.dirty&&g&&(()=>{let t=new URL(g),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,n&&(setTimeout((()=>{n.appendChild(e)}),1),setTimeout((()=>{}),500))}))})(),/*clientstyling*/32768&t.$$.dirty&&d&&(()=>{let t=document.createElement("style");t.innerHTML=d,n.appendChild(t)})(),/*userid, session, endpoint, includedlimits, tablabels*/24590&t.$$.dirty&&l&&c&&u&&p&&f&&(r(9,b=p.split(",").map((t=>t.trim()))),r(10,i=f.split(",").map((t=>t.trim()))),r(7,y=!1))},[a,l,c,u,h,m,o,y,n,b,i,s,v,p,f,d,g,t=>v(t),function(t){I[t?"unshift":"push"]((()=>{s=t,r(11,s)}))},function(t){I[t?"unshift":"push"]((()=>{o=t,r(6,o)}))},function(t){I[t?"unshift":"push"]((()=>{n=t,r(8,n)}))}]}!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:0.8rem}*,*::before,*::after{color:#555;margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2{color:var(--emfe-w-color-white, #FFFFFF)}button{font-size:0.8rem;background-color:#fff;border:0;padding:0}.ExpandButton{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.extended{transform:rotate(180deg)}.HistoryWrapper{display:flex;flex-direction:column}.HistoryWrapper.Desktop{width:63%;padding:0 12px;margin:12px auto}.hidden{display:none}.HistoryRow{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:#ccc 1px solid}.GeneralLimitInformation{display:flex;flex-direction:column;gap:4px}.LimitType{font-size:0.8rem}.LimitAmountPeriod{color:#999}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},ei,ti,o,{lang:0,userid:10,session:11,endpoint:12,clientstyling:13,clientstylingurl:14},null),t&&(t.target&&c(t.target,this,t.anchor),t.props&&(this.$set(t.props),U()))}static get observedAttributes(){return["lang","userid","session","endpoint","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),U()}get userid(){return this.$$.ctx[10]}set userid(t){this.$$set({userid:t}),U()}get session(){return this.$$.ctx[11]}set session(t){this.$$set({session:t}),U()}get endpoint(){return this.$$.ctx[12]}set endpoint(t){this.$$set({endpoint:t}),U()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),U()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),U()}});class pi extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TabsContainer{height:42px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid #ccc}.LimitsTab{font-size:0.9rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;box-sizing:content-box}.hidden{display:none}.selected{border-bottom:3px solid #7ac317;color:#7ac317;margin:0}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},hi,ui,o,{lang:0,userid:1,session:2,endpoint:3,currency:4,includedlimits:13,tablabels:14,historyenabled:5,clientstyling:15,clientstylingurl:16},null),t&&(t.target&&c(t.target,this,t.anchor),t.props&&(this.$set(t.props),U()))}static get observedAttributes(){return["lang","userid","session","endpoint","currency","includedlimits","tablabels","historyenabled","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),U()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),U()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),U()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),U()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),U()}get includedlimits(){return this.$$.ctx[13]}set includedlimits(t){this.$$set({includedlimits:t}),U()}get tablabels(){return this.$$.ctx[14]}set tablabels(t){this.$$set({tablabels:t}),U()}get historyenabled(){return this.$$.ctx[5]}set historyenabled(t){this.$$set({historyenabled:t}),U()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(t){this.$$set({clientstyling:t}),U()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),U()}}return!customElements.get("player-account-gaming-limits-wrapper-2")&&customElements.define("player-account-gaming-limits-wrapper-2",pi),pi}));
705
+ // (70:4) {#if limitTabs.length > 1}
706
+ function si(t){let e,r=/*limitTabs*/t[10],n=[];for(let e=0;e<r.length;e+=1)n[e]=ai(ni(t,r,e));return{c(){e=p("div");for(let t=0;t<n.length;t+=1)n[t].c();b(e,"class","TabsContainer")},m(r,i){c(r,e,i);for(let t=0;t<n.length;t+=1)n[t].m(e,null);
707
+ /*div_binding*/t[19](e)},p(t,i){if(/*limitTabs, selectTab, tabLabelArray*/11264&i[0]){let o;for(r=/*limitTabs*/t[10],o=0;o<r.length;o+=1){const s=ni(t,r,o);n[o]?n[o].p(s,i):(n[o]=ai(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(r){r&&u(e),h(n,r),
708
+ /*div_binding*/t[19](null)}}}
709
+ // (72:8) {#each limitTabs as limit,i}
710
+ function ai(t){let e,r,n,i,o=/*tabLabelArray*/(t[11][/*i*/t[31]]??/*limit*/t[29])+"";function s(){/*click_handler*/
711
+ return t[18](/*i*/t[31])}return{c(){e=p("div"),r=m(o),b(e,"class","LimitsTab"),w(e,"width",100/ /*limitTabs*/t[10].length+"%")},m(t,o){c(t,e,o),l(e,r),n||(i=y(e,"click",s),n=!0)},p(n,i){t=n,/*tabLabelArray, limitTabs*/3072&i[0]&&o!==(o=/*tabLabelArray*/(t[11][/*i*/t[31]]??/*limit*/t[29])+"")&&T(r,o),/*limitTabs*/1024&i[0]&&w(e,"width",100/ /*limitTabs*/t[10].length+"%")},d(t){t&&u(e),n=!1,i()}}}
712
+ // (79:6) {#each limitTabs as limits}
713
+ function li(t){let e,r;return{c(){e=p("player-account-gaming-limits-page-2-gm16"),v(e,"class","hidden selected"),v(e,"lang",/*lang*/t[0]),v(e,"currency",/*currency*/t[4]),v(e,"limits",r=/*limits*/t[26]),v(e,"userid",/*userid*/t[1]),v(e,"session",/*session*/t[2]),v(e,"endpoint",/*endpoint*/t[3]),v(e,"apiversion",/*apiversion*/t[5])},m(t,r){c(t,e,r)},p(t,n){/*lang*/1&n[0]&&v(e,"lang",/*lang*/t[0]),/*currency*/16&n[0]&&v(e,"currency",/*currency*/t[4]),/*limitTabs*/1024&n[0]&&r!==(r=/*limits*/t[26])&&v(e,"limits",r),/*userid*/2&n[0]&&v(e,"userid",/*userid*/t[1]),/*session*/4&n[0]&&v(e,"session",/*session*/t[2]),/*endpoint*/8&n[0]&&v(e,"endpoint",/*endpoint*/t[3]),/*apiversion*/32&n[0]&&v(e,"apiversion",/*apiversion*/t[5])},d(t){t&&u(e)}}}
714
+ // (91:4) {#if historyenabled === 'true'}
715
+ function ci(t){let e;return{c(){e=p("player-account-gaming-limits-history-2"),v(e,"lang",/*lang*/t[0]),v(e,"userid",/*userid*/t[1]),v(e,"session",/*session*/t[2]),v(e,"endpoint",/*endpoint*/t[3])},m(t,r){c(t,e,r)},p(t,r){/*lang*/1&r[0]&&v(e,"lang",/*lang*/t[0]),/*userid*/2&r[0]&&v(e,"userid",/*userid*/t[1]),/*session*/4&r[0]&&v(e,"session",/*session*/t[2]),/*endpoint*/8&r[0]&&v(e,"endpoint",/*endpoint*/t[3])},d(t){t&&u(e)}}}function ui(e){let r;function n(t,e){/*isLoading*/
716
+ return t[8]?oi:ii}let i=n(e),o=i(e);return{c(){r=p("div"),o.c(),this.c=t},m(t,n){c(t,r,n),o.m(r,null),
717
+ /*div_binding_2*/e[21](r)},p(t,e){i===(i=n(t))&&o?o.p(t,e):(o.d(1),o=i(t),o&&(o.c(),o.m(r,null)))},i:t,o:t,d(t){t&&u(r),o.d(),
718
+ /*div_binding_2*/e[21](null)}}}function hi(t,e,r){let n,i,o,s,{lang:a=""}=e,{userid:l=""}=e,{session:c=""}=e,{endpoint:u=""}=e,{currency:h=""}=e,{apiversion:p=""}=e,{includedlimits:f=""}=e,{tablabels:m=""}=e,{historyenabled:d="true"}=e,{clientstyling:g=""}=e,{clientstylingurl:y=""}=e,b=!0,v=[];const E=t=>{if(o.children.length>0)for(let e=0;e<o.children.length;e++)t===e?(o.children[e].classList.remove("hidden"),null==s||s.children[e].classList.add("selected")):(o.children[e].classList.add("hidden"),null==s||s.children[e].classList.remove("selected"))};return t.$$set=t=>{"lang"in t&&r(0,a=t.lang),"userid"in t&&r(1,l=t.userid),"session"in t&&r(2,c=t.session),"endpoint"in t&&r(3,u=t.endpoint),"currency"in t&&r(4,h=t.currency),"apiversion"in t&&r(5,p=t.apiversion),"includedlimits"in t&&r(14,f=t.includedlimits),"tablabels"in t&&r(15,m=t.tablabels),"historyenabled"in t&&r(6,d=t.historyenabled),"clientstyling"in t&&r(16,g=t.clientstyling),"clientstylingurl"in t&&r(17,y=t.clientstylingurl)},t.$$.update=()=>{/*mainContainer*/128&t.$$.dirty[0]&&o&&E(0),/*clientstylingurl*/131072&t.$$.dirty[0]&&y&&(()=>{let t=new URL(y),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,n&&(setTimeout((()=>{n.appendChild(e)}),1),setTimeout((()=>{}),500))}))})(),/*clientstyling*/65536&t.$$.dirty[0]&&g&&(()=>{let t=document.createElement("style");t.innerHTML=g,n.appendChild(t)})(),/*userid, session, endpoint, includedlimits, tablabels*/49166&t.$$.dirty[0]&&l&&c&&u&&f&&m&&(r(10,v=f.split(",").map((t=>t.trim()))),r(11,i=m.split(",").map((t=>t.trim()))),r(8,b=!1))},[a,l,c,u,h,p,d,o,b,n,v,i,s,E,f,m,g,y,t=>E(t),function(t){I[t?"unshift":"push"]((()=>{s=t,r(12,s)}))},function(t){I[t?"unshift":"push"]((()=>{o=t,r(7,o)}))},function(t){I[t?"unshift":"push"]((()=>{n=t,r(9,n)}))}]}!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:0.8rem}*,*::before,*::after{color:#555;margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2{color:var(--emfe-w-color-white, #FFFFFF)}button{font-size:0.8rem;background-color:#fff;border:0;padding:0}.ExpandButton{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.extended{transform:rotate(180deg)}.HistoryWrapper{display:flex;flex-direction:column}.HistoryWrapper.Desktop{width:63%;padding:0 12px;margin:12px auto}.hidden{display:none}.HistoryRow{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:#ccc 1px solid}.GeneralLimitInformation{display:flex;flex-direction:column;gap:4px}.LimitType{font-size:0.8rem}.LimitAmountPeriod{color:#999}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},ei,ti,o,{lang:0,userid:10,session:11,endpoint:12,clientstyling:13,clientstylingurl:14},null),t&&(t.target&&c(t.target,this,t.anchor),t.props&&(this.$set(t.props),U()))}static get observedAttributes(){return["lang","userid","session","endpoint","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),U()}get userid(){return this.$$.ctx[10]}set userid(t){this.$$set({userid:t}),U()}get session(){return this.$$.ctx[11]}set session(t){this.$$set({session:t}),U()}get endpoint(){return this.$$.ctx[12]}set endpoint(t){this.$$set({endpoint:t}),U()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),U()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),U()}});class pi extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TabsContainer{height:42px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid #ccc}.LimitsTab{font-size:0.9rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;box-sizing:content-box}.hidden{display:none}.selected{border-bottom:3px solid #7ac317;color:#7ac317;margin:0}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},hi,ui,o,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,includedlimits:14,tablabels:15,historyenabled:6,clientstyling:16,clientstylingurl:17},null,[-1,-1]),t&&(t.target&&c(t.target,this,t.anchor),t.props&&(this.$set(t.props),U()))}static get observedAttributes(){return["lang","userid","session","endpoint","currency","apiversion","includedlimits","tablabels","historyenabled","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),U()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),U()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),U()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),U()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),U()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),U()}get includedlimits(){return this.$$.ctx[14]}set includedlimits(t){this.$$set({includedlimits:t}),U()}get tablabels(){return this.$$.ctx[15]}set tablabels(t){this.$$set({tablabels:t}),U()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),U()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(t){this.$$set({clientstyling:t}),U()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),U()}}return!customElements.get("player-account-gaming-limits-wrapper-2")&&customElements.define("player-account-gaming-limits-wrapper-2",pi),pi}));
719
719
  //# sourceMappingURL=player-account-gaming-limits-wrapper-2.js.map