@everymatrix/player-account-gaming-limits-group-edit 0.0.158 → 0.0.162

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.
@@ -29,6 +29,11 @@
29
29
  function is_empty(obj) {
30
30
  return Object.keys(obj).length === 0;
31
31
  }
32
+ function validate_store(store, name) {
33
+ if (store != null && typeof store.subscribe !== 'function') {
34
+ throw new Error(`'${name}' is not a store with a 'subscribe' method`);
35
+ }
36
+ }
32
37
  function subscribe(store, ...callbacks) {
33
38
  if (store == null) {
34
39
  return noop$1;
@@ -36,6 +41,9 @@
36
41
  const unsub = store.subscribe(...callbacks);
37
42
  return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
38
43
  }
44
+ function component_subscribe(component, store, callback) {
45
+ component.$$.on_destroy.push(subscribe(store, callback));
46
+ }
39
47
 
40
48
  const is_client = typeof window !== 'undefined';
41
49
  let now = is_client
@@ -459,6 +467,12 @@
459
467
  }
460
468
  };
461
469
  }
470
+
471
+ const globals = (typeof window !== 'undefined'
472
+ ? window
473
+ : typeof globalThis !== 'undefined'
474
+ ? globalThis
475
+ : global);
462
476
  function mount_component(component, target, anchor, customElement) {
463
477
  const { fragment, on_mount, on_destroy, after_update } = component.$$;
464
478
  fragment && fragment.m(target, anchor);
@@ -4716,7 +4730,7 @@
4716
4730
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4717
4731
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4718
4732
  PERFORMANCE OF THIS SOFTWARE.
4719
- ***************************************************************************** */function v(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]]);}return t}const O={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};function j(){return O}const k=writable(!1);let L;const T=writable(null);function x(e){return e.split("-").map(((e,n,t)=>t.slice(0,n+1).join("-"))).reverse()}function E(e,n=j().fallbackLocale){const t=x(e);return n?[...new Set([...t,...x(n)])]:t}function D(){return L}T.subscribe((e=>{L=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e);}));const M=T.set;T.set=e=>{if(function(e){if(null==e)return;const n=E(e);for(let e=0;e<n.length;e++){const t=n[e];if(u(t))return t}}(e)&&w(e)){const{loadingDelay:n}=j();let t;return "undefined"!=typeof window&&null!=D()&&n?t=window.setTimeout((()=>k.set(!0)),n):k.set(!0),b(e).then((()=>{M(e);})).finally((()=>{clearTimeout(t),k.set(!1);}))}return M(e)},T.update=e=>M(e(L));const Z=e=>{const n=Object.create(null);return t=>{const o=JSON.stringify(t);return o in n?n[o]:n[o]=e(t)}},C=(e,n)=>{const{formats:t}=j();if(e in t&&n in t[e])return t[e][n];throw new Error(`[svelte-i18n] Unknown "${n}" ${e} format.`)},G=Z((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(o=C("number",t)),new Intl.NumberFormat(n,o)})),J=Z((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?o=C("date",t):0===Object.keys(o).length&&(o=C("date","short")),new Intl.DateTimeFormat(n,o)})),U=Z((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?o=C("time",t):0===Object.keys(o).length&&(o=C("time","short")),new Intl.DateTimeFormat(n,o)})),_=(e={})=>{var{locale:n=D()}=e,t=v(e,["locale"]);return G(Object.assign({locale:n},t))},q=(e={})=>{var{locale:n=D()}=e,t=v(e,["locale"]);return J(Object.assign({locale:n},t))},B=(e={})=>{var{locale:n=D()}=e,t=v(e,["locale"]);return U(Object.assign({locale:n},t))},H=Z(((e,n=D())=>new IntlMessageFormat(e,n,j().formats,{ignoreTag:j().ignoreTag}))),K=(e,n={})=>{"object"==typeof e&&(e=(n=e).id);const{values:t,locale:o=D(),default:r}=n;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=a(e,o);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else j().warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${E(o).join('", "')}".${w(D())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=r||e;if(!t)return i;let l=i;try{l=H(i,o).format(t);}catch(n){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,n.message);}return l},Q=(e,n)=>B(n).format(e),R=(e,n)=>q(n).format(e),V=(e,n)=>_(n).format(e),W=(e,n=D())=>a(e,n);derived([T,s],(()=>K));derived([T],(()=>Q));derived([T],(()=>R));derived([T],(()=>V));derived([T,s],(()=>W));
4733
+ ***************************************************************************** */function v(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]]);}return t}const O={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};function j(){return O}const k=writable(!1);let L;const T=writable(null);function x(e){return e.split("-").map(((e,n,t)=>t.slice(0,n+1).join("-"))).reverse()}function E(e,n=j().fallbackLocale){const t=x(e);return n?[...new Set([...t,...x(n)])]:t}function D(){return L}T.subscribe((e=>{L=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e);}));const M=T.set;T.set=e=>{if(function(e){if(null==e)return;const n=E(e);for(let e=0;e<n.length;e++){const t=n[e];if(u(t))return t}}(e)&&w(e)){const{loadingDelay:n}=j();let t;return "undefined"!=typeof window&&null!=D()&&n?t=window.setTimeout((()=>k.set(!0)),n):k.set(!0),b(e).then((()=>{M(e);})).finally((()=>{clearTimeout(t),k.set(!1);}))}return M(e)},T.update=e=>M(e(L));const Z=e=>{const n=Object.create(null);return t=>{const o=JSON.stringify(t);return o in n?n[o]:n[o]=e(t)}},C=(e,n)=>{const{formats:t}=j();if(e in t&&n in t[e])return t[e][n];throw new Error(`[svelte-i18n] Unknown "${n}" ${e} format.`)},G=Z((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(o=C("number",t)),new Intl.NumberFormat(n,o)})),J=Z((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?o=C("date",t):0===Object.keys(o).length&&(o=C("date","short")),new Intl.DateTimeFormat(n,o)})),U=Z((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?o=C("time",t):0===Object.keys(o).length&&(o=C("time","short")),new Intl.DateTimeFormat(n,o)})),_=(e={})=>{var{locale:n=D()}=e,t=v(e,["locale"]);return G(Object.assign({locale:n},t))},q=(e={})=>{var{locale:n=D()}=e,t=v(e,["locale"]);return J(Object.assign({locale:n},t))},B=(e={})=>{var{locale:n=D()}=e,t=v(e,["locale"]);return U(Object.assign({locale:n},t))},H=Z(((e,n=D())=>new IntlMessageFormat(e,n,j().formats,{ignoreTag:j().ignoreTag}))),K=(e,n={})=>{"object"==typeof e&&(e=(n=e).id);const{values:t,locale:o=D(),default:r}=n;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=a(e,o);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else j().warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${E(o).join('", "')}".${w(D())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=r||e;if(!t)return i;let l=i;try{l=H(i,o).format(t);}catch(n){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,n.message);}return l},Q=(e,n)=>B(n).format(e),R=(e,n)=>q(n).format(e),V=(e,n)=>_(n).format(e),W=(e,n=D())=>a(e,n),X=derived([T,s],(()=>K));derived([T],(()=>Q));derived([T],(()=>R));derived([T],(()=>V));derived([T,s],(()=>W));
4720
4734
 
4721
4735
  window.emWidgets = { topic };
4722
4736
 
@@ -10406,10 +10420,29 @@
10406
10420
  })));
10407
10421
  });
10408
10422
 
10423
+ function addNewMessages(lang, dict) {
10424
+ m(lang, dict);
10425
+ }
10426
+
10427
+ const PlayerGamingLimitsTranslations = {
10428
+ en: {
10429
+ popupText: {
10430
+ amountChanged: `Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:`,
10431
+ }
10432
+ },
10433
+ ro: {
10434
+ popupText: {
10435
+ amountChanged: `Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:`,
10436
+ }
10437
+ }
10438
+ };
10439
+
10409
10440
  /* ../player-account-gaming-limits-popup/src/PlayerAccountGamingLimitsPopup.svelte generated by Svelte v3.37.0 */
10441
+
10442
+ const { Object: Object_1 } = globals;
10410
10443
  const file$3 = "../player-account-gaming-limits-popup/src/PlayerAccountGamingLimitsPopup.svelte";
10411
10444
 
