@everymatrix/player-account-gaming-limits-info-card 0.0.166 → 0.0.170
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.
|
@@ -144,9 +144,6 @@
|
|
|
144
144
|
function set_input_value(input, value) {
|
|
145
145
|
input.value = value == null ? '' : value;
|
|
146
146
|
}
|
|
147
|
-
function set_style(node, key, value, important) {
|
|
148
|
-
node.style.setProperty(key, value, important ? 'important' : '');
|
|
149
|
-
}
|
|
150
147
|
function select_option(select, value) {
|
|
151
148
|
for (let i = 0; i < select.options.length; i += 1) {
|
|
152
149
|
const option = select.options[i];
|
|
@@ -11676,7 +11673,96 @@
|
|
|
11676
11673
|
return child_ctx;
|
|
11677
11674
|
}
|
|
11678
11675
|
|
|
11679
|
-
// (
|
|
11676
|
+
// (418:2) {#if isMobile}
|
|
11677
|
+
function create_if_block_18(ctx) {
|
|
11678
|
+
let div;
|
|
11679
|
+
let svg;
|
|
11680
|
+
let defs;
|
|
11681
|
+
let style;
|
|
11682
|
+
let t0;
|
|
11683
|
+
let g1;
|
|
11684
|
+
let g0;
|
|
11685
|
+
let path;
|
|
11686
|
+
let t1;
|
|
11687
|
+
let h2;
|
|
11688
|
+
let t2_value = /*$_*/ ctx[17]("editText.back") + "";
|
|
11689
|
+
let t2;
|
|
11690
|
+
let mounted;
|
|
11691
|
+
let dispose;
|
|
11692
|
+
|
|
11693
|
+
const block = {
|
|
11694
|
+
c: function create() {
|
|
11695
|
+
div = element("div");
|
|
11696
|
+
svg = svg_element("svg");
|
|
11697
|
+
defs = svg_element("defs");
|
|
11698
|
+
style = svg_element("style");
|
|
11699
|
+
t0 = text(".aaa{fill:#d0046c;}");
|
|
11700
|
+
g1 = svg_element("g");
|
|
11701
|
+
g0 = svg_element("g");
|
|
11702
|
+
path = svg_element("path");
|
|
11703
|
+
t1 = space();
|
|
11704
|
+
h2 = element("h2");
|
|
11705
|
+
t2 = text(t2_value);
|
|
11706
|
+
add_location(style, file$1, 419, 95, 17419);
|
|
11707
|
+
add_location(defs, file$1, 419, 89, 17413);
|
|
11708
|
+
attr_dev(path, "class", "aaa");
|
|
11709
|
+
attr_dev(path, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z");
|
|
11710
|
+
attr_dev(path, "transform", "translate(15 15) rotate(180)");
|
|
11711
|
+
add_location(path, file$1, 421, 10, 17548);
|
|
11712
|
+
attr_dev(g0, "transform", "translate(20 158)");
|
|
11713
|
+
add_location(g0, file$1, 420, 8, 17504);
|
|
11714
|
+
attr_dev(g1, "transform", "translate(-20 -158)");
|
|
11715
|
+
add_location(g1, file$1, 419, 136, 17460);
|
|
11716
|
+
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11717
|
+
attr_dev(svg, "width", "15");
|
|
11718
|
+
attr_dev(svg, "height", "15");
|
|
11719
|
+
attr_dev(svg, "viewBox", "0 0 15 15");
|
|
11720
|
+
add_location(svg, file$1, 419, 6, 17330);
|
|
11721
|
+
attr_dev(h2, "class", "ChangePasswordTitleMobile");
|
|
11722
|
+
add_location(h2, file$1, 425, 6, 17721);
|
|
11723
|
+
attr_dev(div, "class", "MenuReturnButton");
|
|
11724
|
+
add_location(div, file$1, 418, 4, 17258);
|
|
11725
|
+
},
|
|
11726
|
+
m: function mount(target, anchor) {
|
|
11727
|
+
insert_dev(target, div, anchor);
|
|
11728
|
+
append_dev(div, svg);
|
|
11729
|
+
append_dev(svg, defs);
|
|
11730
|
+
append_dev(defs, style);
|
|
11731
|
+
append_dev(style, t0);
|
|
11732
|
+
append_dev(svg, g1);
|
|
11733
|
+
append_dev(g1, g0);
|
|
11734
|
+
append_dev(g0, path);
|
|
11735
|
+
append_dev(div, t1);
|
|
11736
|
+
append_dev(div, h2);
|
|
11737
|
+
append_dev(h2, t2);
|
|
11738
|
+
|
|
11739
|
+
if (!mounted) {
|
|
11740
|
+
dispose = listen_dev(div, "click", /*switchToLimitsGroupView*/ ctx[23], false, false, false);
|
|
11741
|
+
mounted = true;
|
|
11742
|
+
}
|
|
11743
|
+
},
|
|
11744
|
+
p: function update(ctx, dirty) {
|
|
11745
|
+
if (dirty[0] & /*$_*/ 131072 && t2_value !== (t2_value = /*$_*/ ctx[17]("editText.back") + "")) set_data_dev(t2, t2_value);
|
|
11746
|
+
},
|
|
11747
|
+
d: function destroy(detaching) {
|
|
11748
|
+
if (detaching) detach_dev(div);
|
|
11749
|
+
mounted = false;
|
|
11750
|
+
dispose();
|
|
11751
|
+
}
|
|
11752
|
+
};
|
|
11753
|
+
|
|
11754
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
11755
|
+
block,
|
|
11756
|
+
id: create_if_block_18.name,
|
|
11757
|
+
type: "if",
|
|
11758
|
+
source: "(418:2) {#if isMobile}",
|
|
11759
|
+
ctx
|
|
11760
|
+
});
|
|
11761
|
+
|
|
11762
|
+
return block;
|
|
11763
|
+
}
|
|
11764
|
+
|
|
11765
|
+
// (447:2) {#if showsuccessnotification}
|
|
11680
11766
|
function create_if_block_17(ctx) {
|
|
11681
11767
|
let div;
|
|
11682
11768
|
let p;
|
|
@@ -11688,9 +11774,9 @@
|
|
|
11688
11774
|
div = element("div");
|
|
11689
11775
|
p = element("p");
|
|
11690
11776
|
t = text(t_value);
|
|
11691
|
-
add_location(p, file$1,
|
|
11777
|
+
add_location(p, file$1, 448, 6, 18818);
|
|
11692
11778
|
attr_dev(div, "class", "AccountEditLimitSuccessfulChangeContainer");
|
|
11693
|
-
add_location(div, file$1,
|
|
11779
|
+
add_location(div, file$1, 447, 4, 18756);
|
|
11694
11780
|
},
|
|
11695
11781
|
m: function mount(target, anchor) {
|
|
11696
11782
|
insert_dev(target, div, anchor);
|
|
@@ -11709,14 +11795,14 @@
|
|
|
11709
11795
|
block,
|
|
11710
11796
|
id: create_if_block_17.name,
|
|
11711
11797
|
type: "if",
|
|
11712
|
-
source: "(
|
|
11798
|
+
source: "(447:2) {#if showsuccessnotification}",
|
|
11713
11799
|
ctx
|
|
11714
11800
|
});
|
|
11715
11801
|
|
|
11716
11802
|
return block;
|
|
11717
11803
|
}
|
|
11718
11804
|
|
|
11719
|
-
// (
|
|
11805
|
+
// (452:2) {#if showdeletenotification}
|
|
11720
11806
|
function create_if_block_14(ctx) {
|
|
11721
11807
|
let div;
|
|
11722
11808
|
|
|
@@ -11733,7 +11819,7 @@
|
|
|
11733
11819
|
div = element("div");
|
|
11734
11820
|
if_block.c();
|
|
11735
11821
|
attr_dev(div, "class", "AccountEditLimitSuccessfulChangeContainer");
|
|
11736
|
-
add_location(div, file$1,
|
|
11822
|
+
add_location(div, file$1, 452, 4, 18904);
|
|
11737
11823
|
},
|
|
11738
11824
|
m: function mount(target, anchor) {
|
|
11739
11825
|
insert_dev(target, div, anchor);
|
|
@@ -11762,14 +11848,14 @@
|
|
|
11762
11848
|
block,
|
|
11763
11849
|
id: create_if_block_14.name,
|
|
11764
11850
|
type: "if",
|
|
11765
|
-
source: "(
|
|
11851
|
+
source: "(452:2) {#if showdeletenotification}",
|
|
11766
11852
|
ctx
|
|
11767
11853
|
});
|
|
11768
11854
|
|
|
11769
11855
|
return block;
|
|
11770
11856
|
}
|
|
11771
11857
|
|
|
11772
|
-
// (
|
|
11858
|
+
// (460:6) {:else}
|
|
11773
11859
|
function create_else_block_2$1(ctx) {
|
|
11774
11860
|
let p;
|
|
11775
11861
|
let t0_value = /*$_*/ ctx[17]("editText.remove") + "";
|
|
@@ -11788,7 +11874,7 @@
|
|
|
11788
11874
|
t0 = text(t0_value);
|
|
11789
11875
|
t1 = space();
|
|
11790
11876
|
t2 = text(t2_value);
|
|
11791
|
-
add_location(p, file$1,
|
|
11877
|
+
add_location(p, file$1, 460, 8, 19289);
|
|
11792
11878
|
},
|
|
11793
11879
|
m: function mount(target, anchor) {
|
|
11794
11880
|
insert_dev(target, p, anchor);
|
|
@@ -11812,14 +11898,14 @@
|
|
|
11812
11898
|
block,
|
|
11813
11899
|
id: create_else_block_2$1.name,
|
|
11814
11900
|
type: "else",
|
|
11815
|
-
source: "(
|
|
11901
|
+
source: "(460:6) {:else}",
|
|
11816
11902
|
ctx
|
|
11817
11903
|
});
|
|
11818
11904
|
|
|
11819
11905
|
return block;
|
|
11820
11906
|
}
|
|
11821
11907
|
|
|
11822
|
-
// (
|
|
11908
|
+
// (454:6) {#if isArray}
|
|
11823
11909
|
function create_if_block_15(ctx) {
|
|
11824
11910
|
let each_1_anchor;
|
|
11825
11911
|
let each_value_5 = /*limitsUpdateData*/ ctx[13];
|
|
@@ -11880,14 +11966,14 @@
|
|
|
11880
11966
|
block,
|
|
11881
11967
|
id: create_if_block_15.name,
|
|
11882
11968
|
type: "if",
|
|
11883
|
-
source: "(
|
|
11969
|
+
source: "(454:6) {#if isArray}",
|
|
11884
11970
|
ctx
|
|
11885
11971
|
});
|
|
11886
11972
|
|
|
11887
11973
|
return block;
|
|
11888
11974
|
}
|
|
11889
11975
|
|
|
11890
|
-
// (
|
|
11976
|
+
// (456:10) {#if selectData.period == storedData[index].periodName}
|
|
11891
11977
|
function create_if_block_16(ctx) {
|
|
11892
11978
|
let p;
|
|
11893
11979
|
let t0_value = /*$_*/ ctx[17]("editText.remove") + "";
|
|
@@ -11906,7 +11992,7 @@
|
|
|
11906
11992
|
t0 = text(t0_value);
|
|
11907
11993
|
t1 = space();
|
|
11908
11994
|
t2 = text(t2_value);
|
|
11909
|
-
add_location(p, file$1,
|
|
11995
|
+
add_location(p, file$1, 456, 12, 19112);
|
|
11910
11996
|
},
|
|
11911
11997
|
m: function mount(target, anchor) {
|
|
11912
11998
|
insert_dev(target, p, anchor);
|
|
@@ -11930,14 +12016,14 @@
|
|
|
11930
12016
|
block,
|
|
11931
12017
|
id: create_if_block_16.name,
|
|
11932
12018
|
type: "if",
|
|
11933
|
-
source: "(
|
|
12019
|
+
source: "(456:10) {#if selectData.period == storedData[index].periodName}",
|
|
11934
12020
|
ctx
|
|
11935
12021
|
});
|
|
11936
12022
|
|
|
11937
12023
|
return block;
|
|
11938
12024
|
}
|
|
11939
12025
|
|
|
11940
|
-
// (
|
|
12026
|
+
// (455:8) {#each limitsUpdateData as selectData, index}
|
|
11941
12027
|
function create_each_block_5(ctx) {
|
|
11942
12028
|
let if_block_anchor;
|
|
11943
12029
|
let if_block = /*selectData*/ ctx[48].period == /*storedData*/ ctx[16][/*index*/ ctx[50]].periodName && create_if_block_16(ctx);
|
|
@@ -11975,14 +12061,14 @@
|
|
|
11975
12061
|
block,
|
|
11976
12062
|
id: create_each_block_5.name,
|
|
11977
12063
|
type: "each",
|
|
11978
|
-
source: "(
|
|
12064
|
+
source: "(455:8) {#each limitsUpdateData as selectData, index}",
|
|
11979
12065
|
ctx
|
|
11980
12066
|
});
|
|
11981
12067
|
|
|
11982
12068
|
return block;
|
|
11983
12069
|
}
|
|
11984
12070
|
|
|
11985
|
-
// (
|
|
12071
|
+
// (465:2) {#if showLimits}
|
|
11986
12072
|
function create_if_block$1(ctx) {
|
|
11987
12073
|
let div;
|
|
11988
12074
|
|
|
@@ -11999,7 +12085,7 @@
|
|
|
11999
12085
|
div = element("div");
|
|
12000
12086
|
if_block.c();
|
|
12001
12087
|
attr_dev(div, "class", "AccountEditContent");
|
|
12002
|
-
add_location(div, file$1,
|
|
12088
|
+
add_location(div, file$1, 465, 2, 19464);
|
|
12003
12089
|
},
|
|
12004
12090
|
m: function mount(target, anchor) {
|
|
12005
12091
|
insert_dev(target, div, anchor);
|
|
@@ -12028,14 +12114,14 @@
|
|
|
12028
12114
|
block,
|
|
12029
12115
|
id: create_if_block$1.name,
|
|
12030
12116
|
type: "if",
|
|
12031
|
-
source: "(
|
|
12117
|
+
source: "(465:2) {#if showLimits}",
|
|
12032
12118
|
ctx
|
|
12033
12119
|
});
|
|
12034
12120
|
|
|
12035
12121
|
return block;
|
|
12036
12122
|
}
|
|
12037
12123
|
|
|
12038
|
-
// (
|
|
12124
|
+
// (506:4) {:else}
|
|
12039
12125
|
function create_else_block_1$1(ctx) {
|
|
12040
12126
|
let div1;
|
|
12041
12127
|
let div0;
|
|
@@ -12082,15 +12168,15 @@
|
|
|
12082
12168
|
}
|
|
12083
12169
|
|
|
12084
12170
|
attr_dev(p, "class", "AccountEditLimitsTitle");
|
|
12085
|
-
add_location(p, file$1,
|
|
12171
|
+
add_location(p, file$1, 508, 10, 22637);
|
|
12086
12172
|
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
|
|
12087
12173
|
select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[13].isModified === true;
|
|
12088
12174
|
if (/*limitsUpdateData*/ ctx[13].period === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[29].call(select));
|
|
12089
|
-
add_location(select, file$1,
|
|
12175
|
+
add_location(select, file$1, 509, 10, 22691);
|
|
12090
12176
|
attr_dev(div0, "class", "AccountEditLimitsSplitSection");
|
|
12091
|
-
add_location(div0, file$1,
|
|
12177
|
+
add_location(div0, file$1, 507, 8, 22583);
|
|
12092
12178
|
attr_dev(div1, "class", "AccountEditLimitsContainer");
|
|
12093
|
-
add_location(div1, file$1,
|
|
12179
|
+
add_location(div1, file$1, 506, 6, 22534);
|
|
12094
12180
|
},
|
|
12095
12181
|
m: function mount(target, anchor) {
|
|
12096
12182
|
insert_dev(target, div1, anchor);
|
|
@@ -12200,14 +12286,14 @@
|
|
|
12200
12286
|
block,
|
|
12201
12287
|
id: create_else_block_1$1.name,
|
|
12202
12288
|
type: "else",
|
|
12203
|
-
source: "(
|
|
12289
|
+
source: "(506:4) {:else}",
|
|
12204
12290
|
ctx
|
|
12205
12291
|
});
|
|
12206
12292
|
|
|
12207
12293
|
return block;
|
|
12208
12294
|
}
|
|
12209
12295
|
|
|
12210
|
-
// (
|
|
12296
|
+
// (467:4) {#if (isArray)}
|
|
12211
12297
|
function create_if_block_1$1(ctx) {
|
|
12212
12298
|
let div;
|
|
12213
12299
|
let each_value = /*limitsUpdateData*/ ctx[13];
|
|
@@ -12227,7 +12313,7 @@
|
|
|
12227
12313
|
}
|
|
12228
12314
|
|
|
12229
12315
|
attr_dev(div, "class", "AccountEditLimitsContainer");
|
|
12230
|
-
add_location(div, file$1,
|
|
12316
|
+
add_location(div, file$1, 467, 6, 19586);
|
|
12231
12317
|
},
|
|
12232
12318
|
m: function mount(target, anchor) {
|
|
12233
12319
|
insert_dev(target, div, anchor);
|
|
@@ -12271,14 +12357,14 @@
|
|
|
12271
12357
|
block,
|
|
12272
12358
|
id: create_if_block_1$1.name,
|
|
12273
12359
|
type: "if",
|
|
12274
|
-
source: "(
|
|
12360
|
+
source: "(467:4) {#if (isArray)}",
|
|
12275
12361
|
ctx
|
|
12276
12362
|
});
|
|
12277
12363
|
|
|
12278
12364
|
return block;
|
|
12279
12365
|
}
|
|
12280
12366
|
|
|
12281
|
-
// (
|
|
12367
|
+
// (511:12) {#each periodValues as selectData}
|
|
12282
12368
|
function create_each_block_4(ctx) {
|
|
12283
12369
|
let option;
|
|
12284
12370
|
let t_value = /*selectData*/ ctx[48] + "";
|
|
@@ -12290,7 +12376,7 @@
|
|
|
12290
12376
|
t = text(t_value);
|
|
12291
12377
|
option.__value = /*selectData*/ ctx[48];
|
|
12292
12378
|
option.value = option.__value;
|
|
12293
|
-
add_location(option, file$1,
|
|
12379
|
+
add_location(option, file$1, 511, 14, 22992);
|
|
12294
12380
|
},
|
|
12295
12381
|
m: function mount(target, anchor) {
|
|
12296
12382
|
insert_dev(target, option, anchor);
|
|
@@ -12306,14 +12392,14 @@
|
|
|
12306
12392
|
block,
|
|
12307
12393
|
id: create_each_block_4.name,
|
|
12308
12394
|
type: "each",
|
|
12309
|
-
source: "(
|
|
12395
|
+
source: "(511:12) {#each periodValues as selectData}",
|
|
12310
12396
|
ctx
|
|
12311
12397
|
});
|
|
12312
12398
|
|
|
12313
12399
|
return block;
|
|
12314
12400
|
}
|
|
12315
12401
|
|
|
12316
|
-
// (
|
|
12402
|
+
// (517:10) {#if limitsUpdateData.period === savedData.periodName}
|
|
12317
12403
|
function create_if_block_9$1(ctx) {
|
|
12318
12404
|
let div1;
|
|
12319
12405
|
let p;
|
|
@@ -12367,21 +12453,21 @@
|
|
|
12367
12453
|
if (if_block1) if_block1.c();
|
|
12368
12454
|
t5 = space();
|
|
12369
12455
|
attr_dev(p, "class", "AccountEditLimitsTitle");
|
|
12370
|
-
add_location(p, file$1,
|
|
12456
|
+
add_location(p, file$1, 518, 14, 23278);
|
|
12371
12457
|
option.__value = "";
|
|
12372
12458
|
option.value = option.__value;
|
|
12373
12459
|
option.disabled = true;
|
|
12374
12460
|
option.selected = true;
|
|
12375
12461
|
option.hidden = true;
|
|
12376
|
-
add_location(option, file$1,
|
|
12462
|
+
add_location(option, file$1, 520, 16, 23596);
|
|
12377
12463
|
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
|
|
12378
12464
|
select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[13].isModified === true;
|
|
12379
12465
|
if (/*savedData*/ ctx[54].amount === void 0) add_render_callback(select_change_handler_2);
|
|
12380
|
-
add_location(select, file$1,
|
|
12466
|
+
add_location(select, file$1, 519, 14, 23354);
|
|
12381
12467
|
attr_dev(div0, "class", "AccountEditLimitsInputContainer");
|
|
12382
|
-
add_location(div0, file$1,
|
|
12468
|
+
add_location(div0, file$1, 525, 14, 23988);
|
|
12383
12469
|
attr_dev(div1, "class", "AccountEditLimitsSplitSection");
|
|
12384
|
-
add_location(div1, file$1,
|
|
12470
|
+
add_location(div1, file$1, 517, 12, 23220);
|
|
12385
12471
|
},
|
|
12386
12472
|
m: function mount(target, anchor) {
|
|
12387
12473
|
insert_dev(target, div1, anchor);
|
|
@@ -12499,14 +12585,14 @@
|
|
|
12499
12585
|
block,
|
|
12500
12586
|
id: create_if_block_9$1.name,
|
|
12501
12587
|
type: "if",
|
|
12502
|
-
source: "(
|
|
12588
|
+
source: "(517:10) {#if limitsUpdateData.period === savedData.periodName}",
|
|
12503
12589
|
ctx
|
|
12504
12590
|
});
|
|
12505
12591
|
|
|
12506
12592
|
return block;
|
|
12507
12593
|
}
|
|
12508
12594
|
|
|
12509
|
-
// (
|
|
12595
|
+
// (523:58) {#if selectData !== "No limit" && selectData !== "Custom"}
|
|
12510
12596
|
function create_if_block_13(ctx) {
|
|
12511
12597
|
let t;
|
|
12512
12598
|
|
|
@@ -12529,14 +12615,14 @@
|
|
|
12529
12615
|
block,
|
|
12530
12616
|
id: create_if_block_13.name,
|
|
12531
12617
|
type: "if",
|
|
12532
|
-
source: "(
|
|
12618
|
+
source: "(523:58) {#if selectData !== \\\"No limit\\\" && selectData !== \\\"Custom\\\"}",
|
|
12533
12619
|
ctx
|
|
12534
12620
|
});
|
|
12535
12621
|
|
|
12536
12622
|
return block;
|
|
12537
12623
|
}
|
|
12538
12624
|
|
|
12539
|
-
// (
|
|
12625
|
+
// (522:16) {#each lossLimitPredefinedValues as selectData}
|
|
12540
12626
|
function create_each_block_3(ctx) {
|
|
12541
12627
|
let option;
|
|
12542
12628
|
let t0_value = /*selectData*/ ctx[48] + "";
|
|
@@ -12552,7 +12638,7 @@
|
|
|
12552
12638
|
if (if_block) if_block.c();
|
|
12553
12639
|
option.__value = /*selectData*/ ctx[48];
|
|
12554
12640
|
option.value = option.__value;
|
|
12555
|
-
add_location(option, file$1,
|
|
12641
|
+
add_location(option, file$1, 522, 18, 23754);
|
|
12556
12642
|
},
|
|
12557
12643
|
m: function mount(target, anchor) {
|
|
12558
12644
|
insert_dev(target, option, anchor);
|
|
@@ -12573,14 +12659,14 @@
|
|
|
12573
12659
|
block,
|
|
12574
12660
|
id: create_each_block_3.name,
|
|
12575
12661
|
type: "each",
|
|
12576
|
-
source: "(
|
|
12662
|
+
source: "(522:16) {#each lossLimitPredefinedValues as selectData}",
|
|
12577
12663
|
ctx
|
|
12578
12664
|
});
|
|
12579
12665
|
|
|
12580
12666
|
return block;
|
|
12581
12667
|
}
|
|
12582
12668
|
|
|
12583
|
-
// (
|
|
12669
|
+
// (527:16) {#if savedData.amount === "Custom"}
|
|
12584
12670
|
function create_if_block_11$1(ctx) {
|
|
12585
12671
|
let input;
|
|
12586
12672
|
let input_disabled_value;
|
|
@@ -12604,7 +12690,7 @@
|
|
|
12604
12690
|
attr_dev(input, "type", "number");
|
|
12605
12691
|
attr_dev(input, "class", "AccountEditField");
|
|
12606
12692
|
input.disabled = input_disabled_value = /*limitsUpdateData*/ ctx[13].isModified === true;
|
|
12607
|
-
add_location(input, file$1,
|
|
12693
|
+
add_location(input, file$1, 527, 18, 24104);
|
|
12608
12694
|
},
|
|
12609
12695
|
m: function mount(target, anchor) {
|
|
12610
12696
|
insert_dev(target, input, anchor);
|
|
@@ -12669,14 +12755,14 @@
|
|
|
12669
12755
|
block,
|
|
12670
12756
|
id: create_if_block_11$1.name,
|
|
12671
12757
|
type: "if",
|
|
12672
|
-
source: "(
|
|
12758
|
+
source: "(527:16) {#if savedData.amount === \\\"Custom\\\"}",
|
|
12673
12759
|
ctx
|
|
12674
12760
|
});
|
|
12675
12761
|
|
|
12676
12762
|
return block;
|
|
12677
12763
|
}
|
|
12678
12764
|
|
|
12679
|
-
// (
|
|
12765
|
+
// (529:18) {#if invalidIndex === true}
|
|
12680
12766
|
function create_if_block_12$1(ctx) {
|
|
12681
12767
|
let p;
|
|
12682
12768
|
let span;
|
|
@@ -12689,9 +12775,9 @@
|
|
|
12689
12775
|
span = element("span");
|
|
12690
12776
|
t = text(t_value);
|
|
12691
12777
|
attr_dev(span, "class", "InvalidInput InvalidSingleRow");
|
|
12692
|
-
add_location(span, file$1,
|
|
12778
|
+
add_location(span, file$1, 530, 20, 24422);
|
|
12693
12779
|
attr_dev(p, "class", "AccountEditWarningText");
|
|
12694
|
-
add_location(p, file$1,
|
|
12780
|
+
add_location(p, file$1, 529, 18, 24367);
|
|
12695
12781
|
},
|
|
12696
12782
|
m: function mount(target, anchor) {
|
|
12697
12783
|
insert_dev(target, p, anchor);
|
|
@@ -12710,14 +12796,14 @@
|
|
|
12710
12796
|
block,
|
|
12711
12797
|
id: create_if_block_12$1.name,
|
|
12712
12798
|
type: "if",
|
|
12713
|
-
source: "(
|
|
12799
|
+
source: "(529:18) {#if invalidIndex === true}",
|
|
12714
12800
|
ctx
|
|
12715
12801
|
});
|
|
12716
12802
|
|
|
12717
12803
|
return block;
|
|
12718
12804
|
}
|
|
12719
12805
|
|
|
12720
|
-
// (
|
|
12806
|
+
// (535:16) {#if limitsUpdateData.isModified === true}
|
|
12721
12807
|
function create_if_block_10$1(ctx) {
|
|
12722
12808
|
let p0;
|
|
12723
12809
|
let t0_value = /*$_*/ ctx[17]("editText.expirationDate") + "";
|
|
@@ -12768,15 +12854,15 @@
|
|
|
12768
12854
|
t8 = space();
|
|
12769
12855
|
t9 = text(/*playercurrency*/ ctx[4]);
|
|
12770
12856
|
t10 = text(t10_value);
|
|
12771
|
-
add_location(span0, file$1,
|
|
12857
|
+
add_location(span0, file$1, 535, 89, 24732);
|
|
12772
12858
|
attr_dev(p0, "class", "AccountEditLimitsExpiryDate");
|
|
12773
|
-
add_location(p0, file$1,
|
|
12859
|
+
add_location(p0, file$1, 535, 18, 24661);
|
|
12774
12860
|
attr_dev(span1, "class", "AccountEditLimitChangePeriodIcon");
|
|
12775
|
-
add_location(span1, file$1,
|
|
12776
|
-
add_location(span2, file$1,
|
|
12777
|
-
add_location(p1, file$1,
|
|
12861
|
+
add_location(span1, file$1, 537, 23, 24935);
|
|
12862
|
+
add_location(span2, file$1, 537, 78, 24990);
|
|
12863
|
+
add_location(p1, file$1, 537, 20, 24932);
|
|
12778
12864
|
attr_dev(div, "class", "AccountEditLimitsPeriodChangeContainer");
|
|
12779
|
-
add_location(div, file$1,
|
|
12865
|
+
add_location(div, file$1, 536, 18, 24859);
|
|
12780
12866
|
},
|
|
12781
12867
|
m: function mount(target, anchor) {
|
|
12782
12868
|
insert_dev(target, p0, anchor);
|
|
@@ -12823,14 +12909,14 @@
|
|
|
12823
12909
|
block,
|
|
12824
12910
|
id: create_if_block_10$1.name,
|
|
12825
12911
|
type: "if",
|
|
12826
|
-
source: "(
|
|
12912
|
+
source: "(535:16) {#if limitsUpdateData.isModified === true}",
|
|
12827
12913
|
ctx
|
|
12828
12914
|
});
|
|
12829
12915
|
|
|
12830
12916
|
return block;
|
|
12831
12917
|
}
|
|
12832
12918
|
|
|
12833
|
-
// (
|
|
12919
|
+
// (516:8) {#each storedData as savedData, index}
|
|
12834
12920
|
function create_each_block_2(ctx) {
|
|
12835
12921
|
let if_block_anchor;
|
|
12836
12922
|
let if_block = /*limitsUpdateData*/ ctx[13].period === /*savedData*/ ctx[54].periodName && create_if_block_9$1(ctx);
|
|
@@ -12868,14 +12954,14 @@
|
|
|
12868
12954
|
block,
|
|
12869
12955
|
id: create_each_block_2.name,
|
|
12870
12956
|
type: "each",
|
|
12871
|
-
source: "(
|
|
12957
|
+
source: "(516:8) {#each storedData as savedData, index}",
|
|
12872
12958
|
ctx
|
|
12873
12959
|
});
|
|
12874
12960
|
|
|
12875
12961
|
return block;
|
|
12876
12962
|
}
|
|
12877
12963
|
|
|
12878
|
-
// (
|
|
12964
|
+
// (472:12) {#if selectData.period == storedData[index].periodName}
|
|
12879
12965
|
function create_if_block_2$1(ctx) {
|
|
12880
12966
|
let select;
|
|
12881
12967
|
let option;
|
|
@@ -12922,11 +13008,11 @@
|
|
|
12922
13008
|
option.disabled = true;
|
|
12923
13009
|
option.selected = true;
|
|
12924
13010
|
option.hidden = true;
|
|
12925
|
-
add_location(option, file$1,
|
|
13011
|
+
add_location(option, file$1, 473, 16, 20134);
|
|
12926
13012
|
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
|
|
12927
13013
|
select.disabled = select_disabled_value = /*selectData*/ ctx[48].isModified === true;
|
|
12928
13014
|
if (/*storedData*/ ctx[16][/*index*/ ctx[50]].amount === void 0) add_render_callback(select_change_handler);
|
|
12929
|
-
add_location(select, file$1,
|
|
13015
|
+
add_location(select, file$1, 472, 14, 19878);
|
|
12930
13016
|
},
|
|
12931
13017
|
m: function mount(target, anchor) {
|
|
12932
13018
|
insert_dev(target, select, anchor);
|
|
@@ -13041,14 +13127,14 @@
|
|
|
13041
13127
|
block,
|
|
13042
13128
|
id: create_if_block_2$1.name,
|
|
13043
13129
|
type: "if",
|
|
13044
|
-
source: "(
|
|
13130
|
+
source: "(472:12) {#if selectData.period == storedData[index].periodName}",
|
|
13045
13131
|
ctx
|
|
13046
13132
|
});
|
|
13047
13133
|
|
|
13048
13134
|
return block;
|
|
13049
13135
|
}
|
|
13050
13136
|
|
|
13051
|
-
// (
|
|
13137
|
+
// (476:66) {#if predefinedData !== "No limit" && predefinedData !== "Custom"}
|
|
13052
13138
|
function create_if_block_8$1(ctx) {
|
|
13053
13139
|
let t_value = (/*limitname*/ ctx[3] !== "Time Limit"
|
|
13054
13140
|
? /*playercurrency*/ ctx[4]
|
|
@@ -13077,14 +13163,14 @@
|
|
|
13077
13163
|
block,
|
|
13078
13164
|
id: create_if_block_8$1.name,
|
|
13079
13165
|
type: "if",
|
|
13080
|
-
source: "(
|
|
13166
|
+
source: "(476:66) {#if predefinedData !== \\\"No limit\\\" && predefinedData !== \\\"Custom\\\"}",
|
|
13081
13167
|
ctx
|
|
13082
13168
|
});
|
|
13083
13169
|
|
|
13084
13170
|
return block;
|
|
13085
13171
|
}
|
|
13086
13172
|
|
|
13087
|
-
// (
|
|
13173
|
+
// (475:16) {#each depositPredefinedValues[index].values as predefinedData}
|
|
13088
13174
|
function create_each_block_1$1(ctx) {
|
|
13089
13175
|
let option;
|
|
13090
13176
|
let t0_value = /*predefinedData*/ ctx[51] + "";
|
|
@@ -13100,7 +13186,7 @@
|
|
|
13100
13186
|
if (if_block) if_block.c();
|
|
13101
13187
|
option.__value = /*predefinedData*/ ctx[51];
|
|
13102
13188
|
option.value = option.__value;
|
|
13103
|
-
add_location(option, file$1,
|
|
13189
|
+
add_location(option, file$1, 475, 18, 20308);
|
|
13104
13190
|
},
|
|
13105
13191
|
m: function mount(target, anchor) {
|
|
13106
13192
|
insert_dev(target, option, anchor);
|
|
@@ -13121,14 +13207,14 @@
|
|
|
13121
13207
|
block,
|
|
13122
13208
|
id: create_each_block_1$1.name,
|
|
13123
13209
|
type: "each",
|
|
13124
|
-
source: "(
|
|
13210
|
+
source: "(475:16) {#each depositPredefinedValues[index].values as predefinedData}",
|
|
13125
13211
|
ctx
|
|
13126
13212
|
});
|
|
13127
13213
|
|
|
13128
13214
|
return block;
|
|
13129
13215
|
}
|
|
13130
13216
|
|
|
13131
|
-
// (
|
|
13217
|
+
// (479:14) {#if storedData[index].amount === "Custom"}
|
|
13132
13218
|
function create_if_block_4$1(ctx) {
|
|
13133
13219
|
let if_block_anchor;
|
|
13134
13220
|
|
|
@@ -13172,14 +13258,14 @@
|
|
|
13172
13258
|
block,
|
|
13173
13259
|
id: create_if_block_4$1.name,
|
|
13174
13260
|
type: "if",
|
|
13175
|
-
source: "(
|
|
13261
|
+
source: "(479:14) {#if storedData[index].amount === \\\"Custom\\\"}",
|
|
13176
13262
|
ctx
|
|
13177
13263
|
});
|
|
13178
13264
|
|
|
13179
13265
|
return block;
|
|
13180
13266
|
}
|
|
13181
13267
|
|
|
13182
|
-
// (
|
|
13268
|
+
// (487:16) {:else}
|
|
13183
13269
|
function create_else_block$1(ctx) {
|
|
13184
13270
|
let input;
|
|
13185
13271
|
let input_disabled_value;
|
|
@@ -13203,9 +13289,9 @@
|
|
|
13203
13289
|
attr_dev(input, "type", "number");
|
|
13204
13290
|
attr_dev(input, "class", "AccountEditField");
|
|
13205
13291
|
input.disabled = input_disabled_value = /*selectData*/ ctx[48].isModified === true;
|
|
13206
|
-
add_location(input, file$1,
|
|
13292
|
+
add_location(input, file$1, 487, 18, 21169);
|
|
13207
13293
|
attr_dev(p, "class", "AccountEditWarningText");
|
|
13208
|
-
add_location(p, file$1,
|
|
13294
|
+
add_location(p, file$1, 488, 18, 21399);
|
|
13209
13295
|
},
|
|
13210
13296
|
m: function mount(target, anchor) {
|
|
13211
13297
|
insert_dev(target, input, anchor);
|
|
@@ -13270,14 +13356,14 @@
|
|
|
13270
13356
|
block,
|
|
13271
13357
|
id: create_else_block$1.name,
|
|
13272
13358
|
type: "else",
|
|
13273
|
-
source: "(
|
|
13359
|
+
source: "(487:16) {:else}",
|
|
13274
13360
|
ctx
|
|
13275
13361
|
});
|
|
13276
13362
|
|
|
13277
13363
|
return block;
|
|
13278
13364
|
}
|
|
13279
13365
|
|
|
13280
|
-
// (
|
|
13366
|
+
// (480:16) {#if limitname === "Deposit Limit"}
|
|
13281
13367
|
function create_if_block_5$1(ctx) {
|
|
13282
13368
|
let input;
|
|
13283
13369
|
let input_disabled_value;
|
|
@@ -13301,9 +13387,9 @@
|
|
|
13301
13387
|
attr_dev(input, "type", "number");
|
|
13302
13388
|
attr_dev(input, "class", "AccountEditField");
|
|
13303
13389
|
input.disabled = input_disabled_value = /*selectData*/ ctx[48].isModified === true;
|
|
13304
|
-
add_location(input, file$1,
|
|
13390
|
+
add_location(input, file$1, 480, 18, 20671);
|
|
13305
13391
|
attr_dev(p, "class", "AccountEditWarningText");
|
|
13306
|
-
add_location(p, file$1,
|
|
13392
|
+
add_location(p, file$1, 481, 18, 20902);
|
|
13307
13393
|
},
|
|
13308
13394
|
m: function mount(target, anchor) {
|
|
13309
13395
|
insert_dev(target, input, anchor);
|
|
@@ -13368,14 +13454,14 @@
|
|
|
13368
13454
|
block,
|
|
13369
13455
|
id: create_if_block_5$1.name,
|
|
13370
13456
|
type: "if",
|
|
13371
|
-
source: "(
|
|
13457
|
+
source: "(480:16) {#if limitname === \\\"Deposit Limit\\\"}",
|
|
13372
13458
|
ctx
|
|
13373
13459
|
});
|
|
13374
13460
|
|
|
13375
13461
|
return block;
|
|
13376
13462
|
}
|
|
13377
13463
|
|
|
13378
|
-
// (
|
|
13464
|
+
// (490:20) {#if invalidIndexes[index] == 1}
|
|
13379
13465
|
function create_if_block_7$1(ctx) {
|
|
13380
13466
|
let p;
|
|
13381
13467
|
|
|
@@ -13393,7 +13479,7 @@
|
|
|
13393
13479
|
p = element("p");
|
|
13394
13480
|
t = text(t_value);
|
|
13395
13481
|
attr_dev(p, "class", "InvalidInput");
|
|
13396
|
-
add_location(p, file$1,
|
|
13482
|
+
add_location(p, file$1, 490, 22, 21509);
|
|
13397
13483
|
},
|
|
13398
13484
|
m: function mount(target, anchor) {
|
|
13399
13485
|
insert_dev(target, p, anchor);
|
|
@@ -13416,14 +13502,14 @@
|
|
|
13416
13502
|
block,
|
|
13417
13503
|
id: create_if_block_7$1.name,
|
|
13418
13504
|
type: "if",
|
|
13419
|
-
source: "(
|
|
13505
|
+
source: "(490:20) {#if invalidIndexes[index] == 1}",
|
|
13420
13506
|
ctx
|
|
13421
13507
|
});
|
|
13422
13508
|
|
|
13423
13509
|
return block;
|
|
13424
13510
|
}
|
|
13425
13511
|
|
|
13426
|
-
// (
|
|
13512
|
+
// (483:20) {#if invalidIndexes[index] == 1}
|
|
13427
13513
|
function create_if_block_6$1(ctx) {
|
|
13428
13514
|
let p;
|
|
13429
13515
|
let t_value = /*$_*/ ctx[17]("editText.invalidInputMessageLimit") + "";
|
|
@@ -13434,7 +13520,7 @@
|
|
|
13434
13520
|
p = element("p");
|
|
13435
13521
|
t = text(t_value);
|
|
13436
13522
|
attr_dev(p, "class", "InvalidInput");
|
|
13437
|
-
add_location(p, file$1,
|
|
13523
|
+
add_location(p, file$1, 483, 18, 21008);
|
|
13438
13524
|
},
|
|
13439
13525
|
m: function mount(target, anchor) {
|
|
13440
13526
|
insert_dev(target, p, anchor);
|
|
@@ -13452,14 +13538,14 @@
|
|
|
13452
13538
|
block,
|
|
13453
13539
|
id: create_if_block_6$1.name,
|
|
13454
13540
|
type: "if",
|
|
13455
|
-
source: "(
|
|
13541
|
+
source: "(483:20) {#if invalidIndexes[index] == 1}",
|
|
13456
13542
|
ctx
|
|
13457
13543
|
});
|
|
13458
13544
|
|
|
13459
13545
|
return block;
|
|
13460
13546
|
}
|
|
13461
13547
|
|
|
13462
|
-
// (
|
|
13548
|
+
// (496:14) {#if selectData.isModified === true}
|
|
13463
13549
|
function create_if_block_3$1(ctx) {
|
|
13464
13550
|
let p0;
|
|
13465
13551
|
let t0_value = /*$_*/ ctx[17]("editText.expirationDate") + "";
|
|
@@ -13515,15 +13601,15 @@
|
|
|
13515
13601
|
t8 = space();
|
|
13516
13602
|
t9 = text(t9_value);
|
|
13517
13603
|
t10 = text(t10_value);
|
|
13518
|
-
add_location(span0, file$1,
|
|
13604
|
+
add_location(span0, file$1, 496, 87, 21867);
|
|
13519
13605
|
attr_dev(p0, "class", "AccountEditLimitsExpiryDate");
|
|
13520
|
-
add_location(p0, file$1,
|
|
13606
|
+
add_location(p0, file$1, 496, 16, 21796);
|
|
13521
13607
|
attr_dev(span1, "class", "AccountEditLimitChangePeriodIcon");
|
|
13522
|
-
add_location(span1, file$1,
|
|
13523
|
-
add_location(span2, file$1,
|
|
13524
|
-
add_location(p1, file$1,
|
|
13608
|
+
add_location(span1, file$1, 498, 19, 22064);
|
|
13609
|
+
add_location(span2, file$1, 498, 74, 22119);
|
|
13610
|
+
add_location(p1, file$1, 498, 16, 22061);
|
|
13525
13611
|
attr_dev(div, "class", "AccountEditLimitsPeriodChangeContainer");
|
|
13526
|
-
add_location(div, file$1,
|
|
13612
|
+
add_location(div, file$1, 497, 16, 21992);
|
|
13527
13613
|
},
|
|
13528
13614
|
m: function mount(target, anchor) {
|
|
13529
13615
|
insert_dev(target, p0, anchor);
|
|
@@ -13573,14 +13659,14 @@
|
|
|
13573
13659
|
block,
|
|
13574
13660
|
id: create_if_block_3$1.name,
|
|
13575
13661
|
type: "if",
|
|
13576
|
-
source: "(
|
|
13662
|
+
source: "(496:14) {#if selectData.isModified === true}",
|
|
13577
13663
|
ctx
|
|
13578
13664
|
});
|
|
13579
13665
|
|
|
13580
13666
|
return block;
|
|
13581
13667
|
}
|
|
13582
13668
|
|
|
13583
|
-
// (
|
|
13669
|
+
// (469:8) {#each limitsUpdateData as selectData, index}
|
|
13584
13670
|
function create_each_block$1(ctx) {
|
|
13585
13671
|
let div;
|
|
13586
13672
|
let p;
|
|
@@ -13599,9 +13685,9 @@
|
|
|
13599
13685
|
if (if_block) if_block.c();
|
|
13600
13686
|
t2 = space();
|
|
13601
13687
|
attr_dev(p, "class", "AccountEditLimitsTitle");
|
|
13602
|
-
add_location(p, file$1,
|
|
13688
|
+
add_location(p, file$1, 470, 12, 19738);
|
|
13603
13689
|
attr_dev(div, "class", "AccountEditLimitsBox");
|
|
13604
|
-
add_location(div, file$1,
|
|
13690
|
+
add_location(div, file$1, 469, 10, 19691);
|
|
13605
13691
|
},
|
|
13606
13692
|
m: function mount(target, anchor) {
|
|
13607
13693
|
insert_dev(target, div, anchor);
|
|
@@ -13637,7 +13723,7 @@
|
|
|
13637
13723
|
block,
|
|
13638
13724
|
id: create_each_block$1.name,
|
|
13639
13725
|
type: "each",
|
|
13640
|
-
source: "(
|
|
13726
|
+
source: "(469:8) {#each limitsUpdateData as selectData, index}",
|
|
13641
13727
|
ctx
|
|
13642
13728
|
});
|
|
13643
13729
|
|
|
@@ -13646,164 +13732,182 @@
|
|
|
13646
13732
|
|
|
13647
13733
|
function create_fragment$1(ctx) {
|
|
13648
13734
|
let div4;
|
|
13735
|
+
let t0;
|
|
13649
13736
|
let div0;
|
|
13650
13737
|
let svg;
|
|
13651
|
-
let
|
|
13652
|
-
let
|
|
13653
|
-
let t0;
|
|
13654
|
-
let span0;
|
|
13655
|
-
let t1_value = /*$_*/ ctx[17]("editText.back") + "";
|
|
13738
|
+
let defs;
|
|
13739
|
+
let style;
|
|
13656
13740
|
let t1;
|
|
13741
|
+
let g1;
|
|
13742
|
+
let g0;
|
|
13743
|
+
let path;
|
|
13657
13744
|
let t2;
|
|
13658
|
-
let
|
|
13659
|
-
let
|
|
13660
|
-
let t3_value = (/*limitsdata*/ ctx[0] ? /*limitname*/ ctx[3] : "") + "";
|
|
13745
|
+
let h2;
|
|
13746
|
+
let t3_value = /*$_*/ ctx[17]("editText.back") + "";
|
|
13661
13747
|
let t3;
|
|
13662
13748
|
let t4;
|
|
13663
|
-
let
|
|
13664
|
-
let
|
|
13749
|
+
let div2;
|
|
13750
|
+
let h6;
|
|
13751
|
+
let t5_value = (/*limitsdata*/ ctx[0] ? /*limitname*/ ctx[3] : "") + "";
|
|
13752
|
+
let t5;
|
|
13665
13753
|
let t6;
|
|
13666
|
-
let
|
|
13667
|
-
let
|
|
13754
|
+
let div1;
|
|
13755
|
+
let span;
|
|
13668
13756
|
let t8;
|
|
13757
|
+
let player_account_gaming_limits_popup;
|
|
13669
13758
|
let t9;
|
|
13670
13759
|
let t10;
|
|
13760
|
+
let t11;
|
|
13761
|
+
let t12;
|
|
13671
13762
|
let div3;
|
|
13672
13763
|
let button;
|
|
13673
|
-
let
|
|
13674
|
-
let
|
|
13764
|
+
let t13_value = /*$_*/ ctx[17]("editText.save") + "";
|
|
13765
|
+
let t13;
|
|
13675
13766
|
let button_class_value;
|
|
13676
13767
|
let button_disabled_value;
|
|
13677
|
-
let
|
|
13768
|
+
let t14;
|
|
13678
13769
|
let player_account_modal;
|
|
13679
13770
|
let player_account_gaming_limits_confirmation_modal;
|
|
13680
13771
|
let mounted;
|
|
13681
13772
|
let dispose;
|
|
13682
|
-
let if_block0 = /*
|
|
13683
|
-
let if_block1 = /*
|
|
13684
|
-
let if_block2 = /*
|
|
13773
|
+
let if_block0 = /*isMobile*/ ctx[18] && create_if_block_18(ctx);
|
|
13774
|
+
let if_block1 = /*showsuccessnotification*/ ctx[1] && create_if_block_17(ctx);
|
|
13775
|
+
let if_block2 = /*showdeletenotification*/ ctx[2] && create_if_block_14(ctx);
|
|
13776
|
+
let if_block3 = /*showLimits*/ ctx[6] && create_if_block$1(ctx);
|
|
13685
13777
|
|
|
13686
13778
|
const block = {
|
|
13687
13779
|
c: function create() {
|
|
13688
13780
|
div4 = element("div");
|
|
13781
|
+
if (if_block0) if_block0.c();
|
|
13782
|
+
t0 = space();
|
|
13689
13783
|
div0 = element("div");
|
|
13690
13784
|
svg = svg_element("svg");
|
|
13691
|
-
|
|
13785
|
+
defs = svg_element("defs");
|
|
13786
|
+
style = svg_element("style");
|
|
13787
|
+
t1 = text(".aaa{fill:#d0046c;}");
|
|
13788
|
+
g1 = svg_element("g");
|
|
13789
|
+
g0 = svg_element("g");
|
|
13692
13790
|
path = svg_element("path");
|
|
13693
|
-
t0 = space();
|
|
13694
|
-
span0 = element("span");
|
|
13695
|
-
t1 = text(t1_value);
|
|
13696
13791
|
t2 = space();
|
|
13697
|
-
|
|
13698
|
-
h6 = element("h6");
|
|
13792
|
+
h2 = element("h2");
|
|
13699
13793
|
t3 = text(t3_value);
|
|
13700
13794
|
t4 = space();
|
|
13701
|
-
|
|
13702
|
-
|
|
13703
|
-
|
|
13795
|
+
div2 = element("div");
|
|
13796
|
+
h6 = element("h6");
|
|
13797
|
+
t5 = text(t5_value);
|
|
13704
13798
|
t6 = space();
|
|
13705
|
-
|
|
13706
|
-
|
|
13707
|
-
|
|
13799
|
+
div1 = element("div");
|
|
13800
|
+
span = element("span");
|
|
13801
|
+
span.textContent = "i";
|
|
13708
13802
|
t8 = space();
|
|
13709
|
-
|
|
13803
|
+
player_account_gaming_limits_popup = element("player-account-gaming-limits-popup");
|
|
13710
13804
|
t9 = space();
|
|
13711
|
-
if (
|
|
13805
|
+
if (if_block1) if_block1.c();
|
|
13712
13806
|
t10 = space();
|
|
13807
|
+
if (if_block2) if_block2.c();
|
|
13808
|
+
t11 = space();
|
|
13809
|
+
if (if_block3) if_block3.c();
|
|
13810
|
+
t12 = space();
|
|
13713
13811
|
div3 = element("div");
|
|
13714
13812
|
button = element("button");
|
|
13715
|
-
|
|
13716
|
-
|
|
13813
|
+
t13 = text(t13_value);
|
|
13814
|
+
t14 = space();
|
|
13717
13815
|
player_account_modal = element("player-account-modal");
|
|
13718
13816
|
player_account_gaming_limits_confirmation_modal = element("player-account-gaming-limits-confirmation-modal");
|
|
13719
13817
|
this.c = noop$1;
|
|
13720
|
-
|
|
13721
|
-
|
|
13722
|
-
|
|
13723
|
-
|
|
13724
|
-
attr_dev(
|
|
13725
|
-
|
|
13818
|
+
add_location(style, file$1, 429, 93, 17971);
|
|
13819
|
+
add_location(defs, file$1, 429, 87, 17965);
|
|
13820
|
+
attr_dev(path, "class", "aaa");
|
|
13821
|
+
attr_dev(path, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z");
|
|
13822
|
+
attr_dev(path, "transform", "translate(15 15) rotate(180)");
|
|
13823
|
+
add_location(path, file$1, 431, 8, 18096);
|
|
13824
|
+
attr_dev(g0, "transform", "translate(20 158)");
|
|
13825
|
+
add_location(g0, file$1, 430, 6, 18054);
|
|
13826
|
+
attr_dev(g1, "transform", "translate(-20 -158)");
|
|
13827
|
+
add_location(g1, file$1, 429, 134, 18012);
|
|
13726
13828
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
13727
|
-
attr_dev(svg, "
|
|
13728
|
-
attr_dev(svg, "
|
|
13729
|
-
attr_dev(svg, "
|
|
13730
|
-
|
|
13731
|
-
|
|
13732
|
-
|
|
13733
|
-
attr_dev(svg, "width", "18px");
|
|
13734
|
-
attr_dev(svg, "fill", "#58586B");
|
|
13735
|
-
add_location(svg, file$1, 415, 4, 17313);
|
|
13736
|
-
add_location(span0, file$1, 423, 4, 17924);
|
|
13829
|
+
attr_dev(svg, "width", "15");
|
|
13830
|
+
attr_dev(svg, "height", "15");
|
|
13831
|
+
attr_dev(svg, "viewBox", "0 0 15 15");
|
|
13832
|
+
add_location(svg, file$1, 429, 4, 17882);
|
|
13833
|
+
attr_dev(h2, "class", "ChangePasswordTitle " + (/*isMobile*/ ctx[18] ? "ChangePasswordTitleNone" : ""));
|
|
13834
|
+
add_location(h2, file$1, 434, 4, 18262);
|
|
13737
13835
|
attr_dev(div0, "class", "AccountEditBackButton");
|
|
13738
|
-
add_location(div0, file$1,
|
|
13739
|
-
add_location(h6, file$1,
|
|
13740
|
-
attr_dev(
|
|
13741
|
-
add_location(
|
|
13836
|
+
add_location(div0, file$1, 428, 2, 17807);
|
|
13837
|
+
add_location(h6, file$1, 440, 4, 18421);
|
|
13838
|
+
attr_dev(span, "class", "AccountEditLimitsIcon");
|
|
13839
|
+
add_location(span, file$1, 442, 6, 18513);
|
|
13742
13840
|
set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[5]);
|
|
13743
|
-
add_location(player_account_gaming_limits_popup, file$1,
|
|
13841
|
+
add_location(player_account_gaming_limits_popup, file$1, 443, 6, 18604);
|
|
13744
13842
|
attr_dev(div1, "class", "AccountEditLimitsIconWrapper");
|
|
13745
|
-
add_location(div1, file$1,
|
|
13843
|
+
add_location(div1, file$1, 441, 4, 18464);
|
|
13746
13844
|
attr_dev(div2, "class", "AccountEditLimitsHeader");
|
|
13747
|
-
add_location(div2, file$1,
|
|
13845
|
+
add_location(div2, file$1, 439, 2, 18379);
|
|
13748
13846
|
|
|
13749
13847
|
attr_dev(button, "class", button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[14]
|
|
13750
13848
|
? ""
|
|
13751
13849
|
: "AccountEditLimitsButtonDisabled"));
|
|
13752
13850
|
|
|
13753
13851
|
button.disabled = button_disabled_value = !/*hasDifferences*/ ctx[14];
|
|
13754
|
-
add_location(button, file$1,
|
|
13852
|
+
add_location(button, file$1, 549, 4, 25370);
|
|
13755
13853
|
attr_dev(div3, "class", "AccountEditLimitsControlArea");
|
|
13756
|
-
add_location(div3, file$1,
|
|
13854
|
+
add_location(div3, file$1, 548, 2, 25323);
|
|
13757
13855
|
|
|
13758
13856
|
attr_dev(div4, "class", "AccountEditLimitsWrapper " + (/*isMobile*/ ctx[18]
|
|
13759
13857
|
? "AccountEditLimitsMobileWrapper"
|
|
13760
13858
|
: ""));
|
|
13761
13859
|
|
|
13762
|
-
add_location(div4, file$1, 413, 0,
|
|
13860
|
+
add_location(div4, file$1, 413, 0, 17144);
|
|
13763
13861
|
set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[9]);
|
|
13764
13862
|
set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modalsource", "groupEdit");
|
|
13765
|
-
add_location(player_account_gaming_limits_confirmation_modal, file$1,
|
|
13766
|
-
add_location(player_account_modal, file$1,
|
|
13863
|
+
add_location(player_account_gaming_limits_confirmation_modal, file$1, 554, 2, 25618);
|
|
13864
|
+
add_location(player_account_modal, file$1, 553, 0, 25593);
|
|
13767
13865
|
},
|
|
13768
13866
|
l: function claim(nodes) {
|
|
13769
13867
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
13770
13868
|
},
|
|
13771
13869
|
m: function mount(target, anchor) {
|
|
13772
13870
|
insert_dev(target, div4, anchor);
|
|
13871
|
+
if (if_block0) if_block0.m(div4, null);
|
|
13872
|
+
append_dev(div4, t0);
|
|
13773
13873
|
append_dev(div4, div0);
|
|
13774
13874
|
append_dev(div0, svg);
|
|
13775
|
-
append_dev(svg,
|
|
13776
|
-
append_dev(
|
|
13777
|
-
append_dev(
|
|
13778
|
-
append_dev(
|
|
13779
|
-
append_dev(
|
|
13780
|
-
append_dev(
|
|
13875
|
+
append_dev(svg, defs);
|
|
13876
|
+
append_dev(defs, style);
|
|
13877
|
+
append_dev(style, t1);
|
|
13878
|
+
append_dev(svg, g1);
|
|
13879
|
+
append_dev(g1, g0);
|
|
13880
|
+
append_dev(g0, path);
|
|
13881
|
+
append_dev(div0, t2);
|
|
13882
|
+
append_dev(div0, h2);
|
|
13883
|
+
append_dev(h2, t3);
|
|
13884
|
+
append_dev(div4, t4);
|
|
13781
13885
|
append_dev(div4, div2);
|
|
13782
13886
|
append_dev(div2, h6);
|
|
13783
|
-
append_dev(h6,
|
|
13784
|
-
append_dev(div2,
|
|
13887
|
+
append_dev(h6, t5);
|
|
13888
|
+
append_dev(div2, t6);
|
|
13785
13889
|
append_dev(div2, div1);
|
|
13786
|
-
append_dev(div1,
|
|
13787
|
-
append_dev(div1,
|
|
13890
|
+
append_dev(div1, span);
|
|
13891
|
+
append_dev(div1, t8);
|
|
13788
13892
|
append_dev(div1, player_account_gaming_limits_popup);
|
|
13789
|
-
append_dev(div4, t7);
|
|
13790
|
-
if (if_block0) if_block0.m(div4, null);
|
|
13791
|
-
append_dev(div4, t8);
|
|
13792
|
-
if (if_block1) if_block1.m(div4, null);
|
|
13793
13893
|
append_dev(div4, t9);
|
|
13794
|
-
if (
|
|
13894
|
+
if (if_block1) if_block1.m(div4, null);
|
|
13795
13895
|
append_dev(div4, t10);
|
|
13896
|
+
if (if_block2) if_block2.m(div4, null);
|
|
13897
|
+
append_dev(div4, t11);
|
|
13898
|
+
if (if_block3) if_block3.m(div4, null);
|
|
13899
|
+
append_dev(div4, t12);
|
|
13796
13900
|
append_dev(div4, div3);
|
|
13797
13901
|
append_dev(div3, button);
|
|
13798
|
-
append_dev(button,
|
|
13799
|
-
insert_dev(target,
|
|
13902
|
+
append_dev(button, t13);
|
|
13903
|
+
insert_dev(target, t14, anchor);
|
|
13800
13904
|
insert_dev(target, player_account_modal, anchor);
|
|
13801
13905
|
append_dev(player_account_modal, player_account_gaming_limits_confirmation_modal);
|
|
13802
13906
|
|
|
13803
13907
|
if (!mounted) {
|
|
13804
13908
|
dispose = [
|
|
13805
13909
|
listen_dev(div0, "click", /*switchToLimitsGroupView*/ ctx[23], false, false, false),
|
|
13806
|
-
listen_dev(
|
|
13910
|
+
listen_dev(span, "click", prevent_default(/*openInfoPopup*/ ctx[22]), false, true, false),
|
|
13807
13911
|
listen_dev(button, "click", /*click_handler*/ ctx[32], false, false, false)
|
|
13808
13912
|
];
|
|
13809
13913
|
|
|
@@ -13811,53 +13915,54 @@
|
|
|
13811
13915
|
}
|
|
13812
13916
|
},
|
|
13813
13917
|
p: function update(ctx, dirty) {
|
|
13814
|
-
if (
|
|
13815
|
-
if (dirty[0] &
|
|
13918
|
+
if (/*isMobile*/ ctx[18]) if_block0.p(ctx, dirty);
|
|
13919
|
+
if (dirty[0] & /*$_*/ 131072 && t3_value !== (t3_value = /*$_*/ ctx[17]("editText.back") + "")) set_data_dev(t3, t3_value);
|
|
13920
|
+
if (dirty[0] & /*limitsdata, limitname*/ 9 && t5_value !== (t5_value = (/*limitsdata*/ ctx[0] ? /*limitname*/ ctx[3] : "") + "")) set_data_dev(t5, t5_value);
|
|
13816
13921
|
|
|
13817
13922
|
if (dirty[0] & /*showPopup*/ 32) {
|
|
13818
13923
|
set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[5]);
|
|
13819
13924
|
}
|
|
13820
13925
|
|
|
13821
13926
|
if (/*showsuccessnotification*/ ctx[1]) {
|
|
13822
|
-
if (if_block0) {
|
|
13823
|
-
if_block0.p(ctx, dirty);
|
|
13824
|
-
} else {
|
|
13825
|
-
if_block0 = create_if_block_17(ctx);
|
|
13826
|
-
if_block0.c();
|
|
13827
|
-
if_block0.m(div4, t8);
|
|
13828
|
-
}
|
|
13829
|
-
} else if (if_block0) {
|
|
13830
|
-
if_block0.d(1);
|
|
13831
|
-
if_block0 = null;
|
|
13832
|
-
}
|
|
13833
|
-
|
|
13834
|
-
if (/*showdeletenotification*/ ctx[2]) {
|
|
13835
13927
|
if (if_block1) {
|
|
13836
13928
|
if_block1.p(ctx, dirty);
|
|
13837
13929
|
} else {
|
|
13838
|
-
if_block1 =
|
|
13930
|
+
if_block1 = create_if_block_17(ctx);
|
|
13839
13931
|
if_block1.c();
|
|
13840
|
-
if_block1.m(div4,
|
|
13932
|
+
if_block1.m(div4, t10);
|
|
13841
13933
|
}
|
|
13842
13934
|
} else if (if_block1) {
|
|
13843
13935
|
if_block1.d(1);
|
|
13844
13936
|
if_block1 = null;
|
|
13845
13937
|
}
|
|
13846
13938
|
|
|
13847
|
-
if (/*
|
|
13939
|
+
if (/*showdeletenotification*/ ctx[2]) {
|
|
13848
13940
|
if (if_block2) {
|
|
13849
13941
|
if_block2.p(ctx, dirty);
|
|
13850
13942
|
} else {
|
|
13851
|
-
if_block2 =
|
|
13943
|
+
if_block2 = create_if_block_14(ctx);
|
|
13852
13944
|
if_block2.c();
|
|
13853
|
-
if_block2.m(div4,
|
|
13945
|
+
if_block2.m(div4, t11);
|
|
13854
13946
|
}
|
|
13855
13947
|
} else if (if_block2) {
|
|
13856
13948
|
if_block2.d(1);
|
|
13857
13949
|
if_block2 = null;
|
|
13858
13950
|
}
|
|
13859
13951
|
|
|
13860
|
-
if (
|
|
13952
|
+
if (/*showLimits*/ ctx[6]) {
|
|
13953
|
+
if (if_block3) {
|
|
13954
|
+
if_block3.p(ctx, dirty);
|
|
13955
|
+
} else {
|
|
13956
|
+
if_block3 = create_if_block$1(ctx);
|
|
13957
|
+
if_block3.c();
|
|
13958
|
+
if_block3.m(div4, t12);
|
|
13959
|
+
}
|
|
13960
|
+
} else if (if_block3) {
|
|
13961
|
+
if_block3.d(1);
|
|
13962
|
+
if_block3 = null;
|
|
13963
|
+
}
|
|
13964
|
+
|
|
13965
|
+
if (dirty[0] & /*$_*/ 131072 && t13_value !== (t13_value = /*$_*/ ctx[17]("editText.save") + "")) set_data_dev(t13, t13_value);
|
|
13861
13966
|
|
|
13862
13967
|
if (dirty[0] & /*hasDifferences*/ 16384 && button_class_value !== (button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[14]
|
|
13863
13968
|
? ""
|
|
@@ -13880,7 +13985,8 @@
|
|
|
13880
13985
|
if (if_block0) if_block0.d();
|
|
13881
13986
|
if (if_block1) if_block1.d();
|
|
13882
13987
|
if (if_block2) if_block2.d();
|
|
13883
|
-
if (
|
|
13988
|
+
if (if_block3) if_block3.d();
|
|
13989
|
+
if (detaching) detach_dev(t14);
|
|
13884
13990
|
if (detaching) detach_dev(player_account_modal);
|
|
13885
13991
|
mounted = false;
|
|
13886
13992
|
run_all(dispose);
|
|
@@ -14337,7 +14443,7 @@
|
|
|
14337
14443
|
setLimitModalTexts();
|
|
14338
14444
|
$$invalidate(10, isArray = Array.isArray(limitsdata));
|
|
14339
14445
|
|
|
14340
|
-
// used for validation
|
|
14446
|
+
// used for validation
|
|
14341
14447
|
$$invalidate(15, updatedLimitValues = JSON.parse(JSON.stringify(limitsdata)));
|
|
14342
14448
|
|
|
14343
14449
|
// use limitsUpdateData in order to populate select & input fields
|
|
@@ -14585,7 +14691,7 @@
|
|
|
14585
14691
|
class PlayerAccountGamingLimitsGroupEdit extends SvelteElement {
|
|
14586
14692
|
constructor(options) {
|
|
14587
14693
|
super();
|
|
14588
|
-
this.shadowRoot.innerHTML = `<style>.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditBackButton{display:inline-block;color:#D0046C;font-size:26px;font-weight:300;cursor:pointer;margin-bottom:30px}.AccountEditBackButton svg{fill:#D0046C}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:#D0046C}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid #D0046C;align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:#5E5E30;background:transparent;border:1px solid #5E5E30;align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:#F2F9F2;border:1px solid #C5DFC5;font-size:16px;font-weight:300;color:#07072A;border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:#07072A;margin:0;padding-top:10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:#000}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{
|
|
14694
|
+
this.shadowRoot.innerHTML = `<style>.ChangePasswordTitle{font-size:26px;color:#D0046C;font-weight:400}.ChangePasswordTitleMobile{font-size:16px;color:#D0046C}.ChangePasswordTitleNone{display:none}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditBackButton{display:inline-block;color:#D0046C;font-size:26px;font-weight:300;cursor:pointer;margin-bottom:30px}.AccountEditBackButton svg{fill:#D0046C}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:#D0046C}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid #D0046C;align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:#5E5E30;background:transparent;border:1px solid #5E5E30;align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:#F2F9F2;border:1px solid #C5DFC5;font-size:16px;font-weight:300;color:#07072A;border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:#07072A;margin:0;padding-top:10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:#000}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;background:#FFF;border:1px solid #D1D1D1;border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.AccountEditLimitsPeriodChangeContainer{background:#FFFFF8;border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:#5E5E30;font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:#000;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:#D0046C;border:1px solid #D0046C;color:#fff}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:#D0046C;cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:#D0046C;font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative}</style>`;
|
|
14589
14695
|
|
|
14590
14696
|
init(
|
|
14591
14697
|
this,
|