@ue-too/animate 0.5.1

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/LICENSE.txt ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2023 niuee
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the “Software”), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
@@ -0,0 +1,39 @@
1
+ import { Point } from "@ue-too/math";
2
+ export type Keyframe<T> = {
3
+ percentage: number;
4
+ value: T;
5
+ easingFn?: (percentage: number) => number;
6
+ };
7
+ export interface AnimatableAttributeHelper<T> {
8
+ lerp(ratio: number, start: Keyframe<T>, end: Keyframe<T>): T;
9
+ }
10
+ export declare const pointHelperFunctions: AnimatableAttributeHelper<Point>;
11
+ export declare class PointAnimationHelper implements AnimatableAttributeHelper<Point> {
12
+ constructor();
13
+ lerp(ratio: number, start: Keyframe<Point>, end: Keyframe<Point>): Point;
14
+ }
15
+ export declare const numberHelperFunctions: AnimatableAttributeHelper<number>;
16
+ export declare class NumberAnimationHelper implements AnimatableAttributeHelper<number> {
17
+ constructor();
18
+ lerp(ratio: number, start: Keyframe<number>, end: Keyframe<number>): number;
19
+ }
20
+ export declare const stringHelperFunctions: AnimatableAttributeHelper<string>;
21
+ export declare class StringAnimationHelper implements AnimatableAttributeHelper<string> {
22
+ constructor();
23
+ lerp(ratio: number, start: Keyframe<string>, end: Keyframe<string>): string;
24
+ }
25
+ export declare const integerHelperFunctions: AnimatableAttributeHelper<number>;
26
+ export declare class IntegerAnimationHelper implements AnimatableAttributeHelper<number> {
27
+ constructor();
28
+ lerp(ratio: number, start: Keyframe<number>, end: Keyframe<number>): number;
29
+ }
30
+ export type RGB = {
31
+ r: number;
32
+ g: number;
33
+ b: number;
34
+ };
35
+ export declare const rgbHelperFunctions: AnimatableAttributeHelper<RGB>;
36
+ export declare class RGBAnimationHelper implements AnimatableAttributeHelper<RGB> {
37
+ constructor();
38
+ lerp(ratio: number, start: Keyframe<RGB>, end: Keyframe<RGB>): RGB;
39
+ }
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.full.d.ts","../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.d.ts","../../math/dist/index.d.ts","../src/animatable-attribute.ts","../src/composite-animation.ts","../src/index.ts","../../../node_modules/.pnpm/@jest+expect-utils@29.7.0/node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../../node_modules/.pnpm/@sinclair+typebox@0.27.8/node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/.pnpm/@jest+schemas@29.6.3/node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/.pnpm/pretty-format@29.7.0/node_modules/pretty-format/build/index.d.ts","../../../node_modules/.pnpm/jest-diff@29.7.0/node_modules/jest-diff/build/index.d.ts","../../../node_modules/.pnpm/jest-matcher-utils@29.7.0/node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/.pnpm/expect@29.7.0/node_modules/expect/build/index.d.ts","../../../node_modules/.pnpm/@types+jest@29.5.14/node_modules/@types/jest/index.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.13.4/node_modules/@types/node/index.d.ts"],"fileIdsList":[[71,114],[59,71,114],[61,64,71,114],[71,111,114],[71,113,114],[114],[71,114,119,149],[71,114,115,120,126,127,134,146,157],[71,114,115,116,126,134],[66,67,68,71,114],[71,114,117,158],[71,114,118,119,127,135],[71,114,119,146,154],[71,114,120,122,126,134],[71,113,114,121],[71,114,122,123],[71,114,126],[71,114,124,126],[71,113,114,126],[71,114,126,127,128,146,157],[71,114,126,127,128,141,146,149],[71,109,114,162],[71,109,114,122,126,129,134,146,157],[71,114,126,127,129,130,134,146,154,157],[71,114,129,131,146,154,157],[69,70,71,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163],[71,114,126,132],[71,114,133,157],[71,114,122,126,134,146],[71,114,135],[71,114,136],[71,113,114,137],[71,111,112,113,114,115,116,117,118,119,120,121,122,123,124,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163],[71,114,139],[71,114,140],[71,114,126,141,142],[71,114,141,143,158,160],[71,114,126,146,147,148,149],[71,114,146,148],[71,114,146,147],[71,114,149],[71,114,150],[71,111,114,146],[71,114,126,152,153],[71,114,152,153],[71,114,119,134,146,154],[71,114,155],[71,114,134,156],[71,114,129,140,157],[71,114,119,158],[71,114,146,159],[71,114,133,160],[71,114,161],[71,114,119,126,128,137,146,157,160,162],[71,114,146,163],[57,63,71,114],[61,71,114],[58,62,71,114],[60,71,114],[71,81,85,114,157],[71,81,114,146,157],[71,76,114],[71,78,81,114,154,157],[71,114,134,154],[71,114,164],[71,76,114,164],[71,78,81,114,134,157],[71,73,74,77,80,114,126,146,157],[71,81,88,114],[71,73,79,114],[71,81,102,103,114],[71,77,81,114,149,157,164],[71,102,114,164],[71,75,76,114,164],[71,81,114],[71,75,76,77,78,79,80,81,82,83,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,103,104,105,106,107,108,114],[71,81,96,114],[71,81,88,89,114],[71,79,81,89,90,114],[71,80,114],[71,73,76,81,114],[71,81,85,89,90,114],[71,85,114],[71,79,81,84,114,157],[71,73,78,81,88,114],[71,114,146],[71,76,81,102,114,162,164],[52,53,71,114],[52,54,71,114],[52,54,55,71,114]],"fileInfos":[{"version":"e41c290ef7dd7dab3493e6cbe5909e0148edf4a8dad0271be08edec368a0f7b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"4fd3f3422b2d2a3dfd5cdd0f387b3a8ec45f006c6ea896a4cb41264c2100bb2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"69e65d976bf166ce4a9e6f6c18f94d2424bf116e90837ace179610dbccad9b42","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"62bb211266ee48b2d0edf0d8d1b191f0c24fc379a82bd4c1692a082c540bc6b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f1e2a172204962276504466a6393426d2ca9c54894b1ad0a6c9dad867a65f876","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1305d1e76ca44e30fb8b2b8075fa522b83f60c0bcf5d4326a9d2cf79b53724f8","impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},"c4361f6412caabef1b8609a6052bef331a5378d8a5ca3c94a81ac21b9ec2989e","1fdd07bbd14b364338f7c359776cf5f59fcfe91d95522a86c6886cf81b22a076","b4e9ddf8a03c272c4fad4c4ca943e4b758b5fc4c2ced680c1c4d9094dad60a06","638b3c7136be9f09b30d934b5d3f94fce49d4a5d587ac646bb479c67cea1b559",{"version":"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","impliedFormat":1},{"version":"f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","impliedFormat":1},{"version":"5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","impliedFormat":1},{"version":"3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","impliedFormat":1},{"version":"ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","impliedFormat":1},{"version":"d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec","impliedFormat":1},{"version":"f8db4fea512ab759b2223b90ecbbe7dae919c02f8ce95ec03f7fb1cf757cfbeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"13af9e8fb6757946c48117315866177b95e554d1e773577bb6ca6e40083b6d73","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"d2bc987ae352271d0d615a420dcf98cc886aa16b87fb2b569358c1fe0ca0773d","affectsGlobalScope":true,"impliedFormat":1},{"version":"4f0539c58717cbc8b73acb29f9e992ab5ff20adba5f9b57130691c7f9b186a4d","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"76103716ba397bbb61f9fa9c9090dca59f39f9047cb1352b2179c5d8e7f4e8d0","impliedFormat":1},{"version":"53eac70430b30089a3a1959d8306b0f9cfaf0de75224b68ef25243e0b5ad1ca3","affectsGlobalScope":true,"impliedFormat":1},{"version":"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","impliedFormat":1},{"version":"115971d64632ea4742b5b115fb64ed04bcaae2c3c342f13d9ba7e3f9ee39c4e7","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"86956cc2eb9dd371d6fab493d326a574afedebf76eef3fa7833b8e0d9b52d6f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"e6f5a38687bebe43a4cef426b69d34373ef68be9a6b1538ec0a371e69f309354","impliedFormat":1},{"version":"a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","impliedFormat":1},{"version":"e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ff5a53a58e756d2661b73ba60ffe274231a4432d21f7a2d0d9e4f6aa99f4283","impliedFormat":1},{"version":"1e289f30a48126935a5d408a91129a13a59c9b0f8c007a816f9f16ef821e144e","impliedFormat":1},{"version":"2ea254f944dfe131df1264d1fb96e4b1f7d110195b21f1f5dbb68fdd394e5518","impliedFormat":1},{"version":"5135bdd72cc05a8192bd2e92f0914d7fc43ee077d1293dc622a049b7035a0afb","impliedFormat":1},{"version":"4f80de3a11c0d2f1329a72e92c7416b2f7eab14f67e92cac63bb4e8d01c6edc8","impliedFormat":1},{"version":"6d386bc0d7f3afa1d401afc3e00ed6b09205a354a9795196caed937494a713e6","impliedFormat":1},{"version":"b11cb909327c874a4e81bfb390bf0d231e5bf9439052689ab80ba8afa50da17b","affectsGlobalScope":true,"impliedFormat":1},{"version":"23459c1915878a7c1e86e8bdb9c187cddd3aea105b8b1dfce512f093c969bc7e","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"1dc73f8854e5c4506131c4d95b3a6c24d0c80336d3758e95110f4c7b5cb16397","affectsGlobalScope":true,"impliedFormat":1},{"version":"5f6f1d54779d0b9ed152b0516b0958cd34889764c1190434bbf18e7a8bb884cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"c6b4e0a02545304935ecbf7de7a8e056a31bb50939b5b321c9d50a405b5a0bba","impliedFormat":1},{"version":"fab29e6d649aa074a6b91e3bdf2bff484934a46067f6ee97a30fcd9762ae2213","impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","impliedFormat":1},{"version":"e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"1cbae62b67f180291d211f0e1045fb923a8ec800cfbf9caa13223d769013dae2","impliedFormat":1},{"version":"b52d379b4939681f3781d1cfd5b2c3cbb35e7e76f2425172e165782f8a08228c","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"745c4240220559bd340c8aeb6e3c5270a709d3565e934dc22a69c304703956bc","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"993985beef40c7d113f6dd8f0ba26eed63028b691fbfeb6a5b63f26408dd2c6d","affectsGlobalScope":true,"impliedFormat":1},{"version":"bef91efa0baea5d0e0f0f27b574a8bc100ce62a6d7e70220a0d58af6acab5e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"282fd2a1268a25345b830497b4b7bf5037a5e04f6a9c44c840cb605e19fea841","impliedFormat":1},{"version":"5360a27d3ebca11b224d7d3e38e3e2c63f8290cb1fcf6c3610401898f8e68bc3","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb094bb347d7df3380299eb69836c2c8758626ecf45917577707c03cf816b6f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"f689c4237b70ae6be5f0e4180e8833f34ace40529d1acc0676ab8fb8f70457d7","impliedFormat":1},{"version":"b02784111b3fc9c38590cd4339ff8718f9329a6f4d3fd66e9744a1dcd1d7e191","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"52a8e7e8a1454b6d1b5ad428efae3870ffc56f2c02d923467f2940c454aa9aec","affectsGlobalScope":true,"impliedFormat":1},{"version":"78dc0513cc4f1642906b74dda42146bcbd9df7401717d6e89ea6d72d12ecb539","impliedFormat":1},{"version":"ad90122e1cb599b3bc06a11710eb5489101be678f2920f2322b0ac3e195af78d","impliedFormat":1}],"root":[[54,56]],"options":{"composite":true,"declaration":true,"declarationMap":false,"emitDeclarationOnly":false,"esModuleInterop":true,"importHelpers":true,"module":99,"noEmitHelpers":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":false,"target":7,"tsBuildInfoFile":"./animate.tsbuildinfo"},"referencedMap":[[57,1],[60,2],[59,1],[65,3],[111,4],[112,4],[113,5],[71,6],[114,7],[115,8],[116,9],[66,1],[69,10],[67,1],[68,1],[117,11],[118,12],[119,13],[120,14],[121,15],[122,16],[123,16],[125,17],[124,18],[126,19],[127,20],[128,21],[110,22],[70,1],[129,23],[130,24],[131,25],[164,26],[132,27],[133,28],[134,29],[135,30],[136,31],[137,32],[138,33],[139,34],[140,35],[141,36],[142,36],[143,37],[144,1],[145,1],[146,38],[148,39],[147,40],[149,41],[150,42],[151,43],[152,44],[153,45],[154,46],[155,47],[156,48],[157,49],[158,50],[159,51],[160,52],[161,53],[162,54],[163,55],[72,1],[58,1],[64,56],[62,57],[63,58],[61,59],[52,1],[49,1],[50,1],[10,1],[8,1],[9,1],[14,1],[13,1],[2,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[3,1],[23,1],[24,1],[4,1],[25,1],[29,1],[26,1],[27,1],[28,1],[30,1],[31,1],[32,1],[5,1],[33,1],[34,1],[35,1],[36,1],[6,1],[40,1],[37,1],[38,1],[39,1],[41,1],[7,1],[42,1],[51,1],[47,1],[48,1],[43,1],[44,1],[45,1],[46,1],[1,1],[12,1],[11,1],[88,60],[98,61],[87,60],[108,62],[79,63],[78,64],[107,65],[101,66],[106,67],[81,68],[95,69],[80,70],[104,71],[76,72],[75,65],[105,73],[77,74],[82,75],[83,1],[86,75],[73,1],[109,76],[99,77],[90,78],[91,79],[93,80],[89,81],[92,82],[102,65],[84,83],[85,84],[94,85],[74,86],[97,77],[96,75],[100,1],[103,87],[54,88],[55,89],[56,90],[53,1]],"emitSignatures":[[54,"fa24bb99de702ec587e1b28f7a651994c04b5ab24014c697cddc4dbda929aac0"],[55,"2b3669c7d466c9e968efc312adf85b149cdbe4795ce5e42585700002968e4fe8"]],"latestChangedDtsFile":"./index.d.ts","version":"5.7.3"}
@@ -0,0 +1,181 @@
1
+ import { AnimatableAttributeHelper, Keyframe } from "./animatable-attribute";
2
+ export declare const linear: (percentage: number) => number;
3
+ export interface Animator {
4
+ loops: boolean;
5
+ duration: number;
6
+ delay: number;
7
+ drag: number;
8
+ nonCascadingDuration(newDuration: number): void;
9
+ start(): void;
10
+ stop(): void;
11
+ pause(): void;
12
+ resume(): void;
13
+ animate(deltaTime: number): void;
14
+ setUp(): void;
15
+ resetAnimationState(): void;
16
+ tearDown(): void;
17
+ setParent(parent: AnimatorContainer): void;
18
+ detachParent(): void;
19
+ toggleReverse(reverse: boolean): void;
20
+ onEnd(callback: Function): UnSubscribe;
21
+ onStart(callback: Function): UnSubscribe;
22
+ clearOnStart(): void;
23
+ clearOnEnd(): void;
24
+ maxLoopCount: number | undefined;
25
+ playing: boolean;
26
+ }
27
+ export type UnSubscribe = () => void;
28
+ export interface AnimatorContainer {
29
+ updateDuration(): void;
30
+ checkCyclicChildren(): boolean;
31
+ containsAnimation(animationInInterest: Animator): boolean;
32
+ }
33
+ export declare class CompositeAnimation implements Animator, AnimatorContainer {
34
+ private animations;
35
+ private localTime;
36
+ private _duration;
37
+ private onGoing;
38
+ private loop;
39
+ private playedTime;
40
+ private setUpFn;
41
+ private tearDownFn;
42
+ private _dragTime;
43
+ private _delayTime;
44
+ private parent;
45
+ private _maxLoopCount;
46
+ private endCallbacks;
47
+ private startCallbacks;
48
+ private reverse;
49
+ constructor(animations?: Map<string, {
50
+ animator: Animator;
51
+ startTime?: number;
52
+ }>, loop?: boolean, parent?: AnimatorContainer | undefined, setupFn?: Function, tearDownFn?: Function);
53
+ toggleReverse(reverse: boolean): void;
54
+ setParent(parent: AnimatorContainer): void;
55
+ detachParent(): void;
56
+ animate(deltaTime: number): void;
57
+ checkTerminalAndLoop(): void;
58
+ animateChildren(deltaTime: number): void;
59
+ childShouldAnimate(animation: {
60
+ animator: Animator;
61
+ startTime?: number;
62
+ }, prevLocalTime: number): boolean;
63
+ wrapUpAnimator(animation: {
64
+ animator: Animator;
65
+ startTime?: number;
66
+ name: string;
67
+ }, prevLocalTime: number): void;
68
+ pause(): void;
69
+ resume(): void;
70
+ start(): void;
71
+ stop(): void;
72
+ get duration(): number;
73
+ set duration(duration: number);
74
+ nonCascadingDuration(newDuration: number): void;
75
+ resetAnimationState(): void;
76
+ getTrueDuration(): number;
77
+ setUp(): void;
78
+ tearDown(): void;
79
+ addAnimation(name: string, animation: Animator, startTime?: number, endCallback?: Function): void;
80
+ addAnimationAfter(name: string, animation: Animator, afterName: string, delay?: number): void;
81
+ addAnimationAdmist(name: string, animation: Animator, admistName: string, delay: number): void;
82
+ addAnimationBefore(name: string, animation: Animator, beforeName: string, aheadTime?: number): void;
83
+ removeAnimation(name: string): void;
84
+ set delay(delayTime: number);
85
+ get delay(): number;
86
+ set drag(dragTime: number);
87
+ get drag(): number;
88
+ removeDelay(): void;
89
+ removeDrag(): void;
90
+ updateDuration(): void;
91
+ calculateDuration(): void;
92
+ get loops(): boolean;
93
+ set loops(loop: boolean);
94
+ checkCyclicChildren(): boolean;
95
+ forceToggleLoop(loop: boolean): void;
96
+ containsAnimation(animationInInterest: Animator): boolean;
97
+ onEnd(callback: Function): UnSubscribe;
98
+ onStart(callback: Function): UnSubscribe;
99
+ clearOnEnd(): void;
100
+ clearOnStart(): void;
101
+ get playing(): boolean;
102
+ get maxLoopCount(): number | undefined;
103
+ set maxLoopCount(maxLoopCount: number | undefined);
104
+ }
105
+ export declare class Animation<T> implements Animator {
106
+ private localTime;
107
+ private _duration;
108
+ private keyframes;
109
+ private animatableAttributeHelper;
110
+ private applyAnimationValue;
111
+ private easeFn;
112
+ private onGoing;
113
+ private currentKeyframeIndex;
114
+ private loop;
115
+ private playedTime;
116
+ private setUpFn;
117
+ private tearDownFn;
118
+ private parent;
119
+ private delayTime;
120
+ private dragTime;
121
+ private reverse;
122
+ private endCallbacks;
123
+ private startCallbacks;
124
+ private startAfterDelayCallbacks;
125
+ private zeroPercentageValue;
126
+ private _maxLoopCount;
127
+ private _fillMode;
128
+ constructor(keyFrames: Keyframe<T>[], applyAnimationValue: (value: T) => void, animatableAttributeHelper: AnimatableAttributeHelper<T>, duration?: number, loop?: boolean, parent?: AnimatorContainer | undefined, setUpFn?: Function, tearDownFn?: Function, easeFn?: (percentage: number) => number);
129
+ toggleReverse(reverse: boolean): void;
130
+ start(): void;
131
+ stop(): void;
132
+ pause(): void;
133
+ resume(): void;
134
+ get playing(): boolean;
135
+ animate(deltaTime: number): void;
136
+ findValue(valuePercentage: number, keyframes: Keyframe<T>[], animatableAttributeHelper: AnimatableAttributeHelper<T>): T;
137
+ setUp(): void;
138
+ tearDown(): void;
139
+ get loops(): boolean;
140
+ set loops(loop: boolean);
141
+ get duration(): number;
142
+ set duration(duration: number);
143
+ nonCascadingDuration(newDuration: number): void;
144
+ resetAnimationState(): void;
145
+ wrapUp(): void;
146
+ get delay(): number;
147
+ set delay(delayTime: number);
148
+ get drag(): number;
149
+ set drag(dragTime: number);
150
+ get trueDuration(): number;
151
+ set trueDuration(duration: number);
152
+ setParent(parent: AnimatorContainer): void;
153
+ detachParent(): void;
154
+ set keyFrames(keyFrames: Keyframe<T>[]);
155
+ get keyFrames(): Keyframe<T>[];
156
+ get easeFunction(): (percentage: number) => number;
157
+ set easeFunction(easeFn: (percentage: number) => number);
158
+ onEnd(callback: Function): UnSubscribe;
159
+ onStart(callback: Function): UnSubscribe;
160
+ onStartAfterDelay(callback: Function): UnSubscribe;
161
+ clearOnEnd(): void;
162
+ clearOnStart(): void;
163
+ get maxLoopCount(): number | undefined;
164
+ set maxLoopCount(maxLoopCount: number | undefined);
165
+ }
166
+ export interface Keyframes<T> {
167
+ keyframes: Keyframe<T>[];
168
+ from(value: T): Keyframes<T>;
169
+ to(value: T): Keyframes<T>;
170
+ insertAt(percentage: number, value: T): void;
171
+ clearFrames(): void;
172
+ }
173
+ export declare class KeyFramesContiner<T> {
174
+ private _keyframes;
175
+ constructor();
176
+ get keyframes(): Keyframe<T>[];
177
+ from(value: T): Keyframes<T>;
178
+ to(value: T): Keyframes<T>;
179
+ insertAt(percentage: number, value: T): void;
180
+ clearFrames(): void;
181
+ }
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from "./animatable-attribute";
2
+ export * from "./composite-animation";
package/index.js ADDED
@@ -0,0 +1,907 @@
1
+ import { PointCal } from '@ue-too/math';
2
+
3
+ const pointHelperFunctions = {
4
+ lerp: (ratio, start, end) => {
5
+ const inbetweenRatio = (ratio - start.percentage) / (end.percentage - start.percentage);
6
+ let transformed = inbetweenRatio;
7
+ if (start.easingFn) {
8
+ transformed = start.easingFn(inbetweenRatio);
9
+ }
10
+ const res = PointCal.addVector(start.value, PointCal.multiplyVectorByScalar(PointCal.subVector(end.value, start.value), transformed));
11
+ return res;
12
+ }
13
+ };
14
+ class PointAnimationHelper {
15
+ constructor() {
16
+ }
17
+ lerp(ratio, start, end) {
18
+ const inbetweenRatio = (ratio - start.percentage) / (end.percentage - start.percentage);
19
+ let transformed = inbetweenRatio;
20
+ if (start.easingFn) {
21
+ transformed = start.easingFn(inbetweenRatio);
22
+ }
23
+ const res = PointCal.addVector(start.value, PointCal.multiplyVectorByScalar(PointCal.subVector(end.value, start.value), transformed));
24
+ return res;
25
+ }
26
+ }
27
+ const numberHelperFunctions = {
28
+ lerp: (ratio, start, end) => {
29
+ const inbetweenRatio = (ratio - start.percentage) / (end.percentage - start.percentage);
30
+ let transformed = inbetweenRatio;
31
+ if (start.easingFn) {
32
+ transformed = start.easingFn(inbetweenRatio);
33
+ }
34
+ const res = start.value + transformed * (end.value - start.value);
35
+ return res;
36
+ }
37
+ };
38
+ class NumberAnimationHelper {
39
+ constructor() {
40
+ }
41
+ lerp(ratio, start, end) {
42
+ const inbetweenRatio = (ratio - start.percentage) / (end.percentage - start.percentage);
43
+ let transformed = inbetweenRatio;
44
+ if (start.easingFn) {
45
+ transformed = start.easingFn(inbetweenRatio);
46
+ }
47
+ const res = start.value + transformed * (end.value - start.value);
48
+ return res;
49
+ }
50
+ }
51
+ const stringHelperFunctions = {
52
+ lerp: (ratio, start, end) => {
53
+ const percentageScale = (ratio - start.percentage) / (end.percentage - start.percentage);
54
+ // if percentageScale is negative that means it's before the start value just return start value
55
+ // if percentageScale is more than 1 that means it's after the end value just return the end value
56
+ // if percentageScale is less than 0.5 return the start value else return the end value
57
+ return percentageScale < 0 || percentageScale < 0.5 ? start.value : end.value;
58
+ }
59
+ };
60
+ class StringAnimationHelper {
61
+ constructor() {
62
+ }
63
+ lerp(ratio, start, end) {
64
+ const percentageScale = (ratio - start.percentage) / (end.percentage - start.percentage);
65
+ // if percentageScale is negative that means it's before the start value just return start value
66
+ // if percentageScale is more than 1 that means it's after the end value just return the end value
67
+ // if percentageScale is less than 0.5 return the start value else return the end value
68
+ return percentageScale < 0 || percentageScale < 0.5 ? start.value : end.value;
69
+ }
70
+ }
71
+ const integerHelperFunctions = {
72
+ lerp: (ratio, start, end) => {
73
+ const percentageScale = (ratio - start.percentage) / (end.percentage - start.percentage);
74
+ // if percentageScale is negative that means it's before the start value just return start value
75
+ // if percentageScale is more than 1 that means it's after the end value just return the end value
76
+ // if percentageScale is less than 0.5 return the start value else return the end value
77
+ return percentageScale < 0 || percentageScale < 0.5 ? start.value : end.value;
78
+ }
79
+ };
80
+ class IntegerAnimationHelper {
81
+ constructor() {
82
+ }
83
+ lerp(ratio, start, end) {
84
+ const percentageScale = (ratio - start.percentage) / (end.percentage - start.percentage);
85
+ // if percentageScale is negative that means it's before the start value just return start value
86
+ // if percentageScale is more than 1 that means it's after the end value just return the end value
87
+ // if percentageScale is less than 0.5 return the start value else return the end value
88
+ return percentageScale < 0 || percentageScale < 0.5 ? start.value : end.value;
89
+ }
90
+ }
91
+ const rgbHelperFunctions = {
92
+ lerp: (ratio, start, end) => {
93
+ const res = {
94
+ r: start.value.r + ((ratio - start.percentage) / (end.percentage - start.percentage)) * (end.value.r - start.value.r),
95
+ g: start.value.g + ((ratio - start.percentage) / (end.percentage - start.percentage)) * (end.value.g - start.value.g),
96
+ b: start.value.b + ((ratio - start.percentage) / (end.percentage - start.percentage)) * (end.value.b - start.value.b),
97
+ };
98
+ return res;
99
+ }
100
+ };
101
+ class RGBAnimationHelper {
102
+ constructor() {
103
+ }
104
+ lerp(ratio, start, end) {
105
+ const res = {
106
+ r: start.value.r + ((ratio - start.percentage) / (end.percentage - start.percentage)) * (end.value.r - start.value.r),
107
+ g: start.value.g + ((ratio - start.percentage) / (end.percentage - start.percentage)) * (end.value.g - start.value.g),
108
+ b: start.value.b + ((ratio - start.percentage) / (end.percentage - start.percentage)) * (end.value.b - start.value.b),
109
+ };
110
+ return res;
111
+ }
112
+ }
113
+
114
+ const linear = (percentage) => {
115
+ return percentage;
116
+ };
117
+ class CompositeAnimation {
118
+ constructor(animations = new Map(), loop = false, parent = undefined, setupFn = () => { }, tearDownFn = () => { }) {
119
+ this.endCallbacks = [];
120
+ this.startCallbacks = [];
121
+ this.animations = animations;
122
+ this._duration = 0;
123
+ this.calculateDuration();
124
+ this.localTime = -1;
125
+ this.onGoing = false;
126
+ this.loop = loop;
127
+ this.setUpFn = setupFn;
128
+ this.tearDownFn = tearDownFn;
129
+ this._delayTime = 0;
130
+ this._dragTime = 0;
131
+ this.parent = parent;
132
+ this.animations.forEach((animation) => {
133
+ animation.animator.setParent(this);
134
+ });
135
+ this.reverse = false;
136
+ this.playedTime = 0;
137
+ }
138
+ toggleReverse(reverse) {
139
+ if (this.reverse == reverse) {
140
+ return;
141
+ }
142
+ this.reverse = reverse;
143
+ this.animations.forEach((animation) => {
144
+ animation.animator.toggleReverse(reverse);
145
+ });
146
+ }
147
+ setParent(parent) {
148
+ this.parent = parent;
149
+ }
150
+ detachParent() {
151
+ this.parent = undefined;
152
+ }
153
+ animate(deltaTime) {
154
+ if (!this.onGoing || this.localTime > this._duration + this._delayTime + this._dragTime || this.localTime < 0 || this.animations.size == 0) {
155
+ return;
156
+ }
157
+ this.localTime += deltaTime;
158
+ if (this.localTime - deltaTime <= 0 && deltaTime > 0) {
159
+ // console.log("composite animation start");
160
+ this.startCallbacks.forEach((callback) => {
161
+ queueMicrotask(() => { callback(); });
162
+ });
163
+ }
164
+ this.animateChildren(deltaTime);
165
+ this.checkTerminalAndLoop();
166
+ }
167
+ checkTerminalAndLoop() {
168
+ if (this.localTime >= this._duration + this._delayTime + this._dragTime) {
169
+ // console.log("composite animation end");
170
+ this.playedTime += 1;
171
+ this.endCallbacks.forEach((callback) => {
172
+ queueMicrotask(() => { callback(); });
173
+ });
174
+ if (!this.loops || (this.maxLoopCount != undefined && this.playedTime >= this.maxLoopCount)) {
175
+ // this.onGoing = false;
176
+ this.stop();
177
+ }
178
+ else {
179
+ // if loop is true and current loop is not the last loop, then prepare to start the animations again
180
+ // this.onGoing = true;
181
+ // this.localTime = 0;
182
+ // this.animations.forEach((animation) => {
183
+ // if(animation.animator.loops){
184
+ // animation.animator.startAnimation();
185
+ // }
186
+ // });
187
+ this.start();
188
+ }
189
+ }
190
+ }
191
+ animateChildren(deltaTime) {
192
+ const prevLocalTime = this.localTime - deltaTime;
193
+ if (this.localTime < this._delayTime) {
194
+ return;
195
+ }
196
+ this.animations.forEach((animation, name) => {
197
+ if (animation.startTime == undefined) {
198
+ animation.startTime = 0;
199
+ }
200
+ if (!this.childShouldAnimate(animation, prevLocalTime)) {
201
+ this.wrapUpAnimator({ animator: animation.animator, startTime: animation.startTime, name: name }, prevLocalTime);
202
+ return;
203
+ }
204
+ if (prevLocalTime - this._delayTime < animation.startTime) {
205
+ animation.animator.animate(this.localTime - this._delayTime - animation.startTime);
206
+ }
207
+ else {
208
+ animation.animator.animate(deltaTime);
209
+ }
210
+ });
211
+ }
212
+ childShouldAnimate(animation, prevLocalTime) {
213
+ if (animation.startTime == undefined) {
214
+ animation.startTime = 0;
215
+ }
216
+ if (this.localTime - this._delayTime >= animation.startTime && this.localTime - this._delayTime <= animation.startTime + animation.animator.duration) {
217
+ return true;
218
+ }
219
+ return false;
220
+ }
221
+ wrapUpAnimator(animation, prevLocalTime) {
222
+ if (animation.startTime == undefined) {
223
+ animation.startTime = 0;
224
+ }
225
+ if (this.localTime - this._delayTime > animation.startTime + animation.animator.duration && prevLocalTime - this._delayTime < animation.startTime + animation.animator.duration) {
226
+ // console.log("wrap up", animation.name);
227
+ // console.log("time remaining", animation.startTime + animation.animator.duration - (prevLocalTime - this._delayTime));
228
+ animation.animator.animate(animation.startTime + animation.animator.duration - (prevLocalTime - this._delayTime));
229
+ }
230
+ }
231
+ pause() {
232
+ this.onGoing = false;
233
+ this.animations.forEach((animation) => {
234
+ animation.animator.pause();
235
+ });
236
+ }
237
+ resume() {
238
+ this.onGoing = true;
239
+ this.animations.forEach((animation) => {
240
+ animation.animator.resume();
241
+ });
242
+ }
243
+ start() {
244
+ this.onGoing = true;
245
+ this.setUp();
246
+ this.localTime = 0;
247
+ this.animations.forEach((animation) => {
248
+ animation.animator.start();
249
+ });
250
+ }
251
+ stop() {
252
+ this.onGoing = false;
253
+ this.playedTime = 0;
254
+ this.localTime = this._duration + 0.1;
255
+ this.animations.forEach((animation) => {
256
+ animation.animator.stop();
257
+ });
258
+ this.tearDown();
259
+ }
260
+ get duration() {
261
+ return this._duration + this._delayTime + this._dragTime;
262
+ }
263
+ set duration(duration) {
264
+ if (duration < 0) {
265
+ return;
266
+ }
267
+ const originalDuration = this._duration + this._delayTime + this._dragTime;
268
+ const scale = duration / originalDuration;
269
+ const newDelayTime = this._delayTime * scale;
270
+ const newDragTime = this._dragTime * scale;
271
+ this._delayTime = newDelayTime;
272
+ this._dragTime = newDragTime;
273
+ this.animations.forEach((animation) => {
274
+ if (animation.startTime == undefined) {
275
+ animation.startTime = 0;
276
+ }
277
+ animation.startTime *= scale;
278
+ const newDuration = animation.animator.duration * scale;
279
+ animation.animator.nonCascadingDuration(newDuration);
280
+ });
281
+ this.calculateDuration();
282
+ if (this.parent != undefined) {
283
+ this.parent.updateDuration();
284
+ }
285
+ }
286
+ nonCascadingDuration(newDuration) {
287
+ if (newDuration < 0) {
288
+ return;
289
+ }
290
+ const originalDuration = this._duration + this._delayTime + this._dragTime;
291
+ const scale = newDuration / originalDuration;
292
+ const newDelayTime = this._delayTime * scale;
293
+ const newDragTime = this._dragTime * scale;
294
+ this._delayTime = newDelayTime;
295
+ this._dragTime = newDragTime;
296
+ this.animations.forEach((animation) => {
297
+ if (animation.startTime == undefined) {
298
+ animation.startTime = 0;
299
+ }
300
+ animation.startTime *= scale;
301
+ const newDuration = animation.animator.duration * scale;
302
+ animation.animator.nonCascadingDuration(newDuration);
303
+ });
304
+ this.calculateDuration();
305
+ }
306
+ resetAnimationState() {
307
+ this.onGoing = false;
308
+ this.animations.forEach((animation) => {
309
+ animation.animator.resetAnimationState();
310
+ });
311
+ }
312
+ getTrueDuration() {
313
+ return this._duration;
314
+ }
315
+ setUp() {
316
+ this.setUpFn();
317
+ this.animations.forEach((animation) => {
318
+ animation.animator.setUp();
319
+ });
320
+ }
321
+ tearDown() {
322
+ this.tearDownFn();
323
+ this.animations.forEach((animation) => {
324
+ animation.animator.tearDown();
325
+ });
326
+ }
327
+ addAnimation(name, animation, startTime = 0, endCallback = () => { }) {
328
+ if (this.animations.has(name)) {
329
+ return;
330
+ }
331
+ if (this.parent !== undefined && this.parent.containsAnimation(animation)) {
332
+ return;
333
+ }
334
+ this.animations.set(name, { animator: animation, startTime: startTime });
335
+ animation.setParent(this);
336
+ if (this.localTime > startTime) {
337
+ animation.animate(this.localTime - startTime);
338
+ }
339
+ const endTime = startTime + animation.duration;
340
+ this._duration = Math.max(this._duration, endTime);
341
+ if (this.parent != undefined) {
342
+ this.parent.updateDuration();
343
+ }
344
+ }
345
+ addAnimationAfter(name, animation, afterName, delay = 0) {
346
+ let afterAnimation = this.animations.get(afterName);
347
+ if (afterAnimation == undefined) {
348
+ return;
349
+ }
350
+ if (afterAnimation.startTime == undefined) {
351
+ afterAnimation.startTime = 0;
352
+ }
353
+ let startTime = afterAnimation.startTime + afterAnimation.animator.duration;
354
+ startTime += delay;
355
+ this.addAnimation(name, animation, startTime);
356
+ this.calculateDuration();
357
+ if (this.parent != undefined) {
358
+ this.parent.updateDuration();
359
+ }
360
+ }
361
+ addAnimationAdmist(name, animation, admistName, delay) {
362
+ let admistAnimation = this.animations.get(admistName);
363
+ if (admistAnimation == undefined) {
364
+ return;
365
+ }
366
+ if (admistAnimation.startTime == undefined) {
367
+ admistAnimation.startTime = 0;
368
+ }
369
+ let startTime = admistAnimation.startTime + delay;
370
+ this.addAnimation(name, animation, startTime);
371
+ this.calculateDuration();
372
+ if (this.parent != undefined) {
373
+ this.parent.updateDuration();
374
+ }
375
+ }
376
+ addAnimationBefore(name, animation, beforeName, aheadTime = 0) {
377
+ let beforeAnimation = this.animations.get(beforeName);
378
+ if (beforeAnimation == undefined) {
379
+ return;
380
+ }
381
+ if (beforeAnimation.startTime == undefined) {
382
+ beforeAnimation.startTime = 0;
383
+ }
384
+ let startTime = beforeAnimation.startTime;
385
+ startTime -= aheadTime;
386
+ this.addAnimation(name, animation, startTime);
387
+ if (startTime < 0) {
388
+ const pushOver = 0 - startTime;
389
+ this.animations.forEach((animation) => {
390
+ if (animation.startTime == undefined) {
391
+ animation.startTime = 0;
392
+ }
393
+ animation.startTime += pushOver;
394
+ });
395
+ }
396
+ this.calculateDuration();
397
+ if (this.parent != undefined) {
398
+ this.parent.updateDuration();
399
+ }
400
+ }
401
+ removeAnimation(name) {
402
+ let animation = this.animations.get(name);
403
+ let deleted = this.animations.delete(name);
404
+ if (deleted) {
405
+ if (animation != undefined) {
406
+ animation.animator.detachParent();
407
+ }
408
+ this.calculateDuration();
409
+ if (this.parent != undefined) {
410
+ this.parent.updateDuration();
411
+ }
412
+ }
413
+ }
414
+ set delay(delayTime) {
415
+ this._delayTime = delayTime;
416
+ if (this.parent != undefined) {
417
+ this.parent.updateDuration();
418
+ }
419
+ }
420
+ get delay() {
421
+ return this._delayTime;
422
+ }
423
+ set drag(dragTime) {
424
+ this._dragTime = dragTime;
425
+ if (this.parent != undefined) {
426
+ this.parent.updateDuration();
427
+ }
428
+ }
429
+ get drag() {
430
+ return this._dragTime;
431
+ }
432
+ removeDelay() {
433
+ this._delayTime = 0;
434
+ if (this.parent != undefined) {
435
+ this.parent.updateDuration();
436
+ }
437
+ }
438
+ removeDrag() {
439
+ this._dragTime = 0;
440
+ if (this.parent != undefined) {
441
+ this.parent.updateDuration();
442
+ }
443
+ }
444
+ updateDuration() {
445
+ if (this.checkCyclicChildren()) {
446
+ return;
447
+ }
448
+ this.calculateDuration();
449
+ if (this.parent != undefined) {
450
+ this.parent.updateDuration();
451
+ }
452
+ }
453
+ calculateDuration() {
454
+ this._duration = 0;
455
+ this.animations.forEach((animation) => {
456
+ if (animation.startTime == undefined) {
457
+ animation.startTime = 0;
458
+ }
459
+ const endTime = animation.startTime + animation.animator.duration;
460
+ this._duration = Math.max(this._duration, endTime);
461
+ });
462
+ }
463
+ get loops() {
464
+ return this.loop;
465
+ }
466
+ set loops(loop) {
467
+ this.loop = loop;
468
+ }
469
+ checkCyclicChildren() {
470
+ const allChildren = [];
471
+ allChildren.push(this);
472
+ const visited = new Set();
473
+ while (allChildren.length > 0) {
474
+ const current = allChildren.pop();
475
+ if (current == undefined) {
476
+ continue;
477
+ }
478
+ if (visited.has(current)) {
479
+ return true;
480
+ }
481
+ visited.add(current);
482
+ if (current instanceof CompositeAnimation) {
483
+ current.animations.forEach((animation) => {
484
+ allChildren.push(animation.animator);
485
+ });
486
+ }
487
+ }
488
+ return false;
489
+ }
490
+ forceToggleLoop(loop) {
491
+ this.loop = true;
492
+ this.animations.forEach((animation) => {
493
+ animation.animator.loops = true;
494
+ });
495
+ }
496
+ containsAnimation(animationInInterest) {
497
+ if (this.parent !== undefined) {
498
+ return this.parent.containsAnimation(animationInInterest);
499
+ }
500
+ const allChildren = [];
501
+ allChildren.push(this);
502
+ const visited = new Set();
503
+ while (allChildren.length > 0) {
504
+ const current = allChildren.pop();
505
+ if (current == undefined) {
506
+ continue;
507
+ }
508
+ if (current == animationInInterest) {
509
+ return true;
510
+ }
511
+ if (visited.has(current)) {
512
+ continue;
513
+ }
514
+ visited.add(current);
515
+ if (current instanceof CompositeAnimation) {
516
+ current.animations.forEach((animation) => {
517
+ allChildren.push(animation.animator);
518
+ });
519
+ }
520
+ }
521
+ return false;
522
+ }
523
+ onEnd(callback) {
524
+ this.endCallbacks.push(callback);
525
+ return () => {
526
+ this.endCallbacks = this.endCallbacks.filter((cb) => cb != callback);
527
+ };
528
+ }
529
+ onStart(callback) {
530
+ this.startCallbacks.push(callback);
531
+ return () => {
532
+ this.startCallbacks = this.startCallbacks.filter((cb) => cb != callback);
533
+ };
534
+ }
535
+ clearOnEnd() {
536
+ this.endCallbacks = [];
537
+ }
538
+ clearOnStart() {
539
+ this.startCallbacks = [];
540
+ }
541
+ get playing() {
542
+ return this.onGoing;
543
+ }
544
+ get maxLoopCount() {
545
+ return this._maxLoopCount;
546
+ }
547
+ set maxLoopCount(maxLoopCount) {
548
+ this._maxLoopCount = maxLoopCount;
549
+ }
550
+ }
551
+ class Animation {
552
+ constructor(keyFrames, applyAnimationValue, animatableAttributeHelper, duration = 1000, loop = false, parent = undefined, setUpFn = () => { }, tearDownFn = () => { }, easeFn = linear) {
553
+ this.delayTime = 0;
554
+ this.dragTime = 0;
555
+ this.reverse = false;
556
+ this.endCallbacks = [];
557
+ this.startCallbacks = [];
558
+ this.startAfterDelayCallbacks = [];
559
+ this._fillMode = 'none';
560
+ this._duration = duration;
561
+ this.keyframes = keyFrames;
562
+ this.animatableAttributeHelper = animatableAttributeHelper;
563
+ this.applyAnimationValue = applyAnimationValue;
564
+ this.easeFn = easeFn;
565
+ this.onGoing = false;
566
+ this.localTime = duration + 0.1;
567
+ this.currentKeyframeIndex = 0;
568
+ this.loop = loop;
569
+ this.setUpFn = setUpFn;
570
+ this.tearDownFn = tearDownFn;
571
+ this.parent = parent;
572
+ this.playedTime = 0;
573
+ this.zeroPercentageValue = this.findValue(0, keyFrames, animatableAttributeHelper);
574
+ }
575
+ toggleReverse(reverse) {
576
+ this.reverse = reverse;
577
+ }
578
+ start() {
579
+ this.localTime = 0;
580
+ this.currentKeyframeIndex = 0;
581
+ this.onGoing = true;
582
+ // this.applyAnimationValue(this.zeroPercentageValue);
583
+ this.setUp();
584
+ }
585
+ stop() {
586
+ this.onGoing = false;
587
+ this.localTime = this._duration + this.dragTime + this.delayTime + 0.1;
588
+ this.playedTime = 0;
589
+ this.tearDown();
590
+ }
591
+ pause() {
592
+ this.onGoing = false;
593
+ }
594
+ resume() {
595
+ this.onGoing = true;
596
+ }
597
+ get playing() {
598
+ return this.onGoing;
599
+ }
600
+ animate(deltaTime) {
601
+ if (this.onGoing != true || this.localTime < 0) {
602
+ return;
603
+ }
604
+ if (deltaTime == 0) {
605
+ return;
606
+ }
607
+ this.localTime += deltaTime;
608
+ // console.log("--------------------");
609
+ // console.log("local time", this.localTime);
610
+ // console.log("delta time", deltaTime);
611
+ if (this.localTime - deltaTime <= 0 && deltaTime > 0) {
612
+ // console.log("--------------------");
613
+ // console.log("current localtime", this.localTime);
614
+ // console.log("current delta time", deltaTime);
615
+ // console.log("previous local time", this.localTime - deltaTime);
616
+ // console.log("animation start");
617
+ // console.log(`the animation has been played ${this.playedTime} times`);
618
+ // console.log(`the animation is now playing for the ${this.playedTime + 1} time`);
619
+ this.startCallbacks.forEach((callback) => {
620
+ queueMicrotask(() => { callback(); });
621
+ });
622
+ }
623
+ if (this.localTime >= this.delayTime && (this.localTime <= this.delayTime + this._duration + this.dragTime || this.localTime - deltaTime <= this.delayTime + this._duration + this.dragTime)) {
624
+ // console.log("local time", this.localTime);
625
+ // console.log("duration", this.duration);
626
+ // console.log("local time would trigger end", this.localTime >= this._duration + this.delayTime + this.dragTime);
627
+ // console.log("delta time", deltaTime);
628
+ if (this.localTime - deltaTime <= this.delayTime && this.delayTime !== 0 && deltaTime > 0) {
629
+ this.startAfterDelayCallbacks.forEach((callback) => {
630
+ queueMicrotask(() => { callback(); });
631
+ });
632
+ this.applyAnimationValue(this.zeroPercentageValue);
633
+ }
634
+ let localTimePercentage = (this.localTime - this.delayTime) / (this._duration);
635
+ let targetPercentage = this.easeFn(localTimePercentage);
636
+ if (localTimePercentage > 1) {
637
+ targetPercentage = this.easeFn(1);
638
+ }
639
+ let value;
640
+ // console.log("currentKeyframeIndex", this.currentKeyframeIndex, "length", this.keyFrames.length);
641
+ if (this.currentKeyframeIndex < this.keyframes.length && this.currentKeyframeIndex >= 0 && (this.reverse ? 1 - this.keyframes[this.currentKeyframeIndex].percentage == targetPercentage : this.keyframes[this.currentKeyframeIndex].percentage == targetPercentage)) {
642
+ value = this.keyframes[this.currentKeyframeIndex].value;
643
+ }
644
+ else {
645
+ value = this.findValue(targetPercentage, this.keyframes, this.animatableAttributeHelper);
646
+ }
647
+ if (this.reverse) {
648
+ while (this.currentKeyframeIndex >= 0 && 1 - this.keyframes[this.currentKeyframeIndex].percentage <= targetPercentage) {
649
+ this.currentKeyframeIndex -= 1;
650
+ }
651
+ }
652
+ else {
653
+ while (this.currentKeyframeIndex < this.keyframes.length && this.keyframes[this.currentKeyframeIndex].percentage <= targetPercentage) {
654
+ this.currentKeyframeIndex += 1;
655
+ }
656
+ }
657
+ this.applyAnimationValue(value);
658
+ if (this.localTime >= this._duration + this.dragTime + this.delayTime) {
659
+ // console.log("animation should end");
660
+ this.playedTime += 1;
661
+ this.endCallbacks.forEach((callback) => {
662
+ queueMicrotask(() => { callback(); });
663
+ });
664
+ if (!this.loops || (this._maxLoopCount != undefined && this.playedTime >= this.maxLoopCount)) {
665
+ // this.onGoing = false;
666
+ // console.log("animation should stop after ", this.playedTime, " loops");
667
+ this.stop();
668
+ }
669
+ else {
670
+ // console.log("animation should restart");
671
+ this.onGoing = true;
672
+ this.localTime = 0;
673
+ this.currentKeyframeIndex = 0;
674
+ this.start();
675
+ }
676
+ }
677
+ // if((this.localTime >= this._duration + this.delayTime + this.dragTime) && this.loop){
678
+ // // this.startAnimation();
679
+ // this.localTime = 0;
680
+ // this.onGoing = true;
681
+ // this.currentKeyframeIndex = 0;
682
+ // }
683
+ }
684
+ }
685
+ findValue(valuePercentage, keyframes, animatableAttributeHelper) {
686
+ if (valuePercentage > 1) {
687
+ if (this.reverse) {
688
+ return animatableAttributeHelper.lerp(valuePercentage, keyframes[1], keyframes[0]);
689
+ }
690
+ return animatableAttributeHelper.lerp(valuePercentage, keyframes[keyframes.length - 2], keyframes[keyframes.length - 1]);
691
+ }
692
+ if (valuePercentage < 0) {
693
+ if (this.reverse) {
694
+ return animatableAttributeHelper.lerp(valuePercentage, keyframes[keyframes.length - 2], keyframes[keyframes.length - 1]);
695
+ }
696
+ return animatableAttributeHelper.lerp(valuePercentage, keyframes[1], keyframes[0]);
697
+ }
698
+ let left = 0;
699
+ let right = keyframes.length - 1;
700
+ while (left <= right) {
701
+ let mid = left + Math.floor((right - left) / 2);
702
+ const midPercentage = this.reverse ? 1 - keyframes[mid].percentage : keyframes[mid].percentage;
703
+ if (midPercentage == valuePercentage) {
704
+ return keyframes[mid].value;
705
+ }
706
+ else if (midPercentage < valuePercentage) {
707
+ if (this.reverse) {
708
+ right = mid - 1;
709
+ }
710
+ else {
711
+ left = mid + 1;
712
+ }
713
+ }
714
+ else {
715
+ if (this.reverse) {
716
+ left = mid + 1;
717
+ }
718
+ else {
719
+ right = mid - 1;
720
+ }
721
+ }
722
+ }
723
+ if (left > keyframes.length - 1) {
724
+ // excceding the keyframes
725
+ left = keyframes.length - 1;
726
+ }
727
+ const interpolateStartFrame = this.reverse ? { percentage: 1 - keyframes[left].percentage, value: keyframes[left].value } : keyframes[left - 1];
728
+ const interplateEndFrame = this.reverse ? { percentage: 1 - keyframes[left - 1].percentage, value: keyframes[left - 1].value } : keyframes[left];
729
+ // return animatableAttributeHelper.lerp(valuePercentage, keyframes[left - 1], keyframes[left]);
730
+ return animatableAttributeHelper.lerp(valuePercentage, interpolateStartFrame, interplateEndFrame);
731
+ }
732
+ setUp() {
733
+ // this.applyAnimationValue(this.keyframes[0].value);
734
+ this.setUpFn();
735
+ }
736
+ tearDown() {
737
+ this.tearDownFn();
738
+ }
739
+ get loops() {
740
+ return this.loop;
741
+ }
742
+ set loops(loop) {
743
+ this.loop = loop;
744
+ }
745
+ get duration() {
746
+ return this._duration + this.delayTime + this.dragTime;
747
+ }
748
+ set duration(duration) {
749
+ if (duration < 0) {
750
+ return;
751
+ }
752
+ const originalDuration = this._duration + this.delayTime + this.dragTime;
753
+ const scale = duration / originalDuration;
754
+ const newDelayTime = this.delayTime * scale;
755
+ const newDragTime = this.dragTime * scale;
756
+ this.delayTime = newDelayTime;
757
+ this.dragTime = newDragTime;
758
+ this._duration = this._duration * scale;
759
+ if (this.parent != undefined) {
760
+ this.parent.updateDuration();
761
+ }
762
+ }
763
+ nonCascadingDuration(newDuration) {
764
+ if (newDuration < 0) {
765
+ return;
766
+ }
767
+ const originalDuration = this._duration + this.delayTime + this.dragTime;
768
+ const scale = newDuration / originalDuration;
769
+ const newDelayTime = this.delayTime * scale;
770
+ const newDragTime = this.dragTime * scale;
771
+ this.delayTime = newDelayTime;
772
+ this.dragTime = newDragTime;
773
+ this._duration = newDuration;
774
+ }
775
+ resetAnimationState() {
776
+ this.onGoing = false;
777
+ this.applyAnimationValue(this.keyframes[0].value);
778
+ this.currentKeyframeIndex = 0;
779
+ this.setUp();
780
+ }
781
+ wrapUp() {
782
+ this.onGoing = false;
783
+ this.localTime = this._duration + this.dragTime + this.delayTime + 0.1;
784
+ this.currentKeyframeIndex = 0;
785
+ }
786
+ get delay() {
787
+ return this.delayTime;
788
+ }
789
+ set delay(delayTime) {
790
+ this.delayTime = delayTime;
791
+ if (this.parent != undefined) {
792
+ this.parent.updateDuration();
793
+ }
794
+ }
795
+ get drag() {
796
+ return this.dragTime;
797
+ }
798
+ set drag(dragTime) {
799
+ this.dragTime = dragTime;
800
+ if (this.parent != undefined) {
801
+ this.parent.updateDuration();
802
+ }
803
+ }
804
+ get trueDuration() {
805
+ return this._duration;
806
+ }
807
+ set trueDuration(duration) {
808
+ this._duration = duration;
809
+ if (this.parent != undefined) {
810
+ this.parent.updateDuration();
811
+ }
812
+ }
813
+ setParent(parent) {
814
+ this.parent = parent;
815
+ }
816
+ detachParent() {
817
+ this.parent = undefined;
818
+ }
819
+ set keyFrames(keyFrames) {
820
+ this.keyframes = keyFrames;
821
+ this.zeroPercentageValue = this.findValue(0, keyFrames, this.animatableAttributeHelper);
822
+ }
823
+ get keyFrames() {
824
+ return this.keyframes;
825
+ }
826
+ get easeFunction() {
827
+ return this.easeFn;
828
+ }
829
+ set easeFunction(easeFn) {
830
+ this.easeFn = easeFn;
831
+ }
832
+ onEnd(callback) {
833
+ this.endCallbacks.push(callback);
834
+ return () => {
835
+ this.endCallbacks = this.endCallbacks.filter((cb) => cb != callback);
836
+ };
837
+ }
838
+ onStart(callback) {
839
+ this.startCallbacks.push(callback);
840
+ return () => {
841
+ this.startCallbacks = this.startCallbacks.filter((cb) => cb != callback);
842
+ };
843
+ }
844
+ onStartAfterDelay(callback) {
845
+ this.startAfterDelayCallbacks.push(callback);
846
+ return () => {
847
+ this.startAfterDelayCallbacks = this.startAfterDelayCallbacks.filter((cb) => cb != callback);
848
+ };
849
+ }
850
+ clearOnEnd() {
851
+ this.endCallbacks = [];
852
+ }
853
+ clearOnStart() {
854
+ this.startCallbacks = [];
855
+ }
856
+ get maxLoopCount() {
857
+ return this._maxLoopCount;
858
+ }
859
+ set maxLoopCount(maxLoopCount) {
860
+ this._maxLoopCount = maxLoopCount;
861
+ }
862
+ }
863
+ class KeyFramesContiner {
864
+ constructor() {
865
+ this._keyframes = [];
866
+ }
867
+ get keyframes() {
868
+ return this._keyframes;
869
+ }
870
+ from(value) {
871
+ if (this._keyframes.length == 0) {
872
+ this._keyframes.push({ percentage: 0, value: value });
873
+ }
874
+ else {
875
+ if (this._keyframes[0].percentage == 0) {
876
+ this._keyframes[0].value = value;
877
+ }
878
+ else {
879
+ this._keyframes.unshift({ percentage: 0, value: value });
880
+ }
881
+ }
882
+ return this;
883
+ }
884
+ to(value) {
885
+ if (this._keyframes.length == 0) {
886
+ this._keyframes.push({ percentage: 1, value: value });
887
+ }
888
+ else {
889
+ if (this._keyframes[this._keyframes.length - 1].percentage == 1) {
890
+ this._keyframes[this._keyframes.length - 1].value = value;
891
+ }
892
+ else {
893
+ this._keyframes.push({ percentage: 1, value: value });
894
+ }
895
+ }
896
+ return this;
897
+ }
898
+ insertAt(percentage, value) {
899
+ this._keyframes.push({ percentage: percentage, value: value });
900
+ }
901
+ clearFrames() {
902
+ this._keyframes = [];
903
+ }
904
+ }
905
+
906
+ export { Animation, CompositeAnimation, IntegerAnimationHelper, KeyFramesContiner, NumberAnimationHelper, PointAnimationHelper, RGBAnimationHelper, StringAnimationHelper, integerHelperFunctions, linear, numberHelperFunctions, pointHelperFunctions, rgbHelperFunctions, stringHelperFunctions };
907
+ //# sourceMappingURL=index.js.map
package/index.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../src/animatable-attribute.ts","../src/composite-animation.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;AAYa,MAAA,oBAAoB,GAAqC;IAClE,IAAI,EAAE,CAAC,KAAa,EAAE,KAAsB,EAAE,GAAoB,KAAW;AACzE,QAAA,MAAM,cAAc,GAAG,CAAC,KAAK,GAAG,KAAK,CAAC,UAAU,KAAK,GAAG,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU,CAAC;QACvF,IAAI,WAAW,GAAG,cAAc;AAChC,QAAA,IAAG,KAAK,CAAC,QAAQ,EAAC;AACd,YAAA,WAAW,GAAG,KAAK,CAAC,QAAQ,CAAC,cAAc,CAAC;;AAEhD,QAAA,MAAM,GAAG,GAAG,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,QAAQ,CAAC,sB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ED
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "@ue-too/animate",
3
+ "type": "module",
4
+ "version": "0.5.1",
5
+ "exports": {
6
+ ".": {
7
+ "types": "./index.d.ts",
8
+ "import": "./index.js",
9
+ "default": "./index.js"
10
+ },
11
+ "./package.json": "./package.json"
12
+ },
13
+ "dependencies": {
14
+ "@ue-too/math": "^0.5.1"
15
+ },
16
+ "main": "./index.js",
17
+ "types": "./index.d.ts",
18
+ "module": "./index.js",
19
+ "scripts": {
20
+ "test": "echo \"Error: no test specified\" && exit 1"
21
+ }
22
+ }