@taole/newgiftbar 0.1.8 → 0.2.0
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.
- package/npm/newgiftbar.es.js +248 -268
- package/package.json +1 -1
package/npm/newgiftbar.es.js
CHANGED
|
@@ -674,7 +674,8 @@ function createModal(_Class, props = {}, target = document.body) {
|
|
|
674
674
|
wrap.parentNode.removeChild(wrap);
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
|
-
|
|
677
|
+
const isDomEvent = typeof Event !== "undefined" && err instanceof Event;
|
|
678
|
+
if (err && !isDomEvent) {
|
|
678
679
|
defer.reject(err);
|
|
679
680
|
} else {
|
|
680
681
|
defer.resolve(result);
|
|
@@ -1755,7 +1756,7 @@ function create_each_block$a(key_1, ctx) {
|
|
|
1755
1756
|
}
|
|
1756
1757
|
};
|
|
1757
1758
|
}
|
|
1758
|
-
function create_if_block_1$
|
|
1759
|
+
function create_if_block_1$o(ctx) {
|
|
1759
1760
|
let a;
|
|
1760
1761
|
let t0;
|
|
1761
1762
|
let t1_value = (
|
|
@@ -1902,7 +1903,7 @@ function create_fragment$r(ctx) {
|
|
|
1902
1903
|
ctx[2] && /*tip*/
|
|
1903
1904
|
ctx[2].text && /*tip*/
|
|
1904
1905
|
ctx[2].link && /*tip*/
|
|
1905
|
-
ctx[2].kind !== "hidden" && create_if_block_1$
|
|
1906
|
+
ctx[2].kind !== "hidden" && create_if_block_1$o(ctx)
|
|
1906
1907
|
);
|
|
1907
1908
|
let if_block1 = (
|
|
1908
1909
|
/*showNobility*/
|
|
@@ -1957,7 +1958,7 @@ function create_fragment$r(ctx) {
|
|
|
1957
1958
|
if (if_block0) {
|
|
1958
1959
|
if_block0.p(ctx2, dirty);
|
|
1959
1960
|
} else {
|
|
1960
|
-
if_block0 = create_if_block_1$
|
|
1961
|
+
if_block0 = create_if_block_1$o(ctx2);
|
|
1961
1962
|
if_block0.c();
|
|
1962
1963
|
if_block0.m(div1, t1);
|
|
1963
1964
|
}
|
|
@@ -2599,7 +2600,7 @@ function create_if_block$p(ctx) {
|
|
|
2599
2600
|
if (
|
|
2600
2601
|
/*emptyImg*/
|
|
2601
2602
|
ctx2[2]
|
|
2602
|
-
) return create_if_block_1$
|
|
2603
|
+
) return create_if_block_1$n;
|
|
2603
2604
|
return create_else_block$e;
|
|
2604
2605
|
}
|
|
2605
2606
|
let current_block_type = select_block_type(ctx);
|
|
@@ -2652,7 +2653,7 @@ function create_else_block$e(ctx) {
|
|
|
2652
2653
|
}
|
|
2653
2654
|
};
|
|
2654
2655
|
}
|
|
2655
|
-
function create_if_block_1$
|
|
2656
|
+
function create_if_block_1$n(ctx) {
|
|
2656
2657
|
let img;
|
|
2657
2658
|
let img_src_value;
|
|
2658
2659
|
return {
|
|
@@ -2821,7 +2822,7 @@ class GiftGrid extends SvelteComponent {
|
|
|
2821
2822
|
});
|
|
2822
2823
|
}
|
|
2823
2824
|
}
|
|
2824
|
-
function create_if_block_1$
|
|
2825
|
+
function create_if_block_1$m(ctx) {
|
|
2825
2826
|
let p;
|
|
2826
2827
|
let t0;
|
|
2827
2828
|
let span;
|
|
@@ -2908,7 +2909,7 @@ function create_fragment$p(ctx) {
|
|
|
2908
2909
|
let t3;
|
|
2909
2910
|
let if_block0 = (
|
|
2910
2911
|
/*showCrystal*/
|
|
2911
|
-
ctx[1] && create_if_block_1$
|
|
2912
|
+
ctx[1] && create_if_block_1$m(ctx)
|
|
2912
2913
|
);
|
|
2913
2914
|
let if_block1 = (
|
|
2914
2915
|
/*showCoin*/
|
|
@@ -2958,7 +2959,7 @@ function create_fragment$p(ctx) {
|
|
|
2958
2959
|
if (if_block0) {
|
|
2959
2960
|
if_block0.p(ctx2, dirty);
|
|
2960
2961
|
} else {
|
|
2961
|
-
if_block0 = create_if_block_1$
|
|
2962
|
+
if_block0 = create_if_block_1$m(ctx2);
|
|
2962
2963
|
if_block0.c();
|
|
2963
2964
|
if_block0.m(div0, null);
|
|
2964
2965
|
}
|
|
@@ -3650,7 +3651,7 @@ function create_if_block_2$h(ctx) {
|
|
|
3650
3651
|
}
|
|
3651
3652
|
};
|
|
3652
3653
|
}
|
|
3653
|
-
function create_if_block_1$
|
|
3654
|
+
function create_if_block_1$l(ctx) {
|
|
3654
3655
|
let div;
|
|
3655
3656
|
let mounted;
|
|
3656
3657
|
let dispose;
|
|
@@ -3772,7 +3773,7 @@ function create_fragment$o(ctx) {
|
|
|
3772
3773
|
);
|
|
3773
3774
|
let if_block4 = (
|
|
3774
3775
|
/*buttons*/
|
|
3775
|
-
ctx[11].open && create_if_block_1$
|
|
3776
|
+
ctx[11].open && create_if_block_1$l(ctx)
|
|
3776
3777
|
);
|
|
3777
3778
|
let if_block5 = (
|
|
3778
3779
|
/*buttons*/
|
|
@@ -3942,7 +3943,7 @@ function create_fragment$o(ctx) {
|
|
|
3942
3943
|
if (if_block4) {
|
|
3943
3944
|
if_block4.p(ctx2, dirty);
|
|
3944
3945
|
} else {
|
|
3945
|
-
if_block4 = create_if_block_1$
|
|
3946
|
+
if_block4 = create_if_block_1$l(ctx2);
|
|
3946
3947
|
if_block4.c();
|
|
3947
3948
|
if_block4.m(div1, t7);
|
|
3948
3949
|
}
|
|
@@ -4334,7 +4335,7 @@ function create_if_block$m(ctx) {
|
|
|
4334
4335
|
let if_block_anchor;
|
|
4335
4336
|
let if_block = (
|
|
4336
4337
|
/*roseUrl*/
|
|
4337
|
-
ctx[0] && create_if_block_1$
|
|
4338
|
+
ctx[0] && create_if_block_1$k(ctx)
|
|
4338
4339
|
);
|
|
4339
4340
|
return {
|
|
4340
4341
|
c() {
|
|
@@ -4364,7 +4365,7 @@ function create_if_block$m(ctx) {
|
|
|
4364
4365
|
if (if_block) {
|
|
4365
4366
|
if_block.p(ctx2, dirty);
|
|
4366
4367
|
} else {
|
|
4367
|
-
if_block = create_if_block_1$
|
|
4368
|
+
if_block = create_if_block_1$k(ctx2);
|
|
4368
4369
|
if_block.c();
|
|
4369
4370
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
4370
4371
|
}
|
|
@@ -4438,7 +4439,7 @@ function create_if_block_4$7(ctx) {
|
|
|
4438
4439
|
}
|
|
4439
4440
|
};
|
|
4440
4441
|
}
|
|
4441
|
-
function create_if_block_1$
|
|
4442
|
+
function create_if_block_1$k(ctx) {
|
|
4442
4443
|
let img;
|
|
4443
4444
|
let img_src_value;
|
|
4444
4445
|
return {
|
|
@@ -4577,6 +4578,15 @@ function extraParts(ctx, extra) {
|
|
|
4577
4578
|
}
|
|
4578
4579
|
return parts;
|
|
4579
4580
|
}
|
|
4581
|
+
function mysteriousParts(ctx, action) {
|
|
4582
|
+
if (action === "open") {
|
|
4583
|
+
return [];
|
|
4584
|
+
}
|
|
4585
|
+
if (ctx && Number(ctx.ismysterious) === 1) {
|
|
4586
|
+
return [["ismysterious", 1]];
|
|
4587
|
+
}
|
|
4588
|
+
return [];
|
|
4589
|
+
}
|
|
4580
4590
|
function buildPayUrl({ gift, tabId, count, action, ctx, extra }) {
|
|
4581
4591
|
const giftId = gift.id;
|
|
4582
4592
|
const type = Number(gift.type);
|
|
@@ -4661,7 +4671,8 @@ function buildPayUrl({ gift, tabId, count, action, ctx, extra }) {
|
|
|
4661
4671
|
["question", question],
|
|
4662
4672
|
["open", open],
|
|
4663
4673
|
...sceneParts(ctx),
|
|
4664
|
-
...extraParts(ctx, extra)
|
|
4674
|
+
...extraParts(ctx, extra),
|
|
4675
|
+
...mysteriousParts(ctx, action)
|
|
4665
4676
|
])
|
|
4666
4677
|
);
|
|
4667
4678
|
}
|
|
@@ -4676,7 +4687,8 @@ function buildPayUrl({ gift, tabId, count, action, ctx, extra }) {
|
|
|
4676
4687
|
["question_gift", gift.question_gift || 0],
|
|
4677
4688
|
["question", question],
|
|
4678
4689
|
["open", open],
|
|
4679
|
-
...extraParts(ctx, extra)
|
|
4690
|
+
...extraParts(ctx, extra),
|
|
4691
|
+
...mysteriousParts(ctx, action)
|
|
4680
4692
|
])
|
|
4681
4693
|
);
|
|
4682
4694
|
}
|
|
@@ -4721,7 +4733,8 @@ function buildPayUrl({ gift, tabId, count, action, ctx, extra }) {
|
|
|
4721
4733
|
["question", question],
|
|
4722
4734
|
["open", open],
|
|
4723
4735
|
...sceneParts(ctx),
|
|
4724
|
-
...extraParts(ctx, extra)
|
|
4736
|
+
...extraParts(ctx, extra),
|
|
4737
|
+
...mysteriousParts(ctx, action)
|
|
4725
4738
|
])
|
|
4726
4739
|
);
|
|
4727
4740
|
}
|
|
@@ -4741,7 +4754,7 @@ function buildPayUrl({ gift, tabId, count, action, ctx, extra }) {
|
|
|
4741
4754
|
if (type === 24) {
|
|
4742
4755
|
diamondParts.push(["worth", worth]);
|
|
4743
4756
|
}
|
|
4744
|
-
diamondParts.push(...extraParts(ctx, extra));
|
|
4757
|
+
diamondParts.push(...extraParts(ctx, extra), ...mysteriousParts(ctx, action));
|
|
4745
4758
|
return diamondGiftMoreUrl(diamondPrefixQuery(diamondParts));
|
|
4746
4759
|
}
|
|
4747
4760
|
function mustHaveRequest() {
|
|
@@ -5135,7 +5148,7 @@ function create_if_block_2$f(ctx) {
|
|
|
5135
5148
|
}
|
|
5136
5149
|
};
|
|
5137
5150
|
}
|
|
5138
|
-
function create_if_block_1$
|
|
5151
|
+
function create_if_block_1$j(ctx) {
|
|
5139
5152
|
let div;
|
|
5140
5153
|
return {
|
|
5141
5154
|
c() {
|
|
@@ -5174,7 +5187,7 @@ function create_each_block$7(ctx) {
|
|
|
5174
5187
|
if (
|
|
5175
5188
|
/*item*/
|
|
5176
5189
|
ctx2[16].typeid == 1
|
|
5177
|
-
) return create_if_block_1$
|
|
5190
|
+
) return create_if_block_1$j;
|
|
5178
5191
|
if (
|
|
5179
5192
|
/*item*/
|
|
5180
5193
|
ctx2[16].typeid == 2
|
|
@@ -5543,7 +5556,7 @@ async function showPardonCard({ gift, tabId }) {
|
|
|
5543
5556
|
opening = false;
|
|
5544
5557
|
}
|
|
5545
5558
|
}
|
|
5546
|
-
function create_if_block_1$
|
|
5559
|
+
function create_if_block_1$i(ctx) {
|
|
5547
5560
|
let div;
|
|
5548
5561
|
let t;
|
|
5549
5562
|
return {
|
|
@@ -5659,7 +5672,7 @@ function create_fragment$k(ctx) {
|
|
|
5659
5672
|
let dispose;
|
|
5660
5673
|
let if_block0 = (
|
|
5661
5674
|
/*title*/
|
|
5662
|
-
ctx[0] && create_if_block_1$
|
|
5675
|
+
ctx[0] && create_if_block_1$i(ctx)
|
|
5663
5676
|
);
|
|
5664
5677
|
let if_block1 = (
|
|
5665
5678
|
/*checkboxText*/
|
|
@@ -5745,7 +5758,7 @@ function create_fragment$k(ctx) {
|
|
|
5745
5758
|
if (if_block0) {
|
|
5746
5759
|
if_block0.p(ctx2, dirty);
|
|
5747
5760
|
} else {
|
|
5748
|
-
if_block0 = create_if_block_1$
|
|
5761
|
+
if_block0 = create_if_block_1$i(ctx2);
|
|
5749
5762
|
if_block0.c();
|
|
5750
5763
|
if_block0.m(div2, t0);
|
|
5751
5764
|
}
|
|
@@ -6422,7 +6435,7 @@ function stripCidAddScene(query) {
|
|
|
6422
6435
|
function findDataByType(type, initImgData = []) {
|
|
6423
6436
|
return (initImgData || []).find((item) => item.type === type);
|
|
6424
6437
|
}
|
|
6425
|
-
function create_if_block_1$
|
|
6438
|
+
function create_if_block_1$h(ctx) {
|
|
6426
6439
|
let div;
|
|
6427
6440
|
return {
|
|
6428
6441
|
c() {
|
|
@@ -6521,7 +6534,7 @@ function create_fragment$j(ctx) {
|
|
|
6521
6534
|
let div2_class_value;
|
|
6522
6535
|
let if_block0 = (
|
|
6523
6536
|
/*costly*/
|
|
6524
|
-
ctx[2] && create_if_block_1$
|
|
6537
|
+
ctx[2] && create_if_block_1$h()
|
|
6525
6538
|
);
|
|
6526
6539
|
let if_block1 = (
|
|
6527
6540
|
/*isBigger*/
|
|
@@ -6590,7 +6603,7 @@ function create_fragment$j(ctx) {
|
|
|
6590
6603
|
) {
|
|
6591
6604
|
if (if_block0) ;
|
|
6592
6605
|
else {
|
|
6593
|
-
if_block0 = create_if_block_1$
|
|
6606
|
+
if_block0 = create_if_block_1$h();
|
|
6594
6607
|
if_block0.c();
|
|
6595
6608
|
if_block0.m(div1, t0);
|
|
6596
6609
|
}
|
|
@@ -7110,7 +7123,7 @@ function create_else_block_1$3(ctx) {
|
|
|
7110
7123
|
}
|
|
7111
7124
|
};
|
|
7112
7125
|
}
|
|
7113
|
-
function create_if_block_1$
|
|
7126
|
+
function create_if_block_1$g(ctx) {
|
|
7114
7127
|
let div4;
|
|
7115
7128
|
let div3;
|
|
7116
7129
|
let div0;
|
|
@@ -7418,7 +7431,7 @@ function create_fragment$i(ctx) {
|
|
|
7418
7431
|
if (
|
|
7419
7432
|
/*radioIsSelected*/
|
|
7420
7433
|
ctx2[9]
|
|
7421
|
-
) return create_if_block_1$
|
|
7434
|
+
) return create_if_block_1$g;
|
|
7422
7435
|
return create_else_block_1$3;
|
|
7423
7436
|
}
|
|
7424
7437
|
let current_block_type_1 = select_block_type_1(ctx);
|
|
@@ -8956,7 +8969,7 @@ function create_else_block$b(ctx) {
|
|
|
8956
8969
|
}
|
|
8957
8970
|
};
|
|
8958
8971
|
}
|
|
8959
|
-
function create_if_block_1$
|
|
8972
|
+
function create_if_block_1$f(ctx) {
|
|
8960
8973
|
let img;
|
|
8961
8974
|
let img_src_value;
|
|
8962
8975
|
return {
|
|
@@ -9137,7 +9150,7 @@ function create_fragment$g(ctx) {
|
|
|
9137
9150
|
if (
|
|
9138
9151
|
/*isIgnore*/
|
|
9139
9152
|
ctx2[1]
|
|
9140
|
-
) return create_if_block_1$
|
|
9153
|
+
) return create_if_block_1$f;
|
|
9141
9154
|
return create_else_block$b;
|
|
9142
9155
|
}
|
|
9143
9156
|
let current_block_type_2 = select_block_type_2(ctx);
|
|
@@ -9842,7 +9855,7 @@ class OpenBox extends SvelteComponent {
|
|
|
9842
9855
|
);
|
|
9843
9856
|
}
|
|
9844
9857
|
}
|
|
9845
|
-
function create_if_block_1$
|
|
9858
|
+
function create_if_block_1$e(ctx) {
|
|
9846
9859
|
let history;
|
|
9847
9860
|
let updating_onClose;
|
|
9848
9861
|
let current;
|
|
@@ -10090,7 +10103,7 @@ function create_fragment$f(ctx) {
|
|
|
10090
10103
|
});
|
|
10091
10104
|
let if_block0 = (
|
|
10092
10105
|
/*isShowHistory*/
|
|
10093
|
-
ctx[9] && create_if_block_1$
|
|
10106
|
+
ctx[9] && create_if_block_1$e(ctx)
|
|
10094
10107
|
);
|
|
10095
10108
|
let if_block1 = (
|
|
10096
10109
|
/*isShowResult*/
|
|
@@ -10264,7 +10277,7 @@ function create_fragment$f(ctx) {
|
|
|
10264
10277
|
transition_in(if_block0, 1);
|
|
10265
10278
|
}
|
|
10266
10279
|
} else {
|
|
10267
|
-
if_block0 = create_if_block_1$
|
|
10280
|
+
if_block0 = create_if_block_1$e(ctx2);
|
|
10268
10281
|
if_block0.c();
|
|
10269
10282
|
transition_in(if_block0, 1);
|
|
10270
10283
|
if_block0.m(div5, t5);
|
|
@@ -10620,7 +10633,7 @@ function create_if_block_4$5(ctx) {
|
|
|
10620
10633
|
}
|
|
10621
10634
|
};
|
|
10622
10635
|
}
|
|
10623
|
-
function create_if_block_1$
|
|
10636
|
+
function create_if_block_1$d(ctx) {
|
|
10624
10637
|
let if_block_anchor;
|
|
10625
10638
|
function select_block_type(ctx2, dirty) {
|
|
10626
10639
|
if (
|
|
@@ -10782,7 +10795,7 @@ function create_fragment$e(ctx) {
|
|
|
10782
10795
|
let if_block1 = show_if && create_if_block_3$9(ctx);
|
|
10783
10796
|
let if_block2 = (
|
|
10784
10797
|
/*isBigger*/
|
|
10785
|
-
ctx[4] && create_if_block_1$
|
|
10798
|
+
ctx[4] && create_if_block_1$d(ctx)
|
|
10786
10799
|
);
|
|
10787
10800
|
let if_block3 = (
|
|
10788
10801
|
/*hit*/
|
|
@@ -10896,7 +10909,7 @@ function create_fragment$e(ctx) {
|
|
|
10896
10909
|
if (if_block2) {
|
|
10897
10910
|
if_block2.p(ctx2, dirty);
|
|
10898
10911
|
} else {
|
|
10899
|
-
if_block2 = create_if_block_1$
|
|
10912
|
+
if_block2 = create_if_block_1$d(ctx2);
|
|
10900
10913
|
if_block2.c();
|
|
10901
10914
|
if_block2.m(div1, t6);
|
|
10902
10915
|
}
|
|
@@ -11063,6 +11076,10 @@ function create_if_block_7(ctx) {
|
|
|
11063
11076
|
let img_src_value;
|
|
11064
11077
|
let t0;
|
|
11065
11078
|
let span;
|
|
11079
|
+
let t1_value = (Number(
|
|
11080
|
+
/*hitTimes*/
|
|
11081
|
+
ctx[8]
|
|
11082
|
+
) || 0) + "";
|
|
11066
11083
|
let t1;
|
|
11067
11084
|
let t2;
|
|
11068
11085
|
return {
|
|
@@ -11071,10 +11088,7 @@ function create_if_block_7(ctx) {
|
|
|
11071
11088
|
img = element("img");
|
|
11072
11089
|
t0 = space();
|
|
11073
11090
|
span = element("span");
|
|
11074
|
-
t1 = text(
|
|
11075
|
-
/*hitTimes*/
|
|
11076
|
-
ctx[8]
|
|
11077
|
-
);
|
|
11091
|
+
t1 = text(t1_value);
|
|
11078
11092
|
t2 = text("次");
|
|
11079
11093
|
attr(img, "class", "imgIcon svelte-1ajc4sn");
|
|
11080
11094
|
if (!src_url_equal(img.src, img_src_value = "https://dynamics-share.tuwan.com/activity/0e24da0fd01719a934630a6652fa4b9d.png?x-oss-process=image/format,webp/ignore-error,1")) attr(img, "src", img_src_value);
|
|
@@ -11092,11 +11106,10 @@ function create_if_block_7(ctx) {
|
|
|
11092
11106
|
},
|
|
11093
11107
|
p(ctx2, dirty) {
|
|
11094
11108
|
if (dirty[0] & /*hitTimes*/
|
|
11095
|
-
256
|
|
11096
|
-
t1,
|
|
11109
|
+
256 && t1_value !== (t1_value = (Number(
|
|
11097
11110
|
/*hitTimes*/
|
|
11098
11111
|
ctx2[8]
|
|
11099
|
-
);
|
|
11112
|
+
) || 0) + "")) set_data(t1, t1_value);
|
|
11100
11113
|
},
|
|
11101
11114
|
d(detaching) {
|
|
11102
11115
|
if (detaching) {
|
|
@@ -11382,7 +11395,7 @@ function create_if_block$d(ctx) {
|
|
|
11382
11395
|
);
|
|
11383
11396
|
let if_block1 = (
|
|
11384
11397
|
/*goldRemark*/
|
|
11385
|
-
ctx[14] && create_if_block_1$
|
|
11398
|
+
ctx[14] && create_if_block_1$c(ctx)
|
|
11386
11399
|
);
|
|
11387
11400
|
return {
|
|
11388
11401
|
c() {
|
|
@@ -11493,7 +11506,7 @@ function create_if_block$d(ctx) {
|
|
|
11493
11506
|
if (if_block1) {
|
|
11494
11507
|
if_block1.p(ctx2, dirty);
|
|
11495
11508
|
} else {
|
|
11496
|
-
if_block1 = create_if_block_1$
|
|
11509
|
+
if_block1 = create_if_block_1$c(ctx2);
|
|
11497
11510
|
if_block1.c();
|
|
11498
11511
|
if_block1.m(div4, t6);
|
|
11499
11512
|
}
|
|
@@ -11837,7 +11850,7 @@ function create_if_block_2$b(ctx) {
|
|
|
11837
11850
|
}
|
|
11838
11851
|
};
|
|
11839
11852
|
}
|
|
11840
|
-
function create_if_block_1$
|
|
11853
|
+
function create_if_block_1$c(ctx) {
|
|
11841
11854
|
let div;
|
|
11842
11855
|
let span;
|
|
11843
11856
|
let t;
|
|
@@ -11892,10 +11905,13 @@ function create_fragment$d(ctx) {
|
|
|
11892
11905
|
let t5;
|
|
11893
11906
|
let t6;
|
|
11894
11907
|
let t7;
|
|
11895
|
-
let show_if =
|
|
11896
|
-
/*
|
|
11897
|
-
ctx[
|
|
11898
|
-
|
|
11908
|
+
let show_if = (
|
|
11909
|
+
/*mode*/
|
|
11910
|
+
ctx[2] == RESULT_VIEW_TYPE$1.GOLD_TYPE || Number(
|
|
11911
|
+
/*hitTimes*/
|
|
11912
|
+
ctx[8]
|
|
11913
|
+
) > 0
|
|
11914
|
+
);
|
|
11899
11915
|
let t8;
|
|
11900
11916
|
let div5;
|
|
11901
11917
|
let div4;
|
|
@@ -12051,8 +12067,9 @@ function create_fragment$d(ctx) {
|
|
|
12051
12067
|
if_block0.d(1);
|
|
12052
12068
|
if_block0 = null;
|
|
12053
12069
|
}
|
|
12054
|
-
if (dirty[0] & /*hitTimes*/
|
|
12055
|
-
|
|
12070
|
+
if (dirty[0] & /*mode, hitTimes*/
|
|
12071
|
+
260) show_if = /*mode*/
|
|
12072
|
+
ctx2[2] == RESULT_VIEW_TYPE$1.GOLD_TYPE || Number(
|
|
12056
12073
|
/*hitTimes*/
|
|
12057
12074
|
ctx2[8]
|
|
12058
12075
|
) > 0;
|
|
@@ -12639,7 +12656,7 @@ function create_else_block$8(ctx) {
|
|
|
12639
12656
|
}
|
|
12640
12657
|
};
|
|
12641
12658
|
}
|
|
12642
|
-
function create_if_block_1$
|
|
12659
|
+
function create_if_block_1$b(ctx) {
|
|
12643
12660
|
let div4;
|
|
12644
12661
|
let div3;
|
|
12645
12662
|
let div1;
|
|
@@ -12903,7 +12920,7 @@ function create_fragment$c(ctx) {
|
|
|
12903
12920
|
if (
|
|
12904
12921
|
/*radioIsSelected*/
|
|
12905
12922
|
ctx2[9]
|
|
12906
|
-
) return create_if_block_1$
|
|
12923
|
+
) return create_if_block_1$b;
|
|
12907
12924
|
return create_else_block$8;
|
|
12908
12925
|
}
|
|
12909
12926
|
let current_block_type = select_block_type(ctx);
|
|
@@ -13436,7 +13453,7 @@ function get_each_context_1$1(ctx, list, i) {
|
|
|
13436
13453
|
child_ctx[13] = list[i];
|
|
13437
13454
|
return child_ctx;
|
|
13438
13455
|
}
|
|
13439
|
-
function create_if_block_1$
|
|
13456
|
+
function create_if_block_1$a(ctx) {
|
|
13440
13457
|
let div;
|
|
13441
13458
|
let each_value_1 = ensure_array_like(
|
|
13442
13459
|
/*expires*/
|
|
@@ -13670,7 +13687,7 @@ function create_fragment$b(ctx) {
|
|
|
13670
13687
|
let dispose;
|
|
13671
13688
|
let if_block0 = (
|
|
13672
13689
|
/*expires*/
|
|
13673
|
-
ctx[2].length && create_if_block_1$
|
|
13690
|
+
ctx[2].length && create_if_block_1$a(ctx)
|
|
13674
13691
|
);
|
|
13675
13692
|
let if_block1 = (
|
|
13676
13693
|
/*list*/
|
|
@@ -13752,7 +13769,7 @@ function create_fragment$b(ctx) {
|
|
|
13752
13769
|
if (if_block0) {
|
|
13753
13770
|
if_block0.p(ctx2, dirty);
|
|
13754
13771
|
} else {
|
|
13755
|
-
if_block0 = create_if_block_1$
|
|
13772
|
+
if_block0 = create_if_block_1$a(ctx2);
|
|
13756
13773
|
if_block0.c();
|
|
13757
13774
|
if_block0.m(div2, t1);
|
|
13758
13775
|
}
|
|
@@ -14049,7 +14066,7 @@ function create_else_block$7(ctx) {
|
|
|
14049
14066
|
}
|
|
14050
14067
|
};
|
|
14051
14068
|
}
|
|
14052
|
-
function create_if_block_1$
|
|
14069
|
+
function create_if_block_1$9(ctx) {
|
|
14053
14070
|
let div4;
|
|
14054
14071
|
let div3;
|
|
14055
14072
|
let div1;
|
|
@@ -14311,7 +14328,7 @@ function create_fragment$a(ctx) {
|
|
|
14311
14328
|
if (
|
|
14312
14329
|
/*radioIsSelected*/
|
|
14313
14330
|
ctx2[6]
|
|
14314
|
-
) return create_if_block_1$
|
|
14331
|
+
) return create_if_block_1$9;
|
|
14315
14332
|
return create_else_block$7;
|
|
14316
14333
|
}
|
|
14317
14334
|
let current_block_type = select_block_type(ctx);
|
|
@@ -14822,52 +14839,6 @@ class Magic extends SvelteComponent {
|
|
|
14822
14839
|
});
|
|
14823
14840
|
}
|
|
14824
14841
|
}
|
|
14825
|
-
function create_if_block_1$9(ctx) {
|
|
14826
|
-
let div;
|
|
14827
|
-
let img;
|
|
14828
|
-
let img_src_value;
|
|
14829
|
-
let t0;
|
|
14830
|
-
let span;
|
|
14831
|
-
let t1_value = (
|
|
14832
|
-
/*resData*/
|
|
14833
|
-
ctx[0].hit_times + ""
|
|
14834
|
-
);
|
|
14835
|
-
let t1;
|
|
14836
|
-
let t2;
|
|
14837
|
-
return {
|
|
14838
|
-
c() {
|
|
14839
|
-
div = element("div");
|
|
14840
|
-
img = element("img");
|
|
14841
|
-
t0 = space();
|
|
14842
|
-
span = element("span");
|
|
14843
|
-
t1 = text(t1_value);
|
|
14844
|
-
t2 = text("次");
|
|
14845
|
-
attr(img, "class", "imgIcon");
|
|
14846
|
-
if (!src_url_equal(img.src, img_src_value = "https://dynamics-share.tuwan.com/activity/0e24da0fd01719a934630a6652fa4b9d.png?x-oss-process=image/format,webp/ignore-error,1")) attr(img, "src", img_src_value);
|
|
14847
|
-
attr(img, "alt", "");
|
|
14848
|
-
attr(span, "class", "wordCtn");
|
|
14849
|
-
attr(div, "class", "subCtn");
|
|
14850
|
-
},
|
|
14851
|
-
m(target, anchor) {
|
|
14852
|
-
insert(target, div, anchor);
|
|
14853
|
-
append(div, img);
|
|
14854
|
-
append(div, t0);
|
|
14855
|
-
append(div, span);
|
|
14856
|
-
append(span, t1);
|
|
14857
|
-
append(span, t2);
|
|
14858
|
-
},
|
|
14859
|
-
p(ctx2, dirty) {
|
|
14860
|
-
if (dirty & /*resData*/
|
|
14861
|
-
1 && t1_value !== (t1_value = /*resData*/
|
|
14862
|
-
ctx2[0].hit_times + "")) set_data(t1, t1_value);
|
|
14863
|
-
},
|
|
14864
|
-
d(detaching) {
|
|
14865
|
-
if (detaching) {
|
|
14866
|
-
detach(div);
|
|
14867
|
-
}
|
|
14868
|
-
}
|
|
14869
|
-
};
|
|
14870
|
-
}
|
|
14871
14842
|
function create_if_block$9(ctx) {
|
|
14872
14843
|
let div1;
|
|
14873
14844
|
let div0;
|
|
@@ -14905,11 +14876,11 @@ function create_if_block$9(ctx) {
|
|
|
14905
14876
|
}
|
|
14906
14877
|
function create_fragment$9(ctx) {
|
|
14907
14878
|
var _a;
|
|
14908
|
-
let
|
|
14879
|
+
let div18;
|
|
14909
14880
|
let img0;
|
|
14910
14881
|
let img0_src_value;
|
|
14911
14882
|
let t0;
|
|
14912
|
-
let
|
|
14883
|
+
let div4;
|
|
14913
14884
|
let div0;
|
|
14914
14885
|
let img1;
|
|
14915
14886
|
let img1_src_value;
|
|
@@ -14953,43 +14924,49 @@ function create_fragment$9(ctx) {
|
|
|
14953
14924
|
let t8;
|
|
14954
14925
|
let t9;
|
|
14955
14926
|
let t10;
|
|
14956
|
-
let
|
|
14927
|
+
let div3;
|
|
14928
|
+
let img4;
|
|
14929
|
+
let img4_src_value;
|
|
14930
|
+
let t11;
|
|
14931
|
+
let span3;
|
|
14932
|
+
let t12_value = (Number(
|
|
14957
14933
|
/*resData*/
|
|
14958
14934
|
(_a = ctx[0]) == null ? void 0 : _a.hit_times
|
|
14959
|
-
)
|
|
14960
|
-
let t11;
|
|
14961
|
-
let div4;
|
|
14935
|
+
) || 0) + "";
|
|
14962
14936
|
let t12;
|
|
14963
|
-
let div5;
|
|
14964
14937
|
let t13;
|
|
14965
|
-
let
|
|
14938
|
+
let t14;
|
|
14939
|
+
let div5;
|
|
14940
|
+
let t15;
|
|
14941
|
+
let div6;
|
|
14966
14942
|
let t16;
|
|
14967
|
-
let div16;
|
|
14968
|
-
let div11;
|
|
14969
14943
|
let div10;
|
|
14970
|
-
let
|
|
14971
|
-
let
|
|
14944
|
+
let t19;
|
|
14945
|
+
let div17;
|
|
14972
14946
|
let div12;
|
|
14973
|
-
let
|
|
14974
|
-
let
|
|
14947
|
+
let div11;
|
|
14948
|
+
let div11_style_value;
|
|
14949
|
+
let t20;
|
|
14975
14950
|
let div13;
|
|
14976
|
-
let
|
|
14951
|
+
let t21;
|
|
14952
|
+
let div16;
|
|
14977
14953
|
let div14;
|
|
14978
|
-
let
|
|
14954
|
+
let t25;
|
|
14955
|
+
let div15;
|
|
14956
|
+
let t26;
|
|
14979
14957
|
let mounted;
|
|
14980
14958
|
let dispose;
|
|
14981
|
-
let
|
|
14982
|
-
let if_block1 = (
|
|
14959
|
+
let if_block = (
|
|
14983
14960
|
/*expiresText*/
|
|
14984
14961
|
ctx[3] && create_if_block$9(ctx)
|
|
14985
14962
|
);
|
|
14986
14963
|
return {
|
|
14987
14964
|
c() {
|
|
14988
14965
|
var _a2, _b;
|
|
14989
|
-
|
|
14966
|
+
div18 = element("div");
|
|
14990
14967
|
img0 = element("img");
|
|
14991
14968
|
t0 = space();
|
|
14992
|
-
|
|
14969
|
+
div4 = element("div");
|
|
14993
14970
|
div0 = element("div");
|
|
14994
14971
|
img1 = element("img");
|
|
14995
14972
|
t1 = space();
|
|
@@ -15009,29 +14986,34 @@ function create_fragment$9(ctx) {
|
|
|
15009
14986
|
t8 = text(t8_value);
|
|
15010
14987
|
t9 = text("个");
|
|
15011
14988
|
t10 = space();
|
|
15012
|
-
|
|
14989
|
+
div3 = element("div");
|
|
14990
|
+
img4 = element("img");
|
|
15013
14991
|
t11 = space();
|
|
15014
|
-
|
|
15015
|
-
t12 =
|
|
14992
|
+
span3 = element("span");
|
|
14993
|
+
t12 = text(t12_value);
|
|
14994
|
+
t13 = text("次");
|
|
14995
|
+
t14 = space();
|
|
15016
14996
|
div5 = element("div");
|
|
15017
|
-
|
|
15018
|
-
|
|
15019
|
-
div9.innerHTML = `<div class="fireCtn"></div> <div class="mainImgCtn mainImgCtnGold"></div> <div class="mainSvgaCtn"></div>`;
|
|
14997
|
+
t15 = space();
|
|
14998
|
+
div6 = element("div");
|
|
15020
14999
|
t16 = space();
|
|
15021
|
-
div16 = element("div");
|
|
15022
|
-
div11 = element("div");
|
|
15023
15000
|
div10 = element("div");
|
|
15024
|
-
|
|
15001
|
+
div10.innerHTML = `<div class="fireCtn"></div> <div class="mainImgCtn mainImgCtnGold"></div> <div class="mainSvgaCtn"></div>`;
|
|
15002
|
+
t19 = space();
|
|
15003
|
+
div17 = element("div");
|
|
15025
15004
|
div12 = element("div");
|
|
15026
|
-
|
|
15027
|
-
|
|
15005
|
+
div11 = element("div");
|
|
15006
|
+
t20 = space();
|
|
15028
15007
|
div13 = element("div");
|
|
15029
|
-
|
|
15030
|
-
|
|
15031
|
-
t22 = space();
|
|
15008
|
+
t21 = space();
|
|
15009
|
+
div16 = element("div");
|
|
15032
15010
|
div14 = element("div");
|
|
15033
|
-
|
|
15034
|
-
|
|
15011
|
+
div14.innerHTML = `<span class="innerCtn"><img class="icon" src="https://asset.tuwan.com/goldMagic/magicIcon.png"/> <span class="numCtn">680</span></span>
|
|
15012
|
+
开启魔法`;
|
|
15013
|
+
t25 = space();
|
|
15014
|
+
div15 = element("div");
|
|
15015
|
+
t26 = space();
|
|
15016
|
+
if (if_block) if_block.c();
|
|
15035
15017
|
attr(img0, "class", "openGiftTitle");
|
|
15036
15018
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/goldMagic/goldTitle.png")) attr(img0, "src", img0_src_value);
|
|
15037
15019
|
attr(img1, "class", "imgIcon");
|
|
@@ -15046,81 +15028,91 @@ function create_fragment$9(ctx) {
|
|
|
15046
15028
|
if (!src_url_equal(img3.src, img3_src_value = "https://asset.tuwan.com/goldMagic/goldBook.png")) attr(img3, "src", img3_src_value);
|
|
15047
15029
|
attr(span2, "class", "wordCtn");
|
|
15048
15030
|
attr(div2, "class", "subCtn");
|
|
15049
|
-
attr(
|
|
15050
|
-
|
|
15051
|
-
attr(
|
|
15052
|
-
attr(
|
|
15053
|
-
attr(
|
|
15054
|
-
attr(
|
|
15031
|
+
attr(img4, "class", "imgIcon");
|
|
15032
|
+
if (!src_url_equal(img4.src, img4_src_value = "https://dynamics-share.tuwan.com/activity/0e24da0fd01719a934630a6652fa4b9d.png?x-oss-process=image/format,webp/ignore-error,1")) attr(img4, "src", img4_src_value);
|
|
15033
|
+
attr(img4, "alt", "");
|
|
15034
|
+
attr(span3, "class", "wordCtn");
|
|
15035
|
+
attr(div3, "class", "subCtn");
|
|
15036
|
+
attr(div4, "class", "leftTopCtn");
|
|
15037
|
+
attr(div5, "class", "fireSvgaCtn");
|
|
15038
|
+
attr(div6, "class", "result_vap_anim");
|
|
15039
|
+
attr(div10, "class", "mainShowerCtn");
|
|
15040
|
+
attr(div11, "class", "showBar");
|
|
15041
|
+
attr(div11, "style", div11_style_value = `width: ${/*resData*/
|
|
15055
15042
|
(((_a2 = ctx[0]) == null ? void 0 : _a2.gold_process) || 0) / /*resData*/
|
|
15056
15043
|
(((_b = ctx[0]) == null ? void 0 : _b.gold_total) || 1) * 100}%`);
|
|
15057
|
-
attr(
|
|
15058
|
-
attr(
|
|
15059
|
-
attr(
|
|
15060
|
-
attr(
|
|
15061
|
-
attr(
|
|
15062
|
-
attr(
|
|
15063
|
-
attr(
|
|
15064
|
-
attr(
|
|
15065
|
-
attr(
|
|
15044
|
+
attr(div12, "class", "progressCtn");
|
|
15045
|
+
attr(div13, "class", "topTipsCtn");
|
|
15046
|
+
attr(div14, "class", "normalBtn");
|
|
15047
|
+
attr(div14, "id", "goldNormalBtn");
|
|
15048
|
+
attr(div15, "class", "firedButton");
|
|
15049
|
+
attr(div15, "id", "goldFiredBtn");
|
|
15050
|
+
attr(div16, "class", "buttonCtn");
|
|
15051
|
+
attr(div17, "class", "openGiftFooter");
|
|
15052
|
+
attr(div18, "class", "GoldCtn");
|
|
15066
15053
|
},
|
|
15067
15054
|
m(target, anchor) {
|
|
15068
|
-
insert(target,
|
|
15069
|
-
append(
|
|
15070
|
-
append(
|
|
15071
|
-
append(
|
|
15072
|
-
append(
|
|
15055
|
+
insert(target, div18, anchor);
|
|
15056
|
+
append(div18, img0);
|
|
15057
|
+
append(div18, t0);
|
|
15058
|
+
append(div18, div4);
|
|
15059
|
+
append(div4, div0);
|
|
15073
15060
|
append(div0, img1);
|
|
15074
15061
|
append(div0, t1);
|
|
15075
15062
|
append(div0, span0);
|
|
15076
15063
|
append(span0, t2);
|
|
15077
|
-
append(
|
|
15078
|
-
append(
|
|
15064
|
+
append(div4, t3);
|
|
15065
|
+
append(div4, div1);
|
|
15079
15066
|
append(div1, img2);
|
|
15080
15067
|
append(div1, t4);
|
|
15081
15068
|
append(div1, span1);
|
|
15082
15069
|
append(span1, t5);
|
|
15083
|
-
append(
|
|
15084
|
-
append(
|
|
15070
|
+
append(div4, t6);
|
|
15071
|
+
append(div4, div2);
|
|
15085
15072
|
append(div2, img3);
|
|
15086
15073
|
append(div2, t7);
|
|
15087
15074
|
append(div2, span2);
|
|
15088
15075
|
append(span2, t8);
|
|
15089
15076
|
append(span2, t9);
|
|
15090
|
-
append(
|
|
15091
|
-
|
|
15092
|
-
append(
|
|
15093
|
-
append(
|
|
15094
|
-
append(
|
|
15095
|
-
append(
|
|
15096
|
-
|
|
15097
|
-
append(
|
|
15098
|
-
append(
|
|
15099
|
-
append(
|
|
15100
|
-
append(
|
|
15101
|
-
|
|
15102
|
-
append(
|
|
15103
|
-
append(
|
|
15104
|
-
append(
|
|
15105
|
-
|
|
15077
|
+
append(div4, t10);
|
|
15078
|
+
append(div4, div3);
|
|
15079
|
+
append(div3, img4);
|
|
15080
|
+
append(div3, t11);
|
|
15081
|
+
append(div3, span3);
|
|
15082
|
+
append(span3, t12);
|
|
15083
|
+
append(span3, t13);
|
|
15084
|
+
append(div18, t14);
|
|
15085
|
+
append(div18, div5);
|
|
15086
|
+
append(div18, t15);
|
|
15087
|
+
append(div18, div6);
|
|
15088
|
+
ctx[8](div6);
|
|
15089
|
+
append(div18, t16);
|
|
15090
|
+
append(div18, div10);
|
|
15091
|
+
append(div18, t19);
|
|
15092
|
+
append(div18, div17);
|
|
15093
|
+
append(div17, div12);
|
|
15094
|
+
append(div12, div11);
|
|
15095
|
+
append(div17, t20);
|
|
15096
|
+
append(div17, div13);
|
|
15097
|
+
div13.innerHTML = /*tipsStr*/
|
|
15106
15098
|
ctx[2];
|
|
15107
|
-
append(
|
|
15099
|
+
append(div17, t21);
|
|
15100
|
+
append(div17, div16);
|
|
15101
|
+
append(div16, div14);
|
|
15102
|
+
append(div16, t25);
|
|
15108
15103
|
append(div16, div15);
|
|
15109
|
-
append(
|
|
15110
|
-
|
|
15111
|
-
append(div15, div14);
|
|
15112
|
-
append(div16, t23);
|
|
15113
|
-
if (if_block1) if_block1.m(div16, null);
|
|
15104
|
+
append(div17, t26);
|
|
15105
|
+
if (if_block) if_block.m(div17, null);
|
|
15114
15106
|
if (!mounted) {
|
|
15115
15107
|
dispose = [
|
|
15116
15108
|
listen(
|
|
15117
|
-
|
|
15109
|
+
div14,
|
|
15118
15110
|
"click",
|
|
15119
15111
|
/*handleOpenGift*/
|
|
15120
15112
|
ctx[4]
|
|
15121
15113
|
),
|
|
15122
15114
|
listen(
|
|
15123
|
-
|
|
15115
|
+
div15,
|
|
15124
15116
|
"click",
|
|
15125
15117
|
/*handleOpenGift*/
|
|
15126
15118
|
ctx[4]
|
|
@@ -15150,56 +15142,43 @@ function create_fragment$9(ctx) {
|
|
|
15150
15142
|
ctx2[0].glod_num
|
|
15151
15143
|
) : "") + "")) set_data(t8, t8_value);
|
|
15152
15144
|
if (dirty & /*resData*/
|
|
15153
|
-
1
|
|
15145
|
+
1 && t12_value !== (t12_value = (Number(
|
|
15154
15146
|
/*resData*/
|
|
15155
15147
|
(_a2 = ctx2[0]) == null ? void 0 : _a2.hit_times
|
|
15156
|
-
)
|
|
15157
|
-
if (show_if) {
|
|
15158
|
-
if (if_block0) {
|
|
15159
|
-
if_block0.p(ctx2, dirty);
|
|
15160
|
-
} else {
|
|
15161
|
-
if_block0 = create_if_block_1$9(ctx2);
|
|
15162
|
-
if_block0.c();
|
|
15163
|
-
if_block0.m(div3, null);
|
|
15164
|
-
}
|
|
15165
|
-
} else if (if_block0) {
|
|
15166
|
-
if_block0.d(1);
|
|
15167
|
-
if_block0 = null;
|
|
15168
|
-
}
|
|
15148
|
+
) || 0) + "")) set_data(t12, t12_value);
|
|
15169
15149
|
if (dirty & /*resData*/
|
|
15170
|
-
1 &&
|
|
15150
|
+
1 && div11_style_value !== (div11_style_value = `width: ${/*resData*/
|
|
15171
15151
|
(((_b = ctx2[0]) == null ? void 0 : _b.gold_process) || 0) / /*resData*/
|
|
15172
15152
|
(((_c = ctx2[0]) == null ? void 0 : _c.gold_total) || 1) * 100}%`)) {
|
|
15173
|
-
attr(
|
|
15153
|
+
attr(div11, "style", div11_style_value);
|
|
15174
15154
|
}
|
|
15175
15155
|
if (dirty & /*tipsStr*/
|
|
15176
|
-
4)
|
|
15156
|
+
4) div13.innerHTML = /*tipsStr*/
|
|
15177
15157
|
ctx2[2];
|
|
15178
15158
|
if (
|
|
15179
15159
|
/*expiresText*/
|
|
15180
15160
|
ctx2[3]
|
|
15181
15161
|
) {
|
|
15182
|
-
if (
|
|
15183
|
-
|
|
15162
|
+
if (if_block) {
|
|
15163
|
+
if_block.p(ctx2, dirty);
|
|
15184
15164
|
} else {
|
|
15185
|
-
|
|
15186
|
-
|
|
15187
|
-
|
|
15165
|
+
if_block = create_if_block$9(ctx2);
|
|
15166
|
+
if_block.c();
|
|
15167
|
+
if_block.m(div17, null);
|
|
15188
15168
|
}
|
|
15189
|
-
} else if (
|
|
15190
|
-
|
|
15191
|
-
|
|
15169
|
+
} else if (if_block) {
|
|
15170
|
+
if_block.d(1);
|
|
15171
|
+
if_block = null;
|
|
15192
15172
|
}
|
|
15193
15173
|
},
|
|
15194
15174
|
i: noop,
|
|
15195
15175
|
o: noop,
|
|
15196
15176
|
d(detaching) {
|
|
15197
15177
|
if (detaching) {
|
|
15198
|
-
detach(
|
|
15178
|
+
detach(div18);
|
|
15199
15179
|
}
|
|
15200
|
-
if (if_block0) if_block0.d();
|
|
15201
15180
|
ctx[8](null);
|
|
15202
|
-
if (
|
|
15181
|
+
if (if_block) if_block.d();
|
|
15203
15182
|
mounted = false;
|
|
15204
15183
|
run_all(dispose);
|
|
15205
15184
|
}
|
|
@@ -15322,7 +15301,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
15322
15301
|
handleGetGiftInfo();
|
|
15323
15302
|
SvgaPlayer.getInstance().playEver(".mainImgCtnGold", gold_pending_svga, "pendingSvga");
|
|
15324
15303
|
});
|
|
15325
|
-
function
|
|
15304
|
+
function div6_binding($$value) {
|
|
15326
15305
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
15327
15306
|
animEl = $$value;
|
|
15328
15307
|
$$invalidate(1, animEl);
|
|
@@ -15364,7 +15343,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
15364
15343
|
handleSetResult,
|
|
15365
15344
|
flag,
|
|
15366
15345
|
handleGetGiftInfo,
|
|
15367
|
-
|
|
15346
|
+
div6_binding
|
|
15368
15347
|
];
|
|
15369
15348
|
}
|
|
15370
15349
|
class Gold extends SvelteComponent {
|
|
@@ -16424,12 +16403,10 @@ function create_if_block$7(ctx) {
|
|
|
16424
16403
|
current = true;
|
|
16425
16404
|
if (!mounted) {
|
|
16426
16405
|
dispose = [
|
|
16427
|
-
listen(div0, "click", stop_propagation(
|
|
16428
|
-
|
|
16429
|
-
|
|
16430
|
-
|
|
16431
|
-
)) ctx[1].apply(this, arguments);
|
|
16432
|
-
})),
|
|
16406
|
+
listen(div0, "click", stop_propagation(
|
|
16407
|
+
/*click_handler_2*/
|
|
16408
|
+
ctx[21]
|
|
16409
|
+
)),
|
|
16433
16410
|
listen(
|
|
16434
16411
|
div1,
|
|
16435
16412
|
"click",
|
|
@@ -16454,13 +16431,12 @@ function create_if_block$7(ctx) {
|
|
|
16454
16431
|
mounted = true;
|
|
16455
16432
|
}
|
|
16456
16433
|
},
|
|
16457
|
-
p(
|
|
16458
|
-
ctx = new_ctx;
|
|
16434
|
+
p(ctx2, dirty) {
|
|
16459
16435
|
let previous_block_index = current_block_type_index;
|
|
16460
|
-
current_block_type_index = select_block_type(
|
|
16436
|
+
current_block_type_index = select_block_type(ctx2);
|
|
16461
16437
|
if (current_block_type_index === previous_block_index) {
|
|
16462
16438
|
if (~current_block_type_index) {
|
|
16463
|
-
if_blocks[current_block_type_index].p(
|
|
16439
|
+
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
16464
16440
|
}
|
|
16465
16441
|
} else {
|
|
16466
16442
|
if (if_block0) {
|
|
@@ -16473,10 +16449,10 @@ function create_if_block$7(ctx) {
|
|
|
16473
16449
|
if (~current_block_type_index) {
|
|
16474
16450
|
if_block0 = if_blocks[current_block_type_index];
|
|
16475
16451
|
if (!if_block0) {
|
|
16476
|
-
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](
|
|
16452
|
+
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx2);
|
|
16477
16453
|
if_block0.c();
|
|
16478
16454
|
} else {
|
|
16479
|
-
if_block0.p(
|
|
16455
|
+
if_block0.p(ctx2, dirty);
|
|
16480
16456
|
}
|
|
16481
16457
|
transition_in(if_block0, 1);
|
|
16482
16458
|
if_block0.m(div4, t3);
|
|
@@ -16486,16 +16462,16 @@ function create_if_block$7(ctx) {
|
|
|
16486
16462
|
}
|
|
16487
16463
|
if (
|
|
16488
16464
|
/*isShowResult*/
|
|
16489
|
-
|
|
16465
|
+
ctx2[12]
|
|
16490
16466
|
) {
|
|
16491
16467
|
if (if_block1) {
|
|
16492
|
-
if_block1.p(
|
|
16468
|
+
if_block1.p(ctx2, dirty);
|
|
16493
16469
|
if (dirty & /*isShowResult*/
|
|
16494
16470
|
4096) {
|
|
16495
16471
|
transition_in(if_block1, 1);
|
|
16496
16472
|
}
|
|
16497
16473
|
} else {
|
|
16498
|
-
if_block1 = create_if_block_2$7(
|
|
16474
|
+
if_block1 = create_if_block_2$7(ctx2);
|
|
16499
16475
|
if_block1.c();
|
|
16500
16476
|
transition_in(if_block1, 1);
|
|
16501
16477
|
if_block1.m(div4, t4);
|
|
@@ -16509,16 +16485,16 @@ function create_if_block$7(ctx) {
|
|
|
16509
16485
|
}
|
|
16510
16486
|
if (
|
|
16511
16487
|
/*isShowHistory*/
|
|
16512
|
-
|
|
16488
|
+
ctx2[10]
|
|
16513
16489
|
) {
|
|
16514
16490
|
if (if_block2) {
|
|
16515
|
-
if_block2.p(
|
|
16491
|
+
if_block2.p(ctx2, dirty);
|
|
16516
16492
|
if (dirty & /*isShowHistory*/
|
|
16517
16493
|
1024) {
|
|
16518
16494
|
transition_in(if_block2, 1);
|
|
16519
16495
|
}
|
|
16520
16496
|
} else {
|
|
16521
|
-
if_block2 = create_if_block_1$7(
|
|
16497
|
+
if_block2 = create_if_block_1$7(ctx2);
|
|
16522
16498
|
if_block2.c();
|
|
16523
16499
|
transition_in(if_block2, 1);
|
|
16524
16500
|
if_block2.m(div4, null);
|
|
@@ -16533,9 +16509,9 @@ function create_if_block$7(ctx) {
|
|
|
16533
16509
|
if (!current || dirty & /*currentType*/
|
|
16534
16510
|
1 && div4_class_value !== (div4_class_value = null_to_empty(
|
|
16535
16511
|
/*currentType*/
|
|
16536
|
-
|
|
16512
|
+
ctx2[0] == "1" ? "goldMagicCtn magic" : (
|
|
16537
16513
|
/*currentType*/
|
|
16538
|
-
|
|
16514
|
+
ctx2[0] == "2" ? "goldMagicCtn gold" : "goldMagicCtn magic"
|
|
16539
16515
|
)
|
|
16540
16516
|
) + " svelte-1h7epg8")) {
|
|
16541
16517
|
attr(div4, "class", div4_class_value);
|
|
@@ -16648,7 +16624,7 @@ function create_if_block_5$2(ctx) {
|
|
|
16648
16624
|
)
|
|
16649
16625
|
};
|
|
16650
16626
|
gold = new Gold({ props: gold_props });
|
|
16651
|
-
ctx[
|
|
16627
|
+
ctx[22](gold);
|
|
16652
16628
|
return {
|
|
16653
16629
|
c() {
|
|
16654
16630
|
create_component(gold.$$.fragment);
|
|
@@ -16677,7 +16653,7 @@ function create_if_block_5$2(ctx) {
|
|
|
16677
16653
|
current = false;
|
|
16678
16654
|
},
|
|
16679
16655
|
d(detaching) {
|
|
16680
|
-
ctx[
|
|
16656
|
+
ctx[22](null);
|
|
16681
16657
|
destroy_component(gold, detaching);
|
|
16682
16658
|
}
|
|
16683
16659
|
};
|
|
@@ -16814,7 +16790,7 @@ function create_else_block$5(ctx) {
|
|
|
16814
16790
|
let updating_onClose;
|
|
16815
16791
|
let current;
|
|
16816
16792
|
function result_1_onClose_binding(value) {
|
|
16817
|
-
ctx[
|
|
16793
|
+
ctx[24](value);
|
|
16818
16794
|
}
|
|
16819
16795
|
let result_1_props = {
|
|
16820
16796
|
num: (
|
|
@@ -16897,7 +16873,7 @@ function create_if_block_3$4(ctx) {
|
|
|
16897
16873
|
let updating_onClose;
|
|
16898
16874
|
let current;
|
|
16899
16875
|
function newyearresult_onClose_binding(value) {
|
|
16900
|
-
ctx[
|
|
16876
|
+
ctx[23](value);
|
|
16901
16877
|
}
|
|
16902
16878
|
let newyearresult_props = {
|
|
16903
16879
|
num: (
|
|
@@ -16974,7 +16950,7 @@ function create_if_block_1$7(ctx) {
|
|
|
16974
16950
|
let updating_onClose;
|
|
16975
16951
|
let current;
|
|
16976
16952
|
function history_onClose_binding(value) {
|
|
16977
|
-
ctx[
|
|
16953
|
+
ctx[25](value);
|
|
16978
16954
|
}
|
|
16979
16955
|
let history_props = {
|
|
16980
16956
|
mode: (
|
|
@@ -17149,6 +17125,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
17149
17125
|
function click_handler_12(event) {
|
|
17150
17126
|
bubble.call(this, $$self, event);
|
|
17151
17127
|
}
|
|
17128
|
+
const click_handler_2 = () => closeModal();
|
|
17152
17129
|
function gold_binding($$value) {
|
|
17153
17130
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
17154
17131
|
goldChild = $$value;
|
|
@@ -17194,6 +17171,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
17194
17171
|
explain_url,
|
|
17195
17172
|
click_handler,
|
|
17196
17173
|
click_handler_12,
|
|
17174
|
+
click_handler_2,
|
|
17197
17175
|
gold_binding,
|
|
17198
17176
|
newyearresult_onClose_binding,
|
|
17199
17177
|
result_1_onClose_binding,
|
|
@@ -21243,7 +21221,7 @@ function create_else_block(ctx) {
|
|
|
21243
21221
|
)
|
|
21244
21222
|
};
|
|
21245
21223
|
love = new Love({ props: love_props });
|
|
21246
|
-
ctx[
|
|
21224
|
+
ctx[22](love);
|
|
21247
21225
|
return {
|
|
21248
21226
|
c() {
|
|
21249
21227
|
create_component(love.$$.fragment);
|
|
@@ -21272,7 +21250,7 @@ function create_else_block(ctx) {
|
|
|
21272
21250
|
current = false;
|
|
21273
21251
|
},
|
|
21274
21252
|
d(detaching) {
|
|
21275
|
-
ctx[
|
|
21253
|
+
ctx[22](null);
|
|
21276
21254
|
destroy_component(love, detaching);
|
|
21277
21255
|
}
|
|
21278
21256
|
};
|
|
@@ -21346,7 +21324,7 @@ function create_if_block_1$1(ctx) {
|
|
|
21346
21324
|
let updating_onClose;
|
|
21347
21325
|
let current;
|
|
21348
21326
|
function result_1_onClose_binding(value) {
|
|
21349
|
-
ctx[
|
|
21327
|
+
ctx[23](value);
|
|
21350
21328
|
}
|
|
21351
21329
|
let result_1_props = {
|
|
21352
21330
|
num: (
|
|
@@ -21443,7 +21421,7 @@ function create_if_block$1(ctx) {
|
|
|
21443
21421
|
let updating_onClose;
|
|
21444
21422
|
let current;
|
|
21445
21423
|
function history_onClose_binding(value) {
|
|
21446
|
-
ctx[
|
|
21424
|
+
ctx[24](value);
|
|
21447
21425
|
}
|
|
21448
21426
|
let history_props = {
|
|
21449
21427
|
mode: (
|
|
@@ -21583,12 +21561,10 @@ function create_fragment$1(ctx) {
|
|
|
21583
21561
|
current = true;
|
|
21584
21562
|
if (!mounted) {
|
|
21585
21563
|
dispose = [
|
|
21586
|
-
listen(div0, "click", stop_propagation(
|
|
21587
|
-
|
|
21588
|
-
|
|
21589
|
-
|
|
21590
|
-
)) ctx[1].apply(this, arguments);
|
|
21591
|
-
})),
|
|
21564
|
+
listen(div0, "click", stop_propagation(
|
|
21565
|
+
/*click_handler_2*/
|
|
21566
|
+
ctx[21]
|
|
21567
|
+
)),
|
|
21592
21568
|
listen(
|
|
21593
21569
|
div1,
|
|
21594
21570
|
"click",
|
|
@@ -21613,12 +21589,11 @@ function create_fragment$1(ctx) {
|
|
|
21613
21589
|
mounted = true;
|
|
21614
21590
|
}
|
|
21615
21591
|
},
|
|
21616
|
-
p(
|
|
21617
|
-
ctx = new_ctx;
|
|
21592
|
+
p(ctx2, [dirty]) {
|
|
21618
21593
|
let previous_block_index = current_block_type_index;
|
|
21619
|
-
current_block_type_index = select_block_type(
|
|
21594
|
+
current_block_type_index = select_block_type(ctx2);
|
|
21620
21595
|
if (current_block_type_index === previous_block_index) {
|
|
21621
|
-
if_blocks[current_block_type_index].p(
|
|
21596
|
+
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
21622
21597
|
} else {
|
|
21623
21598
|
group_outros();
|
|
21624
21599
|
transition_out(if_blocks[previous_block_index], 1, 1, () => {
|
|
@@ -21627,26 +21602,26 @@ function create_fragment$1(ctx) {
|
|
|
21627
21602
|
check_outros();
|
|
21628
21603
|
if_block0 = if_blocks[current_block_type_index];
|
|
21629
21604
|
if (!if_block0) {
|
|
21630
|
-
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](
|
|
21605
|
+
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx2);
|
|
21631
21606
|
if_block0.c();
|
|
21632
21607
|
} else {
|
|
21633
|
-
if_block0.p(
|
|
21608
|
+
if_block0.p(ctx2, dirty);
|
|
21634
21609
|
}
|
|
21635
21610
|
transition_in(if_block0, 1);
|
|
21636
21611
|
if_block0.m(div4, t3);
|
|
21637
21612
|
}
|
|
21638
21613
|
if (
|
|
21639
21614
|
/*isShowResult*/
|
|
21640
|
-
|
|
21615
|
+
ctx2[11]
|
|
21641
21616
|
) {
|
|
21642
21617
|
if (if_block1) {
|
|
21643
|
-
if_block1.p(
|
|
21618
|
+
if_block1.p(ctx2, dirty);
|
|
21644
21619
|
if (dirty & /*isShowResult*/
|
|
21645
21620
|
2048) {
|
|
21646
21621
|
transition_in(if_block1, 1);
|
|
21647
21622
|
}
|
|
21648
21623
|
} else {
|
|
21649
|
-
if_block1 = create_if_block_1$1(
|
|
21624
|
+
if_block1 = create_if_block_1$1(ctx2);
|
|
21650
21625
|
if_block1.c();
|
|
21651
21626
|
transition_in(if_block1, 1);
|
|
21652
21627
|
if_block1.m(div4, t4);
|
|
@@ -21660,16 +21635,16 @@ function create_fragment$1(ctx) {
|
|
|
21660
21635
|
}
|
|
21661
21636
|
if (
|
|
21662
21637
|
/*isShowHistory*/
|
|
21663
|
-
|
|
21638
|
+
ctx2[9]
|
|
21664
21639
|
) {
|
|
21665
21640
|
if (if_block2) {
|
|
21666
|
-
if_block2.p(
|
|
21641
|
+
if_block2.p(ctx2, dirty);
|
|
21667
21642
|
if (dirty & /*isShowHistory*/
|
|
21668
21643
|
512) {
|
|
21669
21644
|
transition_in(if_block2, 1);
|
|
21670
21645
|
}
|
|
21671
21646
|
} else {
|
|
21672
|
-
if_block2 = create_if_block$1(
|
|
21647
|
+
if_block2 = create_if_block$1(ctx2);
|
|
21673
21648
|
if_block2.c();
|
|
21674
21649
|
transition_in(if_block2, 1);
|
|
21675
21650
|
if_block2.m(div4, null);
|
|
@@ -21684,7 +21659,7 @@ function create_fragment$1(ctx) {
|
|
|
21684
21659
|
if (!current || dirty & /*currentType*/
|
|
21685
21660
|
1 && div4_class_value !== (div4_class_value = null_to_empty(
|
|
21686
21661
|
/*currentType*/
|
|
21687
|
-
|
|
21662
|
+
ctx2[0] == "1" ? "goldMagicCtn2 magic" : "goldMagicCtn2 gold"
|
|
21688
21663
|
) + " svelte-5p8e4p")) {
|
|
21689
21664
|
attr(div4, "class", div4_class_value);
|
|
21690
21665
|
}
|
|
@@ -21770,6 +21745,7 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
21770
21745
|
function click_handler_12(event) {
|
|
21771
21746
|
bubble.call(this, $$self, event);
|
|
21772
21747
|
}
|
|
21748
|
+
const click_handler_2 = () => closeModal();
|
|
21773
21749
|
function love_binding($$value) {
|
|
21774
21750
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
21775
21751
|
goldChild = $$value;
|
|
@@ -21810,6 +21786,7 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
21810
21786
|
handelChangeUnitPrice,
|
|
21811
21787
|
click_handler,
|
|
21812
21788
|
click_handler_12,
|
|
21789
|
+
click_handler_2,
|
|
21813
21790
|
love_binding,
|
|
21814
21791
|
result_1_onClose_binding,
|
|
21815
21792
|
history_onClose_binding
|
|
@@ -22482,6 +22459,9 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
22482
22459
|
...fromList,
|
|
22483
22460
|
nickname: honorName || fromList.nickname
|
|
22484
22461
|
});
|
|
22462
|
+
if (opts.setChooseUser && opts.setChooseUser.hidden_uid) {
|
|
22463
|
+
$$invalidate(8, selectUser.hidden_uid = opts.setChooseUser.hidden_uid, selectUser);
|
|
22464
|
+
}
|
|
22485
22465
|
} else if (opts.setChooseUser) {
|
|
22486
22466
|
$$invalidate(8, selectUser = {
|
|
22487
22467
|
...opts.setChooseUser,
|