@twick/visualizer 0.14.0 → 0.14.3

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.
Files changed (68) hide show
  1. package/.eslintrc.json +20 -20
  2. package/README.md +113 -13
  3. package/package.json +14 -14
  4. package/package.json.bak +34 -0
  5. package/src/animations/blur.tsx +96 -60
  6. package/src/animations/breathe.tsx +95 -60
  7. package/src/animations/fade.tsx +173 -60
  8. package/src/animations/index.ts +12 -0
  9. package/src/animations/photo-rise.tsx +103 -66
  10. package/src/animations/photo-zoom.tsx +109 -73
  11. package/src/animations/rise.tsx +157 -118
  12. package/src/animations/succession.tsx +112 -77
  13. package/src/components/frame-effects.tsx +188 -188
  14. package/src/components/track.tsx +237 -232
  15. package/src/controllers/animation.controller.ts +38 -38
  16. package/src/controllers/element.controller.ts +42 -42
  17. package/src/controllers/frame-effect.controller.tsx +29 -29
  18. package/src/controllers/text-effect.controller.ts +32 -32
  19. package/src/elements/audio.element.tsx +79 -17
  20. package/src/elements/caption.element.tsx +169 -87
  21. package/src/elements/circle.element.tsx +88 -20
  22. package/src/elements/icon.element.tsx +88 -20
  23. package/src/elements/image.element.tsx +134 -55
  24. package/src/elements/index.ts +14 -0
  25. package/src/elements/rect.element.tsx +92 -22
  26. package/src/elements/scene.element.tsx +97 -29
  27. package/src/elements/text.element.tsx +101 -27
  28. package/src/elements/video.element.tsx +274 -56
  29. package/src/frame-effects/circle.frame.tsx +168 -103
  30. package/src/frame-effects/index.ts +7 -0
  31. package/src/frame-effects/rect.frame.tsx +198 -103
  32. package/src/global.css +11 -11
  33. package/src/helpers/caption.utils.ts +29 -29
  34. package/src/helpers/constants.ts +162 -158
  35. package/src/helpers/element.utils.ts +331 -239
  36. package/src/helpers/event.utils.ts +21 -0
  37. package/src/helpers/filters.ts +127 -127
  38. package/src/helpers/log.utils.ts +55 -29
  39. package/src/helpers/timing.utils.ts +109 -109
  40. package/src/helpers/types.ts +361 -241
  41. package/src/helpers/utils.ts +36 -19
  42. package/src/index.ts +196 -6
  43. package/src/live.tsx +16 -16
  44. package/src/project.ts +6 -6
  45. package/src/sample.ts +247 -247
  46. package/src/text-effects/elastic.tsx +70 -39
  47. package/src/text-effects/erase.tsx +91 -58
  48. package/src/text-effects/index.ts +9 -0
  49. package/src/text-effects/stream-word.tsx +94 -60
  50. package/src/text-effects/typewriter.tsx +93 -59
  51. package/src/visualizer-grouped.ts +83 -0
  52. package/src/visualizer.tsx +182 -78
  53. package/tsconfig.json +11 -11
  54. package/typedoc.json +19 -14
  55. package/vite.config.ts +15 -15
  56. package/.turbo/turbo-build.log +0 -19
  57. package/.turbo/turbo-docs.log +0 -7
  58. package/LICENSE +0 -197
  59. package/dist/mp4.wasm +0 -0
  60. package/dist/project.css +0 -1
  61. package/dist/project.js +0 -145
  62. package/docs/.nojekyll +0 -1
  63. package/docs/README.md +0 -13
  64. package/docs/interfaces/Animation.md +0 -47
  65. package/docs/interfaces/Element.md +0 -47
  66. package/docs/interfaces/FrameEffectPlugin.md +0 -47
  67. package/docs/interfaces/TextEffect.md +0 -47
  68. package/docs/modules.md +0 -535
