@everymatrix/player-account-gaming-limits-group-edit 0.0.162 → 0.0.163
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.
|
@@ -4756,6 +4756,47 @@
|
|
|
4756
4756
|
return 'PC';
|
|
4757
4757
|
};
|
|
4758
4758
|
|
|
4759
|
+
function addNewMessages$2(lang, dict) {
|
|
4760
|
+
m(lang, dict);
|
|
4761
|
+
}
|
|
4762
|
+
|
|
4763
|
+
const PlayerGamingLimitsEditTranslations = {
|
|
4764
|
+
en: {
|
|
4765
|
+
editText: {
|
|
4766
|
+
back: `Back to Gaming Limits`,
|
|
4767
|
+
limit: `Limit`,
|
|
4768
|
+
amount: `Amount`,
|
|
4769
|
+
noLimit: `No limit`,
|
|
4770
|
+
changeLimitsText: `Are you sure you want to change the {limit}s?`,
|
|
4771
|
+
success: `Success lorem Ipsum is simply dummy text of the printing and typesetting industry.`,
|
|
4772
|
+
remove: `You have requested to remove this limit. This will be applied on `,
|
|
4773
|
+
invalidInputMessageLimit: `The amount needs to be between 0 and 99,999,999.`,
|
|
4774
|
+
invalidInputMessageTime: `The time amount needs to be greater than {minTime} and below {maxTime} minutes.`,
|
|
4775
|
+
expirationDate: `Expiration Date:`,
|
|
4776
|
+
save: `Save`,
|
|
4777
|
+
changedLimitTextBefore: `Your limit has been changed or increased:`,
|
|
4778
|
+
changedLimitTextAfter: `. You will have to wait for the expiration date for your new limit to take effect`
|
|
4779
|
+
}
|
|
4780
|
+
},
|
|
4781
|
+
ro: {
|
|
4782
|
+
editText: {
|
|
4783
|
+
back: `Back to Gaming Limits`,
|
|
4784
|
+
limit: `Limit`,
|
|
4785
|
+
amount: `Amount`,
|
|
4786
|
+
noLimit: `No limit`,
|
|
4787
|
+
changeLimitsText: `Are you sure you want to change the {limit}s?`,
|
|
4788
|
+
success: `Success lorem Ipsum is simply dummy text of the printing and typesetting industry.`,
|
|
4789
|
+
remove: `You have requested to remove this limit. This will be applied on `,
|
|
4790
|
+
invalidInputMessageLimit: `The amount needs to be between 0 and 99,999,999.`,
|
|
4791
|
+
invalidInputMessageTime: `The time amount needs to be greater than {minTime} and below {maxTime} minutes.`,
|
|
4792
|
+
expirationDate: `Expiration Date:`,
|
|
4793
|
+
save: `Save`,
|
|
4794
|
+
changedLimitTextBefore: `Your limit has been changed or increased:`,
|
|
4795
|
+
changedLimitTextAfter: `. You will have to wait for the expiration date for your new limit to take effect`
|
|
4796
|
+
}
|
|
4797
|
+
}
|
|
4798
|
+
};
|
|
4799
|
+
|
|
4759
4800
|
var moment = createCommonjsModule(function (module, exports) {
|
|
4760
4801
|
(function (global, factory) {
|
|
4761
4802
|
module.exports = factory() ;
|
|
@@ -10420,29 +10461,33 @@
|
|
|
10420
10461
|
})));
|
|
10421
10462
|
});
|
|
10422
10463
|
|
|
10423
|
-
function addNewMessages(lang, dict) {
|
|
10464
|
+
function addNewMessages$1(lang, dict) {
|
|
10424
10465
|
m(lang, dict);
|
|
10425
10466
|
}
|
|
10426
10467
|
|
|
10427
|
-
const
|
|
10468
|
+
const PlayerGamingLimitsPopupTranslations = {
|
|
10428
10469
|
en: {
|
|
10429
10470
|
popupText: {
|
|
10471
|
+
name: `Info`,
|
|
10430
10472
|
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:`,
|
|
10473
|
+
defaultText: `Nulla ornare pulvinar dui. Nullam viverra, lacus vel consectetur euismod, ante lorem aliquam nisi, non faucibus nulla lacus sed sapien. Sed imperdiet tristique tincidunt.`
|
|
10431
10474
|
}
|
|
10432
10475
|
},
|
|
10433
10476
|
ro: {
|
|
10434
10477
|
popupText: {
|
|
10478
|
+
name: `Info`,
|
|
10435
10479
|
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:`,
|
|
10480
|
+
defaultText: `Nulla ornare pulvinar dui. Nullam viverra, lacus vel consectetur euismod, ante lorem aliquam nisi, non faucibus nulla lacus sed sapien. Sed imperdiet tristique tincidunt.`
|
|
10436
10481
|
}
|
|
10437
10482
|
}
|
|
10438
10483
|
};
|
|
10439
10484
|
|
|
10440
10485
|
/* ../player-account-gaming-limits-popup/src/PlayerAccountGamingLimitsPopup.svelte generated by Svelte v3.37.0 */
|
|
10441
10486
|
|
|
10442
|
-
const { Object: Object_1 } = globals;
|
|
10487
|
+
const { Object: Object_1$2 } = globals;
|
|
10443
10488
|
const file$3 = "../player-account-gaming-limits-popup/src/PlayerAccountGamingLimitsPopup.svelte";
|
|
10444
10489
|
|
|
10445
|
-
// (
|
|
10490
|
+
// (40:0) {#if showPopup}
|
|
10446
10491
|
function create_if_block$2(ctx) {
|
|
10447
10492
|
let section;
|
|
10448
10493
|
let div5;
|
|
@@ -10450,6 +10495,7 @@
|
|
|
10450
10495
|
let div0;
|
|
10451
10496
|
let t1;
|
|
10452
10497
|
let div1;
|
|
10498
|
+
let t2_value = /*$_*/ ctx[3]("popupText.name") + "";
|
|
10453
10499
|
let t2;
|
|
10454
10500
|
let t3;
|
|
10455
10501
|
let div2;
|
|
@@ -10478,7 +10524,7 @@
|
|
|
10478
10524
|
div0.textContent = "i";
|
|
10479
10525
|
t1 = space();
|
|
10480
10526
|
div1 = element("div");
|
|
10481
|
-
t2 = text(
|
|
10527
|
+
t2 = text(t2_value);
|
|
10482
10528
|
t3 = space();
|
|
10483
10529
|
div2 = element("div");
|
|
10484
10530
|
svg = svg_element("svg");
|
|
@@ -10487,34 +10533,34 @@
|
|
|
10487
10533
|
div4 = element("div");
|
|
10488
10534
|
if_block.c();
|
|
10489
10535
|
attr_dev(div0, "class", "InfoCardPopupIcon");
|
|
10490
|
-
add_location(div0, file$3,
|
|
10536
|
+
add_location(div0, file$3, 43, 8, 1529);
|
|
10491
10537
|
attr_dev(div1, "class", "InfoCardPopupTitle");
|
|
10492
|
-
add_location(div1, file$3,
|
|
10538
|
+
add_location(div1, file$3, 44, 8, 1576);
|
|
10493
10539
|
attr_dev(path, "stroke-linecap", "round");
|
|
10494
10540
|
attr_dev(path, "stroke-linejoin", "round");
|
|
10495
10541
|
attr_dev(path, "stroke-width", "2");
|
|
10496
10542
|
attr_dev(path, "d", "M6 18L18 6M6 6l12 12");
|
|
10497
|
-
add_location(path, file$3,
|
|
10543
|
+
add_location(path, file$3, 46, 120, 1845);
|
|
10498
10544
|
attr_dev(svg, "class", "w-6 h-6");
|
|
10499
10545
|
attr_dev(svg, "fill", "none");
|
|
10500
10546
|
attr_dev(svg, "stroke", "currentColor");
|
|
10501
10547
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
10502
10548
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10503
|
-
add_location(svg, file$3,
|
|
10549
|
+
add_location(svg, file$3, 46, 10, 1735);
|
|
10504
10550
|
attr_dev(div2, "class", "InfoCardPopupCloseButton");
|
|
10505
|
-
add_location(div2, file$3,
|
|
10551
|
+
add_location(div2, file$3, 45, 8, 1645);
|
|
10506
10552
|
attr_dev(div3, "class", "InfoCardPopupHeader");
|
|
10507
|
-
add_location(div3, file$3,
|
|
10553
|
+
add_location(div3, file$3, 42, 6, 1487);
|
|
10508
10554
|
attr_dev(div4, "class", "InfoCardPopupContentArea");
|
|
10509
|
-
add_location(div4, file$3,
|
|
10555
|
+
add_location(div4, file$3, 49, 6, 1988);
|
|
10510
10556
|
|
|
10511
|
-
attr_dev(div5, "class", div5_class_value = "InfoCardPopupWrapper " + (/*isMobile*/ ctx[
|
|
10557
|
+
attr_dev(div5, "class", div5_class_value = "InfoCardPopupWrapper " + (/*isMobile*/ ctx[4] ? "InfoCardPopupMobileWrapper" : "") + " " + (/*iteminfoamount*/ ctx[0]
|
|
10512
10558
|
? "InfoCardPopupLimitChanged"
|
|
10513
10559
|
: ""));
|
|
10514
10560
|
|
|
10515
|
-
add_location(div5, file$3,
|
|
10516
|
-
attr_dev(section, "class", /*isMobile*/ ctx[
|
|
10517
|
-
add_location(section, file$3,
|
|
10561
|
+
add_location(div5, file$3, 41, 4, 1347);
|
|
10562
|
+
attr_dev(section, "class", /*isMobile*/ ctx[4] ? "InfoCardPopupMobileModal" : "");
|
|
10563
|
+
add_location(section, file$3, 40, 2, 1282);
|
|
10518
10564
|
},
|
|
10519
10565
|
m: function mount(target, anchor) {
|
|
10520
10566
|
insert_dev(target, section, anchor);
|
|
@@ -10533,12 +10579,12 @@
|
|
|
10533
10579
|
if_block.m(div4, null);
|
|
10534
10580
|
|
|
10535
10581
|
if (!mounted) {
|
|
10536
|
-
dispose = listen_dev(div2, "click", prevent_default(/*closeInfoPopup*/ ctx[
|
|
10582
|
+
dispose = listen_dev(div2, "click", prevent_default(/*closeInfoPopup*/ ctx[5]), false, true, false);
|
|
10537
10583
|
mounted = true;
|
|
10538
10584
|
}
|
|
10539
10585
|
},
|
|
10540
10586
|
p: function update(ctx, dirty) {
|
|
10541
|
-
if (dirty &
|
|
10587
|
+
if (dirty & /*$_*/ 8 && t2_value !== (t2_value = /*$_*/ ctx[3]("popupText.name") + "")) set_data_dev(t2, t2_value);
|
|
10542
10588
|
|
|
10543
10589
|
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
10544
10590
|
if_block.p(ctx, dirty);
|
|
@@ -10552,7 +10598,7 @@
|
|
|
10552
10598
|
}
|
|
10553
10599
|
}
|
|
10554
10600
|
|
|
10555
|
-
if (dirty & /*iteminfoamount*/ 1 && div5_class_value !== (div5_class_value = "InfoCardPopupWrapper " + (/*isMobile*/ ctx[
|
|
10601
|
+
if (dirty & /*iteminfoamount*/ 1 && div5_class_value !== (div5_class_value = "InfoCardPopupWrapper " + (/*isMobile*/ ctx[4] ? "InfoCardPopupMobileWrapper" : "") + " " + (/*iteminfoamount*/ ctx[0]
|
|
10556
10602
|
? "InfoCardPopupLimitChanged"
|
|
10557
10603
|
: ""))) {
|
|
10558
10604
|
attr_dev(div5, "class", div5_class_value);
|
|
@@ -10570,31 +10616,32 @@
|
|
|
10570
10616
|
block,
|
|
10571
10617
|
id: create_if_block$2.name,
|
|
10572
10618
|
type: "if",
|
|
10573
|
-
source: "(
|
|
10619
|
+
source: "(40:0) {#if showPopup}",
|
|
10574
10620
|
ctx
|
|
10575
10621
|
});
|
|
10576
10622
|
|
|
10577
10623
|
return block;
|
|
10578
10624
|
}
|
|
10579
10625
|
|
|
10580
|
-
// (
|
|
10626
|
+
// (53:8) {:else}
|
|
10581
10627
|
function create_else_block$1(ctx) {
|
|
10582
10628
|
let p;
|
|
10629
|
+
let t_value = /*$_*/ ctx[3]("popupText.defaultText") + "";
|
|
10583
10630
|
let t;
|
|
10584
10631
|
|
|
10585
10632
|
const block = {
|
|
10586
10633
|
c: function create() {
|
|
10587
10634
|
p = element("p");
|
|
10588
|
-
t = text(
|
|
10635
|
+
t = text(t_value);
|
|
10589
10636
|
attr_dev(p, "class", "InfoCardPopupContent");
|
|
10590
|
-
add_location(p, file$3,
|
|
10637
|
+
add_location(p, file$3, 53, 10, 2224);
|
|
10591
10638
|
},
|
|
10592
10639
|
m: function mount(target, anchor) {
|
|
10593
10640
|
insert_dev(target, p, anchor);
|
|
10594
10641
|
append_dev(p, t);
|
|
10595
10642
|
},
|
|
10596
10643
|
p: function update(ctx, dirty) {
|
|
10597
|
-
if (dirty &
|
|
10644
|
+
if (dirty & /*$_*/ 8 && t_value !== (t_value = /*$_*/ ctx[3]("popupText.defaultText") + "")) set_data_dev(t, t_value);
|
|
10598
10645
|
},
|
|
10599
10646
|
d: function destroy(detaching) {
|
|
10600
10647
|
if (detaching) detach_dev(p);
|
|
@@ -10605,21 +10652,21 @@
|
|
|
10605
10652
|
block,
|
|
10606
10653
|
id: create_else_block$1.name,
|
|
10607
10654
|
type: "else",
|
|
10608
|
-
source: "(
|
|
10655
|
+
source: "(53:8) {:else}",
|
|
10609
10656
|
ctx
|
|
10610
10657
|
});
|
|
10611
10658
|
|
|
10612
10659
|
return block;
|
|
10613
10660
|
}
|
|
10614
10661
|
|
|
10615
|
-
// (
|
|
10662
|
+
// (51:8) {#if iteminfoamount}
|
|
10616
10663
|
function create_if_block_1$1(ctx) {
|
|
10617
10664
|
let p;
|
|
10618
10665
|
|
|
10619
|
-
let t_value = /*$_*/ ctx[
|
|
10666
|
+
let t_value = /*$_*/ ctx[3]("popupText.amountChanged", {
|
|
10620
10667
|
values: {
|
|
10621
10668
|
amount: /*iteminfoamount*/ ctx[0],
|
|
10622
|
-
currency: /*playercurrency*/ ctx[
|
|
10669
|
+
currency: /*playercurrency*/ ctx[1]
|
|
10623
10670
|
}
|
|
10624
10671
|
}) + "";
|
|
10625
10672
|
|
|
@@ -10630,17 +10677,17 @@
|
|
|
10630
10677
|
p = element("p");
|
|
10631
10678
|
t = text(t_value);
|
|
10632
10679
|
attr_dev(p, "class", "InfoCardPopupContent");
|
|
10633
|
-
add_location(p, file$3,
|
|
10680
|
+
add_location(p, file$3, 51, 10, 2066);
|
|
10634
10681
|
},
|
|
10635
10682
|
m: function mount(target, anchor) {
|
|
10636
10683
|
insert_dev(target, p, anchor);
|
|
10637
10684
|
append_dev(p, t);
|
|
10638
10685
|
},
|
|
10639
10686
|
p: function update(ctx, dirty) {
|
|
10640
|
-
if (dirty & /*$_, iteminfoamount, playercurrency*/
|
|
10687
|
+
if (dirty & /*$_, iteminfoamount, playercurrency*/ 11 && t_value !== (t_value = /*$_*/ ctx[3]("popupText.amountChanged", {
|
|
10641
10688
|
values: {
|
|
10642
10689
|
amount: /*iteminfoamount*/ ctx[0],
|
|
10643
|
-
currency: /*playercurrency*/ ctx[
|
|
10690
|
+
currency: /*playercurrency*/ ctx[1]
|
|
10644
10691
|
}
|
|
10645
10692
|
}) + "")) set_data_dev(t, t_value);
|
|
10646
10693
|
},
|
|
@@ -10653,7 +10700,7 @@
|
|
|
10653
10700
|
block,
|
|
10654
10701
|
id: create_if_block_1$1.name,
|
|
10655
10702
|
type: "if",
|
|
10656
|
-
source: "(
|
|
10703
|
+
source: "(51:8) {#if iteminfoamount}",
|
|
10657
10704
|
ctx
|
|
10658
10705
|
});
|
|
10659
10706
|
|
|
@@ -10662,7 +10709,7 @@
|
|
|
10662
10709
|
|
|
10663
10710
|
function create_fragment$3(ctx) {
|
|
10664
10711
|
let if_block_anchor;
|
|
10665
|
-
let if_block = /*showPopup*/ ctx[
|
|
10712
|
+
let if_block = /*showPopup*/ ctx[2] && create_if_block$2(ctx);
|
|
10666
10713
|
|
|
10667
10714
|
const block = {
|
|
10668
10715
|
c: function create() {
|
|
@@ -10678,7 +10725,7 @@
|
|
|
10678
10725
|
insert_dev(target, if_block_anchor, anchor);
|
|
10679
10726
|
},
|
|
10680
10727
|
p: function update(ctx, [dirty]) {
|
|
10681
|
-
if (/*showPopup*/ ctx[
|
|
10728
|
+
if (/*showPopup*/ ctx[2]) {
|
|
10682
10729
|
if (if_block) {
|
|
10683
10730
|
if_block.p(ctx, dirty);
|
|
10684
10731
|
} else {
|
|
@@ -10713,26 +10760,24 @@
|
|
|
10713
10760
|
function instance$3($$self, $$props, $$invalidate) {
|
|
10714
10761
|
let $_;
|
|
10715
10762
|
validate_store(X, "_");
|
|
10716
|
-
component_subscribe($$self, X, $$value => $$invalidate(
|
|
10763
|
+
component_subscribe($$self, X, $$value => $$invalidate(3, $_ = $$value));
|
|
10717
10764
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
10718
10765
|
validate_slots("undefined", slots, []);
|
|
10719
10766
|
let { showpopup = "" } = $$props;
|
|
10720
|
-
let { infocontent = "" } = $$props;
|
|
10721
|
-
let { infoname = "" } = $$props;
|
|
10722
10767
|
let { iteminfoamount = "" } = $$props;
|
|
10723
10768
|
let { lang = "en" } = $$props;
|
|
10724
10769
|
let { playercurrency = "USD" } = $$props;
|
|
10725
|
-
let showPopup = false;
|
|
10726
10770
|
|
|
10727
|
-
Object.keys(
|
|
10728
|
-
addNewMessages(item,
|
|
10771
|
+
Object.keys(PlayerGamingLimitsPopupTranslations).forEach(item => {
|
|
10772
|
+
addNewMessages$1(item, PlayerGamingLimitsPopupTranslations[item]);
|
|
10729
10773
|
});
|
|
10730
10774
|
|
|
10775
|
+
let showPopup = false;
|
|
10731
10776
|
let userAgent = window.navigator.userAgent;
|
|
10732
10777
|
let isMobile = getDevice(userAgent) === "PC" ? false : true;
|
|
10733
10778
|
|
|
10734
10779
|
const closeInfoPopup = () => {
|
|
10735
|
-
$$invalidate(
|
|
10780
|
+
$$invalidate(2, showPopup = false);
|
|
10736
10781
|
|
|
10737
10782
|
window.postMessage(
|
|
10738
10783
|
{
|
|
@@ -10744,7 +10789,7 @@
|
|
|
10744
10789
|
|
|
10745
10790
|
const messageHandler = e => {
|
|
10746
10791
|
if (e.data && e.data.type == "ClosePlayerAccountGamingLimitsPopup") {
|
|
10747
|
-
$$invalidate(
|
|
10792
|
+
$$invalidate(2, showPopup = false);
|
|
10748
10793
|
}
|
|
10749
10794
|
};
|
|
10750
10795
|
|
|
@@ -10753,7 +10798,7 @@
|
|
|
10753
10798
|
$$invalidate(0, iteminfoamount = "0");
|
|
10754
10799
|
}
|
|
10755
10800
|
|
|
10756
|
-
$$invalidate(
|
|
10801
|
+
$$invalidate(2, showPopup = showpopup);
|
|
10757
10802
|
};
|
|
10758
10803
|
|
|
10759
10804
|
onMount(() => {
|
|
@@ -10764,37 +10809,26 @@
|
|
|
10764
10809
|
};
|
|
10765
10810
|
});
|
|
10766
10811
|
|
|
10767
|
-
const writable_props = [
|
|
10768
|
-
"showpopup",
|
|
10769
|
-
"infocontent",
|
|
10770
|
-
"infoname",
|
|
10771
|
-
"iteminfoamount",
|
|
10772
|
-
"lang",
|
|
10773
|
-
"playercurrency"
|
|
10774
|
-
];
|
|
10812
|
+
const writable_props = ["showpopup", "iteminfoamount", "lang", "playercurrency"];
|
|
10775
10813
|
|
|
10776
|
-
Object_1.keys($$props).forEach(key => {
|
|
10814
|
+
Object_1$2.keys($$props).forEach(key => {
|
|
10777
10815
|
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
10778
10816
|
});
|
|
10779
10817
|
|
|
10780
10818
|
$$self.$$set = $$props => {
|
|
10781
|
-
if ("showpopup" in $$props) $$invalidate(
|
|
10782
|
-
if ("infocontent" in $$props) $$invalidate(1, infocontent = $$props.infocontent);
|
|
10783
|
-
if ("infoname" in $$props) $$invalidate(2, infoname = $$props.infoname);
|
|
10819
|
+
if ("showpopup" in $$props) $$invalidate(6, showpopup = $$props.showpopup);
|
|
10784
10820
|
if ("iteminfoamount" in $$props) $$invalidate(0, iteminfoamount = $$props.iteminfoamount);
|
|
10785
|
-
if ("lang" in $$props) $$invalidate(
|
|
10786
|
-
if ("playercurrency" in $$props) $$invalidate(
|
|
10821
|
+
if ("lang" in $$props) $$invalidate(7, lang = $$props.lang);
|
|
10822
|
+
if ("playercurrency" in $$props) $$invalidate(1, playercurrency = $$props.playercurrency);
|
|
10787
10823
|
};
|
|
10788
10824
|
|
|
10789
10825
|
$$self.$capture_state = () => ({
|
|
10790
10826
|
onMount,
|
|
10791
10827
|
getDevice,
|
|
10792
10828
|
_: X,
|
|
10793
|
-
addNewMessages,
|
|
10794
|
-
|
|
10829
|
+
addNewMessages: addNewMessages$1,
|
|
10830
|
+
PlayerGamingLimitsPopupTranslations,
|
|
10795
10831
|
showpopup,
|
|
10796
|
-
infocontent,
|
|
10797
|
-
infoname,
|
|
10798
10832
|
iteminfoamount,
|
|
10799
10833
|
lang,
|
|
10800
10834
|
playercurrency,
|
|
@@ -10808,15 +10842,13 @@
|
|
|
10808
10842
|
});
|
|
10809
10843
|
|
|
10810
10844
|
$$self.$inject_state = $$props => {
|
|
10811
|
-
if ("showpopup" in $$props) $$invalidate(
|
|
10812
|
-
if ("infocontent" in $$props) $$invalidate(1, infocontent = $$props.infocontent);
|
|
10813
|
-
if ("infoname" in $$props) $$invalidate(2, infoname = $$props.infoname);
|
|
10845
|
+
if ("showpopup" in $$props) $$invalidate(6, showpopup = $$props.showpopup);
|
|
10814
10846
|
if ("iteminfoamount" in $$props) $$invalidate(0, iteminfoamount = $$props.iteminfoamount);
|
|
10815
|
-
if ("lang" in $$props) $$invalidate(
|
|
10816
|
-
if ("playercurrency" in $$props) $$invalidate(
|
|
10817
|
-
if ("showPopup" in $$props) $$invalidate(
|
|
10847
|
+
if ("lang" in $$props) $$invalidate(7, lang = $$props.lang);
|
|
10848
|
+
if ("playercurrency" in $$props) $$invalidate(1, playercurrency = $$props.playercurrency);
|
|
10849
|
+
if ("showPopup" in $$props) $$invalidate(2, showPopup = $$props.showPopup);
|
|
10818
10850
|
if ("userAgent" in $$props) userAgent = $$props.userAgent;
|
|
10819
|
-
if ("isMobile" in $$props) $$invalidate(
|
|
10851
|
+
if ("isMobile" in $$props) $$invalidate(4, isMobile = $$props.isMobile);
|
|
10820
10852
|
};
|
|
10821
10853
|
|
|
10822
10854
|
if ($$props && "$$inject" in $$props) {
|
|
@@ -10824,15 +10856,13 @@
|
|
|
10824
10856
|
}
|
|
10825
10857
|
|
|
10826
10858
|
$$self.$$.update = () => {
|
|
10827
|
-
if ($$self.$$.dirty & /*showpopup*/
|
|
10859
|
+
if ($$self.$$.dirty & /*showpopup*/ 64) {
|
|
10828
10860
|
showpopup && initialLoad();
|
|
10829
10861
|
}
|
|
10830
10862
|
};
|
|
10831
10863
|
|
|
10832
10864
|
return [
|
|
10833
10865
|
iteminfoamount,
|
|
10834
|
-
infocontent,
|
|
10835
|
-
infoname,
|
|
10836
10866
|
playercurrency,
|
|
10837
10867
|
showPopup,
|
|
10838
10868
|
$_,
|
|
@@ -10859,12 +10889,10 @@
|
|
|
10859
10889
|
create_fragment$3,
|
|
10860
10890
|
safe_not_equal,
|
|
10861
10891
|
{
|
|
10862
|
-
showpopup:
|
|
10863
|
-
infocontent: 1,
|
|
10864
|
-
infoname: 2,
|
|
10892
|
+
showpopup: 6,
|
|
10865
10893
|
iteminfoamount: 0,
|
|
10866
|
-
lang:
|
|
10867
|
-
playercurrency:
|
|
10894
|
+
lang: 7,
|
|
10895
|
+
playercurrency: 1
|
|
10868
10896
|
}
|
|
10869
10897
|
);
|
|
10870
10898
|
|
|
@@ -10881,18 +10909,11 @@
|
|
|
10881
10909
|
}
|
|
10882
10910
|
|
|
10883
10911
|
static get observedAttributes() {
|
|
10884
|
-
return [
|
|
10885
|
-
"showpopup",
|
|
10886
|
-
"infocontent",
|
|
10887
|
-
"infoname",
|
|
10888
|
-
"iteminfoamount",
|
|
10889
|
-
"lang",
|
|
10890
|
-
"playercurrency"
|
|
10891
|
-
];
|
|
10912
|
+
return ["showpopup", "iteminfoamount", "lang", "playercurrency"];
|
|
10892
10913
|
}
|
|
10893
10914
|
|
|
10894
10915
|
get showpopup() {
|
|
10895
|
-
return this.$$.ctx[
|
|
10916
|
+
return this.$$.ctx[6];
|
|
10896
10917
|
}
|
|
10897
10918
|
|
|
10898
10919
|
set showpopup(showpopup) {
|
|
@@ -10900,24 +10921,6 @@
|
|
|
10900
10921
|
flush();
|
|
10901
10922
|
}
|
|
10902
10923
|
|
|
10903
|
-
get infocontent() {
|
|
10904
|
-
return this.$$.ctx[1];
|
|
10905
|
-
}
|
|
10906
|
-
|
|
10907
|
-
set infocontent(infocontent) {
|
|
10908
|
-
this.$set({ infocontent });
|
|
10909
|
-
flush();
|
|
10910
|
-
}
|
|
10911
|
-
|
|
10912
|
-
get infoname() {
|
|
10913
|
-
return this.$$.ctx[2];
|
|
10914
|
-
}
|
|
10915
|
-
|
|
10916
|
-
set infoname(infoname) {
|
|
10917
|
-
this.$set({ infoname });
|
|
10918
|
-
flush();
|
|
10919
|
-
}
|
|
10920
|
-
|
|
10921
10924
|
get iteminfoamount() {
|
|
10922
10925
|
return this.$$.ctx[0];
|
|
10923
10926
|
}
|
|
@@ -10928,7 +10931,7 @@
|
|
|
10928
10931
|
}
|
|
10929
10932
|
|
|
10930
10933
|
get lang() {
|
|
10931
|
-
return this.$$.ctx[
|
|
10934
|
+
return this.$$.ctx[7];
|
|
10932
10935
|
}
|
|
10933
10936
|
|
|
10934
10937
|
set lang(lang) {
|
|
@@ -10937,7 +10940,7 @@
|
|
|
10937
10940
|
}
|
|
10938
10941
|
|
|
10939
10942
|
get playercurrency() {
|
|
10940
|
-
return this.$$.ctx[
|
|
10943
|
+
return this.$$.ctx[1];
|
|
10941
10944
|
}
|
|
10942
10945
|
|
|
10943
10946
|
set playercurrency(playercurrency) {
|
|
@@ -11222,7 +11225,28 @@
|
|
|
11222
11225
|
|
|
11223
11226
|
!customElements.get('player-account-modal') && customElements.define('player-account-modal', PlayerAccountModal);
|
|
11224
11227
|
|
|
11228
|
+
function addNewMessages(lang, dict) {
|
|
11229
|
+
m(lang, dict);
|
|
11230
|
+
}
|
|
11231
|
+
|
|
11232
|
+
const PlayerGamingLimitsModalTranslations = {
|
|
11233
|
+
en: {
|
|
11234
|
+
modalText: {
|
|
11235
|
+
cancel: `Cancel`,
|
|
11236
|
+
confirm: `Confirm`,
|
|
11237
|
+
}
|
|
11238
|
+
},
|
|
11239
|
+
ro: {
|
|
11240
|
+
modalText: {
|
|
11241
|
+
cancel: `Cancel`,
|
|
11242
|
+
confirm: `Confirm`,
|
|
11243
|
+
}
|
|
11244
|
+
}
|
|
11245
|
+
};
|
|
11246
|
+
|
|
11225
11247
|
/* ../player-account-gaming-limits-confirmation-modal/src/PlayerAccountGamingLimitsConfirmationModal.svelte generated by Svelte v3.37.0 */
|
|
11248
|
+
|
|
11249
|
+
const { Object: Object_1$1 } = globals;
|
|
11226
11250
|
const file$1 = "../player-account-gaming-limits-confirmation-modal/src/PlayerAccountGamingLimitsConfirmationModal.svelte";
|
|
11227
11251
|
|
|
11228
11252
|
function create_fragment$1(ctx) {
|
|
@@ -11238,8 +11262,12 @@
|
|
|
11238
11262
|
let t2;
|
|
11239
11263
|
let div1;
|
|
11240
11264
|
let button0;
|
|
11265
|
+
let t3_value = /*$_*/ ctx[1]("modalText.cancel") + "";
|
|
11266
|
+
let t3;
|
|
11241
11267
|
let t4;
|
|
11242
11268
|
let button1;
|
|
11269
|
+
let t5_value = /*$_*/ ctx[1]("modalText.confirm") + "";
|
|
11270
|
+
let t5;
|
|
11243
11271
|
let mounted;
|
|
11244
11272
|
let dispose;
|
|
11245
11273
|
|
|
@@ -11257,43 +11285,43 @@
|
|
|
11257
11285
|
t2 = space();
|
|
11258
11286
|
div1 = element("div");
|
|
11259
11287
|
button0 = element("button");
|
|
11260
|
-
|
|
11288
|
+
t3 = text(t3_value);
|
|
11261
11289
|
t4 = space();
|
|
11262
11290
|
button1 = element("button");
|
|
11263
|
-
|
|
11291
|
+
t5 = text(t5_value);
|
|
11264
11292
|
this.c = noop$1;
|
|
11265
11293
|
attr_dev(path, "stroke-linecap", "round");
|
|
11266
11294
|
attr_dev(path, "stroke-linejoin", "round");
|
|
11267
11295
|
attr_dev(path, "stroke-width", "2");
|
|
11268
11296
|
attr_dev(path, "d", "M6 18L18 6M6 6l12 12");
|
|
11269
|
-
add_location(path, file$1,
|
|
11297
|
+
add_location(path, file$1, 66, 116, 2763);
|
|
11270
11298
|
attr_dev(svg, "class", "w-6 h-6");
|
|
11271
11299
|
attr_dev(svg, "fill", "none");
|
|
11272
11300
|
attr_dev(svg, "stroke", "currentColor");
|
|
11273
11301
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
11274
11302
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11275
|
-
add_location(svg, file$1,
|
|
11303
|
+
add_location(svg, file$1, 66, 6, 2653);
|
|
11276
11304
|
attr_dev(slot, "name", "close");
|
|
11277
|
-
add_location(slot, file$1,
|
|
11305
|
+
add_location(slot, file$1, 65, 4, 2627);
|
|
11278
11306
|
attr_dev(span, "class", "ModalCloseBtn");
|
|
11279
11307
|
attr_dev(span, "role", "button");
|
|
11280
|
-
add_location(span, file$1,
|
|
11308
|
+
add_location(span, file$1, 64, 2, 2563);
|
|
11281
11309
|
attr_dev(div0, "class", "GamingLimitsConfirmationContent");
|
|
11282
|
-
add_location(div0, file$1,
|
|
11310
|
+
add_location(div0, file$1, 70, 4, 2948);
|
|
11283
11311
|
attr_dev(button0, "class", "GamingLimitsCancelButton");
|
|
11284
|
-
add_location(button0, file$1,
|
|
11312
|
+
add_location(button0, file$1, 72, 6, 3071);
|
|
11285
11313
|
attr_dev(button1, "class", "GamingLimitsConfirmButton");
|
|
11286
|
-
add_location(button1, file$1,
|
|
11314
|
+
add_location(button1, file$1, 73, 6, 3177);
|
|
11287
11315
|
attr_dev(div1, "class", "GamingLimitsConfirmationControlArea");
|
|
11288
|
-
add_location(div1, file$1,
|
|
11316
|
+
add_location(div1, file$1, 71, 4, 3015);
|
|
11289
11317
|
attr_dev(div2, "class", "GamingLimitsConfirmationContainer");
|
|
11290
|
-
add_location(div2, file$1,
|
|
11318
|
+
add_location(div2, file$1, 69, 2, 2896);
|
|
11291
11319
|
|
|
11292
|
-
attr_dev(div3, "class", "GamingLimitsConfirmationWrapper " + (/*isMobile*/ ctx[
|
|
11320
|
+
attr_dev(div3, "class", "GamingLimitsConfirmationWrapper " + (/*isMobile*/ ctx[2]
|
|
11293
11321
|
? "GamingLimitsConfirmationMobileWrapper"
|
|
11294
11322
|
: ""));
|
|
11295
11323
|
|
|
11296
|
-
add_location(div3, file$1,
|
|
11324
|
+
add_location(div3, file$1, 63, 0, 2457);
|
|
11297
11325
|
},
|
|
11298
11326
|
l: function claim(nodes) {
|
|
11299
11327
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -11311,14 +11339,16 @@
|
|
|
11311
11339
|
append_dev(div2, t2);
|
|
11312
11340
|
append_dev(div2, div1);
|
|
11313
11341
|
append_dev(div1, button0);
|
|
11342
|
+
append_dev(button0, t3);
|
|
11314
11343
|
append_dev(div1, t4);
|
|
11315
11344
|
append_dev(div1, button1);
|
|
11345
|
+
append_dev(button1, t5);
|
|
11316
11346
|
|
|
11317
11347
|
if (!mounted) {
|
|
11318
11348
|
dispose = [
|
|
11319
|
-
listen_dev(span, "click", /*close*/ ctx[
|
|
11320
|
-
listen_dev(button0, "click", /*cancelChanges*/ ctx[
|
|
11321
|
-
listen_dev(button1, "click", /*confirmChanges*/ ctx[
|
|
11349
|
+
listen_dev(span, "click", /*close*/ ctx[3], false, false, false),
|
|
11350
|
+
listen_dev(button0, "click", /*cancelChanges*/ ctx[5], false, false, false),
|
|
11351
|
+
listen_dev(button1, "click", /*confirmChanges*/ ctx[4], false, false, false)
|
|
11322
11352
|
];
|
|
11323
11353
|
|
|
11324
11354
|
mounted = true;
|
|
@@ -11326,6 +11356,8 @@
|
|
|
11326
11356
|
},
|
|
11327
11357
|
p: function update(ctx, [dirty]) {
|
|
11328
11358
|
if (dirty & /*modaltext*/ 1) set_data_dev(t1, /*modaltext*/ ctx[0]);
|
|
11359
|
+
if (dirty & /*$_*/ 2 && t3_value !== (t3_value = /*$_*/ ctx[1]("modalText.cancel") + "")) set_data_dev(t3, t3_value);
|
|
11360
|
+
if (dirty & /*$_*/ 2 && t5_value !== (t5_value = /*$_*/ ctx[1]("modalText.confirm") + "")) set_data_dev(t5, t5_value);
|
|
11329
11361
|
},
|
|
11330
11362
|
i: noop$1,
|
|
11331
11363
|
o: noop$1,
|
|
@@ -11348,11 +11380,18 @@
|
|
|
11348
11380
|
}
|
|
11349
11381
|
|
|
11350
11382
|
function instance$1($$self, $$props, $$invalidate) {
|
|
11383
|
+
let $_;
|
|
11384
|
+
validate_store(X, "_");
|
|
11385
|
+
component_subscribe($$self, X, $$value => $$invalidate(1, $_ = $$value));
|
|
11351
11386
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
11352
11387
|
validate_slots("undefined", slots, []);
|
|
11353
11388
|
let { modaltext = "Are you sure that you want to perform this action?" } = $$props;
|
|
11354
11389
|
let { modalsource = "" } = $$props;
|
|
11355
11390
|
|
|
11391
|
+
Object.keys(PlayerGamingLimitsModalTranslations).forEach(item => {
|
|
11392
|
+
addNewMessages(item, PlayerGamingLimitsModalTranslations[item]);
|
|
11393
|
+
});
|
|
11394
|
+
|
|
11356
11395
|
// helper variables
|
|
11357
11396
|
let userAgent = window.navigator.userAgent;
|
|
11358
11397
|
|
|
@@ -11427,18 +11466,21 @@
|
|
|
11427
11466
|
|
|
11428
11467
|
const writable_props = ["modaltext", "modalsource"];
|
|
11429
11468
|
|
|
11430
|
-
|
|
11469
|
+
Object_1$1.keys($$props).forEach(key => {
|
|
11431
11470
|
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
11432
11471
|
});
|
|
11433
11472
|
|
|
11434
11473
|
$$self.$$set = $$props => {
|
|
11435
11474
|
if ("modaltext" in $$props) $$invalidate(0, modaltext = $$props.modaltext);
|
|
11436
|
-
if ("modalsource" in $$props) $$invalidate(
|
|
11475
|
+
if ("modalsource" in $$props) $$invalidate(6, modalsource = $$props.modalsource);
|
|
11437
11476
|
};
|
|
11438
11477
|
|
|
11439
11478
|
$$self.$capture_state = () => ({
|
|
11440
11479
|
onMount,
|
|
11441
11480
|
getDevice,
|
|
11481
|
+
_: X,
|
|
11482
|
+
addNewMessages,
|
|
11483
|
+
PlayerGamingLimitsModalTranslations,
|
|
11442
11484
|
modaltext,
|
|
11443
11485
|
modalsource,
|
|
11444
11486
|
userAgent,
|
|
@@ -11450,14 +11492,15 @@
|
|
|
11450
11492
|
cancelChanges,
|
|
11451
11493
|
obtainLimitCategoryName,
|
|
11452
11494
|
messageHandler,
|
|
11453
|
-
initialLoad
|
|
11495
|
+
initialLoad,
|
|
11496
|
+
$_
|
|
11454
11497
|
});
|
|
11455
11498
|
|
|
11456
11499
|
$$self.$inject_state = $$props => {
|
|
11457
11500
|
if ("modaltext" in $$props) $$invalidate(0, modaltext = $$props.modaltext);
|
|
11458
|
-
if ("modalsource" in $$props) $$invalidate(
|
|
11501
|
+
if ("modalsource" in $$props) $$invalidate(6, modalsource = $$props.modalsource);
|
|
11459
11502
|
if ("userAgent" in $$props) userAgent = $$props.userAgent;
|
|
11460
|
-
if ("isMobile" in $$props) $$invalidate(
|
|
11503
|
+
if ("isMobile" in $$props) $$invalidate(2, isMobile = $$props.isMobile);
|
|
11461
11504
|
if ("limitItemData" in $$props) limitItemData = $$props.limitItemData;
|
|
11462
11505
|
if ("limitName" in $$props) limitName = $$props.limitName;
|
|
11463
11506
|
};
|
|
@@ -11467,10 +11510,10 @@
|
|
|
11467
11510
|
}
|
|
11468
11511
|
|
|
11469
11512
|
$$self.$$.update = () => {
|
|
11470
|
-
if ($$self.$$.dirty & /*modaltext, modalsource*/
|
|
11513
|
+
if ($$self.$$.dirty & /*modaltext, modalsource*/ 65) ;
|
|
11471
11514
|
};
|
|
11472
11515
|
|
|
11473
|
-
return [modaltext, isMobile, close, confirmChanges, cancelChanges, modalsource];
|
|
11516
|
+
return [modaltext, $_, isMobile, close, confirmChanges, cancelChanges, modalsource];
|
|
11474
11517
|
}
|
|
11475
11518
|
|
|
11476
11519
|
class PlayerAccountGamingLimitsConfirmationModal extends SvelteElement {
|
|
@@ -11488,7 +11531,7 @@
|
|
|
11488
11531
|
instance$1,
|
|
11489
11532
|
create_fragment$1,
|
|
11490
11533
|
safe_not_equal,
|
|
11491
|
-
{ modaltext: 0, modalsource:
|
|
11534
|
+
{ modaltext: 0, modalsource: 6 }
|
|
11492
11535
|
);
|
|
11493
11536
|
|
|
11494
11537
|
if (options) {
|
|
@@ -11517,7 +11560,7 @@
|
|
|
11517
11560
|
}
|
|
11518
11561
|
|
|
11519
11562
|
get modalsource() {
|
|
11520
|
-
return this.$$.ctx[
|
|
11563
|
+
return this.$$.ctx[6];
|
|
11521
11564
|
}
|
|
11522
11565
|
|
|
11523
11566
|
set modalsource(modalsource) {
|
|
@@ -11529,68 +11572,75 @@
|
|
|
11529
11572
|
!customElements.get('player-account-gaming-limits-confirmation-modal') && customElements.define('player-account-gaming-limits-confirmation-modal', PlayerAccountGamingLimitsConfirmationModal);
|
|
11530
11573
|
|
|
11531
11574
|
/* src/PlayerAccountGamingLimitsGroupEdit.svelte generated by Svelte v3.37.0 */
|
|
11575
|
+
|
|
11576
|
+
const { Object: Object_1 } = globals;
|
|
11532
11577
|
const file = "src/PlayerAccountGamingLimitsGroupEdit.svelte";
|
|
11533
11578
|
|
|
11534
11579
|
function get_each_context_2(ctx, list, i) {
|
|
11535
11580
|
const child_ctx = ctx.slice();
|
|
11536
|
-
child_ctx[
|
|
11537
|
-
child_ctx[
|
|
11538
|
-
child_ctx[
|
|
11581
|
+
child_ctx[54] = list[i];
|
|
11582
|
+
child_ctx[55] = list;
|
|
11583
|
+
child_ctx[50] = i;
|
|
11539
11584
|
return child_ctx;
|
|
11540
11585
|
}
|
|
11541
11586
|
|
|
11542
11587
|
function get_each_context_3(ctx, list, i) {
|
|
11543
11588
|
const child_ctx = ctx.slice();
|
|
11544
|
-
child_ctx[
|
|
11589
|
+
child_ctx[48] = list[i];
|
|
11545
11590
|
return child_ctx;
|
|
11546
11591
|
}
|
|
11547
11592
|
|
|
11548
11593
|
function get_each_context_4(ctx, list, i) {
|
|
11549
11594
|
const child_ctx = ctx.slice();
|
|
11550
|
-
child_ctx[
|
|
11595
|
+
child_ctx[48] = list[i];
|
|
11551
11596
|
return child_ctx;
|
|
11552
11597
|
}
|
|
11553
11598
|
|
|
11554
11599
|
function get_each_context(ctx, list, i) {
|
|
11555
11600
|
const child_ctx = ctx.slice();
|
|
11556
|
-
child_ctx[
|
|
11557
|
-
child_ctx[
|
|
11558
|
-
child_ctx[
|
|
11601
|
+
child_ctx[48] = list[i];
|
|
11602
|
+
child_ctx[49] = list;
|
|
11603
|
+
child_ctx[50] = i;
|
|
11559
11604
|
return child_ctx;
|
|
11560
11605
|
}
|
|
11561
11606
|
|
|
11562
11607
|
function get_each_context_1(ctx, list, i) {
|
|
11563
11608
|
const child_ctx = ctx.slice();
|
|
11564
|
-
child_ctx[
|
|
11609
|
+
child_ctx[51] = list[i];
|
|
11565
11610
|
return child_ctx;
|
|
11566
11611
|
}
|
|
11567
11612
|
|
|
11568
11613
|
function get_each_context_5(ctx, list, i) {
|
|
11569
11614
|
const child_ctx = ctx.slice();
|
|
11570
|
-
child_ctx[
|
|
11571
|
-
child_ctx[
|
|
11615
|
+
child_ctx[48] = list[i];
|
|
11616
|
+
child_ctx[50] = i;
|
|
11572
11617
|
return child_ctx;
|
|
11573
11618
|
}
|
|
11574
11619
|
|
|
11575
|
-
// (
|
|
11620
|
+
// (433:2) {#if showsuccessnotification}
|
|
11576
11621
|
function create_if_block_17(ctx) {
|
|
11577
11622
|
let div;
|
|
11578
11623
|
let p;
|
|
11624
|
+
let t_value = /*$_*/ ctx[17]("editText.success") + "";
|
|
11625
|
+
let t;
|
|
11579
11626
|
|
|
11580
11627
|
const block = {
|
|
11581
11628
|
c: function create() {
|
|
11582
11629
|
div = element("div");
|
|
11583
11630
|
p = element("p");
|
|
11584
|
-
|
|
11585
|
-
add_location(p, file,
|
|
11631
|
+
t = text(t_value);
|
|
11632
|
+
add_location(p, file, 434, 6, 18409);
|
|
11586
11633
|
attr_dev(div, "class", "AccountEditLimitSuccessfulChangeContainer");
|
|
11587
|
-
add_location(div, file,
|
|
11634
|
+
add_location(div, file, 433, 4, 18347);
|
|
11588
11635
|
},
|
|
11589
11636
|
m: function mount(target, anchor) {
|
|
11590
11637
|
insert_dev(target, div, anchor);
|
|
11591
11638
|
append_dev(div, p);
|
|
11639
|
+
append_dev(p, t);
|
|
11640
|
+
},
|
|
11641
|
+
p: function update(ctx, dirty) {
|
|
11642
|
+
if (dirty[0] & /*$_*/ 131072 && t_value !== (t_value = /*$_*/ ctx[17]("editText.success") + "")) set_data_dev(t, t_value);
|
|
11592
11643
|
},
|
|
11593
|
-
p: noop$1,
|
|
11594
11644
|
d: function destroy(detaching) {
|
|
11595
11645
|
if (detaching) detach_dev(div);
|
|
11596
11646
|
}
|
|
@@ -11600,19 +11650,19 @@
|
|
|
11600
11650
|
block,
|
|
11601
11651
|
id: create_if_block_17.name,
|
|
11602
11652
|
type: "if",
|
|
11603
|
-
source: "(
|
|
11653
|
+
source: "(433:2) {#if showsuccessnotification}",
|
|
11604
11654
|
ctx
|
|
11605
11655
|
});
|
|
11606
11656
|
|
|
11607
11657
|
return block;
|
|
11608
11658
|
}
|
|
11609
11659
|
|
|
11610
|
-
// (
|
|
11660
|
+
// (438:2) {#if showdeletenotification}
|
|
11611
11661
|
function create_if_block_14(ctx) {
|
|
11612
11662
|
let div;
|
|
11613
11663
|
|
|
11614
11664
|
function select_block_type(ctx, dirty) {
|
|
11615
|
-
if (/*isArray*/ ctx[
|
|
11665
|
+
if (/*isArray*/ ctx[10]) return create_if_block_15;
|
|
11616
11666
|
return create_else_block_2;
|
|
11617
11667
|
}
|
|
11618
11668
|
|
|
@@ -11624,7 +11674,7 @@
|
|
|
11624
11674
|
div = element("div");
|
|
11625
11675
|
if_block.c();
|
|
11626
11676
|
attr_dev(div, "class", "AccountEditLimitSuccessfulChangeContainer");
|
|
11627
|
-
add_location(div, file,
|
|
11677
|
+
add_location(div, file, 438, 4, 18495);
|
|
11628
11678
|
},
|
|
11629
11679
|
m: function mount(target, anchor) {
|
|
11630
11680
|
insert_dev(target, div, anchor);
|
|
@@ -11653,16 +11703,17 @@
|
|
|
11653
11703
|
block,
|
|
11654
11704
|
id: create_if_block_14.name,
|
|
11655
11705
|
type: "if",
|
|
11656
|
-
source: "(
|
|
11706
|
+
source: "(438:2) {#if showdeletenotification}",
|
|
11657
11707
|
ctx
|
|
11658
11708
|
});
|
|
11659
11709
|
|
|
11660
11710
|
return block;
|
|
11661
11711
|
}
|
|
11662
11712
|
|
|
11663
|
-
// (
|
|
11713
|
+
// (446:6) {:else}
|
|
11664
11714
|
function create_else_block_2(ctx) {
|
|
11665
11715
|
let p;
|
|
11716
|
+
let t0_value = /*$_*/ ctx[17]("editText.remove") + "";
|
|
11666
11717
|
let t0;
|
|
11667
11718
|
let t1;
|
|
11668
11719
|
|
|
@@ -11675,10 +11726,10 @@
|
|
|
11675
11726
|
const block = {
|
|
11676
11727
|
c: function create() {
|
|
11677
11728
|
p = element("p");
|
|
11678
|
-
t0 = text(
|
|
11729
|
+
t0 = text(t0_value);
|
|
11679
11730
|
t1 = space();
|
|
11680
11731
|
t2 = text(t2_value);
|
|
11681
|
-
add_location(p, file,
|
|
11732
|
+
add_location(p, file, 446, 8, 18880);
|
|
11682
11733
|
},
|
|
11683
11734
|
m: function mount(target, anchor) {
|
|
11684
11735
|
insert_dev(target, p, anchor);
|
|
@@ -11687,6 +11738,8 @@
|
|
|
11687
11738
|
append_dev(p, t2);
|
|
11688
11739
|
},
|
|
11689
11740
|
p: function update(ctx, dirty) {
|
|
11741
|
+
if (dirty[0] & /*$_*/ 131072 && t0_value !== (t0_value = /*$_*/ ctx[17]("editText.remove") + "")) set_data_dev(t0, t0_value);
|
|
11742
|
+
|
|
11690
11743
|
if (dirty[0] & /*limitsdata*/ 1 && t2_value !== (t2_value = (/*limitsdata*/ ctx[0].expiryDate
|
|
11691
11744
|
? moment(/*limitsdata*/ ctx[0].expiryDate).format("D/M/YYYY - h:mm A")
|
|
11692
11745
|
: "N/A") + "")) set_data_dev(t2, t2_value);
|
|
@@ -11700,17 +11753,17 @@
|
|
|
11700
11753
|
block,
|
|
11701
11754
|
id: create_else_block_2.name,
|
|
11702
11755
|
type: "else",
|
|
11703
|
-
source: "(
|
|
11756
|
+
source: "(446:6) {:else}",
|
|
11704
11757
|
ctx
|
|
11705
11758
|
});
|
|
11706
11759
|
|
|
11707
11760
|
return block;
|
|
11708
11761
|
}
|
|
11709
11762
|
|
|
11710
|
-
// (
|
|
11763
|
+
// (440:6) {#if isArray}
|
|
11711
11764
|
function create_if_block_15(ctx) {
|
|
11712
11765
|
let each_1_anchor;
|
|
11713
|
-
let each_value_5 = /*limitsUpdateData*/ ctx[
|
|
11766
|
+
let each_value_5 = /*limitsUpdateData*/ ctx[13];
|
|
11714
11767
|
validate_each_argument(each_value_5);
|
|
11715
11768
|
let each_blocks = [];
|
|
11716
11769
|
|
|
@@ -11734,8 +11787,8 @@
|
|
|
11734
11787
|
insert_dev(target, each_1_anchor, anchor);
|
|
11735
11788
|
},
|
|
11736
11789
|
p: function update(ctx, dirty) {
|
|
11737
|
-
if (dirty[0] & /*limitsUpdateData,
|
|
11738
|
-
each_value_5 = /*limitsUpdateData*/ ctx[
|
|
11790
|
+
if (dirty[0] & /*limitsUpdateData, $_, storedData*/ 204800) {
|
|
11791
|
+
each_value_5 = /*limitsUpdateData*/ ctx[13];
|
|
11739
11792
|
validate_each_argument(each_value_5);
|
|
11740
11793
|
let i;
|
|
11741
11794
|
|
|
@@ -11768,21 +11821,22 @@
|
|
|
11768
11821
|
block,
|
|
11769
11822
|
id: create_if_block_15.name,
|
|
11770
11823
|
type: "if",
|
|
11771
|
-
source: "(
|
|
11824
|
+
source: "(440:6) {#if isArray}",
|
|
11772
11825
|
ctx
|
|
11773
11826
|
});
|
|
11774
11827
|
|
|
11775
11828
|
return block;
|
|
11776
11829
|
}
|
|
11777
11830
|
|
|
11778
|
-
// (
|
|
11831
|
+
// (442:10) {#if selectData.period == storedData[index].periodName}
|
|
11779
11832
|
function create_if_block_16(ctx) {
|
|
11780
11833
|
let p;
|
|
11834
|
+
let t0_value = /*$_*/ ctx[17]("editText.remove") + "";
|
|
11781
11835
|
let t0;
|
|
11782
11836
|
let t1;
|
|
11783
11837
|
|
|
11784
|
-
let t2_value = (/*selectData*/ ctx[
|
|
11785
|
-
? moment(/*selectData*/ ctx[
|
|
11838
|
+
let t2_value = (/*selectData*/ ctx[48].expiryDate
|
|
11839
|
+
? moment(/*selectData*/ ctx[48].expiryDate).format("D/M/YYYY - h:mm A")
|
|
11786
11840
|
: "N/A") + "";
|
|
11787
11841
|
|
|
11788
11842
|
let t2;
|
|
@@ -11790,10 +11844,10 @@
|
|
|
11790
11844
|
const block = {
|
|
11791
11845
|
c: function create() {
|
|
11792
11846
|
p = element("p");
|
|
11793
|
-
t0 = text(
|
|
11847
|
+
t0 = text(t0_value);
|
|
11794
11848
|
t1 = space();
|
|
11795
11849
|
t2 = text(t2_value);
|
|
11796
|
-
add_location(p, file,
|
|
11850
|
+
add_location(p, file, 442, 12, 18703);
|
|
11797
11851
|
},
|
|
11798
11852
|
m: function mount(target, anchor) {
|
|
11799
11853
|
insert_dev(target, p, anchor);
|
|
@@ -11802,8 +11856,10 @@
|
|
|
11802
11856
|
append_dev(p, t2);
|
|
11803
11857
|
},
|
|
11804
11858
|
p: function update(ctx, dirty) {
|
|
11805
|
-
if (dirty[0] &
|
|
11806
|
-
|
|
11859
|
+
if (dirty[0] & /*$_*/ 131072 && t0_value !== (t0_value = /*$_*/ ctx[17]("editText.remove") + "")) set_data_dev(t0, t0_value);
|
|
11860
|
+
|
|
11861
|
+
if (dirty[0] & /*limitsUpdateData*/ 8192 && t2_value !== (t2_value = (/*selectData*/ ctx[48].expiryDate
|
|
11862
|
+
? moment(/*selectData*/ ctx[48].expiryDate).format("D/M/YYYY - h:mm A")
|
|
11807
11863
|
: "N/A") + "")) set_data_dev(t2, t2_value);
|
|
11808
11864
|
},
|
|
11809
11865
|
d: function destroy(detaching) {
|
|
@@ -11815,17 +11871,17 @@
|
|
|
11815
11871
|
block,
|
|
11816
11872
|
id: create_if_block_16.name,
|
|
11817
11873
|
type: "if",
|
|
11818
|
-
source: "(
|
|
11874
|
+
source: "(442:10) {#if selectData.period == storedData[index].periodName}",
|
|
11819
11875
|
ctx
|
|
11820
11876
|
});
|
|
11821
11877
|
|
|
11822
11878
|
return block;
|
|
11823
11879
|
}
|
|
11824
11880
|
|
|
11825
|
-
// (
|
|
11881
|
+
// (441:8) {#each limitsUpdateData as selectData, index}
|
|
11826
11882
|
function create_each_block_5(ctx) {
|
|
11827
11883
|
let if_block_anchor;
|
|
11828
|
-
let if_block = /*selectData*/ ctx[
|
|
11884
|
+
let if_block = /*selectData*/ ctx[48].period == /*storedData*/ ctx[16][/*index*/ ctx[50]].periodName && create_if_block_16(ctx);
|
|
11829
11885
|
|
|
11830
11886
|
const block = {
|
|
11831
11887
|
c: function create() {
|
|
@@ -11837,7 +11893,7 @@
|
|
|
11837
11893
|
insert_dev(target, if_block_anchor, anchor);
|
|
11838
11894
|
},
|
|
11839
11895
|
p: function update(ctx, dirty) {
|
|
11840
|
-
if (/*selectData*/ ctx[
|
|
11896
|
+
if (/*selectData*/ ctx[48].period == /*storedData*/ ctx[16][/*index*/ ctx[50]].periodName) {
|
|
11841
11897
|
if (if_block) {
|
|
11842
11898
|
if_block.p(ctx, dirty);
|
|
11843
11899
|
} else {
|
|
@@ -11860,19 +11916,19 @@
|
|
|
11860
11916
|
block,
|
|
11861
11917
|
id: create_each_block_5.name,
|
|
11862
11918
|
type: "each",
|
|
11863
|
-
source: "(
|
|
11919
|
+
source: "(441:8) {#each limitsUpdateData as selectData, index}",
|
|
11864
11920
|
ctx
|
|
11865
11921
|
});
|
|
11866
11922
|
|
|
11867
11923
|
return block;
|
|
11868
11924
|
}
|
|
11869
11925
|
|
|
11870
|
-
// (
|
|
11926
|
+
// (451:2) {#if showLimits}
|
|
11871
11927
|
function create_if_block(ctx) {
|
|
11872
11928
|
let div;
|
|
11873
11929
|
|
|
11874
11930
|
function select_block_type_1(ctx, dirty) {
|
|
11875
|
-
if (/*isArray*/ ctx[
|
|
11931
|
+
if (/*isArray*/ ctx[10]) return create_if_block_1;
|
|
11876
11932
|
return create_else_block_1;
|
|
11877
11933
|
}
|
|
11878
11934
|
|
|
@@ -11884,7 +11940,7 @@
|
|
|
11884
11940
|
div = element("div");
|
|
11885
11941
|
if_block.c();
|
|
11886
11942
|
attr_dev(div, "class", "AccountEditContent");
|
|
11887
|
-
add_location(div, file,
|
|
11943
|
+
add_location(div, file, 451, 2, 19055);
|
|
11888
11944
|
},
|
|
11889
11945
|
m: function mount(target, anchor) {
|
|
11890
11946
|
insert_dev(target, div, anchor);
|
|
@@ -11913,14 +11969,14 @@
|
|
|
11913
11969
|
block,
|
|
11914
11970
|
id: create_if_block.name,
|
|
11915
11971
|
type: "if",
|
|
11916
|
-
source: "(
|
|
11972
|
+
source: "(451:2) {#if showLimits}",
|
|
11917
11973
|
ctx
|
|
11918
11974
|
});
|
|
11919
11975
|
|
|
11920
11976
|
return block;
|
|
11921
11977
|
}
|
|
11922
11978
|
|
|
11923
|
-
// (
|
|
11979
|
+
// (492:4) {:else}
|
|
11924
11980
|
function create_else_block_1(ctx) {
|
|
11925
11981
|
let div1;
|
|
11926
11982
|
let div0;
|
|
@@ -11931,7 +11987,7 @@
|
|
|
11931
11987
|
let t2;
|
|
11932
11988
|
let mounted;
|
|
11933
11989
|
let dispose;
|
|
11934
|
-
let each_value_4 = /*periodValues*/ ctx[
|
|
11990
|
+
let each_value_4 = /*periodValues*/ ctx[21];
|
|
11935
11991
|
validate_each_argument(each_value_4);
|
|
11936
11992
|
let each_blocks_1 = [];
|
|
11937
11993
|
|
|
@@ -11939,7 +11995,7 @@
|
|
|
11939
11995
|
each_blocks_1[i] = create_each_block_4(get_each_context_4(ctx, each_value_4, i));
|
|
11940
11996
|
}
|
|
11941
11997
|
|
|
11942
|
-
let each_value_2 = /*storedData*/ ctx[
|
|
11998
|
+
let each_value_2 = /*storedData*/ ctx[16];
|
|
11943
11999
|
validate_each_argument(each_value_2);
|
|
11944
12000
|
let each_blocks = [];
|
|
11945
12001
|
|
|
@@ -11967,15 +12023,15 @@
|
|
|
11967
12023
|
}
|
|
11968
12024
|
|
|
11969
12025
|
attr_dev(p, "class", "AccountEditLimitsTitle");
|
|
11970
|
-
add_location(p, file,
|
|
11971
|
-
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[
|
|
11972
|
-
select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[
|
|
11973
|
-
if (/*limitsUpdateData*/ ctx[
|
|
11974
|
-
add_location(select, file,
|
|
12026
|
+
add_location(p, file, 494, 10, 22230);
|
|
12027
|
+
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
|
|
12028
|
+
select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[13].isModified === true;
|
|
12029
|
+
if (/*limitsUpdateData*/ ctx[13].period === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[29].call(select));
|
|
12030
|
+
add_location(select, file, 495, 10, 22284);
|
|
11975
12031
|
attr_dev(div0, "class", "AccountEditLimitsSplitSection");
|
|
11976
|
-
add_location(div0, file,
|
|
12032
|
+
add_location(div0, file, 493, 8, 22176);
|
|
11977
12033
|
attr_dev(div1, "class", "AccountEditLimitsContainer");
|
|
11978
|
-
add_location(div1, file,
|
|
12034
|
+
add_location(div1, file, 492, 6, 22127);
|
|
11979
12035
|
},
|
|
11980
12036
|
m: function mount(target, anchor) {
|
|
11981
12037
|
insert_dev(target, div1, anchor);
|
|
@@ -11988,7 +12044,7 @@
|
|
|
11988
12044
|
each_blocks_1[i].m(select, null);
|
|
11989
12045
|
}
|
|
11990
12046
|
|
|
11991
|
-
select_option(select, /*limitsUpdateData*/ ctx[
|
|
12047
|
+
select_option(select, /*limitsUpdateData*/ ctx[13].period);
|
|
11992
12048
|
append_dev(div1, t2);
|
|
11993
12049
|
|
|
11994
12050
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
@@ -11997,12 +12053,12 @@
|
|
|
11997
12053
|
|
|
11998
12054
|
if (!mounted) {
|
|
11999
12055
|
dispose = [
|
|
12000
|
-
listen_dev(select, "change", /*select_change_handler_1*/ ctx[
|
|
12056
|
+
listen_dev(select, "change", /*select_change_handler_1*/ ctx[29]),
|
|
12001
12057
|
listen_dev(
|
|
12002
12058
|
select,
|
|
12003
12059
|
"change",
|
|
12004
12060
|
function () {
|
|
12005
|
-
if (is_function(/*checkUserInputAmount*/ ctx[
|
|
12061
|
+
if (is_function(/*checkUserInputAmount*/ ctx[25](/*limitsUpdateData*/ ctx[13], 0, false, /*updatedLimitValues*/ ctx[15]))) /*checkUserInputAmount*/ ctx[25](/*limitsUpdateData*/ ctx[13], 0, false, /*updatedLimitValues*/ ctx[15]).apply(this, arguments);
|
|
12006
12062
|
},
|
|
12007
12063
|
false,
|
|
12008
12064
|
false,
|
|
@@ -12016,8 +12072,8 @@
|
|
|
12016
12072
|
p: function update(new_ctx, dirty) {
|
|
12017
12073
|
ctx = new_ctx;
|
|
12018
12074
|
|
|
12019
|
-
if (dirty[0] & /*periodValues*/
|
|
12020
|
-
each_value_4 = /*periodValues*/ ctx[
|
|
12075
|
+
if (dirty[0] & /*periodValues*/ 2097152) {
|
|
12076
|
+
each_value_4 = /*periodValues*/ ctx[21];
|
|
12021
12077
|
validate_each_argument(each_value_4);
|
|
12022
12078
|
let i;
|
|
12023
12079
|
|
|
@@ -12040,16 +12096,16 @@
|
|
|
12040
12096
|
each_blocks_1.length = each_value_4.length;
|
|
12041
12097
|
}
|
|
12042
12098
|
|
|
12043
|
-
if (dirty[0] & /*limitsUpdateData, periodValues*/
|
|
12099
|
+
if (dirty[0] & /*limitsUpdateData, periodValues*/ 2105344 && select_disabled_value !== (select_disabled_value = /*limitsUpdateData*/ ctx[13].isModified === true)) {
|
|
12044
12100
|
prop_dev(select, "disabled", select_disabled_value);
|
|
12045
12101
|
}
|
|
12046
12102
|
|
|
12047
|
-
if (dirty[0] & /*limitsUpdateData, periodValues*/
|
|
12048
|
-
select_option(select, /*limitsUpdateData*/ ctx[
|
|
12103
|
+
if (dirty[0] & /*limitsUpdateData, periodValues*/ 2105344) {
|
|
12104
|
+
select_option(select, /*limitsUpdateData*/ ctx[13].period);
|
|
12049
12105
|
}
|
|
12050
12106
|
|
|
12051
|
-
if (dirty[0] &
|
|
12052
|
-
each_value_2 = /*storedData*/ ctx[
|
|
12107
|
+
if (dirty[0] & /*$_, playercurrency, limitsdata, limitsUpdateData, invalidIndex, storedData, checkUserInputAmount, updatedLimitValues, isMobile, lossLimitPredefinedValues*/ 35106833) {
|
|
12108
|
+
each_value_2 = /*storedData*/ ctx[16];
|
|
12053
12109
|
validate_each_argument(each_value_2);
|
|
12054
12110
|
let i;
|
|
12055
12111
|
|
|
@@ -12085,17 +12141,17 @@
|
|
|
12085
12141
|
block,
|
|
12086
12142
|
id: create_else_block_1.name,
|
|
12087
12143
|
type: "else",
|
|
12088
|
-
source: "(
|
|
12144
|
+
source: "(492:4) {:else}",
|
|
12089
12145
|
ctx
|
|
12090
12146
|
});
|
|
12091
12147
|
|
|
12092
12148
|
return block;
|
|
12093
12149
|
}
|
|
12094
12150
|
|
|
12095
|
-
// (
|
|
12151
|
+
// (453:4) {#if (isArray)}
|
|
12096
12152
|
function create_if_block_1(ctx) {
|
|
12097
12153
|
let div;
|
|
12098
|
-
let each_value = /*limitsUpdateData*/ ctx[
|
|
12154
|
+
let each_value = /*limitsUpdateData*/ ctx[13];
|
|
12099
12155
|
validate_each_argument(each_value);
|
|
12100
12156
|
let each_blocks = [];
|
|
12101
12157
|
|
|
@@ -12112,7 +12168,7 @@
|
|
|
12112
12168
|
}
|
|
12113
12169
|
|
|
12114
12170
|
attr_dev(div, "class", "AccountEditLimitsContainer");
|
|
12115
|
-
add_location(div, file,
|
|
12171
|
+
add_location(div, file, 453, 6, 19179);
|
|
12116
12172
|
},
|
|
12117
12173
|
m: function mount(target, anchor) {
|
|
12118
12174
|
insert_dev(target, div, anchor);
|
|
@@ -12122,8 +12178,8 @@
|
|
|
12122
12178
|
}
|
|
12123
12179
|
},
|
|
12124
12180
|
p: function update(ctx, dirty) {
|
|
12125
|
-
if (dirty[0] &
|
|
12126
|
-
each_value = /*limitsUpdateData*/ ctx[
|
|
12181
|
+
if (dirty[0] & /*$_, limitsUpdateData, playercurrency, invalidIndexes, storedData, checkUserInputAmount, updatedLimitValues, limitname, minTimeValue, maxTimeValue, isMobile, depositPredefinedValues*/ 34580888) {
|
|
12182
|
+
each_value = /*limitsUpdateData*/ ctx[13];
|
|
12127
12183
|
validate_each_argument(each_value);
|
|
12128
12184
|
let i;
|
|
12129
12185
|
|
|
@@ -12156,26 +12212,26 @@
|
|
|
12156
12212
|
block,
|
|
12157
12213
|
id: create_if_block_1.name,
|
|
12158
12214
|
type: "if",
|
|
12159
|
-
source: "(
|
|
12215
|
+
source: "(453:4) {#if (isArray)}",
|
|
12160
12216
|
ctx
|
|
12161
12217
|
});
|
|
12162
12218
|
|
|
12163
12219
|
return block;
|
|
12164
12220
|
}
|
|
12165
12221
|
|
|
12166
|
-
// (
|
|
12222
|
+
// (497:12) {#each periodValues as selectData}
|
|
12167
12223
|
function create_each_block_4(ctx) {
|
|
12168
12224
|
let option;
|
|
12169
|
-
let t_value = /*selectData*/ ctx[
|
|
12225
|
+
let t_value = /*selectData*/ ctx[48] + "";
|
|
12170
12226
|
let t;
|
|
12171
12227
|
|
|
12172
12228
|
const block = {
|
|
12173
12229
|
c: function create() {
|
|
12174
12230
|
option = element("option");
|
|
12175
12231
|
t = text(t_value);
|
|
12176
|
-
option.__value = /*selectData*/ ctx[
|
|
12232
|
+
option.__value = /*selectData*/ ctx[48];
|
|
12177
12233
|
option.value = option.__value;
|
|
12178
|
-
add_location(option, file,
|
|
12234
|
+
add_location(option, file, 497, 14, 22585);
|
|
12179
12235
|
},
|
|
12180
12236
|
m: function mount(target, anchor) {
|
|
12181
12237
|
insert_dev(target, option, anchor);
|
|
@@ -12191,20 +12247,24 @@
|
|
|
12191
12247
|
block,
|
|
12192
12248
|
id: create_each_block_4.name,
|
|
12193
12249
|
type: "each",
|
|
12194
|
-
source: "(
|
|
12250
|
+
source: "(497:12) {#each periodValues as selectData}",
|
|
12195
12251
|
ctx
|
|
12196
12252
|
});
|
|
12197
12253
|
|
|
12198
12254
|
return block;
|
|
12199
12255
|
}
|
|
12200
12256
|
|
|
12201
|
-
// (
|
|
12257
|
+
// (503:10) {#if limitsUpdateData.period === savedData.periodName}
|
|
12202
12258
|
function create_if_block_9(ctx) {
|
|
12203
12259
|
let div1;
|
|
12204
12260
|
let p;
|
|
12261
|
+
let t0_value = /*$_*/ ctx[17]("editText.amount") + "";
|
|
12262
|
+
let t0;
|
|
12205
12263
|
let t1;
|
|
12206
12264
|
let select;
|
|
12207
12265
|
let option;
|
|
12266
|
+
let t2_value = /*$_*/ ctx[17]("editText.noLimit") + "";
|
|
12267
|
+
let t2;
|
|
12208
12268
|
let select_disabled_value;
|
|
12209
12269
|
let t3;
|
|
12210
12270
|
let div0;
|
|
@@ -12212,7 +12272,7 @@
|
|
|
12212
12272
|
let t5;
|
|
12213
12273
|
let mounted;
|
|
12214
12274
|
let dispose;
|
|
12215
|
-
let each_value_3 = /*lossLimitPredefinedValues*/ ctx[
|
|
12275
|
+
let each_value_3 = /*lossLimitPredefinedValues*/ ctx[20];
|
|
12216
12276
|
validate_each_argument(each_value_3);
|
|
12217
12277
|
let each_blocks = [];
|
|
12218
12278
|
|
|
@@ -12221,21 +12281,21 @@
|
|
|
12221
12281
|
}
|
|
12222
12282
|
|
|
12223
12283
|
function select_change_handler_2() {
|
|
12224
|
-
/*select_change_handler_2*/ ctx[
|
|
12284
|
+
/*select_change_handler_2*/ ctx[30].call(select, /*each_value_2*/ ctx[55], /*index*/ ctx[50]);
|
|
12225
12285
|
}
|
|
12226
12286
|
|
|
12227
|
-
let if_block0 = /*savedData*/ ctx[
|
|
12228
|
-
let if_block1 = /*limitsUpdateData*/ ctx[
|
|
12287
|
+
let if_block0 = /*savedData*/ ctx[54].amount === "Custom" && create_if_block_11(ctx);
|
|
12288
|
+
let if_block1 = /*limitsUpdateData*/ ctx[13].isModified === true && create_if_block_10(ctx);
|
|
12229
12289
|
|
|
12230
12290
|
const block = {
|
|
12231
12291
|
c: function create() {
|
|
12232
12292
|
div1 = element("div");
|
|
12233
12293
|
p = element("p");
|
|
12234
|
-
|
|
12294
|
+
t0 = text(t0_value);
|
|
12235
12295
|
t1 = space();
|
|
12236
12296
|
select = element("select");
|
|
12237
12297
|
option = element("option");
|
|
12238
|
-
|
|
12298
|
+
t2 = text(t2_value);
|
|
12239
12299
|
|
|
12240
12300
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
12241
12301
|
each_blocks[i].c();
|
|
@@ -12248,34 +12308,36 @@
|
|
|
12248
12308
|
if (if_block1) if_block1.c();
|
|
12249
12309
|
t5 = space();
|
|
12250
12310
|
attr_dev(p, "class", "AccountEditLimitsTitle");
|
|
12251
|
-
add_location(p, file,
|
|
12311
|
+
add_location(p, file, 504, 14, 22871);
|
|
12252
12312
|
option.__value = "";
|
|
12253
12313
|
option.value = option.__value;
|
|
12254
12314
|
option.disabled = true;
|
|
12255
12315
|
option.selected = true;
|
|
12256
12316
|
option.hidden = true;
|
|
12257
|
-
add_location(option, file,
|
|
12258
|
-
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[
|
|
12259
|
-
select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[
|
|
12260
|
-
if (/*savedData*/ ctx[
|
|
12261
|
-
add_location(select, file,
|
|
12317
|
+
add_location(option, file, 506, 16, 23189);
|
|
12318
|
+
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
|
|
12319
|
+
select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[13].isModified === true;
|
|
12320
|
+
if (/*savedData*/ ctx[54].amount === void 0) add_render_callback(select_change_handler_2);
|
|
12321
|
+
add_location(select, file, 505, 14, 22947);
|
|
12262
12322
|
attr_dev(div0, "class", "AccountEditLimitsInputContainer");
|
|
12263
|
-
add_location(div0, file,
|
|
12323
|
+
add_location(div0, file, 511, 14, 23581);
|
|
12264
12324
|
attr_dev(div1, "class", "AccountEditLimitsSplitSection");
|
|
12265
|
-
add_location(div1, file,
|
|
12325
|
+
add_location(div1, file, 503, 12, 22813);
|
|
12266
12326
|
},
|
|
12267
12327
|
m: function mount(target, anchor) {
|
|
12268
12328
|
insert_dev(target, div1, anchor);
|
|
12269
12329
|
append_dev(div1, p);
|
|
12330
|
+
append_dev(p, t0);
|
|
12270
12331
|
append_dev(div1, t1);
|
|
12271
12332
|
append_dev(div1, select);
|
|
12272
12333
|
append_dev(select, option);
|
|
12334
|
+
append_dev(option, t2);
|
|
12273
12335
|
|
|
12274
12336
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
12275
12337
|
each_blocks[i].m(select, null);
|
|
12276
12338
|
}
|
|
12277
12339
|
|
|
12278
|
-
select_option(select, /*savedData*/ ctx[
|
|
12340
|
+
select_option(select, /*savedData*/ ctx[54].amount);
|
|
12279
12341
|
append_dev(div1, t3);
|
|
12280
12342
|
append_dev(div1, div0);
|
|
12281
12343
|
if (if_block0) if_block0.m(div0, null);
|
|
@@ -12290,7 +12352,7 @@
|
|
|
12290
12352
|
select,
|
|
12291
12353
|
"change",
|
|
12292
12354
|
function () {
|
|
12293
|
-
if (is_function(/*checkUserInputAmount*/ ctx[
|
|
12355
|
+
if (is_function(/*checkUserInputAmount*/ ctx[25](/*savedData*/ ctx[54], 0, false, /*updatedLimitValues*/ ctx[15]))) /*checkUserInputAmount*/ ctx[25](/*savedData*/ ctx[54], 0, false, /*updatedLimitValues*/ ctx[15]).apply(this, arguments);
|
|
12294
12356
|
},
|
|
12295
12357
|
false,
|
|
12296
12358
|
false,
|
|
@@ -12303,9 +12365,11 @@
|
|
|
12303
12365
|
},
|
|
12304
12366
|
p: function update(new_ctx, dirty) {
|
|
12305
12367
|
ctx = new_ctx;
|
|
12368
|
+
if (dirty[0] & /*$_*/ 131072 && t0_value !== (t0_value = /*$_*/ ctx[17]("editText.amount") + "")) set_data_dev(t0, t0_value);
|
|
12369
|
+
if (dirty[0] & /*$_*/ 131072 && t2_value !== (t2_value = /*$_*/ ctx[17]("editText.noLimit") + "")) set_data_dev(t2, t2_value);
|
|
12306
12370
|
|
|
12307
|
-
if (dirty[0] & /*lossLimitPredefinedValues, playercurrency*/
|
|
12308
|
-
each_value_3 = /*lossLimitPredefinedValues*/ ctx[
|
|
12371
|
+
if (dirty[0] & /*lossLimitPredefinedValues, playercurrency*/ 1048592) {
|
|
12372
|
+
each_value_3 = /*lossLimitPredefinedValues*/ ctx[20];
|
|
12309
12373
|
validate_each_argument(each_value_3);
|
|
12310
12374
|
let i;
|
|
12311
12375
|
|
|
@@ -12328,15 +12392,15 @@
|
|
|
12328
12392
|
each_blocks.length = each_value_3.length;
|
|
12329
12393
|
}
|
|
12330
12394
|
|
|
12331
|
-
if (dirty[0] & /*limitsUpdateData, periodValues*/
|
|
12395
|
+
if (dirty[0] & /*limitsUpdateData, periodValues*/ 2105344 && select_disabled_value !== (select_disabled_value = /*limitsUpdateData*/ ctx[13].isModified === true)) {
|
|
12332
12396
|
prop_dev(select, "disabled", select_disabled_value);
|
|
12333
12397
|
}
|
|
12334
12398
|
|
|
12335
|
-
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/
|
|
12336
|
-
select_option(select, /*savedData*/ ctx[
|
|
12399
|
+
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 1114112) {
|
|
12400
|
+
select_option(select, /*savedData*/ ctx[54].amount);
|
|
12337
12401
|
}
|
|
12338
12402
|
|
|
12339
|
-
if (/*savedData*/ ctx[
|
|
12403
|
+
if (/*savedData*/ ctx[54].amount === "Custom") {
|
|
12340
12404
|
if (if_block0) {
|
|
12341
12405
|
if_block0.p(ctx, dirty);
|
|
12342
12406
|
} else {
|
|
@@ -12349,7 +12413,7 @@
|
|
|
12349
12413
|
if_block0 = null;
|
|
12350
12414
|
}
|
|
12351
12415
|
|
|
12352
|
-
if (/*limitsUpdateData*/ ctx[
|
|
12416
|
+
if (/*limitsUpdateData*/ ctx[13].isModified === true) {
|
|
12353
12417
|
if (if_block1) {
|
|
12354
12418
|
if_block1.p(ctx, dirty);
|
|
12355
12419
|
} else {
|
|
@@ -12376,26 +12440,26 @@
|
|
|
12376
12440
|
block,
|
|
12377
12441
|
id: create_if_block_9.name,
|
|
12378
12442
|
type: "if",
|
|
12379
|
-
source: "(
|
|
12443
|
+
source: "(503:10) {#if limitsUpdateData.period === savedData.periodName}",
|
|
12380
12444
|
ctx
|
|
12381
12445
|
});
|
|
12382
12446
|
|
|
12383
12447
|
return block;
|
|
12384
12448
|
}
|
|
12385
12449
|
|
|
12386
|
-
// (
|
|
12450
|
+
// (509:58) {#if selectData !== "No limit" && selectData !== "Custom"}
|
|
12387
12451
|
function create_if_block_13(ctx) {
|
|
12388
12452
|
let t;
|
|
12389
12453
|
|
|
12390
12454
|
const block = {
|
|
12391
12455
|
c: function create() {
|
|
12392
|
-
t = text(/*playercurrency*/ ctx[
|
|
12456
|
+
t = text(/*playercurrency*/ ctx[4]);
|
|
12393
12457
|
},
|
|
12394
12458
|
m: function mount(target, anchor) {
|
|
12395
12459
|
insert_dev(target, t, anchor);
|
|
12396
12460
|
},
|
|
12397
12461
|
p: function update(ctx, dirty) {
|
|
12398
|
-
if (dirty[0] & /*playercurrency*/
|
|
12462
|
+
if (dirty[0] & /*playercurrency*/ 16) set_data_dev(t, /*playercurrency*/ ctx[4]);
|
|
12399
12463
|
},
|
|
12400
12464
|
d: function destroy(detaching) {
|
|
12401
12465
|
if (detaching) detach_dev(t);
|
|
@@ -12406,20 +12470,20 @@
|
|
|
12406
12470
|
block,
|
|
12407
12471
|
id: create_if_block_13.name,
|
|
12408
12472
|
type: "if",
|
|
12409
|
-
source: "(
|
|
12473
|
+
source: "(509:58) {#if selectData !== \\\"No limit\\\" && selectData !== \\\"Custom\\\"}",
|
|
12410
12474
|
ctx
|
|
12411
12475
|
});
|
|
12412
12476
|
|
|
12413
12477
|
return block;
|
|
12414
12478
|
}
|
|
12415
12479
|
|
|
12416
|
-
// (
|
|
12480
|
+
// (508:16) {#each lossLimitPredefinedValues as selectData}
|
|
12417
12481
|
function create_each_block_3(ctx) {
|
|
12418
12482
|
let option;
|
|
12419
|
-
let t0_value = /*selectData*/ ctx[
|
|
12483
|
+
let t0_value = /*selectData*/ ctx[48] + "";
|
|
12420
12484
|
let t0;
|
|
12421
12485
|
let t1;
|
|
12422
|
-
let if_block = /*selectData*/ ctx[
|
|
12486
|
+
let if_block = /*selectData*/ ctx[48] !== "No limit" && /*selectData*/ ctx[48] !== "Custom" && create_if_block_13(ctx);
|
|
12423
12487
|
|
|
12424
12488
|
const block = {
|
|
12425
12489
|
c: function create() {
|
|
@@ -12427,9 +12491,9 @@
|
|
|
12427
12491
|
t0 = text(t0_value);
|
|
12428
12492
|
t1 = space();
|
|
12429
12493
|
if (if_block) if_block.c();
|
|
12430
|
-
option.__value = /*selectData*/ ctx[
|
|
12494
|
+
option.__value = /*selectData*/ ctx[48];
|
|
12431
12495
|
option.value = option.__value;
|
|
12432
|
-
add_location(option, file,
|
|
12496
|
+
add_location(option, file, 508, 18, 23347);
|
|
12433
12497
|
},
|
|
12434
12498
|
m: function mount(target, anchor) {
|
|
12435
12499
|
insert_dev(target, option, anchor);
|
|
@@ -12438,7 +12502,7 @@
|
|
|
12438
12502
|
if (if_block) if_block.m(option, null);
|
|
12439
12503
|
},
|
|
12440
12504
|
p: function update(ctx, dirty) {
|
|
12441
|
-
if (/*selectData*/ ctx[
|
|
12505
|
+
if (/*selectData*/ ctx[48] !== "No limit" && /*selectData*/ ctx[48] !== "Custom") if_block.p(ctx, dirty);
|
|
12442
12506
|
},
|
|
12443
12507
|
d: function destroy(detaching) {
|
|
12444
12508
|
if (detaching) detach_dev(option);
|
|
@@ -12450,14 +12514,14 @@
|
|
|
12450
12514
|
block,
|
|
12451
12515
|
id: create_each_block_3.name,
|
|
12452
12516
|
type: "each",
|
|
12453
|
-
source: "(
|
|
12517
|
+
source: "(508:16) {#each lossLimitPredefinedValues as selectData}",
|
|
12454
12518
|
ctx
|
|
12455
12519
|
});
|
|
12456
12520
|
|
|
12457
12521
|
return block;
|
|
12458
12522
|
}
|
|
12459
12523
|
|
|
12460
|
-
// (
|
|
12524
|
+
// (513:16) {#if savedData.amount === "Custom"}
|
|
12461
12525
|
function create_if_block_11(ctx) {
|
|
12462
12526
|
let input;
|
|
12463
12527
|
let input_disabled_value;
|
|
@@ -12467,10 +12531,10 @@
|
|
|
12467
12531
|
let dispose;
|
|
12468
12532
|
|
|
12469
12533
|
function input_input_handler_2() {
|
|
12470
|
-
/*input_input_handler_2*/ ctx[
|
|
12534
|
+
/*input_input_handler_2*/ ctx[31].call(input, /*each_value_2*/ ctx[55], /*index*/ ctx[50]);
|
|
12471
12535
|
}
|
|
12472
12536
|
|
|
12473
|
-
let if_block = /*invalidIndex*/ ctx[
|
|
12537
|
+
let if_block = /*invalidIndex*/ ctx[12] === true && create_if_block_12(ctx);
|
|
12474
12538
|
|
|
12475
12539
|
const block = {
|
|
12476
12540
|
c: function create() {
|
|
@@ -12480,12 +12544,12 @@
|
|
|
12480
12544
|
if_block_anchor = empty();
|
|
12481
12545
|
attr_dev(input, "type", "number");
|
|
12482
12546
|
attr_dev(input, "class", "AccountEditField");
|
|
12483
|
-
input.disabled = input_disabled_value = /*limitsUpdateData*/ ctx[
|
|
12484
|
-
add_location(input, file,
|
|
12547
|
+
input.disabled = input_disabled_value = /*limitsUpdateData*/ ctx[13].isModified === true;
|
|
12548
|
+
add_location(input, file, 513, 18, 23697);
|
|
12485
12549
|
},
|
|
12486
12550
|
m: function mount(target, anchor) {
|
|
12487
12551
|
insert_dev(target, input, anchor);
|
|
12488
|
-
set_input_value(input, /*savedData*/ ctx[
|
|
12552
|
+
set_input_value(input, /*savedData*/ ctx[54].value);
|
|
12489
12553
|
insert_dev(target, t, anchor);
|
|
12490
12554
|
if (if_block) if_block.m(target, anchor);
|
|
12491
12555
|
insert_dev(target, if_block_anchor, anchor);
|
|
@@ -12496,7 +12560,7 @@
|
|
|
12496
12560
|
input,
|
|
12497
12561
|
"keyup",
|
|
12498
12562
|
function () {
|
|
12499
|
-
if (is_function(/*checkUserInputAmount*/ ctx[
|
|
12563
|
+
if (is_function(/*checkUserInputAmount*/ ctx[25](/*savedData*/ ctx[54], 0, false, /*updatedLimitValues*/ ctx[15]))) /*checkUserInputAmount*/ ctx[25](/*savedData*/ ctx[54], 0, false, /*updatedLimitValues*/ ctx[15]).apply(this, arguments);
|
|
12500
12564
|
},
|
|
12501
12565
|
false,
|
|
12502
12566
|
false,
|
|
@@ -12511,16 +12575,18 @@
|
|
|
12511
12575
|
p: function update(new_ctx, dirty) {
|
|
12512
12576
|
ctx = new_ctx;
|
|
12513
12577
|
|
|
12514
|
-
if (dirty[0] & /*limitsUpdateData, periodValues*/
|
|
12578
|
+
if (dirty[0] & /*limitsUpdateData, periodValues*/ 2105344 && input_disabled_value !== (input_disabled_value = /*limitsUpdateData*/ ctx[13].isModified === true)) {
|
|
12515
12579
|
prop_dev(input, "disabled", input_disabled_value);
|
|
12516
12580
|
}
|
|
12517
12581
|
|
|
12518
|
-
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/
|
|
12519
|
-
set_input_value(input, /*savedData*/ ctx[
|
|
12582
|
+
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 1114112 && to_number(input.value) !== /*savedData*/ ctx[54].value) {
|
|
12583
|
+
set_input_value(input, /*savedData*/ ctx[54].value);
|
|
12520
12584
|
}
|
|
12521
12585
|
|
|
12522
|
-
if (/*invalidIndex*/ ctx[
|
|
12523
|
-
if (if_block)
|
|
12586
|
+
if (/*invalidIndex*/ ctx[12] === true) {
|
|
12587
|
+
if (if_block) {
|
|
12588
|
+
if_block.p(ctx, dirty);
|
|
12589
|
+
} else {
|
|
12524
12590
|
if_block = create_if_block_12(ctx);
|
|
12525
12591
|
if_block.c();
|
|
12526
12592
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -12544,31 +12610,37 @@
|
|
|
12544
12610
|
block,
|
|
12545
12611
|
id: create_if_block_11.name,
|
|
12546
12612
|
type: "if",
|
|
12547
|
-
source: "(
|
|
12613
|
+
source: "(513:16) {#if savedData.amount === \\\"Custom\\\"}",
|
|
12548
12614
|
ctx
|
|
12549
12615
|
});
|
|
12550
12616
|
|
|
12551
12617
|
return block;
|
|
12552
12618
|
}
|
|
12553
12619
|
|
|
12554
|
-
// (
|
|
12620
|
+
// (515:18) {#if invalidIndex === true}
|
|
12555
12621
|
function create_if_block_12(ctx) {
|
|
12556
12622
|
let p;
|
|
12557
12623
|
let span;
|
|
12624
|
+
let t_value = /*$_*/ ctx[17]("editText.invalidInputMessageLimit") + "";
|
|
12625
|
+
let t;
|
|
12558
12626
|
|
|
12559
12627
|
const block = {
|
|
12560
12628
|
c: function create() {
|
|
12561
12629
|
p = element("p");
|
|
12562
12630
|
span = element("span");
|
|
12563
|
-
|
|
12631
|
+
t = text(t_value);
|
|
12564
12632
|
attr_dev(span, "class", "InvalidInput InvalidSingleRow");
|
|
12565
|
-
add_location(span, file,
|
|
12633
|
+
add_location(span, file, 516, 20, 24015);
|
|
12566
12634
|
attr_dev(p, "class", "AccountEditWarningText");
|
|
12567
|
-
add_location(p, file,
|
|
12635
|
+
add_location(p, file, 515, 18, 23960);
|
|
12568
12636
|
},
|
|
12569
12637
|
m: function mount(target, anchor) {
|
|
12570
12638
|
insert_dev(target, p, anchor);
|
|
12571
12639
|
append_dev(p, span);
|
|
12640
|
+
append_dev(span, t);
|
|
12641
|
+
},
|
|
12642
|
+
p: function update(ctx, dirty) {
|
|
12643
|
+
if (dirty[0] & /*$_*/ 131072 && t_value !== (t_value = /*$_*/ ctx[17]("editText.invalidInputMessageLimit") + "")) set_data_dev(t, t_value);
|
|
12572
12644
|
},
|
|
12573
12645
|
d: function destroy(detaching) {
|
|
12574
12646
|
if (detaching) detach_dev(p);
|
|
@@ -12579,97 +12651,111 @@
|
|
|
12579
12651
|
block,
|
|
12580
12652
|
id: create_if_block_12.name,
|
|
12581
12653
|
type: "if",
|
|
12582
|
-
source: "(
|
|
12654
|
+
source: "(515:18) {#if invalidIndex === true}",
|
|
12583
12655
|
ctx
|
|
12584
12656
|
});
|
|
12585
12657
|
|
|
12586
12658
|
return block;
|
|
12587
12659
|
}
|
|
12588
12660
|
|
|
12589
|
-
// (
|
|
12661
|
+
// (521:16) {#if limitsUpdateData.isModified === true}
|
|
12590
12662
|
function create_if_block_10(ctx) {
|
|
12591
12663
|
let p0;
|
|
12664
|
+
let t0_value = /*$_*/ ctx[17]("editText.expirationDate") + "";
|
|
12592
12665
|
let t0;
|
|
12666
|
+
let t1;
|
|
12593
12667
|
let span0;
|
|
12594
12668
|
|
|
12595
|
-
let
|
|
12669
|
+
let t2_value = (/*limitsdata*/ ctx[0].expiryDate
|
|
12596
12670
|
? moment(/*limitsdata*/ ctx[0].expiryDate).format("D/M/YYYY - h:mm A")
|
|
12597
12671
|
: "N/A") + "";
|
|
12598
12672
|
|
|
12599
|
-
let t1;
|
|
12600
12673
|
let t2;
|
|
12674
|
+
let t3;
|
|
12601
12675
|
let div;
|
|
12602
12676
|
let p1;
|
|
12603
12677
|
let span1;
|
|
12604
12678
|
let span2;
|
|
12605
|
-
let
|
|
12679
|
+
let t5_value = /*$_*/ ctx[17]("editText.changedLimitTextBefore") + "";
|
|
12680
|
+
let t5;
|
|
12681
|
+
let t6;
|
|
12606
12682
|
|
|
12607
|
-
let
|
|
12683
|
+
let t7_value = (/*limitsdata*/ ctx[0].updateAmount > 0
|
|
12608
12684
|
? /*limitsdata*/ ctx[0].updateAmount
|
|
12609
12685
|
: 0) + "";
|
|
12610
12686
|
|
|
12611
|
-
let t5;
|
|
12612
|
-
let t6;
|
|
12613
12687
|
let t7;
|
|
12614
12688
|
let t8;
|
|
12689
|
+
let t9;
|
|
12690
|
+
let t10_value = /*$_*/ ctx[17]("editText.changedLimitTextAfter") + "";
|
|
12691
|
+
let t10;
|
|
12615
12692
|
|
|
12616
12693
|
const block = {
|
|
12617
12694
|
c: function create() {
|
|
12618
12695
|
p0 = element("p");
|
|
12619
|
-
t0 = text(
|
|
12696
|
+
t0 = text(t0_value);
|
|
12697
|
+
t1 = space();
|
|
12620
12698
|
span0 = element("span");
|
|
12621
|
-
|
|
12622
|
-
|
|
12699
|
+
t2 = text(t2_value);
|
|
12700
|
+
t3 = space();
|
|
12623
12701
|
div = element("div");
|
|
12624
12702
|
p1 = element("p");
|
|
12625
12703
|
span1 = element("span");
|
|
12626
12704
|
span1.textContent = "i";
|
|
12627
12705
|
span2 = element("span");
|
|
12628
|
-
t4 = text("Your limit has been changed or increased: ");
|
|
12629
12706
|
t5 = text(t5_value);
|
|
12630
12707
|
t6 = space();
|
|
12631
|
-
t7 = text(
|
|
12632
|
-
t8 =
|
|
12633
|
-
|
|
12708
|
+
t7 = text(t7_value);
|
|
12709
|
+
t8 = space();
|
|
12710
|
+
t9 = text(/*playercurrency*/ ctx[4]);
|
|
12711
|
+
t10 = text(t10_value);
|
|
12712
|
+
add_location(span0, file, 521, 89, 24325);
|
|
12634
12713
|
attr_dev(p0, "class", "AccountEditLimitsExpiryDate");
|
|
12635
|
-
add_location(p0, file,
|
|
12714
|
+
add_location(p0, file, 521, 18, 24254);
|
|
12636
12715
|
attr_dev(span1, "class", "AccountEditLimitChangePeriodIcon");
|
|
12637
|
-
add_location(span1, file,
|
|
12638
|
-
add_location(span2, file,
|
|
12639
|
-
add_location(p1, file,
|
|
12716
|
+
add_location(span1, file, 523, 23, 24528);
|
|
12717
|
+
add_location(span2, file, 523, 78, 24583);
|
|
12718
|
+
add_location(p1, file, 523, 20, 24525);
|
|
12640
12719
|
attr_dev(div, "class", "AccountEditLimitsPeriodChangeContainer");
|
|
12641
|
-
add_location(div, file,
|
|
12720
|
+
add_location(div, file, 522, 18, 24452);
|
|
12642
12721
|
},
|
|
12643
12722
|
m: function mount(target, anchor) {
|
|
12644
12723
|
insert_dev(target, p0, anchor);
|
|
12645
12724
|
append_dev(p0, t0);
|
|
12725
|
+
append_dev(p0, t1);
|
|
12646
12726
|
append_dev(p0, span0);
|
|
12647
|
-
append_dev(span0,
|
|
12648
|
-
insert_dev(target,
|
|
12727
|
+
append_dev(span0, t2);
|
|
12728
|
+
insert_dev(target, t3, anchor);
|
|
12649
12729
|
insert_dev(target, div, anchor);
|
|
12650
12730
|
append_dev(div, p1);
|
|
12651
12731
|
append_dev(p1, span1);
|
|
12652
12732
|
append_dev(p1, span2);
|
|
12653
|
-
append_dev(span2, t4);
|
|
12654
12733
|
append_dev(span2, t5);
|
|
12655
12734
|
append_dev(span2, t6);
|
|
12656
12735
|
append_dev(span2, t7);
|
|
12657
12736
|
append_dev(span2, t8);
|
|
12737
|
+
append_dev(span2, t9);
|
|
12738
|
+
append_dev(span2, t10);
|
|
12658
12739
|
},
|
|
12659
12740
|
p: function update(ctx, dirty) {
|
|
12660
|
-
if (dirty[0] &
|
|
12741
|
+
if (dirty[0] & /*$_*/ 131072 && t0_value !== (t0_value = /*$_*/ ctx[17]("editText.expirationDate") + "")) set_data_dev(t0, t0_value);
|
|
12742
|
+
|
|
12743
|
+
if (dirty[0] & /*limitsdata*/ 1 && t2_value !== (t2_value = (/*limitsdata*/ ctx[0].expiryDate
|
|
12661
12744
|
? moment(/*limitsdata*/ ctx[0].expiryDate).format("D/M/YYYY - h:mm A")
|
|
12662
|
-
: "N/A") + "")) set_data_dev(
|
|
12745
|
+
: "N/A") + "")) set_data_dev(t2, t2_value);
|
|
12663
12746
|
|
|
12664
|
-
if (dirty[0] &
|
|
12747
|
+
if (dirty[0] & /*$_*/ 131072 && t5_value !== (t5_value = /*$_*/ ctx[17]("editText.changedLimitTextBefore") + "")) set_data_dev(t5, t5_value);
|
|
12748
|
+
|
|
12749
|
+
if (dirty[0] & /*limitsdata*/ 1 && t7_value !== (t7_value = (/*limitsdata*/ ctx[0].updateAmount > 0
|
|
12665
12750
|
? /*limitsdata*/ ctx[0].updateAmount
|
|
12666
|
-
: 0) + "")) set_data_dev(
|
|
12751
|
+
: 0) + "")) set_data_dev(t7, t7_value);
|
|
12667
12752
|
|
|
12668
|
-
if (dirty[0] & /*playercurrency*/
|
|
12753
|
+
if (dirty[0] & /*playercurrency*/ 16) set_data_dev(t9, /*playercurrency*/ ctx[4]);
|
|
12754
|
+
if (dirty[0] & /*$_*/ 131072 && t10_value !== (t10_value = /*$_*/ ctx[17]("editText.changedLimitTextAfter") + "")) set_data_dev(t10, t10_value);
|
|
12669
12755
|
},
|
|
12670
12756
|
d: function destroy(detaching) {
|
|
12671
12757
|
if (detaching) detach_dev(p0);
|
|
12672
|
-
if (detaching) detach_dev(
|
|
12758
|
+
if (detaching) detach_dev(t3);
|
|
12673
12759
|
if (detaching) detach_dev(div);
|
|
12674
12760
|
}
|
|
12675
12761
|
};
|
|
@@ -12678,17 +12764,17 @@
|
|
|
12678
12764
|
block,
|
|
12679
12765
|
id: create_if_block_10.name,
|
|
12680
12766
|
type: "if",
|
|
12681
|
-
source: "(
|
|
12767
|
+
source: "(521:16) {#if limitsUpdateData.isModified === true}",
|
|
12682
12768
|
ctx
|
|
12683
12769
|
});
|
|
12684
12770
|
|
|
12685
12771
|
return block;
|
|
12686
12772
|
}
|
|
12687
12773
|
|
|
12688
|
-
// (
|
|
12774
|
+
// (502:8) {#each storedData as savedData, index}
|
|
12689
12775
|
function create_each_block_2(ctx) {
|
|
12690
12776
|
let if_block_anchor;
|
|
12691
|
-
let if_block = /*limitsUpdateData*/ ctx[
|
|
12777
|
+
let if_block = /*limitsUpdateData*/ ctx[13].period === /*savedData*/ ctx[54].periodName && create_if_block_9(ctx);
|
|
12692
12778
|
|
|
12693
12779
|
const block = {
|
|
12694
12780
|
c: function create() {
|
|
@@ -12700,7 +12786,7 @@
|
|
|
12700
12786
|
insert_dev(target, if_block_anchor, anchor);
|
|
12701
12787
|
},
|
|
12702
12788
|
p: function update(ctx, dirty) {
|
|
12703
|
-
if (/*limitsUpdateData*/ ctx[
|
|
12789
|
+
if (/*limitsUpdateData*/ ctx[13].period === /*savedData*/ ctx[54].periodName) {
|
|
12704
12790
|
if (if_block) {
|
|
12705
12791
|
if_block.p(ctx, dirty);
|
|
12706
12792
|
} else {
|
|
@@ -12723,24 +12809,26 @@
|
|
|
12723
12809
|
block,
|
|
12724
12810
|
id: create_each_block_2.name,
|
|
12725
12811
|
type: "each",
|
|
12726
|
-
source: "(
|
|
12812
|
+
source: "(502:8) {#each storedData as savedData, index}",
|
|
12727
12813
|
ctx
|
|
12728
12814
|
});
|
|
12729
12815
|
|
|
12730
12816
|
return block;
|
|
12731
12817
|
}
|
|
12732
12818
|
|
|
12733
|
-
// (
|
|
12819
|
+
// (458:12) {#if selectData.period == storedData[index].periodName}
|
|
12734
12820
|
function create_if_block_2(ctx) {
|
|
12735
12821
|
let select;
|
|
12736
12822
|
let option;
|
|
12823
|
+
let t0_value = /*$_*/ ctx[17]("editText.noLimit") + "";
|
|
12824
|
+
let t0;
|
|
12737
12825
|
let select_disabled_value;
|
|
12738
12826
|
let t1;
|
|
12739
12827
|
let t2;
|
|
12740
12828
|
let if_block1_anchor;
|
|
12741
12829
|
let mounted;
|
|
12742
12830
|
let dispose;
|
|
12743
|
-
let each_value_1 = /*depositPredefinedValues*/ ctx[
|
|
12831
|
+
let each_value_1 = /*depositPredefinedValues*/ ctx[19][/*index*/ ctx[50]].values;
|
|
12744
12832
|
validate_each_argument(each_value_1);
|
|
12745
12833
|
let each_blocks = [];
|
|
12746
12834
|
|
|
@@ -12749,17 +12837,17 @@
|
|
|
12749
12837
|
}
|
|
12750
12838
|
|
|
12751
12839
|
function select_change_handler() {
|
|
12752
|
-
/*select_change_handler*/ ctx[
|
|
12840
|
+
/*select_change_handler*/ ctx[26].call(select, /*index*/ ctx[50]);
|
|
12753
12841
|
}
|
|
12754
12842
|
|
|
12755
|
-
let if_block0 = /*storedData*/ ctx[
|
|
12756
|
-
let if_block1 = /*selectData*/ ctx[
|
|
12843
|
+
let if_block0 = /*storedData*/ ctx[16][/*index*/ ctx[50]].amount === "Custom" && create_if_block_4(ctx);
|
|
12844
|
+
let if_block1 = /*selectData*/ ctx[48].isModified === true && create_if_block_3(ctx);
|
|
12757
12845
|
|
|
12758
12846
|
const block = {
|
|
12759
12847
|
c: function create() {
|
|
12760
12848
|
select = element("select");
|
|
12761
12849
|
option = element("option");
|
|
12762
|
-
|
|
12850
|
+
t0 = text(t0_value);
|
|
12763
12851
|
|
|
12764
12852
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
12765
12853
|
each_blocks[i].c();
|
|
@@ -12775,21 +12863,22 @@
|
|
|
12775
12863
|
option.disabled = true;
|
|
12776
12864
|
option.selected = true;
|
|
12777
12865
|
option.hidden = true;
|
|
12778
|
-
add_location(option, file,
|
|
12779
|
-
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[
|
|
12780
|
-
select.disabled = select_disabled_value = /*selectData*/ ctx[
|
|
12781
|
-
if (/*storedData*/ ctx[
|
|
12782
|
-
add_location(select, file,
|
|
12866
|
+
add_location(option, file, 459, 16, 19727);
|
|
12867
|
+
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
|
|
12868
|
+
select.disabled = select_disabled_value = /*selectData*/ ctx[48].isModified === true;
|
|
12869
|
+
if (/*storedData*/ ctx[16][/*index*/ ctx[50]].amount === void 0) add_render_callback(select_change_handler);
|
|
12870
|
+
add_location(select, file, 458, 14, 19471);
|
|
12783
12871
|
},
|
|
12784
12872
|
m: function mount(target, anchor) {
|
|
12785
12873
|
insert_dev(target, select, anchor);
|
|
12786
12874
|
append_dev(select, option);
|
|
12875
|
+
append_dev(option, t0);
|
|
12787
12876
|
|
|
12788
12877
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
12789
12878
|
each_blocks[i].m(select, null);
|
|
12790
12879
|
}
|
|
12791
12880
|
|
|
12792
|
-
select_option(select, /*storedData*/ ctx[
|
|
12881
|
+
select_option(select, /*storedData*/ ctx[16][/*index*/ ctx[50]].amount);
|
|
12793
12882
|
insert_dev(target, t1, anchor);
|
|
12794
12883
|
if (if_block0) if_block0.m(target, anchor);
|
|
12795
12884
|
insert_dev(target, t2, anchor);
|
|
@@ -12803,7 +12892,7 @@
|
|
|
12803
12892
|
select,
|
|
12804
12893
|
"change",
|
|
12805
12894
|
function () {
|
|
12806
|
-
if (is_function(/*checkUserInputAmount*/ ctx[
|
|
12895
|
+
if (is_function(/*checkUserInputAmount*/ ctx[25](/*storedData*/ ctx[16][/*index*/ ctx[50]], /*index*/ ctx[50], false, /*updatedLimitValues*/ ctx[15]))) /*checkUserInputAmount*/ ctx[25](/*storedData*/ ctx[16][/*index*/ ctx[50]], /*index*/ ctx[50], false, /*updatedLimitValues*/ ctx[15]).apply(this, arguments);
|
|
12807
12896
|
},
|
|
12808
12897
|
false,
|
|
12809
12898
|
false,
|
|
@@ -12816,9 +12905,10 @@
|
|
|
12816
12905
|
},
|
|
12817
12906
|
p: function update(new_ctx, dirty) {
|
|
12818
12907
|
ctx = new_ctx;
|
|
12908
|
+
if (dirty[0] & /*$_*/ 131072 && t0_value !== (t0_value = /*$_*/ ctx[17]("editText.noLimit") + "")) set_data_dev(t0, t0_value);
|
|
12819
12909
|
|
|
12820
|
-
if (dirty[0] & /*depositPredefinedValues, limitname, playercurrency*/
|
|
12821
|
-
each_value_1 = /*depositPredefinedValues*/ ctx[
|
|
12910
|
+
if (dirty[0] & /*depositPredefinedValues, limitname, playercurrency*/ 524312) {
|
|
12911
|
+
each_value_1 = /*depositPredefinedValues*/ ctx[19][/*index*/ ctx[50]].values;
|
|
12822
12912
|
validate_each_argument(each_value_1);
|
|
12823
12913
|
let i;
|
|
12824
12914
|
|
|
@@ -12841,15 +12931,15 @@
|
|
|
12841
12931
|
each_blocks.length = each_value_1.length;
|
|
12842
12932
|
}
|
|
12843
12933
|
|
|
12844
|
-
if (dirty[0] & /*limitsUpdateData, periodValues*/
|
|
12934
|
+
if (dirty[0] & /*limitsUpdateData, periodValues*/ 2105344 && select_disabled_value !== (select_disabled_value = /*selectData*/ ctx[48].isModified === true)) {
|
|
12845
12935
|
prop_dev(select, "disabled", select_disabled_value);
|
|
12846
12936
|
}
|
|
12847
12937
|
|
|
12848
|
-
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/
|
|
12849
|
-
select_option(select, /*storedData*/ ctx[
|
|
12938
|
+
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 1114112) {
|
|
12939
|
+
select_option(select, /*storedData*/ ctx[16][/*index*/ ctx[50]].amount);
|
|
12850
12940
|
}
|
|
12851
12941
|
|
|
12852
|
-
if (/*storedData*/ ctx[
|
|
12942
|
+
if (/*storedData*/ ctx[16][/*index*/ ctx[50]].amount === "Custom") {
|
|
12853
12943
|
if (if_block0) {
|
|
12854
12944
|
if_block0.p(ctx, dirty);
|
|
12855
12945
|
} else {
|
|
@@ -12862,7 +12952,7 @@
|
|
|
12862
12952
|
if_block0 = null;
|
|
12863
12953
|
}
|
|
12864
12954
|
|
|
12865
|
-
if (/*selectData*/ ctx[
|
|
12955
|
+
if (/*selectData*/ ctx[48].isModified === true) {
|
|
12866
12956
|
if (if_block1) {
|
|
12867
12957
|
if_block1.p(ctx, dirty);
|
|
12868
12958
|
} else {
|
|
@@ -12892,17 +12982,17 @@
|
|
|
12892
12982
|
block,
|
|
12893
12983
|
id: create_if_block_2.name,
|
|
12894
12984
|
type: "if",
|
|
12895
|
-
source: "(
|
|
12985
|
+
source: "(458:12) {#if selectData.period == storedData[index].periodName}",
|
|
12896
12986
|
ctx
|
|
12897
12987
|
});
|
|
12898
12988
|
|
|
12899
12989
|
return block;
|
|
12900
12990
|
}
|
|
12901
12991
|
|
|
12902
|
-
// (
|
|
12992
|
+
// (462:66) {#if predefinedData !== "No limit" && predefinedData !== "Custom"}
|
|
12903
12993
|
function create_if_block_8(ctx) {
|
|
12904
|
-
let t_value = (/*limitname*/ ctx[
|
|
12905
|
-
? /*playercurrency*/ ctx[
|
|
12994
|
+
let t_value = (/*limitname*/ ctx[3] !== "Time Limit"
|
|
12995
|
+
? /*playercurrency*/ ctx[4]
|
|
12906
12996
|
: " minutes") + "";
|
|
12907
12997
|
|
|
12908
12998
|
let t;
|
|
@@ -12915,8 +13005,8 @@
|
|
|
12915
13005
|
insert_dev(target, t, anchor);
|
|
12916
13006
|
},
|
|
12917
13007
|
p: function update(ctx, dirty) {
|
|
12918
|
-
if (dirty[0] & /*limitname, playercurrency*/
|
|
12919
|
-
? /*playercurrency*/ ctx[
|
|
13008
|
+
if (dirty[0] & /*limitname, playercurrency*/ 24 && t_value !== (t_value = (/*limitname*/ ctx[3] !== "Time Limit"
|
|
13009
|
+
? /*playercurrency*/ ctx[4]
|
|
12920
13010
|
: " minutes") + "")) set_data_dev(t, t_value);
|
|
12921
13011
|
},
|
|
12922
13012
|
d: function destroy(detaching) {
|
|
@@ -12928,20 +13018,20 @@
|
|
|
12928
13018
|
block,
|
|
12929
13019
|
id: create_if_block_8.name,
|
|
12930
13020
|
type: "if",
|
|
12931
|
-
source: "(
|
|
13021
|
+
source: "(462:66) {#if predefinedData !== \\\"No limit\\\" && predefinedData !== \\\"Custom\\\"}",
|
|
12932
13022
|
ctx
|
|
12933
13023
|
});
|
|
12934
13024
|
|
|
12935
13025
|
return block;
|
|
12936
13026
|
}
|
|
12937
13027
|
|
|
12938
|
-
// (
|
|
13028
|
+
// (461:16) {#each depositPredefinedValues[index].values as predefinedData}
|
|
12939
13029
|
function create_each_block_1(ctx) {
|
|
12940
13030
|
let option;
|
|
12941
|
-
let t0_value = /*predefinedData*/ ctx[
|
|
13031
|
+
let t0_value = /*predefinedData*/ ctx[51] + "";
|
|
12942
13032
|
let t0;
|
|
12943
13033
|
let t1;
|
|
12944
|
-
let if_block = /*predefinedData*/ ctx[
|
|
13034
|
+
let if_block = /*predefinedData*/ ctx[51] !== "No limit" && /*predefinedData*/ ctx[51] !== "Custom" && create_if_block_8(ctx);
|
|
12945
13035
|
|
|
12946
13036
|
const block = {
|
|
12947
13037
|
c: function create() {
|
|
@@ -12949,9 +13039,9 @@
|
|
|
12949
13039
|
t0 = text(t0_value);
|
|
12950
13040
|
t1 = space();
|
|
12951
13041
|
if (if_block) if_block.c();
|
|
12952
|
-
option.__value = /*predefinedData*/ ctx[
|
|
13042
|
+
option.__value = /*predefinedData*/ ctx[51];
|
|
12953
13043
|
option.value = option.__value;
|
|
12954
|
-
add_location(option, file,
|
|
13044
|
+
add_location(option, file, 461, 18, 19901);
|
|
12955
13045
|
},
|
|
12956
13046
|
m: function mount(target, anchor) {
|
|
12957
13047
|
insert_dev(target, option, anchor);
|
|
@@ -12960,7 +13050,7 @@
|
|
|
12960
13050
|
if (if_block) if_block.m(option, null);
|
|
12961
13051
|
},
|
|
12962
13052
|
p: function update(ctx, dirty) {
|
|
12963
|
-
if (/*predefinedData*/ ctx[
|
|
13053
|
+
if (/*predefinedData*/ ctx[51] !== "No limit" && /*predefinedData*/ ctx[51] !== "Custom") if_block.p(ctx, dirty);
|
|
12964
13054
|
},
|
|
12965
13055
|
d: function destroy(detaching) {
|
|
12966
13056
|
if (detaching) detach_dev(option);
|
|
@@ -12972,19 +13062,19 @@
|
|
|
12972
13062
|
block,
|
|
12973
13063
|
id: create_each_block_1.name,
|
|
12974
13064
|
type: "each",
|
|
12975
|
-
source: "(
|
|
13065
|
+
source: "(461:16) {#each depositPredefinedValues[index].values as predefinedData}",
|
|
12976
13066
|
ctx
|
|
12977
13067
|
});
|
|
12978
13068
|
|
|
12979
13069
|
return block;
|
|
12980
13070
|
}
|
|
12981
13071
|
|
|
12982
|
-
// (
|
|
13072
|
+
// (465:14) {#if storedData[index].amount === "Custom"}
|
|
12983
13073
|
function create_if_block_4(ctx) {
|
|
12984
13074
|
let if_block_anchor;
|
|
12985
13075
|
|
|
12986
13076
|
function select_block_type_2(ctx, dirty) {
|
|
12987
|
-
if (/*limitname*/ ctx[
|
|
13077
|
+
if (/*limitname*/ ctx[3] === "Deposit Limit") return create_if_block_5;
|
|
12988
13078
|
return create_else_block;
|
|
12989
13079
|
}
|
|
12990
13080
|
|
|
@@ -13023,14 +13113,14 @@
|
|
|
13023
13113
|
block,
|
|
13024
13114
|
id: create_if_block_4.name,
|
|
13025
13115
|
type: "if",
|
|
13026
|
-
source: "(
|
|
13116
|
+
source: "(465:14) {#if storedData[index].amount === \\\"Custom\\\"}",
|
|
13027
13117
|
ctx
|
|
13028
13118
|
});
|
|
13029
13119
|
|
|
13030
13120
|
return block;
|
|
13031
13121
|
}
|
|
13032
13122
|
|
|
13033
|
-
// (
|
|
13123
|
+
// (473:16) {:else}
|
|
13034
13124
|
function create_else_block(ctx) {
|
|
13035
13125
|
let input;
|
|
13036
13126
|
let input_disabled_value;
|
|
@@ -13040,10 +13130,10 @@
|
|
|
13040
13130
|
let dispose;
|
|
13041
13131
|
|
|
13042
13132
|
function input_input_handler_1() {
|
|
13043
|
-
/*input_input_handler_1*/ ctx[
|
|
13133
|
+
/*input_input_handler_1*/ ctx[28].call(input, /*index*/ ctx[50]);
|
|
13044
13134
|
}
|
|
13045
13135
|
|
|
13046
|
-
let if_block = /*invalidIndexes*/ ctx[
|
|
13136
|
+
let if_block = /*invalidIndexes*/ ctx[11][/*index*/ ctx[50]] == 1 && create_if_block_7(ctx);
|
|
13047
13137
|
|
|
13048
13138
|
const block = {
|
|
13049
13139
|
c: function create() {
|
|
@@ -13053,14 +13143,14 @@
|
|
|
13053
13143
|
if (if_block) if_block.c();
|
|
13054
13144
|
attr_dev(input, "type", "number");
|
|
13055
13145
|
attr_dev(input, "class", "AccountEditField");
|
|
13056
|
-
input.disabled = input_disabled_value = /*selectData*/ ctx[
|
|
13057
|
-
add_location(input, file,
|
|
13146
|
+
input.disabled = input_disabled_value = /*selectData*/ ctx[48].isModified === true;
|
|
13147
|
+
add_location(input, file, 473, 18, 20762);
|
|
13058
13148
|
attr_dev(p, "class", "AccountEditWarningText");
|
|
13059
|
-
add_location(p, file,
|
|
13149
|
+
add_location(p, file, 474, 18, 20992);
|
|
13060
13150
|
},
|
|
13061
13151
|
m: function mount(target, anchor) {
|
|
13062
13152
|
insert_dev(target, input, anchor);
|
|
13063
|
-
set_input_value(input, /*storedData*/ ctx[
|
|
13153
|
+
set_input_value(input, /*storedData*/ ctx[16][/*index*/ ctx[50]].value);
|
|
13064
13154
|
insert_dev(target, t, anchor);
|
|
13065
13155
|
insert_dev(target, p, anchor);
|
|
13066
13156
|
if (if_block) if_block.m(p, null);
|
|
@@ -13071,7 +13161,7 @@
|
|
|
13071
13161
|
input,
|
|
13072
13162
|
"keyup",
|
|
13073
13163
|
function () {
|
|
13074
|
-
if (is_function(/*checkUserInputAmount*/ ctx[
|
|
13164
|
+
if (is_function(/*checkUserInputAmount*/ ctx[25](/*storedData*/ ctx[16][/*index*/ ctx[50]], /*index*/ ctx[50], true, /*updatedLimitValues*/ ctx[15]))) /*checkUserInputAmount*/ ctx[25](/*storedData*/ ctx[16][/*index*/ ctx[50]], /*index*/ ctx[50], true, /*updatedLimitValues*/ ctx[15]).apply(this, arguments);
|
|
13075
13165
|
},
|
|
13076
13166
|
false,
|
|
13077
13167
|
false,
|
|
@@ -13086,15 +13176,15 @@
|
|
|
13086
13176
|
p: function update(new_ctx, dirty) {
|
|
13087
13177
|
ctx = new_ctx;
|
|
13088
13178
|
|
|
13089
|
-
if (dirty[0] & /*limitsUpdateData, periodValues*/
|
|
13179
|
+
if (dirty[0] & /*limitsUpdateData, periodValues*/ 2105344 && input_disabled_value !== (input_disabled_value = /*selectData*/ ctx[48].isModified === true)) {
|
|
13090
13180
|
prop_dev(input, "disabled", input_disabled_value);
|
|
13091
13181
|
}
|
|
13092
13182
|
|
|
13093
|
-
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/
|
|
13094
|
-
set_input_value(input, /*storedData*/ ctx[
|
|
13183
|
+
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 1114112 && to_number(input.value) !== /*storedData*/ ctx[16][/*index*/ ctx[50]].value) {
|
|
13184
|
+
set_input_value(input, /*storedData*/ ctx[16][/*index*/ ctx[50]].value);
|
|
13095
13185
|
}
|
|
13096
13186
|
|
|
13097
|
-
if (/*invalidIndexes*/ ctx[
|
|
13187
|
+
if (/*invalidIndexes*/ ctx[11][/*index*/ ctx[50]] == 1) {
|
|
13098
13188
|
if (if_block) {
|
|
13099
13189
|
if_block.p(ctx, dirty);
|
|
13100
13190
|
} else {
|
|
@@ -13121,14 +13211,14 @@
|
|
|
13121
13211
|
block,
|
|
13122
13212
|
id: create_else_block.name,
|
|
13123
13213
|
type: "else",
|
|
13124
|
-
source: "(
|
|
13214
|
+
source: "(473:16) {:else}",
|
|
13125
13215
|
ctx
|
|
13126
13216
|
});
|
|
13127
13217
|
|
|
13128
13218
|
return block;
|
|
13129
13219
|
}
|
|
13130
13220
|
|
|
13131
|
-
// (
|
|
13221
|
+
// (466:16) {#if limitname === "Deposit Limit"}
|
|
13132
13222
|
function create_if_block_5(ctx) {
|
|
13133
13223
|
let input;
|
|
13134
13224
|
let input_disabled_value;
|
|
@@ -13138,10 +13228,10 @@
|
|
|
13138
13228
|
let dispose;
|
|
13139
13229
|
|
|
13140
13230
|
function input_input_handler() {
|
|
13141
|
-
/*input_input_handler*/ ctx[
|
|
13231
|
+
/*input_input_handler*/ ctx[27].call(input, /*index*/ ctx[50]);
|
|
13142
13232
|
}
|
|
13143
13233
|
|
|
13144
|
-
let if_block = /*invalidIndexes*/ ctx[
|
|
13234
|
+
let if_block = /*invalidIndexes*/ ctx[11][/*index*/ ctx[50]] == 1 && create_if_block_6(ctx);
|
|
13145
13235
|
|
|
13146
13236
|
const block = {
|
|
13147
13237
|
c: function create() {
|
|
@@ -13151,14 +13241,14 @@
|
|
|
13151
13241
|
if (if_block) if_block.c();
|
|
13152
13242
|
attr_dev(input, "type", "number");
|
|
13153
13243
|
attr_dev(input, "class", "AccountEditField");
|
|
13154
|
-
input.disabled = input_disabled_value = /*selectData*/ ctx[
|
|
13155
|
-
add_location(input, file,
|
|
13244
|
+
input.disabled = input_disabled_value = /*selectData*/ ctx[48].isModified === true;
|
|
13245
|
+
add_location(input, file, 466, 18, 20264);
|
|
13156
13246
|
attr_dev(p, "class", "AccountEditWarningText");
|
|
13157
|
-
add_location(p, file,
|
|
13247
|
+
add_location(p, file, 467, 18, 20495);
|
|
13158
13248
|
},
|
|
13159
13249
|
m: function mount(target, anchor) {
|
|
13160
13250
|
insert_dev(target, input, anchor);
|
|
13161
|
-
set_input_value(input, /*storedData*/ ctx[
|
|
13251
|
+
set_input_value(input, /*storedData*/ ctx[16][/*index*/ ctx[50]].value);
|
|
13162
13252
|
insert_dev(target, t, anchor);
|
|
13163
13253
|
insert_dev(target, p, anchor);
|
|
13164
13254
|
if (if_block) if_block.m(p, null);
|
|
@@ -13169,7 +13259,7 @@
|
|
|
13169
13259
|
input,
|
|
13170
13260
|
"keyup",
|
|
13171
13261
|
function () {
|
|
13172
|
-
if (is_function(/*checkUserInputAmount*/ ctx[
|
|
13262
|
+
if (is_function(/*checkUserInputAmount*/ ctx[25](/*storedData*/ ctx[16][/*index*/ ctx[50]], /*index*/ ctx[50], false, /*updatedLimitValues*/ ctx[15]))) /*checkUserInputAmount*/ ctx[25](/*storedData*/ ctx[16][/*index*/ ctx[50]], /*index*/ ctx[50], false, /*updatedLimitValues*/ ctx[15]).apply(this, arguments);
|
|
13173
13263
|
},
|
|
13174
13264
|
false,
|
|
13175
13265
|
false,
|
|
@@ -13184,16 +13274,18 @@
|
|
|
13184
13274
|
p: function update(new_ctx, dirty) {
|
|
13185
13275
|
ctx = new_ctx;
|
|
13186
13276
|
|
|
13187
|
-
if (dirty[0] & /*limitsUpdateData, periodValues*/
|
|
13277
|
+
if (dirty[0] & /*limitsUpdateData, periodValues*/ 2105344 && input_disabled_value !== (input_disabled_value = /*selectData*/ ctx[48].isModified === true)) {
|
|
13188
13278
|
prop_dev(input, "disabled", input_disabled_value);
|
|
13189
13279
|
}
|
|
13190
13280
|
|
|
13191
|
-
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/
|
|
13192
|
-
set_input_value(input, /*storedData*/ ctx[
|
|
13281
|
+
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 1114112 && to_number(input.value) !== /*storedData*/ ctx[16][/*index*/ ctx[50]].value) {
|
|
13282
|
+
set_input_value(input, /*storedData*/ ctx[16][/*index*/ ctx[50]].value);
|
|
13193
13283
|
}
|
|
13194
13284
|
|
|
13195
|
-
if (/*invalidIndexes*/ ctx[
|
|
13196
|
-
if (if_block)
|
|
13285
|
+
if (/*invalidIndexes*/ ctx[11][/*index*/ ctx[50]] == 1) {
|
|
13286
|
+
if (if_block) {
|
|
13287
|
+
if_block.p(ctx, dirty);
|
|
13288
|
+
} else {
|
|
13197
13289
|
if_block = create_if_block_6(ctx);
|
|
13198
13290
|
if_block.c();
|
|
13199
13291
|
if_block.m(p, null);
|
|
@@ -13217,44 +13309,44 @@
|
|
|
13217
13309
|
block,
|
|
13218
13310
|
id: create_if_block_5.name,
|
|
13219
13311
|
type: "if",
|
|
13220
|
-
source: "(
|
|
13312
|
+
source: "(466:16) {#if limitname === \\\"Deposit Limit\\\"}",
|
|
13221
13313
|
ctx
|
|
13222
13314
|
});
|
|
13223
13315
|
|
|
13224
13316
|
return block;
|
|
13225
13317
|
}
|
|
13226
13318
|
|
|
13227
|
-
// (
|
|
13319
|
+
// (476:20) {#if invalidIndexes[index] == 1}
|
|
13228
13320
|
function create_if_block_7(ctx) {
|
|
13229
13321
|
let p;
|
|
13230
|
-
|
|
13231
|
-
let
|
|
13232
|
-
|
|
13233
|
-
|
|
13234
|
-
|
|
13322
|
+
|
|
13323
|
+
let t_value = /*$_*/ ctx[17]("editText.invalidInputMessageTime", {
|
|
13324
|
+
values: {
|
|
13325
|
+
minTime: /*minTimeValue*/ ctx[7],
|
|
13326
|
+
maxTime: /*maxTimeValue*/ ctx[8]
|
|
13327
|
+
}
|
|
13328
|
+
}) + "";
|
|
13329
|
+
|
|
13330
|
+
let t;
|
|
13235
13331
|
|
|
13236
13332
|
const block = {
|
|
13237
13333
|
c: function create() {
|
|
13238
13334
|
p = element("p");
|
|
13239
|
-
|
|
13240
|
-
t1 = text(/*minTimeValue*/ ctx[9]);
|
|
13241
|
-
t2 = text(" and below ");
|
|
13242
|
-
t3 = text(/*maxTimeValue*/ ctx[10]);
|
|
13243
|
-
t4 = text(" minutes.");
|
|
13335
|
+
t = text(t_value);
|
|
13244
13336
|
attr_dev(p, "class", "InvalidInput");
|
|
13245
|
-
add_location(p, file,
|
|
13337
|
+
add_location(p, file, 476, 22, 21102);
|
|
13246
13338
|
},
|
|
13247
13339
|
m: function mount(target, anchor) {
|
|
13248
13340
|
insert_dev(target, p, anchor);
|
|
13249
|
-
append_dev(p,
|
|
13250
|
-
append_dev(p, t1);
|
|
13251
|
-
append_dev(p, t2);
|
|
13252
|
-
append_dev(p, t3);
|
|
13253
|
-
append_dev(p, t4);
|
|
13341
|
+
append_dev(p, t);
|
|
13254
13342
|
},
|
|
13255
13343
|
p: function update(ctx, dirty) {
|
|
13256
|
-
if (dirty[0] &
|
|
13257
|
-
|
|
13344
|
+
if (dirty[0] & /*$_, minTimeValue, maxTimeValue*/ 131456 && t_value !== (t_value = /*$_*/ ctx[17]("editText.invalidInputMessageTime", {
|
|
13345
|
+
values: {
|
|
13346
|
+
minTime: /*minTimeValue*/ ctx[7],
|
|
13347
|
+
maxTime: /*maxTimeValue*/ ctx[8]
|
|
13348
|
+
}
|
|
13349
|
+
}) + "")) set_data_dev(t, t_value);
|
|
13258
13350
|
},
|
|
13259
13351
|
d: function destroy(detaching) {
|
|
13260
13352
|
if (detaching) detach_dev(p);
|
|
@@ -13265,26 +13357,32 @@
|
|
|
13265
13357
|
block,
|
|
13266
13358
|
id: create_if_block_7.name,
|
|
13267
13359
|
type: "if",
|
|
13268
|
-
source: "(
|
|
13360
|
+
source: "(476:20) {#if invalidIndexes[index] == 1}",
|
|
13269
13361
|
ctx
|
|
13270
13362
|
});
|
|
13271
13363
|
|
|
13272
13364
|
return block;
|
|
13273
13365
|
}
|
|
13274
13366
|
|
|
13275
|
-
// (
|
|
13367
|
+
// (469:20) {#if invalidIndexes[index] == 1}
|
|
13276
13368
|
function create_if_block_6(ctx) {
|
|
13277
13369
|
let p;
|
|
13370
|
+
let t_value = /*$_*/ ctx[17]("editText.invalidInputMessageLimit") + "";
|
|
13371
|
+
let t;
|
|
13278
13372
|
|
|
13279
13373
|
const block = {
|
|
13280
13374
|
c: function create() {
|
|
13281
13375
|
p = element("p");
|
|
13282
|
-
|
|
13376
|
+
t = text(t_value);
|
|
13283
13377
|
attr_dev(p, "class", "InvalidInput");
|
|
13284
|
-
add_location(p, file,
|
|
13378
|
+
add_location(p, file, 469, 18, 20601);
|
|
13285
13379
|
},
|
|
13286
13380
|
m: function mount(target, anchor) {
|
|
13287
13381
|
insert_dev(target, p, anchor);
|
|
13382
|
+
append_dev(p, t);
|
|
13383
|
+
},
|
|
13384
|
+
p: function update(ctx, dirty) {
|
|
13385
|
+
if (dirty[0] & /*$_*/ 131072 && t_value !== (t_value = /*$_*/ ctx[17]("editText.invalidInputMessageLimit") + "")) set_data_dev(t, t_value);
|
|
13288
13386
|
},
|
|
13289
13387
|
d: function destroy(detaching) {
|
|
13290
13388
|
if (detaching) detach_dev(p);
|
|
@@ -13295,104 +13393,119 @@
|
|
|
13295
13393
|
block,
|
|
13296
13394
|
id: create_if_block_6.name,
|
|
13297
13395
|
type: "if",
|
|
13298
|
-
source: "(
|
|
13396
|
+
source: "(469:20) {#if invalidIndexes[index] == 1}",
|
|
13299
13397
|
ctx
|
|
13300
13398
|
});
|
|
13301
13399
|
|
|
13302
13400
|
return block;
|
|
13303
13401
|
}
|
|
13304
13402
|
|
|
13305
|
-
// (
|
|
13403
|
+
// (482:14) {#if selectData.isModified === true}
|
|
13306
13404
|
function create_if_block_3(ctx) {
|
|
13307
13405
|
let p0;
|
|
13406
|
+
let t0_value = /*$_*/ ctx[17]("editText.expirationDate") + "";
|
|
13308
13407
|
let t0;
|
|
13408
|
+
let t1;
|
|
13309
13409
|
let span0;
|
|
13310
13410
|
|
|
13311
|
-
let
|
|
13312
|
-
? moment(/*selectData*/ ctx[
|
|
13411
|
+
let t2_value = (/*selectData*/ ctx[48].expiryDate
|
|
13412
|
+
? moment(/*selectData*/ ctx[48].expiryDate).format("D/M/YYYY - h:mm A")
|
|
13313
13413
|
: "N/A") + "";
|
|
13314
13414
|
|
|
13315
|
-
let t1;
|
|
13316
13415
|
let t2;
|
|
13416
|
+
let t3;
|
|
13317
13417
|
let div;
|
|
13318
13418
|
let p1;
|
|
13319
13419
|
let span1;
|
|
13320
13420
|
let span2;
|
|
13321
|
-
let
|
|
13322
|
-
|
|
13323
|
-
let t5_value = (/*selectData*/ ctx[51].updateAmount > 0
|
|
13324
|
-
? /*selectData*/ ctx[51].updateAmount
|
|
13325
|
-
: 0) + "";
|
|
13326
|
-
|
|
13421
|
+
let t5_value = /*$_*/ ctx[17]("editText.changedLimitTextBefore") + "";
|
|
13327
13422
|
let t5;
|
|
13328
13423
|
let t6;
|
|
13329
13424
|
|
|
13330
|
-
let t7_value = (/*selectData*/ ctx[
|
|
13331
|
-
?
|
|
13332
|
-
:
|
|
13425
|
+
let t7_value = (/*selectData*/ ctx[48].updateAmount > 0
|
|
13426
|
+
? /*selectData*/ ctx[48].updateAmount
|
|
13427
|
+
: 0) + "";
|
|
13333
13428
|
|
|
13334
13429
|
let t7;
|
|
13335
13430
|
let t8;
|
|
13336
13431
|
|
|
13432
|
+
let t9_value = (/*selectData*/ ctx[48].minutes !== undefined
|
|
13433
|
+
? " minutes"
|
|
13434
|
+
: /*playercurrency*/ ctx[4]) + "";
|
|
13435
|
+
|
|
13436
|
+
let t9;
|
|
13437
|
+
let t10_value = /*$_*/ ctx[17]("editText.changedLimitTextAfter") + "";
|
|
13438
|
+
let t10;
|
|
13439
|
+
|
|
13337
13440
|
const block = {
|
|
13338
13441
|
c: function create() {
|
|
13339
13442
|
p0 = element("p");
|
|
13340
|
-
t0 = text(
|
|
13443
|
+
t0 = text(t0_value);
|
|
13444
|
+
t1 = space();
|
|
13341
13445
|
span0 = element("span");
|
|
13342
|
-
|
|
13343
|
-
|
|
13446
|
+
t2 = text(t2_value);
|
|
13447
|
+
t3 = space();
|
|
13344
13448
|
div = element("div");
|
|
13345
13449
|
p1 = element("p");
|
|
13346
13450
|
span1 = element("span");
|
|
13347
13451
|
span1.textContent = "i";
|
|
13348
13452
|
span2 = element("span");
|
|
13349
|
-
t4 = text("Your limit has been changed or increased: ");
|
|
13350
13453
|
t5 = text(t5_value);
|
|
13351
13454
|
t6 = space();
|
|
13352
13455
|
t7 = text(t7_value);
|
|
13353
|
-
t8 =
|
|
13354
|
-
|
|
13456
|
+
t8 = space();
|
|
13457
|
+
t9 = text(t9_value);
|
|
13458
|
+
t10 = text(t10_value);
|
|
13459
|
+
add_location(span0, file, 482, 87, 21460);
|
|
13355
13460
|
attr_dev(p0, "class", "AccountEditLimitsExpiryDate");
|
|
13356
|
-
add_location(p0, file,
|
|
13461
|
+
add_location(p0, file, 482, 16, 21389);
|
|
13357
13462
|
attr_dev(span1, "class", "AccountEditLimitChangePeriodIcon");
|
|
13358
|
-
add_location(span1, file,
|
|
13359
|
-
add_location(span2, file,
|
|
13360
|
-
add_location(p1, file,
|
|
13463
|
+
add_location(span1, file, 484, 19, 21657);
|
|
13464
|
+
add_location(span2, file, 484, 74, 21712);
|
|
13465
|
+
add_location(p1, file, 484, 16, 21654);
|
|
13361
13466
|
attr_dev(div, "class", "AccountEditLimitsPeriodChangeContainer");
|
|
13362
|
-
add_location(div, file,
|
|
13467
|
+
add_location(div, file, 483, 16, 21585);
|
|
13363
13468
|
},
|
|
13364
13469
|
m: function mount(target, anchor) {
|
|
13365
13470
|
insert_dev(target, p0, anchor);
|
|
13366
13471
|
append_dev(p0, t0);
|
|
13472
|
+
append_dev(p0, t1);
|
|
13367
13473
|
append_dev(p0, span0);
|
|
13368
|
-
append_dev(span0,
|
|
13369
|
-
insert_dev(target,
|
|
13474
|
+
append_dev(span0, t2);
|
|
13475
|
+
insert_dev(target, t3, anchor);
|
|
13370
13476
|
insert_dev(target, div, anchor);
|
|
13371
13477
|
append_dev(div, p1);
|
|
13372
13478
|
append_dev(p1, span1);
|
|
13373
13479
|
append_dev(p1, span2);
|
|
13374
|
-
append_dev(span2, t4);
|
|
13375
13480
|
append_dev(span2, t5);
|
|
13376
13481
|
append_dev(span2, t6);
|
|
13377
13482
|
append_dev(span2, t7);
|
|
13378
13483
|
append_dev(span2, t8);
|
|
13484
|
+
append_dev(span2, t9);
|
|
13485
|
+
append_dev(span2, t10);
|
|
13379
13486
|
},
|
|
13380
13487
|
p: function update(ctx, dirty) {
|
|
13381
|
-
if (dirty[0] &
|
|
13382
|
-
|
|
13383
|
-
|
|
13488
|
+
if (dirty[0] & /*$_*/ 131072 && t0_value !== (t0_value = /*$_*/ ctx[17]("editText.expirationDate") + "")) set_data_dev(t0, t0_value);
|
|
13489
|
+
|
|
13490
|
+
if (dirty[0] & /*limitsUpdateData*/ 8192 && t2_value !== (t2_value = (/*selectData*/ ctx[48].expiryDate
|
|
13491
|
+
? moment(/*selectData*/ ctx[48].expiryDate).format("D/M/YYYY - h:mm A")
|
|
13492
|
+
: "N/A") + "")) set_data_dev(t2, t2_value);
|
|
13384
13493
|
|
|
13385
|
-
if (dirty[0] &
|
|
13386
|
-
? /*selectData*/ ctx[51].updateAmount
|
|
13387
|
-
: 0) + "")) set_data_dev(t5, t5_value);
|
|
13494
|
+
if (dirty[0] & /*$_*/ 131072 && t5_value !== (t5_value = /*$_*/ ctx[17]("editText.changedLimitTextBefore") + "")) set_data_dev(t5, t5_value);
|
|
13388
13495
|
|
|
13389
|
-
if (dirty[0] & /*limitsUpdateData
|
|
13496
|
+
if (dirty[0] & /*limitsUpdateData*/ 8192 && t7_value !== (t7_value = (/*selectData*/ ctx[48].updateAmount > 0
|
|
13497
|
+
? /*selectData*/ ctx[48].updateAmount
|
|
13498
|
+
: 0) + "")) set_data_dev(t7, t7_value);
|
|
13499
|
+
|
|
13500
|
+
if (dirty[0] & /*limitsUpdateData, playercurrency*/ 8208 && t9_value !== (t9_value = (/*selectData*/ ctx[48].minutes !== undefined
|
|
13390
13501
|
? " minutes"
|
|
13391
|
-
: /*playercurrency*/ ctx[
|
|
13502
|
+
: /*playercurrency*/ ctx[4]) + "")) set_data_dev(t9, t9_value);
|
|
13503
|
+
|
|
13504
|
+
if (dirty[0] & /*$_*/ 131072 && t10_value !== (t10_value = /*$_*/ ctx[17]("editText.changedLimitTextAfter") + "")) set_data_dev(t10, t10_value);
|
|
13392
13505
|
},
|
|
13393
13506
|
d: function destroy(detaching) {
|
|
13394
13507
|
if (detaching) detach_dev(p0);
|
|
13395
|
-
if (detaching) detach_dev(
|
|
13508
|
+
if (detaching) detach_dev(t3);
|
|
13396
13509
|
if (detaching) detach_dev(div);
|
|
13397
13510
|
}
|
|
13398
13511
|
};
|
|
@@ -13401,22 +13514,22 @@
|
|
|
13401
13514
|
block,
|
|
13402
13515
|
id: create_if_block_3.name,
|
|
13403
13516
|
type: "if",
|
|
13404
|
-
source: "(
|
|
13517
|
+
source: "(482:14) {#if selectData.isModified === true}",
|
|
13405
13518
|
ctx
|
|
13406
13519
|
});
|
|
13407
13520
|
|
|
13408
13521
|
return block;
|
|
13409
13522
|
}
|
|
13410
13523
|
|
|
13411
|
-
// (
|
|
13524
|
+
// (455:8) {#each limitsUpdateData as selectData, index}
|
|
13412
13525
|
function create_each_block(ctx) {
|
|
13413
13526
|
let div;
|
|
13414
13527
|
let p;
|
|
13415
|
-
let t0_value = /*selectData*/ ctx[
|
|
13528
|
+
let t0_value = /*selectData*/ ctx[48].period + "";
|
|
13416
13529
|
let t0;
|
|
13417
13530
|
let t1;
|
|
13418
13531
|
let t2;
|
|
13419
|
-
let if_block = /*selectData*/ ctx[
|
|
13532
|
+
let if_block = /*selectData*/ ctx[48].period == /*storedData*/ ctx[16][/*index*/ ctx[50]].periodName && create_if_block_2(ctx);
|
|
13420
13533
|
|
|
13421
13534
|
const block = {
|
|
13422
13535
|
c: function create() {
|
|
@@ -13427,9 +13540,9 @@
|
|
|
13427
13540
|
if (if_block) if_block.c();
|
|
13428
13541
|
t2 = space();
|
|
13429
13542
|
attr_dev(p, "class", "AccountEditLimitsTitle");
|
|
13430
|
-
add_location(p, file,
|
|
13543
|
+
add_location(p, file, 456, 12, 19331);
|
|
13431
13544
|
attr_dev(div, "class", "AccountEditLimitsBox");
|
|
13432
|
-
add_location(div, file,
|
|
13545
|
+
add_location(div, file, 455, 10, 19284);
|
|
13433
13546
|
},
|
|
13434
13547
|
m: function mount(target, anchor) {
|
|
13435
13548
|
insert_dev(target, div, anchor);
|
|
@@ -13440,9 +13553,9 @@
|
|
|
13440
13553
|
append_dev(div, t2);
|
|
13441
13554
|
},
|
|
13442
13555
|
p: function update(ctx, dirty) {
|
|
13443
|
-
if (dirty[0] & /*limitsUpdateData*/
|
|
13556
|
+
if (dirty[0] & /*limitsUpdateData*/ 8192 && t0_value !== (t0_value = /*selectData*/ ctx[48].period + "")) set_data_dev(t0, t0_value);
|
|
13444
13557
|
|
|
13445
|
-
if (/*selectData*/ ctx[
|
|
13558
|
+
if (/*selectData*/ ctx[48].period == /*storedData*/ ctx[16][/*index*/ ctx[50]].periodName) {
|
|
13446
13559
|
if (if_block) {
|
|
13447
13560
|
if_block.p(ctx, dirty);
|
|
13448
13561
|
} else {
|
|
@@ -13465,7 +13578,7 @@
|
|
|
13465
13578
|
block,
|
|
13466
13579
|
id: create_each_block.name,
|
|
13467
13580
|
type: "each",
|
|
13468
|
-
source: "(
|
|
13581
|
+
source: "(455:8) {#each limitsUpdateData as selectData, index}",
|
|
13469
13582
|
ctx
|
|
13470
13583
|
});
|
|
13471
13584
|
|
|
@@ -13480,10 +13593,12 @@
|
|
|
13480
13593
|
let path;
|
|
13481
13594
|
let t0;
|
|
13482
13595
|
let span0;
|
|
13596
|
+
let t1_value = /*$_*/ ctx[17]("editText.back") + "";
|
|
13597
|
+
let t1;
|
|
13483
13598
|
let t2;
|
|
13484
13599
|
let div2;
|
|
13485
13600
|
let h6;
|
|
13486
|
-
let t3_value = (/*limitsdata*/ ctx[0] ? /*limitname*/ ctx[
|
|
13601
|
+
let t3_value = (/*limitsdata*/ ctx[0] ? /*limitname*/ ctx[3] : "") + "";
|
|
13487
13602
|
let t3;
|
|
13488
13603
|
let t4;
|
|
13489
13604
|
let div1;
|
|
@@ -13496,6 +13611,7 @@
|
|
|
13496
13611
|
let t10;
|
|
13497
13612
|
let div3;
|
|
13498
13613
|
let button;
|
|
13614
|
+
let t11_value = /*$_*/ ctx[17]("editText.save") + "";
|
|
13499
13615
|
let t11;
|
|
13500
13616
|
let button_class_value;
|
|
13501
13617
|
let button_disabled_value;
|
|
@@ -13504,9 +13620,9 @@
|
|
|
13504
13620
|
let player_account_gaming_limits_confirmation_modal;
|
|
13505
13621
|
let mounted;
|
|
13506
13622
|
let dispose;
|
|
13507
|
-
let if_block0 = /*showsuccessnotification*/ ctx[
|
|
13508
|
-
let if_block1 = /*showdeletenotification*/ ctx[
|
|
13509
|
-
let if_block2 = /*showLimits*/ ctx[
|
|
13623
|
+
let if_block0 = /*showsuccessnotification*/ ctx[1] && create_if_block_17(ctx);
|
|
13624
|
+
let if_block1 = /*showdeletenotification*/ ctx[2] && create_if_block_14(ctx);
|
|
13625
|
+
let if_block2 = /*showLimits*/ ctx[6] && create_if_block(ctx);
|
|
13510
13626
|
|
|
13511
13627
|
const block = {
|
|
13512
13628
|
c: function create() {
|
|
@@ -13517,7 +13633,7 @@
|
|
|
13517
13633
|
path = svg_element("path");
|
|
13518
13634
|
t0 = space();
|
|
13519
13635
|
span0 = element("span");
|
|
13520
|
-
|
|
13636
|
+
t1 = text(t1_value);
|
|
13521
13637
|
t2 = space();
|
|
13522
13638
|
div2 = element("div");
|
|
13523
13639
|
h6 = element("h6");
|
|
@@ -13537,15 +13653,15 @@
|
|
|
13537
13653
|
t10 = space();
|
|
13538
13654
|
div3 = element("div");
|
|
13539
13655
|
button = element("button");
|
|
13540
|
-
t11 = text(
|
|
13656
|
+
t11 = text(t11_value);
|
|
13541
13657
|
t12 = space();
|
|
13542
13658
|
player_account_modal = element("player-account-modal");
|
|
13543
13659
|
player_account_gaming_limits_confirmation_modal = element("player-account-gaming-limits-confirmation-modal");
|
|
13544
13660
|
this.c = noop$1;
|
|
13545
13661
|
attr_dev(path, "id", "Chevron_Right");
|
|
13546
13662
|
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");
|
|
13547
|
-
add_location(path, file,
|
|
13548
|
-
add_location(g, file,
|
|
13663
|
+
add_location(path, file, 418, 8, 17593);
|
|
13664
|
+
add_location(g, file, 417, 6, 17581);
|
|
13549
13665
|
attr_dev(svg, "version", "1.1");
|
|
13550
13666
|
attr_dev(svg, "id", "Capa_1");
|
|
13551
13667
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -13557,40 +13673,38 @@
|
|
|
13557
13673
|
attr_dev(svg, "xml:space", "preserve");
|
|
13558
13674
|
attr_dev(svg, "width", "18px");
|
|
13559
13675
|
attr_dev(svg, "fill", "#58586B");
|
|
13560
|
-
add_location(svg, file,
|
|
13561
|
-
add_location(span0, file,
|
|
13676
|
+
add_location(svg, file, 415, 4, 17313);
|
|
13677
|
+
add_location(span0, file, 423, 4, 17924);
|
|
13562
13678
|
attr_dev(div0, "class", "AccountEditBackButton");
|
|
13563
|
-
add_location(div0, file,
|
|
13564
|
-
add_location(h6, file,
|
|
13679
|
+
add_location(div0, file, 414, 2, 17238);
|
|
13680
|
+
add_location(h6, file, 426, 4, 18012);
|
|
13565
13681
|
attr_dev(span1, "class", "AccountEditLimitsIcon");
|
|
13566
|
-
add_location(span1, file,
|
|
13567
|
-
set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[
|
|
13568
|
-
|
|
13569
|
-
set_custom_element_data(player_account_gaming_limits_popup, "infoname", /*infoname*/ ctx[1]);
|
|
13570
|
-
add_location(player_account_gaming_limits_popup, file, 437, 6, 18489);
|
|
13682
|
+
add_location(span1, file, 428, 6, 18104);
|
|
13683
|
+
set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[5]);
|
|
13684
|
+
add_location(player_account_gaming_limits_popup, file, 429, 6, 18195);
|
|
13571
13685
|
attr_dev(div1, "class", "AccountEditLimitsIconWrapper");
|
|
13572
|
-
add_location(div1, file,
|
|
13686
|
+
add_location(div1, file, 427, 4, 18055);
|
|
13573
13687
|
attr_dev(div2, "class", "AccountEditLimitsHeader");
|
|
13574
|
-
add_location(div2, file,
|
|
13688
|
+
add_location(div2, file, 425, 2, 17970);
|
|
13575
13689
|
|
|
13576
|
-
attr_dev(button, "class", button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[
|
|
13690
|
+
attr_dev(button, "class", button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[14]
|
|
13577
13691
|
? ""
|
|
13578
13692
|
: "AccountEditLimitsButtonDisabled"));
|
|
13579
13693
|
|
|
13580
|
-
button.disabled = button_disabled_value = !/*hasDifferences*/ ctx[
|
|
13581
|
-
add_location(button, file,
|
|
13694
|
+
button.disabled = button_disabled_value = !/*hasDifferences*/ ctx[14];
|
|
13695
|
+
add_location(button, file, 535, 4, 24963);
|
|
13582
13696
|
attr_dev(div3, "class", "AccountEditLimitsControlArea");
|
|
13583
|
-
add_location(div3, file,
|
|
13697
|
+
add_location(div3, file, 534, 2, 24916);
|
|
13584
13698
|
|
|
13585
|
-
attr_dev(div4, "class", "AccountEditLimitsWrapper " + (/*isMobile*/ ctx[
|
|
13699
|
+
attr_dev(div4, "class", "AccountEditLimitsWrapper " + (/*isMobile*/ ctx[18]
|
|
13586
13700
|
? "AccountEditLimitsMobileWrapper"
|
|
13587
13701
|
: ""));
|
|
13588
13702
|
|
|
13589
|
-
add_location(div4, file,
|
|
13590
|
-
set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[
|
|
13703
|
+
add_location(div4, file, 413, 0, 17146);
|
|
13704
|
+
set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[9]);
|
|
13591
13705
|
set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modalsource", "groupEdit");
|
|
13592
|
-
add_location(player_account_gaming_limits_confirmation_modal, file,
|
|
13593
|
-
add_location(player_account_modal, file,
|
|
13706
|
+
add_location(player_account_gaming_limits_confirmation_modal, file, 540, 2, 25211);
|
|
13707
|
+
add_location(player_account_modal, file, 539, 0, 25186);
|
|
13594
13708
|
},
|
|
13595
13709
|
l: function claim(nodes) {
|
|
13596
13710
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -13603,6 +13717,7 @@
|
|
|
13603
13717
|
append_dev(g, path);
|
|
13604
13718
|
append_dev(div0, t0);
|
|
13605
13719
|
append_dev(div0, span0);
|
|
13720
|
+
append_dev(span0, t1);
|
|
13606
13721
|
append_dev(div4, t2);
|
|
13607
13722
|
append_dev(div4, div2);
|
|
13608
13723
|
append_dev(div2, h6);
|
|
@@ -13628,30 +13743,23 @@
|
|
|
13628
13743
|
|
|
13629
13744
|
if (!mounted) {
|
|
13630
13745
|
dispose = [
|
|
13631
|
-
listen_dev(div0, "click", /*switchToLimitsGroupView*/ ctx[
|
|
13632
|
-
listen_dev(span1, "click", prevent_default(/*openInfoPopup*/ ctx[
|
|
13633
|
-
listen_dev(button, "click", /*click_handler*/ ctx[
|
|
13746
|
+
listen_dev(div0, "click", /*switchToLimitsGroupView*/ ctx[23], false, false, false),
|
|
13747
|
+
listen_dev(span1, "click", prevent_default(/*openInfoPopup*/ ctx[22]), false, true, false),
|
|
13748
|
+
listen_dev(button, "click", /*click_handler*/ ctx[32], false, false, false)
|
|
13634
13749
|
];
|
|
13635
13750
|
|
|
13636
13751
|
mounted = true;
|
|
13637
13752
|
}
|
|
13638
13753
|
},
|
|
13639
13754
|
p: function update(ctx, dirty) {
|
|
13640
|
-
if (dirty[0] &
|
|
13755
|
+
if (dirty[0] & /*$_*/ 131072 && t1_value !== (t1_value = /*$_*/ ctx[17]("editText.back") + "")) set_data_dev(t1, t1_value);
|
|
13756
|
+
if (dirty[0] & /*limitsdata, limitname*/ 9 && t3_value !== (t3_value = (/*limitsdata*/ ctx[0] ? /*limitname*/ ctx[3] : "") + "")) set_data_dev(t3, t3_value);
|
|
13641
13757
|
|
|
13642
|
-
if (dirty[0] & /*showPopup*/
|
|
13643
|
-
set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[
|
|
13758
|
+
if (dirty[0] & /*showPopup*/ 32) {
|
|
13759
|
+
set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[5]);
|
|
13644
13760
|
}
|
|
13645
13761
|
|
|
13646
|
-
if (
|
|
13647
|
-
set_custom_element_data(player_account_gaming_limits_popup, "infocontent", /*infocontent*/ ctx[2]);
|
|
13648
|
-
}
|
|
13649
|
-
|
|
13650
|
-
if (dirty[0] & /*infoname*/ 2) {
|
|
13651
|
-
set_custom_element_data(player_account_gaming_limits_popup, "infoname", /*infoname*/ ctx[1]);
|
|
13652
|
-
}
|
|
13653
|
-
|
|
13654
|
-
if (/*showsuccessnotification*/ ctx[3]) {
|
|
13762
|
+
if (/*showsuccessnotification*/ ctx[1]) {
|
|
13655
13763
|
if (if_block0) {
|
|
13656
13764
|
if_block0.p(ctx, dirty);
|
|
13657
13765
|
} else {
|
|
@@ -13664,7 +13772,7 @@
|
|
|
13664
13772
|
if_block0 = null;
|
|
13665
13773
|
}
|
|
13666
13774
|
|
|
13667
|
-
if (/*showdeletenotification*/ ctx[
|
|
13775
|
+
if (/*showdeletenotification*/ ctx[2]) {
|
|
13668
13776
|
if (if_block1) {
|
|
13669
13777
|
if_block1.p(ctx, dirty);
|
|
13670
13778
|
} else {
|
|
@@ -13677,7 +13785,7 @@
|
|
|
13677
13785
|
if_block1 = null;
|
|
13678
13786
|
}
|
|
13679
13787
|
|
|
13680
|
-
if (/*showLimits*/ ctx[
|
|
13788
|
+
if (/*showLimits*/ ctx[6]) {
|
|
13681
13789
|
if (if_block2) {
|
|
13682
13790
|
if_block2.p(ctx, dirty);
|
|
13683
13791
|
} else {
|
|
@@ -13690,18 +13798,20 @@
|
|
|
13690
13798
|
if_block2 = null;
|
|
13691
13799
|
}
|
|
13692
13800
|
|
|
13693
|
-
if (dirty[0] &
|
|
13801
|
+
if (dirty[0] & /*$_*/ 131072 && t11_value !== (t11_value = /*$_*/ ctx[17]("editText.save") + "")) set_data_dev(t11, t11_value);
|
|
13802
|
+
|
|
13803
|
+
if (dirty[0] & /*hasDifferences*/ 16384 && button_class_value !== (button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[14]
|
|
13694
13804
|
? ""
|
|
13695
13805
|
: "AccountEditLimitsButtonDisabled"))) {
|
|
13696
13806
|
attr_dev(button, "class", button_class_value);
|
|
13697
13807
|
}
|
|
13698
13808
|
|
|
13699
|
-
if (dirty[0] & /*hasDifferences*/
|
|
13809
|
+
if (dirty[0] & /*hasDifferences*/ 16384 && button_disabled_value !== (button_disabled_value = !/*hasDifferences*/ ctx[14])) {
|
|
13700
13810
|
prop_dev(button, "disabled", button_disabled_value);
|
|
13701
13811
|
}
|
|
13702
13812
|
|
|
13703
|
-
if (dirty[0] & /*changeLimitsText*/
|
|
13704
|
-
set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[
|
|
13813
|
+
if (dirty[0] & /*changeLimitsText*/ 512) {
|
|
13814
|
+
set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[9]);
|
|
13705
13815
|
}
|
|
13706
13816
|
},
|
|
13707
13817
|
i: noop$1,
|
|
@@ -13730,15 +13840,21 @@
|
|
|
13730
13840
|
}
|
|
13731
13841
|
|
|
13732
13842
|
function instance($$self, $$props, $$invalidate) {
|
|
13843
|
+
let $_;
|
|
13844
|
+
validate_store(X, "_");
|
|
13845
|
+
component_subscribe($$self, X, $$value => $$invalidate(17, $_ = $$value));
|
|
13733
13846
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
13734
13847
|
validate_slots("undefined", slots, []);
|
|
13735
13848
|
let { limitsdata = [] } = $$props;
|
|
13736
|
-
let { infoname = "" } = $$props;
|
|
13737
|
-
let { infocontent = "" } = $$props;
|
|
13738
13849
|
let { showsuccessnotification = false } = $$props;
|
|
13739
13850
|
let { showdeletenotification = false } = $$props;
|
|
13740
13851
|
let { limitname = "" } = $$props;
|
|
13741
13852
|
let { playercurrency = "" } = $$props;
|
|
13853
|
+
|
|
13854
|
+
Object.keys(PlayerGamingLimitsEditTranslations).forEach(item => {
|
|
13855
|
+
addNewMessages$2(item, PlayerGamingLimitsEditTranslations[item]);
|
|
13856
|
+
});
|
|
13857
|
+
|
|
13742
13858
|
let showPopup = false;
|
|
13743
13859
|
let showLimits = true;
|
|
13744
13860
|
let saveChangesConfirmed = false;
|
|
@@ -13754,11 +13870,6 @@
|
|
|
13754
13870
|
let invalidIndexes = new Array(3).fill(0); // create array of flags for periods, all set to false, used for validation purposes
|
|
13755
13871
|
let invalidIndex = false;
|
|
13756
13872
|
|
|
13757
|
-
// general role variables
|
|
13758
|
-
let successText = "Success lorem Ipsum is simply dummy text of the printing and typesetting industry.";
|
|
13759
|
-
|
|
13760
|
-
let removeText = "You have requested to remove this limit. This will be applied on ";
|
|
13761
|
-
|
|
13762
13873
|
// variables used in the case when the response is an object - wagering limit & loss limit cases
|
|
13763
13874
|
let limitsUpdateData = {};
|
|
13764
13875
|
|
|
@@ -13832,7 +13943,7 @@
|
|
|
13832
13943
|
let periodValues = ["Daily", "Weekly", "Monthly"];
|
|
13833
13944
|
|
|
13834
13945
|
const openInfoPopup = () => {
|
|
13835
|
-
$$invalidate(
|
|
13946
|
+
$$invalidate(5, showPopup = true);
|
|
13836
13947
|
};
|
|
13837
13948
|
|
|
13838
13949
|
const switchToLimitsGroupView = () => {
|
|
@@ -13867,7 +13978,7 @@
|
|
|
13867
13978
|
} else {
|
|
13868
13979
|
storedData.forEach(data => {
|
|
13869
13980
|
if (limitsUpdateData.period === data.periodName) {
|
|
13870
|
-
$$invalidate(
|
|
13981
|
+
$$invalidate(13, limitsUpdateData.amount = data.value, limitsUpdateData);
|
|
13871
13982
|
}
|
|
13872
13983
|
});
|
|
13873
13984
|
}
|
|
@@ -13913,7 +14024,7 @@
|
|
|
13913
14024
|
);
|
|
13914
14025
|
}
|
|
13915
14026
|
|
|
13916
|
-
$$invalidate(
|
|
14027
|
+
$$invalidate(14, hasDifferences = false);
|
|
13917
14028
|
}
|
|
13918
14029
|
};
|
|
13919
14030
|
|
|
@@ -13923,111 +14034,111 @@
|
|
|
13923
14034
|
switch (data.amount) {
|
|
13924
14035
|
case "Custom":
|
|
13925
14036
|
if (limitname == "Time Limit") {
|
|
13926
|
-
$$invalidate(
|
|
14037
|
+
$$invalidate(7, minTimeValue = 60);
|
|
13927
14038
|
|
|
13928
14039
|
if (data.periodName === "Daily") {
|
|
13929
|
-
$$invalidate(
|
|
14040
|
+
$$invalidate(8, maxTimeValue = 1440);
|
|
13930
14041
|
} else if (data.periodName == "Weekly") {
|
|
13931
|
-
$$invalidate(
|
|
14042
|
+
$$invalidate(8, maxTimeValue = 10080);
|
|
13932
14043
|
} else {
|
|
13933
|
-
$$invalidate(
|
|
14044
|
+
$$invalidate(8, maxTimeValue = 43200);
|
|
13934
14045
|
}
|
|
13935
14046
|
|
|
13936
14047
|
if (data.value && regexValidators.time.test(data.value) && (data.value > minTimeValue && data.value <= maxTimeValue)) {
|
|
13937
|
-
$$invalidate(
|
|
14048
|
+
$$invalidate(11, invalidIndexes[index] = 0, invalidIndexes);
|
|
13938
14049
|
let item = referenceArray[index];
|
|
13939
14050
|
|
|
13940
14051
|
if (data.periodName == item.period && data.value == item.amount) {
|
|
13941
|
-
$$invalidate(
|
|
14052
|
+
$$invalidate(14, hasDifferences = false);
|
|
13942
14053
|
updateValues(data, referenceArray);
|
|
13943
14054
|
} else {
|
|
13944
|
-
$$invalidate(
|
|
14055
|
+
$$invalidate(14, hasDifferences = true);
|
|
13945
14056
|
}
|
|
13946
14057
|
} else {
|
|
13947
|
-
$$invalidate(
|
|
13948
|
-
$$invalidate(
|
|
14058
|
+
$$invalidate(11, invalidIndexes[index] = 1, invalidIndexes);
|
|
14059
|
+
$$invalidate(14, hasDifferences = false);
|
|
13949
14060
|
}
|
|
13950
14061
|
} else if (data.value && regexValidators.amount.test(data.value)) {
|
|
13951
|
-
$$invalidate(
|
|
14062
|
+
$$invalidate(11, invalidIndexes[index] = 0, invalidIndexes);
|
|
13952
14063
|
|
|
13953
14064
|
if (data.periodName == referenceArray[index].period && data.value == referenceArray[index].amount) {
|
|
13954
|
-
$$invalidate(
|
|
14065
|
+
$$invalidate(14, hasDifferences = hasDifferences ? true : false);
|
|
13955
14066
|
updateValues(data, referenceArray);
|
|
13956
14067
|
} else {
|
|
13957
|
-
$$invalidate(
|
|
14068
|
+
$$invalidate(14, hasDifferences = true);
|
|
13958
14069
|
}
|
|
13959
14070
|
|
|
13960
14071
|
// for deposit limits, check if all limits are different from 0 before allowing any data submission
|
|
13961
14072
|
storedData.forEach(dataSet => {
|
|
13962
14073
|
if (dataSet.value == 0) {
|
|
13963
|
-
$$invalidate(
|
|
14074
|
+
$$invalidate(14, hasDifferences = false);
|
|
13964
14075
|
}
|
|
13965
14076
|
});
|
|
13966
14077
|
} else {
|
|
13967
|
-
$$invalidate(
|
|
13968
|
-
$$invalidate(
|
|
14078
|
+
$$invalidate(11, invalidIndexes[index] = 1, invalidIndexes);
|
|
14079
|
+
$$invalidate(14, hasDifferences = false);
|
|
13969
14080
|
}
|
|
13970
14081
|
break;
|
|
13971
14082
|
default:
|
|
13972
14083
|
if (data.periodName == referenceArray[index].period) {
|
|
13973
14084
|
updateValues(data, referenceArray);
|
|
13974
14085
|
|
|
13975
|
-
$$invalidate(
|
|
14086
|
+
$$invalidate(14, hasDifferences = data.value == referenceArray[index].amount
|
|
13976
14087
|
? false
|
|
13977
14088
|
: true);
|
|
13978
14089
|
} else {
|
|
13979
|
-
$$invalidate(
|
|
14090
|
+
$$invalidate(14, hasDifferences = true);
|
|
13980
14091
|
}
|
|
13981
14092
|
// for deposit limits, check if all limits are different from 0 before allowing any data submission
|
|
13982
14093
|
storedData.forEach(dataSet => {
|
|
13983
14094
|
if (dataSet.value == 0) {
|
|
13984
|
-
$$invalidate(
|
|
14095
|
+
$$invalidate(14, hasDifferences = false);
|
|
13985
14096
|
}
|
|
13986
14097
|
});
|
|
13987
14098
|
break;
|
|
13988
14099
|
}
|
|
13989
14100
|
} else {
|
|
13990
14101
|
if (limitsUpdateData.period != referenceArray.period) {
|
|
13991
|
-
$$invalidate(
|
|
14102
|
+
$$invalidate(14, hasDifferences = true);
|
|
13992
14103
|
|
|
13993
14104
|
if (data.amount == "Custom") {
|
|
13994
14105
|
if (data.value && regexValidators.amount.test(data.value)) {
|
|
13995
|
-
$$invalidate(
|
|
14106
|
+
$$invalidate(12, invalidIndex = false);
|
|
13996
14107
|
|
|
13997
14108
|
if (limitsUpdateData.period == referenceArray.period && data.value == referenceArray.amount) {
|
|
13998
|
-
$$invalidate(
|
|
14109
|
+
$$invalidate(14, hasDifferences = false);
|
|
13999
14110
|
updateValues(data, referenceArray);
|
|
14000
14111
|
} else {
|
|
14001
|
-
$$invalidate(
|
|
14112
|
+
$$invalidate(14, hasDifferences = true);
|
|
14002
14113
|
}
|
|
14003
14114
|
} else {
|
|
14004
|
-
$$invalidate(
|
|
14005
|
-
$$invalidate(
|
|
14115
|
+
$$invalidate(12, invalidIndex = true);
|
|
14116
|
+
$$invalidate(14, hasDifferences = false);
|
|
14006
14117
|
}
|
|
14007
14118
|
}
|
|
14008
14119
|
} else {
|
|
14009
14120
|
switch (data.amount) {
|
|
14010
14121
|
case "Custom":
|
|
14011
14122
|
if (data.value && regexValidators.amount.test(data.value)) {
|
|
14012
|
-
$$invalidate(
|
|
14123
|
+
$$invalidate(12, invalidIndex = false);
|
|
14013
14124
|
|
|
14014
14125
|
if (limitsUpdateData.period == referenceArray.period && data.value == referenceArray.amount) {
|
|
14015
|
-
$$invalidate(
|
|
14126
|
+
$$invalidate(14, hasDifferences = hasDifferences ? true : false);
|
|
14016
14127
|
updateValues(data, referenceArray);
|
|
14017
14128
|
} else {
|
|
14018
|
-
$$invalidate(
|
|
14129
|
+
$$invalidate(14, hasDifferences = true);
|
|
14019
14130
|
}
|
|
14020
14131
|
} else {
|
|
14021
|
-
$$invalidate(
|
|
14022
|
-
$$invalidate(
|
|
14132
|
+
$$invalidate(12, invalidIndex = true);
|
|
14133
|
+
$$invalidate(14, hasDifferences = false);
|
|
14023
14134
|
}
|
|
14024
14135
|
break;
|
|
14025
14136
|
default:
|
|
14026
14137
|
if (limitsUpdateData.period == referenceArray.period) {
|
|
14027
14138
|
updateValues(data, referenceArray);
|
|
14028
|
-
$$invalidate(
|
|
14139
|
+
$$invalidate(14, hasDifferences = data.value == referenceArray.amount ? false : true);
|
|
14029
14140
|
} else {
|
|
14030
|
-
$$invalidate(
|
|
14141
|
+
$$invalidate(14, hasDifferences = true);
|
|
14031
14142
|
}
|
|
14032
14143
|
break;
|
|
14033
14144
|
}
|
|
@@ -14105,14 +14216,14 @@
|
|
|
14105
14216
|
currentLimitType.forEach(defaultValuesData => {
|
|
14106
14217
|
if (dataSet.period === defaultValuesData.periodName) {
|
|
14107
14218
|
if (limitname === "Time Limit") {
|
|
14108
|
-
$$invalidate(
|
|
14219
|
+
$$invalidate(7, minTimeValue = 60);
|
|
14109
14220
|
|
|
14110
14221
|
if (dataSet.periodName === "Daily") {
|
|
14111
|
-
$$invalidate(
|
|
14222
|
+
$$invalidate(8, maxTimeValue = 1440);
|
|
14112
14223
|
} else if (dataSet.periodName == "Weekly") {
|
|
14113
|
-
$$invalidate(
|
|
14224
|
+
$$invalidate(8, maxTimeValue = 10080);
|
|
14114
14225
|
} else {
|
|
14115
|
-
$$invalidate(
|
|
14226
|
+
$$invalidate(8, maxTimeValue = 43200);
|
|
14116
14227
|
}
|
|
14117
14228
|
}
|
|
14118
14229
|
|
|
@@ -14160,27 +14271,18 @@
|
|
|
14160
14271
|
? "wagering limit"
|
|
14161
14272
|
: "loss limit";
|
|
14162
14273
|
|
|
14163
|
-
$$invalidate(
|
|
14274
|
+
$$invalidate(9, changeLimitsText = $_("editText.changeLimitsText", { values: { limit: limitType } }));
|
|
14164
14275
|
};
|
|
14165
14276
|
|
|
14166
14277
|
const initialLoad = () => {
|
|
14167
14278
|
setLimitModalTexts();
|
|
14168
|
-
$$invalidate(
|
|
14169
|
-
|
|
14170
|
-
// add currency EUR by default, if the data does not have a set currency
|
|
14171
|
-
if (isArray) {
|
|
14172
|
-
limitsdata.forEach(periodObject => {
|
|
14173
|
-
if (!periodObject.currency) {
|
|
14174
|
-
periodObject.currency = "EUR";
|
|
14175
|
-
}
|
|
14176
|
-
});
|
|
14177
|
-
}
|
|
14279
|
+
$$invalidate(10, isArray = Array.isArray(limitsdata));
|
|
14178
14280
|
|
|
14179
14281
|
// used for validation
|
|
14180
|
-
$$invalidate(
|
|
14282
|
+
$$invalidate(15, updatedLimitValues = JSON.parse(JSON.stringify(limitsdata)));
|
|
14181
14283
|
|
|
14182
14284
|
// use limitsUpdateData in order to populate select & input fields
|
|
14183
|
-
$$invalidate(
|
|
14285
|
+
$$invalidate(13, limitsUpdateData = JSON.parse(JSON.stringify(limitsdata)));
|
|
14184
14286
|
|
|
14185
14287
|
// extra check - if there are values outside the array set, automatically set them to Custom value and populate the appropriate input field
|
|
14186
14288
|
currentLimitType = limitname === "Wagering Limit"
|
|
@@ -14201,23 +14303,23 @@
|
|
|
14201
14303
|
if (e.data) {
|
|
14202
14304
|
switch (e.data.type) {
|
|
14203
14305
|
case "ClosePlayerAccountGamingLimitsPopup":
|
|
14204
|
-
$$invalidate(
|
|
14306
|
+
$$invalidate(5, showPopup = false);
|
|
14205
14307
|
break;
|
|
14206
14308
|
case "GamingLimitsConfirmChanges":
|
|
14207
14309
|
saveChangesConfirmed = true;
|
|
14208
14310
|
saveLimits();
|
|
14209
14311
|
break;
|
|
14210
14312
|
case "CancelGamingLimitsChanges":
|
|
14211
|
-
$$invalidate(
|
|
14313
|
+
$$invalidate(6, showLimits = false);
|
|
14212
14314
|
// rerender select in order to reset select values
|
|
14213
14315
|
setTimeout(
|
|
14214
14316
|
() => {
|
|
14215
|
-
$$invalidate(
|
|
14317
|
+
$$invalidate(6, showLimits = true);
|
|
14216
14318
|
},
|
|
14217
14319
|
10
|
|
14218
14320
|
);
|
|
14219
14321
|
initialLoad();
|
|
14220
|
-
$$invalidate(
|
|
14322
|
+
$$invalidate(14, hasDifferences = false);
|
|
14221
14323
|
saveChangesConfirmed = false;
|
|
14222
14324
|
break;
|
|
14223
14325
|
}
|
|
@@ -14234,73 +14336,70 @@
|
|
|
14234
14336
|
|
|
14235
14337
|
const writable_props = [
|
|
14236
14338
|
"limitsdata",
|
|
14237
|
-
"infoname",
|
|
14238
|
-
"infocontent",
|
|
14239
14339
|
"showsuccessnotification",
|
|
14240
14340
|
"showdeletenotification",
|
|
14241
14341
|
"limitname",
|
|
14242
14342
|
"playercurrency"
|
|
14243
14343
|
];
|
|
14244
14344
|
|
|
14245
|
-
|
|
14345
|
+
Object_1.keys($$props).forEach(key => {
|
|
14246
14346
|
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
14247
14347
|
});
|
|
14248
14348
|
|
|
14249
14349
|
function select_change_handler(index) {
|
|
14250
14350
|
storedData[index].amount = select_value(this);
|
|
14251
|
-
$$invalidate(
|
|
14252
|
-
$$invalidate(
|
|
14351
|
+
$$invalidate(16, storedData);
|
|
14352
|
+
$$invalidate(20, lossLimitPredefinedValues);
|
|
14253
14353
|
}
|
|
14254
14354
|
|
|
14255
14355
|
function input_input_handler(index) {
|
|
14256
14356
|
storedData[index].value = to_number(this.value);
|
|
14257
|
-
$$invalidate(
|
|
14258
|
-
$$invalidate(
|
|
14357
|
+
$$invalidate(16, storedData);
|
|
14358
|
+
$$invalidate(20, lossLimitPredefinedValues);
|
|
14259
14359
|
}
|
|
14260
14360
|
|
|
14261
14361
|
function input_input_handler_1(index) {
|
|
14262
14362
|
storedData[index].value = to_number(this.value);
|
|
14263
|
-
$$invalidate(
|
|
14264
|
-
$$invalidate(
|
|
14363
|
+
$$invalidate(16, storedData);
|
|
14364
|
+
$$invalidate(20, lossLimitPredefinedValues);
|
|
14265
14365
|
}
|
|
14266
14366
|
|
|
14267
14367
|
function select_change_handler_1() {
|
|
14268
14368
|
limitsUpdateData.period = select_value(this);
|
|
14269
|
-
$$invalidate(
|
|
14270
|
-
$$invalidate(
|
|
14369
|
+
$$invalidate(13, limitsUpdateData);
|
|
14370
|
+
$$invalidate(21, periodValues);
|
|
14271
14371
|
}
|
|
14272
14372
|
|
|
14273
14373
|
function select_change_handler_2(each_value_2, index) {
|
|
14274
14374
|
each_value_2[index].amount = select_value(this);
|
|
14275
|
-
$$invalidate(
|
|
14276
|
-
$$invalidate(
|
|
14375
|
+
$$invalidate(16, storedData);
|
|
14376
|
+
$$invalidate(20, lossLimitPredefinedValues);
|
|
14277
14377
|
}
|
|
14278
14378
|
|
|
14279
14379
|
function input_input_handler_2(each_value_2, index) {
|
|
14280
14380
|
each_value_2[index].value = to_number(this.value);
|
|
14281
|
-
$$invalidate(
|
|
14282
|
-
$$invalidate(
|
|
14381
|
+
$$invalidate(16, storedData);
|
|
14382
|
+
$$invalidate(20, lossLimitPredefinedValues);
|
|
14283
14383
|
}
|
|
14284
14384
|
|
|
14285
14385
|
const click_handler = () => confirmGamingLimitsChanges();
|
|
14286
14386
|
|
|
14287
14387
|
$$self.$$set = $$props => {
|
|
14288
14388
|
if ("limitsdata" in $$props) $$invalidate(0, limitsdata = $$props.limitsdata);
|
|
14289
|
-
if ("
|
|
14290
|
-
if ("
|
|
14291
|
-
if ("
|
|
14292
|
-
if ("
|
|
14293
|
-
if ("limitname" in $$props) $$invalidate(5, limitname = $$props.limitname);
|
|
14294
|
-
if ("playercurrency" in $$props) $$invalidate(6, playercurrency = $$props.playercurrency);
|
|
14389
|
+
if ("showsuccessnotification" in $$props) $$invalidate(1, showsuccessnotification = $$props.showsuccessnotification);
|
|
14390
|
+
if ("showdeletenotification" in $$props) $$invalidate(2, showdeletenotification = $$props.showdeletenotification);
|
|
14391
|
+
if ("limitname" in $$props) $$invalidate(3, limitname = $$props.limitname);
|
|
14392
|
+
if ("playercurrency" in $$props) $$invalidate(4, playercurrency = $$props.playercurrency);
|
|
14295
14393
|
};
|
|
14296
14394
|
|
|
14297
14395
|
$$self.$capture_state = () => ({
|
|
14298
14396
|
onMount,
|
|
14299
14397
|
getDevice,
|
|
14398
|
+
_: X,
|
|
14399
|
+
addNewMessages: addNewMessages$2,
|
|
14400
|
+
PlayerGamingLimitsEditTranslations,
|
|
14300
14401
|
moment,
|
|
14301
14402
|
limitsdata,
|
|
14302
|
-
infoname,
|
|
14303
|
-
infocontent,
|
|
14304
14403
|
showsuccessnotification,
|
|
14305
14404
|
showdeletenotification,
|
|
14306
14405
|
limitname,
|
|
@@ -14316,8 +14415,6 @@
|
|
|
14316
14415
|
isArray,
|
|
14317
14416
|
invalidIndexes,
|
|
14318
14417
|
invalidIndex,
|
|
14319
|
-
successText,
|
|
14320
|
-
removeText,
|
|
14321
14418
|
limitsUpdateData,
|
|
14322
14419
|
currentLimitType,
|
|
14323
14420
|
hasDifferences,
|
|
@@ -14341,41 +14438,38 @@
|
|
|
14341
14438
|
populateFieldsData,
|
|
14342
14439
|
setLimitModalTexts,
|
|
14343
14440
|
initialLoad,
|
|
14344
|
-
messageHandler
|
|
14441
|
+
messageHandler,
|
|
14442
|
+
$_
|
|
14345
14443
|
});
|
|
14346
14444
|
|
|
14347
14445
|
$$self.$inject_state = $$props => {
|
|
14348
14446
|
if ("limitsdata" in $$props) $$invalidate(0, limitsdata = $$props.limitsdata);
|
|
14349
|
-
if ("
|
|
14350
|
-
if ("
|
|
14351
|
-
if ("
|
|
14352
|
-
if ("
|
|
14353
|
-
if ("
|
|
14354
|
-
if ("
|
|
14355
|
-
if ("showPopup" in $$props) $$invalidate(7, showPopup = $$props.showPopup);
|
|
14356
|
-
if ("showLimits" in $$props) $$invalidate(8, showLimits = $$props.showLimits);
|
|
14447
|
+
if ("showsuccessnotification" in $$props) $$invalidate(1, showsuccessnotification = $$props.showsuccessnotification);
|
|
14448
|
+
if ("showdeletenotification" in $$props) $$invalidate(2, showdeletenotification = $$props.showdeletenotification);
|
|
14449
|
+
if ("limitname" in $$props) $$invalidate(3, limitname = $$props.limitname);
|
|
14450
|
+
if ("playercurrency" in $$props) $$invalidate(4, playercurrency = $$props.playercurrency);
|
|
14451
|
+
if ("showPopup" in $$props) $$invalidate(5, showPopup = $$props.showPopup);
|
|
14452
|
+
if ("showLimits" in $$props) $$invalidate(6, showLimits = $$props.showLimits);
|
|
14357
14453
|
if ("saveChangesConfirmed" in $$props) saveChangesConfirmed = $$props.saveChangesConfirmed;
|
|
14358
|
-
if ("minTimeValue" in $$props) $$invalidate(
|
|
14359
|
-
if ("maxTimeValue" in $$props) $$invalidate(
|
|
14360
|
-
if ("changeLimitsText" in $$props) $$invalidate(
|
|
14454
|
+
if ("minTimeValue" in $$props) $$invalidate(7, minTimeValue = $$props.minTimeValue);
|
|
14455
|
+
if ("maxTimeValue" in $$props) $$invalidate(8, maxTimeValue = $$props.maxTimeValue);
|
|
14456
|
+
if ("changeLimitsText" in $$props) $$invalidate(9, changeLimitsText = $$props.changeLimitsText);
|
|
14361
14457
|
if ("userAgent" in $$props) userAgent = $$props.userAgent;
|
|
14362
|
-
if ("isMobile" in $$props) $$invalidate(
|
|
14363
|
-
if ("isArray" in $$props) $$invalidate(
|
|
14364
|
-
if ("invalidIndexes" in $$props) $$invalidate(
|
|
14365
|
-
if ("invalidIndex" in $$props) $$invalidate(
|
|
14366
|
-
if ("
|
|
14367
|
-
if ("removeText" in $$props) $$invalidate(21, removeText = $$props.removeText);
|
|
14368
|
-
if ("limitsUpdateData" in $$props) $$invalidate(15, limitsUpdateData = $$props.limitsUpdateData);
|
|
14458
|
+
if ("isMobile" in $$props) $$invalidate(18, isMobile = $$props.isMobile);
|
|
14459
|
+
if ("isArray" in $$props) $$invalidate(10, isArray = $$props.isArray);
|
|
14460
|
+
if ("invalidIndexes" in $$props) $$invalidate(11, invalidIndexes = $$props.invalidIndexes);
|
|
14461
|
+
if ("invalidIndex" in $$props) $$invalidate(12, invalidIndex = $$props.invalidIndex);
|
|
14462
|
+
if ("limitsUpdateData" in $$props) $$invalidate(13, limitsUpdateData = $$props.limitsUpdateData);
|
|
14369
14463
|
if ("currentLimitType" in $$props) currentLimitType = $$props.currentLimitType;
|
|
14370
|
-
if ("hasDifferences" in $$props) $$invalidate(
|
|
14371
|
-
if ("updatedLimitValues" in $$props) $$invalidate(
|
|
14464
|
+
if ("hasDifferences" in $$props) $$invalidate(14, hasDifferences = $$props.hasDifferences);
|
|
14465
|
+
if ("updatedLimitValues" in $$props) $$invalidate(15, updatedLimitValues = $$props.updatedLimitValues);
|
|
14372
14466
|
if ("validCurrentAmount" in $$props) validCurrentAmount = $$props.validCurrentAmount;
|
|
14373
|
-
if ("storedData" in $$props) $$invalidate(
|
|
14374
|
-
if ("depositPredefinedValues" in $$props) $$invalidate(
|
|
14467
|
+
if ("storedData" in $$props) $$invalidate(16, storedData = $$props.storedData);
|
|
14468
|
+
if ("depositPredefinedValues" in $$props) $$invalidate(19, depositPredefinedValues = $$props.depositPredefinedValues);
|
|
14375
14469
|
if ("wageringLimitPredefinedValues" in $$props) wageringLimitPredefinedValues = $$props.wageringLimitPredefinedValues;
|
|
14376
|
-
if ("lossLimitPredefinedValues" in $$props) $$invalidate(
|
|
14470
|
+
if ("lossLimitPredefinedValues" in $$props) $$invalidate(20, lossLimitPredefinedValues = $$props.lossLimitPredefinedValues);
|
|
14377
14471
|
if ("timeLimitPredefinedValues" in $$props) timeLimitPredefinedValues = $$props.timeLimitPredefinedValues;
|
|
14378
|
-
if ("periodValues" in $$props) $$invalidate(
|
|
14472
|
+
if ("periodValues" in $$props) $$invalidate(21, periodValues = $$props.periodValues);
|
|
14379
14473
|
};
|
|
14380
14474
|
|
|
14381
14475
|
if ($$props && "$$inject" in $$props) {
|
|
@@ -14383,19 +14477,17 @@
|
|
|
14383
14477
|
}
|
|
14384
14478
|
|
|
14385
14479
|
$$self.$$.update = () => {
|
|
14386
|
-
if ($$self.$$.dirty[0] & /*showsuccessnotification, showdeletenotification*/
|
|
14480
|
+
if ($$self.$$.dirty[0] & /*showsuccessnotification, showdeletenotification*/ 6) {
|
|
14387
14481
|
showsuccessnotification && showdeletenotification && initialLoad();
|
|
14388
14482
|
}
|
|
14389
14483
|
|
|
14390
|
-
if ($$self.$$.dirty[0] & /*limitsdata
|
|
14391
|
-
limitsdata &&
|
|
14484
|
+
if ($$self.$$.dirty[0] & /*limitsdata*/ 1) {
|
|
14485
|
+
limitsdata && initialLoad();
|
|
14392
14486
|
}
|
|
14393
14487
|
};
|
|
14394
14488
|
|
|
14395
14489
|
return [
|
|
14396
14490
|
limitsdata,
|
|
14397
|
-
infoname,
|
|
14398
|
-
infocontent,
|
|
14399
14491
|
showsuccessnotification,
|
|
14400
14492
|
showdeletenotification,
|
|
14401
14493
|
limitname,
|
|
@@ -14412,9 +14504,8 @@
|
|
|
14412
14504
|
hasDifferences,
|
|
14413
14505
|
updatedLimitValues,
|
|
14414
14506
|
storedData,
|
|
14507
|
+
$_,
|
|
14415
14508
|
isMobile,
|
|
14416
|
-
successText,
|
|
14417
|
-
removeText,
|
|
14418
14509
|
depositPredefinedValues,
|
|
14419
14510
|
lossLimitPredefinedValues,
|
|
14420
14511
|
periodValues,
|
|
@@ -14449,14 +14540,12 @@
|
|
|
14449
14540
|
safe_not_equal,
|
|
14450
14541
|
{
|
|
14451
14542
|
limitsdata: 0,
|
|
14452
|
-
|
|
14453
|
-
|
|
14454
|
-
|
|
14455
|
-
|
|
14456
|
-
limitname: 5,
|
|
14457
|
-
playercurrency: 6
|
|
14543
|
+
showsuccessnotification: 1,
|
|
14544
|
+
showdeletenotification: 2,
|
|
14545
|
+
limitname: 3,
|
|
14546
|
+
playercurrency: 4
|
|
14458
14547
|
},
|
|
14459
|
-
[-1, -1
|
|
14548
|
+
[-1, -1]
|
|
14460
14549
|
);
|
|
14461
14550
|
|
|
14462
14551
|
if (options) {
|
|
@@ -14474,8 +14563,6 @@
|
|
|
14474
14563
|
static get observedAttributes() {
|
|
14475
14564
|
return [
|
|
14476
14565
|
"limitsdata",
|
|
14477
|
-
"infoname",
|
|
14478
|
-
"infocontent",
|
|
14479
14566
|
"showsuccessnotification",
|
|
14480
14567
|
"showdeletenotification",
|
|
14481
14568
|
"limitname",
|
|
@@ -14492,26 +14579,8 @@
|
|
|
14492
14579
|
flush();
|
|
14493
14580
|
}
|
|
14494
14581
|
|
|
14495
|
-
get infoname() {
|
|
14496
|
-
return this.$$.ctx[1];
|
|
14497
|
-
}
|
|
14498
|
-
|
|
14499
|
-
set infoname(infoname) {
|
|
14500
|
-
this.$set({ infoname });
|
|
14501
|
-
flush();
|
|
14502
|
-
}
|
|
14503
|
-
|
|
14504
|
-
get infocontent() {
|
|
14505
|
-
return this.$$.ctx[2];
|
|
14506
|
-
}
|
|
14507
|
-
|
|
14508
|
-
set infocontent(infocontent) {
|
|
14509
|
-
this.$set({ infocontent });
|
|
14510
|
-
flush();
|
|
14511
|
-
}
|
|
14512
|
-
|
|
14513
14582
|
get showsuccessnotification() {
|
|
14514
|
-
return this.$$.ctx[
|
|
14583
|
+
return this.$$.ctx[1];
|
|
14515
14584
|
}
|
|
14516
14585
|
|
|
14517
14586
|
set showsuccessnotification(showsuccessnotification) {
|
|
@@ -14520,7 +14589,7 @@
|
|
|
14520
14589
|
}
|
|
14521
14590
|
|
|
14522
14591
|
get showdeletenotification() {
|
|
14523
|
-
return this.$$.ctx[
|
|
14592
|
+
return this.$$.ctx[2];
|
|
14524
14593
|
}
|
|
14525
14594
|
|
|
14526
14595
|
set showdeletenotification(showdeletenotification) {
|
|
@@ -14529,7 +14598,7 @@
|
|
|
14529
14598
|
}
|
|
14530
14599
|
|
|
14531
14600
|
get limitname() {
|
|
14532
|
-
return this.$$.ctx[
|
|
14601
|
+
return this.$$.ctx[3];
|
|
14533
14602
|
}
|
|
14534
14603
|
|
|
14535
14604
|
set limitname(limitname) {
|
|
@@ -14538,7 +14607,7 @@
|
|
|
14538
14607
|
}
|
|
14539
14608
|
|
|
14540
14609
|
get playercurrency() {
|
|
14541
|
-
return this.$$.ctx[
|
|
14610
|
+
return this.$$.ctx[4];
|
|
14542
14611
|
}
|
|
14543
14612
|
|
|
14544
14613
|
set playercurrency(playercurrency) {
|