custom-pixi-particles 7.0.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/package.json +3 -4
- package/dist/index.d.ts +0 -15
- package/dist/index.js +0 -45
- package/dist/index.js.map +0 -1
- package/dist/lib/Model.d.ts +0 -32
- package/dist/lib/Model.js +0 -44
- package/dist/lib/Model.js.map +0 -1
- package/dist/lib/Particle.d.ts +0 -234
- package/dist/lib/Particle.js +0 -201
- package/dist/lib/Particle.js.map +0 -1
- package/dist/lib/ParticlePool.d.ts +0 -37
- package/dist/lib/ParticlePool.js +0 -56
- package/dist/lib/ParticlePool.js.map +0 -1
- package/dist/lib/behaviour/AngularVelocityBehaviour.d.ts +0 -61
- package/dist/lib/behaviour/AngularVelocityBehaviour.js +0 -118
- package/dist/lib/behaviour/AngularVelocityBehaviour.js.map +0 -1
- package/dist/lib/behaviour/AttractionRepulsionBehaviour.d.ts +0 -42
- package/dist/lib/behaviour/AttractionRepulsionBehaviour.js +0 -78
- package/dist/lib/behaviour/AttractionRepulsionBehaviour.js.map +0 -1
- package/dist/lib/behaviour/Behaviour.d.ts +0 -33
- package/dist/lib/behaviour/Behaviour.js +0 -45
- package/dist/lib/behaviour/Behaviour.js.map +0 -1
- package/dist/lib/behaviour/BehaviourNames.d.ts +0 -22
- package/dist/lib/behaviour/BehaviourNames.js +0 -23
- package/dist/lib/behaviour/BehaviourNames.js.map +0 -1
- package/dist/lib/behaviour/CollisionBehaviour.d.ts +0 -86
- package/dist/lib/behaviour/CollisionBehaviour.js +0 -140
- package/dist/lib/behaviour/CollisionBehaviour.js.map +0 -1
- package/dist/lib/behaviour/ColorBehaviour.d.ts +0 -67
- package/dist/lib/behaviour/ColorBehaviour.js +0 -193
- package/dist/lib/behaviour/ColorBehaviour.js.map +0 -1
- package/dist/lib/behaviour/EmitDirectionBehaviour.d.ts +0 -52
- package/dist/lib/behaviour/EmitDirectionBehaviour.js +0 -105
- package/dist/lib/behaviour/EmitDirectionBehaviour.js.map +0 -1
- package/dist/lib/behaviour/EmitterBehaviours.d.ts +0 -69
- package/dist/lib/behaviour/EmitterBehaviours.js +0 -116
- package/dist/lib/behaviour/EmitterBehaviours.js.map +0 -1
- package/dist/lib/behaviour/ForceFieldsBehaviour.d.ts +0 -53
- package/dist/lib/behaviour/ForceFieldsBehaviour.js +0 -80
- package/dist/lib/behaviour/ForceFieldsBehaviour.js.map +0 -1
- package/dist/lib/behaviour/GroupingBehaviour.d.ts +0 -57
- package/dist/lib/behaviour/GroupingBehaviour.js +0 -143
- package/dist/lib/behaviour/GroupingBehaviour.js.map +0 -1
- package/dist/lib/behaviour/LifeBehaviour.d.ts +0 -47
- package/dist/lib/behaviour/LifeBehaviour.js +0 -65
- package/dist/lib/behaviour/LifeBehaviour.js.map +0 -1
- package/dist/lib/behaviour/LightEffectBehaviour.d.ts +0 -59
- package/dist/lib/behaviour/LightEffectBehaviour.js +0 -94
- package/dist/lib/behaviour/LightEffectBehaviour.js.map +0 -1
- package/dist/lib/behaviour/NoiseBasedMotionBehaviour.d.ts +0 -35
- package/dist/lib/behaviour/NoiseBasedMotionBehaviour.js +0 -93
- package/dist/lib/behaviour/NoiseBasedMotionBehaviour.js.map +0 -1
- package/dist/lib/behaviour/PositionBehaviour.d.ts +0 -164
- package/dist/lib/behaviour/PositionBehaviour.js +0 -484
- package/dist/lib/behaviour/PositionBehaviour.js.map +0 -1
- package/dist/lib/behaviour/RotationBehaviour.d.ts +0 -59
- package/dist/lib/behaviour/RotationBehaviour.js +0 -100
- package/dist/lib/behaviour/RotationBehaviour.js.map +0 -1
- package/dist/lib/behaviour/SizeBehaviour.d.ts +0 -61
- package/dist/lib/behaviour/SizeBehaviour.js +0 -156
- package/dist/lib/behaviour/SizeBehaviour.js.map +0 -1
- package/dist/lib/behaviour/SoundReactiveBehaviour.d.ts +0 -58
- package/dist/lib/behaviour/SoundReactiveBehaviour.js +0 -132
- package/dist/lib/behaviour/SoundReactiveBehaviour.js.map +0 -1
- package/dist/lib/behaviour/SpawnBehaviour.d.ts +0 -89
- package/dist/lib/behaviour/SpawnBehaviour.js +0 -705
- package/dist/lib/behaviour/SpawnBehaviour.js.map +0 -1
- package/dist/lib/behaviour/StretchBehaviour.d.ts +0 -30
- package/dist/lib/behaviour/StretchBehaviour.js +0 -59
- package/dist/lib/behaviour/StretchBehaviour.js.map +0 -1
- package/dist/lib/behaviour/TemperatureBehaviour.d.ts +0 -47
- package/dist/lib/behaviour/TemperatureBehaviour.js +0 -64
- package/dist/lib/behaviour/TemperatureBehaviour.js.map +0 -1
- package/dist/lib/behaviour/TimelineBehaviour.d.ts +0 -73
- package/dist/lib/behaviour/TimelineBehaviour.js +0 -100
- package/dist/lib/behaviour/TimelineBehaviour.js.map +0 -1
- package/dist/lib/behaviour/TurbulenceBehaviour.d.ts +0 -73
- package/dist/lib/behaviour/TurbulenceBehaviour.js +0 -133
- package/dist/lib/behaviour/TurbulenceBehaviour.js.map +0 -1
- package/dist/lib/behaviour/index.d.ts +0 -23
- package/dist/lib/behaviour/index.js +0 -24
- package/dist/lib/behaviour/index.js.map +0 -1
- package/dist/lib/customPixiParticlesSettingsInterface.d.ts +0 -19
- package/dist/lib/customPixiParticlesSettingsInterface.js +0 -2
- package/dist/lib/customPixiParticlesSettingsInterface.js.map +0 -1
- package/dist/lib/emission/AbstractEmission.d.ts +0 -30
- package/dist/lib/emission/AbstractEmission.js +0 -39
- package/dist/lib/emission/AbstractEmission.js.map +0 -1
- package/dist/lib/emission/EmissionTypes.d.ts +0 -6
- package/dist/lib/emission/EmissionTypes.js +0 -6
- package/dist/lib/emission/EmissionTypes.js.map +0 -1
- package/dist/lib/emission/RandomEmission.d.ts +0 -44
- package/dist/lib/emission/RandomEmission.js +0 -66
- package/dist/lib/emission/RandomEmission.js.map +0 -1
- package/dist/lib/emission/StandardEmission.d.ts +0 -62
- package/dist/lib/emission/StandardEmission.js +0 -87
- package/dist/lib/emission/StandardEmission.js.map +0 -1
- package/dist/lib/emission/UniformEmission.d.ts +0 -56
- package/dist/lib/emission/UniformEmission.js +0 -83
- package/dist/lib/emission/UniformEmission.js.map +0 -1
- package/dist/lib/emission/index.d.ts +0 -6
- package/dist/lib/emission/index.js +0 -7
- package/dist/lib/emission/index.js.map +0 -1
- package/dist/lib/emitter/Duration.d.ts +0 -27
- package/dist/lib/emitter/Duration.js +0 -41
- package/dist/lib/emitter/Duration.js.map +0 -1
- package/dist/lib/emitter/Emitter.d.ts +0 -116
- package/dist/lib/emitter/Emitter.js +0 -240
- package/dist/lib/emitter/Emitter.js.map +0 -1
- package/dist/lib/emitter/index.d.ts +0 -3
- package/dist/lib/emitter/index.js +0 -4
- package/dist/lib/emitter/index.js.map +0 -1
- package/dist/lib/index.d.ts +0 -20
- package/dist/lib/index.js +0 -21
- package/dist/lib/index.js.map +0 -1
- package/dist/lib/parser/BehaviourParser.d.ts +0 -21
- package/dist/lib/parser/BehaviourParser.js +0 -72
- package/dist/lib/parser/BehaviourParser.js.map +0 -1
- package/dist/lib/parser/CompatibilityHelper.d.ts +0 -12
- package/dist/lib/parser/CompatibilityHelper.js +0 -19
- package/dist/lib/parser/CompatibilityHelper.js.map +0 -1
- package/dist/lib/parser/EmitControllerParser.d.ts +0 -27
- package/dist/lib/parser/EmitControllerParser.js +0 -39
- package/dist/lib/parser/EmitControllerParser.js.map +0 -1
- package/dist/lib/parser/EmitterParser.d.ts +0 -67
- package/dist/lib/parser/EmitterParser.js +0 -168
- package/dist/lib/parser/EmitterParser.js.map +0 -1
- package/dist/lib/parser/index.d.ts +0 -5
- package/dist/lib/parser/index.js +0 -6
- package/dist/lib/parser/index.js.map +0 -1
- package/dist/lib/pixi/Renderer.d.ts +0 -125
- package/dist/lib/pixi/Renderer.js +0 -566
- package/dist/lib/pixi/Renderer.js.map +0 -1
- package/dist/lib/pixi/TestRenderer.d.ts +0 -125
- package/dist/lib/pixi/TestRenderer.js +0 -560
- package/dist/lib/pixi/TestRenderer.js.map +0 -1
- package/dist/lib/util/Color.d.ts +0 -133
- package/dist/lib/util/Color.js +0 -173
- package/dist/lib/util/Color.js.map +0 -1
- package/dist/lib/util/List.d.ts +0 -49
- package/dist/lib/util/List.js +0 -87
- package/dist/lib/util/List.js.map +0 -1
- package/dist/lib/util/MinMax.d.ts +0 -34
- package/dist/lib/util/MinMax.js +0 -46
- package/dist/lib/util/MinMax.js.map +0 -1
- package/dist/lib/util/Point.d.ts +0 -34
- package/dist/lib/util/Point.js +0 -46
- package/dist/lib/util/Point.js.map +0 -1
- package/dist/lib/util/Random.d.ts +0 -24
- package/dist/lib/util/Random.js +0 -30
- package/dist/lib/util/Random.js.map +0 -1
- package/dist/lib/util/ThereBack.d.ts +0 -14
- package/dist/lib/util/ThereBack.js +0 -23
- package/dist/lib/util/ThereBack.js.map +0 -1
- package/dist/lib/util/index.d.ts +0 -5
- package/dist/lib/util/index.js +0 -6
- package/dist/lib/util/index.js.map +0 -1
- package/dist/lib/util/maths.d.ts +0 -10
- package/dist/lib/util/maths.js +0 -13
- package/dist/lib/util/maths.js.map +0 -1
- package/dist/lib/util/turbulencePool.d.ts +0 -4
- package/dist/lib/util/turbulencePool.js +0 -7
- package/dist/lib/util/turbulencePool.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TestRenderer.js","sourceRoot":"","sources":["../../../src/lib/pixi/TestRenderer.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,OAAO,MAAM,MAAM,UAAU,CAAA;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,IAAI,MAAM,cAAc,CAAA;AAC/B,OAAO,YAAY,MAAM,iBAAiB,CAAA;AAG1C,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC3F,OA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D,cAAc,EAAE;gBACd,aAAa,EAAE,CAAC;gBAChB,QAAQ,EAAE,CAAC;gBACX,cAAc,EAAE,gBAAgB,CAAC,aAAa,IAAI,CAAC;gBACnD,OAAO,EAAE,CAAC;gBACV,IAAI,EAAE,iBAAiB;aACxB;YACD,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,IAAI,CAAC,CAAC;SAC1C,CAAA;IACH,CAAC;CACF"}
|
package/dist/lib/util/Color.d.ts
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @class Color
|
|
3
|
-
* @classdesc The Color class is used for representing colors
|
|
4
|
-
* @property {number} r - The red component of the color
|
|
5
|
-
* @property {number} g - The green component of the color
|
|
6
|
-
* @property {number} b - The blue component of the color
|
|
7
|
-
* @property {number} alpha - The alpha component of the color
|
|
8
|
-
* @property {number} hex - The hex representation of the color
|
|
9
|
-
* @constructor
|
|
10
|
-
* @param {number} [r=0] - The red component of the color
|
|
11
|
-
* @param {number} [g=0] - The green component of the color
|
|
12
|
-
* @param {number} [b=0] - The blue component of the color
|
|
13
|
-
* @param {number} [alpha=1] - The alpha component of the color
|
|
14
|
-
*/
|
|
15
|
-
export default class Color {
|
|
16
|
-
private _r;
|
|
17
|
-
private _g;
|
|
18
|
-
private _b;
|
|
19
|
-
private _alpha;
|
|
20
|
-
constructor(r?: number, g?: number, b?: number, alpha?: number);
|
|
21
|
-
/**
|
|
22
|
-
* @function r
|
|
23
|
-
* @memberof Color
|
|
24
|
-
* @description Gets the red component of the Color object
|
|
25
|
-
* @returns {number} The red component of the Color object
|
|
26
|
-
*/
|
|
27
|
-
get r(): number;
|
|
28
|
-
/**
|
|
29
|
-
* @function r
|
|
30
|
-
* @memberof Color
|
|
31
|
-
* @description Sets the red component of the Color object
|
|
32
|
-
* @param {number} value - The red component value to set
|
|
33
|
-
*/
|
|
34
|
-
set r(value: number);
|
|
35
|
-
/**
|
|
36
|
-
* @function g
|
|
37
|
-
* @memberof Color
|
|
38
|
-
* @description Gets the green component of the Color object
|
|
39
|
-
* @returns {number} The green component of the Color object
|
|
40
|
-
*/
|
|
41
|
-
get g(): number;
|
|
42
|
-
/**
|
|
43
|
-
* @function g
|
|
44
|
-
* @memberof Color
|
|
45
|
-
* @description Sets the green component of the Color object
|
|
46
|
-
* @param {number} value - The green component value to set
|
|
47
|
-
*/
|
|
48
|
-
set g(value: number);
|
|
49
|
-
/**
|
|
50
|
-
* @function b
|
|
51
|
-
* @memberof Color
|
|
52
|
-
* @description Gets the blue component of the Color object
|
|
53
|
-
* @returns {number} The blue component of the Color object
|
|
54
|
-
*/
|
|
55
|
-
get b(): number;
|
|
56
|
-
/**
|
|
57
|
-
* @function b
|
|
58
|
-
* @memberof Color
|
|
59
|
-
* @description Sets the blue component of the Color object
|
|
60
|
-
* @param {number} value - The blue component value to set
|
|
61
|
-
*/
|
|
62
|
-
set b(value: number);
|
|
63
|
-
/**
|
|
64
|
-
* @function alpha
|
|
65
|
-
* @memberof Color
|
|
66
|
-
* @description Gets the alpha value of the Color object
|
|
67
|
-
* @returns {number} The alpha value of the Color object
|
|
68
|
-
*/
|
|
69
|
-
get alpha(): number;
|
|
70
|
-
/**
|
|
71
|
-
* @function hex
|
|
72
|
-
* @memberof Color
|
|
73
|
-
* @description Gets the Color object's hex value
|
|
74
|
-
* @returns {number} The hex value of the Color object
|
|
75
|
-
*/
|
|
76
|
-
set alpha(value: number);
|
|
77
|
-
/**
|
|
78
|
-
* @function hex
|
|
79
|
-
* @memberof Color
|
|
80
|
-
* @description Gets the Color object's hex value
|
|
81
|
-
* @returns {number} The hex value of the Color object
|
|
82
|
-
*/
|
|
83
|
-
get hex(): number;
|
|
84
|
-
/**
|
|
85
|
-
* @function hex
|
|
86
|
-
* @memberof Color
|
|
87
|
-
* @description Sets the Color object's value from a hex value
|
|
88
|
-
* @param {number} value - The hex value to set the Color object from
|
|
89
|
-
*/
|
|
90
|
-
set hex(value: number);
|
|
91
|
-
/**
|
|
92
|
-
* @function copyFrom
|
|
93
|
-
* @memberof Color
|
|
94
|
-
* @description Copies the values of an IColor object to the Color object
|
|
95
|
-
* @param {IColor} color - The IColor object to copy from
|
|
96
|
-
*/
|
|
97
|
-
copyFrom: (color: IColor) => void;
|
|
98
|
-
/**
|
|
99
|
-
* @function copyFromRawData
|
|
100
|
-
* @memberof Color
|
|
101
|
-
* @description Copies the values of a raw data object to the Color object
|
|
102
|
-
* @param {object} data - The raw data object to copy from
|
|
103
|
-
*/
|
|
104
|
-
copyFromRawData: (data: {
|
|
105
|
-
_r: number;
|
|
106
|
-
_g: number;
|
|
107
|
-
_b: number;
|
|
108
|
-
_alpha: number;
|
|
109
|
-
}) => void;
|
|
110
|
-
/**
|
|
111
|
-
* @function add
|
|
112
|
-
* @memberof Color
|
|
113
|
-
* @description Adds the values of a color object to the Color object
|
|
114
|
-
* @param {IColor} color - The IColor object to add
|
|
115
|
-
*/
|
|
116
|
-
add: (color: IColor) => void;
|
|
117
|
-
/**
|
|
118
|
-
* @function set
|
|
119
|
-
* @memberof Color
|
|
120
|
-
* @description Sets the values of the color object
|
|
121
|
-
* @param {number} r - The red component of the color
|
|
122
|
-
* @param {number} g - The green component of the color
|
|
123
|
-
* @param {number} b - The blue component of the color
|
|
124
|
-
* @param {number} alpha - The alpha component of the color
|
|
125
|
-
*/
|
|
126
|
-
set: (r: number, g: number, b: number, alpha: number) => void;
|
|
127
|
-
}
|
|
128
|
-
export interface IColor {
|
|
129
|
-
r: number;
|
|
130
|
-
g: number;
|
|
131
|
-
b: number;
|
|
132
|
-
alpha: number;
|
|
133
|
-
}
|
package/dist/lib/util/Color.js
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @class Color
|
|
3
|
-
* @classdesc The Color class is used for representing colors
|
|
4
|
-
* @property {number} r - The red component of the color
|
|
5
|
-
* @property {number} g - The green component of the color
|
|
6
|
-
* @property {number} b - The blue component of the color
|
|
7
|
-
* @property {number} alpha - The alpha component of the color
|
|
8
|
-
* @property {number} hex - The hex representation of the color
|
|
9
|
-
* @constructor
|
|
10
|
-
* @param {number} [r=0] - The red component of the color
|
|
11
|
-
* @param {number} [g=0] - The green component of the color
|
|
12
|
-
* @param {number} [b=0] - The blue component of the color
|
|
13
|
-
* @param {number} [alpha=1] - The alpha component of the color
|
|
14
|
-
*/
|
|
15
|
-
export default class Color {
|
|
16
|
-
constructor(r, g, b, alpha) {
|
|
17
|
-
/**
|
|
18
|
-
* @function copyFrom
|
|
19
|
-
* @memberof Color
|
|
20
|
-
* @description Copies the values of an IColor object to the Color object
|
|
21
|
-
* @param {IColor} color - The IColor object to copy from
|
|
22
|
-
*/
|
|
23
|
-
this.copyFrom = (color) => {
|
|
24
|
-
this.r = color.r;
|
|
25
|
-
this.g = color.g;
|
|
26
|
-
this.b = color.b;
|
|
27
|
-
this.alpha = color.alpha;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @function copyFromRawData
|
|
31
|
-
* @memberof Color
|
|
32
|
-
* @description Copies the values of a raw data object to the Color object
|
|
33
|
-
* @param {object} data - The raw data object to copy from
|
|
34
|
-
*/
|
|
35
|
-
this.copyFromRawData = (data) => {
|
|
36
|
-
this.r = data._r;
|
|
37
|
-
this.g = data._g;
|
|
38
|
-
this.b = data._b;
|
|
39
|
-
this.alpha = data._alpha;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* @function add
|
|
43
|
-
* @memberof Color
|
|
44
|
-
* @description Adds the values of a color object to the Color object
|
|
45
|
-
* @param {IColor} color - The IColor object to add
|
|
46
|
-
*/
|
|
47
|
-
this.add = (color) => {
|
|
48
|
-
this.r += color.r;
|
|
49
|
-
this.g += color.g;
|
|
50
|
-
this.b += color.b;
|
|
51
|
-
this.alpha += color.alpha;
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* @function set
|
|
55
|
-
* @memberof Color
|
|
56
|
-
* @description Sets the values of the color object
|
|
57
|
-
* @param {number} r - The red component of the color
|
|
58
|
-
* @param {number} g - The green component of the color
|
|
59
|
-
* @param {number} b - The blue component of the color
|
|
60
|
-
* @param {number} alpha - The alpha component of the color
|
|
61
|
-
*/
|
|
62
|
-
this.set = (r, g, b, alpha) => {
|
|
63
|
-
this.r = r || 0;
|
|
64
|
-
this.g = g || 0;
|
|
65
|
-
this.b = b || 0;
|
|
66
|
-
this.alpha = alpha;
|
|
67
|
-
};
|
|
68
|
-
this.r = r || 0;
|
|
69
|
-
this.g = g || 0;
|
|
70
|
-
this.b = b || 0;
|
|
71
|
-
this.alpha = alpha || 1;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* @function r
|
|
75
|
-
* @memberof Color
|
|
76
|
-
* @description Gets the red component of the Color object
|
|
77
|
-
* @returns {number} The red component of the Color object
|
|
78
|
-
*/
|
|
79
|
-
get r() {
|
|
80
|
-
return this._r;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* @function r
|
|
84
|
-
* @memberof Color
|
|
85
|
-
* @description Sets the red component of the Color object
|
|
86
|
-
* @param {number} value - The red component value to set
|
|
87
|
-
*/
|
|
88
|
-
set r(value) {
|
|
89
|
-
const newValue = value === undefined ? 0 : value;
|
|
90
|
-
this._r = newValue;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* @function g
|
|
94
|
-
* @memberof Color
|
|
95
|
-
* @description Gets the green component of the Color object
|
|
96
|
-
* @returns {number} The green component of the Color object
|
|
97
|
-
*/
|
|
98
|
-
get g() {
|
|
99
|
-
return this._g;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* @function g
|
|
103
|
-
* @memberof Color
|
|
104
|
-
* @description Sets the green component of the Color object
|
|
105
|
-
* @param {number} value - The green component value to set
|
|
106
|
-
*/
|
|
107
|
-
set g(value) {
|
|
108
|
-
const newValue = value === undefined ? 0 : value;
|
|
109
|
-
this._g = newValue;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* @function b
|
|
113
|
-
* @memberof Color
|
|
114
|
-
* @description Gets the blue component of the Color object
|
|
115
|
-
* @returns {number} The blue component of the Color object
|
|
116
|
-
*/
|
|
117
|
-
get b() {
|
|
118
|
-
return this._b;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* @function b
|
|
122
|
-
* @memberof Color
|
|
123
|
-
* @description Sets the blue component of the Color object
|
|
124
|
-
* @param {number} value - The blue component value to set
|
|
125
|
-
*/
|
|
126
|
-
set b(value) {
|
|
127
|
-
const newValue = value === undefined ? 0 : value;
|
|
128
|
-
this._b = newValue;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* @function alpha
|
|
132
|
-
* @memberof Color
|
|
133
|
-
* @description Gets the alpha value of the Color object
|
|
134
|
-
* @returns {number} The alpha value of the Color object
|
|
135
|
-
*/
|
|
136
|
-
get alpha() {
|
|
137
|
-
return this._alpha;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* @function hex
|
|
141
|
-
* @memberof Color
|
|
142
|
-
* @description Gets the Color object's hex value
|
|
143
|
-
* @returns {number} The hex value of the Color object
|
|
144
|
-
*/
|
|
145
|
-
set alpha(value) {
|
|
146
|
-
const newValue = value === undefined ? 1 : value;
|
|
147
|
-
this._alpha = newValue;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* @function hex
|
|
151
|
-
* @memberof Color
|
|
152
|
-
* @description Gets the Color object's hex value
|
|
153
|
-
* @returns {number} The hex value of the Color object
|
|
154
|
-
*/
|
|
155
|
-
get hex() {
|
|
156
|
-
let hex = this.r << 16;
|
|
157
|
-
hex = hex | (this.g << 8);
|
|
158
|
-
hex = hex | this.b;
|
|
159
|
-
return hex;
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* @function hex
|
|
163
|
-
* @memberof Color
|
|
164
|
-
* @description Sets the Color object's value from a hex value
|
|
165
|
-
* @param {number} value - The hex value to set the Color object from
|
|
166
|
-
*/
|
|
167
|
-
set hex(value) {
|
|
168
|
-
this.r = (value & 0xff0000) >> 16;
|
|
169
|
-
this.g = (value & 0xff00) >> 8;
|
|
170
|
-
this.b = value & 0xff;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
//# sourceMappingURL=Color.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Color.js","sourceRoot":"","sources":["../../../src/lib/util/Color.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,OAAO,OAAO,KAAK;IAMxB,YAAY,CAAU,EAAE,CAAU,EAAE,CAAU,EAAE,KAAc;QAoH9D;;;;;WAKG;QACH,aAAQ,GAAG,CAAC,KAAa,EAAE,EAAE;YAC3B,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAA;YAChB,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAA;YAChB,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAA;YAChB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAA;QAC1B,CAAC,CAAA;QAED;;;;;WAKG;QACH,oBAAe,GAAG,CAAC,IAA4D,EAAE,EAAE;YACjF,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,CAAA;YAChB,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,CAAA;YAChB,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,CAAA;YAChB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,CAAA;QAC1B,CAAC,CAAA;QAED;;;;;WAKG;QACH,QAAG,GAAG,CAAC,KAAa,EAAE,EAAE;YACtB,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAA;YACjB,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAA;YACjB,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAA;YACjB,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,KAAK,CAAA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,KAAa;QACjB,MAAM,QAAQ,GAAG,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAA;QAChD,IAAI,CAAC,EAAE,GAAG,QAAQ,CAAA;IACpB,CAAC;IAED;;;;;OAKG;IACH,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAA;IACpB,CAAC;IAED;;;;;OAKG;IACH,IAAI,KAAK,CAAC,KAAa;QACrB,MAAM,QAAQ,GAAG,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAA;QAChD,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAA;IACxB,CAAC;IAED;;;;;OAKG;IACH,IAAI,GAAG;QACL,IAAI,GAAG,GAAG,IAAI,CAAC,CAAC,IAAI,EAAE,CAAA;QACtB,GAAG,GAAG,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAA;QACzB,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC,CAAC,CAAA;QAClB,OAAO,GAAG,CAAA;IACZ,CAAC;IAED;;;;;OAKG;IACH,IAAI,GAAG,CAAC,KAAa;QACnB,IAAI,CAAC,CAAC,GAAG,CAAC,KAAK,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAA;QACjC,IAAI,CAAC,CAAC,GAAG,CAAC,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;QAC9B,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,IAAI,CAAA;IACvB,CAAC;CAwDF"}
|
package/dist/lib/util/List.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* List is a class which allows items to be added, removed and iterated through.
|
|
3
|
-
*
|
|
4
|
-
* @class List
|
|
5
|
-
*/
|
|
6
|
-
export default class List {
|
|
7
|
-
/**
|
|
8
|
-
* Stores the first item of the list
|
|
9
|
-
*
|
|
10
|
-
* @member {any}
|
|
11
|
-
*/
|
|
12
|
-
first: any;
|
|
13
|
-
/**
|
|
14
|
-
* Stores the length of the list
|
|
15
|
-
*
|
|
16
|
-
* @member {number}
|
|
17
|
-
*/
|
|
18
|
-
length: number;
|
|
19
|
-
/**
|
|
20
|
-
* Returns true if the list is empty
|
|
21
|
-
*
|
|
22
|
-
* @returns {boolean}
|
|
23
|
-
*/
|
|
24
|
-
isEmpty(): boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Adds an item to the list
|
|
27
|
-
*
|
|
28
|
-
* @param {any} item
|
|
29
|
-
* @returns {any}
|
|
30
|
-
*/
|
|
31
|
-
add(item: any): any;
|
|
32
|
-
/**
|
|
33
|
-
* Iterates through the list, calling the callback for each item
|
|
34
|
-
*
|
|
35
|
-
* @param {any} callback
|
|
36
|
-
*/
|
|
37
|
-
forEach(callback: any): void;
|
|
38
|
-
/**
|
|
39
|
-
* Removes an item from the list
|
|
40
|
-
*
|
|
41
|
-
* @param {any} item
|
|
42
|
-
*/
|
|
43
|
-
remove(item: any): void;
|
|
44
|
-
/**
|
|
45
|
-
* Resets the list
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
reset(): void;
|
|
49
|
-
}
|
package/dist/lib/util/List.js
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* List is a class which allows items to be added, removed and iterated through.
|
|
3
|
-
*
|
|
4
|
-
* @class List
|
|
5
|
-
*/
|
|
6
|
-
export default class List {
|
|
7
|
-
constructor() {
|
|
8
|
-
/**
|
|
9
|
-
* Stores the first item of the list
|
|
10
|
-
*
|
|
11
|
-
* @member {any}
|
|
12
|
-
*/
|
|
13
|
-
this.first = null;
|
|
14
|
-
/**
|
|
15
|
-
* Stores the length of the list
|
|
16
|
-
*
|
|
17
|
-
* @member {number}
|
|
18
|
-
*/
|
|
19
|
-
this.length = 0;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Returns true if the list is empty
|
|
23
|
-
*
|
|
24
|
-
* @returns {boolean}
|
|
25
|
-
*/
|
|
26
|
-
isEmpty() {
|
|
27
|
-
return this.first === null;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Adds an item to the list
|
|
31
|
-
*
|
|
32
|
-
* @param {any} item
|
|
33
|
-
* @returns {any}
|
|
34
|
-
*/
|
|
35
|
-
add(item) {
|
|
36
|
-
item.prev = null;
|
|
37
|
-
item.next = null;
|
|
38
|
-
if (this.first) {
|
|
39
|
-
this.first.prev = item;
|
|
40
|
-
}
|
|
41
|
-
item.next = this.first;
|
|
42
|
-
this.first = item;
|
|
43
|
-
this.length++;
|
|
44
|
-
return item;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Iterates through the list, calling the callback for each item
|
|
48
|
-
*
|
|
49
|
-
* @param {any} callback
|
|
50
|
-
*/
|
|
51
|
-
forEach(callback) {
|
|
52
|
-
let current = this.first;
|
|
53
|
-
let next = null;
|
|
54
|
-
while (current) {
|
|
55
|
-
next = current.next;
|
|
56
|
-
callback(current);
|
|
57
|
-
current = next;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Removes an item from the list
|
|
62
|
-
*
|
|
63
|
-
* @param {any} item
|
|
64
|
-
*/
|
|
65
|
-
remove(item) {
|
|
66
|
-
const previous = item.prev;
|
|
67
|
-
const next = item.next;
|
|
68
|
-
if (previous)
|
|
69
|
-
previous.next = next;
|
|
70
|
-
if (next)
|
|
71
|
-
next.prev = previous;
|
|
72
|
-
if (this.first === item)
|
|
73
|
-
this.first = item.next;
|
|
74
|
-
item.prev = null;
|
|
75
|
-
item.next = null;
|
|
76
|
-
this.length--;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Resets the list
|
|
80
|
-
*
|
|
81
|
-
*/
|
|
82
|
-
reset() {
|
|
83
|
-
this.first = null;
|
|
84
|
-
this.length = 0;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
//# sourceMappingURL=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A;QAElC,IAAI,IAAI;YAAE,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAA;QAE9B,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI;YAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,CAAA;QAE/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,MAAM,EAAE,CAAA;IACf,CAAC;IAED;;;OAGG;IACH,KAAK;QACH,IAAI,CAAC,KAAK,GAAG,IAAI,CAAA;QACjB,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;IACjB,CAAC;CACF"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export default class MinMax {
|
|
2
|
-
min: number;
|
|
3
|
-
max: number;
|
|
4
|
-
constructor(min?: number, max?: number);
|
|
5
|
-
/**
|
|
6
|
-
* Sets the x and y coordinates of a Point
|
|
7
|
-
* @param {number} min - The x coordinate
|
|
8
|
-
* @param {number} max - The y coordinate
|
|
9
|
-
* @return {MinMax} - The MinMax instance
|
|
10
|
-
*/
|
|
11
|
-
set: (min: number, max: number) => this;
|
|
12
|
-
/**
|
|
13
|
-
* Copies the x and y coordinates from another Point
|
|
14
|
-
* @param {IMinMax} data - The Point instance to copy from
|
|
15
|
-
* @return {MinMax} - The MinMax instance
|
|
16
|
-
*/
|
|
17
|
-
copyFrom: (data: IMinMax) => this;
|
|
18
|
-
/**
|
|
19
|
-
* Copies the x and y coordinates from an object with numeric x and y properties
|
|
20
|
-
* @param {IMinMax} data - The object to copy from
|
|
21
|
-
* @return {MinMax} - The MinMax instance
|
|
22
|
-
*/
|
|
23
|
-
copyFromRawData: (data: IMinMax) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Adds the x and y coordinates of another Point to this Point
|
|
26
|
-
* @param {IMinMax} data - The other Point instance
|
|
27
|
-
* @return {MinMax} - The MinMax instance
|
|
28
|
-
*/
|
|
29
|
-
add: (data: IMinMax) => this;
|
|
30
|
-
}
|
|
31
|
-
export interface IMinMax {
|
|
32
|
-
min: number;
|
|
33
|
-
max: number;
|
|
34
|
-
}
|
package/dist/lib/util/MinMax.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export default class MinMax {
|
|
2
|
-
constructor(min, max) {
|
|
3
|
-
/**
|
|
4
|
-
* Sets the x and y coordinates of a Point
|
|
5
|
-
* @param {number} min - The x coordinate
|
|
6
|
-
* @param {number} max - The y coordinate
|
|
7
|
-
* @return {MinMax} - The MinMax instance
|
|
8
|
-
*/
|
|
9
|
-
this.set = (min, max) => {
|
|
10
|
-
this.min = min;
|
|
11
|
-
this.max = max === undefined ? this.max : max;
|
|
12
|
-
return this;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Copies the x and y coordinates from another Point
|
|
16
|
-
* @param {IMinMax} data - The Point instance to copy from
|
|
17
|
-
* @return {MinMax} - The MinMax instance
|
|
18
|
-
*/
|
|
19
|
-
this.copyFrom = (data) => {
|
|
20
|
-
this.min = data.min;
|
|
21
|
-
this.max = data.max;
|
|
22
|
-
return this;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Copies the x and y coordinates from an object with numeric x and y properties
|
|
26
|
-
* @param {IMinMax} data - The object to copy from
|
|
27
|
-
* @return {MinMax} - The MinMax instance
|
|
28
|
-
*/
|
|
29
|
-
this.copyFromRawData = (data) => {
|
|
30
|
-
this.copyFrom(data);
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Adds the x and y coordinates of another Point to this Point
|
|
34
|
-
* @param {IMinMax} data - The other Point instance
|
|
35
|
-
* @return {MinMax} - The MinMax instance
|
|
36
|
-
*/
|
|
37
|
-
this.add = (data) => {
|
|
38
|
-
this.min += data.min;
|
|
39
|
-
this.max += data.max;
|
|
40
|
-
return this;
|
|
41
|
-
};
|
|
42
|
-
this.min = min || 0;
|
|
43
|
-
this.max = max || 0;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=MinMax.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MinMax.js","sourceRoot":"","sources":["../../../src/lib/util/MinMax.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,MAAM;IAIzB,YAAY,GAAY,EAAE,GAAY;QAKtC;;;;;WAKG;QACH,QAAG,GAAG,CAAC,GAAW,EAAE,GAAW,EAAE,EAAE;YACjC,IAAI,CAAC,GAAG,GAAG,GAAG,CAAA;YACd,IAAI,CAAC,GAAG,GAAG,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAA;YAC7C,OAAO,IAAI,CAAA;QACb,CAAC,CAAA;QAED;;;;WAIG;QACH,aAAQ,GAAG,CAAC,IAAa,EAAE,EAAE;YAC3B,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAA;YACnB,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAA;YACnB,OAAO,IAAI,CAAA;QACb,CAAC,CAAA;QAED;;;;WAIG;QACH,oBAAe,GAAG,CAAC,IAAa,EAAE,EAAE;YAClC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;QACrB,CAAC,CAAA;QAED;;;;WAIG;QACH,QAAG,GAAG,CAAC,IAAa,EAAE,EAAE;YACtB,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,CAAA;YACpB,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,CAAA;YACpB,OAAO,IAAI,CAAA;QACb,CAAC,CAAA;QA7CC,IAAI,CAAC,GAAG,GAAG,GAAG,IAAI,CAAC,CAAA;QACnB,IAAI,CAAC,GAAG,GAAG,GAAG,IAAI,CAAC,CAAA;IACrB,CAAC;CA4CF"}
|
package/dist/lib/util/Point.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export default class Point {
|
|
2
|
-
x: number;
|
|
3
|
-
y: number;
|
|
4
|
-
constructor(x?: number, y?: number);
|
|
5
|
-
/**
|
|
6
|
-
* Sets the x and y coordinates of a Point
|
|
7
|
-
* @param {number} x - The x coordinate
|
|
8
|
-
* @param {number} y - The y coordinate
|
|
9
|
-
* @return {Point} - The Point instance
|
|
10
|
-
*/
|
|
11
|
-
set: (x: number, y: number) => this;
|
|
12
|
-
/**
|
|
13
|
-
* Copies the x and y coordinates from another Point
|
|
14
|
-
* @param {IPoint} point - The Point instance to copy from
|
|
15
|
-
* @return {Point} - The Point instance
|
|
16
|
-
*/
|
|
17
|
-
copyFrom: (point: IPoint) => this;
|
|
18
|
-
/**
|
|
19
|
-
* Copies the x and y coordinates from an object with numeric x and y properties
|
|
20
|
-
* @param {IPoint} data - The object to copy from
|
|
21
|
-
* @return {Point} - The Point instance
|
|
22
|
-
*/
|
|
23
|
-
copyFromRawData: (data: IPoint) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Adds the x and y coordinates of another Point to this Point
|
|
26
|
-
* @param {IPoint} point - The other Point instance
|
|
27
|
-
* @return {Point} - The Point instance
|
|
28
|
-
*/
|
|
29
|
-
add: (point: IPoint) => this;
|
|
30
|
-
}
|
|
31
|
-
export interface IPoint {
|
|
32
|
-
x: number;
|
|
33
|
-
y: number;
|
|
34
|
-
}
|
package/dist/lib/util/Point.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export default class Point {
|
|
2
|
-
constructor(x, y) {
|
|
3
|
-
/**
|
|
4
|
-
* Sets the x and y coordinates of a Point
|
|
5
|
-
* @param {number} x - The x coordinate
|
|
6
|
-
* @param {number} y - The y coordinate
|
|
7
|
-
* @return {Point} - The Point instance
|
|
8
|
-
*/
|
|
9
|
-
this.set = (x, y) => {
|
|
10
|
-
this.x = x;
|
|
11
|
-
this.y = y === undefined ? this.y : y;
|
|
12
|
-
return this;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Copies the x and y coordinates from another Point
|
|
16
|
-
* @param {IPoint} point - The Point instance to copy from
|
|
17
|
-
* @return {Point} - The Point instance
|
|
18
|
-
*/
|
|
19
|
-
this.copyFrom = (point) => {
|
|
20
|
-
this.x = point.x || 0;
|
|
21
|
-
this.y = point.y || 0;
|
|
22
|
-
return this;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Copies the x and y coordinates from an object with numeric x and y properties
|
|
26
|
-
* @param {IPoint} data - The object to copy from
|
|
27
|
-
* @return {Point} - The Point instance
|
|
28
|
-
*/
|
|
29
|
-
this.copyFromRawData = (data) => {
|
|
30
|
-
this.copyFrom(data);
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Adds the x and y coordinates of another Point to this Point
|
|
34
|
-
* @param {IPoint} point - The other Point instance
|
|
35
|
-
* @return {Point} - The Point instance
|
|
36
|
-
*/
|
|
37
|
-
this.add = (point) => {
|
|
38
|
-
this.x += point.x;
|
|
39
|
-
this.y += point.y;
|
|
40
|
-
return this;
|
|
41
|
-
};
|
|
42
|
-
this.x = x || 0;
|
|
43
|
-
this.y = y || 0;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=Point.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Point.js","sourceRoot":"","sources":["../../../src/lib/util/Point.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,KAAK;IAIxB,YAAY,CAAU,EAAE,CAAU;QAKlC;;;;;WAKG;QACH,QAAG,GAAG,CAAC,CAAS,EAAE,CAAS,EAAE,EAAE;YAC7B,IAAI,CAAC,CAAC,GAAG,CAAC,CAAA;YACV,IAAI,CAAC,CAAC,GAAG,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;YACrC,OAAO,IAAI,CAAA;QACb,CAAC,CAAA;QAED;;;;WAIG;QACH,aAAQ,GAAG,CAAC,KAAa,EAAE,EAAE;YAC3B,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,IAAI,CAAC,CAAA;YACrB,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,IAAI,CAAC,CAAA;YACrB,OAAO,IAAI,CAAA;QACb,CAAC,CAAA;QAED;;;;WAIG;QACH,oBAAe,GAAG,CAAC,IAAY,EAAE,EAAE;YACjC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;QACrB,CAAC,CAAA;QAED;;;;WAIG;QACH,QAAG,GAAG,CAAC,KAAa,EAAE,EAAE;YACtB,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAA;YACjB,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAA;YACjB,OAAO,IAAI,CAAA;QACb,CAAC,CAAA;QA7CC,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACf,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;IACjB,CAAC;CA4CF"}
|