10412
- // (19:0) {#if showPopup}
10445
+ // (42:0) {#if showPopup}
10413
10446
  function create_if_block$2(ctx) {
10414
10447
  let section;
10415
10448
  let div5;
@@ -10424,11 +10457,18 @@
10424
10457
  let path;
10425
10458
  let t4;
10426
10459
  let div4;
10427
- let p;
10428
- let t5;
10460
+ let div5_class_value;
10429
10461
  let mounted;
10430
10462
  let dispose;
10431
10463
 
10464
+ function select_block_type(ctx, dirty) {
10465
+ if (/*iteminfoamount*/ ctx[0]) return create_if_block_1$1;
10466
+ return create_else_block$1;
10467
+ }
10468
+
10469
+ let current_block_type = select_block_type(ctx);
10470
+ let if_block = current_block_type(ctx);
10471
+
10432
10472
  const block = {
10433
10473
  c: function create() {
10434
10474
  section = element("section");
@@ -10438,42 +10478,43 @@
10438
10478
  div0.textContent = "i";
10439
10479
  t1 = space();
10440
10480
  div1 = element("div");
10441
- t2 = text(/*infoname*/ ctx[1]);
10481
+ t2 = text(/*infoname*/ ctx[2]);
10442
10482
  t3 = space();
10443
10483
  div2 = element("div");
10444
10484
  svg = svg_element("svg");
10445
10485
  path = svg_element("path");
10446
10486
  t4 = space();
10447
10487
  div4 = element("div");
10448
- p = element("p");
10449
- t5 = text(/*infocontent*/ ctx[0]);
10488
+ if_block.c();
10450
10489
  attr_dev(div0, "class", "InfoCardPopupIcon");
10451
- add_location(div0, file$3, 22, 8, 793);
10490
+ add_location(div0, file$3, 45, 8, 1569);
10452
10491
  attr_dev(div1, "class", "InfoCardPopupTitle");
10453
- add_location(div1, file$3, 23, 8, 840);
10492
+ add_location(div1, file$3, 46, 8, 1616);
10454
10493
  attr_dev(path, "stroke-linecap", "round");
10455
10494
  attr_dev(path, "stroke-linejoin", "round");
10456
10495
  attr_dev(path, "stroke-width", "2");
10457
10496
  attr_dev(path, "d", "M6 18L18 6M6 6l12 12");
10458
- add_location(path, file$3, 25, 120, 1097);
10497
+ add_location(path, file$3, 48, 120, 1873);
10459
10498
  attr_dev(svg, "class", "w-6 h-6");
10460
10499
  attr_dev(svg, "fill", "none");
10461
10500
  attr_dev(svg, "stroke", "currentColor");
10462
10501
  attr_dev(svg, "viewBox", "0 0 24 24");
10463
10502
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
10464
- add_location(svg, file$3, 25, 10, 987);
10503
+ add_location(svg, file$3, 48, 10, 1763);
10465
10504
  attr_dev(div2, "class", "InfoCardPopupCloseButton");
10466
- add_location(div2, file$3, 24, 8, 897);
10505
+ add_location(div2, file$3, 47, 8, 1673);
10467
10506
  attr_dev(div3, "class", "InfoCardPopupHeader");
10468
- add_location(div3, file$3, 21, 6, 751);
10469
- attr_dev(p, "class", "InfoCardPopupContent");
10470
- add_location(p, file$3, 29, 8, 1287);
10507
+ add_location(div3, file$3, 44, 6, 1527);
10471
10508
  attr_dev(div4, "class", "InfoCardPopupContentArea");
10472
- add_location(div4, file$3, 28, 6, 1240);
10473
- attr_dev(div5, "class", "InfoCardPopupWrapper " + (/*isMobile*/ ctx[3] ? "InfoCardPopupMobileWrapper" : ""));
10474
- add_location(div5, file$3, 20, 4, 663);
10475
- attr_dev(section, "class", /*isMobile*/ ctx[3] ? "InfoCardPopupMobileModal" : "");
10476
- add_location(section, file$3, 19, 2, 598);
10509
+ add_location(div4, file$3, 51, 6, 2016);
10510
+
10511
+ attr_dev(div5, "class", div5_class_value = "InfoCardPopupWrapper " + (/*isMobile*/ ctx[6] ? "InfoCardPopupMobileWrapper" : "") + " " + (/*iteminfoamount*/ ctx[0]
10512
+ ? "InfoCardPopupLimitChanged"
10513
+ : ""));
10514
+
10515
+ add_location(div5, file$3, 43, 4, 1387);
10516
+ attr_dev(section, "class", /*isMobile*/ ctx[6] ? "InfoCardPopupMobileModal" : "");
10517
+ add_location(section, file$3, 42, 2, 1322);
10477
10518
  },
10478
10519
  m: function mount(target, anchor) {
10479
10520
  insert_dev(target, section, anchor);
@@ -10489,20 +10530,37 @@
10489
10530
  append_dev(svg, path);
10490
10531
  append_dev(div5, t4);
10491
10532
  append_dev(div5, div4);
10492
- append_dev(div4, p);
10493
- append_dev(p, t5);
10533
+ if_block.m(div4, null);
10494
10534
 
10495
10535
  if (!mounted) {
10496
- dispose = listen_dev(div2, "click", prevent_default(/*closeInfoPopup*/ ctx[4]), false, true, false);
10536
+ dispose = listen_dev(div2, "click", prevent_default(/*closeInfoPopup*/ ctx[7]), false, true, false);
10497
10537
  mounted = true;
10498
10538
  }
10499
10539
  },
10500
10540
  p: function update(ctx, dirty) {
10501
- if (dirty & /*infoname*/ 2) set_data_dev(t2, /*infoname*/ ctx[1]);
10502
- if (dirty & /*infocontent*/ 1) set_data_dev(t5, /*infocontent*/ ctx[0]);
10541
+ if (dirty & /*infoname*/ 4) set_data_dev(t2, /*infoname*/ ctx[2]);
10542
+
10543
+ if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
10544
+ if_block.p(ctx, dirty);
10545
+ } else {
10546
+ if_block.d(1);
10547
+ if_block = current_block_type(ctx);
10548
+
10549
+ if (if_block) {
10550
+ if_block.c();
10551
+ if_block.m(div4, null);
10552
+ }
10553
+ }
10554
+
10555
+ if (dirty & /*iteminfoamount*/ 1 && div5_class_value !== (div5_class_value = "InfoCardPopupWrapper " + (/*isMobile*/ ctx[6] ? "InfoCardPopupMobileWrapper" : "") + " " + (/*iteminfoamount*/ ctx[0]
10556
+ ? "InfoCardPopupLimitChanged"
10557
+ : ""))) {
10558
+ attr_dev(div5, "class", div5_class_value);
10559
+ }
10503
10560
  },
10504
10561
  d: function destroy(detaching) {
10505
10562
  if (detaching) detach_dev(section);
10563
+ if_block.d();
10506
10564
  mounted = false;
10507
10565
  dispose();
10508
10566
  }
@@ -10512,7 +10570,90 @@
10512
10570
  block,
10513
10571
  id: create_if_block$2.name,
10514
10572
  type: "if",
10515
- source: "(19:0) {#if showPopup}",
10573
+ source: "(42:0) {#if showPopup}",
10574
+ ctx
10575
+ });
10576
+
10577
+ return block;
10578
+ }
10579
+
10580
+ // (55:8) {:else}
10581
+ function create_else_block$1(ctx) {
10582
+ let p;
10583
+ let t;
10584
+
10585
+ const block = {
10586
+ c: function create() {
10587
+ p = element("p");
10588
+ t = text(/*infocontent*/ ctx[1]);
10589
+ attr_dev(p, "class", "InfoCardPopupContent");
10590
+ add_location(p, file$3, 55, 10, 2252);
10591
+ },
10592
+ m: function mount(target, anchor) {
10593
+ insert_dev(target, p, anchor);
10594
+ append_dev(p, t);
10595
+ },
10596
+ p: function update(ctx, dirty) {
10597
+ if (dirty & /*infocontent*/ 2) set_data_dev(t, /*infocontent*/ ctx[1]);
10598
+ },
10599
+ d: function destroy(detaching) {
10600
+ if (detaching) detach_dev(p);
10601
+ }
10602
+ };
10603
+
10604
+ dispatch_dev("SvelteRegisterBlock", {
10605
+ block,
10606
+ id: create_else_block$1.name,
10607
+ type: "else",
10608
+ source: "(55:8) {:else}",
10609
+ ctx
10610
+ });
10611
+
10612
+ return block;
10613
+ }
10614
+
10615
+ // (53:8) {#if iteminfoamount}
10616
+ function create_if_block_1$1(ctx) {
10617
+ let p;
10618
+
10619
+ let t_value = /*$_*/ ctx[5]("popupText.amountChanged", {
10620
+ values: {
10621
+ amount: /*iteminfoamount*/ ctx[0],
10622
+ currency: /*playercurrency*/ ctx[3]
10623
+ }
10624
+ }) + "";
10625
+
10626
+ let t;
10627
+
10628
+ const block = {
10629
+ c: function create() {
10630
+ p = element("p");
10631
+ t = text(t_value);
10632
+ attr_dev(p, "class", "InfoCardPopupContent");
10633
+ add_location(p, file$3, 53, 10, 2094);
10634
+ },
10635
+ m: function mount(target, anchor) {
10636
+ insert_dev(target, p, anchor);
10637
+ append_dev(p, t);
10638
+ },
10639
+ p: function update(ctx, dirty) {
10640
+ if (dirty & /*$_, iteminfoamount, playercurrency*/ 41 && t_value !== (t_value = /*$_*/ ctx[5]("popupText.amountChanged", {
10641
+ values: {
10642
+ amount: /*iteminfoamount*/ ctx[0],
10643
+ currency: /*playercurrency*/ ctx[3]
10644
+ }
10645
+ }) + "")) set_data_dev(t, t_value);
10646
+ },
10647
+ d: function destroy(detaching) {
10648
+ if (detaching) detach_dev(p);
10649
+ }
10650
+ };
10651
+
10652
+ dispatch_dev("SvelteRegisterBlock", {
10653
+ block,
10654
+ id: create_if_block_1$1.name,
10655
+ type: "if",
10656
+ source: "(53:8) {#if iteminfoamount}",
10516
10657
  ctx
10517
10658
  });
10518
10659
 
@@ -10521,7 +10662,7 @@
10521
10662
 
10522
10663
  function create_fragment$3(ctx) {
10523
10664
  let if_block_anchor;
10524
- let if_block = /*showPopup*/ ctx[2] && create_if_block$2(ctx);
10665
+ let if_block = /*showPopup*/ ctx[4] && create_if_block$2(ctx);
10525
10666
 
10526
10667
  const block = {
10527
10668
  c: function create() {
@@ -10537,7 +10678,7 @@
10537
10678
  insert_dev(target, if_block_anchor, anchor);
10538
10679
  },
10539
10680
  p: function update(ctx, [dirty]) {
10540
- if (/*showPopup*/ ctx[2]) {
10681
+ if (/*showPopup*/ ctx[4]) {
10541
10682
  if (if_block) {
10542
10683
  if_block.p(ctx, dirty);
10543
10684
  } else {
@@ -10570,62 +10711,112 @@
10570
10711
  }
10571
10712
 
10572
10713
  function instance$3($$self, $$props, $$invalidate) {
10714
+ let $_;
10715
+ validate_store(X, "_");
10716
+ component_subscribe($$self, X, $$value => $$invalidate(5, $_ = $$value));
10573
10717
  let { $$slots: slots = {}, $$scope } = $$props;
10574
10718
  validate_slots("undefined", slots, []);
10575
10719
  let { showpopup = "" } = $$props;
10576
10720
  let { infocontent = "" } = $$props;
10577
10721
  let { infoname = "" } = $$props;
10722
+ let { iteminfoamount = "" } = $$props;
10723
+ let { lang = "en" } = $$props;
10724
+ let { playercurrency = "USD" } = $$props;
10578
10725
  let showPopup = false;
10726
+
10727
+ Object.keys(PlayerGamingLimitsTranslations).forEach(item => {
10728
+ addNewMessages(item, PlayerGamingLimitsTranslations[item]);
10729
+ });
10730
+
10579
10731
  let userAgent = window.navigator.userAgent;
10580
10732
  let isMobile = getDevice(userAgent) === "PC" ? false : true;
10581
10733
 
10582
10734
  const closeInfoPopup = () => {
10583
- $$invalidate(2, showPopup = false);
10735
+ $$invalidate(4, showPopup = false);
10584
10736
 
10585
10737
  window.postMessage(
10586
10738
  {
10587
- type: "ClosePlayerAccountGamingLimitsPopup",
10588
- showPopup
10739
+ type: "ClosePlayerAccountGamingLimitsPopup"
10589
10740
  },
10590
10741
  window.location.href
10591
10742
  );
10592
10743
  };
10593
10744
 
10745
+ const messageHandler = e => {
10746
+ if (e.data && e.data.type == "ClosePlayerAccountGamingLimitsPopup") {
10747
+ $$invalidate(4, showPopup = false);
10748
+ }
10749
+ };
10750
+
10594
10751
  const initialLoad = () => {
10595
- $$invalidate(2, showPopup = showpopup);
10752
+ if (iteminfoamount < 0) {
10753
+ $$invalidate(0, iteminfoamount = "0");
10754
+ }
10755
+
10756
+ $$invalidate(4, showPopup = showpopup);
10596
10757
  };
10597
10758
 
10598
- const writable_props = ["showpopup", "infocontent", "infoname"];
10759
+ onMount(() => {
10760
+ window.addEventListener("message", messageHandler, false);
10599
10761
 
10600
- Object.keys($$props).forEach(key => {
10762
+ return () => {
10763
+ window.removeEventListener("message", messageHandler);
10764
+ };
10765
+ });
10766
+
10767
+ const writable_props = [
10768
+ "showpopup",
10769
+ "infocontent",
10770
+ "infoname",
10771
+ "iteminfoamount",
10772
+ "lang",
10773
+ "playercurrency"
10774
+ ];
10775
+
10776
+ Object_1.keys($$props).forEach(key => {
10601
10777
  if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
10602
10778
  });
10603
10779
 
10604
10780
  $$self.$$set = $$props => {
10605
- if ("showpopup" in $$props) $$invalidate(5, showpopup = $$props.showpopup);
10606
- if ("infocontent" in $$props) $$invalidate(0, infocontent = $$props.infocontent);
10607
- if ("infoname" in $$props) $$invalidate(1, infoname = $$props.infoname);
10781
+ if ("showpopup" in $$props) $$invalidate(8, showpopup = $$props.showpopup);
10782
+ if ("infocontent" in $$props) $$invalidate(1, infocontent = $$props.infocontent);
10783
+ if ("infoname" in $$props) $$invalidate(2, infoname = $$props.infoname);
10784
+ if ("iteminfoamount" in $$props) $$invalidate(0, iteminfoamount = $$props.iteminfoamount);
10785
+ if ("lang" in $$props) $$invalidate(9, lang = $$props.lang);
10786
+ if ("playercurrency" in $$props) $$invalidate(3, playercurrency = $$props.playercurrency);
10608
10787
  };
10609
10788
 
10610
10789
  $$self.$capture_state = () => ({
10790
+ onMount,
10791
+ getDevice,
10792
+ _: X,
10793
+ addNewMessages,
10794
+ PlayerGamingLimitsTranslations,
10611
10795
  showpopup,
10612
10796
  infocontent,
10613
10797
  infoname,
10614
- getDevice,
10798
+ iteminfoamount,
10799
+ lang,
10800
+ playercurrency,
10615
10801
  showPopup,
10616
10802
  userAgent,
10617
10803
  isMobile,
10618
10804
  closeInfoPopup,
10619
- initialLoad
10805
+ messageHandler,
10806
+ initialLoad,
10807
+ $_
10620
10808
  });
10621
10809
 
10622
10810
  $$self.$inject_state = $$props => {
10623
- if ("showpopup" in $$props) $$invalidate(5, showpopup = $$props.showpopup);
10624
- if ("infocontent" in $$props) $$invalidate(0, infocontent = $$props.infocontent);
10625
- if ("infoname" in $$props) $$invalidate(1, infoname = $$props.infoname);
10626
- if ("showPopup" in $$props) $$invalidate(2, showPopup = $$props.showPopup);
10811
+ if ("showpopup" in $$props) $$invalidate(8, showpopup = $$props.showpopup);
10812
+ if ("infocontent" in $$props) $$invalidate(1, infocontent = $$props.infocontent);
10813
+ if ("infoname" in $$props) $$invalidate(2, infoname = $$props.infoname);
10814
+ if ("iteminfoamount" in $$props) $$invalidate(0, iteminfoamount = $$props.iteminfoamount);
10815
+ if ("lang" in $$props) $$invalidate(9, lang = $$props.lang);
10816
+ if ("playercurrency" in $$props) $$invalidate(3, playercurrency = $$props.playercurrency);
10817
+ if ("showPopup" in $$props) $$invalidate(4, showPopup = $$props.showPopup);
10627
10818
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
10628
- if ("isMobile" in $$props) $$invalidate(3, isMobile = $$props.isMobile);
10819
+ if ("isMobile" in $$props) $$invalidate(6, isMobile = $$props.isMobile);
10629
10820
  };
10630
10821
 
10631
10822
  if ($$props && "$$inject" in $$props) {
@@ -10633,18 +10824,29 @@
10633
10824
  }
10634
10825
 
10635
10826
  $$self.$$.update = () => {
10636
- if ($$self.$$.dirty & /*showpopup*/ 32) {
10827
+ if ($$self.$$.dirty & /*showpopup*/ 256) {
10637
10828
  showpopup && initialLoad();
10638
10829
  }
10639
10830
  };
10640
10831
 
10641
- return [infocontent, infoname, showPopup, isMobile, closeInfoPopup, showpopup];
10832
+ return [
10833
+ iteminfoamount,
10834
+ infocontent,
10835
+ infoname,
10836
+ playercurrency,
10837
+ showPopup,
10838
+ $_,
10839
+ isMobile,
10840
+ closeInfoPopup,
10841
+ showpopup,
10842
+ lang
10843
+ ];
10642
10844
  }
10643
10845
 
10644
10846
  class PlayerAccountGamingLimitsPopup extends SvelteElement {
10645
10847
  constructor(options) {
10646
10848
  super();
10647
- this.shadowRoot.innerHTML = `<style>.InfoCardPopupMobileModal:after{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);content:''}.InfoCardPopupWrapper{width:200px;padding:20px;color:#000;background:#fff;box-shadow:0px 4px 12px #00000012;border-radius:0.3125;display:block;position:absolute;top:25px;left:-100px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:#FFF transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid #000;align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:#FD2839;fill:#FD2839}</style>`;
10849
+ this.shadowRoot.innerHTML = `<style>.InfoCardPopupMobileModal:after{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);content:''}.InfoCardPopupLimitChanged{background:#FFFFF8}.InfoCardPopupWrapper{width:200px;padding:20px;color:#000;background:#fff;box-shadow:0px 4px 12px #00000012;border-radius:0.3125;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:#FFF transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid #000;align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:#FD2839;fill:#FD2839}</style>`;
10648
10850
 
10649
10851
  init(
10650
10852
  this,
@@ -10657,9 +10859,12 @@
10657
10859
  create_fragment$3,
10658
10860
  safe_not_equal,
10659
10861
  {
10660
- showpopup: 5,
10661
- infocontent: 0,
10662
- infoname: 1
10862
+ showpopup: 8,
10863
+ infocontent: 1,
10864
+ infoname: 2,
10865
+ iteminfoamount: 0,
10866
+ lang: 9,
10867
+ playercurrency: 3
10663
10868
  }
10664
10869
  );
10665
10870
 
@@ -10676,11 +10881,18 @@
10676
10881
  }
10677
10882
 
10678
10883
  static get observedAttributes() {
10679
- return ["showpopup", "infocontent", "infoname"];
10884
+ return [
10885
+ "showpopup",
10886
+ "infocontent",
10887
+ "infoname",
10888
+ "iteminfoamount",
10889
+ "lang",
10890
+ "playercurrency"
10891
+ ];
10680
10892
  }
10681
10893
 
10682
10894
  get showpopup() {
10683
- return this.$$.ctx[5];
10895
+ return this.$$.ctx[8];
10684
10896
  }
10685
10897
 
10686
10898
  set showpopup(showpopup) {
@@ -10689,7 +10901,7 @@
10689
10901
  }
10690
10902
 
10691
10903
  get infocontent() {
10692
- return this.$$.ctx[0];
10904
+ return this.$$.ctx[1];
10693
10905
  }
10694
10906
 
10695
10907
  set infocontent(infocontent) {
@@ -10698,13 +10910,40 @@
10698
10910
  }
10699
10911
 
10700
10912
  get infoname() {
10701
- return this.$$.ctx[1];
10913
+ return this.$$.ctx[2];
10702
10914
  }
10703
10915
 
10704
10916
  set infoname(infoname) {
10705
10917
  this.$set({ infoname });
10706
10918
  flush();
10707
10919
  }
10920
+
10921
+ get iteminfoamount() {
10922
+ return this.$$.ctx[0];
10923
+ }
10924
+
10925
+ set iteminfoamount(iteminfoamount) {
10926
+ this.$set({ iteminfoamount });
10927
+ flush();
10928
+ }
10929
+
10930
+ get lang() {
10931
+ return this.$$.ctx[9];
10932
+ }
10933
+
10934
+ set lang(lang) {
10935
+ this.$set({ lang });
10936
+ flush();
10937
+ }
10938
+
10939
+ get playercurrency() {
10940
+ return this.$$.ctx[3];
10941
+ }
10942
+
10943
+ set playercurrency(playercurrency) {
10944
+ this.$set({ playercurrency });
10945
+ flush();
10946
+ }
10708
10947
  }
10709
10948
 
10710
10949
  !customElements.get('player-account-gaming-limits-popup') && customElements.define('player-account-gaming-limits-popup', PlayerAccountGamingLimitsPopup);
@@ -11294,46 +11533,46 @@
11294
11533
 
11295
11534
  function get_each_context_2(ctx, list, i) {
11296
11535
  const child_ctx = ctx.slice();
11297
- child_ctx[56] = list[i];
11298
- child_ctx[57] = list;
11299
- child_ctx[52] = i;
11536
+ child_ctx[57] = list[i];
11537
+ child_ctx[58] = list;
11538
+ child_ctx[53] = i;
11300
11539
  return child_ctx;
11301
11540
  }
11302
11541
 
11303
11542
  function get_each_context_3(ctx, list, i) {
11304
11543
  const child_ctx = ctx.slice();
11305
- child_ctx[50] = list[i];
11544
+ child_ctx[51] = list[i];
11306
11545
  return child_ctx;
11307
11546
  }
11308
11547
 
11309
11548
  function get_each_context_4(ctx, list, i) {
11310
11549
  const child_ctx = ctx.slice();
11311
- child_ctx[50] = list[i];
11550
+ child_ctx[51] = list[i];
11312
11551
  return child_ctx;
11313
11552
  }
11314
11553
 
11315
11554
  function get_each_context(ctx, list, i) {
11316
11555
  const child_ctx = ctx.slice();
11317
- child_ctx[50] = list[i];
11318
- child_ctx[51] = list;
11319
- child_ctx[52] = i;
11556
+ child_ctx[51] = list[i];
11557
+ child_ctx[52] = list;
11558
+ child_ctx[53] = i;
11320
11559
  return child_ctx;
11321
11560
  }
11322
11561
 
11323
11562
  function get_each_context_1(ctx, list, i) {
11324
11563
  const child_ctx = ctx.slice();
11325
- child_ctx[53] = list[i];
11564
+ child_ctx[54] = list[i];
11326
11565
  return child_ctx;
11327
11566
  }
11328
11567
 
11329
11568
  function get_each_context_5(ctx, list, i) {
11330
11569
  const child_ctx = ctx.slice();
11331
- child_ctx[50] = list[i];
11332
- child_ctx[52] = i;
11570
+ child_ctx[51] = list[i];
11571
+ child_ctx[53] = i;
11333
11572
  return child_ctx;
11334
11573
  }
11335
11574
 
11336
- // (440:2) {#if showsuccessnotification}
11575
+ // (441:2) {#if showsuccessnotification}
11337
11576
  function create_if_block_17(ctx) {
11338
11577
  let div;
11339
11578
  let p;
@@ -11342,10 +11581,10 @@
11342
11581
  c: function create() {
11343
11582
  div = element("div");
11344
11583
  p = element("p");
11345
- p.textContent = `${/*successText*/ ctx[19]}`;
11346
- add_location(p, file, 441, 6, 18694);
11584
+ p.textContent = `${/*successText*/ ctx[20]}`;
11585
+ add_location(p, file, 442, 6, 18728);
11347
11586
  attr_dev(div, "class", "AccountEditLimitSuccessfulChangeContainer");
11348
- add_location(div, file, 440, 4, 18632);
11587
+ add_location(div, file, 441, 4, 18666);
11349
11588
  },
11350
11589
  m: function mount(target, anchor) {
11351
11590
  insert_dev(target, div, anchor);
@@ -11361,19 +11600,19 @@
11361
11600
  block,
11362
11601
  id: create_if_block_17.name,
11363
11602
  type: "if",
11364
- source: "(440:2) {#if showsuccessnotification}",
11603
+ source: "(441:2) {#if showsuccessnotification}",
11365
11604
  ctx
11366
11605
  });
11367
11606
 
11368
11607
  return block;
11369
11608
  }
11370
11609
 
11371
- // (445:2) {#if showresetnotification}
11610
+ // (446:2) {#if showdeletenotification}
11372
11611
  function create_if_block_14(ctx) {
11373
11612
  let div;
11374
11613
 
11375
11614
  function select_block_type(ctx, dirty) {
11376
- if (/*isArray*/ ctx[11]) return create_if_block_15;
11615
+ if (/*isArray*/ ctx[12]) return create_if_block_15;
11377
11616
  return create_else_block_2;
11378
11617
  }
11379
11618
 
@@ -11385,7 +11624,7 @@
11385
11624
  div = element("div");
11386
11625
  if_block.c();
11387
11626
  attr_dev(div, "class", "AccountEditLimitSuccessfulChangeContainer");
11388
- add_location(div, file, 445, 4, 18768);
11627
+ add_location(div, file, 446, 4, 18803);
11389
11628
  },
11390
11629
  m: function mount(target, anchor) {
11391
11630
  insert_dev(target, div, anchor);
@@ -11414,14 +11653,14 @@
11414
11653
  block,
11415
11654
  id: create_if_block_14.name,
11416
11655
  type: "if",
11417
- source: "(445:2) {#if showresetnotification}",
11656
+ source: "(446:2) {#if showdeletenotification}",
11418
11657
  ctx
11419
11658
  });
11420
11659
 
11421
11660
  return block;
11422
11661
  }
11423
11662
 
11424
- // (453:6) {:else}
11663
+ // (454:6) {:else}
11425
11664
  function create_else_block_2(ctx) {
11426
11665
  let p;
11427
11666
  let t0;
@@ -11436,10 +11675,10 @@
11436
11675
  const block = {
11437
11676
  c: function create() {
11438
11677
  p = element("p");
11439
- t0 = text(/*removeText*/ ctx[20]);
11678
+ t0 = text(/*removeText*/ ctx[21]);
11440
11679
  t1 = space();
11441
11680
  t2 = text(t2_value);
11442
- add_location(p, file, 453, 8, 19142);
11681
+ add_location(p, file, 454, 8, 19177);
11443
11682
  },
11444
11683
  m: function mount(target, anchor) {
11445
11684
  insert_dev(target, p, anchor);
@@ -11461,17 +11700,17 @@
11461
11700
  block,
11462
11701
  id: create_else_block_2.name,
11463
11702
  type: "else",
11464
- source: "(453:6) {:else}",
11703
+ source: "(454:6) {:else}",
11465
11704
  ctx
11466
11705
  });
11467
11706
 
11468
11707
  return block;
11469
11708
  }
11470
11709
 
11471
- // (447:6) {#if isArray}
11710
+ // (448:6) {#if isArray}
11472
11711
  function create_if_block_15(ctx) {
11473
11712
  let each_1_anchor;
11474
- let each_value_5 = /*limitsUpdateData*/ ctx[14];
11713
+ let each_value_5 = /*limitsUpdateData*/ ctx[15];
11475
11714
  validate_each_argument(each_value_5);
11476
11715
  let each_blocks = [];
11477
11716
 
@@ -11495,8 +11734,8 @@
11495
11734
  insert_dev(target, each_1_anchor, anchor);
11496
11735
  },
11497
11736
  p: function update(ctx, dirty) {
11498
- if (dirty[0] & /*limitsUpdateData, removeText, storedData*/ 1196032) {
11499
- each_value_5 = /*limitsUpdateData*/ ctx[14];
11737
+ if (dirty[0] & /*limitsUpdateData, removeText, storedData*/ 2392064) {
11738
+ each_value_5 = /*limitsUpdateData*/ ctx[15];
11500
11739
  validate_each_argument(each_value_5);
11501
11740
  let i;
11502
11741
 
@@ -11529,21 +11768,21 @@
11529
11768
  block,
11530
11769
  id: create_if_block_15.name,
11531
11770
  type: "if",
11532
- source: "(447:6) {#if isArray}",
11771
+ source: "(448:6) {#if isArray}",
11533
11772
  ctx
11534
11773
  });
11535
11774
 
11536
11775
  return block;
11537
11776
  }
11538
11777
 
11539
- // (449:10) {#if selectData.period == storedData[index].periodName}
11778
+ // (450:10) {#if selectData.period == storedData[index].periodName}
11540
11779
  function create_if_block_16(ctx) {
11541
11780
  let p;
11542
11781
  let t0;
11543
11782
  let t1;
11544
11783
 
11545
- let t2_value = (/*selectData*/ ctx[50].expiryDate
11546
- ? moment(/*selectData*/ ctx[50].expiryDate).format("D/M/YYYY - h:mm A")
11784
+ let t2_value = (/*selectData*/ ctx[51].expiryDate
11785
+ ? moment(/*selectData*/ ctx[51].expiryDate).format("D/M/YYYY - h:mm A")
11547
11786
  : "N/A") + "";
11548
11787
 
11549
11788
  let t2;
@@ -11551,10 +11790,10 @@
11551
11790
  const block = {
11552
11791
  c: function create() {
11553
11792
  p = element("p");
11554
- t0 = text(/*removeText*/ ctx[20]);
11793
+ t0 = text(/*removeText*/ ctx[21]);
11555
11794
  t1 = space();
11556
11795
  t2 = text(t2_value);
11557
- add_location(p, file, 449, 12, 18976);
11796
+ add_location(p, file, 450, 12, 19011);
11558
11797
  },
11559
11798
  m: function mount(target, anchor) {
11560
11799
  insert_dev(target, p, anchor);
@@ -11563,8 +11802,8 @@
11563
11802
  append_dev(p, t2);
11564
11803
  },
11565
11804
  p: function update(ctx, dirty) {
11566
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t2_value !== (t2_value = (/*selectData*/ ctx[50].expiryDate
11567
- ? moment(/*selectData*/ ctx[50].expiryDate).format("D/M/YYYY - h:mm A")
11805
+ if (dirty[0] & /*limitsUpdateData*/ 32768 && t2_value !== (t2_value = (/*selectData*/ ctx[51].expiryDate
11806
+ ? moment(/*selectData*/ ctx[51].expiryDate).format("D/M/YYYY - h:mm A")
11568
11807
  : "N/A") + "")) set_data_dev(t2, t2_value);
11569
11808
  },
11570
11809
  d: function destroy(detaching) {
@@ -11576,17 +11815,17 @@
11576
11815
  block,
11577
11816
  id: create_if_block_16.name,
11578
11817
  type: "if",
11579
- source: "(449:10) {#if selectData.period == storedData[index].periodName}",
11818
+ source: "(450:10) {#if selectData.period == storedData[index].periodName}",
11580
11819
  ctx
11581
11820
  });
11582
11821
 
11583
11822
  return block;
11584
11823
  }
11585
11824
 
11586
- // (448:8) {#each limitsUpdateData as selectData, index}
11825
+ // (449:8) {#each limitsUpdateData as selectData, index}
11587
11826
  function create_each_block_5(ctx) {
11588
11827
  let if_block_anchor;
11589
- let if_block = /*selectData*/ ctx[50].period == /*storedData*/ ctx[17][/*index*/ ctx[52]].periodName && create_if_block_16(ctx);
11828
+ let if_block = /*selectData*/ ctx[51].period == /*storedData*/ ctx[18][/*index*/ ctx[53]].periodName && create_if_block_16(ctx);
11590
11829
 
11591
11830
  const block = {
11592
11831
  c: function create() {
@@ -11598,7 +11837,7 @@
11598
11837
  insert_dev(target, if_block_anchor, anchor);
11599
11838
  },
11600
11839
  p: function update(ctx, dirty) {
11601
- if (/*selectData*/ ctx[50].period == /*storedData*/ ctx[17][/*index*/ ctx[52]].periodName) {
11840
+ if (/*selectData*/ ctx[51].period == /*storedData*/ ctx[18][/*index*/ ctx[53]].periodName) {
11602
11841
  if (if_block) {
11603
11842
  if_block.p(ctx, dirty);
11604
11843
  } else {
@@ -11621,19 +11860,19 @@
11621
11860
  block,
11622
11861
  id: create_each_block_5.name,
11623
11862
  type: "each",
11624
- source: "(448:8) {#each limitsUpdateData as selectData, index}",
11863
+ source: "(449:8) {#each limitsUpdateData as selectData, index}",
11625
11864
  ctx
11626
11865
  });
11627
11866
 
11628
11867
  return block;
11629
11868
  }
11630
11869
 
11631
- // (458:2) {#if showLimits}
11870
+ // (459:2) {#if showLimits}
11632
11871
  function create_if_block(ctx) {
11633
11872
  let div;
11634
11873
 
11635
11874
  function select_block_type_1(ctx, dirty) {
11636
- if (/*isArray*/ ctx[11]) return create_if_block_1;
11875
+ if (/*isArray*/ ctx[12]) return create_if_block_1;
11637
11876
  return create_else_block_1;
11638
11877
  }
11639
11878
 
@@ -11645,7 +11884,7 @@
11645
11884
  div = element("div");
11646
11885
  if_block.c();
11647
11886
  attr_dev(div, "class", "AccountEditContent");
11648
- add_location(div, file, 458, 2, 19306);
11887
+ add_location(div, file, 459, 2, 19341);
11649
11888
  },
11650
11889
  m: function mount(target, anchor) {
11651
11890
  insert_dev(target, div, anchor);
@@ -11674,14 +11913,14 @@
11674
11913
  block,
11675
11914
  id: create_if_block.name,
11676
11915
  type: "if",
11677
- source: "(458:2) {#if showLimits}",
11916
+ source: "(459:2) {#if showLimits}",
11678
11917
  ctx
11679
11918
  });
11680
11919
 
11681
11920
  return block;
11682
11921
  }
11683
11922
 
11684
- // (499:4) {:else}
11923
+ // (500:4) {:else}
11685
11924
  function create_else_block_1(ctx) {
11686
11925
  let div1;
11687
11926
  let div0;
@@ -11692,7 +11931,7 @@
11692
11931
  let t2;
11693
11932
  let mounted;
11694
11933
  let dispose;
11695
- let each_value_4 = /*periodValues*/ ctx[23];
11934
+ let each_value_4 = /*periodValues*/ ctx[24];
11696
11935
  validate_each_argument(each_value_4);
11697
11936
  let each_blocks_1 = [];
11698
11937
 
@@ -11700,7 +11939,7 @@
11700
11939
  each_blocks_1[i] = create_each_block_4(get_each_context_4(ctx, each_value_4, i));
11701
11940
  }
11702
11941
 
11703
- let each_value_2 = /*storedData*/ ctx[17];
11942
+ let each_value_2 = /*storedData*/ ctx[18];
11704
11943
  validate_each_argument(each_value_2);
11705
11944
  let each_blocks = [];
11706
11945
 
@@ -11728,15 +11967,15 @@
11728
11967
  }
11729
11968
 
11730
11969
  attr_dev(p, "class", "AccountEditLimitsTitle");
11731
- add_location(p, file, 501, 10, 22536);
11732
- attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
11733
- select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[14].isModified === true;
11734
- if (/*limitsUpdateData*/ ctx[14].period === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[31].call(select));
11735
- add_location(select, file, 502, 10, 22590);
11970
+ add_location(p, file, 502, 10, 22534);
11971
+ attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[19] ? "TimeoutSelectMobile" : ""));
11972
+ select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[15].isModified === true;
11973
+ if (/*limitsUpdateData*/ ctx[15].period === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[32].call(select));
11974
+ add_location(select, file, 503, 10, 22588);
11736
11975
  attr_dev(div0, "class", "AccountEditLimitsSplitSection");
11737
- add_location(div0, file, 500, 8, 22482);
11976
+ add_location(div0, file, 501, 8, 22480);
11738
11977
  attr_dev(div1, "class", "AccountEditLimitsContainer");
11739
- add_location(div1, file, 499, 6, 22433);
11978
+ add_location(div1, file, 500, 6, 22431);
11740
11979
  },
11741
11980
  m: function mount(target, anchor) {
11742
11981
  insert_dev(target, div1, anchor);
@@ -11749,7 +11988,7 @@
11749
11988
  each_blocks_1[i].m(select, null);
11750
11989
  }
11751
11990
 
11752
- select_option(select, /*limitsUpdateData*/ ctx[14].period);
11991
+ select_option(select, /*limitsUpdateData*/ ctx[15].period);
11753
11992
  append_dev(div1, t2);
11754
11993
 
11755
11994
  for (let i = 0; i < each_blocks.length; i += 1) {
@@ -11758,12 +11997,12 @@
11758
11997
 
11759
11998
  if (!mounted) {
11760
11999
  dispose = [
11761
- listen_dev(select, "change", /*select_change_handler_1*/ ctx[31]),
12000
+ listen_dev(select, "change", /*select_change_handler_1*/ ctx[32]),
11762
12001
  listen_dev(
11763
12002
  select,
11764
12003
  "change",
11765
12004
  function () {
11766
- if (is_function(/*checkUserInputAmount*/ ctx[27](/*limitsUpdateData*/ ctx[14], 0, false, /*updatedLimitValues*/ ctx[16]))) /*checkUserInputAmount*/ ctx[27](/*limitsUpdateData*/ ctx[14], 0, false, /*updatedLimitValues*/ ctx[16]).apply(this, arguments);
12005
+ if (is_function(/*checkUserInputAmount*/ ctx[28](/*limitsUpdateData*/ ctx[15], 0, false, /*updatedLimitValues*/ ctx[17]))) /*checkUserInputAmount*/ ctx[28](/*limitsUpdateData*/ ctx[15], 0, false, /*updatedLimitValues*/ ctx[17]).apply(this, arguments);
11767
12006
  },
11768
12007
  false,
11769
12008
  false,
@@ -11777,8 +12016,8 @@
11777
12016
  p: function update(new_ctx, dirty) {
11778
12017
  ctx = new_ctx;
11779
12018
 
11780
- if (dirty[0] & /*periodValues*/ 8388608) {
11781
- each_value_4 = /*periodValues*/ ctx[23];
12019
+ if (dirty[0] & /*periodValues*/ 16777216) {
12020
+ each_value_4 = /*periodValues*/ ctx[24];
11782
12021
  validate_each_argument(each_value_4);
11783
12022
  let i;
11784
12023
 
@@ -11801,16 +12040,16 @@
11801
12040
  each_blocks_1.length = each_value_4.length;
11802
12041
  }
11803
12042
 
11804
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992 && select_disabled_value !== (select_disabled_value = /*limitsUpdateData*/ ctx[14].isModified === true)) {
12043
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984 && select_disabled_value !== (select_disabled_value = /*limitsUpdateData*/ ctx[15].isModified === true)) {
11805
12044
  prop_dev(select, "disabled", select_disabled_value);
11806
12045
  }
11807
12046
 
11808
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992) {
11809
- select_option(select, /*limitsUpdateData*/ ctx[14].period);
12047
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984) {
12048
+ select_option(select, /*limitsUpdateData*/ ctx[15].period);
11810
12049
  }
11811
12050
 
11812
- if (dirty[0] & /*limitsdata, limitsUpdateData, invalidIndex, storedData, checkUserInputAmount, updatedLimitValues, isMobile, lossLimitPredefinedValues*/ 138895361) {
11813
- each_value_2 = /*storedData*/ ctx[17];
12051
+ if (dirty[0] & /*playercurrency, limitsdata, limitsUpdateData, invalidIndex, storedData, checkUserInputAmount, updatedLimitValues, isMobile, lossLimitPredefinedValues*/ 277790785) {
12052
+ each_value_2 = /*storedData*/ ctx[18];
11814
12053
  validate_each_argument(each_value_2);
11815
12054
  let i;
11816
12055
 
@@ -11846,17 +12085,17 @@
11846
12085
  block,
11847
12086
  id: create_else_block_1.name,
11848
12087
  type: "else",
11849
- source: "(499:4) {:else}",
12088
+ source: "(500:4) {:else}",
11850
12089
  ctx
11851
12090
  });
11852
12091
 
11853
12092
  return block;
11854
12093
  }
11855
12094
 
11856
- // (460:4) {#if (isArray)}
12095
+ // (461:4) {#if (isArray)}
11857
12096
  function create_if_block_1(ctx) {
11858
12097
  let div;
11859
- let each_value = /*limitsUpdateData*/ ctx[14];
12098
+ let each_value = /*limitsUpdateData*/ ctx[15];
11860
12099
  validate_each_argument(each_value);
11861
12100
  let each_blocks = [];
11862
12101
 
@@ -11873,7 +12112,7 @@
11873
12112
  }
11874
12113
 
11875
12114
  attr_dev(div, "class", "AccountEditLimitsContainer");
11876
- add_location(div, file, 460, 6, 19430);
12115
+ add_location(div, file, 461, 6, 19465);
11877
12116
  },
11878
12117
  m: function mount(target, anchor) {
11879
12118
  insert_dev(target, div, anchor);
@@ -11883,8 +12122,8 @@
11883
12122
  }
11884
12123
  },
11885
12124
  p: function update(ctx, dirty) {
11886
- if (dirty[0] & /*limitsUpdateData, invalidIndexes, storedData, checkUserInputAmount, updatedLimitValues, limitname, maxTimeValue, minTimeValue, isMobile, depositPredefinedValues*/ 136794912) {
11887
- each_value = /*limitsUpdateData*/ ctx[14];
12125
+ if (dirty[0] & /*limitsUpdateData, playercurrency, invalidIndexes, storedData, checkUserInputAmount, updatedLimitValues, limitname, maxTimeValue, minTimeValue, isMobile, depositPredefinedValues*/ 273589856) {
12126
+ each_value = /*limitsUpdateData*/ ctx[15];
11888
12127
  validate_each_argument(each_value);
11889
12128
  let i;
11890
12129
 
@@ -11917,26 +12156,26 @@
11917
12156
  block,
11918
12157
  id: create_if_block_1.name,
11919
12158
  type: "if",
11920
- source: "(460:4) {#if (isArray)}",
12159
+ source: "(461:4) {#if (isArray)}",
11921
12160
  ctx
11922
12161
  });
11923
12162
 
11924
12163
  return block;
11925
12164
  }
11926
12165
 
11927
- // (504:12) {#each periodValues as selectData}
12166
+ // (505:12) {#each periodValues as selectData}
11928
12167
  function create_each_block_4(ctx) {
11929
12168
  let option;
11930
- let t_value = /*selectData*/ ctx[50] + "";
12169
+ let t_value = /*selectData*/ ctx[51] + "";
11931
12170
  let t;
11932
12171
 
11933
12172
  const block = {
11934
12173
  c: function create() {
11935
12174
  option = element("option");
11936
12175
  t = text(t_value);
11937
- option.__value = /*selectData*/ ctx[50];
12176
+ option.__value = /*selectData*/ ctx[51];
11938
12177
  option.value = option.__value;
11939
- add_location(option, file, 504, 14, 22891);
12178
+ add_location(option, file, 505, 14, 22889);
11940
12179
  },
11941
12180
  m: function mount(target, anchor) {
11942
12181
  insert_dev(target, option, anchor);
@@ -11952,14 +12191,14 @@
11952
12191
  block,
11953
12192
  id: create_each_block_4.name,
11954
12193
  type: "each",
11955
- source: "(504:12) {#each periodValues as selectData}",
12194
+ source: "(505:12) {#each periodValues as selectData}",
11956
12195
  ctx
11957
12196
  });
11958
12197
 
11959
12198
  return block;
11960
12199
  }
11961
12200
 
11962
- // (510:10) {#if limitsUpdateData.period === savedData.periodName}
12201
+ // (511:10) {#if limitsUpdateData.period === savedData.periodName}
11963
12202
  function create_if_block_9(ctx) {
11964
12203
  let div1;
11965
12204
  let p;
@@ -11973,7 +12212,7 @@
11973
12212
  let t5;
11974
12213
  let mounted;
11975
12214
  let dispose;
11976
- let each_value_3 = /*lossLimitPredefinedValues*/ ctx[22];
12215
+ let each_value_3 = /*lossLimitPredefinedValues*/ ctx[23];
11977
12216
  validate_each_argument(each_value_3);
11978
12217
  let each_blocks = [];
11979
12218
 
@@ -11982,11 +12221,11 @@
11982
12221
  }
11983
12222
 
11984
12223
  function select_change_handler_2() {
11985
- /*select_change_handler_2*/ ctx[32].call(select, /*each_value_2*/ ctx[57], /*index*/ ctx[52]);
12224
+ /*select_change_handler_2*/ ctx[33].call(select, /*each_value_2*/ ctx[58], /*index*/ ctx[53]);
11986
12225
  }
11987
12226
 
11988
- let if_block0 = /*savedData*/ ctx[56].amount === "Custom" && create_if_block_11(ctx);
11989
- let if_block1 = /*limitsUpdateData*/ ctx[14].isModified === true && create_if_block_10(ctx);
12227
+ let if_block0 = /*savedData*/ ctx[57].amount === "Custom" && create_if_block_11(ctx);
12228
+ let if_block1 = /*limitsUpdateData*/ ctx[15].isModified === true && create_if_block_10(ctx);
11990
12229
 
11991
12230
  const block = {
11992
12231
  c: function create() {
@@ -12009,21 +12248,21 @@
12009
12248
  if (if_block1) if_block1.c();
12010
12249
  t5 = space();
12011
12250
  attr_dev(p, "class", "AccountEditLimitsTitle");
12012
- add_location(p, file, 511, 14, 23177);
12251
+ add_location(p, file, 512, 14, 23175);
12013
12252
  option.__value = "";
12014
12253
  option.value = option.__value;
12015
12254
  option.disabled = true;
12016
12255
  option.selected = true;
12017
12256
  option.hidden = true;
12018
- add_location(option, file, 513, 16, 23478);
12019
- attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
12020
- select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[14].isModified === true;
12021
- if (/*savedData*/ ctx[56].amount === void 0) add_render_callback(select_change_handler_2);
12022
- add_location(select, file, 512, 14, 23236);
12257
+ add_location(option, file, 514, 16, 23476);
12258
+ attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[19] ? "TimeoutSelectMobile" : ""));
12259
+ select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[15].isModified === true;
12260
+ if (/*savedData*/ ctx[57].amount === void 0) add_render_callback(select_change_handler_2);
12261
+ add_location(select, file, 513, 14, 23234);
12023
12262
  attr_dev(div0, "class", "AccountEditLimitsInputContainer");
12024
- add_location(div0, file, 518, 14, 23865);
12263
+ add_location(div0, file, 519, 14, 23852);
12025
12264
  attr_dev(div1, "class", "AccountEditLimitsSplitSection");
12026
- add_location(div1, file, 510, 12, 23119);
12265
+ add_location(div1, file, 511, 12, 23117);
12027
12266
  },
12028
12267
  m: function mount(target, anchor) {
12029
12268
  insert_dev(target, div1, anchor);
@@ -12036,7 +12275,7 @@
12036
12275
  each_blocks[i].m(select, null);
12037
12276
  }
12038
12277
 
12039
- select_option(select, /*savedData*/ ctx[56].amount);
12278
+ select_option(select, /*savedData*/ ctx[57].amount);
12040
12279
  append_dev(div1, t3);
12041
12280
  append_dev(div1, div0);
12042
12281
  if (if_block0) if_block0.m(div0, null);
@@ -12051,7 +12290,7 @@
12051
12290
  select,
12052
12291
  "change",
12053
12292
  function () {
12054
- if (is_function(/*checkUserInputAmount*/ ctx[27](/*savedData*/ ctx[56], 0, false, /*updatedLimitValues*/ ctx[16]))) /*checkUserInputAmount*/ ctx[27](/*savedData*/ ctx[56], 0, false, /*updatedLimitValues*/ ctx[16]).apply(this, arguments);
12293
+ if (is_function(/*checkUserInputAmount*/ ctx[28](/*savedData*/ ctx[57], 0, false, /*updatedLimitValues*/ ctx[17]))) /*checkUserInputAmount*/ ctx[28](/*savedData*/ ctx[57], 0, false, /*updatedLimitValues*/ ctx[17]).apply(this, arguments);
12055
12294
  },
12056
12295
  false,
12057
12296
  false,
@@ -12065,8 +12304,8 @@
12065
12304
  p: function update(new_ctx, dirty) {
12066
12305
  ctx = new_ctx;
12067
12306
 
12068
- if (dirty[0] & /*lossLimitPredefinedValues, limitsUpdateData*/ 4210688) {
12069
- each_value_3 = /*lossLimitPredefinedValues*/ ctx[22];
12307
+ if (dirty[0] & /*lossLimitPredefinedValues, playercurrency*/ 8388672) {
12308
+ each_value_3 = /*lossLimitPredefinedValues*/ ctx[23];
12070
12309
  validate_each_argument(each_value_3);
12071
12310
  let i;
12072
12311
 
@@ -12089,15 +12328,15 @@
12089
12328
  each_blocks.length = each_value_3.length;
12090
12329
  }
12091
12330
 
12092
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992 && select_disabled_value !== (select_disabled_value = /*limitsUpdateData*/ ctx[14].isModified === true)) {
12331
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984 && select_disabled_value !== (select_disabled_value = /*limitsUpdateData*/ ctx[15].isModified === true)) {
12093
12332
  prop_dev(select, "disabled", select_disabled_value);
12094
12333
  }
12095
12334
 
12096
- if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 4325376) {
12097
- select_option(select, /*savedData*/ ctx[56].amount);
12335
+ if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8650752) {
12336
+ select_option(select, /*savedData*/ ctx[57].amount);
12098
12337
  }
12099
12338
 
12100
- if (/*savedData*/ ctx[56].amount === "Custom") {
12339
+ if (/*savedData*/ ctx[57].amount === "Custom") {
12101
12340
  if (if_block0) {
12102
12341
  if_block0.p(ctx, dirty);
12103
12342
  } else {
@@ -12110,7 +12349,7 @@
12110
12349
  if_block0 = null;
12111
12350
  }
12112
12351
 
12113
- if (/*limitsUpdateData*/ ctx[14].isModified === true) {
12352
+ if (/*limitsUpdateData*/ ctx[15].isModified === true) {
12114
12353
  if (if_block1) {
12115
12354
  if_block1.p(ctx, dirty);
12116
12355
  } else {
@@ -12137,27 +12376,26 @@
12137
12376
  block,
12138
12377
  id: create_if_block_9.name,
12139
12378
  type: "if",
12140
- source: "(510:10) {#if limitsUpdateData.period === savedData.periodName}",
12379
+ source: "(511:10) {#if limitsUpdateData.period === savedData.periodName}",
12141
12380
  ctx
12142
12381
  });
12143
12382
 
12144
12383
  return block;
12145
12384
  }
12146
12385
 
12147
- // (516:58) {#if selectData !== "No limit" && selectData !== "Custom"}
12386
+ // (517:58) {#if selectData !== "No limit" && selectData !== "Custom"}
12148
12387
  function create_if_block_13(ctx) {
12149
- let t_value = /*limitsUpdateData*/ ctx[14].currency + "";
12150
12388
  let t;
12151
12389
 
12152
12390
  const block = {
12153
12391
  c: function create() {
12154
- t = text(t_value);
12392
+ t = text(/*playercurrency*/ ctx[6]);
12155
12393
  },
12156
12394
  m: function mount(target, anchor) {
12157
12395
  insert_dev(target, t, anchor);
12158
12396
  },
12159
12397
  p: function update(ctx, dirty) {
12160
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t_value !== (t_value = /*limitsUpdateData*/ ctx[14].currency + "")) set_data_dev(t, t_value);
12398
+ if (dirty[0] & /*playercurrency*/ 64) set_data_dev(t, /*playercurrency*/ ctx[6]);
12161
12399
  },
12162
12400
  d: function destroy(detaching) {
12163
12401
  if (detaching) detach_dev(t);
@@ -12168,20 +12406,20 @@
12168
12406
  block,
12169
12407
  id: create_if_block_13.name,
12170
12408
  type: "if",
12171
- source: "(516:58) {#if selectData !== \\\"No limit\\\" && selectData !== \\\"Custom\\\"}",
12409
+ source: "(517:58) {#if selectData !== \\\"No limit\\\" && selectData !== \\\"Custom\\\"}",
12172
12410
  ctx
12173
12411
  });
12174
12412
 
12175
12413
  return block;
12176
12414
  }
12177
12415
 
12178
- // (515:16) {#each lossLimitPredefinedValues as selectData}
12416
+ // (516:16) {#each lossLimitPredefinedValues as selectData}
12179
12417
  function create_each_block_3(ctx) {
12180
12418
  let option;
12181
- let t0_value = /*selectData*/ ctx[50] + "";
12419
+ let t0_value = /*selectData*/ ctx[51] + "";
12182
12420
  let t0;
12183
12421
  let t1;
12184
- let if_block = /*selectData*/ ctx[50] !== "No limit" && /*selectData*/ ctx[50] !== "Custom" && create_if_block_13(ctx);
12422
+ let if_block = /*selectData*/ ctx[51] !== "No limit" && /*selectData*/ ctx[51] !== "Custom" && create_if_block_13(ctx);
12185
12423
 
12186
12424
  const block = {
12187
12425
  c: function create() {
@@ -12189,9 +12427,9 @@
12189
12427
  t0 = text(t0_value);
12190
12428
  t1 = space();
12191
12429
  if (if_block) if_block.c();
12192
- option.__value = /*selectData*/ ctx[50];
12430
+ option.__value = /*selectData*/ ctx[51];
12193
12431
  option.value = option.__value;
12194
- add_location(option, file, 515, 18, 23620);
12432
+ add_location(option, file, 516, 18, 23618);
12195
12433
  },
12196
12434
  m: function mount(target, anchor) {
12197
12435
  insert_dev(target, option, anchor);
@@ -12200,7 +12438,7 @@
12200
12438
  if (if_block) if_block.m(option, null);
12201
12439
  },
12202
12440
  p: function update(ctx, dirty) {
12203
- if (/*selectData*/ ctx[50] !== "No limit" && /*selectData*/ ctx[50] !== "Custom") if_block.p(ctx, dirty);
12441
+ if (/*selectData*/ ctx[51] !== "No limit" && /*selectData*/ ctx[51] !== "Custom") if_block.p(ctx, dirty);
12204
12442
  },
12205
12443
  d: function destroy(detaching) {
12206
12444
  if (detaching) detach_dev(option);
@@ -12212,14 +12450,14 @@
12212
12450
  block,
12213
12451
  id: create_each_block_3.name,
12214
12452
  type: "each",
12215
- source: "(515:16) {#each lossLimitPredefinedValues as selectData}",
12453
+ source: "(516:16) {#each lossLimitPredefinedValues as selectData}",
12216
12454
  ctx
12217
12455
  });
12218
12456
 
12219
12457
  return block;
12220
12458
  }
12221
12459
 
12222
- // (520:16) {#if savedData.amount === "Custom"}
12460
+ // (521:16) {#if savedData.amount === "Custom"}
12223
12461
  function create_if_block_11(ctx) {
12224
12462
  let input;
12225
12463
  let input_disabled_value;
@@ -12229,10 +12467,10 @@
12229
12467
  let dispose;
12230
12468
 
12231
12469
  function input_input_handler_2() {
12232
- /*input_input_handler_2*/ ctx[33].call(input, /*each_value_2*/ ctx[57], /*index*/ ctx[52]);
12470
+ /*input_input_handler_2*/ ctx[34].call(input, /*each_value_2*/ ctx[58], /*index*/ ctx[53]);
12233
12471
  }
12234
12472
 
12235
- let if_block = /*invalidIndex*/ ctx[13] === true && create_if_block_12(ctx);
12473
+ let if_block = /*invalidIndex*/ ctx[14] === true && create_if_block_12(ctx);
12236
12474
 
12237
12475
  const block = {
12238
12476
  c: function create() {
@@ -12242,12 +12480,12 @@
12242
12480
  if_block_anchor = empty();
12243
12481
  attr_dev(input, "type", "number");
12244
12482
  attr_dev(input, "class", "AccountEditField");
12245
- input.disabled = input_disabled_value = /*limitsUpdateData*/ ctx[14].isModified === true;
12246
- add_location(input, file, 520, 18, 23981);
12483
+ input.disabled = input_disabled_value = /*limitsUpdateData*/ ctx[15].isModified === true;
12484
+ add_location(input, file, 521, 18, 23968);
12247
12485
  },
12248
12486
  m: function mount(target, anchor) {
12249
12487
  insert_dev(target, input, anchor);
12250
- set_input_value(input, /*savedData*/ ctx[56].value);
12488
+ set_input_value(input, /*savedData*/ ctx[57].value);
12251
12489
  insert_dev(target, t, anchor);
12252
12490
  if (if_block) if_block.m(target, anchor);
12253
12491
  insert_dev(target, if_block_anchor, anchor);
@@ -12258,7 +12496,7 @@
12258
12496
  input,
12259
12497
  "keyup",
12260
12498
  function () {
12261
- if (is_function(/*checkUserInputAmount*/ ctx[27](/*savedData*/ ctx[56], 0, false, /*updatedLimitValues*/ ctx[16]))) /*checkUserInputAmount*/ ctx[27](/*savedData*/ ctx[56], 0, false, /*updatedLimitValues*/ ctx[16]).apply(this, arguments);
12499
+ if (is_function(/*checkUserInputAmount*/ ctx[28](/*savedData*/ ctx[57], 0, false, /*updatedLimitValues*/ ctx[17]))) /*checkUserInputAmount*/ ctx[28](/*savedData*/ ctx[57], 0, false, /*updatedLimitValues*/ ctx[17]).apply(this, arguments);
12262
12500
  },
12263
12501
  false,
12264
12502
  false,
@@ -12273,15 +12511,15 @@
12273
12511
  p: function update(new_ctx, dirty) {
12274
12512
  ctx = new_ctx;
12275
12513
 
12276
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992 && input_disabled_value !== (input_disabled_value = /*limitsUpdateData*/ ctx[14].isModified === true)) {
12514
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984 && input_disabled_value !== (input_disabled_value = /*limitsUpdateData*/ ctx[15].isModified === true)) {
12277
12515
  prop_dev(input, "disabled", input_disabled_value);
12278
12516
  }
12279
12517
 
12280
- if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 4325376 && to_number(input.value) !== /*savedData*/ ctx[56].value) {
12281
- set_input_value(input, /*savedData*/ ctx[56].value);
12518
+ if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8650752 && to_number(input.value) !== /*savedData*/ ctx[57].value) {
12519
+ set_input_value(input, /*savedData*/ ctx[57].value);
12282
12520
  }
12283
12521
 
12284
- if (/*invalidIndex*/ ctx[13] === true) {
12522
+ if (/*invalidIndex*/ ctx[14] === true) {
12285
12523
  if (if_block) ; else {
12286
12524
  if_block = create_if_block_12(ctx);
12287
12525
  if_block.c();
@@ -12306,14 +12544,14 @@
12306
12544
  block,
12307
12545
  id: create_if_block_11.name,
12308
12546
  type: "if",
12309
- source: "(520:16) {#if savedData.amount === \\\"Custom\\\"}",
12547
+ source: "(521:16) {#if savedData.amount === \\\"Custom\\\"}",
12310
12548
  ctx
12311
12549
  });
12312
12550
 
12313
12551
  return block;
12314
12552
  }
12315
12553
 
12316
- // (522:18) {#if invalidIndex === true}
12554
+ // (523:18) {#if invalidIndex === true}
12317
12555
  function create_if_block_12(ctx) {
12318
12556
  let p;
12319
12557
  let span;
@@ -12324,9 +12562,9 @@
12324
12562
  span = element("span");
12325
12563
  span.textContent = "The amount needs to be between 0 and 99,999,999.";
12326
12564
  attr_dev(span, "class", "InvalidInput InvalidSingleRow");
12327
- add_location(span, file, 523, 20, 24299);
12565
+ add_location(span, file, 524, 20, 24286);
12328
12566
  attr_dev(p, "class", "AccountEditWarningText");
12329
- add_location(p, file, 522, 18, 24244);
12567
+ add_location(p, file, 523, 18, 24231);
12330
12568
  },
12331
12569
  m: function mount(target, anchor) {
12332
12570
  insert_dev(target, p, anchor);
@@ -12341,14 +12579,14 @@
12341
12579
  block,
12342
12580
  id: create_if_block_12.name,
12343
12581
  type: "if",
12344
- source: "(522:18) {#if invalidIndex === true}",
12582
+ source: "(523:18) {#if invalidIndex === true}",
12345
12583
  ctx
12346
12584
  });
12347
12585
 
12348
12586
  return block;
12349
12587
  }
12350
12588
 
12351
- // (528:16) {#if limitsUpdateData.isModified === true}
12589
+ // (529:16) {#if limitsUpdateData.isModified === true}
12352
12590
  function create_if_block_10(ctx) {
12353
12591
  let p0;
12354
12592
  let t0;
@@ -12366,17 +12604,12 @@
12366
12604
  let span2;
12367
12605
  let t4;
12368
12606
 
12369
- let t5_value = (/*limitsUpdateData*/ ctx[14].currency
12370
- ? /*limitsUpdateData*/ ctx[14].currency
12371
- : "") + "";
12372
-
12373
- let t5;
12374
- let t6;
12375
-
12376
- let t7_value = (/*limitsdata*/ ctx[0].updateAmount > 0
12607
+ let t5_value = (/*limitsdata*/ ctx[0].updateAmount > 0
12377
12608
  ? /*limitsdata*/ ctx[0].updateAmount
12378
12609
  : 0) + "";
12379
12610
 
12611
+ let t5;
12612
+ let t6;
12380
12613
  let t7;
12381
12614
  let t8;
12382
12615
 
@@ -12395,17 +12628,17 @@
12395
12628
  t4 = text("Your limit has been changed or increased: ");
12396
12629
  t5 = text(t5_value);
12397
12630
  t6 = space();
12398
- t7 = text(t7_value);
12631
+ t7 = text(/*playercurrency*/ ctx[6]);
12399
12632
  t8 = text(". \u000bYou will have to wait for the expiration date for your new limit \u000bto take effect");
12400
- add_location(span0, file, 528, 74, 24601);
12633
+ add_location(span0, file, 529, 74, 24588);
12401
12634
  attr_dev(p0, "class", "AccountEditLimitsExpiryDate");
12402
- add_location(p0, file, 528, 18, 24545);
12635
+ add_location(p0, file, 529, 18, 24532);
12403
12636
  attr_dev(span1, "class", "AccountEditLimitChangePeriodIcon");
12404
- add_location(span1, file, 530, 23, 24804);
12405
- add_location(span2, file, 530, 78, 24859);
12406
- add_location(p1, file, 530, 20, 24801);
12637
+ add_location(span1, file, 531, 23, 24791);
12638
+ add_location(span2, file, 531, 78, 24846);
12639
+ add_location(p1, file, 531, 20, 24788);
12407
12640
  attr_dev(div, "class", "AccountEditLimitsPeriodChangeContainer");
12408
- add_location(div, file, 529, 18, 24728);
12641
+ add_location(div, file, 530, 18, 24715);
12409
12642
  },
12410
12643
  m: function mount(target, anchor) {
12411
12644
  insert_dev(target, p0, anchor);
@@ -12428,13 +12661,11 @@
12428
12661
  ? moment(/*limitsdata*/ ctx[0].expiryDate).format("D/M/YYYY - h:mm A")
12429
12662
  : "N/A") + "")) set_data_dev(t1, t1_value);
12430
12663
 
12431
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t5_value !== (t5_value = (/*limitsUpdateData*/ ctx[14].currency
12432
- ? /*limitsUpdateData*/ ctx[14].currency
12433
- : "") + "")) set_data_dev(t5, t5_value);
12434
-
12435
- if (dirty[0] & /*limitsdata*/ 1 && t7_value !== (t7_value = (/*limitsdata*/ ctx[0].updateAmount > 0
12664
+ if (dirty[0] & /*limitsdata*/ 1 && t5_value !== (t5_value = (/*limitsdata*/ ctx[0].updateAmount > 0
12436
12665
  ? /*limitsdata*/ ctx[0].updateAmount
12437
- : 0) + "")) set_data_dev(t7, t7_value);
12666
+ : 0) + "")) set_data_dev(t5, t5_value);
12667
+
12668
+ if (dirty[0] & /*playercurrency*/ 64) set_data_dev(t7, /*playercurrency*/ ctx[6]);
12438
12669
  },
12439
12670
  d: function destroy(detaching) {
12440
12671
  if (detaching) detach_dev(p0);
@@ -12447,17 +12678,17 @@
12447
12678
  block,
12448
12679
  id: create_if_block_10.name,
12449
12680
  type: "if",
12450
- source: "(528:16) {#if limitsUpdateData.isModified === true}",
12681
+ source: "(529:16) {#if limitsUpdateData.isModified === true}",
12451
12682
  ctx
12452
12683
  });
12453
12684
 
12454
12685
  return block;
12455
12686
  }
12456
12687
 
12457
- // (509:8) {#each storedData as savedData, index}
12688
+ // (510:8) {#each storedData as savedData, index}
12458
12689
  function create_each_block_2(ctx) {
12459
12690
  let if_block_anchor;
12460
- let if_block = /*limitsUpdateData*/ ctx[14].period === /*savedData*/ ctx[56].periodName && create_if_block_9(ctx);
12691
+ let if_block = /*limitsUpdateData*/ ctx[15].period === /*savedData*/ ctx[57].periodName && create_if_block_9(ctx);
12461
12692
 
12462
12693
  const block = {
12463
12694
  c: function create() {
@@ -12469,7 +12700,7 @@
12469
12700
  insert_dev(target, if_block_anchor, anchor);
12470
12701
  },
12471
12702
  p: function update(ctx, dirty) {
12472
- if (/*limitsUpdateData*/ ctx[14].period === /*savedData*/ ctx[56].periodName) {
12703
+ if (/*limitsUpdateData*/ ctx[15].period === /*savedData*/ ctx[57].periodName) {
12473
12704
  if (if_block) {
12474
12705
  if_block.p(ctx, dirty);
12475
12706
  } else {
@@ -12492,14 +12723,14 @@
12492
12723
  block,
12493
12724
  id: create_each_block_2.name,
12494
12725
  type: "each",
12495
- source: "(509:8) {#each storedData as savedData, index}",
12726
+ source: "(510:8) {#each storedData as savedData, index}",
12496
12727
  ctx
12497
12728
  });
12498
12729
 
12499
12730
  return block;
12500
12731
  }
12501
12732
 
12502
- // (465:12) {#if selectData.period == storedData[index].periodName}
12733
+ // (466:12) {#if selectData.period == storedData[index].periodName}
12503
12734
  function create_if_block_2(ctx) {
12504
12735
  let select;
12505
12736
  let option;
@@ -12509,7 +12740,7 @@
12509
12740
  let if_block1_anchor;
12510
12741
  let mounted;
12511
12742
  let dispose;
12512
- let each_value_1 = /*depositPredefinedValues*/ ctx[21][/*index*/ ctx[52]].values;
12743
+ let each_value_1 = /*depositPredefinedValues*/ ctx[22][/*index*/ ctx[53]].values;
12513
12744
  validate_each_argument(each_value_1);
12514
12745
  let each_blocks = [];
12515
12746
 
@@ -12518,11 +12749,11 @@
12518
12749
  }
12519
12750
 
12520
12751
  function select_change_handler() {
12521
- /*select_change_handler*/ ctx[28].call(select, /*index*/ ctx[52]);
12752
+ /*select_change_handler*/ ctx[29].call(select, /*index*/ ctx[53]);
12522
12753
  }
12523
12754
 
12524
- let if_block0 = /*storedData*/ ctx[17][/*index*/ ctx[52]].amount === "Custom" && create_if_block_4(ctx);
12525
- let if_block1 = /*selectData*/ ctx[50].isModified === true && create_if_block_3(ctx);
12755
+ let if_block0 = /*storedData*/ ctx[18][/*index*/ ctx[53]].amount === "Custom" && create_if_block_4(ctx);
12756
+ let if_block1 = /*selectData*/ ctx[51].isModified === true && create_if_block_3(ctx);
12526
12757
 
12527
12758
  const block = {
12528
12759
  c: function create() {
@@ -12544,11 +12775,11 @@
12544
12775
  option.disabled = true;
12545
12776
  option.selected = true;
12546
12777
  option.hidden = true;
12547
- add_location(option, file, 466, 16, 19978);
12548
- attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
12549
- select.disabled = select_disabled_value = /*selectData*/ ctx[50].isModified === true;
12550
- if (/*storedData*/ ctx[17][/*index*/ ctx[52]].amount === void 0) add_render_callback(select_change_handler);
12551
- add_location(select, file, 465, 14, 19722);
12778
+ add_location(option, file, 467, 16, 20013);
12779
+ attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[19] ? "TimeoutSelectMobile" : ""));
12780
+ select.disabled = select_disabled_value = /*selectData*/ ctx[51].isModified === true;
12781
+ if (/*storedData*/ ctx[18][/*index*/ ctx[53]].amount === void 0) add_render_callback(select_change_handler);
12782
+ add_location(select, file, 466, 14, 19757);
12552
12783
  },
12553
12784
  m: function mount(target, anchor) {
12554
12785
  insert_dev(target, select, anchor);
@@ -12558,7 +12789,7 @@
12558
12789
  each_blocks[i].m(select, null);
12559
12790
  }
12560
12791
 
12561
- select_option(select, /*storedData*/ ctx[17][/*index*/ ctx[52]].amount);
12792
+ select_option(select, /*storedData*/ ctx[18][/*index*/ ctx[53]].amount);
12562
12793
  insert_dev(target, t1, anchor);
12563
12794
  if (if_block0) if_block0.m(target, anchor);
12564
12795
  insert_dev(target, t2, anchor);
@@ -12572,7 +12803,7 @@
12572
12803
  select,
12573
12804
  "change",
12574
12805
  function () {
12575
- if (is_function(/*checkUserInputAmount*/ ctx[27](/*storedData*/ ctx[17][/*index*/ ctx[52]], /*index*/ ctx[52], false, /*updatedLimitValues*/ ctx[16]))) /*checkUserInputAmount*/ ctx[27](/*storedData*/ ctx[17][/*index*/ ctx[52]], /*index*/ ctx[52], false, /*updatedLimitValues*/ ctx[16]).apply(this, arguments);
12806
+ if (is_function(/*checkUserInputAmount*/ ctx[28](/*storedData*/ ctx[18][/*index*/ ctx[53]], /*index*/ ctx[53], false, /*updatedLimitValues*/ ctx[17]))) /*checkUserInputAmount*/ ctx[28](/*storedData*/ ctx[18][/*index*/ ctx[53]], /*index*/ ctx[53], false, /*updatedLimitValues*/ ctx[17]).apply(this, arguments);
12576
12807
  },
12577
12808
  false,
12578
12809
  false,
@@ -12586,8 +12817,8 @@
12586
12817
  p: function update(new_ctx, dirty) {
12587
12818
  ctx = new_ctx;
12588
12819
 
12589
- if (dirty[0] & /*depositPredefinedValues, limitname, limitsUpdateData*/ 2113568) {
12590
- each_value_1 = /*depositPredefinedValues*/ ctx[21][/*index*/ ctx[52]].values;
12820
+ if (dirty[0] & /*depositPredefinedValues, limitname, playercurrency*/ 4194400) {
12821
+ each_value_1 = /*depositPredefinedValues*/ ctx[22][/*index*/ ctx[53]].values;
12591
12822
  validate_each_argument(each_value_1);
12592
12823
  let i;
12593
12824
 
@@ -12610,15 +12841,15 @@
12610
12841
  each_blocks.length = each_value_1.length;
12611
12842
  }
12612
12843
 
12613
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992 && select_disabled_value !== (select_disabled_value = /*selectData*/ ctx[50].isModified === true)) {
12844
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984 && select_disabled_value !== (select_disabled_value = /*selectData*/ ctx[51].isModified === true)) {
12614
12845
  prop_dev(select, "disabled", select_disabled_value);
12615
12846
  }
12616
12847
 
12617
- if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 4325376) {
12618
- select_option(select, /*storedData*/ ctx[17][/*index*/ ctx[52]].amount);
12848
+ if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8650752) {
12849
+ select_option(select, /*storedData*/ ctx[18][/*index*/ ctx[53]].amount);
12619
12850
  }
12620
12851
 
12621
- if (/*storedData*/ ctx[17][/*index*/ ctx[52]].amount === "Custom") {
12852
+ if (/*storedData*/ ctx[18][/*index*/ ctx[53]].amount === "Custom") {
12622
12853
  if (if_block0) {
12623
12854
  if_block0.p(ctx, dirty);
12624
12855
  } else {
@@ -12631,7 +12862,7 @@
12631
12862
  if_block0 = null;
12632
12863
  }
12633
12864
 
12634
- if (/*selectData*/ ctx[50].isModified === true) {
12865
+ if (/*selectData*/ ctx[51].isModified === true) {
12635
12866
  if (if_block1) {
12636
12867
  if_block1.p(ctx, dirty);
12637
12868
  } else {
@@ -12661,17 +12892,17 @@
12661
12892
  block,
12662
12893
  id: create_if_block_2.name,
12663
12894
  type: "if",
12664
- source: "(465:12) {#if selectData.period == storedData[index].periodName}",
12895
+ source: "(466:12) {#if selectData.period == storedData[index].periodName}",
12665
12896
  ctx
12666
12897
  });
12667
12898
 
12668
12899
  return block;
12669
12900
  }
12670
12901
 
12671
- // (469:66) {#if predefinedData !== "No limit" && predefinedData !== "Custom"}
12902
+ // (470:66) {#if predefinedData !== "No limit" && predefinedData !== "Custom"}
12672
12903
  function create_if_block_8(ctx) {
12673
12904
  let t_value = (/*limitname*/ ctx[5] !== "Time Limit"
12674
- ? /*selectData*/ ctx[50].currency
12905
+ ? /*playercurrency*/ ctx[6]
12675
12906
  : " minutes") + "";
12676
12907
 
12677
12908
  let t;
@@ -12684,8 +12915,8 @@
12684
12915
  insert_dev(target, t, anchor);
12685
12916
  },
12686
12917
  p: function update(ctx, dirty) {
12687
- if (dirty[0] & /*limitname, limitsUpdateData*/ 16416 && t_value !== (t_value = (/*limitname*/ ctx[5] !== "Time Limit"
12688
- ? /*selectData*/ ctx[50].currency
12918
+ if (dirty[0] & /*limitname, playercurrency*/ 96 && t_value !== (t_value = (/*limitname*/ ctx[5] !== "Time Limit"
12919
+ ? /*playercurrency*/ ctx[6]
12689
12920
  : " minutes") + "")) set_data_dev(t, t_value);
12690
12921
  },
12691
12922
  d: function destroy(detaching) {
@@ -12697,20 +12928,20 @@
12697
12928
  block,
12698
12929
  id: create_if_block_8.name,
12699
12930
  type: "if",
12700
- source: "(469:66) {#if predefinedData !== \\\"No limit\\\" && predefinedData !== \\\"Custom\\\"}",
12931
+ source: "(470:66) {#if predefinedData !== \\\"No limit\\\" && predefinedData !== \\\"Custom\\\"}",
12701
12932
  ctx
12702
12933
  });
12703
12934
 
12704
12935
  return block;
12705
12936
  }
12706
12937
 
12707
- // (468:16) {#each depositPredefinedValues[index].values as predefinedData}
12938
+ // (469:16) {#each depositPredefinedValues[index].values as predefinedData}
12708
12939
  function create_each_block_1(ctx) {
12709
12940
  let option;
12710
- let t0_value = /*predefinedData*/ ctx[53] + "";
12941
+ let t0_value = /*predefinedData*/ ctx[54] + "";
12711
12942
  let t0;
12712
12943
  let t1;
12713
- let if_block = /*predefinedData*/ ctx[53] !== "No limit" && /*predefinedData*/ ctx[53] !== "Custom" && create_if_block_8(ctx);
12944
+ let if_block = /*predefinedData*/ ctx[54] !== "No limit" && /*predefinedData*/ ctx[54] !== "Custom" && create_if_block_8(ctx);
12714
12945
 
12715
12946
  const block = {
12716
12947
  c: function create() {
@@ -12718,9 +12949,9 @@
12718
12949
  t0 = text(t0_value);
12719
12950
  t1 = space();
12720
12951
  if (if_block) if_block.c();
12721
- option.__value = /*predefinedData*/ ctx[53];
12952
+ option.__value = /*predefinedData*/ ctx[54];
12722
12953
  option.value = option.__value;
12723
- add_location(option, file, 468, 18, 20136);
12954
+ add_location(option, file, 469, 18, 20171);
12724
12955
  },
12725
12956
  m: function mount(target, anchor) {
12726
12957
  insert_dev(target, option, anchor);
@@ -12729,7 +12960,7 @@
12729
12960
  if (if_block) if_block.m(option, null);
12730
12961
  },
12731
12962
  p: function update(ctx, dirty) {
12732
- if (/*predefinedData*/ ctx[53] !== "No limit" && /*predefinedData*/ ctx[53] !== "Custom") if_block.p(ctx, dirty);
12963
+ if (/*predefinedData*/ ctx[54] !== "No limit" && /*predefinedData*/ ctx[54] !== "Custom") if_block.p(ctx, dirty);
12733
12964
  },
12734
12965
  d: function destroy(detaching) {
12735
12966
  if (detaching) detach_dev(option);
@@ -12741,14 +12972,14 @@
12741
12972
  block,
12742
12973
  id: create_each_block_1.name,
12743
12974
  type: "each",
12744
- source: "(468:16) {#each depositPredefinedValues[index].values as predefinedData}",
12975
+ source: "(469:16) {#each depositPredefinedValues[index].values as predefinedData}",
12745
12976
  ctx
12746
12977
  });
12747
12978
 
12748
12979
  return block;
12749
12980
  }
12750
12981
 
12751
- // (472:14) {#if storedData[index].amount === "Custom"}
12982
+ // (473:14) {#if storedData[index].amount === "Custom"}
12752
12983
  function create_if_block_4(ctx) {
12753
12984
  let if_block_anchor;
12754
12985
 
@@ -12792,14 +13023,14 @@
12792
13023
  block,
12793
13024
  id: create_if_block_4.name,
12794
13025
  type: "if",
12795
- source: "(472:14) {#if storedData[index].amount === \\\"Custom\\\"}",
13026
+ source: "(473:14) {#if storedData[index].amount === \\\"Custom\\\"}",
12796
13027
  ctx
12797
13028
  });
12798
13029
 
12799
13030
  return block;
12800
13031
  }
12801
13032
 
12802
- // (480:16) {:else}
13033
+ // (481:16) {:else}
12803
13034
  function create_else_block(ctx) {
12804
13035
  let input;
12805
13036
  let input_disabled_value;
@@ -12809,10 +13040,10 @@
12809
13040
  let dispose;
12810
13041
 
12811
13042
  function input_input_handler_1() {
12812
- /*input_input_handler_1*/ ctx[30].call(input, /*index*/ ctx[52]);
13043
+ /*input_input_handler_1*/ ctx[31].call(input, /*index*/ ctx[53]);
12813
13044
  }
12814
13045
 
12815
- let if_block = /*invalidIndexes*/ ctx[12][/*index*/ ctx[52]] == 1 && create_if_block_7(ctx);
13046
+ let if_block = /*invalidIndexes*/ ctx[13][/*index*/ ctx[53]] == 1 && create_if_block_7(ctx);
12816
13047
 
12817
13048
  const block = {
12818
13049
  c: function create() {
@@ -12822,14 +13053,14 @@
12822
13053
  if (if_block) if_block.c();
12823
13054
  attr_dev(input, "type", "number");
12824
13055
  attr_dev(input, "class", "AccountEditField");
12825
- input.disabled = input_disabled_value = /*selectData*/ ctx[50].isModified === true;
12826
- add_location(input, file, 480, 18, 21013);
13056
+ input.disabled = input_disabled_value = /*selectData*/ ctx[51].isModified === true;
13057
+ add_location(input, file, 481, 18, 21043);
12827
13058
  attr_dev(p, "class", "AccountEditWarningText");
12828
- add_location(p, file, 481, 18, 21243);
13059
+ add_location(p, file, 482, 18, 21273);
12829
13060
  },
12830
13061
  m: function mount(target, anchor) {
12831
13062
  insert_dev(target, input, anchor);
12832
- set_input_value(input, /*storedData*/ ctx[17][/*index*/ ctx[52]].value);
13063
+ set_input_value(input, /*storedData*/ ctx[18][/*index*/ ctx[53]].value);
12833
13064
  insert_dev(target, t, anchor);
12834
13065
  insert_dev(target, p, anchor);
12835
13066
  if (if_block) if_block.m(p, null);
@@ -12840,7 +13071,7 @@
12840
13071
  input,
12841
13072
  "keyup",
12842
13073
  function () {
12843
- if (is_function(/*checkUserInputAmount*/ ctx[27](/*storedData*/ ctx[17][/*index*/ ctx[52]], /*index*/ ctx[52], true, /*updatedLimitValues*/ ctx[16]))) /*checkUserInputAmount*/ ctx[27](/*storedData*/ ctx[17][/*index*/ ctx[52]], /*index*/ ctx[52], true, /*updatedLimitValues*/ ctx[16]).apply(this, arguments);
13074
+ if (is_function(/*checkUserInputAmount*/ ctx[28](/*storedData*/ ctx[18][/*index*/ ctx[53]], /*index*/ ctx[53], true, /*updatedLimitValues*/ ctx[17]))) /*checkUserInputAmount*/ ctx[28](/*storedData*/ ctx[18][/*index*/ ctx[53]], /*index*/ ctx[53], true, /*updatedLimitValues*/ ctx[17]).apply(this, arguments);
12844
13075
  },
12845
13076
  false,
12846
13077
  false,
@@ -12855,15 +13086,15 @@
12855
13086
  p: function update(new_ctx, dirty) {
12856
13087
  ctx = new_ctx;
12857
13088
 
12858
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992 && input_disabled_value !== (input_disabled_value = /*selectData*/ ctx[50].isModified === true)) {
13089
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984 && input_disabled_value !== (input_disabled_value = /*selectData*/ ctx[51].isModified === true)) {
12859
13090
  prop_dev(input, "disabled", input_disabled_value);
12860
13091
  }
12861
13092
 
12862
- if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 4325376 && to_number(input.value) !== /*storedData*/ ctx[17][/*index*/ ctx[52]].value) {
12863
- set_input_value(input, /*storedData*/ ctx[17][/*index*/ ctx[52]].value);
13093
+ if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8650752 && to_number(input.value) !== /*storedData*/ ctx[18][/*index*/ ctx[53]].value) {
13094
+ set_input_value(input, /*storedData*/ ctx[18][/*index*/ ctx[53]].value);
12864
13095
  }
12865
13096
 
12866
- if (/*invalidIndexes*/ ctx[12][/*index*/ ctx[52]] == 1) {
13097
+ if (/*invalidIndexes*/ ctx[13][/*index*/ ctx[53]] == 1) {
12867
13098
  if (if_block) {
12868
13099
  if_block.p(ctx, dirty);
12869
13100
  } else {
@@ -12890,14 +13121,14 @@
12890
13121
  block,
12891
13122
  id: create_else_block.name,
12892
13123
  type: "else",
12893
- source: "(480:16) {:else}",
13124
+ source: "(481:16) {:else}",
12894
13125
  ctx
12895
13126
  });
12896
13127
 
12897
13128
  return block;
12898
13129
  }
12899
13130
 
12900
- // (473:16) {#if limitname === "Deposit Limit"}
13131
+ // (474:16) {#if limitname === "Deposit Limit"}
12901
13132
  function create_if_block_5(ctx) {
12902
13133
  let input;
12903
13134
  let input_disabled_value;
@@ -12907,10 +13138,10 @@
12907
13138
  let dispose;
12908
13139
 
12909
13140
  function input_input_handler() {
12910
- /*input_input_handler*/ ctx[29].call(input, /*index*/ ctx[52]);
13141
+ /*input_input_handler*/ ctx[30].call(input, /*index*/ ctx[53]);
12911
13142
  }
12912
13143
 
12913
- let if_block = /*invalidIndexes*/ ctx[12][/*index*/ ctx[52]] == 1 && create_if_block_6(ctx);
13144
+ let if_block = /*invalidIndexes*/ ctx[13][/*index*/ ctx[53]] == 1 && create_if_block_6(ctx);
12914
13145
 
12915
13146
  const block = {
12916
13147
  c: function create() {
@@ -12920,14 +13151,14 @@
12920
13151
  if (if_block) if_block.c();
12921
13152
  attr_dev(input, "type", "number");
12922
13153
  attr_dev(input, "class", "AccountEditField");
12923
- input.disabled = input_disabled_value = /*selectData*/ ctx[50].isModified === true;
12924
- add_location(input, file, 473, 18, 20504);
13154
+ input.disabled = input_disabled_value = /*selectData*/ ctx[51].isModified === true;
13155
+ add_location(input, file, 474, 18, 20534);
12925
13156
  attr_dev(p, "class", "AccountEditWarningText");
12926
- add_location(p, file, 474, 18, 20735);
13157
+ add_location(p, file, 475, 18, 20765);
12927
13158
  },
12928
13159
  m: function mount(target, anchor) {
12929
13160
  insert_dev(target, input, anchor);
12930
- set_input_value(input, /*storedData*/ ctx[17][/*index*/ ctx[52]].value);
13161
+ set_input_value(input, /*storedData*/ ctx[18][/*index*/ ctx[53]].value);
12931
13162
  insert_dev(target, t, anchor);
12932
13163
  insert_dev(target, p, anchor);
12933
13164
  if (if_block) if_block.m(p, null);
@@ -12938,7 +13169,7 @@
12938
13169
  input,
12939
13170
  "keyup",
12940
13171
  function () {
12941
- if (is_function(/*checkUserInputAmount*/ ctx[27](/*storedData*/ ctx[17][/*index*/ ctx[52]], /*index*/ ctx[52], false, /*updatedLimitValues*/ ctx[16]))) /*checkUserInputAmount*/ ctx[27](/*storedData*/ ctx[17][/*index*/ ctx[52]], /*index*/ ctx[52], false, /*updatedLimitValues*/ ctx[16]).apply(this, arguments);
13172
+ if (is_function(/*checkUserInputAmount*/ ctx[28](/*storedData*/ ctx[18][/*index*/ ctx[53]], /*index*/ ctx[53], false, /*updatedLimitValues*/ ctx[17]))) /*checkUserInputAmount*/ ctx[28](/*storedData*/ ctx[18][/*index*/ ctx[53]], /*index*/ ctx[53], false, /*updatedLimitValues*/ ctx[17]).apply(this, arguments);
12942
13173
  },
12943
13174
  false,
12944
13175
  false,
@@ -12953,15 +13184,15 @@
12953
13184
  p: function update(new_ctx, dirty) {
12954
13185
  ctx = new_ctx;
12955
13186
 
12956
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992 && input_disabled_value !== (input_disabled_value = /*selectData*/ ctx[50].isModified === true)) {
13187
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984 && input_disabled_value !== (input_disabled_value = /*selectData*/ ctx[51].isModified === true)) {
12957
13188
  prop_dev(input, "disabled", input_disabled_value);
12958
13189
  }
12959
13190
 
12960
- if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 4325376 && to_number(input.value) !== /*storedData*/ ctx[17][/*index*/ ctx[52]].value) {
12961
- set_input_value(input, /*storedData*/ ctx[17][/*index*/ ctx[52]].value);
13191
+ if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8650752 && to_number(input.value) !== /*storedData*/ ctx[18][/*index*/ ctx[53]].value) {
13192
+ set_input_value(input, /*storedData*/ ctx[18][/*index*/ ctx[53]].value);
12962
13193
  }
12963
13194
 
12964
- if (/*invalidIndexes*/ ctx[12][/*index*/ ctx[52]] == 1) {
13195
+ if (/*invalidIndexes*/ ctx[13][/*index*/ ctx[53]] == 1) {
12965
13196
  if (if_block) ; else {
12966
13197
  if_block = create_if_block_6(ctx);
12967
13198
  if_block.c();
@@ -12986,14 +13217,14 @@
12986
13217
  block,
12987
13218
  id: create_if_block_5.name,
12988
13219
  type: "if",
12989
- source: "(473:16) {#if limitname === \\\"Deposit Limit\\\"}",
13220
+ source: "(474:16) {#if limitname === \\\"Deposit Limit\\\"}",
12990
13221
  ctx
12991
13222
  });
12992
13223
 
12993
13224
  return block;
12994
13225
  }
12995
13226
 
12996
- // (483:20) {#if invalidIndexes[index] == 1}
13227
+ // (484:20) {#if invalidIndexes[index] == 1}
12997
13228
  function create_if_block_7(ctx) {
12998
13229
  let p;
12999
13230
  let t0;
@@ -13006,12 +13237,12 @@
13006
13237
  c: function create() {
13007
13238
  p = element("p");
13008
13239
  t0 = text("The time amount needs to be greater than ");
13009
- t1 = text(/*minTimeValue*/ ctx[8]);
13240
+ t1 = text(/*minTimeValue*/ ctx[9]);
13010
13241
  t2 = text(" and below ");
13011
- t3 = text(/*maxTimeValue*/ ctx[9]);
13242
+ t3 = text(/*maxTimeValue*/ ctx[10]);
13012
13243
  t4 = text(" minutes.");
13013
13244
  attr_dev(p, "class", "InvalidInput");
13014
- add_location(p, file, 483, 22, 21353);
13245
+ add_location(p, file, 484, 22, 21383);
13015
13246
  },
13016
13247
  m: function mount(target, anchor) {
13017
13248
  insert_dev(target, p, anchor);
@@ -13022,8 +13253,8 @@
13022
13253
  append_dev(p, t4);
13023
13254
  },
13024
13255
  p: function update(ctx, dirty) {
13025
- if (dirty[0] & /*minTimeValue*/ 256) set_data_dev(t1, /*minTimeValue*/ ctx[8]);
13026
- if (dirty[0] & /*maxTimeValue*/ 512) set_data_dev(t3, /*maxTimeValue*/ ctx[9]);
13256
+ if (dirty[0] & /*minTimeValue*/ 512) set_data_dev(t1, /*minTimeValue*/ ctx[9]);
13257
+ if (dirty[0] & /*maxTimeValue*/ 1024) set_data_dev(t3, /*maxTimeValue*/ ctx[10]);
13027
13258
  },
13028
13259
  d: function destroy(detaching) {
13029
13260
  if (detaching) detach_dev(p);
@@ -13034,14 +13265,14 @@
13034
13265
  block,
13035
13266
  id: create_if_block_7.name,
13036
13267
  type: "if",
13037
- source: "(483:20) {#if invalidIndexes[index] == 1}",
13268
+ source: "(484:20) {#if invalidIndexes[index] == 1}",
13038
13269
  ctx
13039
13270
  });
13040
13271
 
13041
13272
  return block;
13042
13273
  }
13043
13274
 
13044
- // (476:20) {#if invalidIndexes[index] == 1}
13275
+ // (477:20) {#if invalidIndexes[index] == 1}
13045
13276
  function create_if_block_6(ctx) {
13046
13277
  let p;
13047
13278
 
@@ -13050,7 +13281,7 @@
13050
13281
  p = element("p");
13051
13282
  p.textContent = "The amount needs to be between 0 and 99,999,999.";
13052
13283
  attr_dev(p, "class", "InvalidInput");
13053
- add_location(p, file, 476, 22, 20845);
13284
+ add_location(p, file, 477, 22, 20875);
13054
13285
  },
13055
13286
  m: function mount(target, anchor) {
13056
13287
  insert_dev(target, p, anchor);
@@ -13064,21 +13295,21 @@
13064
13295
  block,
13065
13296
  id: create_if_block_6.name,
13066
13297
  type: "if",
13067
- source: "(476:20) {#if invalidIndexes[index] == 1}",
13298
+ source: "(477:20) {#if invalidIndexes[index] == 1}",
13068
13299
  ctx
13069
13300
  });
13070
13301
 
13071
13302
  return block;
13072
13303
  }
13073
13304
 
13074
- // (489:14) {#if selectData.isModified === true}
13305
+ // (490:14) {#if selectData.isModified === true}
13075
13306
  function create_if_block_3(ctx) {
13076
13307
  let p0;
13077
13308
  let t0;
13078
13309
  let span0;
13079
13310
 
13080
- let t1_value = (/*selectData*/ ctx[50].expiryDate
13081
- ? moment(/*selectData*/ ctx[50].expiryDate).format("D/M/YYYY - h:mm A")
13311
+ let t1_value = (/*selectData*/ ctx[51].expiryDate
13312
+ ? moment(/*selectData*/ ctx[51].expiryDate).format("D/M/YYYY - h:mm A")
13082
13313
  : "N/A") + "";
13083
13314
 
13084
13315
  let t1;
@@ -13089,18 +13320,16 @@
13089
13320
  let span2;
13090
13321
  let t4;
13091
13322
 
13092
- let t5_value = (/*selectData*/ ctx[50].minutes !== undefined
13093
- ? " minutes"
13094
- : /*selectData*/ ctx[50].currency
13095
- ? /*selectData*/ ctx[50].currency
13096
- : "") + "";
13323
+ let t5_value = (/*selectData*/ ctx[51].updateAmount > 0
13324
+ ? /*selectData*/ ctx[51].updateAmount
13325
+ : 0) + "";
13097
13326
 
13098
13327
  let t5;
13099
13328
  let t6;
13100
13329
 
13101
- let t7_value = (/*selectData*/ ctx[50].updateAmount > 0
13102
- ? /*selectData*/ ctx[50].updateAmount
13103
- : 0) + "";
13330
+ let t7_value = (/*selectData*/ ctx[51].minutes !== undefined
13331
+ ? " minutes"
13332
+ : /*playercurrency*/ ctx[6]) + "";
13104
13333
 
13105
13334
  let t7;
13106
13335
  let t8;
@@ -13122,15 +13351,15 @@
13122
13351
  t6 = space();
13123
13352
  t7 = text(t7_value);
13124
13353
  t8 = text(". \u000bYou will have to wait for the expiration date for your new limit \u000bto take effect");
13125
- add_location(span0, file, 489, 72, 21685);
13354
+ add_location(span0, file, 490, 72, 21715);
13126
13355
  attr_dev(p0, "class", "AccountEditLimitsExpiryDate");
13127
- add_location(p0, file, 489, 16, 21629);
13356
+ add_location(p0, file, 490, 16, 21659);
13128
13357
  attr_dev(span1, "class", "AccountEditLimitChangePeriodIcon");
13129
- add_location(span1, file, 491, 21, 21884);
13130
- add_location(span2, file, 491, 76, 21939);
13131
- add_location(p1, file, 491, 18, 21881);
13358
+ add_location(span1, file, 492, 21, 21914);
13359
+ add_location(span2, file, 492, 76, 21969);
13360
+ add_location(p1, file, 492, 18, 21911);
13132
13361
  attr_dev(div, "class", "AccountEditLimitsPeriodChangeContainer");
13133
- add_location(div, file, 490, 16, 21810);
13362
+ add_location(div, file, 491, 16, 21840);
13134
13363
  },
13135
13364
  m: function mount(target, anchor) {
13136
13365
  insert_dev(target, p0, anchor);
@@ -13149,19 +13378,17 @@
13149
13378
  append_dev(span2, t8);
13150
13379
  },
13151
13380
  p: function update(ctx, dirty) {
13152
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t1_value !== (t1_value = (/*selectData*/ ctx[50].expiryDate
13153
- ? moment(/*selectData*/ ctx[50].expiryDate).format("D/M/YYYY - h:mm A")
13381
+ if (dirty[0] & /*limitsUpdateData*/ 32768 && t1_value !== (t1_value = (/*selectData*/ ctx[51].expiryDate
13382
+ ? moment(/*selectData*/ ctx[51].expiryDate).format("D/M/YYYY - h:mm A")
13154
13383
  : "N/A") + "")) set_data_dev(t1, t1_value);
13155
13384
 
13156
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t5_value !== (t5_value = (/*selectData*/ ctx[50].minutes !== undefined
13157
- ? " minutes"
13158
- : /*selectData*/ ctx[50].currency
13159
- ? /*selectData*/ ctx[50].currency
13160
- : "") + "")) set_data_dev(t5, t5_value);
13385
+ if (dirty[0] & /*limitsUpdateData*/ 32768 && t5_value !== (t5_value = (/*selectData*/ ctx[51].updateAmount > 0
13386
+ ? /*selectData*/ ctx[51].updateAmount
13387
+ : 0) + "")) set_data_dev(t5, t5_value);
13161
13388
 
13162
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t7_value !== (t7_value = (/*selectData*/ ctx[50].updateAmount > 0
13163
- ? /*selectData*/ ctx[50].updateAmount
13164
- : 0) + "")) set_data_dev(t7, t7_value);
13389
+ if (dirty[0] & /*limitsUpdateData, playercurrency*/ 32832 && t7_value !== (t7_value = (/*selectData*/ ctx[51].minutes !== undefined
13390
+ ? " minutes"
13391
+ : /*playercurrency*/ ctx[6]) + "")) set_data_dev(t7, t7_value);
13165
13392
  },
13166
13393
  d: function destroy(detaching) {
13167
13394
  if (detaching) detach_dev(p0);
@@ -13174,22 +13401,22 @@
13174
13401
  block,
13175
13402
  id: create_if_block_3.name,
13176
13403
  type: "if",
13177
- source: "(489:14) {#if selectData.isModified === true}",
13404
+ source: "(490:14) {#if selectData.isModified === true}",
13178
13405
  ctx
13179
13406
  });
13180
13407
 
13181
13408
  return block;
13182
13409
  }
13183
13410
 
13184
- // (462:8) {#each limitsUpdateData as selectData, index}
13411
+ // (463:8) {#each limitsUpdateData as selectData, index}
13185
13412
  function create_each_block(ctx) {
13186
13413
  let div;
13187
13414
  let p;
13188
- let t0_value = /*selectData*/ ctx[50].period + "";
13415
+ let t0_value = /*selectData*/ ctx[51].period + "";
13189
13416
  let t0;
13190
13417
  let t1;
13191
13418
  let t2;
13192
- let if_block = /*selectData*/ ctx[50].period == /*storedData*/ ctx[17][/*index*/ ctx[52]].periodName && create_if_block_2(ctx);
13419
+ let if_block = /*selectData*/ ctx[51].period == /*storedData*/ ctx[18][/*index*/ ctx[53]].periodName && create_if_block_2(ctx);
13193
13420
 
13194
13421
  const block = {
13195
13422
  c: function create() {
@@ -13200,9 +13427,9 @@
13200
13427
  if (if_block) if_block.c();
13201
13428
  t2 = space();
13202
13429
  attr_dev(p, "class", "AccountEditLimitsTitle");
13203
- add_location(p, file, 463, 12, 19582);
13430
+ add_location(p, file, 464, 12, 19617);
13204
13431
  attr_dev(div, "class", "AccountEditLimitsBox");
13205
- add_location(div, file, 462, 10, 19535);
13432
+ add_location(div, file, 463, 10, 19570);
13206
13433
  },
13207
13434
  m: function mount(target, anchor) {
13208
13435
  insert_dev(target, div, anchor);
@@ -13213,9 +13440,9 @@
13213
13440
  append_dev(div, t2);
13214
13441
  },
13215
13442
  p: function update(ctx, dirty) {
13216
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t0_value !== (t0_value = /*selectData*/ ctx[50].period + "")) set_data_dev(t0, t0_value);
13443
+ if (dirty[0] & /*limitsUpdateData*/ 32768 && t0_value !== (t0_value = /*selectData*/ ctx[51].period + "")) set_data_dev(t0, t0_value);
13217
13444
 
13218
- if (/*selectData*/ ctx[50].period == /*storedData*/ ctx[17][/*index*/ ctx[52]].periodName) {
13445
+ if (/*selectData*/ ctx[51].period == /*storedData*/ ctx[18][/*index*/ ctx[53]].periodName) {
13219
13446
  if (if_block) {
13220
13447
  if_block.p(ctx, dirty);
13221
13448
  } else {
@@ -13238,7 +13465,7 @@
13238
13465
  block,
13239
13466
  id: create_each_block.name,
13240
13467
  type: "each",
13241
- source: "(462:8) {#each limitsUpdateData as selectData, index}",
13468
+ source: "(463:8) {#each limitsUpdateData as selectData, index}",
13242
13469
  ctx
13243
13470
  });
13244
13471
 
@@ -13278,8 +13505,8 @@
13278
13505
  let mounted;
13279
13506
  let dispose;
13280
13507
  let if_block0 = /*showsuccessnotification*/ ctx[3] && create_if_block_17(ctx);
13281
- let if_block1 = /*showresetnotification*/ ctx[4] && create_if_block_14(ctx);
13282
- let if_block2 = /*showLimits*/ ctx[7] && create_if_block(ctx);
13508
+ let if_block1 = /*showdeletenotification*/ ctx[4] && create_if_block_14(ctx);
13509
+ let if_block2 = /*showLimits*/ ctx[8] && create_if_block(ctx);
13283
13510
 
13284
13511
  const block = {
13285
13512
  c: function create() {
@@ -13317,8 +13544,8 @@
13317
13544
  this.c = noop$1;
13318
13545
  attr_dev(path, "id", "Chevron_Right");
13319
13546
  attr_dev(path, "d", "M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179\n l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816\n C52.942,116.507,52.942,124.327,57.633,129.007z");
13320
- add_location(path, file, 425, 8, 17853);
13321
- add_location(g, file, 424, 6, 17841);
13547
+ add_location(path, file, 426, 8, 17887);
13548
+ add_location(g, file, 425, 6, 17875);
13322
13549
  attr_dev(svg, "version", "1.1");
13323
13550
  attr_dev(svg, "id", "Capa_1");
13324
13551
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -13330,40 +13557,40 @@
13330
13557
  attr_dev(svg, "xml:space", "preserve");
13331
13558
  attr_dev(svg, "width", "18px");
13332
13559
  attr_dev(svg, "fill", "#58586B");
13333
- add_location(svg, file, 422, 4, 17573);
13334
- add_location(span0, file, 430, 4, 18184);
13560
+ add_location(svg, file, 423, 4, 17607);
13561
+ add_location(span0, file, 431, 4, 18218);
13335
13562
  attr_dev(div0, "class", "AccountEditBackButton");
13336
- add_location(div0, file, 421, 2, 17498);
13337
- add_location(h6, file, 433, 4, 18272);
13563
+ add_location(div0, file, 422, 2, 17532);
13564
+ add_location(h6, file, 434, 4, 18306);
13338
13565
  attr_dev(span1, "class", "AccountEditLimitsIcon");
13339
- add_location(span1, file, 435, 6, 18364);
13340
- set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[6]);
13566
+ add_location(span1, file, 436, 6, 18398);
13567
+ set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[7]);
13341
13568
  set_custom_element_data(player_account_gaming_limits_popup, "infocontent", /*infocontent*/ ctx[2]);
13342
13569
  set_custom_element_data(player_account_gaming_limits_popup, "infoname", /*infoname*/ ctx[1]);
13343
- add_location(player_account_gaming_limits_popup, file, 436, 6, 18455);
13570
+ add_location(player_account_gaming_limits_popup, file, 437, 6, 18489);
13344
13571
  attr_dev(div1, "class", "AccountEditLimitsIconWrapper");
13345
- add_location(div1, file, 434, 4, 18315);
13572
+ add_location(div1, file, 435, 4, 18349);
13346
13573
  attr_dev(div2, "class", "AccountEditLimitsHeader");
13347
- add_location(div2, file, 432, 2, 18230);
13574
+ add_location(div2, file, 433, 2, 18264);
13348
13575
 
13349
- attr_dev(button, "class", button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[15]
13576
+ attr_dev(button, "class", button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[16]
13350
13577
  ? ""
13351
13578
  : "AccountEditLimitsButtonDisabled"));
13352
13579
 
13353
- button.disabled = button_disabled_value = !/*hasDifferences*/ ctx[15];
13354
- add_location(button, file, 542, 4, 25330);
13580
+ button.disabled = button_disabled_value = !/*hasDifferences*/ ctx[16];
13581
+ add_location(button, file, 543, 4, 25273);
13355
13582
  attr_dev(div3, "class", "AccountEditLimitsControlArea");
13356
- add_location(div3, file, 541, 2, 25283);
13583
+ add_location(div3, file, 542, 2, 25226);
13357
13584
 
13358
- attr_dev(div4, "class", "AccountEditLimitsWrapper " + (/*isMobile*/ ctx[18]
13585
+ attr_dev(div4, "class", "AccountEditLimitsWrapper " + (/*isMobile*/ ctx[19]
13359
13586
  ? "AccountEditLimitsMobileWrapper"
13360
13587
  : ""));
13361
13588
 
13362
- add_location(div4, file, 420, 0, 17406);
13363
- set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[10]);
13589
+ add_location(div4, file, 421, 0, 17440);
13590
+ set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[11]);
13364
13591
  set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modalsource", "groupEdit");
13365
- add_location(player_account_gaming_limits_confirmation_modal, file, 547, 2, 25561);
13366
- add_location(player_account_modal, file, 546, 0, 25536);
13592
+ add_location(player_account_gaming_limits_confirmation_modal, file, 548, 2, 25504);
13593
+ add_location(player_account_modal, file, 547, 0, 25479);
13367
13594
  },
13368
13595
  l: function claim(nodes) {
13369
13596
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -13401,9 +13628,9 @@
13401
13628
 
13402
13629
  if (!mounted) {
13403
13630
  dispose = [
13404
- listen_dev(div0, "click", /*switchToLimitsGroupView*/ ctx[25], false, false, false),
13405
- listen_dev(span1, "click", prevent_default(/*openInfoPopup*/ ctx[24]), false, true, false),
13406
- listen_dev(button, "click", /*click_handler*/ ctx[34], false, false, false)
13631
+ listen_dev(div0, "click", /*switchToLimitsGroupView*/ ctx[26], false, false, false),
13632
+ listen_dev(span1, "click", prevent_default(/*openInfoPopup*/ ctx[25]), false, true, false),
13633
+ listen_dev(button, "click", /*click_handler*/ ctx[35], false, false, false)
13407
13634
  ];
13408
13635
 
13409
13636
  mounted = true;
@@ -13412,8 +13639,8 @@
13412
13639
  p: function update(ctx, dirty) {
13413
13640
  if (dirty[0] & /*limitsdata, limitname*/ 33 && t3_value !== (t3_value = (/*limitsdata*/ ctx[0] ? /*limitname*/ ctx[5] : "") + "")) set_data_dev(t3, t3_value);
13414
13641
 
13415
- if (dirty[0] & /*showPopup*/ 64) {
13416
- set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[6]);
13642
+ if (dirty[0] & /*showPopup*/ 128) {
13643
+ set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[7]);
13417
13644
  }
13418
13645
 
13419
13646
  if (dirty[0] & /*infocontent*/ 4) {
@@ -13437,7 +13664,7 @@
13437
13664
  if_block0 = null;
13438
13665
  }
13439
13666
 
13440
- if (/*showresetnotification*/ ctx[4]) {
13667
+ if (/*showdeletenotification*/ ctx[4]) {
13441
13668
  if (if_block1) {
13442
13669
  if_block1.p(ctx, dirty);
13443
13670
  } else {
@@ -13450,7 +13677,7 @@
13450
13677
  if_block1 = null;
13451
13678
  }
13452
13679
 
13453
- if (/*showLimits*/ ctx[7]) {
13680
+ if (/*showLimits*/ ctx[8]) {
13454
13681
  if (if_block2) {
13455
13682
  if_block2.p(ctx, dirty);
13456
13683
  } else {
@@ -13463,18 +13690,18 @@
13463
13690
  if_block2 = null;
13464
13691
  }
13465
13692
 
13466
- if (dirty[0] & /*hasDifferences*/ 32768 && button_class_value !== (button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[15]
13693
+ if (dirty[0] & /*hasDifferences*/ 65536 && button_class_value !== (button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[16]
13467
13694
  ? ""
13468
13695
  : "AccountEditLimitsButtonDisabled"))) {
13469
13696
  attr_dev(button, "class", button_class_value);
13470
13697
  }
13471
13698
 
13472
- if (dirty[0] & /*hasDifferences*/ 32768 && button_disabled_value !== (button_disabled_value = !/*hasDifferences*/ ctx[15])) {
13699
+ if (dirty[0] & /*hasDifferences*/ 65536 && button_disabled_value !== (button_disabled_value = !/*hasDifferences*/ ctx[16])) {
13473
13700
  prop_dev(button, "disabled", button_disabled_value);
13474
13701
  }
13475
13702
 
13476
- if (dirty[0] & /*changeLimitsText*/ 1024) {
13477
- set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[10]);
13703
+ if (dirty[0] & /*changeLimitsText*/ 2048) {
13704
+ set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[11]);
13478
13705
  }
13479
13706
  },
13480
13707
  i: noop$1,
@@ -13509,8 +13736,9 @@
13509
13736
  let { infoname = "" } = $$props;
13510
13737
  let { infocontent = "" } = $$props;
13511
13738
  let { showsuccessnotification = false } = $$props;
13512
- let { showresetnotification = false } = $$props;
13739
+ let { showdeletenotification = false } = $$props;
13513
13740
  let { limitname = "" } = $$props;
13741
+ let { playercurrency = "" } = $$props;
13514
13742
  let showPopup = false;
13515
13743
  let showLimits = true;
13516
13744
  let saveChangesConfirmed = false;
@@ -13604,7 +13832,7 @@
13604
13832
  let periodValues = ["Daily", "Weekly", "Monthly"];
13605
13833
 
13606
13834
  const openInfoPopup = () => {
13607
- $$invalidate(6, showPopup = true);
13835
+ $$invalidate(7, showPopup = true);
13608
13836
  };
13609
13837
 
13610
13838
  const switchToLimitsGroupView = () => {
@@ -13639,7 +13867,7 @@
13639
13867
  } else {
13640
13868
  storedData.forEach(data => {
13641
13869
  if (limitsUpdateData.period === data.periodName) {
13642
- $$invalidate(14, limitsUpdateData.amount = data.value, limitsUpdateData);
13870
+ $$invalidate(15, limitsUpdateData.amount = data.value, limitsUpdateData);
13643
13871
  }
13644
13872
  });
13645
13873
  }
@@ -13685,7 +13913,7 @@
13685
13913
  );
13686
13914
  }
13687
13915
 
13688
- $$invalidate(15, hasDifferences = false);
13916
+ $$invalidate(16, hasDifferences = false);
13689
13917
  }
13690
13918
  };
13691
13919
 
@@ -13695,111 +13923,111 @@
13695
13923
  switch (data.amount) {
13696
13924
  case "Custom":
13697
13925
  if (limitname == "Time Limit") {
13698
- $$invalidate(8, minTimeValue = 60);
13926
+ $$invalidate(9, minTimeValue = 60);
13699
13927
 
13700
13928
  if (data.periodName === "Daily") {
13701
- $$invalidate(9, maxTimeValue = 1440);
13929
+ $$invalidate(10, maxTimeValue = 1440);
13702
13930
  } else if (data.periodName == "Weekly") {
13703
- $$invalidate(9, maxTimeValue = 10080);
13931
+ $$invalidate(10, maxTimeValue = 10080);
13704
13932
  } else {
13705
- $$invalidate(9, maxTimeValue = 43200);
13933
+ $$invalidate(10, maxTimeValue = 43200);
13706
13934
  }
13707
13935
 
13708
13936
  if (data.value && regexValidators.time.test(data.value) && (data.value > minTimeValue && data.value <= maxTimeValue)) {
13709
- $$invalidate(12, invalidIndexes[index] = 0, invalidIndexes);
13937
+ $$invalidate(13, invalidIndexes[index] = 0, invalidIndexes);
13710
13938
  let item = referenceArray[index];
13711
13939
 
13712
13940
  if (data.periodName == item.period && data.value == item.amount) {
13713
- $$invalidate(15, hasDifferences = false);
13941
+ $$invalidate(16, hasDifferences = false);
13714
13942
  updateValues(data, referenceArray);
13715
13943
  } else {
13716
- $$invalidate(15, hasDifferences = true);
13944
+ $$invalidate(16, hasDifferences = true);
13717
13945
  }
13718
13946
  } else {
13719
- $$invalidate(12, invalidIndexes[index] = 1, invalidIndexes);
13720
- $$invalidate(15, hasDifferences = false);
13947
+ $$invalidate(13, invalidIndexes[index] = 1, invalidIndexes);
13948
+ $$invalidate(16, hasDifferences = false);
13721
13949
  }
13722
13950
  } else if (data.value && regexValidators.amount.test(data.value)) {
13723
- $$invalidate(12, invalidIndexes[index] = 0, invalidIndexes);
13951
+ $$invalidate(13, invalidIndexes[index] = 0, invalidIndexes);
13724
13952
 
13725
13953
  if (data.periodName == referenceArray[index].period && data.value == referenceArray[index].amount) {
13726
- $$invalidate(15, hasDifferences = hasDifferences ? true : false);
13954
+ $$invalidate(16, hasDifferences = hasDifferences ? true : false);
13727
13955
  updateValues(data, referenceArray);
13728
13956
  } else {
13729
- $$invalidate(15, hasDifferences = true);
13957
+ $$invalidate(16, hasDifferences = true);
13730
13958
  }
13731
13959
 
13732
13960
  // for deposit limits, check if all limits are different from 0 before allowing any data submission
13733
13961
  storedData.forEach(dataSet => {
13734
13962
  if (dataSet.value == 0) {
13735
- $$invalidate(15, hasDifferences = false);
13963
+ $$invalidate(16, hasDifferences = false);
13736
13964
  }
13737
13965
  });
13738
13966
  } else {
13739
- $$invalidate(12, invalidIndexes[index] = 1, invalidIndexes);
13740
- $$invalidate(15, hasDifferences = false);
13967
+ $$invalidate(13, invalidIndexes[index] = 1, invalidIndexes);
13968
+ $$invalidate(16, hasDifferences = false);
13741
13969
  }
13742
13970
  break;
13743
13971
  default:
13744
13972
  if (data.periodName == referenceArray[index].period) {
13745
13973
  updateValues(data, referenceArray);
13746
13974
 
13747
- $$invalidate(15, hasDifferences = data.value == referenceArray[index].amount
13975
+ $$invalidate(16, hasDifferences = data.value == referenceArray[index].amount
13748
13976
  ? false
13749
13977
  : true);
13750
13978
  } else {
13751
- $$invalidate(15, hasDifferences = true);
13979
+ $$invalidate(16, hasDifferences = true);
13752
13980
  }
13753
13981
  // for deposit limits, check if all limits are different from 0 before allowing any data submission
13754
13982
  storedData.forEach(dataSet => {
13755
13983
  if (dataSet.value == 0) {
13756
- $$invalidate(15, hasDifferences = false);
13984
+ $$invalidate(16, hasDifferences = false);
13757
13985
  }
13758
13986
  });
13759
13987
  break;
13760
13988
  }
13761
13989
  } else {
13762
13990
  if (limitsUpdateData.period != referenceArray.period) {
13763
- $$invalidate(15, hasDifferences = true);
13991
+ $$invalidate(16, hasDifferences = true);
13764
13992
 
13765
13993
  if (data.amount == "Custom") {
13766
13994
  if (data.value && regexValidators.amount.test(data.value)) {
13767
- $$invalidate(13, invalidIndex = false);
13995
+ $$invalidate(14, invalidIndex = false);
13768
13996
 
13769
13997
  if (limitsUpdateData.period == referenceArray.period && data.value == referenceArray.amount) {
13770
- $$invalidate(15, hasDifferences = false);
13998
+ $$invalidate(16, hasDifferences = false);
13771
13999
  updateValues(data, referenceArray);
13772
14000
  } else {
13773
- $$invalidate(15, hasDifferences = true);
14001
+ $$invalidate(16, hasDifferences = true);
13774
14002
  }
13775
14003
  } else {
13776
- $$invalidate(13, invalidIndex = true);
13777
- $$invalidate(15, hasDifferences = false);
14004
+ $$invalidate(14, invalidIndex = true);
14005
+ $$invalidate(16, hasDifferences = false);
13778
14006
  }
13779
14007
  }
13780
14008
  } else {
13781
14009
  switch (data.amount) {
13782
14010
  case "Custom":
13783
14011
  if (data.value && regexValidators.amount.test(data.value)) {
13784
- $$invalidate(13, invalidIndex = false);
14012
+ $$invalidate(14, invalidIndex = false);
13785
14013
 
13786
14014
  if (limitsUpdateData.period == referenceArray.period && data.value == referenceArray.amount) {
13787
- $$invalidate(15, hasDifferences = hasDifferences ? true : false);
14015
+ $$invalidate(16, hasDifferences = hasDifferences ? true : false);
13788
14016
  updateValues(data, referenceArray);
13789
14017
  } else {
13790
- $$invalidate(15, hasDifferences = true);
14018
+ $$invalidate(16, hasDifferences = true);
13791
14019
  }
13792
14020
  } else {
13793
- $$invalidate(13, invalidIndex = true);
13794
- $$invalidate(15, hasDifferences = false);
14021
+ $$invalidate(14, invalidIndex = true);
14022
+ $$invalidate(16, hasDifferences = false);
13795
14023
  }
13796
14024
  break;
13797
14025
  default:
13798
14026
  if (limitsUpdateData.period == referenceArray.period) {
13799
14027
  updateValues(data, referenceArray);
13800
- $$invalidate(15, hasDifferences = data.value == referenceArray.amount ? false : true);
14028
+ $$invalidate(16, hasDifferences = data.value == referenceArray.amount ? false : true);
13801
14029
  } else {
13802
- $$invalidate(15, hasDifferences = true);
14030
+ $$invalidate(16, hasDifferences = true);
13803
14031
  }
13804
14032
  break;
13805
14033
  }
@@ -13877,14 +14105,14 @@
13877
14105
  currentLimitType.forEach(defaultValuesData => {
13878
14106
  if (dataSet.period === defaultValuesData.periodName) {
13879
14107
  if (limitname === "Time Limit") {
13880
- $$invalidate(8, minTimeValue = 60);
14108
+ $$invalidate(9, minTimeValue = 60);
13881
14109
 
13882
14110
  if (dataSet.periodName === "Daily") {
13883
- $$invalidate(9, maxTimeValue = 1440);
14111
+ $$invalidate(10, maxTimeValue = 1440);
13884
14112
  } else if (dataSet.periodName == "Weekly") {
13885
- $$invalidate(9, maxTimeValue = 10080);
14113
+ $$invalidate(10, maxTimeValue = 10080);
13886
14114
  } else {
13887
- $$invalidate(9, maxTimeValue = 43200);
14115
+ $$invalidate(10, maxTimeValue = 43200);
13888
14116
  }
13889
14117
  }
13890
14118
 
@@ -13932,12 +14160,12 @@
13932
14160
  ? "wagering limit"
13933
14161
  : "loss limit";
13934
14162
 
13935
- $$invalidate(10, changeLimitsText = `Are you sure you want to change the ${limitType}s?`);
14163
+ $$invalidate(11, changeLimitsText = `Are you sure you want to change the ${limitType}s?`);
13936
14164
  };
13937
14165
 
13938
14166
  const initialLoad = () => {
13939
14167
  setLimitModalTexts();
13940
- $$invalidate(11, isArray = Array.isArray(limitsdata));
14168
+ $$invalidate(12, isArray = Array.isArray(limitsdata));
13941
14169
 
13942
14170
  // add currency EUR by default, if the data does not have a set currency
13943
14171
  if (isArray) {
@@ -13949,10 +14177,10 @@
13949
14177
  }
13950
14178
 
13951
14179
  // used for validation
13952
- $$invalidate(16, updatedLimitValues = JSON.parse(JSON.stringify(limitsdata)));
14180
+ $$invalidate(17, updatedLimitValues = JSON.parse(JSON.stringify(limitsdata)));
13953
14181
 
13954
14182
  // use limitsUpdateData in order to populate select & input fields
13955
- $$invalidate(14, limitsUpdateData = JSON.parse(JSON.stringify(limitsdata)));
14183
+ $$invalidate(15, limitsUpdateData = JSON.parse(JSON.stringify(limitsdata)));
13956
14184
 
13957
14185
  // extra check - if there are values outside the array set, automatically set them to Custom value and populate the appropriate input field
13958
14186
  currentLimitType = limitname === "Wagering Limit"
@@ -13973,23 +14201,23 @@
13973
14201
  if (e.data) {
13974
14202
  switch (e.data.type) {
13975
14203
  case "ClosePlayerAccountGamingLimitsPopup":
13976
- $$invalidate(6, showPopup = false);
14204
+ $$invalidate(7, showPopup = false);
13977
14205
  break;
13978
14206
  case "GamingLimitsConfirmChanges":
13979
14207
  saveChangesConfirmed = true;
13980
14208
  saveLimits();
13981
14209
  break;
13982
14210
  case "CancelGamingLimitsChanges":
13983
- $$invalidate(7, showLimits = false);
14211
+ $$invalidate(8, showLimits = false);
13984
14212
  // rerender select in order to reset select values
13985
14213
  setTimeout(
13986
14214
  () => {
13987
- $$invalidate(7, showLimits = true);
14215
+ $$invalidate(8, showLimits = true);
13988
14216
  },
13989
14217
  10
13990
14218
  );
13991
14219
  initialLoad();
13992
- $$invalidate(15, hasDifferences = false);
14220
+ $$invalidate(16, hasDifferences = false);
13993
14221
  saveChangesConfirmed = false;
13994
14222
  break;
13995
14223
  }
@@ -14009,8 +14237,9 @@
14009
14237
  "infoname",
14010
14238
  "infocontent",
14011
14239
  "showsuccessnotification",
14012
- "showresetnotification",
14013
- "limitname"
14240
+ "showdeletenotification",
14241
+ "limitname",
14242
+ "playercurrency"
14014
14243
  ];
14015
14244
 
14016
14245
  Object.keys($$props).forEach(key => {
@@ -14019,38 +14248,38 @@
14019
14248
 
14020
14249
  function select_change_handler(index) {
14021
14250
  storedData[index].amount = select_value(this);
14022
- $$invalidate(17, storedData);
14023
- $$invalidate(22, lossLimitPredefinedValues);
14251
+ $$invalidate(18, storedData);
14252
+ $$invalidate(23, lossLimitPredefinedValues);
14024
14253
  }
14025
14254
 
14026
14255
  function input_input_handler(index) {
14027
14256
  storedData[index].value = to_number(this.value);
14028
- $$invalidate(17, storedData);
14029
- $$invalidate(22, lossLimitPredefinedValues);
14257
+ $$invalidate(18, storedData);
14258
+ $$invalidate(23, lossLimitPredefinedValues);
14030
14259
  }
14031
14260
 
14032
14261
  function input_input_handler_1(index) {
14033
14262
  storedData[index].value = to_number(this.value);
14034
- $$invalidate(17, storedData);
14035
- $$invalidate(22, lossLimitPredefinedValues);
14263
+ $$invalidate(18, storedData);
14264
+ $$invalidate(23, lossLimitPredefinedValues);
14036
14265
  }
14037
14266
 
14038
14267
  function select_change_handler_1() {
14039
14268
  limitsUpdateData.period = select_value(this);
14040
- $$invalidate(14, limitsUpdateData);
14041
- $$invalidate(23, periodValues);
14269
+ $$invalidate(15, limitsUpdateData);
14270
+ $$invalidate(24, periodValues);
14042
14271
  }
14043
14272
 
14044
14273
  function select_change_handler_2(each_value_2, index) {
14045
14274
  each_value_2[index].amount = select_value(this);
14046
- $$invalidate(17, storedData);
14047
- $$invalidate(22, lossLimitPredefinedValues);
14275
+ $$invalidate(18, storedData);
14276
+ $$invalidate(23, lossLimitPredefinedValues);
14048
14277
  }
14049
14278
 
14050
14279
  function input_input_handler_2(each_value_2, index) {
14051
14280
  each_value_2[index].value = to_number(this.value);
14052
- $$invalidate(17, storedData);
14053
- $$invalidate(22, lossLimitPredefinedValues);
14281
+ $$invalidate(18, storedData);
14282
+ $$invalidate(23, lossLimitPredefinedValues);
14054
14283
  }
14055
14284
 
14056
14285
  const click_handler = () => confirmGamingLimitsChanges();
@@ -14060,8 +14289,9 @@
14060
14289
  if ("infoname" in $$props) $$invalidate(1, infoname = $$props.infoname);
14061
14290
  if ("infocontent" in $$props) $$invalidate(2, infocontent = $$props.infocontent);
14062
14291
  if ("showsuccessnotification" in $$props) $$invalidate(3, showsuccessnotification = $$props.showsuccessnotification);
14063
- if ("showresetnotification" in $$props) $$invalidate(4, showresetnotification = $$props.showresetnotification);
14292
+ if ("showdeletenotification" in $$props) $$invalidate(4, showdeletenotification = $$props.showdeletenotification);
14064
14293
  if ("limitname" in $$props) $$invalidate(5, limitname = $$props.limitname);
14294
+ if ("playercurrency" in $$props) $$invalidate(6, playercurrency = $$props.playercurrency);
14065
14295
  };
14066
14296
 
14067
14297
  $$self.$capture_state = () => ({
@@ -14072,8 +14302,9 @@
14072
14302
  infoname,
14073
14303
  infocontent,
14074
14304
  showsuccessnotification,
14075
- showresetnotification,
14305
+ showdeletenotification,
14076
14306
  limitname,
14307
+ playercurrency,
14077
14308
  showPopup,
14078
14309
  showLimits,
14079
14310
  saveChangesConfirmed,
@@ -14118,32 +14349,33 @@
14118
14349
  if ("infoname" in $$props) $$invalidate(1, infoname = $$props.infoname);
14119
14350
  if ("infocontent" in $$props) $$invalidate(2, infocontent = $$props.infocontent);
14120
14351
  if ("showsuccessnotification" in $$props) $$invalidate(3, showsuccessnotification = $$props.showsuccessnotification);
14121
- if ("showresetnotification" in $$props) $$invalidate(4, showresetnotification = $$props.showresetnotification);
14352
+ if ("showdeletenotification" in $$props) $$invalidate(4, showdeletenotification = $$props.showdeletenotification);
14122
14353
  if ("limitname" in $$props) $$invalidate(5, limitname = $$props.limitname);
14123
- if ("showPopup" in $$props) $$invalidate(6, showPopup = $$props.showPopup);
14124
- if ("showLimits" in $$props) $$invalidate(7, showLimits = $$props.showLimits);
14354
+ if ("playercurrency" in $$props) $$invalidate(6, playercurrency = $$props.playercurrency);
14355
+ if ("showPopup" in $$props) $$invalidate(7, showPopup = $$props.showPopup);
14356
+ if ("showLimits" in $$props) $$invalidate(8, showLimits = $$props.showLimits);
14125
14357
  if ("saveChangesConfirmed" in $$props) saveChangesConfirmed = $$props.saveChangesConfirmed;
14126
- if ("minTimeValue" in $$props) $$invalidate(8, minTimeValue = $$props.minTimeValue);
14127
- if ("maxTimeValue" in $$props) $$invalidate(9, maxTimeValue = $$props.maxTimeValue);
14128
- if ("changeLimitsText" in $$props) $$invalidate(10, changeLimitsText = $$props.changeLimitsText);
14358
+ if ("minTimeValue" in $$props) $$invalidate(9, minTimeValue = $$props.minTimeValue);
14359
+ if ("maxTimeValue" in $$props) $$invalidate(10, maxTimeValue = $$props.maxTimeValue);
14360
+ if ("changeLimitsText" in $$props) $$invalidate(11, changeLimitsText = $$props.changeLimitsText);
14129
14361
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
14130
- if ("isMobile" in $$props) $$invalidate(18, isMobile = $$props.isMobile);
14131
- if ("isArray" in $$props) $$invalidate(11, isArray = $$props.isArray);
14132
- if ("invalidIndexes" in $$props) $$invalidate(12, invalidIndexes = $$props.invalidIndexes);
14133
- if ("invalidIndex" in $$props) $$invalidate(13, invalidIndex = $$props.invalidIndex);
14134
- if ("successText" in $$props) $$invalidate(19, successText = $$props.successText);
14135
- if ("removeText" in $$props) $$invalidate(20, removeText = $$props.removeText);
14136
- if ("limitsUpdateData" in $$props) $$invalidate(14, limitsUpdateData = $$props.limitsUpdateData);
14362
+ if ("isMobile" in $$props) $$invalidate(19, isMobile = $$props.isMobile);
14363
+ if ("isArray" in $$props) $$invalidate(12, isArray = $$props.isArray);
14364
+ if ("invalidIndexes" in $$props) $$invalidate(13, invalidIndexes = $$props.invalidIndexes);
14365
+ if ("invalidIndex" in $$props) $$invalidate(14, invalidIndex = $$props.invalidIndex);
14366
+ if ("successText" in $$props) $$invalidate(20, successText = $$props.successText);
14367
+ if ("removeText" in $$props) $$invalidate(21, removeText = $$props.removeText);
14368
+ if ("limitsUpdateData" in $$props) $$invalidate(15, limitsUpdateData = $$props.limitsUpdateData);
14137
14369
  if ("currentLimitType" in $$props) currentLimitType = $$props.currentLimitType;
14138
- if ("hasDifferences" in $$props) $$invalidate(15, hasDifferences = $$props.hasDifferences);
14139
- if ("updatedLimitValues" in $$props) $$invalidate(16, updatedLimitValues = $$props.updatedLimitValues);
14370
+ if ("hasDifferences" in $$props) $$invalidate(16, hasDifferences = $$props.hasDifferences);
14371
+ if ("updatedLimitValues" in $$props) $$invalidate(17, updatedLimitValues = $$props.updatedLimitValues);
14140
14372
  if ("validCurrentAmount" in $$props) validCurrentAmount = $$props.validCurrentAmount;
14141
- if ("storedData" in $$props) $$invalidate(17, storedData = $$props.storedData);
14142
- if ("depositPredefinedValues" in $$props) $$invalidate(21, depositPredefinedValues = $$props.depositPredefinedValues);
14373
+ if ("storedData" in $$props) $$invalidate(18, storedData = $$props.storedData);
14374
+ if ("depositPredefinedValues" in $$props) $$invalidate(22, depositPredefinedValues = $$props.depositPredefinedValues);
14143
14375
  if ("wageringLimitPredefinedValues" in $$props) wageringLimitPredefinedValues = $$props.wageringLimitPredefinedValues;
14144
- if ("lossLimitPredefinedValues" in $$props) $$invalidate(22, lossLimitPredefinedValues = $$props.lossLimitPredefinedValues);
14376
+ if ("lossLimitPredefinedValues" in $$props) $$invalidate(23, lossLimitPredefinedValues = $$props.lossLimitPredefinedValues);
14145
14377
  if ("timeLimitPredefinedValues" in $$props) timeLimitPredefinedValues = $$props.timeLimitPredefinedValues;
14146
- if ("periodValues" in $$props) $$invalidate(23, periodValues = $$props.periodValues);
14378
+ if ("periodValues" in $$props) $$invalidate(24, periodValues = $$props.periodValues);
14147
14379
  };
14148
14380
 
14149
14381
  if ($$props && "$$inject" in $$props) {
@@ -14151,8 +14383,8 @@
14151
14383
  }
14152
14384
 
14153
14385
  $$self.$$.update = () => {
14154
- if ($$self.$$.dirty[0] & /*showsuccessnotification, showresetnotification*/ 24) {
14155
- showsuccessnotification && showresetnotification && initialLoad();
14386
+ if ($$self.$$.dirty[0] & /*showsuccessnotification, showdeletenotification*/ 24) {
14387
+ showsuccessnotification && showdeletenotification && initialLoad();
14156
14388
  }
14157
14389
 
14158
14390
  if ($$self.$$.dirty[0] & /*limitsdata, infoname, infocontent*/ 7) {
@@ -14165,8 +14397,9 @@
14165
14397
  infoname,
14166
14398
  infocontent,
14167
14399
  showsuccessnotification,
14168
- showresetnotification,
14400
+ showdeletenotification,
14169
14401
  limitname,
14402
+ playercurrency,
14170
14403
  showPopup,
14171
14404
  showLimits,
14172
14405
  minTimeValue,
@@ -14219,8 +14452,9 @@
14219
14452
  infoname: 1,
14220
14453
  infocontent: 2,
14221
14454
  showsuccessnotification: 3,
14222
- showresetnotification: 4,
14223
- limitname: 5
14455
+ showdeletenotification: 4,
14456
+ limitname: 5,
14457
+ playercurrency: 6
14224
14458
  },
14225
14459
  [-1, -1, -1]
14226
14460
  );
@@ -14243,8 +14477,9 @@
14243
14477
  "infoname",
14244
14478
  "infocontent",
14245
14479
  "showsuccessnotification",
14246
- "showresetnotification",
14247
- "limitname"
14480
+ "showdeletenotification",
14481
+ "limitname",
14482
+ "playercurrency"
14248
14483
  ];
14249
14484
  }
14250
14485
 
@@ -14284,12 +14519,12 @@
14284
14519
  flush();
14285
14520
  }
14286
14521
 
14287
- get showresetnotification() {
14522
+ get showdeletenotification() {
14288
14523
  return this.$$.ctx[4];
14289
14524
  }
14290
14525
 
14291
- set showresetnotification(showresetnotification) {
14292
- this.$set({ showresetnotification });
14526
+ set showdeletenotification(showdeletenotification) {
14527
+ this.$set({ showdeletenotification });
14293
14528
  flush();
14294
14529
  }
14295
14530
 
@@ -14301,6 +14536,15 @@
14301
14536
  this.$set({ limitname });
14302
14537
  flush();
14303
14538
  }
14539
+
14540
+ get playercurrency() {
14541
+ return this.$$.ctx[6];
14542
+ }
14543
+
14544
+ set playercurrency(playercurrency) {
14545
+ this.$set({ playercurrency });
14546
+ flush();
14547
+ }
14304
14548
  }
14305
14549
 
14306
14550
  !customElements.get('player-account-gaming-limits-group-edit') && customElements.define('player-account-gaming-limits-group-edit', PlayerAccountGamingLimitsGroupEdit);