@everymatrix/player-account-controller 0.0.116 → 0.0.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(
|
|
3
|
-
typeof define === 'function' && define.amd ? define(
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.app = factory());
|
|
5
5
|
}(this, (function () { 'use strict';
|
|
6
6
|
|
|
@@ -4516,7 +4516,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4516
4516
|
/* ../general-logout/src/GeneralLogout.svelte generated by Svelte v3.37.0 */
|
|
4517
4517
|
|
|
4518
4518
|
const { console: console_1$1 } = globals;
|
|
4519
|
-
const file$
|
|
4519
|
+
const file$8 = "../general-logout/src/GeneralLogout.svelte";
|
|
4520
4520
|
|
|
4521
4521
|
// (48:0) {:else}
|
|
4522
4522
|
function create_else_block$4(ctx) {
|
|
@@ -4532,10 +4532,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4532
4532
|
button = element("button");
|
|
4533
4533
|
span = element("span");
|
|
4534
4534
|
span.textContent = "Logout";
|
|
4535
|
-
add_location(span, file$
|
|
4536
|
-
add_location(button, file$
|
|
4535
|
+
add_location(span, file$8, 49, 38, 1797);
|
|
4536
|
+
add_location(button, file$8, 49, 4, 1763);
|
|
4537
4537
|
attr_dev(div, "class", "GeneralLogout");
|
|
4538
|
-
add_location(div, file$
|
|
4538
|
+
add_location(div, file$8, 48, 2, 1731);
|
|
4539
4539
|
},
|
|
4540
4540
|
m: function mount(target, anchor) {
|
|
4541
4541
|
insert_dev(target, div, anchor);
|
|
@@ -4567,7 +4567,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4567
4567
|
}
|
|
4568
4568
|
|
|
4569
4569
|
// (41:0) {#if buttonlocation === 'PlayerAccountMenu'}
|
|
4570
|
-
function create_if_block$
|
|
4570
|
+
function create_if_block$8(ctx) {
|
|
4571
4571
|
let p;
|
|
4572
4572
|
let span;
|
|
4573
4573
|
let t;
|
|
@@ -4586,7 +4586,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4586
4586
|
? "20px"
|
|
4587
4587
|
: /*mediaQuery*/ ctx[2].matches ? "50px" : "24px");
|
|
4588
4588
|
|
|
4589
|
-
add_location(span, file$
|
|
4589
|
+
add_location(span, file$8, 42, 4, 1523);
|
|
4590
4590
|
|
|
4591
4591
|
attr_dev(p, "class", "PlayerAccountMenuItemBox " + (/*isMobile*/ ctx[1]
|
|
4592
4592
|
? "PlayerAccountMenuItemBoxMobile"
|
|
@@ -4594,7 +4594,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4594
4594
|
? "PlayerAccountMenuItemBoxTablet"
|
|
4595
4595
|
: ""));
|
|
4596
4596
|
|
|
4597
|
-
add_location(p, file$
|
|
4597
|
+
add_location(p, file$8, 41, 2, 1332);
|
|
4598
4598
|
},
|
|
4599
4599
|
m: function mount(target, anchor) {
|
|
4600
4600
|
insert_dev(target, p, anchor);
|
|
@@ -4619,7 +4619,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4619
4619
|
|
|
4620
4620
|
dispatch_dev("SvelteRegisterBlock", {
|
|
4621
4621
|
block,
|
|
4622
|
-
id: create_if_block$
|
|
4622
|
+
id: create_if_block$8.name,
|
|
4623
4623
|
type: "if",
|
|
4624
4624
|
source: "(41:0) {#if buttonlocation === 'PlayerAccountMenu'}",
|
|
4625
4625
|
ctx
|
|
@@ -4637,7 +4637,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4637
4637
|
span = element("span");
|
|
4638
4638
|
span.textContent = "Logout";
|
|
4639
4639
|
attr_dev(span, "class", "PlayerLogoutText");
|
|
4640
|
-
add_location(span, file$
|
|
4640
|
+
add_location(span, file$8, 44, 6, 1658);
|
|
4641
4641
|
},
|
|
4642
4642
|
m: function mount(target, anchor) {
|
|
4643
4643
|
insert_dev(target, span, anchor);
|
|
@@ -4658,11 +4658,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4658
4658
|
return block;
|
|
4659
4659
|
}
|
|
4660
4660
|
|
|
4661
|
-
function create_fragment$
|
|
4661
|
+
function create_fragment$8(ctx) {
|
|
4662
4662
|
let if_block_anchor;
|
|
4663
4663
|
|
|
4664
4664
|
function select_block_type(ctx, dirty) {
|
|
4665
|
-
if (/*buttonlocation*/ ctx[0] === "PlayerAccountMenu") return create_if_block$
|
|
4665
|
+
if (/*buttonlocation*/ ctx[0] === "PlayerAccountMenu") return create_if_block$8;
|
|
4666
4666
|
return create_else_block$4;
|
|
4667
4667
|
}
|
|
4668
4668
|
|
|
@@ -4705,7 +4705,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4705
4705
|
|
|
4706
4706
|
dispatch_dev("SvelteRegisterBlock", {
|
|
4707
4707
|
block,
|
|
4708
|
-
id: create_fragment$
|
|
4708
|
+
id: create_fragment$8.name,
|
|
4709
4709
|
type: "component",
|
|
4710
4710
|
source: "",
|
|
4711
4711
|
ctx
|
|
@@ -4714,7 +4714,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4714
4714
|
return block;
|
|
4715
4715
|
}
|
|
4716
4716
|
|
|
4717
|
-
function instance$
|
|
4717
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
4718
4718
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
4719
4719
|
validate_slots("undefined", slots, []);
|
|
4720
4720
|
let { endpoint = "" } = $$props;
|
|
@@ -4824,8 +4824,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4824
4824
|
props: attribute_to_object(this.attributes),
|
|
4825
4825
|
customElement: true
|
|
4826
4826
|
},
|
|
4827
|
-
instance$
|
|
4828
|
-
create_fragment$
|
|
4827
|
+
instance$8,
|
|
4828
|
+
create_fragment$8,
|
|
4829
4829
|
safe_not_equal,
|
|
4830
4830
|
{
|
|
4831
4831
|
endpoint: 4,
|
|
@@ -4881,9 +4881,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4881
4881
|
!customElements.get('general-logout') && customElements.define('general-logout', GeneralLogout);
|
|
4882
4882
|
|
|
4883
4883
|
/* ../player-account-menu/src/PlayerAccountMenu.svelte generated by Svelte v3.37.0 */
|
|
4884
|
-
const file$
|
|
4884
|
+
const file$7 = "../player-account-menu/src/PlayerAccountMenu.svelte";
|
|
4885
4885
|
|
|
4886
|
-
function get_each_context$
|
|
4886
|
+
function get_each_context$4(ctx, list, i) {
|
|
4887
4887
|
const child_ctx = ctx.slice();
|
|
4888
4888
|
child_ctx[18] = list[i];
|
|
4889
4889
|
return child_ctx;
|
|
@@ -4910,7 +4910,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4910
4910
|
let each_blocks = [];
|
|
4911
4911
|
|
|
4912
4912
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
4913
|
-
each_blocks[i] = create_each_block$
|
|
4913
|
+
each_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));
|
|
4914
4914
|
}
|
|
4915
4915
|
|
|
4916
4916
|
let if_block2 = !/*isMobile*/ ctx[6] && create_if_block_2$3(ctx);
|
|
@@ -4942,13 +4942,13 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4942
4942
|
if (if_block3) if_block3.c();
|
|
4943
4943
|
if_block3_anchor = empty();
|
|
4944
4944
|
attr_dev(p0, "class", "PlayerAccountMenuUser");
|
|
4945
|
-
add_location(p0, file$
|
|
4945
|
+
add_location(p0, file$7, 81, 6, 2799);
|
|
4946
4946
|
attr_dev(p1, "class", "PlayerAccountMenuEmail");
|
|
4947
|
-
add_location(p1, file$
|
|
4947
|
+
add_location(p1, file$7, 82, 6, 2854);
|
|
4948
4948
|
attr_dev(div0, "class", "PlayerAccountMenuHeader");
|
|
4949
|
-
add_location(div0, file$
|
|
4949
|
+
add_location(div0, file$7, 77, 4, 2655);
|
|
4950
4950
|
attr_dev(div1, "class", "PlayerAccountMenuList");
|
|
4951
|
-
add_location(div1, file$
|
|
4951
|
+
add_location(div1, file$7, 89, 4, 3121);
|
|
4952
4952
|
|
|
4953
4953
|
attr_dev(div2, "class", "PlayerAccountMenuContainer " + (/*isMobile*/ ctx[6]
|
|
4954
4954
|
? "PlayerAccountMobileContainer"
|
|
@@ -4956,7 +4956,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4956
4956
|
? "PlayerAccountTabletContainer"
|
|
4957
4957
|
: ""));
|
|
4958
4958
|
|
|
4959
|
-
add_location(div2, file$
|
|
4959
|
+
add_location(div2, file$7, 76, 0, 2490);
|
|
4960
4960
|
},
|
|
4961
4961
|
m: function mount(target, anchor) {
|
|
4962
4962
|
insert_dev(target, div2, anchor);
|
|
@@ -4990,12 +4990,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4990
4990
|
let i;
|
|
4991
4991
|
|
|
4992
4992
|
for (i = 0; i < each_value.length; i += 1) {
|
|
4993
|
-
const child_ctx = get_each_context$
|
|
4993
|
+
const child_ctx = get_each_context$4(ctx, each_value, i);
|
|
4994
4994
|
|
|
4995
4995
|
if (each_blocks[i]) {
|
|
4996
4996
|
each_blocks[i].p(child_ctx, dirty);
|
|
4997
4997
|
} else {
|
|
4998
|
-
each_blocks[i] = create_each_block$
|
|
4998
|
+
each_blocks[i] = create_each_block$4(child_ctx);
|
|
4999
4999
|
each_blocks[i].c();
|
|
5000
5000
|
each_blocks[i].m(div1, null);
|
|
5001
5001
|
}
|
|
@@ -5034,14 +5034,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5034
5034
|
}
|
|
5035
5035
|
|
|
5036
5036
|
// (74:0) {#if isLoading}
|
|
5037
|
-
function create_if_block$
|
|
5037
|
+
function create_if_block$7(ctx) {
|
|
5038
5038
|
let div;
|
|
5039
5039
|
|
|
5040
5040
|
const block = {
|
|
5041
5041
|
c: function create() {
|
|
5042
5042
|
div = element("div");
|
|
5043
5043
|
attr_dev(div, "class", "ModalLoader");
|
|
5044
|
-
add_location(div, file$
|
|
5044
|
+
add_location(div, file$7, 74, 2, 2450);
|
|
5045
5045
|
},
|
|
5046
5046
|
m: function mount(target, anchor) {
|
|
5047
5047
|
insert_dev(target, div, anchor);
|
|
@@ -5054,7 +5054,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5054
5054
|
|
|
5055
5055
|
dispatch_dev("SvelteRegisterBlock", {
|
|
5056
5056
|
block,
|
|
5057
|
-
id: create_if_block$
|
|
5057
|
+
id: create_if_block$7.name,
|
|
5058
5058
|
type: "if",
|
|
5059
5059
|
source: "(74:0) {#if isLoading}",
|
|
5060
5060
|
ctx
|
|
@@ -5072,7 +5072,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5072
5072
|
h3 = element("h3");
|
|
5073
5073
|
h3.textContent = "My Account";
|
|
5074
5074
|
attr_dev(h3, "class", "PlayerAccountMenuCategoryTitle");
|
|
5075
|
-
add_location(h3, file$
|
|
5075
|
+
add_location(h3, file$7, 79, 8, 2722);
|
|
5076
5076
|
},
|
|
5077
5077
|
m: function mount(target, anchor) {
|
|
5078
5078
|
insert_dev(target, h3, anchor);
|
|
@@ -5105,9 +5105,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5105
5105
|
set_custom_element_data(general_logout, "endpoint", /*endpoint*/ ctx[0]);
|
|
5106
5106
|
set_custom_element_data(general_logout, "session", /*session*/ ctx[1]);
|
|
5107
5107
|
set_custom_element_data(general_logout, "buttonlocation", "PlayerAccountMenu");
|
|
5108
|
-
add_location(general_logout, file$
|
|
5108
|
+
add_location(general_logout, file$7, 85, 8, 2991);
|
|
5109
5109
|
attr_dev(div, "class", "PlayerAccountLogOutArea");
|
|
5110
|
-
add_location(div, file$
|
|
5110
|
+
add_location(div, file$7, 84, 6, 2945);
|
|
5111
5111
|
},
|
|
5112
5112
|
m: function mount(target, anchor) {
|
|
5113
5113
|
insert_dev(target, div, anchor);
|
|
@@ -5148,7 +5148,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5148
5148
|
img = element("img");
|
|
5149
5149
|
attr_dev(img, "class", "PlayerAccountMenuItemIcon");
|
|
5150
5150
|
if (img.src !== (img_src_value = /*menuItem*/ ctx[18].menu_item_icon)) attr_dev(img, "src", img_src_value);
|
|
5151
|
-
add_location(img, file$
|
|
5151
|
+
add_location(img, file$7, 96, 14, 3719);
|
|
5152
5152
|
},
|
|
5153
5153
|
m: function mount(target, anchor) {
|
|
5154
5154
|
insert_dev(target, img, anchor);
|
|
@@ -5191,7 +5191,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5191
5191
|
? "20px"
|
|
5192
5192
|
: /*mediaQuery*/ ctx[7].matches ? "80px" : "40px");
|
|
5193
5193
|
|
|
5194
|
-
add_location(span, file$
|
|
5194
|
+
add_location(span, file$7, 94, 14, 3492);
|
|
5195
5195
|
},
|
|
5196
5196
|
m: function mount(target, anchor) {
|
|
5197
5197
|
insert_dev(target, span, anchor);
|
|
@@ -5216,7 +5216,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5216
5216
|
}
|
|
5217
5217
|
|
|
5218
5218
|
// (91:6) {#each availableMenuItemsArray as menuItem}
|
|
5219
|
-
function create_each_block$
|
|
5219
|
+
function create_each_block$4(ctx) {
|
|
5220
5220
|
let div;
|
|
5221
5221
|
let p;
|
|
5222
5222
|
let t0;
|
|
@@ -5250,15 +5250,15 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5250
5250
|
t1 = text(t1_value);
|
|
5251
5251
|
t2 = space();
|
|
5252
5252
|
attr_dev(span, "class", "PlayerAccountMenuItemTitle");
|
|
5253
|
-
add_location(span, file$
|
|
5253
|
+
add_location(span, file$7, 98, 12, 3821);
|
|
5254
5254
|
attr_dev(p, "class", "PlayerAccountMenuItemWrapper");
|
|
5255
|
-
add_location(p, file$
|
|
5255
|
+
add_location(p, file$7, 92, 10, 3395);
|
|
5256
5256
|
|
|
5257
5257
|
attr_dev(div, "class", div_class_value = "PlayerAccountMenuItemBox " + (/*selected*/ ctx[3] === /*menuItem*/ ctx[18].ID && !/*isMobile*/ ctx[6]
|
|
5258
5258
|
? "PlayerAccountMenuActiveItemBox"
|
|
5259
5259
|
: ""));
|
|
5260
5260
|
|
|
5261
|
-
add_location(div, file$
|
|
5261
|
+
add_location(div, file$7, 91, 8, 3215);
|
|
5262
5262
|
},
|
|
5263
5263
|
m: function mount(target, anchor) {
|
|
5264
5264
|
insert_dev(target, div, anchor);
|
|
@@ -5307,7 +5307,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5307
5307
|
|
|
5308
5308
|
dispatch_dev("SvelteRegisterBlock", {
|
|
5309
5309
|
block,
|
|
5310
|
-
id: create_each_block$
|
|
5310
|
+
id: create_each_block$4.name,
|
|
5311
5311
|
type: "each",
|
|
5312
5312
|
source: "(91:6) {#each availableMenuItemsArray as menuItem}",
|
|
5313
5313
|
ctx
|
|
@@ -5326,9 +5326,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5326
5326
|
div = element("div");
|
|
5327
5327
|
p = element("p");
|
|
5328
5328
|
attr_dev(p, "class", "PlayerAccountMenuItemBox");
|
|
5329
|
-
add_location(p, file$
|
|
5329
|
+
add_location(p, file$7, 105, 6, 4020);
|
|
5330
5330
|
attr_dev(div, "class", "PlayerAccountLogOutAreaPlaceholder");
|
|
5331
|
-
add_location(div, file$
|
|
5331
|
+
add_location(div, file$7, 104, 4, 3965);
|
|
5332
5332
|
},
|
|
5333
5333
|
m: function mount(target, anchor) {
|
|
5334
5334
|
insert_dev(target, div, anchor);
|
|
@@ -5362,9 +5362,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5362
5362
|
set_custom_element_data(general_logout, "endpoint", /*endpoint*/ ctx[0]);
|
|
5363
5363
|
set_custom_element_data(general_logout, "session", /*session*/ ctx[1]);
|
|
5364
5364
|
set_custom_element_data(general_logout, "buttonlocation", "PlayerAccountMenu");
|
|
5365
|
-
add_location(general_logout, file$
|
|
5365
|
+
add_location(general_logout, file$7, 111, 4, 4153);
|
|
5366
5366
|
attr_dev(div, "class", "PlayerAccountLogOutArea");
|
|
5367
|
-
add_location(div, file$
|
|
5367
|
+
add_location(div, file$7, 110, 2, 4111);
|
|
5368
5368
|
},
|
|
5369
5369
|
m: function mount(target, anchor) {
|
|
5370
5370
|
insert_dev(target, div, anchor);
|
|
@@ -5395,11 +5395,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5395
5395
|
return block;
|
|
5396
5396
|
}
|
|
5397
5397
|
|
|
5398
|
-
function create_fragment$
|
|
5398
|
+
function create_fragment$7(ctx) {
|
|
5399
5399
|
let if_block_anchor;
|
|
5400
5400
|
|
|
5401
5401
|
function select_block_type(ctx, dirty) {
|
|
5402
|
-
if (/*isLoading*/ ctx[5]) return create_if_block$
|
|
5402
|
+
if (/*isLoading*/ ctx[5]) return create_if_block$7;
|
|
5403
5403
|
return create_else_block$3;
|
|
5404
5404
|
}
|
|
5405
5405
|
|
|
@@ -5432,7 +5432,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5432
5432
|
|
|
5433
5433
|
dispatch_dev("SvelteRegisterBlock", {
|
|
5434
5434
|
block,
|
|
5435
|
-
id: create_fragment$
|
|
5435
|
+
id: create_fragment$7.name,
|
|
5436
5436
|
type: "component",
|
|
5437
5437
|
source: "",
|
|
5438
5438
|
ctx
|
|
@@ -5441,7 +5441,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5441
5441
|
return block;
|
|
5442
5442
|
}
|
|
5443
5443
|
|
|
5444
|
-
function instance$
|
|
5444
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
5445
5445
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
5446
5446
|
validate_slots("undefined", slots, []);
|
|
5447
5447
|
let { endpoint } = $$props;
|
|
@@ -5626,8 +5626,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5626
5626
|
props: attribute_to_object(this.attributes),
|
|
5627
5627
|
customElement: true
|
|
5628
5628
|
},
|
|
5629
|
-
instance$
|
|
5630
|
-
create_fragment$
|
|
5629
|
+
instance$7,
|
|
5630
|
+
create_fragment$7,
|
|
5631
5631
|
safe_not_equal,
|
|
5632
5632
|
{ endpoint: 0, session: 1 }
|
|
5633
5633
|
);
|
|
@@ -5681,9 +5681,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5681
5681
|
!customElements.get('player-account-menu') && customElements.define('player-account-menu', PlayerAccountMenu);
|
|
5682
5682
|
|
|
5683
5683
|
/* ../player-account-notifications/src/PlayerAccountNotifications.svelte generated by Svelte v3.37.0 */
|
|
5684
|
-
const file$
|
|
5684
|
+
const file$6 = "../player-account-notifications/src/PlayerAccountNotifications.svelte";
|
|
5685
5685
|
|
|
5686
|
-
function get_each_context$
|
|
5686
|
+
function get_each_context$3(ctx, list, i) {
|
|
5687
5687
|
const child_ctx = ctx.slice();
|
|
5688
5688
|
child_ctx[9] = list[i];
|
|
5689
5689
|
return child_ctx;
|
|
@@ -5697,7 +5697,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5697
5697
|
let each_blocks = [];
|
|
5698
5698
|
|
|
5699
5699
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
5700
|
-
each_blocks[i] = create_each_block$
|
|
5700
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
|
5701
5701
|
}
|
|
5702
5702
|
|
|
5703
5703
|
const block = {
|
|
@@ -5714,7 +5714,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5714
5714
|
? "PlayerAccountNotificationsMobileContainer"
|
|
5715
5715
|
: ""));
|
|
5716
5716
|
|
|
5717
|
-
add_location(div, file$
|
|
5717
|
+
add_location(div, file$6, 46, 4, 1480);
|
|
5718
5718
|
},
|
|
5719
5719
|
m: function mount(target, anchor) {
|
|
5720
5720
|
insert_dev(target, div, anchor);
|
|
@@ -5730,12 +5730,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5730
5730
|
let i;
|
|
5731
5731
|
|
|
5732
5732
|
for (i = 0; i < each_value.length; i += 1) {
|
|
5733
|
-
const child_ctx = get_each_context$
|
|
5733
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
|
5734
5734
|
|
|
5735
5735
|
if (each_blocks[i]) {
|
|
5736
5736
|
each_blocks[i].p(child_ctx, dirty);
|
|
5737
5737
|
} else {
|
|
5738
|
-
each_blocks[i] = create_each_block$
|
|
5738
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
|
5739
5739
|
each_blocks[i].c();
|
|
5740
5740
|
each_blocks[i].m(div, null);
|
|
5741
5741
|
}
|
|
@@ -5766,14 +5766,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5766
5766
|
}
|
|
5767
5767
|
|
|
5768
5768
|
// (43:0) {#if isLoading}
|
|
5769
|
-
function create_if_block$
|
|
5769
|
+
function create_if_block$6(ctx) {
|
|
5770
5770
|
let div;
|
|
5771
5771
|
|
|
5772
5772
|
const block = {
|
|
5773
5773
|
c: function create() {
|
|
5774
5774
|
div = element("div");
|
|
5775
5775
|
attr_dev(div, "class", "ModalLoader");
|
|
5776
|
-
add_location(div, file$
|
|
5776
|
+
add_location(div, file$6, 43, 2, 1403);
|
|
5777
5777
|
},
|
|
5778
5778
|
m: function mount(target, anchor) {
|
|
5779
5779
|
insert_dev(target, div, anchor);
|
|
@@ -5786,7 +5786,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5786
5786
|
|
|
5787
5787
|
dispatch_dev("SvelteRegisterBlock", {
|
|
5788
5788
|
block,
|
|
5789
|
-
id: create_if_block$
|
|
5789
|
+
id: create_if_block$6.name,
|
|
5790
5790
|
type: "if",
|
|
5791
5791
|
source: "(43:0) {#if isLoading}",
|
|
5792
5792
|
ctx
|
|
@@ -5796,7 +5796,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5796
5796
|
}
|
|
5797
5797
|
|
|
5798
5798
|
// (48:6) {#each notificationsData as notification}
|
|
5799
|
-
function create_each_block$
|
|
5799
|
+
function create_each_block$3(ctx) {
|
|
5800
5800
|
let a;
|
|
5801
5801
|
let div;
|
|
5802
5802
|
let img;
|
|
@@ -5826,17 +5826,17 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5826
5826
|
attr_dev(img, "class", "PlayerAccountNotificationIcon");
|
|
5827
5827
|
if (img.src !== (img_src_value = /*notification*/ ctx[9].icon.icon)) attr_dev(img, "src", img_src_value);
|
|
5828
5828
|
attr_dev(img, "alt", img_alt_value = /*notification*/ ctx[9].title);
|
|
5829
|
-
add_location(img, file$
|
|
5829
|
+
add_location(img, file$6, 50, 12, 1924);
|
|
5830
5830
|
attr_dev(p0, "class", "PlayerAccountNotificationTitle");
|
|
5831
|
-
add_location(p0, file$
|
|
5831
|
+
add_location(p0, file$6, 51, 12, 2036);
|
|
5832
5832
|
attr_dev(div, "class", "PlayerAccountNotificationBoxHeader");
|
|
5833
|
-
add_location(div, file$
|
|
5833
|
+
add_location(div, file$6, 49, 10, 1863);
|
|
5834
5834
|
attr_dev(p1, "class", "PlayerAccountNotificationText");
|
|
5835
|
-
add_location(p1, file$
|
|
5835
|
+
add_location(p1, file$6, 53, 10, 2130);
|
|
5836
5836
|
attr_dev(a, "class", "PlayerAccountNotificationBox");
|
|
5837
5837
|
set_style(a, "background", /*notification*/ ctx[9].backgroundColor);
|
|
5838
5838
|
attr_dev(a, "href", a_href_value = /*notification*/ ctx[9].icon.link);
|
|
5839
|
-
add_location(a, file$
|
|
5839
|
+
add_location(a, file$6, 48, 8, 1731);
|
|
5840
5840
|
},
|
|
5841
5841
|
m: function mount(target, anchor) {
|
|
5842
5842
|
insert_dev(target, a, anchor);
|
|
@@ -5876,7 +5876,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5876
5876
|
|
|
5877
5877
|
dispatch_dev("SvelteRegisterBlock", {
|
|
5878
5878
|
block,
|
|
5879
|
-
id: create_each_block$
|
|
5879
|
+
id: create_each_block$3.name,
|
|
5880
5880
|
type: "each",
|
|
5881
5881
|
source: "(48:6) {#each notificationsData as notification}",
|
|
5882
5882
|
ctx
|
|
@@ -5885,11 +5885,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5885
5885
|
return block;
|
|
5886
5886
|
}
|
|
5887
5887
|
|
|
5888
|
-
function create_fragment$
|
|
5888
|
+
function create_fragment$6(ctx) {
|
|
5889
5889
|
let if_block_anchor;
|
|
5890
5890
|
|
|
5891
5891
|
function select_block_type(ctx, dirty) {
|
|
5892
|
-
if (/*isLoading*/ ctx[1]) return create_if_block$
|
|
5892
|
+
if (/*isLoading*/ ctx[1]) return create_if_block$6;
|
|
5893
5893
|
if (/*notificationsData*/ ctx[0].length) return create_if_block_1$3;
|
|
5894
5894
|
}
|
|
5895
5895
|
|
|
@@ -5935,7 +5935,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5935
5935
|
|
|
5936
5936
|
dispatch_dev("SvelteRegisterBlock", {
|
|
5937
5937
|
block,
|
|
5938
|
-
id: create_fragment$
|
|
5938
|
+
id: create_fragment$6.name,
|
|
5939
5939
|
type: "component",
|
|
5940
5940
|
source: "",
|
|
5941
5941
|
ctx
|
|
@@ -5944,7 +5944,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5944
5944
|
return block;
|
|
5945
5945
|
}
|
|
5946
5946
|
|
|
5947
|
-
function instance$
|
|
5947
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
5948
5948
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
5949
5949
|
validate_slots("undefined", slots, []);
|
|
5950
5950
|
let isLoading = false;
|
|
@@ -6042,8 +6042,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6042
6042
|
props: attribute_to_object(this.attributes),
|
|
6043
6043
|
customElement: true
|
|
6044
6044
|
},
|
|
6045
|
-
instance$
|
|
6046
|
-
create_fragment$
|
|
6045
|
+
instance$6,
|
|
6046
|
+
create_fragment$6,
|
|
6047
6047
|
safe_not_equal,
|
|
6048
6048
|
{ customnotif: 4 }
|
|
6049
6049
|
);
|
|
@@ -6084,9 +6084,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6084
6084
|
!customElements.get('player-account-notifications') && customElements.define('player-account-notifications', PlayerAccountNotifications);
|
|
6085
6085
|
|
|
6086
6086
|
/* ../player-profile-info/src/PlayerProfileInfo.svelte generated by Svelte v3.37.0 */
|
|
6087
|
-
const file$
|
|
6087
|
+
const file$5 = "../player-profile-info/src/PlayerProfileInfo.svelte";
|
|
6088
6088
|
|
|
6089
|
-
function get_each_context(ctx, list, i) {
|
|
6089
|
+
function get_each_context$2(ctx, list, i) {
|
|
6090
6090
|
const child_ctx = ctx.slice();
|
|
6091
6091
|
child_ctx[62] = list[i];
|
|
6092
6092
|
return child_ctx;
|
|
@@ -6222,7 +6222,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6222
6222
|
let each_blocks = [];
|
|
6223
6223
|
|
|
6224
6224
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
6225
|
-
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
|
6225
|
+
each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
|
|
6226
6226
|
}
|
|
6227
6227
|
|
|
6228
6228
|
const block = {
|
|
@@ -6361,111 +6361,111 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6361
6361
|
t59 = space();
|
|
6362
6362
|
div21 = element("div");
|
|
6363
6363
|
t60 = text("Cancel");
|
|
6364
|
-
add_location(h30, file$
|
|
6364
|
+
add_location(h30, file$5, 11304, 4, 328067);
|
|
6365
6365
|
attr_dev(div0, "class", "PlayerDetailsHeader");
|
|
6366
|
-
add_location(div0, file$
|
|
6367
|
-
add_location(label0, file$
|
|
6366
|
+
add_location(div0, file$5, 11303, 2, 328029);
|
|
6367
|
+
add_location(label0, file$5, 11308, 6, 328181);
|
|
6368
6368
|
attr_dev(input0, "type", "text");
|
|
6369
6369
|
attr_dev(input0, "class", "FieldDisabled");
|
|
6370
6370
|
input0.value = /*username*/ ctx[21];
|
|
6371
6371
|
input0.readOnly = true;
|
|
6372
|
-
add_location(input0, file$
|
|
6372
|
+
add_location(input0, file$5, 11309, 6, 328213);
|
|
6373
6373
|
attr_dev(div1, "class", "PlayerInfoBox");
|
|
6374
|
-
add_location(div1, file$
|
|
6375
|
-
add_location(label1, file$
|
|
6374
|
+
add_location(div1, file$5, 11307, 4, 328147);
|
|
6375
|
+
add_location(label1, file$5, 11312, 6, 328332);
|
|
6376
6376
|
if (/*playerPrefix*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[36].call(select));
|
|
6377
|
-
add_location(select, file$
|
|
6377
|
+
add_location(select, file$5, 11314, 8, 328400);
|
|
6378
6378
|
attr_dev(input1, "type", "text");
|
|
6379
6379
|
attr_dev(input1, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');");
|
|
6380
6380
|
attr_dev(input1, "placeholder", input1_placeholder_value = /*noPlayerData*/ ctx[0] ? /*mobile*/ ctx[16].number : "");
|
|
6381
|
-
add_location(input1, file$
|
|
6381
|
+
add_location(input1, file$5, 11323, 6, 328770);
|
|
6382
6382
|
attr_dev(div2, "class", "PlayerPhoneNumber");
|
|
6383
|
-
add_location(div2, file$
|
|
6383
|
+
add_location(div2, file$5, 11313, 6, 328360);
|
|
6384
6384
|
attr_dev(div3, "class", "PlayerInfoBox");
|
|
6385
|
-
add_location(div3, file$
|
|
6386
|
-
add_location(label2, file$
|
|
6385
|
+
add_location(div3, file$5, 11311, 4, 328298);
|
|
6386
|
+
add_location(label2, file$5, 11327, 6, 329079);
|
|
6387
6387
|
attr_dev(input2, "type", "email");
|
|
6388
6388
|
attr_dev(input2, "class", "FieldDisabled");
|
|
6389
6389
|
input2.value = /*email*/ ctx[17];
|
|
6390
6390
|
input2.readOnly = true;
|
|
6391
|
-
add_location(input2, file$
|
|
6391
|
+
add_location(input2, file$5, 11328, 6, 329107);
|
|
6392
6392
|
attr_dev(div4, "class", "PlayerInfoBox");
|
|
6393
|
-
add_location(div4, file$
|
|
6394
|
-
add_location(label3, file$
|
|
6393
|
+
add_location(div4, file$5, 11326, 4, 329045);
|
|
6394
|
+
add_location(label3, file$5, 11331, 6, 329224);
|
|
6395
6395
|
attr_dev(input3, "type", "text");
|
|
6396
6396
|
|
|
6397
6397
|
attr_dev(input3, "placeholder", input3_placeholder_value = /*noPlayerData*/ ctx[0]
|
|
6398
6398
|
? /*securityQuestion*/ ctx[30]
|
|
6399
6399
|
: "");
|
|
6400
6400
|
|
|
6401
|
-
add_location(input3, file$
|
|
6401
|
+
add_location(input3, file$5, 11332, 6, 329264);
|
|
6402
6402
|
attr_dev(div5, "class", "PlayerInfoBox");
|
|
6403
|
-
add_location(div5, file$
|
|
6404
|
-
add_location(label4, file$
|
|
6403
|
+
add_location(div5, file$5, 11330, 4, 329190);
|
|
6404
|
+
add_location(label4, file$5, 11335, 6, 329449);
|
|
6405
6405
|
attr_dev(input4, "type", "text");
|
|
6406
6406
|
attr_dev(input4, "class", "FieldDisabled");
|
|
6407
6407
|
input4.value = /*firstname*/ ctx[18];
|
|
6408
6408
|
input4.readOnly = true;
|
|
6409
|
-
add_location(input4, file$
|
|
6409
|
+
add_location(input4, file$5, 11336, 6, 329482);
|
|
6410
6410
|
attr_dev(div6, "class", "PlayerInfoBox");
|
|
6411
|
-
add_location(div6, file$
|
|
6412
|
-
add_location(label5, file$
|
|
6411
|
+
add_location(div6, file$5, 11334, 4, 329415);
|
|
6412
|
+
add_location(label5, file$5, 11339, 6, 329602);
|
|
6413
6413
|
attr_dev(input5, "type", "text");
|
|
6414
6414
|
|
|
6415
6415
|
attr_dev(input5, "placeholder", input5_placeholder_value = /*noPlayerData*/ ctx[0]
|
|
6416
6416
|
? /*securityAnswer*/ ctx[29]
|
|
6417
6417
|
: "");
|
|
6418
6418
|
|
|
6419
|
-
add_location(input5, file$
|
|
6419
|
+
add_location(input5, file$5, 11340, 6, 329640);
|
|
6420
6420
|
attr_dev(div7, "class", "PlayerInfoBox");
|
|
6421
|
-
add_location(div7, file$
|
|
6422
|
-
add_location(label6, file$
|
|
6421
|
+
add_location(div7, file$5, 11338, 4, 329568);
|
|
6422
|
+
add_location(label6, file$5, 11343, 6, 329821);
|
|
6423
6423
|
attr_dev(input6, "type", "text");
|
|
6424
6424
|
attr_dev(input6, "class", "FieldDisabled");
|
|
6425
6425
|
input6.value = /*lastname*/ ctx[20];
|
|
6426
6426
|
input6.readOnly = true;
|
|
6427
|
-
add_location(input6, file$
|
|
6427
|
+
add_location(input6, file$5, 11344, 6, 329853);
|
|
6428
6428
|
attr_dev(div8, "class", "PlayerInfoBox");
|
|
6429
|
-
add_location(div8, file$
|
|
6430
|
-
add_location(label7, file$
|
|
6429
|
+
add_location(div8, file$5, 11342, 4, 329787);
|
|
6430
|
+
add_location(label7, file$5, 11347, 6, 329972);
|
|
6431
6431
|
attr_dev(input7, "type", "text");
|
|
6432
6432
|
attr_dev(input7, "class", "FieldDisabled");
|
|
6433
6433
|
input7.value = /*birth*/ ctx[13];
|
|
6434
6434
|
input7.readOnly = true;
|
|
6435
|
-
add_location(input7, file$
|
|
6435
|
+
add_location(input7, file$5, 11348, 4, 330006);
|
|
6436
6436
|
attr_dev(div9, "class", "PlayerInfoBox");
|
|
6437
|
-
add_location(div9, file$
|
|
6438
|
-
add_location(label8, file$
|
|
6437
|
+
add_location(div9, file$5, 11346, 4, 329938);
|
|
6438
|
+
add_location(label8, file$5, 11351, 6, 330122);
|
|
6439
6439
|
attr_dev(input8, "type", "text");
|
|
6440
6440
|
attr_dev(input8, "class", "FieldDisabled");
|
|
6441
6441
|
input8.value = /*currency*/ ctx[15];
|
|
6442
6442
|
input8.readOnly = true;
|
|
6443
|
-
add_location(input8, file$
|
|
6443
|
+
add_location(input8, file$5, 11352, 6, 330153);
|
|
6444
6444
|
attr_dev(div10, "class", "PlayerInfoBox");
|
|
6445
|
-
add_location(div10, file$
|
|
6446
|
-
add_location(label9, file$
|
|
6445
|
+
add_location(div10, file$5, 11350, 4, 330088);
|
|
6446
|
+
add_location(label9, file$5, 11355, 6, 330272);
|
|
6447
6447
|
attr_dev(input9, "type", "text");
|
|
6448
6448
|
attr_dev(input9, "class", "FieldDisabled");
|
|
6449
6449
|
input9.value = /*gender*/ ctx[19];
|
|
6450
6450
|
input9.readOnly = true;
|
|
6451
|
-
add_location(input9, file$
|
|
6451
|
+
add_location(input9, file$5, 11356, 6, 330301);
|
|
6452
6452
|
attr_dev(div11, "class", "PlayerInfoBox");
|
|
6453
|
-
add_location(div11, file$
|
|
6453
|
+
add_location(div11, file$5, 11354, 4, 330238);
|
|
6454
6454
|
attr_dev(section0, "class", "PlayerDetailsContent");
|
|
6455
|
-
add_location(section0, file$
|
|
6456
|
-
add_location(h31, file$
|
|
6455
|
+
add_location(section0, file$5, 11306, 2, 328104);
|
|
6456
|
+
add_location(h31, file$5, 11361, 4, 330435);
|
|
6457
6457
|
attr_dev(div12, "class", "PlayerLocationHeader");
|
|
6458
|
-
add_location(div12, file$
|
|
6459
|
-
add_location(label10, file$
|
|
6458
|
+
add_location(div12, file$5, 11360, 2, 330396);
|
|
6459
|
+
add_location(label10, file$5, 11365, 6, 330550);
|
|
6460
6460
|
attr_dev(input10, "type", "text");
|
|
6461
6461
|
attr_dev(input10, "class", "PlayerCountry FieldDisabled");
|
|
6462
6462
|
attr_dev(input10, "placeholder", /*country*/ ctx[14]);
|
|
6463
6463
|
input10.value = input10_value_value = /*selectedCountry*/ ctx[11].name;
|
|
6464
6464
|
input10.readOnly = true;
|
|
6465
|
-
add_location(input10, file$
|
|
6465
|
+
add_location(input10, file$5, 11366, 6, 330580);
|
|
6466
6466
|
attr_dev(div13, "class", "PlayerInfoBox");
|
|
6467
|
-
add_location(div13, file$
|
|
6468
|
-
add_location(label11, file$
|
|
6467
|
+
add_location(div13, file$5, 11364, 4, 330516);
|
|
6468
|
+
add_location(label11, file$5, 11369, 6, 330747);
|
|
6469
6469
|
attr_dev(input11, "type", "text");
|
|
6470
6470
|
attr_dev(input11, "placeholder", input11_placeholder_value = /*noPlayerData*/ ctx[0] ? /*city*/ ctx[27] : "");
|
|
6471
6471
|
|
|
@@ -6473,10 +6473,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6473
6473
|
? ""
|
|
6474
6474
|
: /*initialValuesArray*/ ctx[12].city;
|
|
6475
6475
|
|
|
6476
|
-
add_location(input11, file$
|
|
6476
|
+
add_location(input11, file$5, 11370, 4, 330772);
|
|
6477
6477
|
attr_dev(div14, "class", "PlayerInfoBox");
|
|
6478
|
-
add_location(div14, file$
|
|
6479
|
-
add_location(label12, file$
|
|
6478
|
+
add_location(div14, file$5, 11368, 4, 330713);
|
|
6479
|
+
add_location(label12, file$5, 11373, 6, 330992);
|
|
6480
6480
|
attr_dev(input12, "placeholder", /*address1*/ ctx[26]);
|
|
6481
6481
|
attr_dev(input12, "type", "text");
|
|
6482
6482
|
|
|
@@ -6484,10 +6484,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6484
6484
|
? ""
|
|
6485
6485
|
: /*initialValuesArray*/ ctx[12].address;
|
|
6486
6486
|
|
|
6487
|
-
add_location(input12, file$
|
|
6487
|
+
add_location(input12, file$5, 11374, 4, 331020);
|
|
6488
6488
|
attr_dev(div15, "class", "PlayerInfoBox");
|
|
6489
|
-
add_location(div15, file$
|
|
6490
|
-
add_location(label13, file$
|
|
6489
|
+
add_location(div15, file$5, 11372, 4, 330958);
|
|
6490
|
+
add_location(label13, file$5, 11377, 6, 331230);
|
|
6491
6491
|
attr_dev(input13, "type", "number");
|
|
6492
6492
|
attr_dev(input13, "placeholder", input13_placeholder_value = /*noPlayerData*/ ctx[0] ? /*postalCode*/ ctx[28] : "");
|
|
6493
6493
|
|
|
@@ -6495,62 +6495,62 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6495
6495
|
? ""
|
|
6496
6496
|
: /*initialValuesArray*/ ctx[12].postalCode;
|
|
6497
6497
|
|
|
6498
|
-
add_location(input13, file$
|
|
6498
|
+
add_location(input13, file$5, 11378, 6, 331264);
|
|
6499
6499
|
attr_dev(div16, "class", "PlayerInfoBox");
|
|
6500
|
-
add_location(div16, file$
|
|
6500
|
+
add_location(div16, file$5, 11376, 4, 331196);
|
|
6501
6501
|
attr_dev(section1, "class", "PlayerLocationContent");
|
|
6502
|
-
add_location(section1, file$
|
|
6503
|
-
add_location(h32, file$
|
|
6502
|
+
add_location(section1, file$5, 11363, 2, 330472);
|
|
6503
|
+
add_location(h32, file$5, 11383, 4, 331526);
|
|
6504
6504
|
attr_dev(div17, "class", "PlayerNotificationsHeader");
|
|
6505
|
-
add_location(div17, file$
|
|
6505
|
+
add_location(div17, file$5, 11382, 2, 331482);
|
|
6506
6506
|
attr_dev(input14, "type", "checkbox");
|
|
6507
6507
|
attr_dev(input14, "id", "SMSNotification");
|
|
6508
6508
|
attr_dev(input14, "name", "Enable SMS notifications");
|
|
6509
|
-
add_location(input14, file$
|
|
6509
|
+
add_location(input14, file$5, 11388, 8, 331694);
|
|
6510
6510
|
attr_dev(span0, "class", "Checkmark");
|
|
6511
|
-
add_location(span0, file$
|
|
6512
|
-
add_location(span1, file$
|
|
6511
|
+
add_location(span0, file$5, 11389, 8, 331840);
|
|
6512
|
+
add_location(span1, file$5, 11390, 8, 331880);
|
|
6513
6513
|
attr_dev(label14, "for", "SMSNotification");
|
|
6514
|
-
add_location(label14, file$
|
|
6514
|
+
add_location(label14, file$5, 11387, 6, 331656);
|
|
6515
6515
|
attr_dev(div18, "class", "PlayerNotificationBox");
|
|
6516
|
-
add_location(div18, file$
|
|
6516
|
+
add_location(div18, file$5, 11386, 4, 331614);
|
|
6517
6517
|
attr_dev(input15, "type", "checkbox");
|
|
6518
6518
|
attr_dev(input15, "id", "EmailNotification");
|
|
6519
6519
|
attr_dev(input15, "name", "Enable Emails");
|
|
6520
|
-
add_location(input15, file$
|
|
6520
|
+
add_location(input15, file$5, 11395, 8, 332030);
|
|
6521
6521
|
attr_dev(span2, "class", "Checkmark");
|
|
6522
|
-
add_location(span2, file$
|
|
6523
|
-
add_location(span3, file$
|
|
6522
|
+
add_location(span2, file$5, 11396, 8, 332168);
|
|
6523
|
+
add_location(span3, file$5, 11397, 8, 332208);
|
|
6524
6524
|
attr_dev(label15, "for", "EmailNotification");
|
|
6525
|
-
add_location(label15, file$
|
|
6525
|
+
add_location(label15, file$5, 11394, 6, 331990);
|
|
6526
6526
|
attr_dev(div19, "class", "PlayerNotificationBox");
|
|
6527
|
-
add_location(div19, file$
|
|
6527
|
+
add_location(div19, file$5, 11393, 4, 331948);
|
|
6528
6528
|
attr_dev(section2, "class", "PlayerNotificationsCheckboxArea");
|
|
6529
|
-
add_location(section2, file$
|
|
6529
|
+
add_location(section2, file$5, 11385, 2, 331560);
|
|
6530
6530
|
|
|
6531
6531
|
attr_dev(div20, "class", div20_class_value = "PlayerDetailsSaveButton " + (/*differencesExist*/ ctx[10]
|
|
6532
6532
|
? ""
|
|
6533
6533
|
: "PlayerButtonDisabled"));
|
|
6534
6534
|
|
|
6535
|
-
add_location(div20, file$
|
|
6535
|
+
add_location(div20, file$5, 11402, 4, 332374);
|
|
6536
6536
|
|
|
6537
6537
|
attr_dev(div21, "class", div21_class_value = "PlayerDetailsCancelButton " + (/*differencesExist*/ ctx[10]
|
|
6538
6538
|
? ""
|
|
6539
6539
|
: "PlayerButtonDisabled"));
|
|
6540
6540
|
|
|
6541
|
-
add_location(div21, file$
|
|
6541
|
+
add_location(div21, file$5, 11403, 4, 332519);
|
|
6542
6542
|
|
|
6543
6543
|
attr_dev(section3, "class", "PlayerDetailsButtonsArea " + (/*isMobile*/ ctx[23]
|
|
6544
6544
|
? "PlayerDetailsButtonsAreaMobile"
|
|
6545
6545
|
: ""));
|
|
6546
6546
|
|
|
6547
|
-
add_location(section3, file$
|
|
6547
|
+
add_location(section3, file$5, 11401, 2, 332276);
|
|
6548
6548
|
|
|
6549
6549
|
attr_dev(form, "class", "PlayerInfoWrapper " + (/*isMobile*/ ctx[23] ? "PlayerInfoWrapperMobile" : "") + " " + (/*mediaQuery*/ ctx[24].matches && /*isMobile*/ ctx[23]
|
|
6550
6550
|
? "PlayerInfoWrapperTablet"
|
|
6551
6551
|
: ""));
|
|
6552
6552
|
|
|
6553
|
-
add_location(form, file$
|
|
6553
|
+
add_location(form, file$5, 11289, 0, 327120);
|
|
6554
6554
|
},
|
|
6555
6555
|
m: function mount(target, anchor) {
|
|
6556
6556
|
insert_dev(target, form, anchor);
|
|
@@ -6715,12 +6715,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6715
6715
|
let i;
|
|
6716
6716
|
|
|
6717
6717
|
for (i = 0; i < each_value.length; i += 1) {
|
|
6718
|
-
const child_ctx = get_each_context(ctx, each_value, i);
|
|
6718
|
+
const child_ctx = get_each_context$2(ctx, each_value, i);
|
|
6719
6719
|
|
|
6720
6720
|
if (each_blocks[i]) {
|
|
6721
6721
|
each_blocks[i].p(child_ctx, dirty);
|
|
6722
6722
|
} else {
|
|
6723
|
-
each_blocks[i] = create_each_block(child_ctx);
|
|
6723
|
+
each_blocks[i] = create_each_block$2(child_ctx);
|
|
6724
6724
|
each_blocks[i].c();
|
|
6725
6725
|
each_blocks[i].m(select, null);
|
|
6726
6726
|
}
|
|
@@ -6867,14 +6867,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6867
6867
|
}
|
|
6868
6868
|
|
|
6869
6869
|
// (11287:0) {#if isLoading}
|
|
6870
|
-
function create_if_block$
|
|
6870
|
+
function create_if_block$5(ctx) {
|
|
6871
6871
|
let div;
|
|
6872
6872
|
|
|
6873
6873
|
const block = {
|
|
6874
6874
|
c: function create() {
|
|
6875
6875
|
div = element("div");
|
|
6876
6876
|
attr_dev(div, "class", "ModalLoader");
|
|
6877
|
-
add_location(div, file$
|
|
6877
|
+
add_location(div, file$5, 11287, 2, 327080);
|
|
6878
6878
|
},
|
|
6879
6879
|
m: function mount(target, anchor) {
|
|
6880
6880
|
insert_dev(target, div, anchor);
|
|
@@ -6887,7 +6887,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6887
6887
|
|
|
6888
6888
|
dispatch_dev("SvelteRegisterBlock", {
|
|
6889
6889
|
block,
|
|
6890
|
-
id: create_if_block$
|
|
6890
|
+
id: create_if_block$5.name,
|
|
6891
6891
|
type: "if",
|
|
6892
6892
|
source: "(11287:0) {#if isLoading}",
|
|
6893
6893
|
ctx
|
|
@@ -6918,8 +6918,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6918
6918
|
span.textContent = "Return to menu";
|
|
6919
6919
|
attr_dev(path, "id", "Chevron_Right");
|
|
6920
6920
|
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");
|
|
6921
|
-
add_location(path, file$
|
|
6922
|
-
add_location(g, file$
|
|
6921
|
+
add_location(path, file$5, 11295, 10, 327639);
|
|
6922
|
+
add_location(g, file$5, 11294, 8, 327625);
|
|
6923
6923
|
attr_dev(svg, "version", "1.1");
|
|
6924
6924
|
attr_dev(svg, "id", "Capa_1");
|
|
6925
6925
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -6931,10 +6931,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6931
6931
|
attr_dev(svg, "xml:space", "preserve");
|
|
6932
6932
|
attr_dev(svg, "width", "18px");
|
|
6933
6933
|
attr_dev(svg, "fill", "#58586B");
|
|
6934
|
-
add_location(svg, file$
|
|
6935
|
-
add_location(span, file$
|
|
6934
|
+
add_location(svg, file$5, 11292, 6, 327353);
|
|
6935
|
+
add_location(span, file$5, 11300, 6, 327980);
|
|
6936
6936
|
attr_dev(div, "class", "MenuReturnButton");
|
|
6937
|
-
add_location(div, file$
|
|
6937
|
+
add_location(div, file$5, 11291, 4, 327284);
|
|
6938
6938
|
},
|
|
6939
6939
|
m: function mount(target, anchor) {
|
|
6940
6940
|
insert_dev(target, div, anchor);
|
|
@@ -6980,7 +6980,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6980
6980
|
t = text(t_value);
|
|
6981
6981
|
option.__value = /*pref*/ ctx[62].callingCode;
|
|
6982
6982
|
option.value = option.__value;
|
|
6983
|
-
add_location(option, file$
|
|
6983
|
+
add_location(option, file$5, 11319, 14, 328674);
|
|
6984
6984
|
},
|
|
6985
6985
|
m: function mount(target, anchor) {
|
|
6986
6986
|
insert_dev(target, option, anchor);
|
|
@@ -7016,7 +7016,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7016
7016
|
option.selected = true;
|
|
7017
7017
|
option.__value = /*pref*/ ctx[62].callingCode;
|
|
7018
7018
|
option.value = option.__value;
|
|
7019
|
-
add_location(option, file$
|
|
7019
|
+
add_location(option, file$5, 11317, 14, 328595);
|
|
7020
7020
|
},
|
|
7021
7021
|
m: function mount(target, anchor) {
|
|
7022
7022
|
insert_dev(target, option, anchor);
|
|
@@ -7040,7 +7040,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7040
7040
|
}
|
|
7041
7041
|
|
|
7042
7042
|
// (11316:10) {#each prefixesArray as pref}
|
|
7043
|
-
function create_each_block(ctx) {
|
|
7043
|
+
function create_each_block$2(ctx) {
|
|
7044
7044
|
let if_block_anchor;
|
|
7045
7045
|
|
|
7046
7046
|
function select_block_type_1(ctx, dirty) {
|
|
@@ -7081,7 +7081,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7081
7081
|
|
|
7082
7082
|
dispatch_dev("SvelteRegisterBlock", {
|
|
7083
7083
|
block,
|
|
7084
|
-
id: create_each_block.name,
|
|
7084
|
+
id: create_each_block$2.name,
|
|
7085
7085
|
type: "each",
|
|
7086
7086
|
source: "(11316:10) {#each prefixesArray as pref}",
|
|
7087
7087
|
ctx
|
|
@@ -7090,11 +7090,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7090
7090
|
return block;
|
|
7091
7091
|
}
|
|
7092
7092
|
|
|
7093
|
-
function create_fragment$
|
|
7093
|
+
function create_fragment$5(ctx) {
|
|
7094
7094
|
let if_block_anchor;
|
|
7095
7095
|
|
|
7096
7096
|
function select_block_type(ctx, dirty) {
|
|
7097
|
-
if (/*isLoading*/ ctx[22]) return create_if_block$
|
|
7097
|
+
if (/*isLoading*/ ctx[22]) return create_if_block$5;
|
|
7098
7098
|
return create_else_block$2;
|
|
7099
7099
|
}
|
|
7100
7100
|
|
|
@@ -7127,7 +7127,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7127
7127
|
|
|
7128
7128
|
dispatch_dev("SvelteRegisterBlock", {
|
|
7129
7129
|
block,
|
|
7130
|
-
id: create_fragment$
|
|
7130
|
+
id: create_fragment$5.name,
|
|
7131
7131
|
type: "component",
|
|
7132
7132
|
source: "",
|
|
7133
7133
|
ctx
|
|
@@ -7136,7 +7136,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7136
7136
|
return block;
|
|
7137
7137
|
}
|
|
7138
7138
|
|
|
7139
|
-
function instance$
|
|
7139
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
7140
7140
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
7141
7141
|
validate_slots("undefined", slots, []);
|
|
7142
7142
|
let isLoading = false;
|
|
@@ -19928,8 +19928,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19928
19928
|
props: attribute_to_object(this.attributes),
|
|
19929
19929
|
customElement: true
|
|
19930
19930
|
},
|
|
19931
|
-
instance$
|
|
19932
|
-
create_fragment$
|
|
19931
|
+
instance$5,
|
|
19932
|
+
create_fragment$5,
|
|
19933
19933
|
safe_not_equal,
|
|
19934
19934
|
{},
|
|
19935
19935
|
[-1, -1, -1]
|
|
@@ -19946,7 +19946,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19946
19946
|
!customElements.get('player-profile-info') && customElements.define('player-profile-info', PlayerProfileInfo);
|
|
19947
19947
|
|
|
19948
19948
|
/* ../player-change-password/src/PlayerChangePassword.svelte generated by Svelte v3.37.0 */
|
|
19949
|
-
const file$
|
|
19949
|
+
const file$4 = "../player-change-password/src/PlayerChangePassword.svelte";
|
|
19950
19950
|
|
|
19951
19951
|
// (114:0) {:else}
|
|
19952
19952
|
function create_else_block$1(ctx) {
|
|
@@ -19971,7 +19971,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19971
19971
|
? "PlayerChangePasswordWrapperTablet"
|
|
19972
19972
|
: ""));
|
|
19973
19973
|
|
|
19974
|
-
add_location(form, file$
|
|
19974
|
+
add_location(form, file$4, 114, 2, 3773);
|
|
19975
19975
|
},
|
|
19976
19976
|
m: function mount(target, anchor) {
|
|
19977
19977
|
insert_dev(target, form, anchor);
|
|
@@ -20008,14 +20008,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20008
20008
|
}
|
|
20009
20009
|
|
|
20010
20010
|
// (112:0) {#if isLoading}
|
|
20011
|
-
function create_if_block$
|
|
20011
|
+
function create_if_block$4(ctx) {
|
|
20012
20012
|
let div;
|
|
20013
20013
|
|
|
20014
20014
|
const block = {
|
|
20015
20015
|
c: function create() {
|
|
20016
20016
|
div = element("div");
|
|
20017
20017
|
attr_dev(div, "class", "ModalLoader");
|
|
20018
|
-
add_location(div, file$
|
|
20018
|
+
add_location(div, file$4, 112, 2, 3731);
|
|
20019
20019
|
},
|
|
20020
20020
|
m: function mount(target, anchor) {
|
|
20021
20021
|
insert_dev(target, div, anchor);
|
|
@@ -20028,7 +20028,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20028
20028
|
|
|
20029
20029
|
dispatch_dev("SvelteRegisterBlock", {
|
|
20030
20030
|
block,
|
|
20031
|
-
id: create_if_block$
|
|
20031
|
+
id: create_if_block$4.name,
|
|
20032
20032
|
type: "if",
|
|
20033
20033
|
source: "(112:0) {#if isLoading}",
|
|
20034
20034
|
ctx
|
|
@@ -20080,23 +20080,23 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20080
20080
|
t7 = space();
|
|
20081
20081
|
div5 = element("div");
|
|
20082
20082
|
div5.textContent = "Back to Casino";
|
|
20083
|
-
add_location(h30, file$
|
|
20083
|
+
add_location(h30, file$4, 196, 8, 17409);
|
|
20084
20084
|
attr_dev(div0, "class", "PlayerChangePasswordHeader");
|
|
20085
|
-
add_location(div0, file$
|
|
20085
|
+
add_location(div0, file$4, 195, 6, 17360);
|
|
20086
20086
|
attr_dev(div1, "class", "Checkmark");
|
|
20087
|
-
add_location(div1, file$
|
|
20087
|
+
add_location(div1, file$4, 201, 12, 17582);
|
|
20088
20088
|
attr_dev(div2, "class", "IconContainer");
|
|
20089
|
-
add_location(div2, file$
|
|
20090
|
-
add_location(h31, file$
|
|
20091
|
-
add_location(p, file$
|
|
20089
|
+
add_location(div2, file$4, 200, 10, 17542);
|
|
20090
|
+
add_location(h31, file$4, 204, 12, 17679);
|
|
20091
|
+
add_location(p, file$4, 205, 12, 17715);
|
|
20092
20092
|
attr_dev(div3, "class", "TextContainer");
|
|
20093
|
-
add_location(div3, file$
|
|
20093
|
+
add_location(div3, file$4, 203, 10, 17639);
|
|
20094
20094
|
attr_dev(div4, "class", "SuccessWrapper");
|
|
20095
|
-
add_location(div4, file$
|
|
20095
|
+
add_location(div4, file$4, 199, 8, 17503);
|
|
20096
20096
|
attr_dev(div5, "class", "PlayerChangePasswordBackButton");
|
|
20097
|
-
add_location(div5, file$
|
|
20097
|
+
add_location(div5, file$4, 208, 8, 17805);
|
|
20098
20098
|
attr_dev(div6, "class", "ChangedPasswordSuccessfully");
|
|
20099
|
-
add_location(div6, file$
|
|
20099
|
+
add_location(div6, file$4, 198, 6, 17453);
|
|
20100
20100
|
},
|
|
20101
20101
|
m: function mount(target, anchor) {
|
|
20102
20102
|
if (if_block) if_block.m(target, anchor);
|
|
@@ -20270,44 +20270,44 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20270
20270
|
t19 = space();
|
|
20271
20271
|
div5 = element("div");
|
|
20272
20272
|
t20 = text("Cancel");
|
|
20273
|
-
add_location(h3, file$
|
|
20273
|
+
add_location(h3, file$4, 130, 8, 4846);
|
|
20274
20274
|
attr_dev(div0, "class", "PlayerChangePasswordHeader");
|
|
20275
|
-
add_location(div0, file$
|
|
20275
|
+
add_location(div0, file$4, 129, 6, 4797);
|
|
20276
20276
|
attr_dev(label0, "for", "CurrentPassword");
|
|
20277
|
-
add_location(label0, file$
|
|
20277
|
+
add_location(label0, file$4, 135, 10, 5042);
|
|
20278
20278
|
attr_dev(input0, "id", "CurrentPassword");
|
|
20279
20279
|
attr_dev(input0, "type", "password");
|
|
20280
|
-
add_location(input0, file$
|
|
20280
|
+
add_location(input0, file$4, 136, 10, 5107);
|
|
20281
20281
|
attr_dev(div1, "class", div1_class_value = "PlayerChangePasswordBox " + (/*invalidCurrentPassword*/ ctx[2] ? "InvalidField" : ""));
|
|
20282
|
-
add_location(div1, file$
|
|
20282
|
+
add_location(div1, file$4, 134, 8, 4945);
|
|
20283
20283
|
attr_dev(label1, "for", "NewPassword");
|
|
20284
|
-
add_location(label1, file$
|
|
20284
|
+
add_location(label1, file$4, 147, 10, 8702);
|
|
20285
20285
|
attr_dev(input1, "id", "NewPassword");
|
|
20286
20286
|
attr_dev(input1, "type", "password");
|
|
20287
|
-
add_location(input1, file$
|
|
20287
|
+
add_location(input1, file$4, 148, 10, 8759);
|
|
20288
20288
|
attr_dev(div2, "class", div2_class_value = "PlayerChangePasswordBox " + (/*invalidNewPassword*/ ctx[3] ? "InvalidField" : ""));
|
|
20289
|
-
add_location(div2, file$
|
|
20289
|
+
add_location(div2, file$4, 146, 8, 8609);
|
|
20290
20290
|
attr_dev(label2, "for", "ConfirmPassword");
|
|
20291
|
-
add_location(label2, file$
|
|
20291
|
+
add_location(label2, file$4, 161, 10, 12453);
|
|
20292
20292
|
attr_dev(input2, "id", "ConfirmPassword");
|
|
20293
20293
|
attr_dev(input2, "type", "password");
|
|
20294
|
-
add_location(input2, file$
|
|
20294
|
+
add_location(input2, file$4, 162, 10, 12518);
|
|
20295
20295
|
attr_dev(div3, "class", div3_class_value = "PlayerChangePasswordBox " + (/*invalidConfirmPassword*/ ctx[4] ? "InvalidField" : ""));
|
|
20296
|
-
add_location(div3, file$
|
|
20296
|
+
add_location(div3, file$4, 160, 8, 12356);
|
|
20297
20297
|
attr_dev(section0, "class", "PlayerChangePasswordContent");
|
|
20298
|
-
add_location(section0, file$
|
|
20298
|
+
add_location(section0, file$4, 133, 6, 4891);
|
|
20299
20299
|
attr_dev(div4, "class", div4_class_value = "PlayerChangePasswordSaveButton " + (/*activateSubmit*/ ctx[1] ? "" : "ButtonInactive"));
|
|
20300
20300
|
attr_dev(div4, "disabled", div4_disabled_value = !/*activateSubmit*/ ctx[1]);
|
|
20301
|
-
add_location(div4, file$
|
|
20301
|
+
add_location(div4, file$4, 174, 8, 16042);
|
|
20302
20302
|
|
|
20303
20303
|
attr_dev(div5, "class", div5_class_value = "PlayerChangePasswordCancelButton " + (/*userCurrentPassword*/ ctx[12] || /*userNewPassword*/ ctx[13] || /*userConfirmPassword*/ ctx[14]
|
|
20304
20304
|
? ""
|
|
20305
20305
|
: "ButtonInactive"));
|
|
20306
20306
|
|
|
20307
20307
|
attr_dev(div5, "disabled", div5_disabled_value = !(/*userCurrentPassword*/ ctx[12] || /*userNewPassword*/ ctx[13] || /*userConfirmPassword*/ ctx[14]));
|
|
20308
|
-
add_location(div5, file$
|
|
20308
|
+
add_location(div5, file$4, 177, 8, 16237);
|
|
20309
20309
|
attr_dev(section1, "class", "PlayerChangePasswordButtonsArea");
|
|
20310
|
-
add_location(section1, file$
|
|
20310
|
+
add_location(section1, file$4, 173, 6, 15984);
|
|
20311
20311
|
},
|
|
20312
20312
|
m: function mount(target, anchor) {
|
|
20313
20313
|
if (if_block0) if_block0.m(target, anchor);
|
|
@@ -20571,8 +20571,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20571
20571
|
span.textContent = "Return to menu";
|
|
20572
20572
|
attr_dev(path, "id", "Chevron_Right");
|
|
20573
20573
|
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");
|
|
20574
|
-
add_location(path, file$
|
|
20575
|
-
add_location(g, file$
|
|
20574
|
+
add_location(path, file$4, 187, 14, 16938);
|
|
20575
|
+
add_location(g, file$4, 186, 12, 16920);
|
|
20576
20576
|
attr_dev(svg, "version", "1.1");
|
|
20577
20577
|
attr_dev(svg, "id", "Capa_1");
|
|
20578
20578
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -20584,10 +20584,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20584
20584
|
attr_dev(svg, "xml:space", "preserve");
|
|
20585
20585
|
attr_dev(svg, "width", "18px");
|
|
20586
20586
|
attr_dev(svg, "fill", "#58586B");
|
|
20587
|
-
add_location(svg, file$
|
|
20588
|
-
add_location(span, file$
|
|
20587
|
+
add_location(svg, file$4, 184, 10, 16640);
|
|
20588
|
+
add_location(span, file$4, 192, 10, 17299);
|
|
20589
20589
|
attr_dev(div, "class", "MenuReturnButton");
|
|
20590
|
-
add_location(div, file$
|
|
20590
|
+
add_location(div, file$4, 183, 8, 16567);
|
|
20591
20591
|
},
|
|
20592
20592
|
m: function mount(target, anchor) {
|
|
20593
20593
|
insert_dev(target, div, anchor);
|
|
@@ -20643,8 +20643,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20643
20643
|
span.textContent = "Return to menu";
|
|
20644
20644
|
attr_dev(path, "id", "Chevron_Right");
|
|
20645
20645
|
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");
|
|
20646
|
-
add_location(path, file$
|
|
20647
|
-
add_location(g, file$
|
|
20646
|
+
add_location(path, file$4, 121, 14, 4375);
|
|
20647
|
+
add_location(g, file$4, 120, 12, 4357);
|
|
20648
20648
|
attr_dev(svg, "version", "1.1");
|
|
20649
20649
|
attr_dev(svg, "id", "Capa_1");
|
|
20650
20650
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -20656,10 +20656,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20656
20656
|
attr_dev(svg, "xml:space", "preserve");
|
|
20657
20657
|
attr_dev(svg, "width", "18px");
|
|
20658
20658
|
attr_dev(svg, "fill", "#58586B");
|
|
20659
|
-
add_location(svg, file$
|
|
20660
|
-
add_location(span, file$
|
|
20659
|
+
add_location(svg, file$4, 118, 10, 4077);
|
|
20660
|
+
add_location(span, file$4, 126, 10, 4736);
|
|
20661
20661
|
attr_dev(div, "class", "MenuReturnButton");
|
|
20662
|
-
add_location(div, file$
|
|
20662
|
+
add_location(div, file$4, 117, 8, 4004);
|
|
20663
20663
|
},
|
|
20664
20664
|
m: function mount(target, anchor) {
|
|
20665
20665
|
insert_dev(target, div, anchor);
|
|
@@ -20715,26 +20715,26 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20715
20715
|
g = svg_element("g");
|
|
20716
20716
|
path = svg_element("path");
|
|
20717
20717
|
circle = svg_element("circle");
|
|
20718
|
-
add_location(style, file$
|
|
20719
|
-
add_location(defs, file$
|
|
20718
|
+
add_location(style, file$4, 140, 249, 7408);
|
|
20719
|
+
add_location(defs, file$4, 140, 243, 7402);
|
|
20720
20720
|
attr_dev(path, "class", "a");
|
|
20721
20721
|
attr_dev(path, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z");
|
|
20722
20722
|
attr_dev(path, "transform", "translate(0)");
|
|
20723
|
-
add_location(path, file$
|
|
20723
|
+
add_location(path, file$4, 140, 327, 7486);
|
|
20724
20724
|
attr_dev(circle, "class", "a");
|
|
20725
20725
|
attr_dev(circle, "cx", "2.779");
|
|
20726
20726
|
attr_dev(circle, "cy", "2.779");
|
|
20727
20727
|
attr_dev(circle, "r", "2.779");
|
|
20728
20728
|
attr_dev(circle, "transform", "translate(20.827 30.303)");
|
|
20729
|
-
add_location(circle, file$
|
|
20729
|
+
add_location(circle, file$4, 140, 1097, 8256);
|
|
20730
20730
|
attr_dev(g, "transform", "translate(-14.185 -27.832)");
|
|
20731
|
-
add_location(g, file$
|
|
20731
|
+
add_location(g, file$4, 140, 285, 7444);
|
|
20732
20732
|
attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidCurrentPassword*/ ctx[2] ? "InvalidToggle" : ""));
|
|
20733
20733
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
20734
20734
|
attr_dev(svg, "width", "18.843");
|
|
20735
20735
|
attr_dev(svg, "height", "10.5");
|
|
20736
20736
|
attr_dev(svg, "viewBox", "0 0 18.843 10.5");
|
|
20737
|
-
add_location(svg, file$
|
|
20737
|
+
add_location(svg, file$4, 140, 12, 7171);
|
|
20738
20738
|
},
|
|
20739
20739
|
m: function mount(target, anchor) {
|
|
20740
20740
|
insert_dev(target, svg, anchor);
|
|
@@ -20807,48 +20807,48 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20807
20807
|
path2 = svg_element("path");
|
|
20808
20808
|
path3 = svg_element("path");
|
|
20809
20809
|
rect = svg_element("rect");
|
|
20810
|
-
add_location(style, file$
|
|
20811
|
-
add_location(defs, file$
|
|
20810
|
+
add_location(style, file$4, 138, 253, 5630);
|
|
20811
|
+
add_location(defs, file$4, 138, 247, 5624);
|
|
20812
20812
|
attr_dev(circle, "class", "a");
|
|
20813
20813
|
attr_dev(circle, "cx", "0.05");
|
|
20814
20814
|
attr_dev(circle, "cy", "0.05");
|
|
20815
20815
|
attr_dev(circle, "r", "0.05");
|
|
20816
20816
|
attr_dev(circle, "transform", "translate(121.017 31.148)");
|
|
20817
|
-
add_location(circle, file$
|
|
20817
|
+
add_location(circle, file$4, 138, 332, 5709);
|
|
20818
20818
|
attr_dev(path0, "class", "a");
|
|
20819
20819
|
attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
|
|
20820
20820
|
attr_dev(path0, "transform", "translate(-142.164 -39.123)");
|
|
20821
|
-
add_location(path0, file$
|
|
20821
|
+
add_location(path0, file$4, 138, 458, 5835);
|
|
20822
20822
|
attr_dev(path1, "class", "a");
|
|
20823
20823
|
attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
|
|
20824
20824
|
attr_dev(path1, "transform", "translate(-136.413 -42.068)");
|
|
20825
|
-
add_location(path1, file$
|
|
20825
|
+
add_location(path1, file$4, 138, 566, 5943);
|
|
20826
20826
|
attr_dev(g0, "transform", "translate(117.499 27.37)");
|
|
20827
|
-
add_location(g0, file$
|
|
20827
|
+
add_location(g0, file$4, 138, 418, 5795);
|
|
20828
20828
|
attr_dev(path2, "class", "a");
|
|
20829
20829
|
attr_dev(path2, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z");
|
|
20830
20830
|
attr_dev(path2, "transform", "translate(-110.856 -33.157)");
|
|
20831
|
-
add_location(path2, file$
|
|
20831
|
+
add_location(path2, file$4, 138, 717, 6094);
|
|
20832
20832
|
attr_dev(path3, "class", "a");
|
|
20833
20833
|
attr_dev(path3, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z");
|
|
20834
20834
|
attr_dev(path3, "transform", "translate(-130.743 -29.617)");
|
|
20835
|
-
add_location(path3, file$
|
|
20835
|
+
add_location(path3, file$4, 138, 1176, 6553);
|
|
20836
20836
|
attr_dev(g1, "transform", "translate(110.856 24.899)");
|
|
20837
|
-
add_location(g1, file$
|
|
20837
|
+
add_location(g1, file$4, 138, 676, 6053);
|
|
20838
20838
|
attr_dev(rect, "class", "a");
|
|
20839
20839
|
attr_dev(rect, "width", "0.972");
|
|
20840
20840
|
attr_dev(rect, "height", "15.861");
|
|
20841
20841
|
attr_dev(rect, "rx", "0.486");
|
|
20842
20842
|
attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
|
|
20843
|
-
add_location(rect, file$
|
|
20843
|
+
add_location(rect, file$4, 138, 1641, 7018);
|
|
20844
20844
|
attr_dev(g2, "transform", "translate(-110.856 -23.242)");
|
|
20845
|
-
add_location(g2, file$
|
|
20845
|
+
add_location(g2, file$4, 138, 289, 5666);
|
|
20846
20846
|
attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidCurrentPassword*/ ctx[2] ? "InvalidToggle" : ""));
|
|
20847
20847
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
20848
20848
|
attr_dev(svg, "width", "18.844");
|
|
20849
20849
|
attr_dev(svg, "height", "12.887");
|
|
20850
20850
|
attr_dev(svg, "viewBox", "0 0 18.844 12.887");
|
|
20851
|
-
add_location(svg, file$
|
|
20851
|
+
add_location(svg, file$4, 138, 12, 5389);
|
|
20852
20852
|
},
|
|
20853
20853
|
m: function mount(target, anchor) {
|
|
20854
20854
|
insert_dev(target, svg, anchor);
|
|
@@ -20902,7 +20902,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20902
20902
|
p = element("p");
|
|
20903
20903
|
p.textContent = "The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.";
|
|
20904
20904
|
attr_dev(p, "class", "InvalidInput");
|
|
20905
|
-
add_location(p, file$
|
|
20905
|
+
add_location(p, file$4, 143, 12, 8422);
|
|
20906
20906
|
},
|
|
20907
20907
|
m: function mount(target, anchor) {
|
|
20908
20908
|
insert_dev(target, p, anchor);
|
|
@@ -20945,26 +20945,26 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20945
20945
|
g = svg_element("g");
|
|
20946
20946
|
path = svg_element("path");
|
|
20947
20947
|
circle = svg_element("circle");
|
|
20948
|
-
add_location(style, file$
|
|
20949
|
-
add_location(defs, file$
|
|
20948
|
+
add_location(style, file$4, 152, 241, 11016);
|
|
20949
|
+
add_location(defs, file$4, 152, 235, 11010);
|
|
20950
20950
|
attr_dev(path, "class", "a");
|
|
20951
20951
|
attr_dev(path, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z");
|
|
20952
20952
|
attr_dev(path, "transform", "translate(0)");
|
|
20953
|
-
add_location(path, file$
|
|
20953
|
+
add_location(path, file$4, 152, 319, 11094);
|
|
20954
20954
|
attr_dev(circle, "class", "a");
|
|
20955
20955
|
attr_dev(circle, "cx", "2.779");
|
|
20956
20956
|
attr_dev(circle, "cy", "2.779");
|
|
20957
20957
|
attr_dev(circle, "r", "2.779");
|
|
20958
20958
|
attr_dev(circle, "transform", "translate(20.827 30.303)");
|
|
20959
|
-
add_location(circle, file$
|
|
20959
|
+
add_location(circle, file$4, 152, 1089, 11864);
|
|
20960
20960
|
attr_dev(g, "transform", "translate(-14.185 -27.832)");
|
|
20961
|
-
add_location(g, file$
|
|
20961
|
+
add_location(g, file$4, 152, 277, 11052);
|
|
20962
20962
|
attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidNewPassword*/ ctx[3] ? "InvalidToggle" : ""));
|
|
20963
20963
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
20964
20964
|
attr_dev(svg, "width", "18.843");
|
|
20965
20965
|
attr_dev(svg, "height", "10.5");
|
|
20966
20966
|
attr_dev(svg, "viewBox", "0 0 18.843 10.5");
|
|
20967
|
-
add_location(svg, file$
|
|
20967
|
+
add_location(svg, file$4, 152, 12, 10787);
|
|
20968
20968
|
},
|
|
20969
20969
|
m: function mount(target, anchor) {
|
|
20970
20970
|
insert_dev(target, svg, anchor);
|
|
@@ -21037,48 +21037,48 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21037
21037
|
path2 = svg_element("path");
|
|
21038
21038
|
path3 = svg_element("path");
|
|
21039
21039
|
rect = svg_element("rect");
|
|
21040
|
-
add_location(style, file$
|
|
21041
|
-
add_location(defs, file$
|
|
21040
|
+
add_location(style, file$4, 150, 245, 9246);
|
|
21041
|
+
add_location(defs, file$4, 150, 239, 9240);
|
|
21042
21042
|
attr_dev(circle, "class", "a");
|
|
21043
21043
|
attr_dev(circle, "cx", "0.05");
|
|
21044
21044
|
attr_dev(circle, "cy", "0.05");
|
|
21045
21045
|
attr_dev(circle, "r", "0.05");
|
|
21046
21046
|
attr_dev(circle, "transform", "translate(121.017 31.148)");
|
|
21047
|
-
add_location(circle, file$
|
|
21047
|
+
add_location(circle, file$4, 150, 324, 9325);
|
|
21048
21048
|
attr_dev(path0, "class", "a");
|
|
21049
21049
|
attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
|
|
21050
21050
|
attr_dev(path0, "transform", "translate(-142.164 -39.123)");
|
|
21051
|
-
add_location(path0, file$
|
|
21051
|
+
add_location(path0, file$4, 150, 450, 9451);
|
|
21052
21052
|
attr_dev(path1, "class", "a");
|
|
21053
21053
|
attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
|
|
21054
21054
|
attr_dev(path1, "transform", "translate(-136.413 -42.068)");
|
|
21055
|
-
add_location(path1, file$
|
|
21055
|
+
add_location(path1, file$4, 150, 558, 9559);
|
|
21056
21056
|
attr_dev(g0, "transform", "translate(117.499 27.37)");
|
|
21057
|
-
add_location(g0, file$
|
|
21057
|
+
add_location(g0, file$4, 150, 410, 9411);
|
|
21058
21058
|
attr_dev(path2, "class", "a");
|
|
21059
21059
|
attr_dev(path2, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z");
|
|
21060
21060
|
attr_dev(path2, "transform", "translate(-110.856 -33.157)");
|
|
21061
|
-
add_location(path2, file$
|
|
21061
|
+
add_location(path2, file$4, 150, 709, 9710);
|
|
21062
21062
|
attr_dev(path3, "class", "a");
|
|
21063
21063
|
attr_dev(path3, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z");
|
|
21064
21064
|
attr_dev(path3, "transform", "translate(-130.743 -29.617)");
|
|
21065
|
-
add_location(path3, file$
|
|
21065
|
+
add_location(path3, file$4, 150, 1168, 10169);
|
|
21066
21066
|
attr_dev(g1, "transform", "translate(110.856 24.899)");
|
|
21067
|
-
add_location(g1, file$
|
|
21067
|
+
add_location(g1, file$4, 150, 668, 9669);
|
|
21068
21068
|
attr_dev(rect, "class", "a");
|
|
21069
21069
|
attr_dev(rect, "width", "0.972");
|
|
21070
21070
|
attr_dev(rect, "height", "15.861");
|
|
21071
21071
|
attr_dev(rect, "rx", "0.486");
|
|
21072
21072
|
attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
|
|
21073
|
-
add_location(rect, file$
|
|
21073
|
+
add_location(rect, file$4, 150, 1633, 10634);
|
|
21074
21074
|
attr_dev(g2, "transform", "translate(-110.856 -23.242)");
|
|
21075
|
-
add_location(g2, file$
|
|
21075
|
+
add_location(g2, file$4, 150, 281, 9282);
|
|
21076
21076
|
attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidNewPassword*/ ctx[3] ? "InvalidToggle" : ""));
|
|
21077
21077
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
21078
21078
|
attr_dev(svg, "width", "18.844");
|
|
21079
21079
|
attr_dev(svg, "height", "12.887");
|
|
21080
21080
|
attr_dev(svg, "viewBox", "0 0 18.844 12.887");
|
|
21081
|
-
add_location(svg, file$
|
|
21081
|
+
add_location(svg, file$4, 150, 12, 9013);
|
|
21082
21082
|
},
|
|
21083
21083
|
m: function mount(target, anchor) {
|
|
21084
21084
|
insert_dev(target, svg, anchor);
|
|
@@ -21132,7 +21132,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21132
21132
|
p = element("p");
|
|
21133
21133
|
p.textContent = "The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.";
|
|
21134
21134
|
attr_dev(p, "class", "InvalidInput");
|
|
21135
|
-
add_location(p, file$
|
|
21135
|
+
add_location(p, file$4, 157, 12, 12169);
|
|
21136
21136
|
},
|
|
21137
21137
|
m: function mount(target, anchor) {
|
|
21138
21138
|
insert_dev(target, p, anchor);
|
|
@@ -21162,7 +21162,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21162
21162
|
p = element("p");
|
|
21163
21163
|
p.textContent = "The new password must be different from the old password.";
|
|
21164
21164
|
attr_dev(p, "class", "InvalidInputNew");
|
|
21165
|
-
add_location(p, file$
|
|
21165
|
+
add_location(p, file$4, 155, 12, 12028);
|
|
21166
21166
|
},
|
|
21167
21167
|
m: function mount(target, anchor) {
|
|
21168
21168
|
insert_dev(target, p, anchor);
|
|
@@ -21205,26 +21205,26 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21205
21205
|
g = svg_element("g");
|
|
21206
21206
|
path = svg_element("path");
|
|
21207
21207
|
circle = svg_element("circle");
|
|
21208
|
-
add_location(style, file$
|
|
21209
|
-
add_location(defs, file$
|
|
21208
|
+
add_location(style, file$4, 166, 249, 14819);
|
|
21209
|
+
add_location(defs, file$4, 166, 243, 14813);
|
|
21210
21210
|
attr_dev(path, "class", "a");
|
|
21211
21211
|
attr_dev(path, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z");
|
|
21212
21212
|
attr_dev(path, "transform", "translate(0)");
|
|
21213
|
-
add_location(path, file$
|
|
21213
|
+
add_location(path, file$4, 166, 327, 14897);
|
|
21214
21214
|
attr_dev(circle, "class", "a");
|
|
21215
21215
|
attr_dev(circle, "cx", "2.779");
|
|
21216
21216
|
attr_dev(circle, "cy", "2.779");
|
|
21217
21217
|
attr_dev(circle, "r", "2.779");
|
|
21218
21218
|
attr_dev(circle, "transform", "translate(20.827 30.303)");
|
|
21219
|
-
add_location(circle, file$
|
|
21219
|
+
add_location(circle, file$4, 166, 1097, 15667);
|
|
21220
21220
|
attr_dev(g, "transform", "translate(-14.185 -27.832)");
|
|
21221
|
-
add_location(g, file$
|
|
21221
|
+
add_location(g, file$4, 166, 285, 14855);
|
|
21222
21222
|
attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidConfirmPassword*/ ctx[4] ? "InvalidToggle" : ""));
|
|
21223
21223
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
21224
21224
|
attr_dev(svg, "width", "18.843");
|
|
21225
21225
|
attr_dev(svg, "height", "10.5");
|
|
21226
21226
|
attr_dev(svg, "viewBox", "0 0 18.843 10.5");
|
|
21227
|
-
add_location(svg, file$
|
|
21227
|
+
add_location(svg, file$4, 166, 12, 14582);
|
|
21228
21228
|
},
|
|
21229
21229
|
m: function mount(target, anchor) {
|
|
21230
21230
|
insert_dev(target, svg, anchor);
|
|
@@ -21297,48 +21297,48 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21297
21297
|
path2 = svg_element("path");
|
|
21298
21298
|
path3 = svg_element("path");
|
|
21299
21299
|
rect = svg_element("rect");
|
|
21300
|
-
add_location(style, file$
|
|
21301
|
-
add_location(defs, file$
|
|
21300
|
+
add_location(style, file$4, 164, 253, 13041);
|
|
21301
|
+
add_location(defs, file$4, 164, 247, 13035);
|
|
21302
21302
|
attr_dev(circle, "class", "a");
|
|
21303
21303
|
attr_dev(circle, "cx", "0.05");
|
|
21304
21304
|
attr_dev(circle, "cy", "0.05");
|
|
21305
21305
|
attr_dev(circle, "r", "0.05");
|
|
21306
21306
|
attr_dev(circle, "transform", "translate(121.017 31.148)");
|
|
21307
|
-
add_location(circle, file$
|
|
21307
|
+
add_location(circle, file$4, 164, 332, 13120);
|
|
21308
21308
|
attr_dev(path0, "class", "a");
|
|
21309
21309
|
attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
|
|
21310
21310
|
attr_dev(path0, "transform", "translate(-142.164 -39.123)");
|
|
21311
|
-
add_location(path0, file$
|
|
21311
|
+
add_location(path0, file$4, 164, 458, 13246);
|
|
21312
21312
|
attr_dev(path1, "class", "a");
|
|
21313
21313
|
attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
|
|
21314
21314
|
attr_dev(path1, "transform", "translate(-136.413 -42.068)");
|
|
21315
|
-
add_location(path1, file$
|
|
21315
|
+
add_location(path1, file$4, 164, 566, 13354);
|
|
21316
21316
|
attr_dev(g0, "transform", "translate(117.499 27.37)");
|
|
21317
|
-
add_location(g0, file$
|
|
21317
|
+
add_location(g0, file$4, 164, 418, 13206);
|
|
21318
21318
|
attr_dev(path2, "class", "a");
|
|
21319
21319
|
attr_dev(path2, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z");
|
|
21320
21320
|
attr_dev(path2, "transform", "translate(-110.856 -33.157)");
|
|
21321
|
-
add_location(path2, file$
|
|
21321
|
+
add_location(path2, file$4, 164, 717, 13505);
|
|
21322
21322
|
attr_dev(path3, "class", "a");
|
|
21323
21323
|
attr_dev(path3, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z");
|
|
21324
21324
|
attr_dev(path3, "transform", "translate(-130.743 -29.617)");
|
|
21325
|
-
add_location(path3, file$
|
|
21325
|
+
add_location(path3, file$4, 164, 1176, 13964);
|
|
21326
21326
|
attr_dev(g1, "transform", "translate(110.856 24.899)");
|
|
21327
|
-
add_location(g1, file$
|
|
21327
|
+
add_location(g1, file$4, 164, 676, 13464);
|
|
21328
21328
|
attr_dev(rect, "class", "a");
|
|
21329
21329
|
attr_dev(rect, "width", "0.972");
|
|
21330
21330
|
attr_dev(rect, "height", "15.861");
|
|
21331
21331
|
attr_dev(rect, "rx", "0.486");
|
|
21332
21332
|
attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
|
|
21333
|
-
add_location(rect, file$
|
|
21333
|
+
add_location(rect, file$4, 164, 1641, 14429);
|
|
21334
21334
|
attr_dev(g2, "transform", "translate(-110.856 -23.242)");
|
|
21335
|
-
add_location(g2, file$
|
|
21335
|
+
add_location(g2, file$4, 164, 289, 13077);
|
|
21336
21336
|
attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidConfirmPassword*/ ctx[4] ? "InvalidToggle" : ""));
|
|
21337
21337
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
21338
21338
|
attr_dev(svg, "width", "18.844");
|
|
21339
21339
|
attr_dev(svg, "height", "12.887");
|
|
21340
21340
|
attr_dev(svg, "viewBox", "0 0 18.844 12.887");
|
|
21341
|
-
add_location(svg, file$
|
|
21341
|
+
add_location(svg, file$4, 164, 12, 12800);
|
|
21342
21342
|
},
|
|
21343
21343
|
m: function mount(target, anchor) {
|
|
21344
21344
|
insert_dev(target, svg, anchor);
|
|
@@ -21392,7 +21392,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21392
21392
|
p = element("p");
|
|
21393
21393
|
p.textContent = "Password must match the new password and must follow the same rules.";
|
|
21394
21394
|
attr_dev(p, "class", "InvalidInput");
|
|
21395
|
-
add_location(p, file$
|
|
21395
|
+
add_location(p, file$4, 169, 12, 15833);
|
|
21396
21396
|
},
|
|
21397
21397
|
m: function mount(target, anchor) {
|
|
21398
21398
|
insert_dev(target, p, anchor);
|
|
@@ -21413,11 +21413,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21413
21413
|
return block;
|
|
21414
21414
|
}
|
|
21415
21415
|
|
|
21416
|
-
function create_fragment$
|
|
21416
|
+
function create_fragment$4(ctx) {
|
|
21417
21417
|
let if_block_anchor;
|
|
21418
21418
|
|
|
21419
21419
|
function select_block_type(ctx, dirty) {
|
|
21420
|
-
if (/*isLoading*/ ctx[15]) return create_if_block$
|
|
21420
|
+
if (/*isLoading*/ ctx[15]) return create_if_block$4;
|
|
21421
21421
|
return create_else_block$1;
|
|
21422
21422
|
}
|
|
21423
21423
|
|
|
@@ -21450,7 +21450,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21450
21450
|
|
|
21451
21451
|
dispatch_dev("SvelteRegisterBlock", {
|
|
21452
21452
|
block,
|
|
21453
|
-
id: create_fragment$
|
|
21453
|
+
id: create_fragment$4.name,
|
|
21454
21454
|
type: "component",
|
|
21455
21455
|
source: "",
|
|
21456
21456
|
ctx
|
|
@@ -21459,7 +21459,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21459
21459
|
return block;
|
|
21460
21460
|
}
|
|
21461
21461
|
|
|
21462
|
-
function instance$
|
|
21462
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
21463
21463
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
21464
21464
|
validate_slots("undefined", slots, []);
|
|
21465
21465
|
let isLoading = false;
|
|
@@ -21763,8 +21763,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21763
21763
|
props: attribute_to_object(this.attributes),
|
|
21764
21764
|
customElement: true
|
|
21765
21765
|
},
|
|
21766
|
-
instance$
|
|
21767
|
-
create_fragment$
|
|
21766
|
+
instance$4,
|
|
21767
|
+
create_fragment$4,
|
|
21768
21768
|
safe_not_equal,
|
|
21769
21769
|
{},
|
|
21770
21770
|
[-1, -1]
|
|
@@ -21780,6 +21780,1039 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21780
21780
|
|
|
21781
21781
|
!customElements.get('player-change-password') && customElements.define('player-change-password', PlayerChangePassword);
|
|
21782
21782
|
|
|
21783
|
+
/* ../player-reality-check/src/PlayerRealityCheck.svelte generated by Svelte v3.37.0 */
|
|
21784
|
+
const file$3 = "../player-reality-check/src/PlayerRealityCheck.svelte";
|
|
21785
|
+
|
|
21786
|
+
function get_each_context$1(ctx, list, i) {
|
|
21787
|
+
const child_ctx = ctx.slice();
|
|
21788
|
+
child_ctx[8] = list[i].value;
|
|
21789
|
+
child_ctx[9] = list[i].text;
|
|
21790
|
+
child_ctx[11] = i;
|
|
21791
|
+
return child_ctx;
|
|
21792
|
+
}
|
|
21793
|
+
|
|
21794
|
+
// (23:6) {#if isMobile}
|
|
21795
|
+
function create_if_block$3(ctx) {
|
|
21796
|
+
let div;
|
|
21797
|
+
let svg;
|
|
21798
|
+
let g;
|
|
21799
|
+
let path;
|
|
21800
|
+
let t0;
|
|
21801
|
+
let span;
|
|
21802
|
+
let mounted;
|
|
21803
|
+
let dispose;
|
|
21804
|
+
|
|
21805
|
+
const block = {
|
|
21806
|
+
c: function create() {
|
|
21807
|
+
div = element("div");
|
|
21808
|
+
svg = svg_element("svg");
|
|
21809
|
+
g = svg_element("g");
|
|
21810
|
+
path = svg_element("path");
|
|
21811
|
+
t0 = space();
|
|
21812
|
+
span = element("span");
|
|
21813
|
+
span.textContent = "Return to menu";
|
|
21814
|
+
attr_dev(path, "id", "Chevron_Right");
|
|
21815
|
+
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");
|
|
21816
|
+
add_location(path, file$3, 27, 14, 1225);
|
|
21817
|
+
add_location(g, file$3, 26, 12, 1207);
|
|
21818
|
+
attr_dev(svg, "version", "1.1");
|
|
21819
|
+
attr_dev(svg, "id", "Capa_1");
|
|
21820
|
+
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
21821
|
+
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
21822
|
+
attr_dev(svg, "x", "0px");
|
|
21823
|
+
attr_dev(svg, "y", "0px");
|
|
21824
|
+
attr_dev(svg, "viewBox", "0 0 240.823 240.823");
|
|
21825
|
+
set_style(svg, "enable-background", "new 0 0 240.823 240.823");
|
|
21826
|
+
attr_dev(svg, "xml:space", "preserve");
|
|
21827
|
+
attr_dev(svg, "width", "18px");
|
|
21828
|
+
attr_dev(svg, "fill", "#58586B");
|
|
21829
|
+
add_location(svg, file$3, 24, 10, 924);
|
|
21830
|
+
add_location(span, file$3, 32, 10, 1586);
|
|
21831
|
+
attr_dev(div, "class", "MenuReturnButton");
|
|
21832
|
+
add_location(div, file$3, 23, 8, 851);
|
|
21833
|
+
},
|
|
21834
|
+
m: function mount(target, anchor) {
|
|
21835
|
+
insert_dev(target, div, anchor);
|
|
21836
|
+
append_dev(div, svg);
|
|
21837
|
+
append_dev(svg, g);
|
|
21838
|
+
append_dev(g, path);
|
|
21839
|
+
append_dev(div, t0);
|
|
21840
|
+
append_dev(div, span);
|
|
21841
|
+
|
|
21842
|
+
if (!mounted) {
|
|
21843
|
+
dispose = listen_dev(div, "click", /*click_handler*/ ctx[4], false, false, false);
|
|
21844
|
+
mounted = true;
|
|
21845
|
+
}
|
|
21846
|
+
},
|
|
21847
|
+
p: noop$1,
|
|
21848
|
+
d: function destroy(detaching) {
|
|
21849
|
+
if (detaching) detach_dev(div);
|
|
21850
|
+
mounted = false;
|
|
21851
|
+
dispose();
|
|
21852
|
+
}
|
|
21853
|
+
};
|
|
21854
|
+
|
|
21855
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
21856
|
+
block,
|
|
21857
|
+
id: create_if_block$3.name,
|
|
21858
|
+
type: "if",
|
|
21859
|
+
source: "(23:6) {#if isMobile}",
|
|
21860
|
+
ctx
|
|
21861
|
+
});
|
|
21862
|
+
|
|
21863
|
+
return block;
|
|
21864
|
+
}
|
|
21865
|
+
|
|
21866
|
+
// (42:10) {#each options as {value, text}
|
|
21867
|
+
function create_each_block$1(ctx) {
|
|
21868
|
+
let div;
|
|
21869
|
+
let input;
|
|
21870
|
+
let t0;
|
|
21871
|
+
let label;
|
|
21872
|
+
let t1_value = /*text*/ ctx[9] + "";
|
|
21873
|
+
let t1;
|
|
21874
|
+
let t2;
|
|
21875
|
+
let mounted;
|
|
21876
|
+
let dispose;
|
|
21877
|
+
|
|
21878
|
+
const block = {
|
|
21879
|
+
c: function create() {
|
|
21880
|
+
div = element("div");
|
|
21881
|
+
input = element("input");
|
|
21882
|
+
t0 = space();
|
|
21883
|
+
label = element("label");
|
|
21884
|
+
t1 = text(t1_value);
|
|
21885
|
+
t2 = space();
|
|
21886
|
+
attr_dev(input, "type", "radio");
|
|
21887
|
+
attr_dev(input, "id", /*value*/ ctx[8]);
|
|
21888
|
+
input.__value = /*value*/ ctx[8];
|
|
21889
|
+
input.value = input.__value;
|
|
21890
|
+
/*$$binding_groups*/ ctx[6][0].push(input);
|
|
21891
|
+
add_location(input, file$3, 43, 14, 2291);
|
|
21892
|
+
attr_dev(label, "for", /*value*/ ctx[8]);
|
|
21893
|
+
add_location(label, file$3, 44, 14, 2372);
|
|
21894
|
+
add_location(div, file$3, 42, 12, 2271);
|
|
21895
|
+
},
|
|
21896
|
+
m: function mount(target, anchor) {
|
|
21897
|
+
insert_dev(target, div, anchor);
|
|
21898
|
+
append_dev(div, input);
|
|
21899
|
+
input.checked = input.__value === /*frequency*/ ctx[0];
|
|
21900
|
+
append_dev(div, t0);
|
|
21901
|
+
append_dev(div, label);
|
|
21902
|
+
append_dev(label, t1);
|
|
21903
|
+
append_dev(div, t2);
|
|
21904
|
+
|
|
21905
|
+
if (!mounted) {
|
|
21906
|
+
dispose = listen_dev(input, "change", /*input_change_handler*/ ctx[5]);
|
|
21907
|
+
mounted = true;
|
|
21908
|
+
}
|
|
21909
|
+
},
|
|
21910
|
+
p: function update(ctx, dirty) {
|
|
21911
|
+
if (dirty & /*frequency*/ 1) {
|
|
21912
|
+
input.checked = input.__value === /*frequency*/ ctx[0];
|
|
21913
|
+
}
|
|
21914
|
+
},
|
|
21915
|
+
d: function destroy(detaching) {
|
|
21916
|
+
if (detaching) detach_dev(div);
|
|
21917
|
+
/*$$binding_groups*/ ctx[6][0].splice(/*$$binding_groups*/ ctx[6][0].indexOf(input), 1);
|
|
21918
|
+
mounted = false;
|
|
21919
|
+
dispose();
|
|
21920
|
+
}
|
|
21921
|
+
};
|
|
21922
|
+
|
|
21923
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
21924
|
+
block,
|
|
21925
|
+
id: create_each_block$1.name,
|
|
21926
|
+
type: "each",
|
|
21927
|
+
source: "(42:10) {#each options as {value, text}",
|
|
21928
|
+
ctx
|
|
21929
|
+
});
|
|
21930
|
+
|
|
21931
|
+
return block;
|
|
21932
|
+
}
|
|
21933
|
+
|
|
21934
|
+
function create_fragment$3(ctx) {
|
|
21935
|
+
let div2;
|
|
21936
|
+
let t0;
|
|
21937
|
+
let h2;
|
|
21938
|
+
let t1;
|
|
21939
|
+
let t2;
|
|
21940
|
+
let div0;
|
|
21941
|
+
let p;
|
|
21942
|
+
let t3;
|
|
21943
|
+
let br0;
|
|
21944
|
+
let br1;
|
|
21945
|
+
let t4;
|
|
21946
|
+
let t5;
|
|
21947
|
+
let form;
|
|
21948
|
+
let t6;
|
|
21949
|
+
let div1;
|
|
21950
|
+
let button;
|
|
21951
|
+
let if_block = /*isMobile*/ ctx[1] && create_if_block$3(ctx);
|
|
21952
|
+
let each_value = /*options*/ ctx[2];
|
|
21953
|
+
validate_each_argument(each_value);
|
|
21954
|
+
let each_blocks = [];
|
|
21955
|
+
|
|
21956
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
21957
|
+
each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));
|
|
21958
|
+
}
|
|
21959
|
+
|
|
21960
|
+
const block = {
|
|
21961
|
+
c: function create() {
|
|
21962
|
+
div2 = element("div");
|
|
21963
|
+
if (if_block) if_block.c();
|
|
21964
|
+
t0 = space();
|
|
21965
|
+
h2 = element("h2");
|
|
21966
|
+
t1 = text("Reality Check");
|
|
21967
|
+
t2 = space();
|
|
21968
|
+
div0 = element("div");
|
|
21969
|
+
p = element("p");
|
|
21970
|
+
t3 = text("The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began.");
|
|
21971
|
+
br0 = element("br");
|
|
21972
|
+
br1 = element("br");
|
|
21973
|
+
t4 = text("\n You are able to control the frequency at which the Reality Check will appear on your screen.");
|
|
21974
|
+
t5 = space();
|
|
21975
|
+
form = element("form");
|
|
21976
|
+
|
|
21977
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
21978
|
+
each_blocks[i].c();
|
|
21979
|
+
}
|
|
21980
|
+
|
|
21981
|
+
t6 = space();
|
|
21982
|
+
div1 = element("div");
|
|
21983
|
+
button = element("button");
|
|
21984
|
+
button.textContent = "Set frequency";
|
|
21985
|
+
this.c = noop$1;
|
|
21986
|
+
attr_dev(h2, "class", "RealityCheckTitle " + (/*isMobile*/ ctx[1] ? "RealityCheckTitleMobile" : ""));
|
|
21987
|
+
add_location(h2, file$3, 36, 4, 1646);
|
|
21988
|
+
add_location(br0, file$3, 38, 227, 2060);
|
|
21989
|
+
add_location(br1, file$3, 38, 231, 2064);
|
|
21990
|
+
add_location(p, file$3, 38, 8, 1841);
|
|
21991
|
+
attr_dev(form, "class", "customRadio");
|
|
21992
|
+
add_location(form, file$3, 40, 8, 2184);
|
|
21993
|
+
|
|
21994
|
+
attr_dev(div0, "class", "RealityCheckDescription " + (/*isMobile*/ ctx[1]
|
|
21995
|
+
? "RealityCheckDescriptionMobile"
|
|
21996
|
+
: ""));
|
|
21997
|
+
|
|
21998
|
+
add_location(div0, file$3, 37, 6, 1745);
|
|
21999
|
+
attr_dev(button, "class", "PlayerRealityCheckButton");
|
|
22000
|
+
add_location(button, file$3, 50, 8, 2520);
|
|
22001
|
+
attr_dev(div1, "class", "BottomButtonsArea");
|
|
22002
|
+
add_location(div1, file$3, 49, 6, 2480);
|
|
22003
|
+
|
|
22004
|
+
attr_dev(div2, "class", "PlayerRealityCheckWrapper " + (/*isMobile*/ ctx[1]
|
|
22005
|
+
? "PlayerRealityCheckWrapperMobile"
|
|
22006
|
+
: ""));
|
|
22007
|
+
|
|
22008
|
+
add_location(div2, file$3, 21, 2, 728);
|
|
22009
|
+
},
|
|
22010
|
+
l: function claim(nodes) {
|
|
22011
|
+
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
22012
|
+
},
|
|
22013
|
+
m: function mount(target, anchor) {
|
|
22014
|
+
insert_dev(target, div2, anchor);
|
|
22015
|
+
if (if_block) if_block.m(div2, null);
|
|
22016
|
+
append_dev(div2, t0);
|
|
22017
|
+
append_dev(div2, h2);
|
|
22018
|
+
append_dev(h2, t1);
|
|
22019
|
+
append_dev(div2, t2);
|
|
22020
|
+
append_dev(div2, div0);
|
|
22021
|
+
append_dev(div0, p);
|
|
22022
|
+
append_dev(p, t3);
|
|
22023
|
+
append_dev(p, br0);
|
|
22024
|
+
append_dev(p, br1);
|
|
22025
|
+
append_dev(p, t4);
|
|
22026
|
+
append_dev(div0, t5);
|
|
22027
|
+
append_dev(div0, form);
|
|
22028
|
+
|
|
22029
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
22030
|
+
each_blocks[i].m(form, null);
|
|
22031
|
+
}
|
|
22032
|
+
|
|
22033
|
+
append_dev(div2, t6);
|
|
22034
|
+
append_dev(div2, div1);
|
|
22035
|
+
append_dev(div1, button);
|
|
22036
|
+
},
|
|
22037
|
+
p: function update(ctx, [dirty]) {
|
|
22038
|
+
if (/*isMobile*/ ctx[1]) if_block.p(ctx, dirty);
|
|
22039
|
+
|
|
22040
|
+
if (dirty & /*options, frequency*/ 5) {
|
|
22041
|
+
each_value = /*options*/ ctx[2];
|
|
22042
|
+
validate_each_argument(each_value);
|
|
22043
|
+
let i;
|
|
22044
|
+
|
|
22045
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
22046
|
+
const child_ctx = get_each_context$1(ctx, each_value, i);
|
|
22047
|
+
|
|
22048
|
+
if (each_blocks[i]) {
|
|
22049
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
22050
|
+
} else {
|
|
22051
|
+
each_blocks[i] = create_each_block$1(child_ctx);
|
|
22052
|
+
each_blocks[i].c();
|
|
22053
|
+
each_blocks[i].m(form, null);
|
|
22054
|
+
}
|
|
22055
|
+
}
|
|
22056
|
+
|
|
22057
|
+
for (; i < each_blocks.length; i += 1) {
|
|
22058
|
+
each_blocks[i].d(1);
|
|
22059
|
+
}
|
|
22060
|
+
|
|
22061
|
+
each_blocks.length = each_value.length;
|
|
22062
|
+
}
|
|
22063
|
+
},
|
|
22064
|
+
i: noop$1,
|
|
22065
|
+
o: noop$1,
|
|
22066
|
+
d: function destroy(detaching) {
|
|
22067
|
+
if (detaching) detach_dev(div2);
|
|
22068
|
+
if (if_block) if_block.d();
|
|
22069
|
+
destroy_each(each_blocks, detaching);
|
|
22070
|
+
}
|
|
22071
|
+
};
|
|
22072
|
+
|
|
22073
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
22074
|
+
block,
|
|
22075
|
+
id: create_fragment$3.name,
|
|
22076
|
+
type: "component",
|
|
22077
|
+
source: "",
|
|
22078
|
+
ctx
|
|
22079
|
+
});
|
|
22080
|
+
|
|
22081
|
+
return block;
|
|
22082
|
+
}
|
|
22083
|
+
|
|
22084
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
22085
|
+
let { $$slots: slots = {}, $$scope } = $$props;
|
|
22086
|
+
validate_slots("undefined", slots, []);
|
|
22087
|
+
let userAgent = window.navigator.userAgent;
|
|
22088
|
+
let isMobile = getDevice(userAgent) === "PC" ? false : true;
|
|
22089
|
+
let frequency = "never";
|
|
22090
|
+
|
|
22091
|
+
let options = [
|
|
22092
|
+
{ value: "never", text: "Never" },
|
|
22093
|
+
{ value: "oneHour", text: "1 Hour" },
|
|
22094
|
+
{ value: "twoHours", text: "2 Hours" },
|
|
22095
|
+
{ value: "threeHours", text: "3 Hours" },
|
|
22096
|
+
{ value: "fourHours", text: "4 Hours" }
|
|
22097
|
+
];
|
|
22098
|
+
|
|
22099
|
+
//TODO: this should be used when api will be done
|
|
22100
|
+
// const submitFrequency = () => {
|
|
22101
|
+
// window.postMessage({ type: '' }, window.location.href);
|
|
22102
|
+
// }
|
|
22103
|
+
const toggleScreen = () => {
|
|
22104
|
+
window.postMessage({ type: "ReturnToMenu" }, window.location.href);
|
|
22105
|
+
};
|
|
22106
|
+
|
|
22107
|
+
const writable_props = [];
|
|
22108
|
+
|
|
22109
|
+
Object.keys($$props).forEach(key => {
|
|
22110
|
+
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
22111
|
+
});
|
|
22112
|
+
|
|
22113
|
+
const $$binding_groups = [[]];
|
|
22114
|
+
const click_handler = () => toggleScreen();
|
|
22115
|
+
|
|
22116
|
+
function input_change_handler() {
|
|
22117
|
+
frequency = this.__value;
|
|
22118
|
+
$$invalidate(0, frequency);
|
|
22119
|
+
}
|
|
22120
|
+
|
|
22121
|
+
$$self.$capture_state = () => ({
|
|
22122
|
+
getDevice,
|
|
22123
|
+
userAgent,
|
|
22124
|
+
isMobile,
|
|
22125
|
+
frequency,
|
|
22126
|
+
options,
|
|
22127
|
+
toggleScreen
|
|
22128
|
+
});
|
|
22129
|
+
|
|
22130
|
+
$$self.$inject_state = $$props => {
|
|
22131
|
+
if ("userAgent" in $$props) userAgent = $$props.userAgent;
|
|
22132
|
+
if ("isMobile" in $$props) $$invalidate(1, isMobile = $$props.isMobile);
|
|
22133
|
+
if ("frequency" in $$props) $$invalidate(0, frequency = $$props.frequency);
|
|
22134
|
+
if ("options" in $$props) $$invalidate(2, options = $$props.options);
|
|
22135
|
+
};
|
|
22136
|
+
|
|
22137
|
+
if ($$props && "$$inject" in $$props) {
|
|
22138
|
+
$$self.$inject_state($$props.$$inject);
|
|
22139
|
+
}
|
|
22140
|
+
|
|
22141
|
+
return [
|
|
22142
|
+
frequency,
|
|
22143
|
+
isMobile,
|
|
22144
|
+
options,
|
|
22145
|
+
toggleScreen,
|
|
22146
|
+
click_handler,
|
|
22147
|
+
input_change_handler,
|
|
22148
|
+
$$binding_groups
|
|
22149
|
+
];
|
|
22150
|
+
}
|
|
22151
|
+
|
|
22152
|
+
class PlayerRealityCheck extends SvelteElement {
|
|
22153
|
+
constructor(options) {
|
|
22154
|
+
super();
|
|
22155
|
+
this.shadowRoot.innerHTML = `<style>.customRadio{margin-top:30px}.customRadio div{margin:0 0 30px}.customRadio input[type="radio"]{position:absolute;left:-9999px}.customRadio input[type="radio"]+label{position:relative;padding:3px 0 0 40px;cursor:pointer}.customRadio input[type="radio"]+label:before{content:'';background:#fff;border:1px solid #707070;height:20px;width:20px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type="radio"]+label:after{content:'';background:#d0046c;width:18px;height:18px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type="radio"]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:#58586B;line-height:24px}.PlayerRealityCheckWrapper{color:#58586B;padding:50px;max-width:760px;line-height:24px}.RealityCheckTitle{font-size:26px;color:#D0046C;font-weight:400}.RealityCheckTitle.RealityCheckTitleMobile{font-size:14px}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton{background:transparent;border:1px solid #58586B}.PlayerRealityCheckButton{background:#D0046C;border:1px solid #D0046C}.PlayerRealityCheckWrapperMobile{background:#fff;height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;height:100%}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.PlayerRealityCheckWrapperTablet .MenuReturnButton span{font-size:20px}</style>`;
|
|
22156
|
+
|
|
22157
|
+
init(
|
|
22158
|
+
this,
|
|
22159
|
+
{
|
|
22160
|
+
target: this.shadowRoot,
|
|
22161
|
+
props: attribute_to_object(this.attributes),
|
|
22162
|
+
customElement: true
|
|
22163
|
+
},
|
|
22164
|
+
instance$3,
|
|
22165
|
+
create_fragment$3,
|
|
22166
|
+
safe_not_equal,
|
|
22167
|
+
{}
|
|
22168
|
+
);
|
|
22169
|
+
|
|
22170
|
+
if (options) {
|
|
22171
|
+
if (options.target) {
|
|
22172
|
+
insert_dev(options.target, this, options.anchor);
|
|
22173
|
+
}
|
|
22174
|
+
}
|
|
22175
|
+
}
|
|
22176
|
+
}
|
|
22177
|
+
|
|
22178
|
+
!customElements.get('player-reality-check') && customElements.define('player-reality-check', PlayerRealityCheck);
|
|
22179
|
+
|
|
22180
|
+
/* ../player-account-timeout/src/PlayerAccountTimeout.svelte generated by Svelte v3.37.0 */
|
|
22181
|
+
const file$2 = "../player-account-timeout/src/PlayerAccountTimeout.svelte";
|
|
22182
|
+
|
|
22183
|
+
function get_each_context(ctx, list, i) {
|
|
22184
|
+
const child_ctx = ctx.slice();
|
|
22185
|
+
child_ctx[9] = list[i].value;
|
|
22186
|
+
child_ctx[10] = list[i].text;
|
|
22187
|
+
return child_ctx;
|
|
22188
|
+
}
|
|
22189
|
+
|
|
22190
|
+
// (21:2) {#if isMobile}
|
|
22191
|
+
function create_if_block$2(ctx) {
|
|
22192
|
+
let div;
|
|
22193
|
+
let svg;
|
|
22194
|
+
let g;
|
|
22195
|
+
let path;
|
|
22196
|
+
let t0;
|
|
22197
|
+
let span;
|
|
22198
|
+
let mounted;
|
|
22199
|
+
let dispose;
|
|
22200
|
+
|
|
22201
|
+
const block = {
|
|
22202
|
+
c: function create() {
|
|
22203
|
+
div = element("div");
|
|
22204
|
+
svg = svg_element("svg");
|
|
22205
|
+
g = svg_element("g");
|
|
22206
|
+
path = svg_element("path");
|
|
22207
|
+
t0 = space();
|
|
22208
|
+
span = element("span");
|
|
22209
|
+
span.textContent = "Return to menu";
|
|
22210
|
+
attr_dev(path, "id", "Chevron_Right");
|
|
22211
|
+
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");
|
|
22212
|
+
add_location(path, file$2, 25, 10, 1178);
|
|
22213
|
+
add_location(g, file$2, 24, 8, 1164);
|
|
22214
|
+
attr_dev(svg, "version", "1.1");
|
|
22215
|
+
attr_dev(svg, "id", "Capa_1");
|
|
22216
|
+
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
22217
|
+
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
22218
|
+
attr_dev(svg, "x", "0px");
|
|
22219
|
+
attr_dev(svg, "y", "0px");
|
|
22220
|
+
attr_dev(svg, "viewBox", "0 0 240.823 240.823");
|
|
22221
|
+
set_style(svg, "enable-background", "new 0 0 240.823 240.823");
|
|
22222
|
+
attr_dev(svg, "xml:space", "preserve");
|
|
22223
|
+
attr_dev(svg, "width", "18px");
|
|
22224
|
+
attr_dev(svg, "fill", "#58586B");
|
|
22225
|
+
add_location(svg, file$2, 22, 6, 889);
|
|
22226
|
+
add_location(span, file$2, 30, 6, 1519);
|
|
22227
|
+
attr_dev(div, "class", "MenuReturnButton");
|
|
22228
|
+
add_location(div, file$2, 21, 4, 820);
|
|
22229
|
+
},
|
|
22230
|
+
m: function mount(target, anchor) {
|
|
22231
|
+
insert_dev(target, div, anchor);
|
|
22232
|
+
append_dev(div, svg);
|
|
22233
|
+
append_dev(svg, g);
|
|
22234
|
+
append_dev(g, path);
|
|
22235
|
+
append_dev(div, t0);
|
|
22236
|
+
append_dev(div, span);
|
|
22237
|
+
|
|
22238
|
+
if (!mounted) {
|
|
22239
|
+
dispose = listen_dev(div, "click", /*click_handler*/ ctx[5], false, false, false);
|
|
22240
|
+
mounted = true;
|
|
22241
|
+
}
|
|
22242
|
+
},
|
|
22243
|
+
p: noop$1,
|
|
22244
|
+
d: function destroy(detaching) {
|
|
22245
|
+
if (detaching) detach_dev(div);
|
|
22246
|
+
mounted = false;
|
|
22247
|
+
dispose();
|
|
22248
|
+
}
|
|
22249
|
+
};
|
|
22250
|
+
|
|
22251
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
22252
|
+
block,
|
|
22253
|
+
id: create_if_block$2.name,
|
|
22254
|
+
type: "if",
|
|
22255
|
+
source: "(21:2) {#if isMobile}",
|
|
22256
|
+
ctx
|
|
22257
|
+
});
|
|
22258
|
+
|
|
22259
|
+
return block;
|
|
22260
|
+
}
|
|
22261
|
+
|
|
22262
|
+
// (41:6) {#each timeoutOptions as {value, text}}
|
|
22263
|
+
function create_each_block(ctx) {
|
|
22264
|
+
let option;
|
|
22265
|
+
let t_value = /*text*/ ctx[10] + "";
|
|
22266
|
+
let t;
|
|
22267
|
+
|
|
22268
|
+
const block = {
|
|
22269
|
+
c: function create() {
|
|
22270
|
+
option = element("option");
|
|
22271
|
+
t = text(t_value);
|
|
22272
|
+
option.__value = /*value*/ ctx[9];
|
|
22273
|
+
option.value = option.__value;
|
|
22274
|
+
add_location(option, file$2, 41, 8, 2435);
|
|
22275
|
+
},
|
|
22276
|
+
m: function mount(target, anchor) {
|
|
22277
|
+
insert_dev(target, option, anchor);
|
|
22278
|
+
append_dev(option, t);
|
|
22279
|
+
},
|
|
22280
|
+
p: noop$1,
|
|
22281
|
+
d: function destroy(detaching) {
|
|
22282
|
+
if (detaching) detach_dev(option);
|
|
22283
|
+
}
|
|
22284
|
+
};
|
|
22285
|
+
|
|
22286
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
22287
|
+
block,
|
|
22288
|
+
id: create_each_block.name,
|
|
22289
|
+
type: "each",
|
|
22290
|
+
source: "(41:6) {#each timeoutOptions as {value, text}}",
|
|
22291
|
+
ctx
|
|
22292
|
+
});
|
|
22293
|
+
|
|
22294
|
+
return block;
|
|
22295
|
+
}
|
|
22296
|
+
|
|
22297
|
+
function create_fragment$2(ctx) {
|
|
22298
|
+
let div3;
|
|
22299
|
+
let t0;
|
|
22300
|
+
let h2;
|
|
22301
|
+
let t1;
|
|
22302
|
+
let t2;
|
|
22303
|
+
let div0;
|
|
22304
|
+
let p0;
|
|
22305
|
+
let t4;
|
|
22306
|
+
let p1;
|
|
22307
|
+
let t6;
|
|
22308
|
+
let div1;
|
|
22309
|
+
let select;
|
|
22310
|
+
let t7;
|
|
22311
|
+
let div2;
|
|
22312
|
+
let button;
|
|
22313
|
+
let mounted;
|
|
22314
|
+
let dispose;
|
|
22315
|
+
let if_block = /*isMobile*/ ctx[1] && create_if_block$2(ctx);
|
|
22316
|
+
let each_value = /*timeoutOptions*/ ctx[2];
|
|
22317
|
+
validate_each_argument(each_value);
|
|
22318
|
+
let each_blocks = [];
|
|
22319
|
+
|
|
22320
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
22321
|
+
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
|
22322
|
+
}
|
|
22323
|
+
|
|
22324
|
+
const block = {
|
|
22325
|
+
c: function create() {
|
|
22326
|
+
div3 = element("div");
|
|
22327
|
+
if (if_block) if_block.c();
|
|
22328
|
+
t0 = space();
|
|
22329
|
+
h2 = element("h2");
|
|
22330
|
+
t1 = text("Timeout");
|
|
22331
|
+
t2 = space();
|
|
22332
|
+
div0 = element("div");
|
|
22333
|
+
p0 = element("p");
|
|
22334
|
+
p0.textContent = "Everymatrix provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.";
|
|
22335
|
+
t4 = space();
|
|
22336
|
+
p1 = element("p");
|
|
22337
|
+
p1.textContent = "Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under \"Responsible Gaming\" and use the \"Self-exclusion service\" or contact us as soon as possible.";
|
|
22338
|
+
t6 = space();
|
|
22339
|
+
div1 = element("div");
|
|
22340
|
+
select = element("select");
|
|
22341
|
+
|
|
22342
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
22343
|
+
each_blocks[i].c();
|
|
22344
|
+
}
|
|
22345
|
+
|
|
22346
|
+
t7 = space();
|
|
22347
|
+
div2 = element("div");
|
|
22348
|
+
button = element("button");
|
|
22349
|
+
button.textContent = "Save";
|
|
22350
|
+
this.c = noop$1;
|
|
22351
|
+
attr_dev(h2, "class", "TimeoutTitle " + (/*isMobile*/ ctx[1] ? "TimeoutTitleMobile" : ""));
|
|
22352
|
+
add_location(h2, file$2, 33, 2, 1568);
|
|
22353
|
+
add_location(p0, file$2, 35, 4, 1729);
|
|
22354
|
+
add_location(p1, file$2, 36, 4, 1951);
|
|
22355
|
+
attr_dev(div0, "class", "TimeoutDescription " + (/*isMobile*/ ctx[1] ? "TimeoutDescriptionMobile" : ""));
|
|
22356
|
+
add_location(div0, file$2, 34, 2, 1647);
|
|
22357
|
+
attr_dev(select, "class", "TimeoutSelect " + (/*isMobile*/ ctx[1] ? "TimeoutSelectMobile" : ""));
|
|
22358
|
+
if (/*timeoutSelected*/ ctx[0] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[6].call(select));
|
|
22359
|
+
add_location(select, file$2, 39, 4, 2281);
|
|
22360
|
+
attr_dev(div1, "class", "TimeoutSelectWrapper");
|
|
22361
|
+
add_location(div1, file$2, 38, 2, 2242);
|
|
22362
|
+
attr_dev(button, "class", "TimeoutSave");
|
|
22363
|
+
add_location(button, file$2, 46, 4, 2598);
|
|
22364
|
+
attr_dev(div2, "class", "TimeoutActionButtons " + (/*isMobile*/ ctx[1] ? "TimeoutActionButtonsMobile" : ""));
|
|
22365
|
+
add_location(div2, file$2, 45, 2, 2512);
|
|
22366
|
+
attr_dev(div3, "class", "TimeoutWrapper " + (/*isMobile*/ ctx[1] ? "TimeoutWrapperMobile" : ""));
|
|
22367
|
+
add_location(div3, file$2, 19, 0, 729);
|
|
22368
|
+
},
|
|
22369
|
+
l: function claim(nodes) {
|
|
22370
|
+
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
22371
|
+
},
|
|
22372
|
+
m: function mount(target, anchor) {
|
|
22373
|
+
insert_dev(target, div3, anchor);
|
|
22374
|
+
if (if_block) if_block.m(div3, null);
|
|
22375
|
+
append_dev(div3, t0);
|
|
22376
|
+
append_dev(div3, h2);
|
|
22377
|
+
append_dev(h2, t1);
|
|
22378
|
+
append_dev(div3, t2);
|
|
22379
|
+
append_dev(div3, div0);
|
|
22380
|
+
append_dev(div0, p0);
|
|
22381
|
+
append_dev(div0, t4);
|
|
22382
|
+
append_dev(div0, p1);
|
|
22383
|
+
append_dev(div3, t6);
|
|
22384
|
+
append_dev(div3, div1);
|
|
22385
|
+
append_dev(div1, select);
|
|
22386
|
+
|
|
22387
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
22388
|
+
each_blocks[i].m(select, null);
|
|
22389
|
+
}
|
|
22390
|
+
|
|
22391
|
+
select_option(select, /*timeoutSelected*/ ctx[0]);
|
|
22392
|
+
append_dev(div3, t7);
|
|
22393
|
+
append_dev(div3, div2);
|
|
22394
|
+
append_dev(div2, button);
|
|
22395
|
+
|
|
22396
|
+
if (!mounted) {
|
|
22397
|
+
dispose = [
|
|
22398
|
+
listen_dev(select, "change", /*select_change_handler*/ ctx[6]),
|
|
22399
|
+
listen_dev(button, "click", /*click_handler_1*/ ctx[7], false, false, false)
|
|
22400
|
+
];
|
|
22401
|
+
|
|
22402
|
+
mounted = true;
|
|
22403
|
+
}
|
|
22404
|
+
},
|
|
22405
|
+
p: function update(ctx, [dirty]) {
|
|
22406
|
+
if (/*isMobile*/ ctx[1]) if_block.p(ctx, dirty);
|
|
22407
|
+
|
|
22408
|
+
if (dirty & /*timeoutOptions*/ 4) {
|
|
22409
|
+
each_value = /*timeoutOptions*/ ctx[2];
|
|
22410
|
+
validate_each_argument(each_value);
|
|
22411
|
+
let i;
|
|
22412
|
+
|
|
22413
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
22414
|
+
const child_ctx = get_each_context(ctx, each_value, i);
|
|
22415
|
+
|
|
22416
|
+
if (each_blocks[i]) {
|
|
22417
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
22418
|
+
} else {
|
|
22419
|
+
each_blocks[i] = create_each_block(child_ctx);
|
|
22420
|
+
each_blocks[i].c();
|
|
22421
|
+
each_blocks[i].m(select, null);
|
|
22422
|
+
}
|
|
22423
|
+
}
|
|
22424
|
+
|
|
22425
|
+
for (; i < each_blocks.length; i += 1) {
|
|
22426
|
+
each_blocks[i].d(1);
|
|
22427
|
+
}
|
|
22428
|
+
|
|
22429
|
+
each_blocks.length = each_value.length;
|
|
22430
|
+
}
|
|
22431
|
+
|
|
22432
|
+
if (dirty & /*timeoutSelected, timeoutOptions*/ 5) {
|
|
22433
|
+
select_option(select, /*timeoutSelected*/ ctx[0]);
|
|
22434
|
+
}
|
|
22435
|
+
},
|
|
22436
|
+
i: noop$1,
|
|
22437
|
+
o: noop$1,
|
|
22438
|
+
d: function destroy(detaching) {
|
|
22439
|
+
if (detaching) detach_dev(div3);
|
|
22440
|
+
if (if_block) if_block.d();
|
|
22441
|
+
destroy_each(each_blocks, detaching);
|
|
22442
|
+
mounted = false;
|
|
22443
|
+
run_all(dispose);
|
|
22444
|
+
}
|
|
22445
|
+
};
|
|
22446
|
+
|
|
22447
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
22448
|
+
block,
|
|
22449
|
+
id: create_fragment$2.name,
|
|
22450
|
+
type: "component",
|
|
22451
|
+
source: "",
|
|
22452
|
+
ctx
|
|
22453
|
+
});
|
|
22454
|
+
|
|
22455
|
+
return block;
|
|
22456
|
+
}
|
|
22457
|
+
|
|
22458
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
22459
|
+
let { $$slots: slots = {}, $$scope } = $$props;
|
|
22460
|
+
validate_slots("undefined", slots, []);
|
|
22461
|
+
let userAgent = window.navigator.userAgent;
|
|
22462
|
+
let isMobile = getDevice(userAgent) === "PC" ? false : true;
|
|
22463
|
+
|
|
22464
|
+
let timeoutOptions = [
|
|
22465
|
+
{
|
|
22466
|
+
value: "CoolOffFor24Hours",
|
|
22467
|
+
text: "24 hours"
|
|
22468
|
+
},
|
|
22469
|
+
{ value: "CoolOffFor7Days", text: "7 days" },
|
|
22470
|
+
{
|
|
22471
|
+
value: "CoolOffFor30Days",
|
|
22472
|
+
text: "30 days"
|
|
22473
|
+
},
|
|
22474
|
+
{
|
|
22475
|
+
value: "CoolOffFor3Months",
|
|
22476
|
+
text: "3 months"
|
|
22477
|
+
}
|
|
22478
|
+
];
|
|
22479
|
+
|
|
22480
|
+
let timeoutSelected = timeoutOptions[0].value;
|
|
22481
|
+
|
|
22482
|
+
const saveTimeout = () => {
|
|
22483
|
+
window.postMessage(
|
|
22484
|
+
{
|
|
22485
|
+
type: "SetPlayerAccountTimeout",
|
|
22486
|
+
timeoutSelected
|
|
22487
|
+
},
|
|
22488
|
+
window.location.href
|
|
22489
|
+
);
|
|
22490
|
+
};
|
|
22491
|
+
|
|
22492
|
+
const toggleScreen = () => {
|
|
22493
|
+
window.postMessage({ type: "ReturnToMenu" }, window.location.href);
|
|
22494
|
+
};
|
|
22495
|
+
|
|
22496
|
+
const writable_props = [];
|
|
22497
|
+
|
|
22498
|
+
Object.keys($$props).forEach(key => {
|
|
22499
|
+
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
22500
|
+
});
|
|
22501
|
+
|
|
22502
|
+
const click_handler = () => toggleScreen();
|
|
22503
|
+
|
|
22504
|
+
function select_change_handler() {
|
|
22505
|
+
timeoutSelected = select_value(this);
|
|
22506
|
+
$$invalidate(0, timeoutSelected);
|
|
22507
|
+
$$invalidate(2, timeoutOptions);
|
|
22508
|
+
}
|
|
22509
|
+
|
|
22510
|
+
const click_handler_1 = () => saveTimeout();
|
|
22511
|
+
|
|
22512
|
+
$$self.$capture_state = () => ({
|
|
22513
|
+
getDevice,
|
|
22514
|
+
userAgent,
|
|
22515
|
+
isMobile,
|
|
22516
|
+
timeoutOptions,
|
|
22517
|
+
timeoutSelected,
|
|
22518
|
+
saveTimeout,
|
|
22519
|
+
toggleScreen
|
|
22520
|
+
});
|
|
22521
|
+
|
|
22522
|
+
$$self.$inject_state = $$props => {
|
|
22523
|
+
if ("userAgent" in $$props) userAgent = $$props.userAgent;
|
|
22524
|
+
if ("isMobile" in $$props) $$invalidate(1, isMobile = $$props.isMobile);
|
|
22525
|
+
if ("timeoutOptions" in $$props) $$invalidate(2, timeoutOptions = $$props.timeoutOptions);
|
|
22526
|
+
if ("timeoutSelected" in $$props) $$invalidate(0, timeoutSelected = $$props.timeoutSelected);
|
|
22527
|
+
};
|
|
22528
|
+
|
|
22529
|
+
if ($$props && "$$inject" in $$props) {
|
|
22530
|
+
$$self.$inject_state($$props.$$inject);
|
|
22531
|
+
}
|
|
22532
|
+
|
|
22533
|
+
return [
|
|
22534
|
+
timeoutSelected,
|
|
22535
|
+
isMobile,
|
|
22536
|
+
timeoutOptions,
|
|
22537
|
+
saveTimeout,
|
|
22538
|
+
toggleScreen,
|
|
22539
|
+
click_handler,
|
|
22540
|
+
select_change_handler,
|
|
22541
|
+
click_handler_1
|
|
22542
|
+
];
|
|
22543
|
+
}
|
|
22544
|
+
|
|
22545
|
+
class PlayerAccountTimeout extends SvelteElement {
|
|
22546
|
+
constructor(options) {
|
|
22547
|
+
super();
|
|
22548
|
+
this.shadowRoot.innerHTML = `<style>.TimeoutWrapper{color:#07072A;padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;background:#fff;max-width:unset}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.TimeoutTitle{font-size:26px;color:#D0046C;font-weight:400}.TimeoutTitle.TimeoutTitleMobile{font-size:14px}.TimeoutDescription{color:#58586B;line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:19.2px}.TimeoutSelectWrapper{color:#58586B;display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid #D1D1D1;border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:100%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}</style>`;
|
|
22549
|
+
|
|
22550
|
+
init(
|
|
22551
|
+
this,
|
|
22552
|
+
{
|
|
22553
|
+
target: this.shadowRoot,
|
|
22554
|
+
props: attribute_to_object(this.attributes),
|
|
22555
|
+
customElement: true
|
|
22556
|
+
},
|
|
22557
|
+
instance$2,
|
|
22558
|
+
create_fragment$2,
|
|
22559
|
+
safe_not_equal,
|
|
22560
|
+
{}
|
|
22561
|
+
);
|
|
22562
|
+
|
|
22563
|
+
if (options) {
|
|
22564
|
+
if (options.target) {
|
|
22565
|
+
insert_dev(options.target, this, options.anchor);
|
|
22566
|
+
}
|
|
22567
|
+
}
|
|
22568
|
+
}
|
|
22569
|
+
}
|
|
22570
|
+
|
|
22571
|
+
!customElements.get('player-account-timeout') && customElements.define('player-account-timeout', PlayerAccountTimeout);
|
|
22572
|
+
|
|
22573
|
+
/* ../player-account-closure/src/PlayerAccountClosure.svelte generated by Svelte v3.37.0 */
|
|
22574
|
+
const file$1 = "../player-account-closure/src/PlayerAccountClosure.svelte";
|
|
22575
|
+
|
|
22576
|
+
// (15:2) {#if isMobile}
|
|
22577
|
+
function create_if_block$1(ctx) {
|
|
22578
|
+
let div;
|
|
22579
|
+
let svg;
|
|
22580
|
+
let g;
|
|
22581
|
+
let path;
|
|
22582
|
+
let t0;
|
|
22583
|
+
let span;
|
|
22584
|
+
let mounted;
|
|
22585
|
+
let dispose;
|
|
22586
|
+
|
|
22587
|
+
const block = {
|
|
22588
|
+
c: function create() {
|
|
22589
|
+
div = element("div");
|
|
22590
|
+
svg = svg_element("svg");
|
|
22591
|
+
g = svg_element("g");
|
|
22592
|
+
path = svg_element("path");
|
|
22593
|
+
t0 = space();
|
|
22594
|
+
span = element("span");
|
|
22595
|
+
span.textContent = "Return to menu";
|
|
22596
|
+
attr_dev(path, "id", "Chevron_Right");
|
|
22597
|
+
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");
|
|
22598
|
+
add_location(path, file$1, 19, 10, 922);
|
|
22599
|
+
add_location(g, file$1, 18, 8, 908);
|
|
22600
|
+
attr_dev(svg, "version", "1.1");
|
|
22601
|
+
attr_dev(svg, "id", "Capa_1");
|
|
22602
|
+
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
22603
|
+
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
22604
|
+
attr_dev(svg, "x", "0px");
|
|
22605
|
+
attr_dev(svg, "y", "0px");
|
|
22606
|
+
attr_dev(svg, "viewBox", "0 0 240.823 240.823");
|
|
22607
|
+
set_style(svg, "enable-background", "new 0 0 240.823 240.823");
|
|
22608
|
+
attr_dev(svg, "xml:space", "preserve");
|
|
22609
|
+
attr_dev(svg, "width", "18px");
|
|
22610
|
+
attr_dev(svg, "fill", "#58586B");
|
|
22611
|
+
add_location(svg, file$1, 16, 6, 633);
|
|
22612
|
+
add_location(span, file$1, 24, 6, 1263);
|
|
22613
|
+
attr_dev(div, "class", "MenuReturnButton");
|
|
22614
|
+
add_location(div, file$1, 15, 4, 564);
|
|
22615
|
+
},
|
|
22616
|
+
m: function mount(target, anchor) {
|
|
22617
|
+
insert_dev(target, div, anchor);
|
|
22618
|
+
append_dev(div, svg);
|
|
22619
|
+
append_dev(svg, g);
|
|
22620
|
+
append_dev(g, path);
|
|
22621
|
+
append_dev(div, t0);
|
|
22622
|
+
append_dev(div, span);
|
|
22623
|
+
|
|
22624
|
+
if (!mounted) {
|
|
22625
|
+
dispose = listen_dev(div, "click", /*click_handler*/ ctx[3], false, false, false);
|
|
22626
|
+
mounted = true;
|
|
22627
|
+
}
|
|
22628
|
+
},
|
|
22629
|
+
p: noop$1,
|
|
22630
|
+
d: function destroy(detaching) {
|
|
22631
|
+
if (detaching) detach_dev(div);
|
|
22632
|
+
mounted = false;
|
|
22633
|
+
dispose();
|
|
22634
|
+
}
|
|
22635
|
+
};
|
|
22636
|
+
|
|
22637
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
22638
|
+
block,
|
|
22639
|
+
id: create_if_block$1.name,
|
|
22640
|
+
type: "if",
|
|
22641
|
+
source: "(15:2) {#if isMobile}",
|
|
22642
|
+
ctx
|
|
22643
|
+
});
|
|
22644
|
+
|
|
22645
|
+
return block;
|
|
22646
|
+
}
|
|
22647
|
+
|
|
22648
|
+
function create_fragment$1(ctx) {
|
|
22649
|
+
let div2;
|
|
22650
|
+
let t0;
|
|
22651
|
+
let h2;
|
|
22652
|
+
let t1;
|
|
22653
|
+
let t2;
|
|
22654
|
+
let div0;
|
|
22655
|
+
let p;
|
|
22656
|
+
let t4;
|
|
22657
|
+
let div1;
|
|
22658
|
+
let button;
|
|
22659
|
+
let mounted;
|
|
22660
|
+
let dispose;
|
|
22661
|
+
let if_block = /*isMobile*/ ctx[0] && create_if_block$1(ctx);
|
|
22662
|
+
|
|
22663
|
+
const block = {
|
|
22664
|
+
c: function create() {
|
|
22665
|
+
div2 = element("div");
|
|
22666
|
+
if (if_block) if_block.c();
|
|
22667
|
+
t0 = space();
|
|
22668
|
+
h2 = element("h2");
|
|
22669
|
+
t1 = text("Account Closure");
|
|
22670
|
+
t2 = space();
|
|
22671
|
+
div0 = element("div");
|
|
22672
|
+
p = element("p");
|
|
22673
|
+
p.textContent = "Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.";
|
|
22674
|
+
t4 = space();
|
|
22675
|
+
div1 = element("div");
|
|
22676
|
+
button = element("button");
|
|
22677
|
+
button.textContent = "Close Account";
|
|
22678
|
+
this.c = noop$1;
|
|
22679
|
+
attr_dev(h2, "class", "AccountClosureTitle " + (/*isMobile*/ ctx[0] ? "TimeoutTitleMobile" : ""));
|
|
22680
|
+
add_location(h2, file$1, 27, 2, 1312);
|
|
22681
|
+
add_location(p, file$1, 29, 4, 1502);
|
|
22682
|
+
|
|
22683
|
+
attr_dev(div0, "class", "AccountClosureDescription " + (/*isMobile*/ ctx[0]
|
|
22684
|
+
? "AccountClosureDescriptionMobile"
|
|
22685
|
+
: ""));
|
|
22686
|
+
|
|
22687
|
+
add_location(div0, file$1, 28, 2, 1406);
|
|
22688
|
+
attr_dev(button, "class", "AccountClosureSave");
|
|
22689
|
+
add_location(button, file$1, 32, 4, 1767);
|
|
22690
|
+
|
|
22691
|
+
attr_dev(div1, "class", "AccountClosureActionButtons " + (/*isMobile*/ ctx[0]
|
|
22692
|
+
? "AccountClosureActionButtonsMobile"
|
|
22693
|
+
: ""));
|
|
22694
|
+
|
|
22695
|
+
add_location(div1, file$1, 31, 2, 1667);
|
|
22696
|
+
attr_dev(div2, "class", "AccountClosureWrapper " + (/*isMobile*/ ctx[0] ? "AccountClosureWrapper" : ""));
|
|
22697
|
+
add_location(div2, file$1, 13, 0, 465);
|
|
22698
|
+
},
|
|
22699
|
+
l: function claim(nodes) {
|
|
22700
|
+
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
22701
|
+
},
|
|
22702
|
+
m: function mount(target, anchor) {
|
|
22703
|
+
insert_dev(target, div2, anchor);
|
|
22704
|
+
if (if_block) if_block.m(div2, null);
|
|
22705
|
+
append_dev(div2, t0);
|
|
22706
|
+
append_dev(div2, h2);
|
|
22707
|
+
append_dev(h2, t1);
|
|
22708
|
+
append_dev(div2, t2);
|
|
22709
|
+
append_dev(div2, div0);
|
|
22710
|
+
append_dev(div0, p);
|
|
22711
|
+
append_dev(div2, t4);
|
|
22712
|
+
append_dev(div2, div1);
|
|
22713
|
+
append_dev(div1, button);
|
|
22714
|
+
|
|
22715
|
+
if (!mounted) {
|
|
22716
|
+
dispose = listen_dev(button, "click", /*click_handler_1*/ ctx[4], false, false, false);
|
|
22717
|
+
mounted = true;
|
|
22718
|
+
}
|
|
22719
|
+
},
|
|
22720
|
+
p: function update(ctx, [dirty]) {
|
|
22721
|
+
if (/*isMobile*/ ctx[0]) if_block.p(ctx, dirty);
|
|
22722
|
+
},
|
|
22723
|
+
i: noop$1,
|
|
22724
|
+
o: noop$1,
|
|
22725
|
+
d: function destroy(detaching) {
|
|
22726
|
+
if (detaching) detach_dev(div2);
|
|
22727
|
+
if (if_block) if_block.d();
|
|
22728
|
+
mounted = false;
|
|
22729
|
+
dispose();
|
|
22730
|
+
}
|
|
22731
|
+
};
|
|
22732
|
+
|
|
22733
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
22734
|
+
block,
|
|
22735
|
+
id: create_fragment$1.name,
|
|
22736
|
+
type: "component",
|
|
22737
|
+
source: "",
|
|
22738
|
+
ctx
|
|
22739
|
+
});
|
|
22740
|
+
|
|
22741
|
+
return block;
|
|
22742
|
+
}
|
|
22743
|
+
|
|
22744
|
+
function instance$1($$self, $$props, $$invalidate) {
|
|
22745
|
+
let { $$slots: slots = {}, $$scope } = $$props;
|
|
22746
|
+
validate_slots("undefined", slots, []);
|
|
22747
|
+
let userAgent = window.navigator.userAgent;
|
|
22748
|
+
let isMobile = getDevice(userAgent) === "PC" ? false : true;
|
|
22749
|
+
|
|
22750
|
+
const confirmAccountClosure = () => {
|
|
22751
|
+
window.postMessage({ type: "AccountClosure" }, window.location.href);
|
|
22752
|
+
};
|
|
22753
|
+
|
|
22754
|
+
const toggleScreen = () => {
|
|
22755
|
+
window.postMessage({ type: "ReturnToMenu" }, window.location.href);
|
|
22756
|
+
};
|
|
22757
|
+
|
|
22758
|
+
const writable_props = [];
|
|
22759
|
+
|
|
22760
|
+
Object.keys($$props).forEach(key => {
|
|
22761
|
+
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
22762
|
+
});
|
|
22763
|
+
|
|
22764
|
+
const click_handler = () => toggleScreen();
|
|
22765
|
+
const click_handler_1 = () => confirmAccountClosure();
|
|
22766
|
+
|
|
22767
|
+
$$self.$capture_state = () => ({
|
|
22768
|
+
getDevice,
|
|
22769
|
+
onMount,
|
|
22770
|
+
userAgent,
|
|
22771
|
+
isMobile,
|
|
22772
|
+
confirmAccountClosure,
|
|
22773
|
+
toggleScreen
|
|
22774
|
+
});
|
|
22775
|
+
|
|
22776
|
+
$$self.$inject_state = $$props => {
|
|
22777
|
+
if ("userAgent" in $$props) userAgent = $$props.userAgent;
|
|
22778
|
+
if ("isMobile" in $$props) $$invalidate(0, isMobile = $$props.isMobile);
|
|
22779
|
+
};
|
|
22780
|
+
|
|
22781
|
+
if ($$props && "$$inject" in $$props) {
|
|
22782
|
+
$$self.$inject_state($$props.$$inject);
|
|
22783
|
+
}
|
|
22784
|
+
|
|
22785
|
+
return [isMobile, confirmAccountClosure, toggleScreen, click_handler, click_handler_1];
|
|
22786
|
+
}
|
|
22787
|
+
|
|
22788
|
+
class PlayerAccountClosure extends SvelteElement {
|
|
22789
|
+
constructor(options) {
|
|
22790
|
+
super();
|
|
22791
|
+
this.shadowRoot.innerHTML = `<style>.AccountClosureWrapper{color:#07072A;padding:50px;max-width:760px}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.AccountClosureTitle{font-size:26px;color:#D0046C;font-weight:400}.AccountClosureTitle.TimeoutTitleMobile{font-size:14px}.AccountClosureDescription{color:#58586B;line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:12px;line-height:19.2px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.AccountClosureActionButtons .AccountClosureSave{cursor:pointer;border-radius:5px;width:100%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#07072A;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.AccountClosureActionButtons .AccountClosureSave{background:#D0046C;border:1px solid #D0046C;color:#fff}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}</style>`;
|
|
22792
|
+
|
|
22793
|
+
init(
|
|
22794
|
+
this,
|
|
22795
|
+
{
|
|
22796
|
+
target: this.shadowRoot,
|
|
22797
|
+
props: attribute_to_object(this.attributes),
|
|
22798
|
+
customElement: true
|
|
22799
|
+
},
|
|
22800
|
+
instance$1,
|
|
22801
|
+
create_fragment$1,
|
|
22802
|
+
safe_not_equal,
|
|
22803
|
+
{}
|
|
22804
|
+
);
|
|
22805
|
+
|
|
22806
|
+
if (options) {
|
|
22807
|
+
if (options.target) {
|
|
22808
|
+
insert_dev(options.target, this, options.anchor);
|
|
22809
|
+
}
|
|
22810
|
+
}
|
|
22811
|
+
}
|
|
22812
|
+
}
|
|
22813
|
+
|
|
22814
|
+
!customElements.get('player-account-closure') && customElements.define('player-account-closure', PlayerAccountClosure);
|
|
22815
|
+
|
|
21783
22816
|
/* src/PlayerAccountController.svelte generated by Svelte v3.37.0 */
|
|
21784
22817
|
|
|
21785
22818
|
const { console: console_1 } = globals;
|