@@ -1,78 +1,182 @@
1
- /**
2
- * Main visualizer component that renders the scene with video, audio, captions and other elements
3
- * based on the provided input configuration.
4
- */
5
-
6
- import "./global.css";
7
- import { Rect, makeScene2D, View2D } from "@twick/2d";
8
- import { all, useScene } from "@twick/core";
9
-
10
- import { DEFAULT_BACKGROUND_COLOR, TRACK_TYPES } from "./helpers/constants";
11
- import { VideoInput } from "./helpers/types";
12
- import { logger } from "./helpers/log.utils";
13
- import {
14
- makeAudioTrack,
15
- makeCaptionTrack,
16
- makeElementTrack,
17
- makeSceneTrack,
18
- makeVideoTrack,
19
- } from "./components/track";
20
-
21
- /**
22
- * Creates and configures the main scene for video visualization
23
- * @param {string} name - Name of the scene
24
- * @param {Function} generator - Generator function that handles scene setup and animation
25
- * @returns {Scene2D} Configured scene object
26
- */
27
- export const scene = makeScene2D("scene", function* (view: View2D) {
28
- // Get input configuration from scene variables
29
- const input = useScene().variables.get("input", null)() as VideoInput | null;
30
-
31
- if (input) {
32
- logger("Scene updated", input);
33
-
34
- // Add background rectangle with specified or default color
35
- yield view.add(
36
- <Rect
37
- fill={input.backgroundColor ?? DEFAULT_BACKGROUND_COLOR}
38
- size={"100%"}
39
- />
40
- );
41
-
42
- // Process track elements if present
43
- if (input.tracks) {
44
- const movie = [];
45
- let index = 1;
46
-
47
- // Iterate through each track element and create appropriate visualization
48
- for (const track of input.tracks) {
49
- switch (track.type) {
50
- case TRACK_TYPES.VIDEO:
51
- movie.push(makeVideoTrack({ view, track }));
52
- break;
53
- case TRACK_TYPES.AUDIO:
54
- movie.push(makeAudioTrack({ view, track }));
55
- break;
56
- case TRACK_TYPES.CAPTION:
57
- movie.push(
58
- makeCaptionTrack({
59
- view,
60
- track,
61
- })
62
- );
63
- break;
64
- case TRACK_TYPES.SCENE:
65
- movie.push(makeSceneTrack({ view, track }));
66
- break;
67
- case TRACK_TYPES.ELEMENT:
68
- movie.push(makeElementTrack({ view, track }));
69
- break;
70
- }
71
- index++;
72
- }
73
-
74
- // Execute all track animations in parallel
75
- yield* all(...movie);
76
- }
77
- }
78
- });
1
+ /**
2
+ * @twick/visualizer - Professional Video Visualization Library
3
+ *
4
+ * Main visualizer component that renders the scene with video, audio, captions and other elements
5
+ * based on the provided input configuration. Creates a complete visualization scene with
6
+ * background, tracks, animations, and effects for professional video content.
7
+ *
8
+ * ## Scene Architecture
9
+ *
10
+ * The visualizer creates a hierarchical scene structure:
11
+ * ```
12
+ * Scene
13
+ * ├── Background Container
14
+ * ├── Track 1
15
+ * │ ├── Element 1 (Video/Image/Audio)
16
+ * │ ├── Element 2 (Text/Caption)
17
+ * │ └── Element 3 (Shapes/UI)
18
+ * ├── Track 2
19
+ * │ └── ...
20
+ * └── Track N
21
+ * ```
22
+ *
23
+ * ## Core Features
24
+ *
25
+ * - **Multi-Track Support**: Organize elements into logical tracks
26
+ * - **Animation System**: Rich animation library with enter/exit effects
27
+ * - **Text Effects**: Character and word-level text animations
28
+ * - **Frame Effects**: Visual masking and container transformations
29
+ * - **Media Support**: Video, image, and audio content management
30
+ * - **Timing Control**: Precise start/end timing for all elements
31
+ *
32
+ * ## Use Cases
33
+ *
34
+ * - **Video Presentations**: Professional slideshows with animations
35
+ * - **Content Creation**: Social media videos with effects
36
+ * - **Educational Content**: Interactive learning materials
37
+ * - **Marketing Videos**: Branded content with visual effects
38
+ * - **Live Streaming**: Real-time visual enhancements
39
+ *
40
+ * @packageDocumentation
41
+ */
42
+
43
+ import "./global.css";
44
+ import { Rect, makeScene2D, View2D } from "@twick/2d";
45
+ import { all, useScene } from "@twick/core";
46
+
47
+ import {
48
+ DEFAULT_BACKGROUND_COLOR,
49
+ EVENT_TYPES,
50
+ TRACK_TYPES,
51
+ } from "./helpers/constants";
52
+ import { VideoInput } from "./helpers/types";
53
+ import { logger } from "./helpers/log.utils";
54
+ import {
55
+ makeAudioTrack,
56
+ makeCaptionTrack,
57
+ makeElementTrack,
58
+ makeSceneTrack,
59
+ makeVideoTrack,
60
+ } from "./components/track";
61
+ import { dispatchWindowEvent } from "./helpers/event.utils";
62
+
63
+ /**
64
+ * @category Core
65
+ * @description Main scene generator for video visualization
66
+ *
67
+ * Creates and configures the main scene for video visualization. Sets up a scene with
68
+ * background, processes track elements, and handles animation generation for video,
69
+ * audio, captions, and other visual elements.
70
+ *
71
+ * ## Scene Lifecycle
72
+ *
73
+ * 1. **Input Processing**: Retrieves video input configuration from scene variables
74
+ * 2. **Background Setup**: Creates background rectangle with specified color
75
+ * 3. **Track Processing**: Iterates through tracks and creates appropriate visualizations
76
+ * 4. **Animation Execution**: Runs all track animations in parallel using `all()`
77
+ * 5. **Event Dispatch**: Sends player update events for status tracking
78
+ *
79
+ * ## Track Types Supported
80
+ *
81
+ * - **VIDEO**: Video content with playback and effects
82
+ * - **AUDIO**: Audio content with timing and synchronization
83
+ * - **CAPTION**: Text overlays with styling and animations
84
+ * - **SCENE**: Scene containers for organization
85
+ * - **ELEMENT**: Custom elements with animations
86
+ *
87
+ * ## 📊 Performance Features
88
+ *
89
+ * - **Parallel Execution**: All track animations run concurrently
90
+ * - **Event-Driven**: Real-time status updates via window events
91
+ * - **Resource Management**: Automatic cleanup and memory optimization
92
+ * - **Error Handling**: Graceful fallbacks for missing configurations
93
+ *
94
+ * @param name - Name of the scene for identification
95
+ * @param generator - Generator function that handles scene setup and animation
96
+ * @returns Configured scene object with all track animations
97
+ *
98
+ * @example
99
+ * ```js
100
+ * // Basic scene setup
101
+ * const scene = makeScene2D("scene", function* (view) {
102
+ * // Scene setup and animation logic
103
+ * yield* all(...trackAnimations);
104
+ * });
105
+ *
106
+ * // With video input configuration
107
+ * const videoScene = makeScene2D("video-scene", function* (view) {
108
+ * // Configure scene variables
109
+ * useScene().variables.set("input", videoInput);
110
+ * useScene().variables.set("playerId", "main-player");
111
+ *
112
+ * // Scene will automatically process the input
113
+ * });
114
+ * ```
115
+ */
116
+ export const scene = makeScene2D("scene", function* (view: View2D) {
117
+ // Get input configuration from scene variables
118
+ const input = useScene().variables.get("input", null)() as VideoInput | null;
119
+ const playerId = useScene().variables.get("playerId", null)() as
120
+ | string
121
+ | null;
122
+ if (input) {
123
+ logger("Scene updated", { playerId, input });
124
+ // Add background rectangle with specified or default color
125
+ yield view.add(
126
+ <Rect
127
+ fill={input.backgroundColor ?? DEFAULT_BACKGROUND_COLOR}
128
+ size={"100%"}
129
+ />
130
+ );
131
+
132
+ // Process track elements if present
133
+ if (input.tracks) {
134
+ const movie = [];
135
+ let index = 1;
136
+
137
+ // Iterate through each track element and create appropriate visualization
138
+ for (const track of input.tracks) {
139
+ switch (track.type) {
140
+ case TRACK_TYPES.VIDEO:
141
+ movie.push(makeVideoTrack({ view, track }));
142
+ break;
143
+ case TRACK_TYPES.AUDIO:
144
+ movie.push(makeAudioTrack({ view, track }));
145
+ break;
146
+ case TRACK_TYPES.CAPTION:
147
+ movie.push(
148
+ makeCaptionTrack({
149
+ view,
150
+ track,
151
+ })
152
+ );
153
+ break;
154
+ case TRACK_TYPES.SCENE:
155
+ movie.push(makeSceneTrack({ view, track }));
156
+ break;
157
+ case TRACK_TYPES.ELEMENT:
158
+ movie.push(makeElementTrack({ view, track }));
159
+ break;
160
+ }
161
+ index++;
162
+ }
163
+ // Execute all track animations in parallel
164
+ yield* all(...movie);
165
+ dispatchWindowEvent(EVENT_TYPES.PLAYER_UPDATE, {
166
+ detail: {
167
+ status: "ready",
168
+ playerId: playerId,
169
+ message: "All elements created",
170
+ },
171
+ });
172
+ } else {
173
+ dispatchWindowEvent(EVENT_TYPES.PLAYER_UPDATE, {
174
+ detail: {
175
+ status: "ready",
176
+ playerId: playerId,
177
+ message: "No elements to create",
178
+ },
179
+ });
180
+ }
181
+ }
182
+ });
package/tsconfig.json CHANGED
@@ -1,11 +1,11 @@
1
- {
2
- "extends": "@twick/2d/tsconfig.project.json",
3
- "include": ["src"],
4
- "compilerOptions": {
5
- "noEmit": false,
6
- "outDir": "dist",
7
- "module": "CommonJS",
8
- "skipLibCheck": true,
9
- "jsx": "react-jsx"
10
- }
11
- }
1
+ {
2
+ "extends": "@twick/2d/tsconfig.project.json",
3
+ "include": ["src"],
4
+ "compilerOptions": {
5
+ "noEmit": false,
6
+ "outDir": "dist",
7
+ "module": "CommonJS",
8
+ "skipLibCheck": true,
9
+ "jsx": "react-jsx"
10
+ }
11
+ }
package/typedoc.json CHANGED
@@ -1,15 +1,20 @@
1
- {
2
- "$schema": "https://typedoc.org/schema.json",
3
- "entryPoints": ["./src/index.ts"],
4
- "out": "docs",
5
- "name": "@twick/visualizer",
6
- "excludePrivate": true,
7
- "excludeProtected": true,
8
- "excludeExternals": true,
9
- "theme": "default",
10
- "readme": "README.md",
11
- "plugin": ["typedoc-plugin-markdown"],
12
- "categorizeByGroup": true,
13
- "categoryOrder": ["Core", "Utils", "*"],
14
- "hideBreadcrumbs": true
1
+ {
2
+ "$schema": "https://typedoc.org/schema.json",
3
+ "entryPoints": ["./src/visualizer-grouped.ts"],
4
+ "out": "docs",
5
+ "name": "@twick/visualizer",
6
+ "excludePrivate": true,
7
+ "excludeProtected": true,
8
+ "excludeExternals": true,
9
+ "theme": "default",
10
+ "readme": "README.md",
11
+ "plugin": ["typedoc-plugin-markdown"],
12
+ "categorizeByGroup": true,
13
+ "categoryOrder": ["Core", "FadeAnimation", "RiseAnimation", "BlurAnimation", "BreatheAnimation", "SuccessionAnimation", "PhotoRiseAnimation", "PhotoZoomAnimation", "VideoElement", "ImageElement", "AudioElement", "TextElement", "CaptionElement", "RectElement", "CircleElement", "IconElement", "SceneElement", "TypewriterEffect", "StreamWordEffect", "ElasticEffect", "EraseEffect", "CircleFrameEffect", "RectFrameEffect", "Types", "Interfaces", "Other"],
14
+ "hideBreadcrumbs": true,
15
+ "groupOrder": ["Core", "FadeAnimation", "RiseAnimation", "BlurAnimation", "BreatheAnimation", "SuccessionAnimation", "PhotoRiseAnimation", "PhotoZoomAnimation", "VideoElement", "ImageElement", "AudioElement", "TextElement", "CaptionElement", "RectElement", "CircleElement", "IconElement", "SceneElement", "TypewriterEffect", "StreamWordEffect", "ElasticEffect", "EraseEffect", "CircleFrameEffect", "RectFrameEffect", "Types", "Interfaces", "Other"],
16
+ "sort": ["source-order"],
17
+ "defaultCategory": "Other",
18
+ "hideInPageTOC": false,
19
+ "includeVersion": true
15
20
  }
package/vite.config.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { defineConfig } from "vite";
2
- import motionCanvas from '@twick/vite-plugin';
3
-
4
- export default defineConfig({
5
- plugins: [motionCanvas()],
6
- build: {
7
- rollupOptions: {
8
- output: {
9
- entryFileNames: '[name].js',
10
- chunkFileNames: '[name].js',
11
- assetFileNames: '[name].[ext]'
12
- }
13
- }
14
- }
15
- });
1
+ import { defineConfig } from "vite";
2
+ import motionCanvas from '@twick/vite-plugin';
3
+
4
+ export default defineConfig({
5
+ plugins: [motionCanvas()],
6
+ build: {
7
+ rollupOptions: {
8
+ output: {
9
+ entryFileNames: '[name].js',
10
+ chunkFileNames: '[name].js',
11
+ assetFileNames: '[name].[ext]'
12
+ }
13
+ }
14
+ }
15
+ });
@@ -1,19 +0,0 @@
1
-
2
- > @twick/visualizer@0.14.0 build C:\GitHub\twick\packages\visualizer
3
- > tsc && vite build
4
-
5
- The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
6
- vite v5.4.19 building for production...
7
- transforming...
8
- ✓ 1551 modules transformed.
9
- rendering chunks...
10
- computing gzip size...
11
- dist/mp4.wasm  41.99 kB
12
- dist/project.css  1.35 kB │ gzip: 0.40 kB
13
- dist/project.js 863.89 kB │ gzip: 250.81 kB
14
- 
15
- ✓ built in 37.73s
16
- (!) Some chunks are larger than 500 kB after minification. Consider:
17
- - Using dynamic import() to code-split the application
18
- - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
19
- - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
@@ -1,7 +0,0 @@
1
-
2
- > @twick/visualizer@0.14.0 docs C:\GitHub\twick\packages\visualizer
3
- > typedoc --out docs src/index.ts
4
-
5
- [info] Loaded plugin typedoc-plugin-markdown
6
- [warning] You are running with an unsupported TypeScript version! If TypeDoc crashes, this is why. TypeDoc supports 4.6, 4.7, 4.8, 4.9, 5.0, 5.1, 5.2, 5.3, 5.4
7
- [info] Documentation generated at ./docs
package/LICENSE DELETED
@@ -1,197 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- -------------------------------------------------------------------------------
177
-
178
- ADDITIONAL TERMS – NO RESALE / NO STANDALONE REDISTRIBUTION
179
-
180
- The following additional terms apply to this project:
181
-
182
- 1. **No Standalone Resale or Licensing**
183
- You may not sell, license, sublicense, or otherwise commercially distribute this software, or any modified version of it, as a standalone product, SDK, or developer tool/library.
184
-
185
- 2. **Permitted Commercial Use**
186
- You may use this software in commercial applications, platforms, or services provided that:
187
- - It is part of a larger product or service with meaningful added value.
188
- - It is not positioned or marketed as a competing SDK or developer tool.
189
-
190
- 3. **Cloud Function Restrictions**
191
- You may self-host the cloud function components within your application or product. However, you may not offer them as a hosted service, API, or commercial cloud product without obtaining a commercial license.
192
-
193
- 4. **Trademark and Branding Restrictions**
194
- You may not use the name, logo, or branding associated with this project to market, redistribute, or promote your own products without explicit written permission.
195
-
196
- For commercial licensing, redistribution rights, or branding permissions, please contact: [contact@kifferai.com]
197
-
package/dist/mp4.wasm DELETED
Binary file
package/dist/project.css DELETED
@@ -1 +0,0 @@
1
- @import"https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap";@import"https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap";@import"https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap";@import"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap";@import"https://fonts.googleapis.com/css2?family=Bangers&family=Birthstone&family=Corinthia:wght@400;700&family=Imperial+Script&family=Kumar+One+Outline&family=Londrina+Outline&family=Marck+Script&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Pattaya&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";@import"https://fonts.cdnfonts.com/css/peralta";@import"https://fonts.cdnfonts.com/css/impact";@import"https://fonts.cdnfonts.com/css/lumanosimo";@import"https://fonts.cdnfonts.com/css/kapakana";@import"https://fonts.cdnfonts.com/css/handyrush";@import"https://fonts.cdnfonts.com/css/dasher";@import"https://fonts.cdnfonts.com/css/brittany-signature";