Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Cocos-GoldenMiner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
等吃饭
Cocos-GoldenMiner
Commits
dc227958
Commit
dc227958
authored
Apr 17, 2023
by
Friends233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一些修改
parent
5e11a687
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
23 deletions
+28
-23
Game.fire
assets/Scenes/Game.fire
+16
-16
GameScene.ts
assets/Script/GameScene.ts
+5
-0
08fed6e4f.json
build/web-mobile/assets/main/import/08/08fed6e4f.json
+1
-1
index.js
build/web-mobile/assets/main/index.js
+1
-1
index.html
build/web-mobile/index.html
+3
-3
main.js
build/web-mobile/main.js
+2
-2
No files found.
assets/Scenes/Game.fire
View file @
dc227958
...
...
@@ -584,7 +584,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
c2IzBwb3hEzLePvnbAa9Vf
"
"_id": "
3230UNmKFLNqe6xmUZ0QnT
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -614,7 +614,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
cdfTfpSpVE9omBwF/hezzG
"
"_id": "
55XMDqyR1Or7GQNSV0xMkK
"
},
{
"__type__": "7c5ffhlHDpBpoDQ8wfKN7pu",
...
...
@@ -2352,7 +2352,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
db5V7qEuJKTbQChKcOS5c1
"
"_id": "
c7ZtUPzzhGMrraG2nEQkdE
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -2382,7 +2382,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
e0lLHHUihNCKy0Py3ZuAvy
"
"_id": "
ae2zHUphRAzLzT3G7fpaK9
"
},
{
"__type__": "cc.Node",
...
...
@@ -2444,7 +2444,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
3cjmKAzUJHK5+tf5r4FIKB
"
"_id": "
5e/XowrgFCaZN7yJ/6zuV9
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -2474,7 +2474,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
90QN+PLLZB07n47EZ5nQHx
"
"_id": "
40FG87zUJBELOIk/HwEaVQ
"
},
{
"__type__": "cc.Node",
...
...
@@ -2536,7 +2536,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
2dkitjMwFKMIFs4TTREXaT
"
"_id": "
70N5v8e3xJhqfODdVIhZqQ
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -2566,7 +2566,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
5ck9I0TcNPhYzKPmAQ4JBz
"
"_id": "
cbkazllbxNfoyT2c3RgsP5
"
},
{
"__type__": "cc.Node",
...
...
@@ -2628,7 +2628,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
fc8gqLpNtK4L4/mn1LBARr
"
"_id": "
6bJWb/CZpHvLDbT1pMlv8i
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -2658,7 +2658,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
8fIqGOZbZFlYOq9OITN5Xh
"
"_id": "
7eU6hI1F5JO48u2hU+t8ux
"
},
{
"__type__": "7c5ffhlHDpBpoDQ8wfKN7pu",
...
...
@@ -4154,7 +4154,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
87DZhjy1NPk5CZbxnwh68j
"
"_id": "
432ushLYZPJr9PrGAmMS1q
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -4184,7 +4184,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
f1p2Z0x+BPDbnoNhJnwE44
"
"_id": "
a7Suzaz1xKMZuiA/11XIOR
"
},
{
"__type__": "cc.Node",
...
...
@@ -4246,7 +4246,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
26Z61aIBFBebkiD46lNxyy
"
"_id": "
caTwTGaKJC/JbA7+k07G/L
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -4276,7 +4276,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
fah+g03ClM8qFwlFIiSmb4
"
"_id": "
c5E2nnOUVGPqp7I6QSKBXW
"
},
{
"__type__": "cc.Node",
...
...
@@ -4338,7 +4338,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
84hxDoQd9O6IYeWL2INKly
"
"_id": "
74NLObj19LJrUlCENhyYwO
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -4368,7 +4368,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
1b6/h8Su5KJa9T2I5BfbNY
"
"_id": "
5f8UtPpphNZrDiwN/KmdtA
"
},
{
"__type__": "7c5ffhlHDpBpoDQ8wfKN7pu",
...
...
assets/Script/GameScene.ts
View file @
dc227958
...
...
@@ -166,6 +166,7 @@ export default class GameScene extends cc.Component {
startGameCountAni
(
cb
)
{
const
cd
=
cc
.
find
(
'countDown/cd'
,
this
.
node
),
cdBg
=
cc
.
find
(
'countDown/cdBg'
,
this
.
node
)
cd
.
parent
.
active
=
true
cdBg
.
opacity
=
150
cd
.
on
(
SvgaEvent
.
END_FRAME
,
()
=>
{
cb
?.()
...
...
@@ -190,6 +191,10 @@ export default class GameScene extends cc.Component {
.
getComponent
(
cc
.
Animation
)
.
getAnimationState
(
'clipRation'
)
rotationAni
.
speed
=
this
.
gameConfig
.
rotationSpeed
this
.
isGameOver
=
false
this
.
isStartGame
=
false
this
.
setClipState
(
CLIP_STATE
.
DEFAULT
)
this
.
clip
.
y
=
-
41
}
/** 爪子碰撞事件 */
...
...
build/web-mobile/assets/main/import/08/08fed6e4f.json
View file @
dc227958
[
1
,[
"ecpdLyjvZBwrvm+cedCcQy"
,
"f0BIwQ8D5Ml7nTNQbh1YlS"
,
"e97GVMl6JHh5Ml5qEDdSGa"
,
"29FYIk+N1GYaeWH/q1NxQO"
,
"efIH2ANUNNRrla/2Tkh69y"
,
"ebG24L/RFCTKsdG+gOOujI"
,
"71VhFCTINJM6/Ky3oX9nBT"
,
"ccZ87dBnVKaaHVYXZEXW/l"
,
"9eVoL8uydDNbyEDvs6pMDM"
,
"fbMmcvk8NESZVK02pKjR6b"
,
"29VCRWNg1PJaCMFfRktiT9"
,
"aeme5pj49K+I20dlrkWT/Z"
,
"f01uShMvVOCbB9b5LIRqaW"
,
"4asNelSFZBdJWoRAUF+zfA"
,
"7dFWNhWU5JqbX2WYLwE0lL"
,
"3cgtWnH0VDBKhrJaLGBxaY"
,
"caPPLVk8tNALK4f1HLeS/m"
,
"ebNMh4qYtCqooJGljndL0h"
,
"5cEQYk9o9HNpay8rRONeKx"
,
"a2MjXRFdtLlYQ5ouAFv/+R"
,
"6d+ZkSHVtCLomnABbAgLbi"
,
"57nzdaHfdED63tPBTVngId"
,
"4adjSY21NKn58HTpPHV+GP"
,
"15WBwxeRlH7LfKB1vk3Hr3"
,
"a39scYjFpPM6wp48nqAB7f"
,
"8cBygjL2RFKbm1+s0Utqs9"
,
"31r4X/2DlJsLM38fit+9RU"
,
"f3xSd/ExBBzJl5KRK7XYVG"
,
"b4P/PCArtIdIH38t6mlw8Y"
,
"e8Ueib+qJEhL6mXAHdnwbi"
],[
"node"
,
"_spriteFrame"
,
"root"
,
"_parent"
,
"_N$normalSprite"
,
"_N$pressedSprite"
,
"_N$hoverSprite"
,
"_N$disabledSprite"
,
"_textureSetter"
,
"_svga"
,
"scene"
,
"_defaultClip"
,
"procItem"
,
"bsetPropItem"
],[[
"cc.Node"
,[
"_name"
,
"_opacity"
,
"_objFlags"
,
"_id"
,
"_contentSize"
,
"_components"
,
"_parent"
,
"_trs"
,
"_children"
,
"_anchorPoint"
,
"_color"
,
"_prefab"
],
-1
,
5
,
9
,
1
,
7
,
2
,
5
,
5
,
4
],[
"cc.Sprite"
,[
"_sizeMode"
,
"_type"
,
"node"
,
"_materials"
,
"_spriteFrame"
],
1
,
1
,
3
,
6
],
"cc.SpriteFrame"
,
"cc.Texture2D"
,[
"cc.Layout"
,[
"_N$layoutType"
,
"_N$spacingX"
,
"_N$spacingY"
,
"_resize"
,
"_N$paddingLeft"
,
"node"
,
"_layoutSize"
],
-2
,
1
,
5
],[
"7c5ffhlHDpBpoDQ8wfKN7pu"
,[
"_loop"
,
"_fps"
,
"autoPlay"
,
"node"
,
"_svga"
],
0
,
1
,
6
],[
"cc.Label"
,[
"_string"
,
"_fontSize"
,
"_N$verticalAlign"
,
"_lineHeight"
,
"_N$horizontalAlign"
,
"_enableWrapText"
,
"_N$overflow"
,
"_N$cacheMode"
,
"node"
,
"_materials"
],
-5
,
1
,
3
],[
"cc.Widget"
,[
"_alignFlags"
,
"alignMode"
,
"_originalWidth"
,
"_originalHeight"
,
"node"
],
-1
,
1
],[
"cc.Mask"
,[
"_type"
,
"_N$alphaThreshold"
,
"node"
,
"_materials"
,
"_spriteFrame"
],
1
,
1
,
3
,
6
],[
"cc.Button"
,[
"_N$transition"
,
"zoomScale"
,
"node"
,
"_N$normalColor"
,
"_N$pressedColor"
,
"_N$disabledColor"
,
"_N$target"
,
"_N$normalSprite"
,
"_N$pressedSprite"
,
"_N$hoverSprite"
,
"_N$disabledSprite"
],
1
,
1
,
5
,
5
,
5
,
1
,
6
,
6
,
6
,
6
],[
"cc.SceneAsset"
,[
"_name"
,
"asyncLoadAssets"
],
1
],[
"cc.Canvas"
,[
"_fitWidth"
,
"_fitHeight"
,
"node"
,
"_designResolution"
],
1
,
1
,
5
],[
"5798dhpwtNHQq2OXS4At/jG"
,[
"node"
,
"propItem"
,
"procItem"
,
"bsetPropItem"
],
3
,
1
,
3
,
6
,
6
],[
"cc.Animation"
,[
"playOnLoad"
,
"node"
,
"_clips"
],
2
,
1
,
12
],[
"cc.Animation"
,[
"node"
,
"_clips"
,
"_defaultClip"
],
3
,
1
,
3
,
6
],[
"b257deNLElEQ7owjaUlEj0T"
,[
"node"
],
3
,
1
],[
"cc.BoxCollider"
,[
"node"
,
"_offset"
,
"_size"
],
3
,
1
,
5
,
5
],[
"cc.Scene"
,[
"_name"
,
"_active"
,
"_children"
,
"_anchorPoint"
,
"_trs"
],
1
,
2
,
5
,
7
],[
"cc.Camera"
,[
"_clearFlags"
,
"_depth"
,
"node"
],
1
,
1
],[
"cc.PrefabInfo"
,[
"root"
],
3
,
1
]],[[
0
,
0
,
6
,
11
,
4
,
7
,
2
],[
19
,
0
,
1
],[
0
,
0
,
6
,
8
,
5
,
4
,
7
,
2
],[
0
,
0
,
6
,
5
,
4
,
9
,
7
,
2
],[
1
,
2
,
3
,
1
],[
1
,
2
,
3
,
4
,
1
],[
0
,
0
,
6
,
5
,
4
,
7
,
2
],[
7
,
1
,
0
,
2
,
3
,
4
,
5
],[
1
,
1
,
0
,
2
,
3
,
4
,
3
],[
0
,
0
,
2
,
8
,
5
,
4
,
3
],[
0
,
0
,
2
,
6
,
5
,
10
,
4
,
3
],[
9
,
0
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
2
],[
6
,
0
,
1
,
5
,
4
,
2
,
6
,
7
,
8
,
9
,
8
],[
0
,
0
,
1
,
6
,
5
,
4
,
9
,
3
],[
0
,
0
,
8
,
7
,
2
],[
0
,
0
,
6
,
8
,
5
,
4
,
9
,
7
,
2
],[
1
,
0
,
2
,
3
,
4
,
2
],[
6
,
0
,
1
,
3
,
2
,
8
,
9
,
5
],[
10
,
0
,
1
,
3
],[
0
,
0
,
3
,
8
,
5
,
10
,
4
,
7
,
3
],[
0
,
0
,
8
,
5
,
4
,
9
,
7
,
2
],[
0
,
0
,
8
,
5
,
4
,
9
,
2
],[
0
,
0
,
6
,
5
,
4
,
2
],[
0
,
0
,
6
,
8
,
4
,
2
],[
0
,
0
,
6
,
5
,
2
],[
0
,
0
,
6
,
8
,
7
,
2
],[
0
,
0
,
1
,
6
,
5
,
4
,
9
,
7
,
3
],[
0
,
0
,
1
,
6
,
5
,
10
,
4
,
3
],[
11
,
0
,
1
,
2
,
3
,
3
],[
7
,
0
,
4
,
2
],[
12
,
0
,
1
,
2
,
3
,
1
],[
4
,
0
,
1
,
2
,
5
,
6
,
4
],[
4
,
3
,
0
,
1
,
2
,
5
,
6
,
5
],[
4
,
0
,
4
,
1
,
5
,
6
,
4
],[
1
,
1
,
0
,
2
,
3
,
3
],[
1
,
0
,
2
,
3
,
2
],[
13
,
0
,
1
,
2
,
2
],[
14
,
0
,
1
,
2
,
1
],[
15
,
0
,
1
],[
16
,
0
,
1
,
2
,
1
],[
5
,
0
,
3
,
4
,
2
],[
5
,
0
,
1
,
3
,
4
,
3
],[
5
,
2
,
3
,
4
,
2
],[
8
,
0
,
2
,
3
,
4
,
2
],[
8
,
1
,
2
,
3
,
2
],[
9
,
1
,
0
,
2
,
3
],[
17
,
0
,
1
,
2
,
3
,
4
,
3
],[
18
,
0
,
1
,
2
,
3
],[
6
,
0
,
1
,
3
,
4
,
2
,
8
,
9
,
6
]],[[[{
"name"
:
"default_btn_disabled"
,
"rect"
:[
0
,
0
,
40
,
40
],
"offset"
:[
0
,
0
],
"originalSize"
:[
40
,
40
],
"capInsets"
:[
12
,
12
,
12
,
12
]}],[
2
],
0
,[
0
],[
8
],[
6
]],[[[
18
,
"Game"
,
null
],[
19
,
"Canvas"
,
"a286bbGknJLZpRpxROV6M94"
,[
-4
,
-5
,
-6
,
-7
,
-8
,
-9
,
-10
,
-11
,
-12
,
-13
,
-14
,
-15
,
-16
,
-17
,
-18
],[[
28
,
true
,
false
,
-1
,[
5
,
750
,
1624
]],[
29
,
45
,
-2
],[
30
,
-3
,[
72
,
73
,
74
,
75
,
76
],
71
,
77
]],[
4
,
4294769916
],[
5
,
750
,
1624
],[
375
,
812
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
2
,
"gameStage"
,
1
,[
-20
,
-21
,
-22
,
-23
,
-24
,
-25
,
-26
,
-27
,
-28
,
-29
,
-30
,
-31
],[[
31
,
3
,
23
,
5
,
-19
,[
5
,
846
,
530
]]],[
5
,
846
,
530
],[
0
,
-152.689
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
20
,
"clip"
,[
-36
,
-37
],[[
34
,
1
,
0
,
-32
,[
20
]],[
36
,
true
,
-33
,[[
21
,
22
,
null
],
6
,
6
,
0
]],[
38
,
-34
],[
39
,
-35
,[
0
,
0.9
,
-122.9
],[
5
,
41.4
,
29.7
]]],[
5
,
133
,
154
],[
0
,
0.5
,
1
],[
0
,
-41
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
2
,
"test"
,
1
,[
-39
,
-40
,
-41
,
-42
],[[
32
,
1
,
3
,
50
,
20
,
-38
,[
5
,
250
,
100
]]],[
5
,
250
,
100
],[
0
,
695.681
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
14
,
"aniNode"
,[
-43
,
-44
,
-45
,
-46
],[
-60
,
77
,
0
,
0
,
0
,
0
,
1
,
1
,
-1
,
1
]],[
9
,
"Background"
,
512
,[
-49
],[[
8
,
1
,
0
,
-47
,[
44
],
45
],[
7
,
0
,
45
,
100
,
40
,
-48
]],[
5
,
100
,
40
]],[
9
,
"Background"
,
512
,[
-52
],[[
8
,
1
,
0
,
-50
,[
51
],
52
],[
7
,
0
,
45
,
100
,
40
,
-51
]],[
5
,
100
,
40
]],[
9
,
"Background"
,
512
,[
-55
],[[
8
,
1
,
0
,
-53
,[
58
],
59
],[
7
,
0
,
45
,
100
,
40
,
-54
]],[
5
,
100
,
40
]],[
9
,
"Background"
,
512
,[
-58
],[[
8
,
1
,
0
,
-56
,[
65
],
66
],[
7
,
0
,
45
,
100
,
40
,
-57
]],[
5
,
100
,
40
]],[
21
,
"clipWrp"
,[
-60
,
3
],[[
37
,
-59
,[
24
],
23
]],[
5
,
233
,
148
],[
0
,
0.5
,
1.3
]],[
14
,
"aniNode"
,[
-61
,
-62
,
-63
],[
-240
,
264
,
0
,
0
,
0
,
0
,
1
,
1
,
-1
,
1
]],[
22
,
"background"
,
1
,[[
7
,
0
,
45
,
200
,
150
,
-64
],[
5
,
-65
,[
0
],
1
]],[
5
,
750
,
1624
]],[
2
,
"light"
,
1
,[
-67
],[[
40
,
true
,
-66
,
3
]],[
5
,
750
,
928
],[
0
,
287.144
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
15
,
"procBg"
,
1
,[
-69
],[[
8
,
1
,
0
,
-68
,[
8
],
9
]],[
5
,
334
,
49
],[
0
,
0
,
0.5
],[
-167
,
392.553
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"proc"
,
14
,[[
43
,
2
,
-70
,[
6
],
7
],[
33
,
1
,
1
,
1
,
-71
,[
5
,
322
,
41
]]],[
5
,
322
,
41
],[
0
,
0
,
0.5
],[
6
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
0.9
,
1
]],[
15
,
"clipMask"
,
1
,[
10
],[[
44
,
0
,
-72
,[
25
]]],[
5
,
750
,
800
],[
0
,
0.5
,
1
],[
0
,
287
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
2
,
"default"
,
10
,[
5
],[[
41
,
true
,
60
,
-73
,
16
]],[
5
,
120
,
154
],[
0
,
-108
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
2
,
"cdIcon"
,
1
,[
-75
],[[
5
,
-74
,[
30
],
31
]],[
5
,
148
,
46
],[
280
,
569
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
2
,
"starIcon"
,
1
,[
-77
],[[
5
,
-76
,[
33
],
34
]],[
5
,
148
,
46
],[
-280
,
569
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
6
,
"gameBtn"
,
1
,[[
5
,
-78
,[
35
],
36
],[
45
,
0.85
,
3
,
-79
]],[
5
,
230
,
233
],[
0
,
-495.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
]],[
23
,
"countDown"
,
1
,[
-80
,
-81
],[
5
,
750
,
1624
]],[
2
,
"cd"
,
21
,[
11
],[[
42
,
false
,
-82
,
42
]],[
5
,
480
,
528
],[
30
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
2
,
"next"
,
4
,[
6
],[[
11
,
2
,
-83
,[
4
,
4293322470
],[
4
,
4291348680
],[
4
,
3363338360
],
6
,
46
,
47
,
48
,
49
]],[
5
,
100
,
40
],[
-75
,
30
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
2
,
"refreshProp"
,
4
,[
7
],[[
11
,
2
,
-84
,[
4
,
4293322470
],[
4
,
4291348680
],[
4
,
3363338360
],
7
,
53
,
54
,
55
,
56
]],[
5
,
100
,
40
],[
75
,
30
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
2
,
"init"
,
4
,[
8
],[[
11
,
2
,
-85
,[
4
,
4293322470
],[
4
,
4291348680
],[
4
,
3363338360
],
8
,
60
,
61
,
62
,
63
]],[
5
,
100
,
40
],[
-75
,
-30
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
2
,
"start"
,
4
,[
9
],[[
11
,
2
,
-86
,[
4
,
4293322470
],[
4
,
4291348680
],[
4
,
3363338360
],
9
,
67
,
68
,
69
,
70
]],[
5
,
100
,
40
],[
75
,
-30
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
46
,
"New Node"
,
false
,[
1
],[
0
,
0
,
0
],[
0
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
24
,
"Main Camera"
,
1
,[[
47
,
7
,
-1
,
-87
]]],[
25
,
"aniNode"
,
13
,[
-88
],[
-375
,
464
,
0
,
0
,
0
,
0
,
1
,
1
,
-1
,
1
]],[
26
,
"psd_160"
,
51.00000075995922
,
29
,[[
4
,
-89
,[
2
]]],[
5
,
936
,
936
],[
0
,
0
,
1
],[
-93
,
-4
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
6
,
"pg"
,
1
,[[
5
,
-90
,[
4
],
5
]],[
5
,
750
,
1189
],[
0
,
-217.612
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
6
,
"midIcon"
,
1
,[[
5
,
-91
,[
10
],
11
]],[
5
,
193
,
174
],[
0
,
488.967
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"propWrp"
,
2
,[
1
,
-92
],[
5
,
294
,
173
],[
-276
,
178.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"propWrp"
,
2
,[
1
,
-93
],[
5
,
92.5
,
173
],[
-59.75
,
178.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"propWrp"
,
2
,[
1
,
-94
],[
5
,
92.5
,
173
],[
55.75
,
178.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"propWrp"
,
2
,[
1
,
-95
],[
5
,
194
,
173
],[
222
,
178.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"propWrp"
,
2
,[
1
,
-96
],[
5
,
194
,
173
],[
-326
,
0.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"propWrp"
,
2
,[
1
,
-97
],[
5
,
194
,
173
],[
-109
,
0.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"propWrp"
,
2
,[
1
,
-98
],[
5
,
194
,
173
],[
108
,
0.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"propWrp"
,
2
,[
1
,
-99
],[
5
,
194
,
173
],[
325
,
0.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"propWrp"
,
2
,[
1
,
-100
],[
5
,
194
,
173
],[
-326
,
-177.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"propWrp"
,
2
,[
1
,
-101
],[
5
,
194
,
173
],[
-109
,
-177.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"propWrp"
,
2
,[
1
,
-102
],[
5
,
194
,
173
],[
108
,
-177.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"propWrp"
,
2
,[
1
,
-103
],[
5
,
194
,
173
],[
325
,
-177.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"psd_186"
,
5
,[[
4
,
-104
,[
12
]]],[
5
,
11
,
44
],[
0
,
0
,
1
],[
55
,
10.032590866088867
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"psd_188"
,
5
,[[
4
,
-105
,[
13
]]],[
5
,
38
,
73
],[
0
,
0
,
1
],[
69.3408432006836
,
82.41940307617188
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"psd_190"
,
5
,[[
4
,
-106
,[
14
]]],[
5
,
38
,
73
],[
0
,
0
,
1
],[
15.52852725982666
,
65.67514038085938
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"psd_192"
,
5
,[[
4
,
-107
,[
15
]]],[
5
,
56
,
69
],[
0
,
0
,
1
],[
32
,
36.30580520629883
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
6
,
"con"
,
3
,[[
35
,
0
,
-108
,[
17
]]],[
5
,
133
,
122
],[
0
,
-83
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"line"
,
3
,[[
16
,
0
,
-109
,[
18
],
19
]],[
5
,
11
,
544
],[
0
,
0.5
,
0
],[
0.5
,
-23.085
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
6
,
"midStar"
,
1
,[[
5
,
-110
,[
26
],
27
]],[
5
,
101
,
100
],[
1
,
289.12
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
6
,
"levelName"
,
1
,[[
48
,
"第一关"
,
22
,
22
,
1
,
1
,
-111
,[
28
]]],[
5
,
66
,
27.72
],[
0
,
552.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"cd"
,
18
,[[
17
,
"100s"
,
24
,
24
,
1
,
-112
,[
29
]]],[
5
,
52.04
,
30.24
],[
0
,
0
,
0.5
],[
-10
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"starProc"
,
19
,[[
17
,
"0/3"
,
24
,
24
,
1
,
-113
,[
32
]]],[
5
,
33.36
,
30.24
],[
0
,
0
,
0.5
],[
-5
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
27
,
"cdBg"
,
0
,
21
,[[
16
,
0
,
-114
,[
37
],
38
]],[
4
,
4278190080
],[
5
,
750
,
1624
]],[
13
,
"psd_146"
,
0
,
11
,[[
4
,
-115
,[
39
]]],[
5
,
369
,
413
],[
0
,
0
,
1
]],[
13
,
"psd_148"
,
0
,
11
,[[
4
,
-116
,[
40
]]],[
5
,
312
,
408
],[
0
,
0
,
1
]],[
13
,
"psd_150"
,
0
,
11
,[[
4
,
-117
,[
41
]]],[
5
,
180
,
418
],[
0
,
0
,
1
]],[
10
,
"Label"
,
512
,
6
,[[
12
,
"下一关"
,
20
,
false
,
1
,
1
,
1
,
1
,
-118
,[
43
]]],[
4
,
4278190080
],[
5
,
100
,
40
]],[
10
,
"Label"
,
512
,
7
,[[
12
,
"刷新道具"
,
20
,
false
,
1
,
1
,
1
,
1
,
-119
,[
50
]]],[
4
,
4278190080
],[
5
,
100
,
40
]],[
10
,
"Label"
,
512
,
8
,[[
12
,
"初始化"
,
20
,
false
,
1
,
1
,
1
,
1
,
-120
,[
57
]]],[
4
,
4278190080
],[
5
,
100
,
40
]],[
10
,
"Label"
,
512
,
9
,[[
12
,
"开始游戏"
,
20
,
false
,
1
,
1
,
1
,
1
,
-121
,[
64
]]],[
4
,
4278190080
],[
5
,
100
,
40
]]],
0
,[
0
,
0
,
1
,
0
,
0
,
1
,
0
,
0
,
1
,
0
,
-1
,
28
,
0
,
-2
,
12
,
0
,
-3
,
13
,
0
,
-4
,
31
,
0
,
-5
,
14
,
0
,
-6
,
32
,
0
,
-7
,
2
,
0
,
-8
,
16
,
0
,
-9
,
51
,
0
,
-10
,
52
,
0
,
-11
,
18
,
0
,
-12
,
19
,
0
,
-13
,
20
,
0
,
-14
,
21
,
0
,
-15
,
4
,
0
,
0
,
2
,
0
,
-1
,
33
,
0
,
-2
,
34
,
0
,
-3
,
35
,
0
,
-4
,
36
,
0
,
-5
,
37
,
0
,
-6
,
38
,
0
,
-7
,
39
,
0
,
-8
,
40
,
0
,
-9
,
41
,
0
,
-10
,
42
,
0
,
-11
,
43
,
0
,
-12
,
44
,
0
,
0
,
3
,
0
,
0
,
3
,
0
,
0
,
3
,
0
,
0
,
3
,
0
,
-1
,
49
,
0
,
-2
,
50
,
0
,
0
,
4
,
0
,
-1
,
23
,
0
,
-2
,
24
,
0
,
-3
,
25
,
0
,
-4
,
26
,
0
,
-1
,
45
,
0
,
-2
,
46
,
0
,
-3
,
47
,
0
,
-4
,
48
,
0
,
0
,
6
,
0
,
0
,
6
,
0
,
-1
,
59
,
0
,
0
,
7
,
0
,
0
,
7
,
0
,
-1
,
60
,
0
,
0
,
8
,
0
,
0
,
8
,
0
,
-1
,
61
,
0
,
0
,
9
,
0
,
0
,
9
,
0
,
-1
,
62
,
0
,
0
,
10
,
0
,
-1
,
17
,
0
,
-1
,
56
,
0
,
-2
,
57
,
0
,
-3
,
58
,
0
,
0
,
12
,
0
,
0
,
12
,
0
,
0
,
13
,
0
,
-1
,
29
,
0
,
0
,
14
,
0
,
-1
,
15
,
0
,
0
,
15
,
0
,
0
,
15
,
0
,
0
,
16
,
0
,
0
,
17
,
0
,
0
,
18
,
0
,
-1
,
53
,
0
,
0
,
19
,
0
,
-1
,
54
,
0
,
0
,
20
,
0
,
0
,
20
,
0
,
-1
,
55
,
0
,
-2
,
22
,
0
,
0
,
22
,
0
,
0
,
23
,
0
,
0
,
24
,
0
,
0
,
25
,
0
,
0
,
26
,
0
,
0
,
28
,
0
,
-1
,
30
,
0
,
0
,
30
,
0
,
0
,
31
,
0
,
0
,
32
,
0
,
2
,
33
,
0
,
2
,
34
,
0
,
2
,
35
,
0
,
2
,
36
,
0
,
2
,
37
,
0
,
2
,
38
,
0
,
2
,
39
,
0
,
2
,
40
,
0
,
2
,
41
,
0
,
2
,
42
,
0
,
2
,
43
,
0
,
2
,
44
,
0
,
0
,
45
,
0
,
0
,
46
,
0
,
0
,
47
,
0
,
0
,
48
,
0
,
0
,
49
,
0
,
0
,
50
,
0
,
0
,
51
,
0
,
0
,
52
,
0
,
0
,
53
,
0
,
0
,
54
,
0
,
0
,
55
,
0
,
0
,
56
,
0
,
0
,
57
,
0
,
0
,
58
,
0
,
0
,
59
,
0
,
0
,
60
,
0
,
0
,
61
,
0
,
0
,
62
,
0
,
10
,
27
,
1
,
3
,
27
,
3
,
3
,
10
,
5
,
3
,
17
,
6
,
3
,
23
,
7
,
3
,
24
,
8
,
3
,
25
,
9
,
3
,
26
,
10
,
3
,
16
,
11
,
3
,
22
,
121
],[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],[
-1
,
1
,
-1
,
9
,
-1
,
1
,
-1
,
1
,
-1
,
1
,
-1
,
1
,
-1
,
-1
,
-1
,
-1
,
9
,
-1
,
-1
,
1
,
-1
,
-1
,
-2
,
11
,
-1
,
-1
,
-1
,
1
,
-1
,
-1
,
-1
,
1
,
-1
,
-1
,
1
,
-1
,
1
,
-1
,
1
,
-1
,
-1
,
-1
,
9
,
-1
,
-1
,
1
,
4
,
5
,
6
,
7
,
-1
,
-1
,
1
,
4
,
5
,
6
,
7
,
-1
,
-1
,
1
,
4
,
5
,
6
,
7
,
-1
,
-1
,
1
,
4
,
5
,
6
,
7
,
12
,
-1
,
-2
,
-3
,
-4
,
-5
,
13
],[
0
,
7
,
0
,
8
,
0
,
9
,
0
,
4
,
0
,
4
,
0
,
10
,
0
,
0
,
0
,
0
,
11
,
0
,
0
,
12
,
0
,
13
,
14
,
5
,
5
,
0
,
0
,
15
,
0
,
0
,
0
,
16
,
0
,
0
,
17
,
0
,
18
,
0
,
19
,
0
,
0
,
0
,
20
,
0
,
0
,
1
,
1
,
2
,
1
,
3
,
0
,
0
,
1
,
1
,
2
,
1
,
3
,
0
,
0
,
1
,
1
,
2
,
1
,
3
,
0
,
0
,
1
,
1
,
2
,
1
,
3
,
21
,
22
,
23
,
24
,
25
,
26
,
27
]],[[
"0,9729,9729,33071,33071,0,0,1"
,
-1
],[
3
],
0
,[],[],[]],[[
"0,9729,9729,33071,33071,0,0,1"
,
-1
],[
3
],
0
,[],[],[]],[[
"0,9729,9729,33071,33071,0,0,1"
,
-1
],[
3
],
0
,[],[],[]],[[{
"name"
:
"default_btn_pressed"
,
"rect"
:[
0
,
0
,
40
,
40
],
"offset"
:[
0
,
0
],
"originalSize"
:[
40
,
40
],
"capInsets"
:[
12
,
12
,
12
,
12
]}],[
2
],
0
,[
0
],[
8
],[
28
]],[[{
"name"
:
"default_btn_normal"
,
"rect"
:[
0
,
0
,
40
,
40
],
"offset"
:[
0
,
0
],
"originalSize"
:[
40
,
40
],
"capInsets"
:[
12
,
12
,
12
,
12
]}],[
2
],
0
,[
0
],[
8
],[
29
]]]]
\ No newline at end of file
[
1
,[
"ecpdLyjvZBwrvm+cedCcQy"
,
"f0BIwQ8D5Ml7nTNQbh1YlS"
,
"e97GVMl6JHh5Ml5qEDdSGa"
,
"29FYIk+N1GYaeWH/q1NxQO"
,
"efIH2ANUNNRrla/2Tkh69y"
,
"ebG24L/RFCTKsdG+gOOujI"
,
"71VhFCTINJM6/Ky3oX9nBT"
,
"ccZ87dBnVKaaHVYXZEXW/l"
,
"9eVoL8uydDNbyEDvs6pMDM"
,
"fbMmcvk8NESZVK02pKjR6b"
,
"29VCRWNg1PJaCMFfRktiT9"
,
"aeme5pj49K+I20dlrkWT/Z"
,
"f01uShMvVOCbB9b5LIRqaW"
,
"4asNelSFZBdJWoRAUF+zfA"
,
"7dFWNhWU5JqbX2WYLwE0lL"
,
"3cgtWnH0VDBKhrJaLGBxaY"
,
"caPPLVk8tNALK4f1HLeS/m"
,
"ebNMh4qYtCqooJGljndL0h"
,
"5cEQYk9o9HNpay8rRONeKx"
,
"a2MjXRFdtLlYQ5ouAFv/+R"
,
"6d+ZkSHVtCLomnABbAgLbi"
,
"57nzdaHfdED63tPBTVngId"
,
"4adjSY21NKn58HTpPHV+GP"
,
"15WBwxeRlH7LfKB1vk3Hr3"
,
"a39scYjFpPM6wp48nqAB7f"
,
"8cBygjL2RFKbm1+s0Utqs9"
,
"31r4X/2DlJsLM38fit+9RU"
,
"f3xSd/ExBBzJl5KRK7XYVG"
,
"b4P/PCArtIdIH38t6mlw8Y"
,
"e8Ueib+qJEhL6mXAHdnwbi"
],[
"node"
,
"_spriteFrame"
,
"root"
,
"_parent"
,
"_N$normalSprite"
,
"_N$pressedSprite"
,
"_N$hoverSprite"
,
"_N$disabledSprite"
,
"_textureSetter"
,
"_svga"
,
"scene"
,
"_defaultClip"
,
"procItem"
,
"bsetPropItem"
],[[
"cc.Node"
,[
"_name"
,
"_opacity"
,
"_objFlags"
,
"_id"
,
"_contentSize"
,
"_components"
,
"_parent"
,
"_trs"
,
"_children"
,
"_anchorPoint"
,
"_color"
,
"_prefab"
],
-1
,
5
,
9
,
1
,
7
,
2
,
5
,
5
,
4
],[
"cc.Sprite"
,[
"_sizeMode"
,
"_type"
,
"node"
,
"_materials"
,
"_spriteFrame"
],
1
,
1
,
3
,
6
],
"cc.SpriteFrame"
,
"cc.Texture2D"
,[
"cc.Layout"
,[
"_N$layoutType"
,
"_N$spacingX"
,
"_N$spacingY"
,
"_resize"
,
"_N$paddingLeft"
,
"node"
,
"_layoutSize"
],
-2
,
1
,
5
],[
"7c5ffhlHDpBpoDQ8wfKN7pu"
,[
"_loop"
,
"_fps"
,
"autoPlay"
,
"node"
,
"_svga"
],
0
,
1
,
6
],[
"cc.Label"
,[
"_string"
,
"_fontSize"
,
"_N$verticalAlign"
,
"_lineHeight"
,
"_N$horizontalAlign"
,
"_enableWrapText"
,
"_N$overflow"
,
"_N$cacheMode"
,
"node"
,
"_materials"
],
-5
,
1
,
3
],[
"cc.Widget"
,[
"_alignFlags"
,
"alignMode"
,
"_originalWidth"
,
"_originalHeight"
,
"node"
],
-1
,
1
],[
"cc.Mask"
,[
"_type"
,
"_N$alphaThreshold"
,
"node"
,
"_materials"
,
"_spriteFrame"
],
1
,
1
,
3
,
6
],[
"cc.Button"
,[
"_N$transition"
,
"zoomScale"
,
"node"
,
"_N$normalColor"
,
"_N$pressedColor"
,
"_N$disabledColor"
,
"_N$target"
,
"_N$normalSprite"
,
"_N$pressedSprite"
,
"_N$hoverSprite"
,
"_N$disabledSprite"
],
1
,
1
,
5
,
5
,
5
,
1
,
6
,
6
,
6
,
6
],[
"cc.SceneAsset"
,[
"_name"
,
"asyncLoadAssets"
],
1
],[
"cc.Canvas"
,[
"_fitWidth"
,
"_fitHeight"
,
"node"
,
"_designResolution"
],
1
,
1
,
5
],[
"5798dhpwtNHQq2OXS4At/jG"
,[
"node"
,
"propItem"
,
"procItem"
,
"bsetPropItem"
],
3
,
1
,
3
,
6
,
6
],[
"cc.Animation"
,[
"playOnLoad"
,
"node"
,
"_clips"
],
2
,
1
,
12
],[
"cc.Animation"
,[
"node"
,
"_clips"
,
"_defaultClip"
],
3
,
1
,
3
,
6
],[
"b257deNLElEQ7owjaUlEj0T"
,[
"node"
],
3
,
1
],[
"cc.BoxCollider"
,[
"node"
,
"_offset"
,
"_size"
],
3
,
1
,
5
,
5
],[
"cc.Scene"
,[
"_name"
,
"_active"
,
"_children"
,
"_anchorPoint"
,
"_trs"
],
1
,
2
,
5
,
7
],[
"cc.Camera"
,[
"_clearFlags"
,
"_depth"
,
"node"
],
1
,
1
],[
"cc.PrefabInfo"
,[
"root"
],
3
,
1
]],[[
0
,
0
,
6
,
8
,
5
,
4
,
7
,
2
],[
0
,
0
,
6
,
11
,
4
,
7
,
2
],[
19
,
0
,
1
],[
0
,
0
,
6
,
5
,
4
,
9
,
7
,
2
],[
1
,
2
,
3
,
1
],[
1
,
2
,
3
,
4
,
1
],[
0
,
0
,
6
,
5
,
4
,
7
,
2
],[
7
,
1
,
0
,
2
,
3
,
4
,
5
],[
1
,
1
,
0
,
2
,
3
,
4
,
3
],[
0
,
0
,
2
,
8
,
5
,
4
,
3
],[
0
,
0
,
2
,
6
,
5
,
10
,
4
,
3
],[
9
,
0
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
2
],[
6
,
0
,
1
,
5
,
4
,
2
,
6
,
7
,
8
,
9
,
8
],[
0
,
0
,
1
,
6
,
5
,
4
,
9
,
3
],[
0
,
0
,
8
,
7
,
2
],[
0
,
0
,
6
,
8
,
5
,
4
,
9
,
7
,
2
],[
1
,
0
,
2
,
3
,
4
,
2
],[
6
,
0
,
1
,
3
,
2
,
8
,
9
,
5
],[
10
,
0
,
1
,
3
],[
0
,
0
,
3
,
8
,
5
,
10
,
4
,
7
,
3
],[
0
,
0
,
8
,
5
,
4
,
9
,
7
,
2
],[
0
,
0
,
8
,
5
,
4
,
9
,
2
],[
0
,
0
,
6
,
5
,
4
,
2
],[
0
,
0
,
6
,
8
,
4
,
2
],[
0
,
0
,
6
,
5
,
2
],[
0
,
0
,
6
,
8
,
7
,
2
],[
0
,
0
,
1
,
6
,
5
,
4
,
9
,
7
,
3
],[
0
,
0
,
1
,
6
,
5
,
10
,
4
,
3
],[
11
,
0
,
1
,
2
,
3
,
3
],[
7
,
0
,
4
,
2
],[
12
,
0
,
1
,
2
,
3
,
1
],[
4
,
0
,
1
,
2
,
5
,
6
,
4
],[
4
,
3
,
0
,
1
,
2
,
5
,
6
,
5
],[
4
,
0
,
4
,
1
,
5
,
6
,
4
],[
1
,
1
,
0
,
2
,
3
,
3
],[
1
,
0
,
2
,
3
,
2
],[
13
,
0
,
1
,
2
,
2
],[
14
,
0
,
1
,
2
,
1
],[
15
,
0
,
1
],[
16
,
0
,
1
,
2
,
1
],[
5
,
0
,
3
,
4
,
2
],[
5
,
0
,
1
,
3
,
4
,
3
],[
5
,
2
,
3
,
4
,
2
],[
8
,
0
,
2
,
3
,
4
,
2
],[
8
,
1
,
2
,
3
,
2
],[
9
,
1
,
0
,
2
,
3
],[
17
,
0
,
1
,
2
,
3
,
4
,
3
],[
18
,
0
,
1
,
2
,
3
],[
6
,
0
,
1
,
3
,
4
,
2
,
8
,
9
,
6
]],[[[{
"name"
:
"default_btn_disabled"
,
"rect"
:[
0
,
0
,
40
,
40
],
"offset"
:[
0
,
0
],
"originalSize"
:[
40
,
40
],
"capInsets"
:[
12
,
12
,
12
,
12
]}],[
2
],
0
,[
0
],[
8
],[
6
]],[[[
18
,
"Game"
,
null
],[
19
,
"Canvas"
,
"a286bbGknJLZpRpxROV6M94"
,[
-4
,
-5
,
-6
,
-7
,
-8
,
-9
,
-10
,
-11
,
-12
,
-13
,
-14
,
-15
,
-16
,
-17
,
-18
],[[
28
,
true
,
false
,
-1
,[
5
,
750
,
1624
]],[
29
,
45
,
-2
],[
30
,
-3
,[
79
,
80
,
81
,
82
,
83
],
78
,
84
]],[
4
,
4294769916
],[
5
,
750
,
1624
],[
375
,
812
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"gameStage"
,
1
,[
-20
,
-21
,
-22
,
-23
,
-24
,
-25
,
-26
,
-27
,
-28
,
-29
,
-30
,
-31
],[[
31
,
3
,
23
,
5
,
-19
,[
5
,
846
,
530
]]],[
5
,
846
,
530
],[
0
,
-152.689
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
20
,
"clip"
,[
-36
,
-37
],[[
34
,
1
,
0
,
-32
,[
20
]],[
36
,
true
,
-33
,[[
21
,
22
,
null
],
6
,
6
,
0
]],[
38
,
-34
],[
39
,
-35
,[
0
,
0.9
,
-122.9
],[
5
,
41.4
,
29.7
]]],[
5
,
133
,
154
],[
0
,
0.5
,
1
],[
0
,
-41
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"test"
,
1
,[
-39
,
-40
,
-41
,
-42
,
-43
],[[
32
,
1
,
3
,
50
,
20
,
-38
,[
5
,
400
,
100
]]],[
5
,
400
,
100
],[
0
,
695.681
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
14
,
"aniNode"
,[
-44
,
-45
,
-46
,
-47
],[
-60
,
77
,
0
,
0
,
0
,
0
,
1
,
1
,
-1
,
1
]],[
9
,
"Background"
,
512
,[
-50
],[[
8
,
1
,
0
,
-48
,[
44
],
45
],[
7
,
0
,
45
,
100
,
40
,
-49
]],[
5
,
100
,
40
]],[
9
,
"Background"
,
512
,[
-53
],[[
8
,
1
,
0
,
-51
,[
51
],
52
],[
7
,
0
,
45
,
100
,
40
,
-52
]],[
5
,
100
,
40
]],[
9
,
"Background"
,
512
,[
-56
],[[
8
,
1
,
0
,
-54
,[
58
],
59
],[
7
,
0
,
45
,
100
,
40
,
-55
]],[
5
,
100
,
40
]],[
9
,
"Background"
,
512
,[
-59
],[[
8
,
1
,
0
,
-57
,[
65
],
66
],[
7
,
0
,
45
,
100
,
40
,
-58
]],[
5
,
100
,
40
]],[
9
,
"Background"
,
512
,[
-62
],[[
8
,
1
,
0
,
-60
,[
72
],
73
],[
7
,
0
,
45
,
100
,
40
,
-61
]],[
5
,
100
,
40
]],[
21
,
"clipWrp"
,[
-64
,
3
],[[
37
,
-63
,[
24
],
23
]],[
5
,
233
,
148
],[
0
,
0.5
,
1.3
]],[
14
,
"aniNode"
,[
-65
,
-66
,
-67
],[
-240
,
264
,
0
,
0
,
0
,
0
,
1
,
1
,
-1
,
1
]],[
22
,
"background"
,
1
,[[
7
,
0
,
45
,
200
,
150
,
-68
],[
5
,
-69
,[
0
],
1
]],[
5
,
750
,
1624
]],[
0
,
"light"
,
1
,[
-71
],[[
40
,
true
,
-70
,
3
]],[
5
,
750
,
928
],[
0
,
287.144
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
15
,
"procBg"
,
1
,[
-73
],[[
8
,
1
,
0
,
-72
,[
8
],
9
]],[
5
,
334
,
49
],[
0
,
0
,
0.5
],[
-167
,
392.553
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"proc"
,
15
,[[
43
,
2
,
-74
,[
6
],
7
],[
33
,
1
,
1
,
1
,
-75
,[
5
,
322
,
41
]]],[
5
,
322
,
41
],[
0
,
0
,
0.5
],[
6
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
0.9
,
1
]],[
15
,
"clipMask"
,
1
,[
11
],[[
44
,
0
,
-76
,[
25
]]],[
5
,
750
,
800
],[
0
,
0.5
,
1
],[
0
,
287
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"default"
,
11
,[
5
],[[
41
,
true
,
60
,
-77
,
16
]],[
5
,
120
,
154
],[
0
,
-108
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"cdIcon"
,
1
,[
-79
],[[
5
,
-78
,[
30
],
31
]],[
5
,
148
,
46
],[
280
,
569
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"starIcon"
,
1
,[
-81
],[[
5
,
-80
,[
33
],
34
]],[
5
,
148
,
46
],[
-280
,
569
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
6
,
"gameBtn"
,
1
,[[
5
,
-82
,[
35
],
36
],[
45
,
0.85
,
3
,
-83
]],[
5
,
230
,
233
],[
0
,
-495.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
]],[
23
,
"countDown"
,
1
,[
-84
,
-85
],[
5
,
750
,
1624
]],[
0
,
"cd"
,
22
,[
12
],[[
42
,
false
,
-86
,
42
]],[
5
,
480
,
528
],[
30
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"next"
,
4
,[
6
],[[
11
,
2
,
-87
,[
4
,
4293322470
],[
4
,
4291348680
],[
4
,
3363338360
],
6
,
46
,
47
,
48
,
49
]],[
5
,
100
,
40
],[
-150
,
30
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"refreshProp"
,
4
,[
7
],[[
11
,
2
,
-88
,[
4
,
4293322470
],[
4
,
4291348680
],[
4
,
3363338360
],
7
,
53
,
54
,
55
,
56
]],[
5
,
100
,
40
],[
0
,
30
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"addSpeed"
,
4
,[
8
],[[
11
,
2
,
-89
,[
4
,
4293322470
],[
4
,
4291348680
],[
4
,
3363338360
],
8
,
60
,
61
,
62
,
63
]],[
5
,
100
,
40
],[
150
,
30
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"init"
,
4
,[
9
],[[
11
,
2
,
-90
,[
4
,
4293322470
],[
4
,
4291348680
],[
4
,
3363338360
],
9
,
67
,
68
,
69
,
70
]],[
5
,
100
,
40
],[
-150
,
-30
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
0
,
"start"
,
4
,[
10
],[[
11
,
2
,
-91
,[
4
,
4293322470
],[
4
,
4291348680
],[
4
,
3363338360
],
10
,
74
,
75
,
76
,
77
]],[
5
,
100
,
40
],[
0
,
-30
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
46
,
"New Node"
,
false
,[
1
],[
0
,
0
,
0
],[
0
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
24
,
"Main Camera"
,
1
,[[
47
,
7
,
-1
,
-92
]]],[
25
,
"aniNode"
,
14
,[
-93
],[
-375
,
464
,
0
,
0
,
0
,
0
,
1
,
1
,
-1
,
1
]],[
26
,
"psd_160"
,
51.00000075995922
,
31
,[[
4
,
-94
,[
2
]]],[
5
,
936
,
936
],[
0
,
0
,
1
],[
-93
,
-4
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
6
,
"pg"
,
1
,[[
5
,
-95
,[
4
],
5
]],[
5
,
750
,
1189
],[
0
,
-217.612
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
6
,
"midIcon"
,
1
,[[
5
,
-96
,[
10
],
11
]],[
5
,
193
,
174
],[
0
,
488.967
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
1
,
"propWrp"
,
2
,[
2
,
-97
],[
5
,
294
,
173
],[
-276
,
178.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
1
,
"propWrp"
,
2
,[
2
,
-98
],[
5
,
92.5
,
173
],[
-59.75
,
178.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
1
,
"propWrp"
,
2
,[
2
,
-99
],[
5
,
92.5
,
173
],[
55.75
,
178.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
1
,
"propWrp"
,
2
,[
2
,
-100
],[
5
,
194
,
173
],[
222
,
178.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
1
,
"propWrp"
,
2
,[
2
,
-101
],[
5
,
194
,
173
],[
-326
,
0.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
1
,
"propWrp"
,
2
,[
2
,
-102
],[
5
,
194
,
173
],[
-109
,
0.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
1
,
"propWrp"
,
2
,[
2
,
-103
],[
5
,
194
,
173
],[
108
,
0.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
1
,
"propWrp"
,
2
,[
2
,
-104
],[
5
,
194
,
173
],[
325
,
0.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
1
,
"propWrp"
,
2
,[
2
,
-105
],[
5
,
194
,
173
],[
-326
,
-177.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
1
,
"propWrp"
,
2
,[
2
,
-106
],[
5
,
194
,
173
],[
-109
,
-177.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
1
,
"propWrp"
,
2
,[
2
,
-107
],[
5
,
194
,
173
],[
108
,
-177.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
1
,
"propWrp"
,
2
,[
2
,
-108
],[
5
,
194
,
173
],[
325
,
-177.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"psd_186"
,
5
,[[
4
,
-109
,[
12
]]],[
5
,
11
,
44
],[
0
,
0
,
1
],[
55
,
10.032590866088867
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"psd_188"
,
5
,[[
4
,
-110
,[
13
]]],[
5
,
38
,
73
],[
0
,
0
,
1
],[
69.3408432006836
,
82.41940307617188
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"psd_190"
,
5
,[[
4
,
-111
,[
14
]]],[
5
,
38
,
73
],[
0
,
0
,
1
],[
15.52852725982666
,
65.67514038085938
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"psd_192"
,
5
,[[
4
,
-112
,[
15
]]],[
5
,
56
,
69
],[
0
,
0
,
1
],[
32
,
36.30580520629883
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
6
,
"con"
,
3
,[[
35
,
0
,
-113
,[
17
]]],[
5
,
133
,
122
],[
0
,
-83
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"line"
,
3
,[[
16
,
0
,
-114
,[
18
],
19
]],[
5
,
11
,
544
],[
0
,
0.5
,
0
],[
0.5
,
-23.085
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
6
,
"midStar"
,
1
,[[
5
,
-115
,[
26
],
27
]],[
5
,
101
,
100
],[
1
,
289.12
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
6
,
"levelName"
,
1
,[[
48
,
"第一关"
,
22
,
22
,
1
,
1
,
-116
,[
28
]]],[
5
,
66
,
27.72
],[
0
,
552.5
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"cd"
,
19
,[[
17
,
"100s"
,
24
,
24
,
1
,
-117
,[
29
]]],[
5
,
52.04
,
30.24
],[
0
,
0
,
0.5
],[
-10
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
3
,
"starProc"
,
20
,[[
17
,
"0/3"
,
24
,
24
,
1
,
-118
,[
32
]]],[
5
,
33.36
,
30.24
],[
0
,
0
,
0.5
],[
-5
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
]],[
27
,
"cdBg"
,
0
,
22
,[[
16
,
0
,
-119
,[
37
],
38
]],[
4
,
4278190080
],[
5
,
750
,
1624
]],[
13
,
"psd_146"
,
0
,
12
,[[
4
,
-120
,[
39
]]],[
5
,
369
,
413
],[
0
,
0
,
1
]],[
13
,
"psd_148"
,
0
,
12
,[[
4
,
-121
,[
40
]]],[
5
,
312
,
408
],[
0
,
0
,
1
]],[
13
,
"psd_150"
,
0
,
12
,[[
4
,
-122
,[
41
]]],[
5
,
180
,
418
],[
0
,
0
,
1
]],[
10
,
"Label"
,
512
,
6
,[[
12
,
"下一关"
,
20
,
false
,
1
,
1
,
1
,
1
,
-123
,[
43
]]],[
4
,
4278190080
],[
5
,
100
,
40
]],[
10
,
"Label"
,
512
,
7
,[[
12
,
"刷新道具"
,
20
,
false
,
1
,
1
,
1
,
1
,
-124
,[
50
]]],[
4
,
4278190080
],[
5
,
100
,
40
]],[
10
,
"Label"
,
512
,
8
,[[
12
,
"加速"
,
20
,
false
,
1
,
1
,
1
,
1
,
-125
,[
57
]]],[
4
,
4278190080
],[
5
,
100
,
40
]],[
10
,
"Label"
,
512
,
9
,[[
12
,
"初始化"
,
20
,
false
,
1
,
1
,
1
,
1
,
-126
,[
64
]]],[
4
,
4278190080
],[
5
,
100
,
40
]],[
10
,
"Label"
,
512
,
10
,[[
12
,
"开始游戏"
,
20
,
false
,
1
,
1
,
1
,
1
,
-127
,[
71
]]],[
4
,
4278190080
],[
5
,
100
,
40
]]],
0
,[
0
,
0
,
1
,
0
,
0
,
1
,
0
,
0
,
1
,
0
,
-1
,
30
,
0
,
-2
,
13
,
0
,
-3
,
14
,
0
,
-4
,
33
,
0
,
-5
,
15
,
0
,
-6
,
34
,
0
,
-7
,
2
,
0
,
-8
,
17
,
0
,
-9
,
53
,
0
,
-10
,
54
,
0
,
-11
,
19
,
0
,
-12
,
20
,
0
,
-13
,
21
,
0
,
-14
,
22
,
0
,
-15
,
4
,
0
,
0
,
2
,
0
,
-1
,
35
,
0
,
-2
,
36
,
0
,
-3
,
37
,
0
,
-4
,
38
,
0
,
-5
,
39
,
0
,
-6
,
40
,
0
,
-7
,
41
,
0
,
-8
,
42
,
0
,
-9
,
43
,
0
,
-10
,
44
,
0
,
-11
,
45
,
0
,
-12
,
46
,
0
,
0
,
3
,
0
,
0
,
3
,
0
,
0
,
3
,
0
,
0
,
3
,
0
,
-1
,
51
,
0
,
-2
,
52
,
0
,
0
,
4
,
0
,
-1
,
24
,
0
,
-2
,
25
,
0
,
-3
,
26
,
0
,
-4
,
27
,
0
,
-5
,
28
,
0
,
-1
,
47
,
0
,
-2
,
48
,
0
,
-3
,
49
,
0
,
-4
,
50
,
0
,
0
,
6
,
0
,
0
,
6
,
0
,
-1
,
61
,
0
,
0
,
7
,
0
,
0
,
7
,
0
,
-1
,
62
,
0
,
0
,
8
,
0
,
0
,
8
,
0
,
-1
,
63
,
0
,
0
,
9
,
0
,
0
,
9
,
0
,
-1
,
64
,
0
,
0
,
10
,
0
,
0
,
10
,
0
,
-1
,
65
,
0
,
0
,
11
,
0
,
-1
,
18
,
0
,
-1
,
58
,
0
,
-2
,
59
,
0
,
-3
,
60
,
0
,
0
,
13
,
0
,
0
,
13
,
0
,
0
,
14
,
0
,
-1
,
31
,
0
,
0
,
15
,
0
,
-1
,
16
,
0
,
0
,
16
,
0
,
0
,
16
,
0
,
0
,
17
,
0
,
0
,
18
,
0
,
0
,
19
,
0
,
-1
,
55
,
0
,
0
,
20
,
0
,
-1
,
56
,
0
,
0
,
21
,
0
,
0
,
21
,
0
,
-1
,
57
,
0
,
-2
,
23
,
0
,
0
,
23
,
0
,
0
,
24
,
0
,
0
,
25
,
0
,
0
,
26
,
0
,
0
,
27
,
0
,
0
,
28
,
0
,
0
,
30
,
0
,
-1
,
32
,
0
,
0
,
32
,
0
,
0
,
33
,
0
,
0
,
34
,
0
,
2
,
35
,
0
,
2
,
36
,
0
,
2
,
37
,
0
,
2
,
38
,
0
,
2
,
39
,
0
,
2
,
40
,
0
,
2
,
41
,
0
,
2
,
42
,
0
,
2
,
43
,
0
,
2
,
44
,
0
,
2
,
45
,
0
,
2
,
46
,
0
,
0
,
47
,
0
,
0
,
48
,
0
,
0
,
49
,
0
,
0
,
50
,
0
,
0
,
51
,
0
,
0
,
52
,
0
,
0
,
53
,
0
,
0
,
54
,
0
,
0
,
55
,
0
,
0
,
56
,
0
,
0
,
57
,
0
,
0
,
58
,
0
,
0
,
59
,
0
,
0
,
60
,
0
,
0
,
61
,
0
,
0
,
62
,
0
,
0
,
63
,
0
,
0
,
64
,
0
,
0
,
65
,
0
,
10
,
29
,
1
,
3
,
29
,
3
,
3
,
11
,
5
,
3
,
18
,
6
,
3
,
24
,
7
,
3
,
25
,
8
,
3
,
26
,
9
,
3
,
27
,
10
,
3
,
28
,
11
,
3
,
17
,
12
,
3
,
23
,
127
],[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],[
-1
,
1
,
-1
,
9
,
-1
,
1
,
-1
,
1
,
-1
,
1
,
-1
,
1
,
-1
,
-1
,
-1
,
-1
,
9
,
-1
,
-1
,
1
,
-1
,
-1
,
-2
,
11
,
-1
,
-1
,
-1
,
1
,
-1
,
-1
,
-1
,
1
,
-1
,
-1
,
1
,
-1
,
1
,
-1
,
1
,
-1
,
-1
,
-1
,
9
,
-1
,
-1
,
1
,
4
,
5
,
6
,
7
,
-1
,
-1
,
1
,
4
,
5
,
6
,
7
,
-1
,
-1
,
1
,
4
,
5
,
6
,
7
,
-1
,
-1
,
1
,
4
,
5
,
6
,
7
,
-1
,
-1
,
1
,
4
,
5
,
6
,
7
,
12
,
-1
,
-2
,
-3
,
-4
,
-5
,
13
],[
0
,
7
,
0
,
8
,
0
,
9
,
0
,
4
,
0
,
4
,
0
,
10
,
0
,
0
,
0
,
0
,
11
,
0
,
0
,
12
,
0
,
13
,
14
,
5
,
5
,
0
,
0
,
15
,
0
,
0
,
0
,
16
,
0
,
0
,
17
,
0
,
18
,
0
,
19
,
0
,
0
,
0
,
20
,
0
,
0
,
1
,
1
,
2
,
1
,
3
,
0
,
0
,
1
,
1
,
2
,
1
,
3
,
0
,
0
,
1
,
1
,
2
,
1
,
3
,
0
,
0
,
1
,
1
,
2
,
1
,
3
,
0
,
0
,
1
,
1
,
2
,
1
,
3
,
21
,
22
,
23
,
24
,
25
,
26
,
27
]],[[
"0,9729,9729,33071,33071,0,0,1"
,
-1
],[
3
],
0
,[],[],[]],[[
"0,9729,9729,33071,33071,0,0,1"
,
-1
],[
3
],
0
,[],[],[]],[[
"0,9729,9729,33071,33071,0,0,1"
,
-1
],[
3
],
0
,[],[],[]],[[{
"name"
:
"default_btn_pressed"
,
"rect"
:[
0
,
0
,
40
,
40
],
"offset"
:[
0
,
0
],
"originalSize"
:[
40
,
40
],
"capInsets"
:[
12
,
12
,
12
,
12
]}],[
2
],
0
,[
0
],[
8
],[
28
]],[[{
"name"
:
"default_btn_normal"
,
"rect"
:[
0
,
0
,
40
,
40
],
"offset"
:[
0
,
0
],
"originalSize"
:[
40
,
40
],
"capInsets"
:[
12
,
12
,
12
,
12
]}],[
2
],
0
,[
0
],[
8
],[
29
]]]]
\ No newline at end of file
build/web-mobile/assets/main/index.js
View file @
dc227958
window
.
__require
=
function
t
(
e
,
n
,
o
){
function
i
(
a
,
c
){
if
(
!
n
[
a
]){
if
(
!
e
[
a
]){
var
s
=
a
.
split
(
"/"
);
if
(
s
=
s
[
s
.
length
-
1
],
!
e
[
s
]){
var
p
=
"function"
==
typeof
__require
&&
__require
;
if
(
!
c
&&
p
)
return
p
(
s
,
!
0
);
if
(
r
)
return
r
(
s
,
!
0
);
throw
new
Error
(
"Cannot find module '"
+
a
+
"'"
)}
a
=
s
}
var
u
=
n
[
a
]
=
{
exports
:{}};
e
[
a
][
0
].
call
(
u
.
exports
,
function
(
t
){
return
i
(
e
[
a
][
1
][
t
]
||
t
)},
u
,
u
.
exports
,
t
,
e
,
n
,
o
)}
return
n
[
a
].
exports
}
for
(
var
r
=
"function"
==
typeof
__require
&&
__require
,
a
=
0
;
a
<
o
.
length
;
a
++
)
i
(
o
[
a
]);
return
i
}({
BitText
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"bd5deybNDBOc5i/9P2WUtAA"
,
"BitText"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
a
=
cc
.
_decorator
.
menu
,
c
=
cc
.
_decorator
,
s
=
c
.
ccclass
,
p
=
c
.
property
,
u
=
function
(
t
){
function
e
(){
var
e
=
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
;
return
e
.
_gap
=
0
,
e
.
_text
=
""
,
e
.
texture
=
null
,
e
}
return
i
(
e
,
t
),
Object
.
defineProperty
(
e
.
prototype
,
"w"
,{
get
:
function
(){
return
this
.
_w
},
set
:
function
(
t
){
this
.
_w
=
t
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"gap"
,{
get
:
function
(){
return
this
.
_gap
},
set
:
function
(
t
){
this
.
_gap
=
t
,
this
.
permutation
()},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"text"
,{
get
:
function
(){
return
this
.
_text
},
set
:
function
(
t
){
var
e
=
this
;
this
.
_text
=
t
,
this
.
node
.
destroyAllChildren
(),
this
.
node
.
removeAllChildren
(),
t
.
split
(
""
).
forEach
(
function
(
t
){
var
n
=
e
.
atlas
.
getChildByName
(
t
);
if
(
!
n
)
return
console
.
warn
(
"
\
u6ca1
\
u914d
\
u7f6e "
+
t
+
"
\
u8fd9
\
u4e2a
\
u5b57
\
u7b26"
);
var
o
=
cc
.
instantiate
(
n
);
o
.
anchorX
=
0
,
e
.
node
.
addChild
(
o
)}),
this
.
permutation
()},
enumerable
:
!
1
,
configurable
:
!
0
}),
e
.
prototype
.
onLoad
=
function
(){
this
.
atlas
=
cc
.
instantiate
(
this
.
texture
)},
e
.
prototype
.
start
=
function
(){},
e
.
prototype
.
permutation
=
function
(){
var
t
=
this
.
gap
,
e
=
0
;
this
.
node
.
children
.
forEach
(
function
(
n
){
n
.
anchorX
=
0
,
n
.
x
=
e
,
e
+=
n
.
width
+
t
}),
this
.
w
=
e
;
var
n
=
e
/
2
;
this
.
node
.
children
.
forEach
(
function
(
t
){
return
t
.
x
-=
n
})},
r
([
p
],
e
.
prototype
,
"_gap"
,
void
0
),
r
([
p
],
e
.
prototype
,
"gap"
,
null
),
r
([
p
],
e
.
prototype
,
"_text"
,
void
0
),
r
([
p
],
e
.
prototype
,
"text"
,
null
),
r
([
p
(
cc
.
Prefab
)],
e
.
prototype
,
"texture"
,
void
0
),
r
([
s
,
a
(
"
\
u81ea
\
u5b9a
\
u4e49
\
u7ec4
\
u4ef6/
\
u4f4d
\
u56fe
\
u5b57"
)],
e
)}(
cc
.
Component
);
n
.
default
=
u
,
cc
.
_RF
.
pop
()},{}],
ClipAni
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"b257deNLElEQ7owjaUlEj0T"
,
"ClipAni"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
a
=
t
(
"./Config/GameConfig"
),
c
=
cc
.
_decorator
,
s
=
c
.
ccclass
,
p
=
(
c
.
property
,
function
(
t
){
function
e
(){
var
e
=
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
;
return
e
.
eventAniEnd
=
null
,
e
.
eventCollEnt
=
null
,
e
}
return
i
(
e
,
t
),
e
.
prototype
.
start
=
function
(){
this
.
eventAniEnd
=
new
cc
.
Event
.
EventCustom
(
a
.
CUSTOM_EVENT
.
CLIP_ANI_END
,
!
0
),
this
.
eventCollEnt
=
new
cc
.
Event
.
EventCustom
(
a
.
CUSTOM_EVENT
.
CLIP_COLLISION
,
!
0
)},
e
.
prototype
.
onCollisionEnter
=
function
(
t
){
this
.
eventCollEnt
.
detail
=
{
other
:
t
},
cc
.
find
(
"Canvas"
).
dispatchEvent
(
this
.
eventCollEnt
)},
e
.
prototype
.
onAnimCompleted
=
function
(
t
){
this
.
eventAniEnd
.
detail
=
{
state
:
t
},
cc
.
find
(
"Canvas"
).
dispatchEvent
(
this
.
eventAniEnd
)},
r
([
s
],
e
)}(
cc
.
Component
));
n
.
default
=
p
,
cc
.
_RF
.
pop
()},{
"./Config/GameConfig"
:
"GameConfig"
}],
FitSprite
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"55f2b6YY2VNsp2pvVM/3ZOl"
,
"FitSprite"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
FitSpriteType
=
void
0
;
var
a
,
c
=
cc
.
_decorator
.
ccclass
,
s
=
cc
.
_decorator
.
property
,
p
=
cc
.
_decorator
.
menu
;(
function
(
t
){
t
[
t
.
Horizontal
=
0
]
=
"Horizontal"
,
t
[
t
.
Vertical
=
1
]
=
"Vertical"
})(
a
=
n
.
FitSpriteType
||
(
n
.
FitSpriteType
=
{}));
var
u
=
function
(
t
){
function
e
(){
var
e
=
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
;
return
e
.
_fitSpriteType
=
a
.
Vertical
,
e
.
maxWidth
=
0
,
e
.
maxHeight
=
0
,
e
}
return
i
(
e
,
t
),
Object
.
defineProperty
(
e
.
prototype
,
"fitSpriteType"
,{
get
:
function
(){
return
this
.
_fitSpriteType
},
set
:
function
(
t
){
this
.
_fitSpriteType
=
t
,
this
.
updateSpriteSize
()},
enumerable
:
!
1
,
configurable
:
!
0
}),
e
.
prototype
.
onLoad
=
function
(){
this
.
node
.
on
(
cc
.
Node
.
EventType
.
SIZE_CHANGED
,
this
.
updateSpriteSize
,
this
)},
e
.
prototype
.
setTexture
=
function
(
t
){
this
.
node
.
getComponent
(
cc
.
Sprite
).
spriteFrame
=
t
,
this
.
updateSpriteSize
()},
e
.
prototype
.
updateSpriteSize
=
function
(){
var
t
=
this
.
node
.
getComponent
(
cc
.
Sprite
).
spriteFrame
.
getTexture
();
this
.
fitSpriteType
===
a
.
Horizontal
?(
this
.
node
.
height
=
t
.
height
/
t
.
width
*
this
.
maxWidth
,
this
.
node
.
width
=
this
.
maxWidth
):(
this
.
node
.
width
=
t
.
width
/
t
.
height
*
this
.
maxHeight
,
this
.
node
.
height
=
this
.
maxHeight
)},
r
([
s
({
type
:
cc
.
Enum
(
a
),
tooltip
:
"
\
u7c7b
\
u578b"
})],
e
.
prototype
,
"_fitSpriteType"
,
void
0
),
r
([
s
(
"
\
u6700
\
u5927
\
u5bbd
\
u5ea6"
)],
e
.
prototype
,
"maxWidth"
,
void
0
),
r
([
s
(
"
\
u6700
\
u5927
\
u9ad8
\
u5ea6"
)],
e
.
prototype
,
"maxHeight"
,
void
0
),
r
([
s
({
type
:
cc
.
Enum
(
a
),
tooltip
:
"
\
u7c7b
\
u578b"
})],
e
.
prototype
,
"fitSpriteType"
,
null
),
r
([
c
,
p
(
"
\
u6e32
\
u67d3
\
u7ec4
\
u4ef6/FitSprite"
)],
e
)}(
cc
.
Component
);
n
.
default
=
u
,
cc
.
_RF
.
pop
()},{}],
GameConfig
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"2197dXlmixCibGa45Vyz3hP"
,
"GameConfig"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
Config
=
n
.
CUSTOM_EVENT
=
n
.
LevelInfo
=
void
0
,
n
.
LevelInfo
=
[{
level
:
1
,
colors
:[
"#EC5F33"
,
"#E52800"
,
"#CA1D00"
]},{
level
:
2
,
colors
:[
"#FF9400"
,
"#FF6C00"
,
"#EC5F33"
,
"#E52800"
,
"#CA1D00"
]},{
level
:
3
,
colors
:[
"#FFD34A"
,
"#FFC300"
,
"#FFB637"
,
"#FF9400"
,
"#FF6C00"
,
"#EC5F33"
,
"#E52800"
,
"#CA1D00"
]}],
n
.
CUSTOM_EVENT
=
{
CLIP_ANI_END
:
"CLIP_ANI_END"
,
CLIP_COLLISION
:
"CLIP_COLLISION"
,
GAME_OVER
:
"GAME_OVER"
,
NEXT_LEVEL
:
"NEXT_LEVEL"
,
PASS_LEVEL
:
"PASS_LEVEL"
,
GAME_START
:
"GAME_START"
,
GAME_INIT
:
"GAME_INIT"
},
n
.
Config
=
{
maxLong
:
644
,
rotationSpeed
:
1
,
playSpeed
:
350
,
normalPropSpeed
:
250
,
bestPropSpeed
:
500
,
bestPropsNum
:
3
,
propsNum
:
2
,
countDowns
:[
30
,
30
,
30
],
propsMap
:[[
1
,
0
,
0
,
1
,
1
,
1
,
1
,
0
,
1
,
1
,
1
,
1
],[
1
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
1
]]},
cc
.
_RF
.
pop
()},{}],
GameScene
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"5798dhpwtNHQq2OXS4At/jG"
,
"GameScene"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__assign
||
function
(){
return
(
r
=
Object
.
assign
||
function
(
t
){
for
(
var
e
,
n
=
1
,
o
=
arguments
.
length
;
n
<
o
;
n
++
)
for
(
var
i
in
e
=
arguments
[
n
])
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
i
)
&&
(
t
[
i
]
=
e
[
i
]);
return
t
}).
apply
(
this
,
arguments
)},
a
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
},
c
=
this
&&
this
.
__spreadArrays
||
function
(){
for
(
var
t
=
0
,
e
=
0
,
n
=
arguments
.
length
;
e
<
n
;
e
++
)
t
+=
arguments
[
e
].
length
;
var
o
=
Array
(
t
),
i
=
0
;
for
(
e
=
0
;
e
<
n
;
e
++
)
for
(
var
r
=
arguments
[
e
],
a
=
0
,
c
=
r
.
length
;
a
<
c
;
a
++
,
i
++
)
o
[
i
]
=
r
[
a
];
return
o
};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
s
=
t
(
"./Components/Svga/Svga"
),
p
=
t
(
"./Components/Svga/SvgaEvent"
),
u
=
t
(
"./Config/GameConfig"
),
l
=
t
(
"./exportEvent"
),
h
=
t
(
"./utils"
),
f
=
cc
.
_decorator
,
d
=
f
.
ccclass
,
v
=
f
.
property
,
y
=
{
DEFAULT
:
"clipAni"
,
PLAY
:
"clipPlay"
,
STOP
:
"clipStop"
,
GAME_OVER
:
"gameOver"
},
g
=
function
(
t
){
function
e
(){
var
e
=
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
;
return
e
.
procItem
=
null
,
e
.
propItem
=
[],
e
.
bsetPropItem
=
null
,
e
.
actLevel
=
0
,
e
.
levelObjectives
=
0
,
e
.
actLevelInfo
=
null
,
e
.
starNum
=
0
,
e
.
countDown
=
0
,
e
.
isGameOver
=!
1
,
e
.
isStartGame
=!
1
,
e
.
clip
=
null
,
e
.
clipState
=
y
.
STOP
,
e
.
clipSpeed
=
u
.
Config
.
normalPropSpeed
,
e
.
isAni
=!
1
,
e
.
clipTarget
=
null
,
e
.
surplusStar
=
u
.
Config
.
bestPropsNum
,
e
.
gameConfig
=
r
({},
u
.
Config
),
e
}
return
i
(
e
,
t
),
e
.
prototype
.
onLoad
=
function
(){
cc
.
director
.
getCollisionManager
().
enabled
=!
0
},
e
.
prototype
.
start
=
function
(){
this
.
clip
=
cc
.
find
(
"clipMask/clipWrp/clip"
,
this
.
node
),
this
.
addNodeEvent
()},
e
.
prototype
.
addNodeEvent
=
function
(){
var
t
,
e
=
this
;
cc
.
find
(
"gameBtn"
,
this
.
node
).
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
playGame
,
this
),
this
.
node
.
on
(
u
.
CUSTOM_EVENT
.
CLIP_ANI_END
,
this
.
onAnimCompleted
,
this
),
this
.
node
.
on
(
u
.
CUSTOM_EVENT
.
CLIP_COLLISION
,
this
.
onCollEnter
,
this
),
l
.
default
.
on
(
u
.
CUSTOM_EVENT
.
NEXT_LEVEL
,
this
.
nextLevel
,
this
),
l
.
default
.
on
(
u
.
CUSTOM_EVENT
.
GAME_START
,
this
.
startGame
,
this
),
l
.
default
.
on
(
u
.
CUSTOM_EVENT
.
GAME_INIT
,
function
(
t
){
var
n
=
t
.
detail
,
o
=
void
0
===
n
?{}:
n
;
e
.
resetConfig
(
o
),
e
.
refreshLevelInfo
(),
e
.
refreshStageProps
()},
this
);
var
n
=
null
===
(
t
=
null
===
window
||
void
0
===
window
?
void
0
:
window
.
location
)
||
void
0
===
t
?
void
0
:
t
.
href
,
o
=
h
.
getUrlParam
(
"testPanel"
),
i
=
cc
.
find
(
"test"
,
this
.
node
);
if
(
i
.
active
=
o
,
o
&&
((
null
==
n
?
void
0
:
n
.
includes
(
"duibadev"
))
||
(
null
==
n
?
void
0
:
n
.
includes
(
"duibatest"
)))
||
n
.
includes
(
"localhost"
)){
var
r
=
{
next
:
"nextLevel"
,
refreshProp
:
"refreshStageProps"
,
start
:
"testStartGame"
,
init
:
"testInit"
};
i
.
children
.
forEach
(
function
(
t
){
var
n
=
null
==
e
?
void
0
:
e
[
r
[
t
.
name
]];
t
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
n
,
e
)})}},
e
.
prototype
.
testStartGame
=
function
(){
console
.
log
(
"
\
u6d4b
\
u8bd5"
),
l
.
default
.
fire
(
u
.
CUSTOM_EVENT
.
GAME_START
)},
e
.
prototype
.
testInit
=
function
(){
console
.
log
(
"
\
u6d4b
\
u8bd5
\
u521d
\
u59cb
\
u5316"
),
l
.
default
.
fire
(
u
.
CUSTOM_EVENT
.
GAME_INIT
,{
countDowns
:[
10
,
10
,
10
]})},
e
.
prototype
.
startGame
=
function
(
t
){
var
e
=
this
;
t
.
detail
,
this
.
startGameCountAni
(
function
(){
e
.
isStartGame
=!
0
,
cc
.
find
(
"clipMask/clipWrp"
,
e
.
node
).
getComponent
(
cc
.
Animation
).
play
(),
e
.
schedule
(
e
.
startCd
,
1
)})},
e
.
prototype
.
startGameCountAni
=
function
(
t
){
var
e
=
cc
.
find
(
"countDown/cd"
,
this
.
node
);
cc
.
find
(
"countDown/cdBg"
,
this
.
node
).
opacity
=
150
,
e
.
on
(
p
.
SvgaEvent
.
END_FRAME
,
function
(){
null
==
t
||
t
(),
e
.
parent
.
active
=!
1
}),
e
.
getComponent
(
s
.
default
).
play
(
0
)},
e
.
prototype
.
resetConfig
=
function
(
t
){
void
0
===
t
&&
(
t
=
{}),
this
.
gameConfig
=
r
(
r
({},
u
.
Config
),
t
),
this
.
clipSpeed
=
this
.
gameConfig
.
normalPropSpeed
,
this
.
surplusStar
=
this
.
gameConfig
.
bestPropsNum
,
this
.
clip
.
getChildByName
(
"line"
).
height
=
this
.
gameConfig
.
maxLong
,
cc
.
find
(
"clipMask/clipWrp"
,
this
.
node
).
getComponent
(
cc
.
Animation
).
getAnimationState
(
"clipRation"
).
speed
=
this
.
gameConfig
.
rotationSpeed
},
e
.
prototype
.
onCollEnter
=
function
(
t
){
var
e
=
t
.
detail
.
other
;
this
.
clipTarget
=
e
.
node
,
this
.
clipSpeed
=
1
==
e
.
tag
?
this
.
gameConfig
.
bestPropSpeed
:
this
.
gameConfig
.
normalPropSpeed
,
this
.
setClipState
(
y
.
STOP
)},
e
.
prototype
.
setClipState
=
function
(
t
,
e
){
var
n
=
this
,
o
=
cc
.
find
(
"clipMask/clipWrp"
,
this
.
node
).
getComponent
(
cc
.
Animation
),
i
=
cc
.
find
(
"clipMask/clipWrp/clip"
,
this
.
node
).
getComponent
(
cc
.
Animation
),
r
=
cc
.
find
(
"clipMask/clipWrp/default"
,
this
.
node
);
switch
(
this
.
clipState
=
t
,
t
){
case
y
.
DEFAULT
:
o
.
resume
(),
r
.
active
=!
0
,
this
.
clip
.
active
=!
1
,
this
.
clipTarget
&&
(
1
==
this
.
clipTarget
.
getComponent
(
cc
.
Collider
).
tag
&&
this
.
setStarProc
(),
this
.
clipTarget
.
getComponent
(
"propMove"
).
die
(
function
(){
n
.
clipTarget
=
null
})),
0
==
this
.
surplusStar
&&
this
.
refreshStageProps
();
break
;
case
y
.
PLAY
:
case
y
.
STOP
:
o
.
pause
(),
this
.
clip
.
active
=!
0
,
r
.
active
=!
1
,
i
.
play
(
t
);
break
;
case
y
.
GAME_OVER
:
o
.
stop
(),
i
.
stop
()}
null
==
e
||
e
()},
e
.
prototype
.
playGame
=
function
(){
!
this
.
isGameOver
&&
this
.
isStartGame
&&
this
.
setClipState
(
y
.
PLAY
)},
e
.
prototype
.
gameOver
=
function
(){
this
.
isGameOver
=!
0
,
console
.
log
(
"gameOver"
),
this
.
setClipState
(
y
.
GAME_OVER
),
this
.
unschedule
(
this
.
startCd
),
l
.
default
.
fire
(
u
.
CUSTOM_EVENT
.
GAME_OVER
,{
score
:
this
.
starNum
,
level
:
this
.
actLevel
})},
e
.
prototype
.
setLable
=
function
(
t
,
e
){
cc
.
find
(
t
,
this
.
node
).
getComponent
(
cc
.
Label
).
string
=
e
+
""
},
e
.
prototype
.
startCd
=
function
(){
var
t
=
this
.
countDown
-
1
||
0
;
if
(
!
t
||
t
<=
0
)
return
this
.
setLable
(
"cdIcon/cd"
,
"0s"
),
this
.
gameOver
(),
void
this
.
unschedule
(
this
.
startCd
);
this
.
countDown
=
t
,
this
.
setLable
(
"cdIcon/cd"
,
this
.
countDown
+
"s"
)},
e
.
prototype
.
onDestroy
=
function
(){
this
.
unschedule
(
this
.
startCd
)},
e
.
prototype
.
refreshLevelInfo
=
function
(
t
){
void
0
===
t
&&
(
t
=
0
),
this
.
isGameOver
=!
1
,
this
.
actLevel
=
t
,
this
.
starNum
=
0
,
this
.
levelObjectives
=
u
.
LevelInfo
[
t
].
colors
.
length
,
this
.
actLevelInfo
=
u
.
LevelInfo
[
t
],
this
.
countDown
=
this
.
gameConfig
.
countDowns
[
t
]
||
0
,
this
.
setLable
(
"levelName"
,
"
\
u7b2c"
+
h
.
numToChinese
(
t
+
1
)
+
"
\
u5173"
),
this
.
setLable
(
"starIcon/starProc"
,
this
.
starNum
+
"/"
+
this
.
levelObjectives
),
this
.
updateGameProc
(),
this
.
unschedule
(
this
.
startCd
),
this
.
setLable
(
"cdIcon/cd"
,
this
.
countDown
+
"s"
)},
e
.
prototype
.
setStarProc
=
function
(){
var
t
=
cc
.
find
(
"procBg/proc"
,
this
.
node
),
e
=
this
.
starNum
;
if
(
this
.
surplusStar
--
,
!
(
e
>=
this
.
levelObjectives
)){
var
n
=
cc
.
instantiate
(
this
.
procItem
);
n
.
color
=
cc
.
color
(
this
.
actLevelInfo
.
colors
[
e
]),
n
.
setParent
(
t
),
this
.
starNum
++
,
this
.
setLable
(
"starIcon/starProc"
,
this
.
starNum
+
"/"
+
this
.
levelObjectives
),
this
.
starNum
>=
this
.
levelObjectives
&&
l
.
default
.
fire
(
u
.
CUSTOM_EVENT
.
PASS_LEVEL
,{
score
:
this
.
starNum
,
level
:
this
.
actLevel
})}},
e
.
prototype
.
nextLevel
=
function
(){
var
t
=
this
.
actLevel
+
1
;
this
.
unschedule
(
this
.
startCd
),
t
>=
u
.
LevelInfo
.
length
?
this
.
gameOver
():(
this
.
refreshLevelInfo
(
t
),
this
.
schedule
(
this
.
startCd
,
1
))},
e
.
prototype
.
updateGameProc
=
function
(){
var
t
=
this
.
node
.
getChildByName
(
"procBg"
),
e
=
t
.
getChildByName
(
"proc"
),
n
=
this
.
levelObjectives
;
e
.
removeAllChildren
(),
t
.
width
=
39
*
n
+
12
+
1
*
(
n
-
1
),
e
.
width
=
39
*
n
+
1
*
(
n
-
1
),
t
.
x
=-
t
.
width
/
2
},
e
.
prototype
.
refreshStageProps
=
function
(){
this
.
surplusStar
=
this
.
gameConfig
.
bestPropsNum
;
for
(
var
t
=
cc
.
find
(
"gameStage"
,
this
.
node
),
e
=
t
.
children
,
n
=
Math
.
floor
(
h
.
randomNum
(
0
,
this
.
gameConfig
.
propsMap
.
length
)),
o
=
c
(
this
.
gameConfig
.
propsMap
[
n
]),
i
=
0
;
i
<
this
.
gameConfig
.
bestPropsNum
;
i
++
){
for
(
var
r
=
Math
.
floor
(
h
.
randomNum
(
0
,
o
.
length
));
1
!==
o
[
r
%
o
.
length
];)
r
++
;
o
[
r
%
o
.
length
]
=
2
}
var
a
=
[];
for
(
i
=
0
;
i
<
this
.
gameConfig
.
propsNum
;
i
++
)
a
.
push
.
apply
(
a
,
this
.
propItem
);
var
s
=
o
.
filter
(
function
(
t
){
return
1
==
t
}).
length
;
for
(
a
=
h
.
getRandomArrayElements
(
a
,
s
),
i
=
0
;
i
<
e
.
length
;
i
++
){
var
p
=
e
[
i
],
u
=
o
[
i
],
l
=
h
.
randomNum
(
0
,
90
).
toFixed
(
2
),
f
=
null
;
if
(
p
.
removeAllChildren
(),
1
==
u
){
var
d
=
cc
.
instantiate
(
a
.
pop
());
f
=
cc
.
instantiate
(
d
)}
else
{
if
(
2
!=
u
)
continue
;
f
=
cc
.
instantiate
(
this
.
bsetPropItem
)}
f
&&
(
f
.
angle
=
l
>
45
?
l
-
90
:
l
,
f
.
setParent
(
p
))}
t
.
getComponent
(
cc
.
Layout
).
horizontalDirection
=
h
.
getProbability
(
50
)?
cc
.
Layout
.
HorizontalDirection
.
LEFT_TO_RIGHT
:
cc
.
Layout
.
HorizontalDirection
.
RIGHT_TO_LEFT
},
e
.
prototype
.
update
=
function
(
t
){
if
(
!
this
.
isGameOver
&&
this
.
isStartGame
){
var
e
=
this
.
gameConfig
.
maxLong
-
41
;
if
(
this
.
clipState
==
y
.
PLAY
){
if
(
this
.
clip
.
y
<=-
e
)
return
void
this
.
setClipState
(
y
.
STOP
);
this
.
clip
.
y
-=
t
*
this
.
gameConfig
.
playSpeed
}
if
(
this
.
clipState
==
y
.
STOP
){
if
(
this
.
clip
.
y
>=-
41
)
return
this
.
clipSpeed
=
this
.
gameConfig
.
normalPropSpeed
,
void
this
.
setClipState
(
y
.
DEFAULT
);
if
(
this
.
clip
.
y
+=
t
*
this
.
clipSpeed
,
this
.
clipTarget
){
var
n
=
this
.
clip
.
convertToWorldSpaceAR
(
cc
.
v2
(
0
,
-
133
)),
o
=
this
.
clipTarget
.
parent
.
convertToWorldSpaceAR
(
cc
.
v2
(
0
,
0
));
this
.
clipTarget
.
setPosition
(
n
.
x
-
o
.
x
,
n
.
y
-
o
.
y
)}}}},
a
([
v
({
type
:
cc
.
Prefab
,
displayName
:
"
\
u5355
\
u683c
\
u8fdb
\
u5ea6
\
u6761"
})],
e
.
prototype
,
"procItem"
,
void
0
),
a
([
v
({
type
:[
cc
.
Prefab
],
displayName
:
"
\
u821e
\
u53f0
\
u9053
\
u5177"
})],
e
.
prototype
,
"propItem"
,
void
0
),
a
([
v
({
type
:
cc
.
Prefab
,
displayName
:
"
\
u52a0
\
u5206
\
u9053
\
u5177"
})],
e
.
prototype
,
"bsetPropItem"
,
void
0
),
a
([
d
],
e
)}(
cc
.
Component
);
n
.
default
=
g
,
cc
.
_RF
.
pop
()},{
"./Components/Svga/Svga"
:
"Svga"
,
"./Components/Svga/SvgaEvent"
:
"SvgaEvent"
,
"./Config/GameConfig"
:
"GameConfig"
,
"./exportEvent"
:
"exportEvent"
,
"./utils"
:
"utils"
}],
ImgFixedSize
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"3ea067CJuhGxJmUsuZZ1Xje"
,
"ImgFixedSize"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
a
=
cc
.
_decorator
,
c
=
a
.
ccclass
,
s
=
a
.
property
,
p
=
a
.
menu
,
u
=
function
(
t
){
function
e
(){
var
e
=
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
;
return
e
.
_fixedSize
=
1
,
e
}
return
i
(
e
,
t
),
Object
.
defineProperty
(
e
.
prototype
,
"fixedSize"
,{
get
:
function
(){
return
this
.
_fixedSize
},
set
:
function
(
t
){
this
.
_fixedSize
=
t
,
this
.
onSizeChanged
()},
enumerable
:
!
1
,
configurable
:
!
0
}),
e
.
prototype
.
onLoad
=
function
(){
this
.
_fixedSize
=
this
.
fixedSize
,
this
.
node
.
on
(
cc
.
Node
.
EventType
.
SIZE_CHANGED
,
this
.
onSizeChanged
,
this
),
this
.
onSizeChanged
()},
e
.
prototype
.
onSizeChanged
=
function
(){
var
t
=
this
.
node
.
width
,
e
=
this
.
node
.
height
,
n
=
Math
.
max
(
t
,
e
);
this
.
node
.
scale
=
this
.
fixedSize
/
n
},
r
([
s
({
type
:
cc
.
Integer
,
tooltip
:
"
\
u56fa
\
u5b9a
\
u5c3a
\
u5bf8"
})],
e
.
prototype
,
"fixedSize"
,
null
),
r
([
s
({
type
:
cc
.
Integer
,
tooltip
:
"
\
u56fa
\
u5b9a
\
u5c3a
\
u5bf8"
})],
e
.
prototype
,
"_fixedSize"
,
void
0
),
r
([
c
,
p
(
"framework/ImgFixedSize"
)],
e
)}(
cc
.
Component
);
n
.
default
=
u
,
cc
.
_RF
.
pop
()},{}],
Matrix
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"ac135di5uZFfaPtJI9vcajQ"
,
"Matrix"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
Matrix
=
void
0
;
var
o
=
Math
.
PI
,
i
=
o
>>
1
,
r
=
o
+
i
,
a
=
o
/
180
,
c
=
180
/
o
;
function
s
(
t
){
switch
(
t
){
case
i
:
case
-
r
:
return
0
;
case
o
:
case
-
o
:
return
-
1
;
case
r
:
case
-
i
:
return
0
;
default
:
return
Math
.
cos
(
t
)}}
function
p
(
t
){
switch
(
t
){
case
i
:
case
-
r
:
return
1
;
case
o
:
case
-
o
:
return
0
;
case
r
:
case
-
i
:
return
-
1
;
default
:
return
Math
.
sin
(
t
)}}
var
u
=
function
(){
function
t
(
t
,
e
,
n
,
o
,
i
,
r
){
void
0
===
t
&&
(
t
=
1
),
void
0
===
e
&&
(
e
=
0
),
void
0
===
n
&&
(
n
=
0
),
void
0
===
o
&&
(
o
=
1
),
void
0
===
i
&&
(
i
=
0
),
void
0
===
r
&&
(
r
=
0
),
this
.
a
=
1
,
this
.
b
=
0
,
this
.
c
=
0
,
this
.
d
=
1
,
this
.
tx
=
0
,
this
.
ty
=
0
,
this
.
array
=
null
,
this
.
prepend
=
function
(
t
){
var
e
=
this
,
n
=
t
.
a
,
o
=
t
.
b
,
i
=
t
.
c
,
r
=
t
.
d
,
a
=
t
.
tx
,
c
=
t
.
ty
,
s
=
e
.
a
,
p
=
e
.
c
,
u
=
e
.
tx
;
return
e
.
a
=
n
*
s
+
i
*
e
.
b
,
e
.
b
=
o
*
s
+
r
*
e
.
b
,
e
.
c
=
n
*
p
+
i
*
e
.
d
,
e
.
d
=
o
*
p
+
r
*
e
.
d
,
e
.
tx
=
n
*
u
+
i
*
e
.
ty
+
a
,
e
.
ty
=
o
*
u
+
r
*
e
.
ty
+
c
,
this
};
var
a
=
this
;
a
.
a
=
t
,
a
.
b
=
e
,
a
.
c
=
n
,
a
.
d
=
o
,
a
.
tx
=
i
,
a
.
ty
=
r
}
return
t
.
prototype
.
clone
=
function
(){
var
e
=
this
;
return
new
t
(
e
.
a
,
e
.
b
,
e
.
c
,
e
.
d
,
e
.
tx
,
e
.
ty
)},
t
.
prototype
.
copy
=
function
(
t
){
return
this
.
a
=
t
.
a
,
this
.
b
=
t
.
b
,
this
.
c
=
t
.
c
,
this
.
d
=
t
.
d
,
this
.
tx
=
t
.
tx
,
this
.
ty
=
t
.
ty
,
this
},
t
.
prototype
.
transformVec2
=
function
(
t
,
e
,
n
){
void
0
===
n
&&
(
n
=
null
);
var
o
=
this
;
return
n
||
(
n
=
new
cc
.
Vec2
),
n
.
x
=
t
*
o
.
a
+
e
*
o
.
c
+
o
.
tx
,
n
.
y
=
t
*
o
.
b
+
e
*
o
.
d
+
o
.
ty
,
n
},
t
.
prototype
.
transformVec2Inverse
=
function
(
t
,
e
,
n
){
void
0
===
n
&&
(
n
=
null
),
n
||
(
n
=
new
cc
.
Vec2
);
var
o
=
1
/
(
this
.
a
*
this
.
d
+
this
.
c
*-
this
.
b
);
return
n
.
x
=
this
.
d
*
o
*
t
+-
this
.
c
*
o
*
e
+
(
this
.
ty
*
this
.
c
-
this
.
tx
*
this
.
d
)
*
o
,
n
.
y
=
this
.
a
*
o
*
e
+-
this
.
b
*
o
*
t
+
(
-
this
.
ty
*
this
.
a
+
this
.
tx
*
this
.
b
)
*
o
,
n
},
t
.
prototype
.
setFrom
=
function
(
t
){
var
e
=
this
;
e
.
a
=
t
.
a
,
e
.
b
=
t
.
b
,
e
.
c
=
t
.
c
,
e
.
d
=
t
.
d
,
e
.
tx
=
t
.
tx
,
e
.
ty
=
t
.
ty
},
t
.
prototype
.
identity
=
function
(){
var
t
=
this
;
t
.
a
=
t
.
d
=
1
,
t
.
b
=
t
.
c
=
t
.
tx
=
t
.
ty
=
0
},
t
.
prototype
.
invert
=
function
(){
var
t
=
this
,
e
=
t
.
a
,
n
=
t
.
b
,
o
=
t
.
c
,
i
=
t
.
d
,
r
=
t
.
tx
,
a
=
t
.
ty
;
if
(
0
==
n
&&
0
==
o
)
return
0
==
e
||
0
==
i
?
t
.
a
=
t
.
d
=
t
.
tx
=
t
.
ty
=
0
:(
e
=
t
.
a
=
1
/
e
,
i
=
t
.
d
=
1
/
i
,
t
.
tx
=-
e
*
r
,
t
.
ty
=-
i
*
a
),
t
;
var
c
=
e
*
i
-
n
*
o
;
if
(
0
==
c
)
return
t
.
identity
(),
t
;
c
=
1
/
c
;
var
s
=
t
.
a
=
i
*
c
;
return
n
=
t
.
b
=-
n
*
c
,
o
=
t
.
c
=-
o
*
c
,
i
=
t
.
d
=
e
*
c
,
t
.
tx
=-
(
s
*
r
+
o
*
a
),
t
.
ty
=-
(
n
*
r
+
i
*
a
),
t
},
t
.
prototype
.
createBox
=
function
(
t
,
e
,
n
,
o
,
i
,
r
,
c
,
u
,
l
){
var
h
=
this
;
if
(
0
!=
i
?
r
=
c
=
i
%
360
:(
r
%=
360
,
c
%=
360
),
0
==
r
&&
0
==
c
)
h
.
a
=
n
,
h
.
b
=
h
.
c
=
0
,
h
.
d
=
o
;
else
{
c
*=
a
;
var
f
=
s
(
r
*=
a
),
d
=
p
(
r
);
r
==
c
?(
h
.
a
=
f
*
n
,
h
.
b
=
d
*
n
):(
h
.
a
=
s
(
c
)
*
n
,
h
.
b
=
p
(
c
)
*
n
),
h
.
c
=-
d
*
o
,
h
.
d
=
f
*
o
}
h
.
tx
=
t
+
u
-
(
u
*
h
.
a
+
l
*
h
.
c
),
h
.
ty
=
e
+
l
-
(
u
*
h
.
b
+
l
*
h
.
d
)},
t
.
prototype
.
append
=
function
(
t
){
var
e
=
this
.
a
,
n
=
this
.
b
,
o
=
this
.
c
,
i
=
this
.
d
;
this
.
a
=
t
.
a
*
e
+
t
.
b
*
o
,
this
.
b
=
t
.
a
*
n
+
t
.
b
*
i
,
this
.
c
=
t
.
c
*
e
+
t
.
d
*
o
,
this
.
d
=
t
.
c
*
n
+
t
.
d
*
i
,
this
.
tx
=
t
.
tx
*
e
+
t
.
ty
*
o
+
this
.
tx
,
this
.
ty
=
t
.
tx
*
n
+
t
.
ty
*
i
+
this
.
ty
},
t
.
isEqual
=
function
(
t
,
e
){
return
t
.
tx
==
e
.
tx
&&
t
.
ty
==
e
.
ty
&&
t
.
a
==
e
.
a
&&
t
.
b
==
e
.
b
&&
t
.
c
==
e
.
c
&&
t
.
d
==
e
.
d
},
t
.
prototype
.
concat
=
function
(
t
){
var
e
=
this
,
n
=
e
.
a
,
o
=
e
.
b
,
i
=
e
.
c
,
r
=
e
.
d
,
a
=
e
.
tx
,
c
=
e
.
ty
,
s
=
t
.
a
,
p
=
t
.
b
,
u
=
t
.
c
,
l
=
t
.
d
,
h
=
t
.
tx
,
f
=
t
.
ty
;
e
.
a
=
n
*
s
+
o
*
u
,
e
.
b
=
n
*
p
+
o
*
l
,
e
.
c
=
i
*
s
+
r
*
u
,
e
.
d
=
i
*
p
+
r
*
l
,
e
.
tx
=
a
*
s
+
c
*
u
+
h
,
e
.
ty
=
a
*
p
+
c
*
l
+
f
},
t
.
prototype
.
rotate
=
function
(
t
){
var
e
=
this
,
n
=
Math
.
sin
(
t
),
o
=
Math
.
cos
(
t
),
i
=
e
.
a
,
r
=
e
.
b
,
a
=
e
.
c
,
c
=
e
.
d
,
s
=
e
.
tx
,
p
=
e
.
ty
;
e
.
a
=
i
*
o
-
r
*
n
,
e
.
b
=
i
*
n
+
r
*
o
,
e
.
c
=
a
*
o
-
c
*
n
,
e
.
d
=
a
*
n
+
c
*
o
,
e
.
tx
=
s
*
o
-
p
*
n
,
e
.
ty
=
s
*
n
+
p
*
o
},
t
.
prototype
.
scale
=
function
(
t
,
e
){
var
n
=
this
;
n
.
a
*=
t
,
n
.
d
*=
e
,
n
.
c
*=
t
,
n
.
b
*=
e
,
n
.
tx
*=
t
,
n
.
ty
*=
e
},
t
.
prototype
.
translate
=
function
(
t
,
e
){
this
.
tx
+=
t
,
this
.
ty
+=
e
},
t
.
prototype
.
set
=
function
(
t
,
e
,
n
,
o
,
i
,
r
){
return
this
.
a
=
t
,
this
.
b
=
e
,
this
.
c
=
n
,
this
.
d
=
o
,
this
.
tx
=
i
,
this
.
ty
=
r
,
this
},
t
.
prototype
.
getRotation
=
function
(){
return
Math
.
round
(
Math
.
atan2
(
this
.
b
,
this
.
a
)
*
c
)},
t
.
prototype
.
toArray
=
function
(
t
,
e
){
void
0
===
t
&&
(
t
=!
1
),
this
.
array
||
(
this
.
array
=
new
Float32Array
(
9
));
var
n
=
e
||
this
.
array
;
return
t
?(
n
[
0
]
=
this
.
a
,
n
[
1
]
=
this
.
b
,
n
[
2
]
=
0
,
n
[
3
]
=
this
.
c
,
n
[
4
]
=
this
.
d
,
n
[
5
]
=
0
,
n
[
6
]
=
this
.
tx
,
n
[
7
]
=
this
.
ty
,
n
[
8
]
=
1
):(
n
[
0
]
=
this
.
a
,
n
[
1
]
=
this
.
c
,
n
[
2
]
=
this
.
tx
,
n
[
3
]
=
this
.
b
,
n
[
4
]
=
this
.
d
,
n
[
5
]
=
this
.
ty
,
n
[
6
]
=
0
,
n
[
7
]
=
0
,
n
[
8
]
=
1
),
n
},
t
.
prototype
.
decompose
=
function
(){
var
t
=
{
rotation
:
0
,
skew
:
cc
.
v2
(),
scale
:
cc
.
v2
(),
position
:
cc
.
v2
()},
e
=
this
.
a
,
n
=
this
.
b
,
o
=
this
.
c
,
i
=
this
.
d
,
r
=-
Math
.
atan2
(
-
o
,
i
),
a
=
Math
.
atan2
(
n
,
e
),
c
=
Math
.
abs
(
r
+
a
);
return
c
<
1
e
-
5
||
Math
.
abs
(
2
*
Math
.
PI
-
c
)
<
1
e
-
5
?(
t
.
rotation
=
a
,
e
<
0
&&
i
>=
0
&&
(
t
.
rotation
+=
t
.
rotation
<=
0
?
Math
.
PI
:
-
Math
.
PI
),
t
.
skew
.
x
=
t
.
skew
.
y
=
0
):(
t
.
rotation
=
0
,
t
.
skew
.
x
=
r
,
t
.
skew
.
y
=
a
),
t
.
scale
.
x
=
Math
.
sqrt
(
e
*
e
+
n
*
n
),
t
.
scale
.
y
=
Math
.
sqrt
(
o
*
o
+
i
*
i
),
t
.
position
.
x
=
this
.
tx
,
t
.
position
.
y
=
this
.
ty
,
t
},
Object
.
defineProperty
(
t
,
"IDENTITY"
,{
get
:
function
(){
return
new
t
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
t
,
"TEMP_MATRIX"
,{
get
:
function
(){
return
new
t
},
enumerable
:
!
1
,
configurable
:
!
0
}),
t
.
prototype
.
destroy
=
function
(){},
t
}();
n
.
Matrix
=
u
,
cc
.
_RF
.
pop
()},{}],
SvgaEvent
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"07040GmslJHs7J1pUxL6Kr7"
,
"SvgaEvent"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
SvgaEvent
=
void
0
,(
n
.
SvgaEvent
||
(
n
.
SvgaEvent
=
{})).
END_FRAME
=
"end_frame"
,
cc
.
_RF
.
pop
()},{}],
SvgaTrack
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"5eefe9b92lAU4GY+nBw9mG4"
,
"SvgaTrack"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
SvgaTrack
=
void
0
;
var
o
=
function
(){
function
t
(
t
,
e
){
this
.
node
=
t
,
this
.
frames
=
e
}
return
t
.
prototype
.
setValue
=
function
(
t
){
var
e
=
this
.
node
,
n
=
this
.
frames
,
o
=
n
[
t
=
Math
.
round
(
cc
.
misc
.
clampf
(
t
,
0
,
n
.
length
-
1
))],
i
=
o
.
alpha
,
r
=
o
.
transform
;
if
(
o
.
maskPath
,
i
<
.
05
)
e
.
opacity
=
0
;
else
{
e
.
opacity
=
255
*
i
;
var
a
=
r
.
a
,
c
=
r
.
b
,
s
=
r
.
c
,
p
=
r
.
d
,
u
=
r
.
tx
,
l
=
r
.
ty
,
h
=
e
.
_matrix
,
f
=
e
.
_trs
,
d
=
h
.
m
;
d
[
0
]
=
a
,
d
[
1
]
=
c
,
d
[
4
]
=-
s
,
d
[
5
]
=-
p
,
d
[
6
]
=-
d
[
6
],
d
[
7
]
=-
d
[
7
],
f
[
0
]
=
u
,
f
[
1
]
=
l
,
e
.
_renderFlag
|=
cc
.
RenderFlow
.
FLAG_WORLD_TRANSFORM
}},
t
.
prototype
.
resetValue
=
function
(){
this
.
node
.
_renderFlag
&=~
cc
.
RenderFlow
.
FLAG_LOCAL_TRANSFORM
,
this
.
setValue
(
0
)},
t
.
prototype
.
destroy
=
function
(){
this
.
node
=
null
},
t
}();
n
.
SvgaTrack
=
o
,
cc
.
_RF
.
pop
()},{}],
Svga
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"7c5ffhlHDpBpoDQ8wfKN7pu"
,
"Svga"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
},
a
=
this
&&
this
.
__awaiter
||
function
(
t
,
e
,
n
,
o
){
return
new
(
n
||
(
n
=
Promise
))(
function
(
i
,
r
){
function
a
(
t
){
try
{
s
(
o
.
next
(
t
))}
catch
(
e
){
r
(
e
)}}
function
c
(
t
){
try
{
s
(
o
.
throw
(
t
))}
catch
(
e
){
r
(
e
)}}
function
s
(
t
){
var
e
;
t
.
done
?
i
(
t
.
value
):(
e
=
t
.
value
,
e
instanceof
n
?
e
:
new
n
(
function
(
t
){
t
(
e
)})).
then
(
a
,
c
)}
s
((
o
=
o
.
apply
(
t
,
e
||
[])).
next
())})},
c
=
this
&&
this
.
__generator
||
function
(
t
,
e
){
var
n
,
o
,
i
,
r
,
a
=
{
label
:
0
,
sent
:
function
(){
if
(
1
&
i
[
0
])
throw
i
[
1
];
return
i
[
1
]},
trys
:[],
ops
:[]};
return
r
=
{
next
:
c
(
0
),
throw
:
c
(
1
),
return
:
c
(
2
)},
"function"
==
typeof
Symbol
&&
(
r
[
Symbol
.
iterator
]
=
function
(){
return
this
}),
r
;
function
c
(
t
){
return
function
(
e
){
return
s
([
t
,
e
])}}
function
s
(
r
){
if
(
n
)
throw
new
TypeError
(
"Generator is already executing."
);
for
(;
a
;)
try
{
if
(
n
=
1
,
o
&&
(
i
=
2
&
r
[
0
]?
o
.
return
:
r
[
0
]?
o
.
throw
||
((
i
=
o
.
return
)
&&
i
.
call
(
o
),
0
):
o
.
next
)
&&!
(
i
=
i
.
call
(
o
,
r
[
1
])).
done
)
return
i
;
switch
(
o
=
0
,
i
&&
(
r
=
[
2
&
r
[
0
],
i
.
value
]),
r
[
0
]){
case
0
:
case
1
:
i
=
r
;
break
;
case
4
:
return
a
.
label
++
,{
value
:
r
[
1
],
done
:
!
1
};
case
5
:
a
.
label
++
,
o
=
r
[
1
],
r
=
[
0
];
continue
;
case
7
:
r
=
a
.
ops
.
pop
(),
a
.
trys
.
pop
();
continue
;
default
:
if
(
!
(
i
=
(
i
=
a
.
trys
).
length
>
0
&&
i
[
i
.
length
-
1
])
&&
(
6
===
r
[
0
]
||
2
===
r
[
0
])){
a
=
0
;
continue
}
if
(
3
===
r
[
0
]
&&
(
!
i
||
r
[
1
]
>
i
[
0
]
&&
r
[
1
]
<
i
[
3
])){
a
.
label
=
r
[
1
];
break
}
if
(
6
===
r
[
0
]
&&
a
.
label
<
i
[
1
]){
a
.
label
=
i
[
1
],
i
=
r
;
break
}
if
(
i
&&
a
.
label
<
i
[
2
]){
a
.
label
=
i
[
2
],
a
.
ops
.
push
(
r
);
break
}
i
[
2
]
&&
a
.
ops
.
pop
(),
a
.
trys
.
pop
();
continue
}
r
=
e
.
call
(
t
,
a
)}
catch
(
c
){
r
=
[
6
,
c
],
o
=
0
}
finally
{
n
=
i
=
0
}
if
(
5
&
r
[
0
])
throw
r
[
1
];
return
{
value
:
r
[
0
]?
r
[
1
]:
void
0
,
done
:
!
0
}}};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
s
=
t
(
"./SvgaTrack"
),
p
=
cc
.
_decorator
.
executeInEditMode
,
u
=
cc
.
_decorator
.
playOnFocus
,
l
=
t
(
"./SvgaEvent"
),
h
=
t
(
"./loadSvga"
),
f
=
cc
.
_decorator
.
menu
,
d
=
cc
.
_decorator
.
disallowMultiple
,
v
=
cc
.
_decorator
,
y
=
v
.
ccclass
,
g
=
v
.
property
,
_
=
function
(
t
){
function
e
(){
var
e
=
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
;
return
e
.
edit_update
=!
1
,
e
.
aniNode
=
null
,
e
.
_svga
=
null
,
e
.
tracks
=
[],
e
.
isPlaying
=!
1
,
e
.
vmData
=
null
,
e
.
autoPlay
=!
0
,
e
.
_loop
=!
1
,
e
.
_totalFrames
=
0
,
e
.
_frameTime
=
0
,
e
.
_fps
=
0
,
e
.
_curTime
=
0
,
e
.
_curFrame
=
0
,
e
}
return
i
(
e
,
t
),
e
.
prototype
.
onFocusInEditor
=
function
(){
this
.
edit_update
=!
0
,
this
.
play
(
0
)},
e
.
prototype
.
onLostFocusInEditor
=
function
(){
this
.
edit_update
=!
1
},
e
.
prototype
.
resetInEditor
=
function
(){
return
a
(
this
,
void
0
,
void
0
,
function
(){
return
c
(
this
,
function
(
t
){
switch
(
t
.
label
){
case
0
:
return
[
4
,
this
.
_load
()];
case
1
:
return
t
.
sent
(),
this
.
edit_update
=!
0
,
this
.
play
(
0
),[
2
]}})})},
e
.
prototype
.
onEnable
=
function
(){
this
.
play
(
0
)},
Object
.
defineProperty
(
e
.
prototype
,
"svga"
,{
get
:
function
(){
return
this
.
_svga
},
set
:
function
(
t
){
var
e
=
this
;
t
!==
this
.
_svga
&&
(
this
.
_svga
=
t
,
this
.
_load
().
then
(
function
(){
e
.
play
(
0
)}))},
enumerable
:
!
1
,
configurable
:
!
0
}),
e
.
prototype
.
onLoad
=
function
(){
return
a
(
this
,
void
0
,
void
0
,
function
(){
return
c
(
this
,
function
(
t
){
switch
(
t
.
label
){
case
0
:
return
this
.
aniNode
=
this
.
node
.
getChildByName
(
"aniNode"
),
this
.
aniNode
||
(
this
.
aniNode
=
new
cc
.
Node
(
"aniNode"
),
this
.
aniNode
.
scaleY
=-
1
,
this
.
node
.
addChild
(
this
.
aniNode
)),[
4
,
this
.
_load
()];
case
1
:
return
t
.
sent
(),
this
.
autoPlay
&&
this
.
play
(
0
),[
2
]}})})},
e
.
prototype
.
start
=
function
(){},
e
.
prototype
.
play
=
function
(
t
){
void
0
===
t
&&
(
t
=
0
),
this
.
curFrame
=
t
,
this
.
isPlaying
=!
0
},
e
.
prototype
.
stop
=
function
(
t
){
void
0
===
t
&&
(
t
=!
1
),
t
&&
(
this
.
curFrame
=
0
),
this
.
isPlaying
=!
1
},
Object
.
defineProperty
(
e
.
prototype
,
"loop"
,{
get
:
function
(){
return
this
.
_loop
},
set
:
function
(
t
){
this
.
_loop
=
t
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"totalTime"
,{
get
:
function
(){
return
this
.
_totalFrames
*
(
1
/
this
.
fps
)
||
0
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"totalFrames"
,{
get
:
function
(){
return
this
.
_totalFrames
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"fps"
,{
get
:
function
(){
var
t
;
return
this
.
_fps
||
(
null
===
(
t
=
this
.
vmData
)
||
void
0
===
t
?
void
0
:
t
.
FPS
)
||
0
},
set
:
function
(
t
){
this
.
_fps
=
t
,
this
.
_frameTime
=
1
/
t
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"curTime"
,{
get
:
function
(){
return
this
.
_curTime
},
set
:
function
(
t
){
this
.
_curTime
=
t
,
this
.
_curFrame
=
t
*
this
.
fps
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"curFrame"
,{
get
:
function
(){
return
this
.
_curFrame
},
set
:
function
(
t
){
this
.
_curFrame
=
t
,
this
.
_curTime
=
t
/
this
.
fps
},
enumerable
:
!
1
,
configurable
:
!
0
}),
e
.
prototype
.
update
=
function
(
t
){
var
e
=
this
;
this
.
isPlaying
&&
(
this
.
curTime
+=
t
,
this
.
_curFrame
>
this
.
totalFrames
&&
(
this
.
node
.
emit
(
l
.
SvgaEvent
.
END_FRAME
),
this
.
loop
?
this
.
curTime
=
(
this
.
_curFrame
-
this
.
totalFrames
)
*
this
.
_frameTime
:
this
.
stop
(
!
0
)),
this
.
tracks
.
forEach
(
function
(
t
){
t
.
setValue
(
e
.
_curFrame
)}))},
e
.
prototype
.
onDestroy
=
function
(){
for
(
var
t
=
0
;
t
<
this
.
tracks
.
length
;
t
++
)
this
.
tracks
[
t
].
destroy
();
this
.
tracks
=
[]},
e
.
prototype
.
_load
=
function
(){
return
a
(
this
,
void
0
,
void
0
,
function
(){
var
t
=
this
;
return
c
(
this
,
function
(){
return
this
.
svga
?(
this
.
aniNode
.
removeAllChildren
(
!
0
),[
2
,
new
Promise
(
function
(
e
){
return
a
(
t
,
void
0
,
void
0
,
function
(){
var
t
,
n
,
o
,
i
,
r
,
p
,
u
,
l
,
f
,
d
,
v
,
y
,
g
,
_
,
m
,
b
,
S
=
this
;
return
c
(
this
,
function
(
C
){
switch
(
C
.
label
){
case
0
:
return
[
4
,
h
.
loadSvga
(
this
.
svga
)];
case
1
:
for
(
d
in
(
t
=
C
.
sent
()).
textures
=
{},
this
.
vmData
=
t
,
n
=
t
.
FPS
,
o
=
t
.
videoSize
,
i
=
t
.
images
,
r
=
t
.
sprites
,
p
=
t
.
textures
,
u
=
t
.
frames
,
this
.
fps
||
(
this
.
fps
=
n
),
this
.
_totalFrames
=
u
,
this
.
node
.
setContentSize
(
o
.
width
,
o
.
height
),
this
.
aniNode
.
setPosition
(
-
o
.
width
/
2
,
o
.
height
/
2
),
l
=
[],
f
=
function
(
t
){
var
e
=
i
[
t
];
0
!==
e
.
indexOf
(
"iVBO"
)
&&
0
!==
e
.
indexOf
(
"/9j/2w"
)
||
(
e
=
"data:image/png;base64,"
+
e
),
l
.
push
(
new
Promise
(
function
(
n
){
return
a
(
S
,
void
0
,
void
0
,
function
(){
var
o
,
i
;
return
c
(
this
,
function
(
r
){
switch
(
r
.
label
){
case
0
:
return
[
4
,
h
.
createImage
(
e
)];
case
1
:
return
o
=
r
.
sent
(),(
i
=
new
cc
.
Texture2D
).
initWithElement
(
o
),
p
[
t
]
=
new
cc
.
SpriteFrame
(
i
),
n
(),[
2
]}})})}))},
i
)
f
(
d
);
return
[
4
,
Promise
.
all
(
l
)];
case
2
:
for
(
C
.
sent
(),
v
=
0
;
v
<
r
.
length
;
v
++
){
if
(
y
=
r
[
v
],
g
=
y
.
imageKey
,
_
=
y
.
frames
,
!
g
)
return
[
2
];(
m
=
new
cc
.
Node
(
g
)).
setAnchorPoint
(
0
,
1
),
this
.
aniNode
.
addChild
(
m
),
m
.
addComponent
(
cc
.
Sprite
).
spriteFrame
=
p
[
g
],(
b
=
new
s
.
SvgaTrack
(
m
,
_
)).
resetValue
(),
this
.
tracks
.
push
(
b
)}
return
e
(),[
2
]}})})})]):[
2
]})})},
r
([
g
(
cc
.
Asset
)],
e
.
prototype
,
"_svga"
,
void
0
),
r
([
g
(
cc
.
Asset
)],
e
.
prototype
,
"svga"
,
null
),
r
([
g
({
tooltip
:
"
\
u662f
\
u5426
\
u81ea
\
u52a8
\
u64ad
\
u653e"
})],
e
.
prototype
,
"autoPlay"
,
void
0
),
r
([
g
],
e
.
prototype
,
"_loop"
,
void
0
),
r
([
g
({
tooltip
:
"
\
u662f
\
u5426
\
u5faa
\
u73af"
})],
e
.
prototype
,
"loop"
,
null
),
r
([
g
],
e
.
prototype
,
"_fps"
,
void
0
),
r
([
g
],
e
.
prototype
,
"fps"
,
null
),
r
([
y
,
p
,
d
,
u
,
f
(
"
\
u81ea
\
u5b9a
\
u4e49
\
u7ec4
\
u4ef6/Svga"
)],
e
)}(
cc
.
Component
);
n
.
default
=
_
,
cc
.
_RF
.
pop
()},{
"./SvgaEvent"
:
"SvgaEvent"
,
"./SvgaTrack"
:
"SvgaTrack"
,
"./loadSvga"
:
"loadSvga"
}],
exportEvent
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"d252b/Dmr1HLLC3k85LvdL5"
,
"exportEvent"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
EventCenterClass
=
void
0
;
var
o
=
function
(
t
,
e
,
n
){
this
.
type
=
t
,
this
.
target
=
e
,
this
.
detail
=
n
,
this
.
timeStamp
=+
new
Date
},
i
=
function
(){
function
t
(){
this
.
_listeners
=
{}}
return
t
.
prototype
.
on
=
function
(
t
,
e
,
n
,
o
){
for
(
var
i
,
r
=
(
i
=
this
.
_listeners
=
this
.
_listeners
||
{})[
t
]
=
i
[
t
]
||
[],
a
=
0
,
c
=
r
.
length
;
a
<
c
;
a
++
)
if
(
r
[
a
].
listener
===
e
)
return
;
return
r
.
push
({
listener
:
e
,
context
:
n
,
once
:
o
}),
this
},
t
.
prototype
.
off
=
function
(
t
,
e
){
var
n
;
if
(
n
=
this
.
_listeners
=
this
.
_listeners
||
{},
0
==
arguments
.
length
)
return
n
=
null
,
this
;
var
o
=
n
&&
n
[
t
];
if
(
o
){
if
(
1
==
arguments
.
length
)
return
delete
n
[
t
],
this
;
for
(
var
i
=
0
,
r
=
o
.
length
;
i
<
r
;
i
++
){
var
a
=
o
[
i
];
if
(
a
.
listener
===
e
){
o
.
splice
(
i
,
1
),
0
===
o
.
length
&&
delete
n
[
t
];
break
}}}
return
this
},
t
.
prototype
.
fire
=
function
(
t
,
e
){
var
n
,
i
;
"string"
==
typeof
t
?
i
=
t
:(
n
=
t
,
i
=
t
.
type
);
var
r
=
this
.
_listeners
;
if
(
!
r
)
return
!
1
;
var
a
=
r
[
i
];
if
(
a
){
var
c
=
a
.
slice
(
0
);
n
=
n
||
new
o
(
i
,
this
,
e
);
for
(
var
s
=
0
;
s
<
c
.
length
;
s
++
){
var
p
=
c
[
s
];
if
(
p
.
listener
.
call
(
p
.
context
,
n
),
p
.
once
){
var
u
=
a
.
indexOf
(
p
);
u
>-
1
&&
a
.
splice
(
u
,
1
)}}
return
0
==
a
.
length
&&
delete
r
[
i
],
!
0
}
return
!
1
},
t
}();
n
.
EventCenterClass
=
i
;
var
r
=
new
i
;
cc
.
EventBus
=
r
,
n
.
default
=
r
,
cc
.
_RF
.
pop
()},{}],
interface
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"dbeb7x/ykZC14tBqxOW9gtp"
,
"interface"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
cc
.
_RF
.
pop
()},{}],
loadSvga
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"d0e08EVP/pFhJXdUpznXvD+"
,
"loadSvga"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
createImage
=
n
.
ImgCache
=
n
.
loadSvga
=
n
.
SvgaCache
=
void
0
,
n
.
SvgaCache
=
{},
cc
.
assetManager
.
downloader
.
register
(
".svga"
,
function
(
t
,
e
,
n
){
cc
.
assetManager
.
downloader
.
downloadFile
(
t
,{
responseType
:
"arraybuffer"
},
n
)}),
n
.
loadSvga
=
function
(
t
){
return
new
Promise
(
function
(
e
){
var
o
=
""
;
t
instanceof
cc
.
Asset
?(
o
=
t
.
_uuid
,
t
=
t
.
_nativeAsset
):
o
=
t
,
n
.
SvgaCache
[
o
]?
e
(
n
.
SvgaCache
[
o
]):
SvgaParser
.
loadSvga
(
t
,
function
(
t
){
n
.
SvgaCache
[
o
]
=
t
,
e
(
t
)})})},
n
.
ImgCache
=
{},
n
.
createImage
=
function
(
t
){
return
new
Promise
(
function
(
e
){
if
(
n
.
ImgCache
[
t
])
e
(
n
.
ImgCache
[
t
]);
else
{
var
o
=
new
Image
;
o
.
onload
=
function
(){
n
.
ImgCache
[
t
]
=
o
,
e
(
o
)},
o
.
src
=
t
}})},
cc
.
_RF
.
pop
()},{}],
propMove
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"a4cebApRXhOpYXmhf5gIeC3"
,
"propMove"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
},
a
=
this
&&
this
.
__awaiter
||
function
(
t
,
e
,
n
,
o
){
return
new
(
n
||
(
n
=
Promise
))(
function
(
i
,
r
){
function
a
(
t
){
try
{
s
(
o
.
next
(
t
))}
catch
(
e
){
r
(
e
)}}
function
c
(
t
){
try
{
s
(
o
.
throw
(
t
))}
catch
(
e
){
r
(
e
)}}
function
s
(
t
){
var
e
;
t
.
done
?
i
(
t
.
value
):(
e
=
t
.
value
,
e
instanceof
n
?
e
:
new
n
(
function
(
t
){
t
(
e
)})).
then
(
a
,
c
)}
s
((
o
=
o
.
apply
(
t
,
e
||
[])).
next
())})},
c
=
this
&&
this
.
__generator
||
function
(
t
,
e
){
var
n
,
o
,
i
,
r
,
a
=
{
label
:
0
,
sent
:
function
(){
if
(
1
&
i
[
0
])
throw
i
[
1
];
return
i
[
1
]},
trys
:[],
ops
:[]};
return
r
=
{
next
:
c
(
0
),
throw
:
c
(
1
),
return
:
c
(
2
)},
"function"
==
typeof
Symbol
&&
(
r
[
Symbol
.
iterator
]
=
function
(){
return
this
}),
r
;
function
c
(
t
){
return
function
(
e
){
return
s
([
t
,
e
])}}
function
s
(
r
){
if
(
n
)
throw
new
TypeError
(
"Generator is already executing."
);
for
(;
a
;)
try
{
if
(
n
=
1
,
o
&&
(
i
=
2
&
r
[
0
]?
o
.
return
:
r
[
0
]?
o
.
throw
||
((
i
=
o
.
return
)
&&
i
.
call
(
o
),
0
):
o
.
next
)
&&!
(
i
=
i
.
call
(
o
,
r
[
1
])).
done
)
return
i
;
switch
(
o
=
0
,
i
&&
(
r
=
[
2
&
r
[
0
],
i
.
value
]),
r
[
0
]){
case
0
:
case
1
:
i
=
r
;
break
;
case
4
:
return
a
.
label
++
,{
value
:
r
[
1
],
done
:
!
1
};
case
5
:
a
.
label
++
,
o
=
r
[
1
],
r
=
[
0
];
continue
;
case
7
:
r
=
a
.
ops
.
pop
(),
a
.
trys
.
pop
();
continue
;
default
:
if
(
!
(
i
=
(
i
=
a
.
trys
).
length
>
0
&&
i
[
i
.
length
-
1
])
&&
(
6
===
r
[
0
]
||
2
===
r
[
0
])){
a
=
0
;
continue
}
if
(
3
===
r
[
0
]
&&
(
!
i
||
r
[
1
]
>
i
[
0
]
&&
r
[
1
]
<
i
[
3
])){
a
.
label
=
r
[
1
];
break
}
if
(
6
===
r
[
0
]
&&
a
.
label
<
i
[
1
]){
a
.
label
=
i
[
1
],
i
=
r
;
break
}
if
(
i
&&
a
.
label
<
i
[
2
]){
a
.
label
=
i
[
2
],
a
.
ops
.
push
(
r
);
break
}
i
[
2
]
&&
a
.
ops
.
pop
(),
a
.
trys
.
pop
();
continue
}
r
=
e
.
call
(
t
,
a
)}
catch
(
c
){
r
=
[
6
,
c
],
o
=
0
}
finally
{
n
=
i
=
0
}
if
(
5
&
r
[
0
])
throw
r
[
1
];
return
{
value
:
r
[
0
]?
r
[
1
]:
void
0
,
done
:
!
0
}}};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
s
=
cc
.
_decorator
,
p
=
s
.
ccclass
,
u
=
(
s
.
property
,
function
(
t
){
function
e
(){
return
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
}
return
i
(
e
,
t
),
e
.
prototype
.
die
=
function
(
t
){
return
a
(
this
,
void
0
,
void
0
,
function
(){
var
e
,
n
=
this
;
return
c
(
this
,
function
(
o
){
switch
(
o
.
label
){
case
0
:
return
(
e
=
this
.
node
.
getComponent
(
cc
.
Animation
))?(
e
.
play
(),
e
.
on
(
"finished"
,
function
(){
return
a
(
n
,
void
0
,
void
0
,
function
(){
return
c
(
this
,
function
(
e
){
switch
(
e
.
label
){
case
0
:
return
[
4
,
null
==
t
?
void
0
:
t
()];
case
1
:
return
e
.
sent
(),
this
.
node
.
destroy
(),[
2
]}})})},
this
),[
3
,
3
]):[
3
,
1
];
case
1
:
return
[
4
,
null
==
t
?
void
0
:
t
()];
case
2
:
o
.
sent
(),
this
.
node
.
destroy
(),
o
.
label
=
3
;
case
3
:
return
[
2
]}})})},
r
([
p
],
e
)}(
cc
.
Component
));
n
.
default
=
u
,
cc
.
_RF
.
pop
()},{}],
utils
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"6aca3erpIVPLpMW4bJwDRR6"
,
"utils"
);
var
o
=
this
&&
this
.
__awaiter
||
function
(
t
,
e
,
n
,
o
){
return
new
(
n
||
(
n
=
Promise
))(
function
(
i
,
r
){
function
a
(
t
){
try
{
s
(
o
.
next
(
t
))}
catch
(
e
){
r
(
e
)}}
function
c
(
t
){
try
{
s
(
o
.
throw
(
t
))}
catch
(
e
){
r
(
e
)}}
function
s
(
t
){
var
e
;
t
.
done
?
i
(
t
.
value
):(
e
=
t
.
value
,
e
instanceof
n
?
e
:
new
n
(
function
(
t
){
t
(
e
)})).
then
(
a
,
c
)}
s
((
o
=
o
.
apply
(
t
,
e
||
[])).
next
())})},
i
=
this
&&
this
.
__generator
||
function
(
t
,
e
){
var
n
,
o
,
i
,
r
,
a
=
{
label
:
0
,
sent
:
function
(){
if
(
1
&
i
[
0
])
throw
i
[
1
];
return
i
[
1
]},
trys
:[],
ops
:[]};
return
r
=
{
next
:
c
(
0
),
throw
:
c
(
1
),
return
:
c
(
2
)},
"function"
==
typeof
Symbol
&&
(
r
[
Symbol
.
iterator
]
=
function
(){
return
this
}),
r
;
function
c
(
t
){
return
function
(
e
){
return
s
([
t
,
e
])}}
function
s
(
r
){
if
(
n
)
throw
new
TypeError
(
"Generator is already executing."
);
for
(;
a
;)
try
{
if
(
n
=
1
,
o
&&
(
i
=
2
&
r
[
0
]?
o
.
return
:
r
[
0
]?
o
.
throw
||
((
i
=
o
.
return
)
&&
i
.
call
(
o
),
0
):
o
.
next
)
&&!
(
i
=
i
.
call
(
o
,
r
[
1
])).
done
)
return
i
;
switch
(
o
=
0
,
i
&&
(
r
=
[
2
&
r
[
0
],
i
.
value
]),
r
[
0
]){
case
0
:
case
1
:
i
=
r
;
break
;
case
4
:
return
a
.
label
++
,{
value
:
r
[
1
],
done
:
!
1
};
case
5
:
a
.
label
++
,
o
=
r
[
1
],
r
=
[
0
];
continue
;
case
7
:
r
=
a
.
ops
.
pop
(),
a
.
trys
.
pop
();
continue
;
default
:
if
(
!
(
i
=
(
i
=
a
.
trys
).
length
>
0
&&
i
[
i
.
length
-
1
])
&&
(
6
===
r
[
0
]
||
2
===
r
[
0
])){
a
=
0
;
continue
}
if
(
3
===
r
[
0
]
&&
(
!
i
||
r
[
1
]
>
i
[
0
]
&&
r
[
1
]
<
i
[
3
])){
a
.
label
=
r
[
1
];
break
}
if
(
6
===
r
[
0
]
&&
a
.
label
<
i
[
1
]){
a
.
label
=
i
[
1
],
i
=
r
;
break
}
if
(
i
&&
a
.
label
<
i
[
2
]){
a
.
label
=
i
[
2
],
a
.
ops
.
push
(
r
);
break
}
i
[
2
]
&&
a
.
ops
.
pop
(),
a
.
trys
.
pop
();
continue
}
r
=
e
.
call
(
t
,
a
)}
catch
(
c
){
r
=
[
6
,
c
],
o
=
0
}
finally
{
n
=
i
=
0
}
if
(
5
&
r
[
0
])
throw
r
[
1
];
return
{
value
:
r
[
0
]?
r
[
1
]:
void
0
,
done
:
!
0
}}},
r
=
this
&&
this
.
__spreadArrays
||
function
(){
for
(
var
t
=
0
,
e
=
0
,
n
=
arguments
.
length
;
e
<
n
;
e
++
)
t
+=
arguments
[
e
].
length
;
var
o
=
Array
(
t
),
i
=
0
;
for
(
e
=
0
;
e
<
n
;
e
++
)
for
(
var
r
=
arguments
[
e
],
a
=
0
,
c
=
r
.
length
;
a
<
c
;
a
++
,
i
++
)
o
[
i
]
=
r
[
a
];
return
o
};
function
a
(
t
,
e
){
return
Math
.
floor
(
Math
.
random
()
*
(
e
-
t
))
+
t
}
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
getUrlParam
=
n
.
getProbability
=
n
.
getRandomArrayElements
=
n
.
randomNum
=
n
.
loadGameResources
=
n
.
numToChinese
=
n
.
set16ToRgb
=
void
0
,
n
.
set16ToRgb
=
function
(
t
){
if
(
t
&&
/^#
([
0-9A-Fa-f
]{3}
|
[
0-9A-Fa-f
]{6})
$/
.
test
(
t
)){
var
e
=
t
.
toLowerCase
().
replace
(
/
\#
/g
,
""
),
n
=
e
.
length
;
if
(
3
==
n
){
for
(
var
o
=
""
,
i
=
0
;
i
<
n
;
i
++
)
o
+=
e
.
slice
(
i
,
i
+
1
).
concat
(
e
.
slice
(
i
,
i
+
1
));
e
=
o
}
var
r
=
[];
for
(
i
=
0
;
i
<
6
;
i
+=
2
){
var
a
=
e
.
slice
(
i
,
i
+
2
);
r
.
push
(
parseInt
(
"0x"
+
a
))}
return
r
}},
n
.
numToChinese
=
function
(
t
){
return
[
"
\
u96f6"
,
"
\
u4e00"
,
"
\
u4e8c"
,
"
\
u4e09"
,
"
\
u56db"
,
"
\
u4e94"
,
"
\
u516d"
,
"
\
u4e03"
,
"
\
u516b"
,
"
\
u4e5d"
,
"
\
u5341"
][
t
]},
n
.
loadGameResources
=
function
(){
return
o
(
void
0
,
void
0
,
void
0
,
function
(){
return
i
(
this
,
function
(){
return
[
2
,
new
Promise
(
function
(
t
){
cc
.
resources
.
preloadDir
(
"images"
,
cc
.
SpriteFrame
,
function
(
e
,
n
){
console
.
log
(
"111"
,
n
),
t
(
n
,
e
)})})]})})},
n
.
randomNum
=
a
,
n
.
getRandomArrayElements
=
function
(
t
,
e
){
if
(
t
.
length
<=
e
)
return
t
;
for
(
var
n
,
o
,
i
=
t
.
slice
(
0
),
r
=
t
.
length
,
a
=
r
-
e
;
r
--
>
a
;)
n
=
i
[
o
=
(
r
+
1
)
*
Math
.
random
()
>>
0
],
i
[
o
]
=
i
[
r
],
i
[
r
]
=
n
;
return
i
.
slice
(
a
)},
n
.
getProbability
=
function
(
t
){
return
r
(
Array
(
100
-
t
).
fill
(
!
1
),
Array
(
t
).
fill
(
!
0
))[
Math
.
floor
(
a
(
0
,
99
))]},
n
.
getUrlParam
=
function
(
t
){
var
e
=
window
.
location
.
search
,
n
=
e
.
slice
(
1
).
match
(
new
RegExp
(
"(^|&)"
+
t
+
"=([^&]*)(&|$)"
,
"i"
));
return
e
.
length
?
n
&&
n
[
2
]:
null
},
cc
.
_RF
.
pop
()},{}]},{},[
"ClipAni"
,
"BitText"
,
"FitSprite"
,
"Matrix"
,
"Svga"
,
"SvgaEvent"
,
"SvgaTrack"
,
"interface"
,
"loadSvga"
,
"GameConfig"
,
"GameScene"
,
"ImgFixedSize"
,
"exportEvent"
,
"propMove"
,
"utils"
]);
\ No newline at end of file
window
.
__require
=
function
t
(
e
,
n
,
o
){
function
i
(
a
,
c
){
if
(
!
n
[
a
]){
if
(
!
e
[
a
]){
var
s
=
a
.
split
(
"/"
);
if
(
s
=
s
[
s
.
length
-
1
],
!
e
[
s
]){
var
p
=
"function"
==
typeof
__require
&&
__require
;
if
(
!
c
&&
p
)
return
p
(
s
,
!
0
);
if
(
r
)
return
r
(
s
,
!
0
);
throw
new
Error
(
"Cannot find module '"
+
a
+
"'"
)}
a
=
s
}
var
u
=
n
[
a
]
=
{
exports
:{}};
e
[
a
][
0
].
call
(
u
.
exports
,
function
(
t
){
return
i
(
e
[
a
][
1
][
t
]
||
t
)},
u
,
u
.
exports
,
t
,
e
,
n
,
o
)}
return
n
[
a
].
exports
}
for
(
var
r
=
"function"
==
typeof
__require
&&
__require
,
a
=
0
;
a
<
o
.
length
;
a
++
)
i
(
o
[
a
]);
return
i
}({
BitText
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"bd5deybNDBOc5i/9P2WUtAA"
,
"BitText"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
a
=
cc
.
_decorator
.
menu
,
c
=
cc
.
_decorator
,
s
=
c
.
ccclass
,
p
=
c
.
property
,
u
=
function
(
t
){
function
e
(){
var
e
=
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
;
return
e
.
_gap
=
0
,
e
.
_text
=
""
,
e
.
texture
=
null
,
e
}
return
i
(
e
,
t
),
Object
.
defineProperty
(
e
.
prototype
,
"w"
,{
get
:
function
(){
return
this
.
_w
},
set
:
function
(
t
){
this
.
_w
=
t
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"gap"
,{
get
:
function
(){
return
this
.
_gap
},
set
:
function
(
t
){
this
.
_gap
=
t
,
this
.
permutation
()},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"text"
,{
get
:
function
(){
return
this
.
_text
},
set
:
function
(
t
){
var
e
=
this
;
this
.
_text
=
t
,
this
.
node
.
destroyAllChildren
(),
this
.
node
.
removeAllChildren
(),
t
.
split
(
""
).
forEach
(
function
(
t
){
var
n
=
e
.
atlas
.
getChildByName
(
t
);
if
(
!
n
)
return
console
.
warn
(
"
\
u6ca1
\
u914d
\
u7f6e "
+
t
+
"
\
u8fd9
\
u4e2a
\
u5b57
\
u7b26"
);
var
o
=
cc
.
instantiate
(
n
);
o
.
anchorX
=
0
,
e
.
node
.
addChild
(
o
)}),
this
.
permutation
()},
enumerable
:
!
1
,
configurable
:
!
0
}),
e
.
prototype
.
onLoad
=
function
(){
this
.
atlas
=
cc
.
instantiate
(
this
.
texture
)},
e
.
prototype
.
start
=
function
(){},
e
.
prototype
.
permutation
=
function
(){
var
t
=
this
.
gap
,
e
=
0
;
this
.
node
.
children
.
forEach
(
function
(
n
){
n
.
anchorX
=
0
,
n
.
x
=
e
,
e
+=
n
.
width
+
t
}),
this
.
w
=
e
;
var
n
=
e
/
2
;
this
.
node
.
children
.
forEach
(
function
(
t
){
return
t
.
x
-=
n
})},
r
([
p
],
e
.
prototype
,
"_gap"
,
void
0
),
r
([
p
],
e
.
prototype
,
"gap"
,
null
),
r
([
p
],
e
.
prototype
,
"_text"
,
void
0
),
r
([
p
],
e
.
prototype
,
"text"
,
null
),
r
([
p
(
cc
.
Prefab
)],
e
.
prototype
,
"texture"
,
void
0
),
r
([
s
,
a
(
"
\
u81ea
\
u5b9a
\
u4e49
\
u7ec4
\
u4ef6/
\
u4f4d
\
u56fe
\
u5b57"
)],
e
)}(
cc
.
Component
);
n
.
default
=
u
,
cc
.
_RF
.
pop
()},{}],
ClipAni
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"b257deNLElEQ7owjaUlEj0T"
,
"ClipAni"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
a
=
t
(
"./Config/GameConfig"
),
c
=
cc
.
_decorator
,
s
=
c
.
ccclass
,
p
=
(
c
.
property
,
function
(
t
){
function
e
(){
var
e
=
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
;
return
e
.
eventAniEnd
=
null
,
e
.
eventCollEnt
=
null
,
e
}
return
i
(
e
,
t
),
e
.
prototype
.
start
=
function
(){
this
.
eventAniEnd
=
new
cc
.
Event
.
EventCustom
(
a
.
CUSTOM_EVENT
.
CLIP_ANI_END
,
!
0
),
this
.
eventCollEnt
=
new
cc
.
Event
.
EventCustom
(
a
.
CUSTOM_EVENT
.
CLIP_COLLISION
,
!
0
)},
e
.
prototype
.
onCollisionEnter
=
function
(
t
){
this
.
eventCollEnt
.
detail
=
{
other
:
t
},
cc
.
find
(
"Canvas"
).
dispatchEvent
(
this
.
eventCollEnt
)},
e
.
prototype
.
onAnimCompleted
=
function
(
t
){
this
.
eventAniEnd
.
detail
=
{
state
:
t
},
cc
.
find
(
"Canvas"
).
dispatchEvent
(
this
.
eventAniEnd
)},
r
([
s
],
e
)}(
cc
.
Component
));
n
.
default
=
p
,
cc
.
_RF
.
pop
()},{
"./Config/GameConfig"
:
"GameConfig"
}],
FitSprite
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"55f2b6YY2VNsp2pvVM/3ZOl"
,
"FitSprite"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
FitSpriteType
=
void
0
;
var
a
,
c
=
cc
.
_decorator
.
ccclass
,
s
=
cc
.
_decorator
.
property
,
p
=
cc
.
_decorator
.
menu
;(
function
(
t
){
t
[
t
.
Horizontal
=
0
]
=
"Horizontal"
,
t
[
t
.
Vertical
=
1
]
=
"Vertical"
})(
a
=
n
.
FitSpriteType
||
(
n
.
FitSpriteType
=
{}));
var
u
=
function
(
t
){
function
e
(){
var
e
=
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
;
return
e
.
_fitSpriteType
=
a
.
Vertical
,
e
.
maxWidth
=
0
,
e
.
maxHeight
=
0
,
e
}
return
i
(
e
,
t
),
Object
.
defineProperty
(
e
.
prototype
,
"fitSpriteType"
,{
get
:
function
(){
return
this
.
_fitSpriteType
},
set
:
function
(
t
){
this
.
_fitSpriteType
=
t
,
this
.
updateSpriteSize
()},
enumerable
:
!
1
,
configurable
:
!
0
}),
e
.
prototype
.
onLoad
=
function
(){
this
.
node
.
on
(
cc
.
Node
.
EventType
.
SIZE_CHANGED
,
this
.
updateSpriteSize
,
this
)},
e
.
prototype
.
setTexture
=
function
(
t
){
this
.
node
.
getComponent
(
cc
.
Sprite
).
spriteFrame
=
t
,
this
.
updateSpriteSize
()},
e
.
prototype
.
updateSpriteSize
=
function
(){
var
t
=
this
.
node
.
getComponent
(
cc
.
Sprite
).
spriteFrame
.
getTexture
();
this
.
fitSpriteType
===
a
.
Horizontal
?(
this
.
node
.
height
=
t
.
height
/
t
.
width
*
this
.
maxWidth
,
this
.
node
.
width
=
this
.
maxWidth
):(
this
.
node
.
width
=
t
.
width
/
t
.
height
*
this
.
maxHeight
,
this
.
node
.
height
=
this
.
maxHeight
)},
r
([
s
({
type
:
cc
.
Enum
(
a
),
tooltip
:
"
\
u7c7b
\
u578b"
})],
e
.
prototype
,
"_fitSpriteType"
,
void
0
),
r
([
s
(
"
\
u6700
\
u5927
\
u5bbd
\
u5ea6"
)],
e
.
prototype
,
"maxWidth"
,
void
0
),
r
([
s
(
"
\
u6700
\
u5927
\
u9ad8
\
u5ea6"
)],
e
.
prototype
,
"maxHeight"
,
void
0
),
r
([
s
({
type
:
cc
.
Enum
(
a
),
tooltip
:
"
\
u7c7b
\
u578b"
})],
e
.
prototype
,
"fitSpriteType"
,
null
),
r
([
c
,
p
(
"
\
u6e32
\
u67d3
\
u7ec4
\
u4ef6/FitSprite"
)],
e
)}(
cc
.
Component
);
n
.
default
=
u
,
cc
.
_RF
.
pop
()},{}],
GameConfig
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"2197dXlmixCibGa45Vyz3hP"
,
"GameConfig"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
Config
=
n
.
CUSTOM_EVENT
=
n
.
LevelInfo
=
void
0
,
n
.
LevelInfo
=
[{
level
:
1
,
colors
:[
"#EC5F33"
,
"#E52800"
,
"#CA1D00"
]},{
level
:
2
,
colors
:[
"#FF9400"
,
"#FF6C00"
,
"#EC5F33"
,
"#E52800"
,
"#CA1D00"
]},{
level
:
3
,
colors
:[
"#FFD34A"
,
"#FFC300"
,
"#FFB637"
,
"#FF9400"
,
"#FF6C00"
,
"#EC5F33"
,
"#E52800"
,
"#CA1D00"
]}],
n
.
CUSTOM_EVENT
=
{
CLIP_ANI_END
:
"CLIP_ANI_END"
,
CLIP_COLLISION
:
"CLIP_COLLISION"
,
GAME_OVER
:
"GAME_OVER"
,
NEXT_LEVEL
:
"NEXT_LEVEL"
,
PASS_LEVEL
:
"PASS_LEVEL"
,
GAME_START
:
"GAME_START"
,
GAME_INIT
:
"GAME_INIT"
,
GAME_DESTROY
:
"GAME_DESTROY"
},
n
.
Config
=
{
maxLong
:
644
,
rotationSpeed
:
1
,
playSpeed
:
350
,
normalPropSpeed
:
250
,
bestPropSpeed
:
500
,
bestPropsNum
:
3
,
propsNum
:
2
,
countDowns
:[
30
,
30
,
30
],
propsMap
:[[
1
,
0
,
0
,
1
,
1
,
1
,
1
,
0
,
1
,
1
,
1
,
1
],[
1
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
1
]]},
cc
.
_RF
.
pop
()},{}],
GameScene
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"5798dhpwtNHQq2OXS4At/jG"
,
"GameScene"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__assign
||
function
(){
return
(
r
=
Object
.
assign
||
function
(
t
){
for
(
var
e
,
n
=
1
,
o
=
arguments
.
length
;
n
<
o
;
n
++
)
for
(
var
i
in
e
=
arguments
[
n
])
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
i
)
&&
(
t
[
i
]
=
e
[
i
]);
return
t
}).
apply
(
this
,
arguments
)},
a
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
},
c
=
this
&&
this
.
__spreadArrays
||
function
(){
for
(
var
t
=
0
,
e
=
0
,
n
=
arguments
.
length
;
e
<
n
;
e
++
)
t
+=
arguments
[
e
].
length
;
var
o
=
Array
(
t
),
i
=
0
;
for
(
e
=
0
;
e
<
n
;
e
++
)
for
(
var
r
=
arguments
[
e
],
a
=
0
,
c
=
r
.
length
;
a
<
c
;
a
++
,
i
++
)
o
[
i
]
=
r
[
a
];
return
o
};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
s
=
t
(
"./Components/Svga/Svga"
),
p
=
t
(
"./Components/Svga/SvgaEvent"
),
u
=
t
(
"./Config/GameConfig"
),
l
=
t
(
"./exportEvent"
),
h
=
t
(
"./utils"
),
f
=
cc
.
_decorator
,
d
=
f
.
ccclass
,
v
=
f
.
property
,
y
=
{
DEFAULT
:
"clipAni"
,
PLAY
:
"clipPlay"
,
STOP
:
"clipStop"
,
GAME_OVER
:
"gameOver"
},
g
=
function
(
t
){
function
e
(){
var
e
=
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
;
return
e
.
procItem
=
null
,
e
.
propItem
=
[],
e
.
bsetPropItem
=
null
,
e
.
actLevel
=
0
,
e
.
levelObjectives
=
0
,
e
.
actLevelInfo
=
null
,
e
.
starNum
=
0
,
e
.
countDown
=
0
,
e
.
isGameOver
=!
1
,
e
.
isStartGame
=!
1
,
e
.
clip
=
null
,
e
.
clipState
=
y
.
STOP
,
e
.
clipSpeed
=
u
.
Config
.
normalPropSpeed
,
e
.
clipTarget
=
null
,
e
.
surplusStar
=
u
.
Config
.
bestPropsNum
,
e
.
gameConfig
=
r
({},
u
.
Config
),
e
.
speedMultiplier
=
1
,
e
}
return
i
(
e
,
t
),
e
.
prototype
.
onLoad
=
function
(){
cc
.
director
.
getCollisionManager
().
enabled
=!
0
},
e
.
prototype
.
start
=
function
(){
this
.
clip
=
cc
.
find
(
"clipMask/clipWrp/clip"
,
this
.
node
),
this
.
addNodeEvent
()},
e
.
prototype
.
addNodeEvent
=
function
(){
var
t
,
e
=
this
;
cc
.
find
(
"gameBtn"
,
this
.
node
).
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
playGame
,
this
),
this
.
node
.
on
(
u
.
CUSTOM_EVENT
.
CLIP_ANI_END
,
this
.
onAnimCompleted
,
this
),
this
.
node
.
on
(
u
.
CUSTOM_EVENT
.
CLIP_COLLISION
,
this
.
onCollEnter
,
this
),
l
.
default
.
on
(
u
.
CUSTOM_EVENT
.
NEXT_LEVEL
,
this
.
nextLevel
,
this
),
l
.
default
.
on
(
u
.
CUSTOM_EVENT
.
GAME_START
,
this
.
startGame
,
this
),
l
.
default
.
on
(
u
.
CUSTOM_EVENT
.
GAME_INIT
,
function
(
t
){
var
n
=
t
.
detail
,
o
=
void
0
===
n
?{}:
n
;
e
.
resetConfig
(
o
),
e
.
refreshLevelInfo
(),
e
.
refreshStageProps
()},
this
),
l
.
default
.
on
(
u
.
CUSTOM_EVENT
.
GAME_DESTROY
,
function
(){
e
.
node
.
destroy
()},
this
);
var
n
=
null
===
(
t
=
null
===
window
||
void
0
===
window
?
void
0
:
window
.
location
)
||
void
0
===
t
?
void
0
:
t
.
href
,
o
=
h
.
getUrlParam
(
"testPanel"
),
i
=
cc
.
find
(
"test"
,
this
.
node
);
if
(
i
.
active
=
o
,
o
&&
((
null
==
n
?
void
0
:
n
.
includes
(
"duibadev"
))
||
(
null
==
n
?
void
0
:
n
.
includes
(
"duibatest"
)))
||
n
.
includes
(
"localhost"
)){
var
r
=
{
next
:
"nextLevel"
,
refreshProp
:
"refreshStageProps"
,
start
:
"testStartGame"
,
init
:
"testInit"
,
addSpeed
:
"addSpeeds"
};
i
.
children
.
forEach
(
function
(
t
){
var
n
=
null
==
e
?
void
0
:
e
[
r
[
t
.
name
]];
t
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
n
,
e
)})}},
e
.
prototype
.
testStartGame
=
function
(){
console
.
log
(
"
\
u6d4b
\
u8bd5"
),
l
.
default
.
fire
(
u
.
CUSTOM_EVENT
.
GAME_START
)},
e
.
prototype
.
testInit
=
function
(){
console
.
log
(
"
\
u6d4b
\
u8bd5
\
u521d
\
u59cb
\
u5316"
),
l
.
default
.
fire
(
u
.
CUSTOM_EVENT
.
GAME_INIT
,{
countDowns
:[
999
,
10
,
10
]})},
e
.
prototype
.
addSpeeds
=
function
(){
this
.
speedMultiplier
+=
1
,
cc
.
find
(
"clipMask/clipWrp"
,
this
.
node
).
getComponent
(
cc
.
Animation
).
getAnimationState
(
"clipRation"
).
speed
+=
1
},
e
.
prototype
.
startGame
=
function
(
t
){
var
e
=
this
;
t
.
detail
,
this
.
startGameCountAni
(
function
(){
e
.
isStartGame
=!
0
,
cc
.
find
(
"clipMask/clipWrp"
,
e
.
node
).
getComponent
(
cc
.
Animation
).
play
(),
e
.
schedule
(
e
.
startCd
,
1
)})},
e
.
prototype
.
startGameCountAni
=
function
(
t
){
var
e
=
cc
.
find
(
"countDown/cd"
,
this
.
node
),
n
=
cc
.
find
(
"countDown/cdBg"
,
this
.
node
);
e
.
parent
.
active
=!
0
,
n
.
opacity
=
150
,
e
.
on
(
p
.
SvgaEvent
.
END_FRAME
,
function
(){
null
==
t
||
t
(),
e
.
parent
.
active
=!
1
}),
e
.
getComponent
(
s
.
default
).
play
(
0
)},
e
.
prototype
.
resetConfig
=
function
(
t
){
void
0
===
t
&&
(
t
=
{}),
this
.
gameConfig
=
r
(
r
({},
u
.
Config
),
t
),
this
.
clipSpeed
=
this
.
gameConfig
.
normalPropSpeed
,
this
.
surplusStar
=
this
.
gameConfig
.
bestPropsNum
,
this
.
clip
.
getChildByName
(
"line"
).
height
=
this
.
gameConfig
.
maxLong
,
cc
.
find
(
"clipMask/clipWrp"
,
this
.
node
).
getComponent
(
cc
.
Animation
).
getAnimationState
(
"clipRation"
).
speed
=
this
.
gameConfig
.
rotationSpeed
,
this
.
isGameOver
=!
1
,
this
.
isStartGame
=!
1
,
this
.
setClipState
(
y
.
DEFAULT
),
this
.
clip
.
y
=-
41
},
e
.
prototype
.
onCollEnter
=
function
(
t
){
var
e
=
t
.
detail
.
other
;
this
.
clipTarget
=
e
.
node
,
this
.
clipSpeed
=
1
==
e
.
tag
?
this
.
gameConfig
.
bestPropSpeed
:
this
.
gameConfig
.
normalPropSpeed
,
this
.
setClipState
(
y
.
STOP
)},
e
.
prototype
.
setClipState
=
function
(
t
,
e
){
var
n
=
this
,
o
=
cc
.
find
(
"clipMask/clipWrp"
,
this
.
node
).
getComponent
(
cc
.
Animation
),
i
=
cc
.
find
(
"clipMask/clipWrp/clip"
,
this
.
node
).
getComponent
(
cc
.
Animation
),
r
=
cc
.
find
(
"clipMask/clipWrp/default"
,
this
.
node
);
switch
(
this
.
clipState
=
t
,
t
){
case
y
.
DEFAULT
:
o
.
resume
(),
r
.
active
=!
0
,
this
.
clip
.
active
=!
1
,
this
.
clipTarget
&&
(
1
==
this
.
clipTarget
.
getComponent
(
cc
.
Collider
).
tag
&&
this
.
setStarProc
(),
this
.
clipTarget
.
getComponent
(
"propMove"
).
die
(
function
(){
n
.
clipTarget
=
null
})),
0
==
this
.
surplusStar
&&
this
.
refreshStageProps
();
break
;
case
y
.
PLAY
:
case
y
.
STOP
:
o
.
pause
(),
this
.
clip
.
active
=!
0
,
r
.
active
=!
1
,
i
.
play
(
t
);
break
;
case
y
.
GAME_OVER
:
o
.
stop
(),
i
.
stop
()}
null
==
e
||
e
()},
e
.
prototype
.
playGame
=
function
(){
!
this
.
isGameOver
&&
this
.
isStartGame
&&
this
.
setClipState
(
y
.
PLAY
)},
e
.
prototype
.
gameOver
=
function
(){
this
.
isGameOver
=!
0
,
console
.
log
(
"gameOver"
),
this
.
setClipState
(
y
.
GAME_OVER
),
this
.
unschedule
(
this
.
startCd
),
l
.
default
.
fire
(
u
.
CUSTOM_EVENT
.
GAME_OVER
,{
score
:
this
.
starNum
,
level
:
this
.
actLevel
})},
e
.
prototype
.
setLable
=
function
(
t
,
e
){
cc
.
find
(
t
,
this
.
node
).
getComponent
(
cc
.
Label
).
string
=
e
+
""
},
e
.
prototype
.
startCd
=
function
(){
var
t
=
this
.
countDown
-
1
||
0
;
if
(
!
t
||
t
<=
0
)
return
this
.
setLable
(
"cdIcon/cd"
,
"0s"
),
this
.
gameOver
(),
void
this
.
unschedule
(
this
.
startCd
);
this
.
countDown
=
t
,
this
.
setLable
(
"cdIcon/cd"
,
this
.
countDown
+
"s"
)},
e
.
prototype
.
onDestroy
=
function
(){
this
.
unschedule
(
this
.
startCd
)},
e
.
prototype
.
refreshLevelInfo
=
function
(
t
){
void
0
===
t
&&
(
t
=
0
),
this
.
isGameOver
=!
1
,
this
.
actLevel
=
t
,
this
.
starNum
=
0
,
this
.
levelObjectives
=
u
.
LevelInfo
[
t
].
colors
.
length
,
this
.
actLevelInfo
=
u
.
LevelInfo
[
t
],
this
.
countDown
=
this
.
gameConfig
.
countDowns
[
t
]
||
0
,
this
.
setLable
(
"levelName"
,
"
\
u7b2c"
+
h
.
numToChinese
(
t
+
1
)
+
"
\
u5173"
),
this
.
setLable
(
"starIcon/starProc"
,
this
.
starNum
+
"/"
+
this
.
levelObjectives
),
this
.
updateGameProc
(),
this
.
unschedule
(
this
.
startCd
),
this
.
setLable
(
"cdIcon/cd"
,
this
.
countDown
+
"s"
)},
e
.
prototype
.
setStarProc
=
function
(){
var
t
=
cc
.
find
(
"procBg/proc"
,
this
.
node
),
e
=
this
.
starNum
;
if
(
this
.
surplusStar
--
,
!
(
e
>=
this
.
levelObjectives
)){
var
n
=
cc
.
instantiate
(
this
.
procItem
);
n
.
color
=
cc
.
color
(
this
.
actLevelInfo
.
colors
[
e
]),
n
.
setParent
(
t
),
this
.
starNum
++
,
this
.
setLable
(
"starIcon/starProc"
,
this
.
starNum
+
"/"
+
this
.
levelObjectives
),
this
.
starNum
>=
this
.
levelObjectives
&&
(
this
.
unschedule
(
this
.
startCd
),
l
.
default
.
fire
(
u
.
CUSTOM_EVENT
.
PASS_LEVEL
,{
score
:
this
.
starNum
,
level
:
this
.
actLevel
}))}},
e
.
prototype
.
nextLevel
=
function
(){
var
t
=
this
.
actLevel
+
1
;
this
.
unschedule
(
this
.
startCd
),
t
>=
u
.
LevelInfo
.
length
?
this
.
gameOver
():(
this
.
refreshLevelInfo
(
t
),
this
.
refreshStageProps
(),
this
.
schedule
(
this
.
startCd
,
1
))},
e
.
prototype
.
updateGameProc
=
function
(){
var
t
=
this
.
node
.
getChildByName
(
"procBg"
),
e
=
t
.
getChildByName
(
"proc"
),
n
=
this
.
levelObjectives
;
e
.
removeAllChildren
(),
t
.
width
=
39
*
n
+
12
+
1
*
(
n
-
1
),
e
.
width
=
39
*
n
+
1
*
(
n
-
1
),
t
.
x
=-
t
.
width
/
2
},
e
.
prototype
.
refreshStageProps
=
function
(){
this
.
surplusStar
=
this
.
gameConfig
.
bestPropsNum
;
for
(
var
t
=
cc
.
find
(
"gameStage"
,
this
.
node
),
e
=
t
.
children
,
n
=
Math
.
floor
(
h
.
randomNum
(
0
,
this
.
gameConfig
.
propsMap
.
length
)),
o
=
c
(
this
.
gameConfig
.
propsMap
[
n
]),
i
=
0
;
i
<
this
.
gameConfig
.
bestPropsNum
;
i
++
){
for
(
var
r
=
Math
.
floor
(
h
.
randomNum
(
0
,
o
.
length
));
1
!==
o
[
r
%
o
.
length
];)
r
++
;
o
[
r
%
o
.
length
]
=
2
}
var
a
=
[];
for
(
i
=
0
;
i
<
this
.
gameConfig
.
propsNum
;
i
++
)
a
.
push
.
apply
(
a
,
this
.
propItem
);
var
s
=
o
.
filter
(
function
(
t
){
return
1
==
t
}).
length
;
for
(
a
=
h
.
getRandomArrayElements
(
a
,
s
),
i
=
0
;
i
<
e
.
length
;
i
++
){
var
p
=
e
[
i
],
u
=
o
[
i
],
l
=
h
.
randomNum
(
0
,
90
).
toFixed
(
2
),
f
=
null
;
if
(
p
.
removeAllChildren
(),
1
==
u
){
var
d
=
cc
.
instantiate
(
a
.
pop
());
f
=
cc
.
instantiate
(
d
)}
else
{
if
(
2
!=
u
)
continue
;
f
=
cc
.
instantiate
(
this
.
bsetPropItem
)}
f
&&
(
f
.
angle
=
l
>
45
?
l
-
90
:
l
,
f
.
setParent
(
p
))}
t
.
getComponent
(
cc
.
Layout
).
horizontalDirection
=
h
.
getProbability
(
50
)?
cc
.
Layout
.
HorizontalDirection
.
LEFT_TO_RIGHT
:
cc
.
Layout
.
HorizontalDirection
.
RIGHT_TO_LEFT
},
e
.
prototype
.
update
=
function
(
t
){
var
e
;
if
(
!
this
.
isGameOver
&&
this
.
isStartGame
){
var
n
=
this
.
gameConfig
.
maxLong
-
41
;
if
(
this
.
clipState
==
y
.
PLAY
){
if
(
this
.
clip
.
y
<=-
n
)
return
void
this
.
setClipState
(
y
.
STOP
);
this
.
clip
.
y
-=
t
*
this
.
gameConfig
.
playSpeed
*
this
.
speedMultiplier
}
if
(
this
.
clipState
==
y
.
STOP
){
if
(
this
.
clip
.
y
>=-
41
)
return
this
.
clipSpeed
=
this
.
gameConfig
.
normalPropSpeed
,
void
this
.
setClipState
(
y
.
DEFAULT
);
if
(
this
.
clip
.
y
+=
t
*
this
.
clipSpeed
*
this
.
speedMultiplier
,
this
.
clipTarget
&&
(
null
===
(
e
=
this
.
clipTarget
)
||
void
0
===
e
?
void
0
:
e
.
parent
)){
var
o
=
this
.
clip
.
convertToWorldSpaceAR
(
cc
.
v2
(
0
,
-
133
)),
i
=
this
.
clipTarget
.
parent
.
convertToWorldSpaceAR
(
cc
.
v2
(
0
,
0
));
this
.
clipTarget
.
setPosition
(
o
.
x
-
i
.
x
,
o
.
y
-
i
.
y
)}}}},
a
([
v
({
type
:
cc
.
Prefab
,
displayName
:
"
\
u5355
\
u683c
\
u8fdb
\
u5ea6
\
u6761"
})],
e
.
prototype
,
"procItem"
,
void
0
),
a
([
v
({
type
:[
cc
.
Prefab
],
displayName
:
"
\
u821e
\
u53f0
\
u9053
\
u5177"
})],
e
.
prototype
,
"propItem"
,
void
0
),
a
([
v
({
type
:
cc
.
Prefab
,
displayName
:
"
\
u52a0
\
u5206
\
u9053
\
u5177"
})],
e
.
prototype
,
"bsetPropItem"
,
void
0
),
a
([
d
],
e
)}(
cc
.
Component
);
n
.
default
=
g
,
cc
.
_RF
.
pop
()},{
"./Components/Svga/Svga"
:
"Svga"
,
"./Components/Svga/SvgaEvent"
:
"SvgaEvent"
,
"./Config/GameConfig"
:
"GameConfig"
,
"./exportEvent"
:
"exportEvent"
,
"./utils"
:
"utils"
}],
ImgFixedSize
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"3ea067CJuhGxJmUsuZZ1Xje"
,
"ImgFixedSize"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
a
=
cc
.
_decorator
,
c
=
a
.
ccclass
,
s
=
a
.
property
,
p
=
a
.
menu
,
u
=
function
(
t
){
function
e
(){
var
e
=
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
;
return
e
.
_fixedSize
=
1
,
e
}
return
i
(
e
,
t
),
Object
.
defineProperty
(
e
.
prototype
,
"fixedSize"
,{
get
:
function
(){
return
this
.
_fixedSize
},
set
:
function
(
t
){
this
.
_fixedSize
=
t
,
this
.
onSizeChanged
()},
enumerable
:
!
1
,
configurable
:
!
0
}),
e
.
prototype
.
onLoad
=
function
(){
this
.
_fixedSize
=
this
.
fixedSize
,
this
.
node
.
on
(
cc
.
Node
.
EventType
.
SIZE_CHANGED
,
this
.
onSizeChanged
,
this
),
this
.
onSizeChanged
()},
e
.
prototype
.
onSizeChanged
=
function
(){
var
t
=
this
.
node
.
width
,
e
=
this
.
node
.
height
,
n
=
Math
.
max
(
t
,
e
);
this
.
node
.
scale
=
this
.
fixedSize
/
n
},
r
([
s
({
type
:
cc
.
Integer
,
tooltip
:
"
\
u56fa
\
u5b9a
\
u5c3a
\
u5bf8"
})],
e
.
prototype
,
"fixedSize"
,
null
),
r
([
s
({
type
:
cc
.
Integer
,
tooltip
:
"
\
u56fa
\
u5b9a
\
u5c3a
\
u5bf8"
})],
e
.
prototype
,
"_fixedSize"
,
void
0
),
r
([
c
,
p
(
"framework/ImgFixedSize"
)],
e
)}(
cc
.
Component
);
n
.
default
=
u
,
cc
.
_RF
.
pop
()},{}],
Matrix
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"ac135di5uZFfaPtJI9vcajQ"
,
"Matrix"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
Matrix
=
void
0
;
var
o
=
Math
.
PI
,
i
=
o
>>
1
,
r
=
o
+
i
,
a
=
o
/
180
,
c
=
180
/
o
;
function
s
(
t
){
switch
(
t
){
case
i
:
case
-
r
:
return
0
;
case
o
:
case
-
o
:
return
-
1
;
case
r
:
case
-
i
:
return
0
;
default
:
return
Math
.
cos
(
t
)}}
function
p
(
t
){
switch
(
t
){
case
i
:
case
-
r
:
return
1
;
case
o
:
case
-
o
:
return
0
;
case
r
:
case
-
i
:
return
-
1
;
default
:
return
Math
.
sin
(
t
)}}
var
u
=
function
(){
function
t
(
t
,
e
,
n
,
o
,
i
,
r
){
void
0
===
t
&&
(
t
=
1
),
void
0
===
e
&&
(
e
=
0
),
void
0
===
n
&&
(
n
=
0
),
void
0
===
o
&&
(
o
=
1
),
void
0
===
i
&&
(
i
=
0
),
void
0
===
r
&&
(
r
=
0
),
this
.
a
=
1
,
this
.
b
=
0
,
this
.
c
=
0
,
this
.
d
=
1
,
this
.
tx
=
0
,
this
.
ty
=
0
,
this
.
array
=
null
,
this
.
prepend
=
function
(
t
){
var
e
=
this
,
n
=
t
.
a
,
o
=
t
.
b
,
i
=
t
.
c
,
r
=
t
.
d
,
a
=
t
.
tx
,
c
=
t
.
ty
,
s
=
e
.
a
,
p
=
e
.
c
,
u
=
e
.
tx
;
return
e
.
a
=
n
*
s
+
i
*
e
.
b
,
e
.
b
=
o
*
s
+
r
*
e
.
b
,
e
.
c
=
n
*
p
+
i
*
e
.
d
,
e
.
d
=
o
*
p
+
r
*
e
.
d
,
e
.
tx
=
n
*
u
+
i
*
e
.
ty
+
a
,
e
.
ty
=
o
*
u
+
r
*
e
.
ty
+
c
,
this
};
var
a
=
this
;
a
.
a
=
t
,
a
.
b
=
e
,
a
.
c
=
n
,
a
.
d
=
o
,
a
.
tx
=
i
,
a
.
ty
=
r
}
return
t
.
prototype
.
clone
=
function
(){
var
e
=
this
;
return
new
t
(
e
.
a
,
e
.
b
,
e
.
c
,
e
.
d
,
e
.
tx
,
e
.
ty
)},
t
.
prototype
.
copy
=
function
(
t
){
return
this
.
a
=
t
.
a
,
this
.
b
=
t
.
b
,
this
.
c
=
t
.
c
,
this
.
d
=
t
.
d
,
this
.
tx
=
t
.
tx
,
this
.
ty
=
t
.
ty
,
this
},
t
.
prototype
.
transformVec2
=
function
(
t
,
e
,
n
){
void
0
===
n
&&
(
n
=
null
);
var
o
=
this
;
return
n
||
(
n
=
new
cc
.
Vec2
),
n
.
x
=
t
*
o
.
a
+
e
*
o
.
c
+
o
.
tx
,
n
.
y
=
t
*
o
.
b
+
e
*
o
.
d
+
o
.
ty
,
n
},
t
.
prototype
.
transformVec2Inverse
=
function
(
t
,
e
,
n
){
void
0
===
n
&&
(
n
=
null
),
n
||
(
n
=
new
cc
.
Vec2
);
var
o
=
1
/
(
this
.
a
*
this
.
d
+
this
.
c
*-
this
.
b
);
return
n
.
x
=
this
.
d
*
o
*
t
+-
this
.
c
*
o
*
e
+
(
this
.
ty
*
this
.
c
-
this
.
tx
*
this
.
d
)
*
o
,
n
.
y
=
this
.
a
*
o
*
e
+-
this
.
b
*
o
*
t
+
(
-
this
.
ty
*
this
.
a
+
this
.
tx
*
this
.
b
)
*
o
,
n
},
t
.
prototype
.
setFrom
=
function
(
t
){
var
e
=
this
;
e
.
a
=
t
.
a
,
e
.
b
=
t
.
b
,
e
.
c
=
t
.
c
,
e
.
d
=
t
.
d
,
e
.
tx
=
t
.
tx
,
e
.
ty
=
t
.
ty
},
t
.
prototype
.
identity
=
function
(){
var
t
=
this
;
t
.
a
=
t
.
d
=
1
,
t
.
b
=
t
.
c
=
t
.
tx
=
t
.
ty
=
0
},
t
.
prototype
.
invert
=
function
(){
var
t
=
this
,
e
=
t
.
a
,
n
=
t
.
b
,
o
=
t
.
c
,
i
=
t
.
d
,
r
=
t
.
tx
,
a
=
t
.
ty
;
if
(
0
==
n
&&
0
==
o
)
return
0
==
e
||
0
==
i
?
t
.
a
=
t
.
d
=
t
.
tx
=
t
.
ty
=
0
:(
e
=
t
.
a
=
1
/
e
,
i
=
t
.
d
=
1
/
i
,
t
.
tx
=-
e
*
r
,
t
.
ty
=-
i
*
a
),
t
;
var
c
=
e
*
i
-
n
*
o
;
if
(
0
==
c
)
return
t
.
identity
(),
t
;
c
=
1
/
c
;
var
s
=
t
.
a
=
i
*
c
;
return
n
=
t
.
b
=-
n
*
c
,
o
=
t
.
c
=-
o
*
c
,
i
=
t
.
d
=
e
*
c
,
t
.
tx
=-
(
s
*
r
+
o
*
a
),
t
.
ty
=-
(
n
*
r
+
i
*
a
),
t
},
t
.
prototype
.
createBox
=
function
(
t
,
e
,
n
,
o
,
i
,
r
,
c
,
u
,
l
){
var
h
=
this
;
if
(
0
!=
i
?
r
=
c
=
i
%
360
:(
r
%=
360
,
c
%=
360
),
0
==
r
&&
0
==
c
)
h
.
a
=
n
,
h
.
b
=
h
.
c
=
0
,
h
.
d
=
o
;
else
{
c
*=
a
;
var
f
=
s
(
r
*=
a
),
d
=
p
(
r
);
r
==
c
?(
h
.
a
=
f
*
n
,
h
.
b
=
d
*
n
):(
h
.
a
=
s
(
c
)
*
n
,
h
.
b
=
p
(
c
)
*
n
),
h
.
c
=-
d
*
o
,
h
.
d
=
f
*
o
}
h
.
tx
=
t
+
u
-
(
u
*
h
.
a
+
l
*
h
.
c
),
h
.
ty
=
e
+
l
-
(
u
*
h
.
b
+
l
*
h
.
d
)},
t
.
prototype
.
append
=
function
(
t
){
var
e
=
this
.
a
,
n
=
this
.
b
,
o
=
this
.
c
,
i
=
this
.
d
;
this
.
a
=
t
.
a
*
e
+
t
.
b
*
o
,
this
.
b
=
t
.
a
*
n
+
t
.
b
*
i
,
this
.
c
=
t
.
c
*
e
+
t
.
d
*
o
,
this
.
d
=
t
.
c
*
n
+
t
.
d
*
i
,
this
.
tx
=
t
.
tx
*
e
+
t
.
ty
*
o
+
this
.
tx
,
this
.
ty
=
t
.
tx
*
n
+
t
.
ty
*
i
+
this
.
ty
},
t
.
isEqual
=
function
(
t
,
e
){
return
t
.
tx
==
e
.
tx
&&
t
.
ty
==
e
.
ty
&&
t
.
a
==
e
.
a
&&
t
.
b
==
e
.
b
&&
t
.
c
==
e
.
c
&&
t
.
d
==
e
.
d
},
t
.
prototype
.
concat
=
function
(
t
){
var
e
=
this
,
n
=
e
.
a
,
o
=
e
.
b
,
i
=
e
.
c
,
r
=
e
.
d
,
a
=
e
.
tx
,
c
=
e
.
ty
,
s
=
t
.
a
,
p
=
t
.
b
,
u
=
t
.
c
,
l
=
t
.
d
,
h
=
t
.
tx
,
f
=
t
.
ty
;
e
.
a
=
n
*
s
+
o
*
u
,
e
.
b
=
n
*
p
+
o
*
l
,
e
.
c
=
i
*
s
+
r
*
u
,
e
.
d
=
i
*
p
+
r
*
l
,
e
.
tx
=
a
*
s
+
c
*
u
+
h
,
e
.
ty
=
a
*
p
+
c
*
l
+
f
},
t
.
prototype
.
rotate
=
function
(
t
){
var
e
=
this
,
n
=
Math
.
sin
(
t
),
o
=
Math
.
cos
(
t
),
i
=
e
.
a
,
r
=
e
.
b
,
a
=
e
.
c
,
c
=
e
.
d
,
s
=
e
.
tx
,
p
=
e
.
ty
;
e
.
a
=
i
*
o
-
r
*
n
,
e
.
b
=
i
*
n
+
r
*
o
,
e
.
c
=
a
*
o
-
c
*
n
,
e
.
d
=
a
*
n
+
c
*
o
,
e
.
tx
=
s
*
o
-
p
*
n
,
e
.
ty
=
s
*
n
+
p
*
o
},
t
.
prototype
.
scale
=
function
(
t
,
e
){
var
n
=
this
;
n
.
a
*=
t
,
n
.
d
*=
e
,
n
.
c
*=
t
,
n
.
b
*=
e
,
n
.
tx
*=
t
,
n
.
ty
*=
e
},
t
.
prototype
.
translate
=
function
(
t
,
e
){
this
.
tx
+=
t
,
this
.
ty
+=
e
},
t
.
prototype
.
set
=
function
(
t
,
e
,
n
,
o
,
i
,
r
){
return
this
.
a
=
t
,
this
.
b
=
e
,
this
.
c
=
n
,
this
.
d
=
o
,
this
.
tx
=
i
,
this
.
ty
=
r
,
this
},
t
.
prototype
.
getRotation
=
function
(){
return
Math
.
round
(
Math
.
atan2
(
this
.
b
,
this
.
a
)
*
c
)},
t
.
prototype
.
toArray
=
function
(
t
,
e
){
void
0
===
t
&&
(
t
=!
1
),
this
.
array
||
(
this
.
array
=
new
Float32Array
(
9
));
var
n
=
e
||
this
.
array
;
return
t
?(
n
[
0
]
=
this
.
a
,
n
[
1
]
=
this
.
b
,
n
[
2
]
=
0
,
n
[
3
]
=
this
.
c
,
n
[
4
]
=
this
.
d
,
n
[
5
]
=
0
,
n
[
6
]
=
this
.
tx
,
n
[
7
]
=
this
.
ty
,
n
[
8
]
=
1
):(
n
[
0
]
=
this
.
a
,
n
[
1
]
=
this
.
c
,
n
[
2
]
=
this
.
tx
,
n
[
3
]
=
this
.
b
,
n
[
4
]
=
this
.
d
,
n
[
5
]
=
this
.
ty
,
n
[
6
]
=
0
,
n
[
7
]
=
0
,
n
[
8
]
=
1
),
n
},
t
.
prototype
.
decompose
=
function
(){
var
t
=
{
rotation
:
0
,
skew
:
cc
.
v2
(),
scale
:
cc
.
v2
(),
position
:
cc
.
v2
()},
e
=
this
.
a
,
n
=
this
.
b
,
o
=
this
.
c
,
i
=
this
.
d
,
r
=-
Math
.
atan2
(
-
o
,
i
),
a
=
Math
.
atan2
(
n
,
e
),
c
=
Math
.
abs
(
r
+
a
);
return
c
<
1
e
-
5
||
Math
.
abs
(
2
*
Math
.
PI
-
c
)
<
1
e
-
5
?(
t
.
rotation
=
a
,
e
<
0
&&
i
>=
0
&&
(
t
.
rotation
+=
t
.
rotation
<=
0
?
Math
.
PI
:
-
Math
.
PI
),
t
.
skew
.
x
=
t
.
skew
.
y
=
0
):(
t
.
rotation
=
0
,
t
.
skew
.
x
=
r
,
t
.
skew
.
y
=
a
),
t
.
scale
.
x
=
Math
.
sqrt
(
e
*
e
+
n
*
n
),
t
.
scale
.
y
=
Math
.
sqrt
(
o
*
o
+
i
*
i
),
t
.
position
.
x
=
this
.
tx
,
t
.
position
.
y
=
this
.
ty
,
t
},
Object
.
defineProperty
(
t
,
"IDENTITY"
,{
get
:
function
(){
return
new
t
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
t
,
"TEMP_MATRIX"
,{
get
:
function
(){
return
new
t
},
enumerable
:
!
1
,
configurable
:
!
0
}),
t
.
prototype
.
destroy
=
function
(){},
t
}();
n
.
Matrix
=
u
,
cc
.
_RF
.
pop
()},{}],
SvgaEvent
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"07040GmslJHs7J1pUxL6Kr7"
,
"SvgaEvent"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
SvgaEvent
=
void
0
,(
n
.
SvgaEvent
||
(
n
.
SvgaEvent
=
{})).
END_FRAME
=
"end_frame"
,
cc
.
_RF
.
pop
()},{}],
SvgaTrack
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"5eefe9b92lAU4GY+nBw9mG4"
,
"SvgaTrack"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
SvgaTrack
=
void
0
;
var
o
=
function
(){
function
t
(
t
,
e
){
this
.
node
=
t
,
this
.
frames
=
e
}
return
t
.
prototype
.
setValue
=
function
(
t
){
var
e
=
this
.
node
,
n
=
this
.
frames
,
o
=
n
[
t
=
Math
.
round
(
cc
.
misc
.
clampf
(
t
,
0
,
n
.
length
-
1
))],
i
=
o
.
alpha
,
r
=
o
.
transform
;
if
(
o
.
maskPath
,
i
<
.
05
)
e
.
opacity
=
0
;
else
{
e
.
opacity
=
255
*
i
;
var
a
=
r
.
a
,
c
=
r
.
b
,
s
=
r
.
c
,
p
=
r
.
d
,
u
=
r
.
tx
,
l
=
r
.
ty
,
h
=
e
.
_matrix
,
f
=
e
.
_trs
,
d
=
h
.
m
;
d
[
0
]
=
a
,
d
[
1
]
=
c
,
d
[
4
]
=-
s
,
d
[
5
]
=-
p
,
d
[
6
]
=-
d
[
6
],
d
[
7
]
=-
d
[
7
],
f
[
0
]
=
u
,
f
[
1
]
=
l
,
e
.
_renderFlag
|=
cc
.
RenderFlow
.
FLAG_WORLD_TRANSFORM
}},
t
.
prototype
.
resetValue
=
function
(){
this
.
node
.
_renderFlag
&=~
cc
.
RenderFlow
.
FLAG_LOCAL_TRANSFORM
,
this
.
setValue
(
0
)},
t
.
prototype
.
destroy
=
function
(){
this
.
node
=
null
},
t
}();
n
.
SvgaTrack
=
o
,
cc
.
_RF
.
pop
()},{}],
Svga
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"7c5ffhlHDpBpoDQ8wfKN7pu"
,
"Svga"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
},
a
=
this
&&
this
.
__awaiter
||
function
(
t
,
e
,
n
,
o
){
return
new
(
n
||
(
n
=
Promise
))(
function
(
i
,
r
){
function
a
(
t
){
try
{
s
(
o
.
next
(
t
))}
catch
(
e
){
r
(
e
)}}
function
c
(
t
){
try
{
s
(
o
.
throw
(
t
))}
catch
(
e
){
r
(
e
)}}
function
s
(
t
){
var
e
;
t
.
done
?
i
(
t
.
value
):(
e
=
t
.
value
,
e
instanceof
n
?
e
:
new
n
(
function
(
t
){
t
(
e
)})).
then
(
a
,
c
)}
s
((
o
=
o
.
apply
(
t
,
e
||
[])).
next
())})},
c
=
this
&&
this
.
__generator
||
function
(
t
,
e
){
var
n
,
o
,
i
,
r
,
a
=
{
label
:
0
,
sent
:
function
(){
if
(
1
&
i
[
0
])
throw
i
[
1
];
return
i
[
1
]},
trys
:[],
ops
:[]};
return
r
=
{
next
:
c
(
0
),
throw
:
c
(
1
),
return
:
c
(
2
)},
"function"
==
typeof
Symbol
&&
(
r
[
Symbol
.
iterator
]
=
function
(){
return
this
}),
r
;
function
c
(
t
){
return
function
(
e
){
return
s
([
t
,
e
])}}
function
s
(
r
){
if
(
n
)
throw
new
TypeError
(
"Generator is already executing."
);
for
(;
a
;)
try
{
if
(
n
=
1
,
o
&&
(
i
=
2
&
r
[
0
]?
o
.
return
:
r
[
0
]?
o
.
throw
||
((
i
=
o
.
return
)
&&
i
.
call
(
o
),
0
):
o
.
next
)
&&!
(
i
=
i
.
call
(
o
,
r
[
1
])).
done
)
return
i
;
switch
(
o
=
0
,
i
&&
(
r
=
[
2
&
r
[
0
],
i
.
value
]),
r
[
0
]){
case
0
:
case
1
:
i
=
r
;
break
;
case
4
:
return
a
.
label
++
,{
value
:
r
[
1
],
done
:
!
1
};
case
5
:
a
.
label
++
,
o
=
r
[
1
],
r
=
[
0
];
continue
;
case
7
:
r
=
a
.
ops
.
pop
(),
a
.
trys
.
pop
();
continue
;
default
:
if
(
!
(
i
=
(
i
=
a
.
trys
).
length
>
0
&&
i
[
i
.
length
-
1
])
&&
(
6
===
r
[
0
]
||
2
===
r
[
0
])){
a
=
0
;
continue
}
if
(
3
===
r
[
0
]
&&
(
!
i
||
r
[
1
]
>
i
[
0
]
&&
r
[
1
]
<
i
[
3
])){
a
.
label
=
r
[
1
];
break
}
if
(
6
===
r
[
0
]
&&
a
.
label
<
i
[
1
]){
a
.
label
=
i
[
1
],
i
=
r
;
break
}
if
(
i
&&
a
.
label
<
i
[
2
]){
a
.
label
=
i
[
2
],
a
.
ops
.
push
(
r
);
break
}
i
[
2
]
&&
a
.
ops
.
pop
(),
a
.
trys
.
pop
();
continue
}
r
=
e
.
call
(
t
,
a
)}
catch
(
c
){
r
=
[
6
,
c
],
o
=
0
}
finally
{
n
=
i
=
0
}
if
(
5
&
r
[
0
])
throw
r
[
1
];
return
{
value
:
r
[
0
]?
r
[
1
]:
void
0
,
done
:
!
0
}}};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
s
=
t
(
"./SvgaTrack"
),
p
=
cc
.
_decorator
.
executeInEditMode
,
u
=
cc
.
_decorator
.
playOnFocus
,
l
=
t
(
"./SvgaEvent"
),
h
=
t
(
"./loadSvga"
),
f
=
cc
.
_decorator
.
menu
,
d
=
cc
.
_decorator
.
disallowMultiple
,
v
=
cc
.
_decorator
,
y
=
v
.
ccclass
,
g
=
v
.
property
,
_
=
function
(
t
){
function
e
(){
var
e
=
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
;
return
e
.
edit_update
=!
1
,
e
.
aniNode
=
null
,
e
.
_svga
=
null
,
e
.
tracks
=
[],
e
.
isPlaying
=!
1
,
e
.
vmData
=
null
,
e
.
autoPlay
=!
0
,
e
.
_loop
=!
1
,
e
.
_totalFrames
=
0
,
e
.
_frameTime
=
0
,
e
.
_fps
=
0
,
e
.
_curTime
=
0
,
e
.
_curFrame
=
0
,
e
}
return
i
(
e
,
t
),
e
.
prototype
.
onFocusInEditor
=
function
(){
this
.
edit_update
=!
0
,
this
.
play
(
0
)},
e
.
prototype
.
onLostFocusInEditor
=
function
(){
this
.
edit_update
=!
1
},
e
.
prototype
.
resetInEditor
=
function
(){
return
a
(
this
,
void
0
,
void
0
,
function
(){
return
c
(
this
,
function
(
t
){
switch
(
t
.
label
){
case
0
:
return
[
4
,
this
.
_load
()];
case
1
:
return
t
.
sent
(),
this
.
edit_update
=!
0
,
this
.
play
(
0
),[
2
]}})})},
e
.
prototype
.
onEnable
=
function
(){
this
.
play
(
0
)},
Object
.
defineProperty
(
e
.
prototype
,
"svga"
,{
get
:
function
(){
return
this
.
_svga
},
set
:
function
(
t
){
var
e
=
this
;
t
!==
this
.
_svga
&&
(
this
.
_svga
=
t
,
this
.
_load
().
then
(
function
(){
e
.
play
(
0
)}))},
enumerable
:
!
1
,
configurable
:
!
0
}),
e
.
prototype
.
onLoad
=
function
(){
return
a
(
this
,
void
0
,
void
0
,
function
(){
return
c
(
this
,
function
(
t
){
switch
(
t
.
label
){
case
0
:
return
this
.
aniNode
=
this
.
node
.
getChildByName
(
"aniNode"
),
this
.
aniNode
||
(
this
.
aniNode
=
new
cc
.
Node
(
"aniNode"
),
this
.
aniNode
.
scaleY
=-
1
,
this
.
node
.
addChild
(
this
.
aniNode
)),[
4
,
this
.
_load
()];
case
1
:
return
t
.
sent
(),
this
.
autoPlay
&&
this
.
play
(
0
),[
2
]}})})},
e
.
prototype
.
start
=
function
(){},
e
.
prototype
.
play
=
function
(
t
){
void
0
===
t
&&
(
t
=
0
),
this
.
curFrame
=
t
,
this
.
isPlaying
=!
0
},
e
.
prototype
.
stop
=
function
(
t
){
void
0
===
t
&&
(
t
=!
1
),
t
&&
(
this
.
curFrame
=
0
),
this
.
isPlaying
=!
1
},
Object
.
defineProperty
(
e
.
prototype
,
"loop"
,{
get
:
function
(){
return
this
.
_loop
},
set
:
function
(
t
){
this
.
_loop
=
t
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"totalTime"
,{
get
:
function
(){
return
this
.
_totalFrames
*
(
1
/
this
.
fps
)
||
0
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"totalFrames"
,{
get
:
function
(){
return
this
.
_totalFrames
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"fps"
,{
get
:
function
(){
var
t
;
return
this
.
_fps
||
(
null
===
(
t
=
this
.
vmData
)
||
void
0
===
t
?
void
0
:
t
.
FPS
)
||
0
},
set
:
function
(
t
){
this
.
_fps
=
t
,
this
.
_frameTime
=
1
/
t
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"curTime"
,{
get
:
function
(){
return
this
.
_curTime
},
set
:
function
(
t
){
this
.
_curTime
=
t
,
this
.
_curFrame
=
t
*
this
.
fps
},
enumerable
:
!
1
,
configurable
:
!
0
}),
Object
.
defineProperty
(
e
.
prototype
,
"curFrame"
,{
get
:
function
(){
return
this
.
_curFrame
},
set
:
function
(
t
){
this
.
_curFrame
=
t
,
this
.
_curTime
=
t
/
this
.
fps
},
enumerable
:
!
1
,
configurable
:
!
0
}),
e
.
prototype
.
update
=
function
(
t
){
var
e
=
this
;
this
.
isPlaying
&&
(
this
.
curTime
+=
t
,
this
.
_curFrame
>
this
.
totalFrames
&&
(
this
.
node
.
emit
(
l
.
SvgaEvent
.
END_FRAME
),
this
.
loop
?
this
.
curTime
=
(
this
.
_curFrame
-
this
.
totalFrames
)
*
this
.
_frameTime
:
this
.
stop
(
!
0
)),
this
.
tracks
.
forEach
(
function
(
t
){
t
.
setValue
(
e
.
_curFrame
)}))},
e
.
prototype
.
onDestroy
=
function
(){
for
(
var
t
=
0
;
t
<
this
.
tracks
.
length
;
t
++
)
this
.
tracks
[
t
].
destroy
();
this
.
tracks
=
[]},
e
.
prototype
.
_load
=
function
(){
return
a
(
this
,
void
0
,
void
0
,
function
(){
var
t
=
this
;
return
c
(
this
,
function
(){
return
this
.
svga
?(
this
.
aniNode
.
removeAllChildren
(
!
0
),[
2
,
new
Promise
(
function
(
e
){
return
a
(
t
,
void
0
,
void
0
,
function
(){
var
t
,
n
,
o
,
i
,
r
,
p
,
u
,
l
,
f
,
d
,
v
,
y
,
g
,
_
,
m
,
b
,
S
=
this
;
return
c
(
this
,
function
(
C
){
switch
(
C
.
label
){
case
0
:
return
[
4
,
h
.
loadSvga
(
this
.
svga
)];
case
1
:
for
(
d
in
(
t
=
C
.
sent
()).
textures
=
{},
this
.
vmData
=
t
,
n
=
t
.
FPS
,
o
=
t
.
videoSize
,
i
=
t
.
images
,
r
=
t
.
sprites
,
p
=
t
.
textures
,
u
=
t
.
frames
,
this
.
fps
||
(
this
.
fps
=
n
),
this
.
_totalFrames
=
u
,
this
.
node
.
setContentSize
(
o
.
width
,
o
.
height
),
this
.
aniNode
.
setPosition
(
-
o
.
width
/
2
,
o
.
height
/
2
),
l
=
[],
f
=
function
(
t
){
var
e
=
i
[
t
];
0
!==
e
.
indexOf
(
"iVBO"
)
&&
0
!==
e
.
indexOf
(
"/9j/2w"
)
||
(
e
=
"data:image/png;base64,"
+
e
),
l
.
push
(
new
Promise
(
function
(
n
){
return
a
(
S
,
void
0
,
void
0
,
function
(){
var
o
,
i
;
return
c
(
this
,
function
(
r
){
switch
(
r
.
label
){
case
0
:
return
[
4
,
h
.
createImage
(
e
)];
case
1
:
return
o
=
r
.
sent
(),(
i
=
new
cc
.
Texture2D
).
initWithElement
(
o
),
p
[
t
]
=
new
cc
.
SpriteFrame
(
i
),
n
(),[
2
]}})})}))},
i
)
f
(
d
);
return
[
4
,
Promise
.
all
(
l
)];
case
2
:
for
(
C
.
sent
(),
v
=
0
;
v
<
r
.
length
;
v
++
){
if
(
y
=
r
[
v
],
g
=
y
.
imageKey
,
_
=
y
.
frames
,
!
g
)
return
[
2
];(
m
=
new
cc
.
Node
(
g
)).
setAnchorPoint
(
0
,
1
),
this
.
aniNode
.
addChild
(
m
),
m
.
addComponent
(
cc
.
Sprite
).
spriteFrame
=
p
[
g
],(
b
=
new
s
.
SvgaTrack
(
m
,
_
)).
resetValue
(),
this
.
tracks
.
push
(
b
)}
return
e
(),[
2
]}})})})]):[
2
]})})},
r
([
g
(
cc
.
Asset
)],
e
.
prototype
,
"_svga"
,
void
0
),
r
([
g
(
cc
.
Asset
)],
e
.
prototype
,
"svga"
,
null
),
r
([
g
({
tooltip
:
"
\
u662f
\
u5426
\
u81ea
\
u52a8
\
u64ad
\
u653e"
})],
e
.
prototype
,
"autoPlay"
,
void
0
),
r
([
g
],
e
.
prototype
,
"_loop"
,
void
0
),
r
([
g
({
tooltip
:
"
\
u662f
\
u5426
\
u5faa
\
u73af"
})],
e
.
prototype
,
"loop"
,
null
),
r
([
g
],
e
.
prototype
,
"_fps"
,
void
0
),
r
([
g
],
e
.
prototype
,
"fps"
,
null
),
r
([
y
,
p
,
d
,
u
,
f
(
"
\
u81ea
\
u5b9a
\
u4e49
\
u7ec4
\
u4ef6/Svga"
)],
e
)}(
cc
.
Component
);
n
.
default
=
_
,
cc
.
_RF
.
pop
()},{
"./SvgaEvent"
:
"SvgaEvent"
,
"./SvgaTrack"
:
"SvgaTrack"
,
"./loadSvga"
:
"loadSvga"
}],
exportEvent
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"d252b/Dmr1HLLC3k85LvdL5"
,
"exportEvent"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
EventCenterClass
=
void
0
;
var
o
=
function
(
t
,
e
,
n
){
this
.
type
=
t
,
this
.
target
=
e
,
this
.
detail
=
n
,
this
.
timeStamp
=+
new
Date
},
i
=
function
(){
function
t
(){
this
.
_listeners
=
{}}
return
t
.
prototype
.
on
=
function
(
t
,
e
,
n
,
o
){
for
(
var
i
,
r
=
(
i
=
this
.
_listeners
=
this
.
_listeners
||
{})[
t
]
=
i
[
t
]
||
[],
a
=
0
,
c
=
r
.
length
;
a
<
c
;
a
++
)
if
(
r
[
a
].
listener
===
e
)
return
;
return
r
.
push
({
listener
:
e
,
context
:
n
,
once
:
o
}),
this
},
t
.
prototype
.
off
=
function
(
t
,
e
){
var
n
;
if
(
n
=
this
.
_listeners
=
this
.
_listeners
||
{},
0
==
arguments
.
length
)
return
n
=
null
,
this
;
var
o
=
n
&&
n
[
t
];
if
(
o
){
if
(
1
==
arguments
.
length
)
return
delete
n
[
t
],
this
;
for
(
var
i
=
0
,
r
=
o
.
length
;
i
<
r
;
i
++
){
var
a
=
o
[
i
];
if
(
a
.
listener
===
e
){
o
.
splice
(
i
,
1
),
0
===
o
.
length
&&
delete
n
[
t
];
break
}}}
return
this
},
t
.
prototype
.
fire
=
function
(
t
,
e
){
var
n
,
i
;
"string"
==
typeof
t
?
i
=
t
:(
n
=
t
,
i
=
t
.
type
);
var
r
=
this
.
_listeners
;
if
(
!
r
)
return
!
1
;
var
a
=
r
[
i
];
if
(
a
){
var
c
=
a
.
slice
(
0
);
n
=
n
||
new
o
(
i
,
this
,
e
);
for
(
var
s
=
0
;
s
<
c
.
length
;
s
++
){
var
p
=
c
[
s
];
if
(
p
.
listener
.
call
(
p
.
context
,
n
),
p
.
once
){
var
u
=
a
.
indexOf
(
p
);
u
>-
1
&&
a
.
splice
(
u
,
1
)}}
return
0
==
a
.
length
&&
delete
r
[
i
],
!
0
}
return
!
1
},
t
}();
n
.
EventCenterClass
=
i
;
var
r
=
new
i
;
cc
.
EventBus
=
r
,
n
.
default
=
r
,
cc
.
_RF
.
pop
()},{}],
interface
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"dbeb7x/ykZC14tBqxOW9gtp"
,
"interface"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
cc
.
_RF
.
pop
()},{}],
loadSvga
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"d0e08EVP/pFhJXdUpznXvD+"
,
"loadSvga"
),
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
createImage
=
n
.
ImgCache
=
n
.
loadSvga
=
n
.
SvgaCache
=
void
0
,
n
.
SvgaCache
=
{},
cc
.
assetManager
.
downloader
.
register
(
".svga"
,
function
(
t
,
e
,
n
){
cc
.
assetManager
.
downloader
.
downloadFile
(
t
,{
responseType
:
"arraybuffer"
},
n
)}),
n
.
loadSvga
=
function
(
t
){
return
new
Promise
(
function
(
e
){
var
o
=
""
;
t
instanceof
cc
.
Asset
?(
o
=
t
.
_uuid
,
t
=
t
.
_nativeAsset
):
o
=
t
,
n
.
SvgaCache
[
o
]?
e
(
n
.
SvgaCache
[
o
]):
SvgaParser
.
loadSvga
(
t
,
function
(
t
){
n
.
SvgaCache
[
o
]
=
t
,
e
(
t
)})})},
n
.
ImgCache
=
{},
n
.
createImage
=
function
(
t
){
return
new
Promise
(
function
(
e
){
if
(
n
.
ImgCache
[
t
])
e
(
n
.
ImgCache
[
t
]);
else
{
var
o
=
new
Image
;
o
.
onload
=
function
(){
n
.
ImgCache
[
t
]
=
o
,
e
(
o
)},
o
.
src
=
t
}})},
cc
.
_RF
.
pop
()},{}],
propMove
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"a4cebApRXhOpYXmhf5gIeC3"
,
"propMove"
);
var
o
,
i
=
this
&&
this
.
__extends
||
(
o
=
function
(
t
,
e
){
return
(
o
=
Object
.
setPrototypeOf
||
{
__proto__
:[]}
instanceof
Array
&&
function
(
t
,
e
){
t
.
__proto__
=
e
}
||
function
(
t
,
e
){
for
(
var
n
in
e
)
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)
&&
(
t
[
n
]
=
e
[
n
])})(
t
,
e
)},
function
(
t
,
e
){
function
n
(){
this
.
constructor
=
t
}
o
(
t
,
e
),
t
.
prototype
=
null
===
e
?
Object
.
create
(
e
):(
n
.
prototype
=
e
.
prototype
,
new
n
)}),
r
=
this
&&
this
.
__decorate
||
function
(
t
,
e
,
n
,
o
){
var
i
,
r
=
arguments
.
length
,
a
=
r
<
3
?
e
:
null
===
o
?
o
=
Object
.
getOwnPropertyDescriptor
(
e
,
n
):
o
;
if
(
"object"
==
typeof
Reflect
&&
"function"
==
typeof
Reflect
.
decorate
)
a
=
Reflect
.
decorate
(
t
,
e
,
n
,
o
);
else
for
(
var
c
=
t
.
length
-
1
;
c
>=
0
;
c
--
)(
i
=
t
[
c
])
&&
(
a
=
(
r
<
3
?
i
(
a
):
r
>
3
?
i
(
e
,
n
,
a
):
i
(
e
,
n
))
||
a
);
return
r
>
3
&&
a
&&
Object
.
defineProperty
(
e
,
n
,
a
),
a
},
a
=
this
&&
this
.
__awaiter
||
function
(
t
,
e
,
n
,
o
){
return
new
(
n
||
(
n
=
Promise
))(
function
(
i
,
r
){
function
a
(
t
){
try
{
s
(
o
.
next
(
t
))}
catch
(
e
){
r
(
e
)}}
function
c
(
t
){
try
{
s
(
o
.
throw
(
t
))}
catch
(
e
){
r
(
e
)}}
function
s
(
t
){
var
e
;
t
.
done
?
i
(
t
.
value
):(
e
=
t
.
value
,
e
instanceof
n
?
e
:
new
n
(
function
(
t
){
t
(
e
)})).
then
(
a
,
c
)}
s
((
o
=
o
.
apply
(
t
,
e
||
[])).
next
())})},
c
=
this
&&
this
.
__generator
||
function
(
t
,
e
){
var
n
,
o
,
i
,
r
,
a
=
{
label
:
0
,
sent
:
function
(){
if
(
1
&
i
[
0
])
throw
i
[
1
];
return
i
[
1
]},
trys
:[],
ops
:[]};
return
r
=
{
next
:
c
(
0
),
throw
:
c
(
1
),
return
:
c
(
2
)},
"function"
==
typeof
Symbol
&&
(
r
[
Symbol
.
iterator
]
=
function
(){
return
this
}),
r
;
function
c
(
t
){
return
function
(
e
){
return
s
([
t
,
e
])}}
function
s
(
r
){
if
(
n
)
throw
new
TypeError
(
"Generator is already executing."
);
for
(;
a
;)
try
{
if
(
n
=
1
,
o
&&
(
i
=
2
&
r
[
0
]?
o
.
return
:
r
[
0
]?
o
.
throw
||
((
i
=
o
.
return
)
&&
i
.
call
(
o
),
0
):
o
.
next
)
&&!
(
i
=
i
.
call
(
o
,
r
[
1
])).
done
)
return
i
;
switch
(
o
=
0
,
i
&&
(
r
=
[
2
&
r
[
0
],
i
.
value
]),
r
[
0
]){
case
0
:
case
1
:
i
=
r
;
break
;
case
4
:
return
a
.
label
++
,{
value
:
r
[
1
],
done
:
!
1
};
case
5
:
a
.
label
++
,
o
=
r
[
1
],
r
=
[
0
];
continue
;
case
7
:
r
=
a
.
ops
.
pop
(),
a
.
trys
.
pop
();
continue
;
default
:
if
(
!
(
i
=
(
i
=
a
.
trys
).
length
>
0
&&
i
[
i
.
length
-
1
])
&&
(
6
===
r
[
0
]
||
2
===
r
[
0
])){
a
=
0
;
continue
}
if
(
3
===
r
[
0
]
&&
(
!
i
||
r
[
1
]
>
i
[
0
]
&&
r
[
1
]
<
i
[
3
])){
a
.
label
=
r
[
1
];
break
}
if
(
6
===
r
[
0
]
&&
a
.
label
<
i
[
1
]){
a
.
label
=
i
[
1
],
i
=
r
;
break
}
if
(
i
&&
a
.
label
<
i
[
2
]){
a
.
label
=
i
[
2
],
a
.
ops
.
push
(
r
);
break
}
i
[
2
]
&&
a
.
ops
.
pop
(),
a
.
trys
.
pop
();
continue
}
r
=
e
.
call
(
t
,
a
)}
catch
(
c
){
r
=
[
6
,
c
],
o
=
0
}
finally
{
n
=
i
=
0
}
if
(
5
&
r
[
0
])
throw
r
[
1
];
return
{
value
:
r
[
0
]?
r
[
1
]:
void
0
,
done
:
!
0
}}};
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
s
=
cc
.
_decorator
,
p
=
s
.
ccclass
,
u
=
(
s
.
property
,
function
(
t
){
function
e
(){
return
null
!==
t
&&
t
.
apply
(
this
,
arguments
)
||
this
}
return
i
(
e
,
t
),
e
.
prototype
.
die
=
function
(
t
){
return
a
(
this
,
void
0
,
void
0
,
function
(){
var
e
,
n
=
this
;
return
c
(
this
,
function
(
o
){
switch
(
o
.
label
){
case
0
:
return
(
e
=
this
.
node
.
getComponent
(
cc
.
Animation
))?(
e
.
play
(),
e
.
on
(
"finished"
,
function
(){
return
a
(
n
,
void
0
,
void
0
,
function
(){
return
c
(
this
,
function
(
e
){
switch
(
e
.
label
){
case
0
:
return
[
4
,
null
==
t
?
void
0
:
t
()];
case
1
:
return
e
.
sent
(),
this
.
node
.
destroy
(),[
2
]}})})},
this
),[
3
,
3
]):[
3
,
1
];
case
1
:
return
[
4
,
null
==
t
?
void
0
:
t
()];
case
2
:
o
.
sent
(),
this
.
node
.
destroy
(),
o
.
label
=
3
;
case
3
:
return
[
2
]}})})},
r
([
p
],
e
)}(
cc
.
Component
));
n
.
default
=
u
,
cc
.
_RF
.
pop
()},{}],
utils
:[
function
(
t
,
e
,
n
){
"use strict"
;
cc
.
_RF
.
push
(
e
,
"6aca3erpIVPLpMW4bJwDRR6"
,
"utils"
);
var
o
=
this
&&
this
.
__awaiter
||
function
(
t
,
e
,
n
,
o
){
return
new
(
n
||
(
n
=
Promise
))(
function
(
i
,
r
){
function
a
(
t
){
try
{
s
(
o
.
next
(
t
))}
catch
(
e
){
r
(
e
)}}
function
c
(
t
){
try
{
s
(
o
.
throw
(
t
))}
catch
(
e
){
r
(
e
)}}
function
s
(
t
){
var
e
;
t
.
done
?
i
(
t
.
value
):(
e
=
t
.
value
,
e
instanceof
n
?
e
:
new
n
(
function
(
t
){
t
(
e
)})).
then
(
a
,
c
)}
s
((
o
=
o
.
apply
(
t
,
e
||
[])).
next
())})},
i
=
this
&&
this
.
__generator
||
function
(
t
,
e
){
var
n
,
o
,
i
,
r
,
a
=
{
label
:
0
,
sent
:
function
(){
if
(
1
&
i
[
0
])
throw
i
[
1
];
return
i
[
1
]},
trys
:[],
ops
:[]};
return
r
=
{
next
:
c
(
0
),
throw
:
c
(
1
),
return
:
c
(
2
)},
"function"
==
typeof
Symbol
&&
(
r
[
Symbol
.
iterator
]
=
function
(){
return
this
}),
r
;
function
c
(
t
){
return
function
(
e
){
return
s
([
t
,
e
])}}
function
s
(
r
){
if
(
n
)
throw
new
TypeError
(
"Generator is already executing."
);
for
(;
a
;)
try
{
if
(
n
=
1
,
o
&&
(
i
=
2
&
r
[
0
]?
o
.
return
:
r
[
0
]?
o
.
throw
||
((
i
=
o
.
return
)
&&
i
.
call
(
o
),
0
):
o
.
next
)
&&!
(
i
=
i
.
call
(
o
,
r
[
1
])).
done
)
return
i
;
switch
(
o
=
0
,
i
&&
(
r
=
[
2
&
r
[
0
],
i
.
value
]),
r
[
0
]){
case
0
:
case
1
:
i
=
r
;
break
;
case
4
:
return
a
.
label
++
,{
value
:
r
[
1
],
done
:
!
1
};
case
5
:
a
.
label
++
,
o
=
r
[
1
],
r
=
[
0
];
continue
;
case
7
:
r
=
a
.
ops
.
pop
(),
a
.
trys
.
pop
();
continue
;
default
:
if
(
!
(
i
=
(
i
=
a
.
trys
).
length
>
0
&&
i
[
i
.
length
-
1
])
&&
(
6
===
r
[
0
]
||
2
===
r
[
0
])){
a
=
0
;
continue
}
if
(
3
===
r
[
0
]
&&
(
!
i
||
r
[
1
]
>
i
[
0
]
&&
r
[
1
]
<
i
[
3
])){
a
.
label
=
r
[
1
];
break
}
if
(
6
===
r
[
0
]
&&
a
.
label
<
i
[
1
]){
a
.
label
=
i
[
1
],
i
=
r
;
break
}
if
(
i
&&
a
.
label
<
i
[
2
]){
a
.
label
=
i
[
2
],
a
.
ops
.
push
(
r
);
break
}
i
[
2
]
&&
a
.
ops
.
pop
(),
a
.
trys
.
pop
();
continue
}
r
=
e
.
call
(
t
,
a
)}
catch
(
c
){
r
=
[
6
,
c
],
o
=
0
}
finally
{
n
=
i
=
0
}
if
(
5
&
r
[
0
])
throw
r
[
1
];
return
{
value
:
r
[
0
]?
r
[
1
]:
void
0
,
done
:
!
0
}}},
r
=
this
&&
this
.
__spreadArrays
||
function
(){
for
(
var
t
=
0
,
e
=
0
,
n
=
arguments
.
length
;
e
<
n
;
e
++
)
t
+=
arguments
[
e
].
length
;
var
o
=
Array
(
t
),
i
=
0
;
for
(
e
=
0
;
e
<
n
;
e
++
)
for
(
var
r
=
arguments
[
e
],
a
=
0
,
c
=
r
.
length
;
a
<
c
;
a
++
,
i
++
)
o
[
i
]
=
r
[
a
];
return
o
};
function
a
(
t
,
e
){
return
Math
.
floor
(
Math
.
random
()
*
(
e
-
t
))
+
t
}
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
getUrlParam
=
n
.
getProbability
=
n
.
getRandomArrayElements
=
n
.
randomNum
=
n
.
loadGameResources
=
n
.
numToChinese
=
n
.
set16ToRgb
=
void
0
,
n
.
set16ToRgb
=
function
(
t
){
if
(
t
&&
/^#
([
0-9A-Fa-f
]{3}
|
[
0-9A-Fa-f
]{6})
$/
.
test
(
t
)){
var
e
=
t
.
toLowerCase
().
replace
(
/
\#
/g
,
""
),
n
=
e
.
length
;
if
(
3
==
n
){
for
(
var
o
=
""
,
i
=
0
;
i
<
n
;
i
++
)
o
+=
e
.
slice
(
i
,
i
+
1
).
concat
(
e
.
slice
(
i
,
i
+
1
));
e
=
o
}
var
r
=
[];
for
(
i
=
0
;
i
<
6
;
i
+=
2
){
var
a
=
e
.
slice
(
i
,
i
+
2
);
r
.
push
(
parseInt
(
"0x"
+
a
))}
return
r
}},
n
.
numToChinese
=
function
(
t
){
return
[
"
\
u96f6"
,
"
\
u4e00"
,
"
\
u4e8c"
,
"
\
u4e09"
,
"
\
u56db"
,
"
\
u4e94"
,
"
\
u516d"
,
"
\
u4e03"
,
"
\
u516b"
,
"
\
u4e5d"
,
"
\
u5341"
][
t
]},
n
.
loadGameResources
=
function
(){
return
o
(
void
0
,
void
0
,
void
0
,
function
(){
return
i
(
this
,
function
(){
return
[
2
,
new
Promise
(
function
(
t
){
cc
.
resources
.
preloadDir
(
"images"
,
cc
.
SpriteFrame
,
function
(
e
,
n
){
console
.
log
(
"111"
,
n
),
t
(
n
,
e
)})})]})})},
n
.
randomNum
=
a
,
n
.
getRandomArrayElements
=
function
(
t
,
e
){
if
(
t
.
length
<=
e
)
return
t
;
for
(
var
n
,
o
,
i
=
t
.
slice
(
0
),
r
=
t
.
length
,
a
=
r
-
e
;
r
--
>
a
;)
n
=
i
[
o
=
(
r
+
1
)
*
Math
.
random
()
>>
0
],
i
[
o
]
=
i
[
r
],
i
[
r
]
=
n
;
return
i
.
slice
(
a
)},
n
.
getProbability
=
function
(
t
){
return
r
(
Array
(
100
-
t
).
fill
(
!
1
),
Array
(
t
).
fill
(
!
0
))[
Math
.
floor
(
a
(
0
,
99
))]},
n
.
getUrlParam
=
function
(
t
){
var
e
=
window
.
location
.
search
,
n
=
e
.
slice
(
1
).
match
(
new
RegExp
(
"(^|&)"
+
t
+
"=([^&]*)(&|$)"
,
"i"
));
return
e
.
length
?
n
&&
n
[
2
]:
null
},
cc
.
_RF
.
pop
()},{}]},{},[
"ClipAni"
,
"BitText"
,
"FitSprite"
,
"Matrix"
,
"Svga"
,
"SvgaEvent"
,
"SvgaTrack"
,
"interface"
,
"loadSvga"
,
"GameConfig"
,
"GameScene"
,
"ImgFixedSize"
,
"exportEvent"
,
"propMove"
,
"utils"
]);
\ No newline at end of file
build/web-mobile/index.html
View file @
dc227958
...
...
@@ -40,7 +40,7 @@
<!-- <script src="//yun.duiba.com.cn/db_games/libs0924/svgaParser.minWeb.js" crossorigin="anonymous"></script>-->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://yun.duiba.com.cn/db_games/ccc_game/template/1681
69993154
8/style-mobile.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://yun.duiba.com.cn/db_games/ccc_game/template/1681
73310853
8/style-mobile.css"
/>
<style>
...
...
@@ -90,9 +90,9 @@
</div>
</div>
<script
src=
"https://yun.duiba.com.cn/db_games/ccc_game/template/1681
69993154
8/src/settings.js"
charset=
"utf-8"
></script>
<script
src=
"https://yun.duiba.com.cn/db_games/ccc_game/template/1681
73310853
8/src/settings.js"
charset=
"utf-8"
></script>
<script
src=
"https://yun.duiba.com.cn/db_games/ccc_game/template/1681
69993154
8/main.js"
charset=
"utf-8"
></script>
<script
src=
"https://yun.duiba.com.cn/db_games/ccc_game/template/1681
73310853
8/main.js"
charset=
"utf-8"
></script>
<script
type=
"text/javascript"
>
(
function
()
{
...
...
build/web-mobile/main.js
View file @
dc227958
window
.
__remoteUrl__
=
"https://yun.duiba.com.cn/db_games/ccc_game/template/1681
69993154
8/"
;
window
.
__remoteUrl__
=
"https://yun.duiba.com.cn/db_games/ccc_game/template/1681
73310853
8/"
;
window
.
__remoteAssets__
=
window
.
__remoteUrl__
+
"assets/"
;
window
.
__version__
=
1681
69993154
8
;
window
.
__version__
=
1681
73310853
8
;
window
.
__ENV__
=
"prod"
;
window
.
boot
=
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment