@safe-engine/cocos 2.2.8 → 2.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/index.d.ts +0 -59
- package/dist/app.d.ts +1 -1
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +25 -23
- package/dist/box2d-wasm/PhysicsComponent.d.ts.map +1 -1
- package/dist/box2d-wasm/PhysicsComponent.js +3 -0
- package/dist/box2d-wasm/PhysicsSprite.d.ts.map +1 -1
- package/dist/box2d-wasm/PhysicsSprite.js +2 -1
- package/dist/box2d-wasm/PhysicsSystem.d.ts +1 -0
- package/dist/box2d-wasm/PhysicsSystem.d.ts.map +1 -1
- package/dist/box2d-wasm/PhysicsSystem.js +20 -16
- package/dist/box2d-wasm/debugDraw.d.ts +0 -15
- package/dist/box2d-wasm/debugDraw.d.ts.map +1 -1
- package/dist/box2d-wasm/debugDraw.js +8 -20
- package/dist/box2d-wasm/index.d.ts +19 -1
- package/dist/box2d-wasm/index.d.ts.map +1 -1
- package/dist/box2d-wasm/index.js +2 -2
- package/dist/collider/CollideComponent.d.ts +21 -3
- package/dist/collider/CollideComponent.d.ts.map +1 -1
- package/dist/core/NodeComp.d.ts +1 -1
- package/dist/core/NodeComp.d.ts.map +1 -1
- package/dist/dragonbones/DragonBonesComp.d.ts +4 -6
- package/dist/dragonbones/DragonBonesComp.d.ts.map +1 -1
- package/dist/dragonbones/DragonBonesComp.js +15 -13
- package/dist/dragonbones/DragonBonesSystem.d.ts +1 -1
- package/dist/dragonbones/DragonBonesSystem.d.ts.map +1 -1
- package/dist/dragonbones/DragonBonesSystem.js +42 -35
- package/dist/dragonbones/db-cocos/CocosArmatureDisplay.d.ts +87 -0
- package/dist/dragonbones/db-cocos/CocosArmatureDisplay.d.ts.map +1 -0
- package/dist/dragonbones/db-cocos/CocosArmatureDisplay.js +240 -0
- package/dist/dragonbones/db-cocos/CocosFactory.d.ts +127 -0
- package/dist/dragonbones/db-cocos/CocosFactory.d.ts.map +1 -0
- package/dist/dragonbones/db-cocos/CocosFactory.js +186 -0
- package/dist/dragonbones/db-cocos/CocosSlot.d.ts +52 -0
- package/dist/dragonbones/db-cocos/CocosSlot.d.ts.map +1 -0
- package/dist/dragonbones/db-cocos/CocosSlot.js +365 -0
- package/dist/dragonbones/db-cocos/CocosTextureAtlasData.d.ts +53 -0
- package/dist/dragonbones/db-cocos/CocosTextureAtlasData.d.ts.map +1 -0
- package/dist/dragonbones/db-cocos/CocosTextureAtlasData.js +121 -0
- package/dist/dragonbones/db-cocos/SimpleMeshNode.d.ts +36 -0
- package/dist/dragonbones/db-cocos/SimpleMeshNode.d.ts.map +1 -0
- package/dist/dragonbones/db-cocos/SimpleMeshNode.js +354 -0
- package/dist/dragonbones/index.d.ts +0 -1
- package/dist/dragonbones/index.d.ts.map +1 -1
- package/dist/dragonbones/index.js +0 -1
- package/dist/polyfills.d.ts +1 -1
- package/dist/polyfills.d.ts.map +1 -1
- package/dist/polyfills.js +1 -2
- package/dist/render/RenderComponent.d.ts.map +1 -1
- package/dist/render/RenderComponent.js +1 -0
- package/dist/render/RenderSystem.d.ts.map +1 -1
- package/dist/render/RenderSystem.js +34 -2
- package/dist/richtext/RichTextComp.js +1 -1
- package/dist/spine/SpineSkeleton.d.ts +5 -3
- package/dist/spine/SpineSkeleton.d.ts.map +1 -1
- package/dist/spine/SpineSkeleton.js +12 -5
- package/dist/spine/SpineSystem.d.ts +1 -2
- package/dist/spine/SpineSystem.d.ts.map +1 -1
- package/dist/spine/SpineSystem.js +22 -24
- package/dist/spine/index.d.ts +0 -1
- package/dist/spine/index.d.ts.map +1 -1
- package/dist/spine/index.js +14 -2
- package/dist/spine/spine-cocos/CCSkeleton.d.ts +86 -0
- package/dist/spine/spine-cocos/CCSkeleton.d.ts.map +1 -0
- package/dist/spine/spine-cocos/CCSkeleton.js +231 -0
- package/dist/spine/spine-cocos/CCSkeletonAnimation.d.ts +88 -0
- package/dist/spine/spine-cocos/CCSkeletonAnimation.d.ts.map +1 -0
- package/dist/spine/spine-cocos/CCSkeletonAnimation.js +251 -0
- package/dist/spine/spine-cocos/CCSkeletonCanvasRenderCmd.d.ts +28 -0
- package/dist/spine/spine-cocos/CCSkeletonCanvasRenderCmd.d.ts.map +1 -0
- package/dist/spine/spine-cocos/CCSkeletonCanvasRenderCmd.js +224 -0
- package/dist/spine/spine-cocos/CCSkeletonTexture.d.ts +36 -0
- package/dist/spine/spine-cocos/CCSkeletonTexture.d.ts.map +1 -0
- package/dist/spine/spine-cocos/CCSkeletonTexture.js +59 -0
- package/dist/spine/spine-cocos/CCSkeletonWebGLRenderCmd.d.ts +28 -0
- package/dist/spine/spine-cocos/CCSkeletonWebGLRenderCmd.d.ts.map +1 -0
- package/dist/spine/spine-cocos/CCSkeletonWebGLRenderCmd.js +277 -0
- package/package.json +6 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseComponentProps, ComponentX } from '..';
|
|
2
|
-
import {
|
|
2
|
+
import { SkeletonAnimation } from './spine-cocos/CCSkeletonAnimation';
|
|
3
3
|
export interface SpineData {
|
|
4
4
|
atlas: string;
|
|
5
5
|
skeleton: string;
|
|
@@ -11,9 +11,11 @@ interface SpineSkeletonProps {
|
|
|
11
11
|
animation?: string;
|
|
12
12
|
timeScale?: number;
|
|
13
13
|
loop?: boolean;
|
|
14
|
+
onAnimationComplete?: any;
|
|
14
15
|
}
|
|
15
|
-
export declare class SpineSkeleton extends ComponentX<SpineSkeletonProps & BaseComponentProps<SpineSkeleton>,
|
|
16
|
-
|
|
16
|
+
export declare class SpineSkeleton extends ComponentX<SpineSkeletonProps & BaseComponentProps<SpineSkeleton>, SkeletonAnimation> {
|
|
17
|
+
set scaleX(flip: number);
|
|
18
|
+
getAnimationName(): string;
|
|
17
19
|
setAnimation(name: string, loop?: boolean): void;
|
|
18
20
|
}
|
|
19
21
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpineSkeleton.d.ts","sourceRoot":"","sources":["../../src/spine/SpineSkeleton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAU,MAAM,IAAI,CAAA;AAC3D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SpineSkeleton.d.ts","sourceRoot":"","sources":["../../src/spine/SpineSkeleton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAU,MAAM,IAAI,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAA;AAErE,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,UAAU,kBAAkB;IAC1B,IAAI,EAAE,SAAS,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,mBAAmB,CAAC,MAAA;CACrB;AACD,qBAAa,aAAc,SAAQ,UAAU,CAAC,kBAAkB,GAAG,kBAAkB,CAAC,aAAa,CAAC,EAAE,iBAAiB,CAAC;IACtH,IAAI,MAAM,CAAC,IAAI,EAAE,MAAM,EAGtB;IACD,gBAAgB;IAIhB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,UAAQ;CAYxC"}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { ComponentX, render } from '..';
|
|
2
2
|
export class SpineSkeleton extends ComponentX {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
set scaleX(flip) {
|
|
4
|
+
const skel = this.node.instance;
|
|
5
|
+
skel._skeleton.scaleX = flip;
|
|
6
|
+
}
|
|
7
|
+
getAnimationName() {
|
|
8
|
+
const skel = this.node.instance;
|
|
9
|
+
return skel.getState().getCurrent(0).animation.name;
|
|
10
|
+
}
|
|
11
|
+
setAnimation(name, loop = false) {
|
|
12
|
+
const skel = this.node.instance;
|
|
13
|
+
if (skel.setAnimation) {
|
|
14
|
+
skel.setAnimation(0, name, loop);
|
|
8
15
|
}
|
|
9
16
|
}
|
|
10
17
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventManager, System } from 'entityx-ts';
|
|
2
2
|
export declare class SpineSystem implements System {
|
|
3
3
|
configure(event_manager: EventManager): void;
|
|
4
4
|
private onAddSpineSkeleton;
|
|
5
|
-
update(entities: EntityManager): void;
|
|
6
5
|
}
|
|
7
6
|
//# sourceMappingURL=SpineSystem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpineSystem.d.ts","sourceRoot":"","sources":["../../src/spine/SpineSystem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SpineSystem.d.ts","sourceRoot":"","sources":["../../src/spine/SpineSystem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAoC,MAAM,EAAE,MAAM,YAAY,CAAA;AAMnF,qBAAa,WAAY,YAAW,MAAM;IACxC,SAAS,CAAC,aAAa,EAAE,YAAY;IAGrC,OAAO,CAAC,kBAAkB,CAuBzB;CAUF"}
|
|
@@ -1,36 +1,34 @@
|
|
|
1
1
|
import { EventTypes } from 'entityx-ts';
|
|
2
2
|
import { NodeComp } from '../core/NodeComp';
|
|
3
|
-
import { PixiSpineSprite } from './PixiSpineSprite';
|
|
4
3
|
import { SpineSkeleton } from './SpineSkeleton';
|
|
4
|
+
import { SkeletonAnimation } from './spine-cocos/CCSkeletonAnimation';
|
|
5
5
|
export class SpineSystem {
|
|
6
6
|
configure(event_manager) {
|
|
7
7
|
event_manager.subscribe(EventTypes.ComponentAdded, SpineSkeleton, this.onAddSpineSkeleton);
|
|
8
8
|
}
|
|
9
9
|
onAddSpineSkeleton = async ({ entity, component: spineComp }) => {
|
|
10
|
-
const { data, skin, animation, loop = true, timeScale = 1 } = spineComp.props;
|
|
11
|
-
const { atlas, skeleton
|
|
10
|
+
const { data, skin, animation, loop = true, timeScale = 1, onAnimationComplete } = spineComp.props;
|
|
11
|
+
const { atlas: argAtlasFile, skeleton } = data;
|
|
12
12
|
// console.log('spineComp', data)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
13
|
+
let node;
|
|
14
|
+
if (skeleton.endsWith('.json')) {
|
|
15
|
+
node = SkeletonAnimation.createWithJsonFile(skeleton, argAtlasFile, timeScale);
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
node = SkeletonAnimation.createWithBinaryFile(skeleton, argAtlasFile, timeScale);
|
|
19
|
+
}
|
|
20
|
+
if (skin) {
|
|
21
|
+
node.setSkin(skin);
|
|
22
|
+
}
|
|
23
|
+
if (animation) {
|
|
24
|
+
node.setAnimation(0, animation, loop);
|
|
25
|
+
}
|
|
25
26
|
spineComp.node = entity.assign(new NodeComp(node, entity));
|
|
27
|
+
if (onAnimationComplete) {
|
|
28
|
+
node.setCompleteListener((track, loopCount) => {
|
|
29
|
+
// console.log(track, loopCount)
|
|
30
|
+
onAnimationComplete(track, loopCount);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
26
33
|
};
|
|
27
|
-
update(entities) {
|
|
28
|
-
const animations = entities.entities_with_components(SpineSkeleton);
|
|
29
|
-
animations.forEach((ett) => {
|
|
30
|
-
const spine = ett.getComponent(SpineSkeleton);
|
|
31
|
-
if (spine.node && spine.node.active) {
|
|
32
|
-
spine.spine.updateTexture();
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
34
|
}
|
package/dist/spine/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/spine/index.ts"],"names":[],"mappings":"AAGA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/spine/index.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAA;AAE/B,wBAAgB,UAAU,SAEzB"}
|
package/dist/spine/index.js
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import { GameWorld } from '..';
|
|
2
2
|
import { SpineSystem } from './SpineSystem';
|
|
3
|
-
export * from './PixiSpineSprite';
|
|
4
3
|
export * from './SpineSkeleton';
|
|
5
4
|
export function setupSpine() {
|
|
6
|
-
GameWorld.Instance.
|
|
5
|
+
GameWorld.Instance.systems.addThenConfigure(SpineSystem);
|
|
7
6
|
}
|
|
7
|
+
cc.loader.register(['skel'], {
|
|
8
|
+
TYPE: { skel: 'binary' },
|
|
9
|
+
load: function (realUrl, url, res, callback) {
|
|
10
|
+
cc.loader.loadBinary(url, function (err, data) {
|
|
11
|
+
// console.log('loadBinary Skeleton', realUrl, url, res, data, callback)
|
|
12
|
+
if (err) {
|
|
13
|
+
callback(err);
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
callback(null, data);
|
|
17
|
+
});
|
|
18
|
+
},
|
|
19
|
+
});
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { AnimationState, Bone, Skeleton } from '@esotericsoftware/spine-core';
|
|
2
|
+
/****************************************************************************
|
|
3
|
+
Copyright (c) 2011-2012 cocos2d-x.org
|
|
4
|
+
Copyright (c) 2013-2014 Chukong Technologies Inc.
|
|
5
|
+
Copyright (c) 2014 Shengxiang Chen (Nero Chan)
|
|
6
|
+
|
|
7
|
+
http://www.cocos2d-x.org
|
|
8
|
+
|
|
9
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
+
in the Software without restriction, including without limitation the rights
|
|
12
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
+
furnished to do so, subject to the following conditions:
|
|
15
|
+
|
|
16
|
+
The above copyright notice and this permission notice shall be included in
|
|
17
|
+
all copies or substantial portions of the Software.
|
|
18
|
+
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
25
|
+
THE SOFTWARE.
|
|
26
|
+
****************************************************************************/
|
|
27
|
+
/**
|
|
28
|
+
* The main namespace of Spine, all classes, functions, properties and constants of Spine are defined in this namespace
|
|
29
|
+
* @namespace
|
|
30
|
+
* @name gworld
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* <p>
|
|
34
|
+
* The skeleton of <br/>
|
|
35
|
+
* Skeleton has a reference to a SkeletonData and stores the state for skeleton instance,
|
|
36
|
+
* which consists of the current pose's bone SRT, slot colors, and which slot attachments are visible. <br/>
|
|
37
|
+
* Multiple skeletons can use the same SkeletonData (which includes all animations, skins, and attachments). <br/>
|
|
38
|
+
* </p>
|
|
39
|
+
* @class
|
|
40
|
+
* @extends cc.Node
|
|
41
|
+
*/
|
|
42
|
+
export declare class CCSkeleton extends cc.Node {
|
|
43
|
+
_skeleton: Skeleton;
|
|
44
|
+
_rootBone: Bone;
|
|
45
|
+
_timeScale: number;
|
|
46
|
+
_debugSlots: boolean;
|
|
47
|
+
_debugBones: boolean;
|
|
48
|
+
_premultipliedAlpha: boolean;
|
|
49
|
+
_ownsSkeletonData: any;
|
|
50
|
+
_renderCmd: any;
|
|
51
|
+
_state: AnimationState;
|
|
52
|
+
_ownsAnimationStateData: boolean;
|
|
53
|
+
_listener: any;
|
|
54
|
+
constructor(skeletonDataFile?: any, atlasFile?: any, scale?: any);
|
|
55
|
+
_createRenderCmd(): any;
|
|
56
|
+
init(): boolean;
|
|
57
|
+
onEnter(): void;
|
|
58
|
+
onExit(): void;
|
|
59
|
+
setDebugSolots(enable: boolean): void;
|
|
60
|
+
setDebugBones(enable: boolean): void;
|
|
61
|
+
setDebugSlotsEnabled(enabled: boolean): void;
|
|
62
|
+
getDebugSlotsEnabled(): boolean;
|
|
63
|
+
setDebugBonesEnabled(enabled: boolean): void;
|
|
64
|
+
getDebugBonesEnabled(): boolean;
|
|
65
|
+
setTimeScale(scale: number): void;
|
|
66
|
+
getTimeScale(): number;
|
|
67
|
+
initWithArgs(skeletonDataFile: any, atlasFile: any, scale: any): void;
|
|
68
|
+
getBoundingBox(): cc.Rect;
|
|
69
|
+
updateWorldTransform(): void;
|
|
70
|
+
setToSetupPose(): void;
|
|
71
|
+
setBonesToSetupPose(): void;
|
|
72
|
+
setSlotsToSetupPose(): void;
|
|
73
|
+
findBone(boneName: string): Bone;
|
|
74
|
+
findSlot(slotName: string): import("@esotericsoftware/spine-core").Slot;
|
|
75
|
+
setSkin(skinName: string): void;
|
|
76
|
+
getAttachment(slotName: string, attachmentName: string): import("@esotericsoftware/spine-core").Attachment;
|
|
77
|
+
setAttachment(slotName: string, attachmentName: string): void;
|
|
78
|
+
setPremultipliedAlpha(premultiplied: boolean): void;
|
|
79
|
+
isPremultipliedAlpha(): boolean;
|
|
80
|
+
setSkeletonData(skeletonData: any, ownsSkeletonData: any): void;
|
|
81
|
+
getTextureAtlas(regionAttachment: any): any;
|
|
82
|
+
getBlendFunc(): any;
|
|
83
|
+
setBlendFunc(): void;
|
|
84
|
+
update(dt: any): void;
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=CCSkeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCSkeleton.d.ts","sourceRoot":"","sources":["../../../src/spine/spine-cocos/CCSkeleton.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAEd,IAAI,EAGJ,QAAQ,EAIT,MAAM,8BAA8B,CAAA;AAKrC;;;;;;;;;;;;;;;;;;;;;;;;8EAwB8E;AAE9E;;;;GAIG;AACH;;;;;;;;;GASG;AACH,qBAAa,UAAW,SAAQ,EAAE,CAAC,IAAI;IACrC,SAAS,EAAE,QAAQ,CAAO;IAC1B,SAAS,EAAE,IAAI,CAAO;IACtB,UAAU,SAAI;IACd,WAAW,UAAQ;IACnB,WAAW,UAAQ;IACnB,mBAAmB,UAAQ;IAC3B,iBAAiB,EAAE,GAAG,CAAO;IAC7B,UAAU,EAAE,GAAG,CAAA;IACf,MAAM,EAAE,cAAc,CAAA;IACtB,uBAAuB,UAAQ;IAC/B,SAAS,EAAE,GAAG,CAAA;gBAEF,gBAAgB,CAAC,EAAE,GAAG,EAAE,SAAS,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,GAAG;IAWhE,gBAAgB;IAKhB,IAAI,IAAI,OAAO;IAMf,OAAO;IAKP,MAAM;IAKN,cAAc,CAAC,MAAM,EAAE,OAAO;IAI9B,aAAa,CAAC,MAAM,EAAE,OAAO;IAI7B,oBAAoB,CAAC,OAAO,EAAE,OAAO;IAIrC,oBAAoB;IAIpB,oBAAoB,CAAC,OAAO,EAAE,OAAO;IAIrC,oBAAoB;IAIpB,YAAY,CAAC,KAAK,EAAE,MAAM;IAI1B,YAAY;IAIZ,YAAY,CAAC,gBAAgB,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG;IAiC9D,cAAc;IAkDd,oBAAoB;IAIpB,cAAc;IAId,mBAAmB;IAInB,mBAAmB;IAInB,QAAQ,CAAC,QAAQ,EAAE,MAAM;IAIzB,QAAQ,CAAC,QAAQ,EAAE,MAAM;IAIzB,OAAO,CAAC,QAAQ,EAAE,MAAM;IAIxB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM;IAItD,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM;IAItD,qBAAqB,CAAC,aAAa,EAAE,OAAO;IAI5C,oBAAoB;IAIpB,eAAe,CAAC,YAAY,EAAE,GAAG,EAAE,gBAAgB,EAAE,GAAG;IAiBxD,eAAe,CAAC,gBAAgB,EAAE,GAAG;IAIrC,YAAY;IAaZ,YAAY;IAIZ,MAAM,CAAC,EAAE,EAAE,GAAG;CAGf"}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { AtlasAttachmentLoader, Physics, RegionAttachment, Skeleton, SkeletonJson, TextureAtlas, Utils, } from '@esotericsoftware/spine-core';
|
|
2
|
+
import { _atlasLoader } from './CCSkeletonAnimation';
|
|
3
|
+
import { CanvasRenderCmd } from './CCSkeletonCanvasRenderCmd';
|
|
4
|
+
import { WebGLRenderCmd } from './CCSkeletonWebGLRenderCmd';
|
|
5
|
+
/****************************************************************************
|
|
6
|
+
Copyright (c) 2011-2012 cocos2d-x.org
|
|
7
|
+
Copyright (c) 2013-2014 Chukong Technologies Inc.
|
|
8
|
+
Copyright (c) 2014 Shengxiang Chen (Nero Chan)
|
|
9
|
+
|
|
10
|
+
http://www.cocos2d-x.org
|
|
11
|
+
|
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
in the Software without restriction, including without limitation the rights
|
|
15
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
furnished to do so, subject to the following conditions:
|
|
18
|
+
|
|
19
|
+
The above copyright notice and this permission notice shall be included in
|
|
20
|
+
all copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
28
|
+
THE SOFTWARE.
|
|
29
|
+
****************************************************************************/
|
|
30
|
+
/**
|
|
31
|
+
* The main namespace of Spine, all classes, functions, properties and constants of Spine are defined in this namespace
|
|
32
|
+
* @namespace
|
|
33
|
+
* @name gworld
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
* <p>
|
|
37
|
+
* The skeleton of <br/>
|
|
38
|
+
* Skeleton has a reference to a SkeletonData and stores the state for skeleton instance,
|
|
39
|
+
* which consists of the current pose's bone SRT, slot colors, and which slot attachments are visible. <br/>
|
|
40
|
+
* Multiple skeletons can use the same SkeletonData (which includes all animations, skins, and attachments). <br/>
|
|
41
|
+
* </p>
|
|
42
|
+
* @class
|
|
43
|
+
* @extends cc.Node
|
|
44
|
+
*/
|
|
45
|
+
export class CCSkeleton extends cc.Node {
|
|
46
|
+
_skeleton = null;
|
|
47
|
+
_rootBone = null;
|
|
48
|
+
_timeScale = 1;
|
|
49
|
+
_debugSlots = false;
|
|
50
|
+
_debugBones = false;
|
|
51
|
+
_premultipliedAlpha = false;
|
|
52
|
+
_ownsSkeletonData = null;
|
|
53
|
+
_renderCmd;
|
|
54
|
+
_state;
|
|
55
|
+
_ownsAnimationStateData = false;
|
|
56
|
+
_listener;
|
|
57
|
+
constructor(skeletonDataFile, atlasFile, scale) {
|
|
58
|
+
super();
|
|
59
|
+
super.ctor();
|
|
60
|
+
this._renderCmd = this._createRenderCmd();
|
|
61
|
+
if (arguments.length === 0) {
|
|
62
|
+
this.init();
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
this.initWithArgs(skeletonDataFile, atlasFile, scale);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
_createRenderCmd() {
|
|
69
|
+
if (cc._renderType === cc.game.RENDER_TYPE_CANVAS)
|
|
70
|
+
return new CanvasRenderCmd(this);
|
|
71
|
+
else
|
|
72
|
+
return new WebGLRenderCmd(this);
|
|
73
|
+
}
|
|
74
|
+
init() {
|
|
75
|
+
super.init();
|
|
76
|
+
this._premultipliedAlpha = !!(cc._renderType === cc.game.RENDER_TYPE_WEBGL && cc.OPTIMIZE_BLEND_FUNC_FOR_PREMULTIPLIED_ALPHA);
|
|
77
|
+
return true;
|
|
78
|
+
}
|
|
79
|
+
onEnter() {
|
|
80
|
+
super.onEnter();
|
|
81
|
+
this.scheduleUpdate();
|
|
82
|
+
}
|
|
83
|
+
onExit() {
|
|
84
|
+
this.unscheduleUpdate();
|
|
85
|
+
super.onExit();
|
|
86
|
+
}
|
|
87
|
+
setDebugSolots(enable) {
|
|
88
|
+
this._debugSlots = enable;
|
|
89
|
+
}
|
|
90
|
+
setDebugBones(enable) {
|
|
91
|
+
this._debugBones = enable;
|
|
92
|
+
}
|
|
93
|
+
setDebugSlotsEnabled(enabled) {
|
|
94
|
+
this._debugSlots = enabled;
|
|
95
|
+
}
|
|
96
|
+
getDebugSlotsEnabled() {
|
|
97
|
+
return this._debugSlots;
|
|
98
|
+
}
|
|
99
|
+
setDebugBonesEnabled(enabled) {
|
|
100
|
+
this._debugBones = enabled;
|
|
101
|
+
}
|
|
102
|
+
getDebugBonesEnabled() {
|
|
103
|
+
return this._debugBones;
|
|
104
|
+
}
|
|
105
|
+
setTimeScale(scale) {
|
|
106
|
+
this._timeScale = scale;
|
|
107
|
+
}
|
|
108
|
+
getTimeScale() {
|
|
109
|
+
return this._timeScale;
|
|
110
|
+
}
|
|
111
|
+
initWithArgs(skeletonDataFile, atlasFile, scale) {
|
|
112
|
+
const argSkeletonFile = skeletonDataFile;
|
|
113
|
+
const argAtlasFile = atlasFile;
|
|
114
|
+
let skeletonData, atlas, ownsSkeletonData;
|
|
115
|
+
if (cc.isString(argSkeletonFile)) {
|
|
116
|
+
if (cc.isString(argAtlasFile)) {
|
|
117
|
+
const data = cc.loader.getRes(argAtlasFile);
|
|
118
|
+
_atlasLoader.setAtlasFile(argAtlasFile);
|
|
119
|
+
atlas = new TextureAtlas(data);
|
|
120
|
+
for (const page of atlas.pages) {
|
|
121
|
+
const texture = _atlasLoader.load(page.name);
|
|
122
|
+
page.setTexture(texture);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
scale = scale || 1 / cc.director.getContentScaleFactor();
|
|
126
|
+
const attachmentLoader = new AtlasAttachmentLoader(atlas);
|
|
127
|
+
const skeletonJsonReader = new SkeletonJson(attachmentLoader);
|
|
128
|
+
skeletonJsonReader.scale = scale;
|
|
129
|
+
const skeletonJson = cc.loader.getRes(argSkeletonFile);
|
|
130
|
+
skeletonData = skeletonJsonReader.readSkeletonData(skeletonJson);
|
|
131
|
+
atlas.dispose(skeletonJsonReader);
|
|
132
|
+
ownsSkeletonData = true;
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
skeletonData = skeletonDataFile;
|
|
136
|
+
ownsSkeletonData = atlasFile;
|
|
137
|
+
}
|
|
138
|
+
this.setSkeletonData(skeletonData, ownsSkeletonData);
|
|
139
|
+
this.init();
|
|
140
|
+
}
|
|
141
|
+
getBoundingBox() {
|
|
142
|
+
let minX = cc.FLT_MAX, minY = cc.FLT_MAX, maxX = cc.FLT_MIN, maxY = cc.FLT_MIN;
|
|
143
|
+
const scaleX = this.getScaleX(), scaleY = this.getScaleY(), slots = this._skeleton.slots, VERTEX = RegionAttachment;
|
|
144
|
+
let vertices;
|
|
145
|
+
for (let i = 0, slotCount = slots.length; i < slotCount; ++i) {
|
|
146
|
+
const slot = slots[i];
|
|
147
|
+
const attachment = slot.attachment;
|
|
148
|
+
if (!attachment || !(attachment instanceof RegionAttachment))
|
|
149
|
+
continue;
|
|
150
|
+
vertices = Utils.setArraySize([], 8, 0);
|
|
151
|
+
attachment.computeWorldVertices(slot, vertices, 0, 2);
|
|
152
|
+
minX = Math.min(minX, vertices[VERTEX.X1] * scaleX, vertices[VERTEX.X4] * scaleX, vertices[VERTEX.X2] * scaleX, vertices[VERTEX.X3] * scaleX);
|
|
153
|
+
minY = Math.min(minY, vertices[VERTEX.Y1] * scaleY, vertices[VERTEX.Y4] * scaleY, vertices[VERTEX.Y2] * scaleY, vertices[VERTEX.Y3] * scaleY);
|
|
154
|
+
maxX = Math.max(maxX, vertices[VERTEX.X1] * scaleX, vertices[VERTEX.X4] * scaleX, vertices[VERTEX.X2] * scaleX, vertices[VERTEX.X3] * scaleX);
|
|
155
|
+
maxY = Math.max(maxY, vertices[VERTEX.Y1] * scaleY, vertices[VERTEX.Y4] * scaleY, vertices[VERTEX.Y2] * scaleY, vertices[VERTEX.Y3] * scaleY);
|
|
156
|
+
}
|
|
157
|
+
const position = this.getPosition();
|
|
158
|
+
return cc.rect(position.x + minX, position.y + minY, maxX - minX, maxY - minY);
|
|
159
|
+
}
|
|
160
|
+
updateWorldTransform() {
|
|
161
|
+
this._skeleton.updateWorldTransform(Physics.pose);
|
|
162
|
+
}
|
|
163
|
+
setToSetupPose() {
|
|
164
|
+
this._skeleton.setToSetupPose();
|
|
165
|
+
}
|
|
166
|
+
setBonesToSetupPose() {
|
|
167
|
+
this._skeleton.setBonesToSetupPose();
|
|
168
|
+
}
|
|
169
|
+
setSlotsToSetupPose() {
|
|
170
|
+
this._skeleton.setSlotsToSetupPose();
|
|
171
|
+
}
|
|
172
|
+
findBone(boneName) {
|
|
173
|
+
return this._skeleton.findBone(boneName);
|
|
174
|
+
}
|
|
175
|
+
findSlot(slotName) {
|
|
176
|
+
return this._skeleton.findSlot(slotName);
|
|
177
|
+
}
|
|
178
|
+
setSkin(skinName) {
|
|
179
|
+
return this._skeleton.setSkinByName(skinName);
|
|
180
|
+
}
|
|
181
|
+
getAttachment(slotName, attachmentName) {
|
|
182
|
+
return this._skeleton.getAttachmentByName(slotName, attachmentName);
|
|
183
|
+
}
|
|
184
|
+
setAttachment(slotName, attachmentName) {
|
|
185
|
+
this._skeleton.setAttachment(slotName, attachmentName);
|
|
186
|
+
}
|
|
187
|
+
setPremultipliedAlpha(premultiplied) {
|
|
188
|
+
this._premultipliedAlpha = premultiplied;
|
|
189
|
+
}
|
|
190
|
+
isPremultipliedAlpha() {
|
|
191
|
+
return this._premultipliedAlpha;
|
|
192
|
+
}
|
|
193
|
+
setSkeletonData(skeletonData, ownsSkeletonData) {
|
|
194
|
+
if (skeletonData.width != null && skeletonData.height != null)
|
|
195
|
+
this.setContentSize(skeletonData.width / cc.director.getContentScaleFactor(), skeletonData.height / cc.director.getContentScaleFactor());
|
|
196
|
+
this._skeleton = new Skeleton(skeletonData);
|
|
197
|
+
this._skeleton.updateWorldTransform(Physics.pose);
|
|
198
|
+
this._rootBone = this._skeleton.getRootBone();
|
|
199
|
+
this._ownsSkeletonData = ownsSkeletonData;
|
|
200
|
+
if (this._renderCmd && typeof this._renderCmd._createChildFormSkeletonData === 'function') {
|
|
201
|
+
this._renderCmd._createChildFormSkeletonData();
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
getTextureAtlas(regionAttachment) {
|
|
205
|
+
return regionAttachment.region;
|
|
206
|
+
}
|
|
207
|
+
getBlendFunc() {
|
|
208
|
+
const slot = this._skeleton.drawOrder[0];
|
|
209
|
+
if (slot) {
|
|
210
|
+
const blend = this._renderCmd && typeof this._renderCmd._getBlendFunc === 'function'
|
|
211
|
+
? this._renderCmd._getBlendFunc(slot.data.blendMode, this._premultipliedAlpha)
|
|
212
|
+
: {};
|
|
213
|
+
return blend;
|
|
214
|
+
}
|
|
215
|
+
else {
|
|
216
|
+
return {};
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
setBlendFunc() {
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
update(dt) {
|
|
223
|
+
this._skeleton.update(dt);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
cc.defineGetterSetter(CCSkeleton.prototype, 'opacityModifyRGB', CCSkeleton.prototype.isOpacityModifyRGB);
|
|
227
|
+
// For renderer webgl to identify skeleton's default texture and blend function
|
|
228
|
+
cc.defineGetterSetter(CCSkeleton.prototype, '_blendFunc', CCSkeleton.prototype.getBlendFunc);
|
|
229
|
+
cc.defineGetterSetter(CCSkeleton.prototype, '_texture', function () {
|
|
230
|
+
return this._renderCmd._currTexture;
|
|
231
|
+
});
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Animation, AnimationState, AnimationStateData } from '@esotericsoftware/spine-core';
|
|
2
|
+
import { CCSkeleton } from './CCSkeleton';
|
|
3
|
+
import { SkeletonTexture } from './CCSkeletonTexture';
|
|
4
|
+
/****************************************************************************
|
|
5
|
+
Copyright (c) 2011-2012 cocos2d-x.org
|
|
6
|
+
Copyright (c) 2013-2014 Chukong Technologies Inc.
|
|
7
|
+
Copyright (c) 2014 Shengxiang Chen (Nero Chan)
|
|
8
|
+
|
|
9
|
+
http://www.cocos2d-x.org
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions:
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in
|
|
19
|
+
all copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
27
|
+
THE SOFTWARE.
|
|
28
|
+
****************************************************************************/
|
|
29
|
+
export declare const _atlasLoader: {
|
|
30
|
+
spAtlasFile: any;
|
|
31
|
+
setAtlasFile: (spAtlasFile: any) => void;
|
|
32
|
+
load: (line: any) => SkeletonTexture;
|
|
33
|
+
unload: () => void;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* The event type of spine skeleton animation. It contains event types: START(0), END(1), COMPLETE(2), EVENT(3).
|
|
37
|
+
* @constant
|
|
38
|
+
* @type {{START: number, END: number, COMPLETE: number, EVENT: number}}
|
|
39
|
+
*/
|
|
40
|
+
export declare const ANIMATION_EVENT_TYPE: {
|
|
41
|
+
START: number;
|
|
42
|
+
INTERRUPT: number;
|
|
43
|
+
END: number;
|
|
44
|
+
DISPOSE: number;
|
|
45
|
+
COMPLETE: number;
|
|
46
|
+
EVENT: number;
|
|
47
|
+
};
|
|
48
|
+
export declare const TrackEntryListeners: {
|
|
49
|
+
(startListener?: any, endListener?: any, completeListener?: any, eventListener?: any, interruptListener?: any, disposeListener?: any): void;
|
|
50
|
+
getListeners(entry: any): any;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* The skeleton animation of It updates animation's state and skeleton's world transform.
|
|
54
|
+
* @class
|
|
55
|
+
* @extends Skeleton
|
|
56
|
+
* @example
|
|
57
|
+
* var spineBoy = new SkeletonAnimation('res/skeletons/spineboy.json', 'res/skeletons/spineboy.atlas');
|
|
58
|
+
* this.addChild(spineBoy, 4);
|
|
59
|
+
*/
|
|
60
|
+
export declare class SkeletonAnimation extends CCSkeleton {
|
|
61
|
+
init(): boolean;
|
|
62
|
+
setAnimationStateData(stateData: AnimationStateData): void;
|
|
63
|
+
setMix(fromAnimation: Animation, toAnimation: Animation, duration: number): void;
|
|
64
|
+
setAnimationListener(target: any, callback: Function): void;
|
|
65
|
+
setAnimation(trackIndex: number, name: string, loop: boolean): import("@esotericsoftware/spine-core").TrackEntry;
|
|
66
|
+
addAnimation(trackIndex: number, name: string, loop: boolean, delay?: number): import("@esotericsoftware/spine-core").TrackEntry;
|
|
67
|
+
findAnimation(name: string): Animation;
|
|
68
|
+
getCurrent(trackIndex: number): import("@esotericsoftware/spine-core").TrackEntry;
|
|
69
|
+
clearTracks(): void;
|
|
70
|
+
clearTrack(trackIndex: number): void;
|
|
71
|
+
update(dt: number): void;
|
|
72
|
+
setStartListener(listener: Function): void;
|
|
73
|
+
setInterruptListener(listener: Function): void;
|
|
74
|
+
setEndListener(listener: Function): void;
|
|
75
|
+
setDisposeListener(listener: Function): void;
|
|
76
|
+
setCompleteListener(listener: Function): void;
|
|
77
|
+
setEventListener(listener: Function): void;
|
|
78
|
+
setTrackStartListener(entry: any, listener: Function): void;
|
|
79
|
+
setTrackInterruptListener(entry: any, listener: Function): void;
|
|
80
|
+
setTrackEndListener(entry: any, listener: Function): void;
|
|
81
|
+
setTrackDisposeListener(entry: any, listener: Function): void;
|
|
82
|
+
setTrackCompleteListener(entry: any, listener: Function): void;
|
|
83
|
+
setTrackEventListener(entry: any, listener: Function): void;
|
|
84
|
+
getState(): AnimationState;
|
|
85
|
+
static createWithJsonFile(skeletonDataFile: any, atlasFile: any, scale?: any): SkeletonAnimation;
|
|
86
|
+
static createWithBinaryFile(skeletonDataFile: any, atlasFile: any, scale?: any): SkeletonAnimation;
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=CCSkeletonAnimation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCSkeletonAnimation.d.ts","sourceRoot":"","sources":["../../../src/spine/spine-cocos/CCSkeletonAnimation.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,cAAc,EACd,kBAAkB,EAKnB,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD;;;;;;;;;;;;;;;;;;;;;;;;8EAwB8E;AAE9E,eAAO,MAAM,YAAY;;;;;CAaxB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;CAOhC,CAAA;AAED,eAAO,MAAM,mBAAmB;;;CAiB/B,CAAA;AAiED;;;;;;;GAOG;AAEH,qBAAa,iBAAkB,SAAQ,UAAU;IAC/C,IAAI,IAAI,OAAO;IAOf,qBAAqB,CAAC,SAAS,EAAE,kBAAkB;IAOnD,MAAM,CAAC,aAAa,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM;IAIzE,oBAAoB,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ;IAMpD,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO;IAS5D,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM;IAU5E,aAAa,CAAC,IAAI,EAAE,MAAM;IAI1B,UAAU,CAAC,UAAU,EAAE,MAAM;IAI7B,WAAW;IAIX,UAAU,CAAC,UAAU,EAAE,MAAM;IAI7B,MAAM,CAAC,EAAE,EAAE,MAAM;IAcjB,gBAAgB,CAAC,QAAQ,EAAE,QAAQ;IAInC,oBAAoB,CAAC,QAAQ,EAAE,QAAQ;IAIvC,cAAc,CAAC,QAAQ,EAAE,QAAQ;IAIjC,kBAAkB,CAAC,QAAQ,EAAE,QAAQ;IAIrC,mBAAmB,CAAC,QAAQ,EAAE,QAAQ;IAItC,gBAAgB,CAAC,QAAQ,EAAE,QAAQ;IAInC,qBAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ;IAIpD,yBAAyB,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ;IAIxD,mBAAmB,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ;IAIlD,uBAAuB,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ;IAItD,wBAAwB,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ;IAIvD,qBAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ;IAIpD,QAAQ;IAIR,MAAM,CAAC,kBAAkB,CAAC,gBAAgB,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,GAAG;IAI5E,MAAM,CAAC,oBAAoB,CAAC,gBAAgB,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,GAAG;CAc/E"}
|