jbilcke-hf HF staff commited on
Commit
f9f5b89
1 Parent(s): 784446e
Files changed (3) hide show
  1. package-lock.json +625 -10
  2. package.json +2 -1
  3. src/app/main.tsx +32 -11
package-lock.json CHANGED
@@ -9,7 +9,7 @@
9
  "version": "0.0.0",
10
  "dependencies": {
11
  "@aitube/clap": "0.0.23",
12
- "@aitube/timeline": "0.0.2",
13
  "@huggingface/hub": "^0.15.0",
14
  "@radix-ui/react-accordion": "^1.1.2",
15
  "@radix-ui/react-avatar": "^1.0.4",
@@ -54,6 +54,7 @@
54
  "react": "^18.3.1",
55
  "react-device-frameset": "^1.3.4",
56
  "react-dom": "^18.3.1",
 
57
  "react-hook-consent": "^3.5.3",
58
  "react-icons": "^5.2.1",
59
  "sharp": "^0.33.4",
@@ -83,9 +84,9 @@
83
  }
84
  },
85
  "node_modules/@aitube/timeline": {
86
- "version": "0.0.2",
87
- "resolved": "https://registry.npmjs.org/@aitube/timeline/-/timeline-0.0.2.tgz",
88
- "integrity": "sha512-eO0OcPyXl7fbLnGTY7xLlJjEN/7N7ddiyOdxkeBag1tB9QPBl1LIDVyIKCJy93Q/MnINztcZY6ArfICK1+AO7w==",
89
  "peerDependencies": {
90
  "@aitube/clap": "0.0.23",
91
  "@radix-ui/react-slider": "^1.1.2",
@@ -114,6 +115,371 @@
114
  "url": "https://github.com/sponsors/sindresorhus"
115
  }
116
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  "node_modules/@babel/runtime": {
118
  "version": "7.24.6",
119
  "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.6.tgz",
@@ -125,6 +491,60 @@
125
  "node": ">=6.9.0"
126
  }
127
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  "node_modules/@cspotcode/source-map-support": {
129
  "version": "0.8.1",
130
  "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
@@ -154,6 +574,29 @@
154
  "tslib": "^2.4.0"
155
  }
156
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  "node_modules/@eslint-community/eslint-utils": {
158
  "version": "4.4.0",
159
  "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
@@ -2945,6 +3388,21 @@
2945
  "dequal": "^2.0.3"
2946
  }
2947
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2948
  "node_modules/balanced-match": {
2949
  "version": "1.0.2",
2950
  "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
@@ -3107,6 +3565,14 @@
3107
  "node": ">= 6"
3108
  }
3109
  },
 
 
 
 
 
 
 
 
3110
  "node_modules/camera-controls": {
3111
  "version": "2.8.4",
3112
  "resolved": "https://registry.npmjs.org/camera-controls/-/camera-controls-2.8.4.tgz",
@@ -3515,6 +3981,12 @@
3515
  "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
3516
  "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
3517
  },
 
 
 
 
 
 
3518
  "node_modules/create-require": {
3519
  "version": "1.1.1",
3520
  "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
@@ -3555,6 +4027,24 @@
3555
  "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz",
3556
  "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
3557
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3558
  "node_modules/cssesc": {
3559
  "version": "3.0.0",
3560
  "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
@@ -4565,6 +5055,15 @@
4565
  "url": "https://github.com/sponsors/ljharb"
4566
  }
4567
  },
 
 
 
 
 
 
 
 
 
4568
  "node_modules/get-intrinsic": {
4569
  "version": "1.2.4",
4570
  "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz",
@@ -4830,6 +5329,14 @@
4830
  "resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.3.5.tgz",
4831
  "integrity": "sha512-uybAvKS6uDe0MnWNEPnO0krWVr+8m2R0hJ/viql8H3MVK+itq8gGQuIYoFHL3rECkIpNH98Lw8YuuWMKZxp3Ew=="
4832
  },
 
 
 
 
 
 
 
 
4833
  "node_modules/ieee754": {
4834
  "version": "1.2.1",
4835
  "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
@@ -5352,6 +5859,17 @@
5352
  "js-yaml": "bin/js-yaml.js"
5353
  }
5354
  },
 
 
 
 
 
 
 
 
 
 
 
5355
  "node_modules/json-buffer": {
5356
  "version": "3.0.1",
5357
  "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
@@ -5368,14 +5886,15 @@
5368
  "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw=="
5369
  },
5370
  "node_modules/json5": {
5371
- "version": "1.0.2",
5372
- "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",
5373
- "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",
5374
- "dependencies": {
5375
- "minimist": "^1.2.0"
5376
- },
5377
  "bin": {
5378
  "json5": "lib/cli.js"
 
 
 
5379
  }
5380
  },
5381
  "node_modules/jsx-ast-utils": {
@@ -5463,6 +5982,11 @@
5463
  "url": "https://github.com/sponsors/sindresorhus"
5464
  }
5465
  },
 
 
 
 
 
5466
  "node_modules/lodash.debounce": {
5467
  "version": "4.0.8",
5468
  "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
@@ -6285,6 +6809,19 @@
6285
  "loose-envify": "^1.1.0"
6286
  }
6287
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
6288
  "node_modules/react-hook-consent": {
6289
  "version": "3.5.3",
6290
  "resolved": "https://registry.npmjs.org/react-hook-consent/-/react-hook-consent-3.5.3.tgz",
@@ -6667,6 +7204,11 @@
6667
  "node": ">= 0.4"
6668
  }
6669
  },
 
 
 
 
 
6670
  "node_modules/sharp": {
6671
  "version": "0.33.4",
6672
  "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.4.tgz",
@@ -7003,6 +7545,54 @@
7003
  "url": "https://github.com/sponsors/sindresorhus"
7004
  }
7005
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7006
  "node_modules/styled-jsx": {
7007
  "version": "5.1.1",
7008
  "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz",
@@ -7198,6 +7788,14 @@
7198
  "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.6.10.tgz",
7199
  "integrity": "sha512-IQrh3lEPM93wVCEczc9SaAOvkmcoQn/G8Bo1e8ZPlY3X3bnAxWaBdvTdvM1hP62iZp0BXWDy4vTAy4fF0+Dlpg=="
7200
  },
 
 
 
 
 
 
 
 
7201
  "node_modules/to-regex-range": {
7202
  "version": "5.0.1",
7203
  "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
@@ -7310,6 +7908,17 @@
7310
  "strip-bom": "^3.0.0"
7311
  }
7312
  },
 
 
 
 
 
 
 
 
 
 
 
7313
  "node_modules/tslib": {
7314
  "version": "2.6.2",
7315
  "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
@@ -7788,6 +8397,12 @@
7788
  "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
7789
  "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
7790
  },
 
 
 
 
 
 
7791
  "node_modules/yaml": {
7792
  "version": "2.4.2",
7793
  "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.2.tgz",
 
9
  "version": "0.0.0",
10
  "dependencies": {
11
  "@aitube/clap": "0.0.23",
12
+ "@aitube/timeline": "0.0.3",
13
  "@huggingface/hub": "^0.15.0",
14
  "@radix-ui/react-accordion": "^1.1.2",
15
  "@radix-ui/react-avatar": "^1.0.4",
 
54
  "react": "^18.3.1",
55
  "react-device-frameset": "^1.3.4",
56
  "react-dom": "^18.3.1",
57
+ "react-drag-drop-files": "^2.3.10",
58
  "react-hook-consent": "^3.5.3",
59
  "react-icons": "^5.2.1",
60
  "sharp": "^0.33.4",
 
84
  }
85
  },
86
  "node_modules/@aitube/timeline": {
87
+ "version": "0.0.3",
88
+ "resolved": "https://registry.npmjs.org/@aitube/timeline/-/timeline-0.0.3.tgz",
89
+ "integrity": "sha512-lqyPkPjYbWJUpqj5xewvZCxZMNgVCszRxTHQ285KoOQzE6buR9lMtptLcFxREQ/XkDrr1NA7ouDxxnqnkK3r/g==",
90
  "peerDependencies": {
91
  "@aitube/clap": "0.0.23",
92
  "@radix-ui/react-slider": "^1.1.2",
 
115
  "url": "https://github.com/sponsors/sindresorhus"
116
  }
117
  },
118
+ "node_modules/@ampproject/remapping": {
119
+ "version": "2.3.0",
120
+ "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz",
121
+ "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",
122
+ "peer": true,
123
+ "dependencies": {
124
+ "@jridgewell/gen-mapping": "^0.3.5",
125
+ "@jridgewell/trace-mapping": "^0.3.24"
126
+ },
127
+ "engines": {
128
+ "node": ">=6.0.0"
129
+ }
130
+ },
131
+ "node_modules/@babel/code-frame": {
132
+ "version": "7.24.6",
133
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.6.tgz",
134
+ "integrity": "sha512-ZJhac6FkEd1yhG2AHOmfcXG4ceoLltoCVJjN5XsWN9BifBQr+cHJbWi0h68HZuSORq+3WtJ2z0hwF2NG1b5kcA==",
135
+ "dependencies": {
136
+ "@babel/highlight": "^7.24.6",
137
+ "picocolors": "^1.0.0"
138
+ },
139
+ "engines": {
140
+ "node": ">=6.9.0"
141
+ }
142
+ },
143
+ "node_modules/@babel/compat-data": {
144
+ "version": "7.24.6",
145
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.6.tgz",
146
+ "integrity": "sha512-aC2DGhBq5eEdyXWqrDInSqQjO0k8xtPRf5YylULqx8MCd6jBtzqfta/3ETMRpuKIc5hyswfO80ObyA1MvkCcUQ==",
147
+ "peer": true,
148
+ "engines": {
149
+ "node": ">=6.9.0"
150
+ }
151
+ },
152
+ "node_modules/@babel/core": {
153
+ "version": "7.24.6",
154
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.6.tgz",
155
+ "integrity": "sha512-qAHSfAdVyFmIvl0VHELib8xar7ONuSHrE2hLnsaWkYNTI68dmi1x8GYDhJjMI/e7XWal9QBlZkwbOnkcw7Z8gQ==",
156
+ "peer": true,
157
+ "dependencies": {
158
+ "@ampproject/remapping": "^2.2.0",
159
+ "@babel/code-frame": "^7.24.6",
160
+ "@babel/generator": "^7.24.6",
161
+ "@babel/helper-compilation-targets": "^7.24.6",
162
+ "@babel/helper-module-transforms": "^7.24.6",
163
+ "@babel/helpers": "^7.24.6",
164
+ "@babel/parser": "^7.24.6",
165
+ "@babel/template": "^7.24.6",
166
+ "@babel/traverse": "^7.24.6",
167
+ "@babel/types": "^7.24.6",
168
+ "convert-source-map": "^2.0.0",
169
+ "debug": "^4.1.0",
170
+ "gensync": "^1.0.0-beta.2",
171
+ "json5": "^2.2.3",
172
+ "semver": "^6.3.1"
173
+ },
174
+ "engines": {
175
+ "node": ">=6.9.0"
176
+ },
177
+ "funding": {
178
+ "type": "opencollective",
179
+ "url": "https://opencollective.com/babel"
180
+ }
181
+ },
182
+ "node_modules/@babel/core/node_modules/semver": {
183
+ "version": "6.3.1",
184
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
185
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
186
+ "peer": true,
187
+ "bin": {
188
+ "semver": "bin/semver.js"
189
+ }
190
+ },
191
+ "node_modules/@babel/generator": {
192
+ "version": "7.24.6",
193
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.6.tgz",
194
+ "integrity": "sha512-S7m4eNa6YAPJRHmKsLHIDJhNAGNKoWNiWefz1MBbpnt8g9lvMDl1hir4P9bo/57bQEmuwEhnRU/AMWsD0G/Fbg==",
195
+ "dependencies": {
196
+ "@babel/types": "^7.24.6",
197
+ "@jridgewell/gen-mapping": "^0.3.5",
198
+ "@jridgewell/trace-mapping": "^0.3.25",
199
+ "jsesc": "^2.5.1"
200
+ },
201
+ "engines": {
202
+ "node": ">=6.9.0"
203
+ }
204
+ },
205
+ "node_modules/@babel/helper-annotate-as-pure": {
206
+ "version": "7.24.6",
207
+ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.24.6.tgz",
208
+ "integrity": "sha512-DitEzDfOMnd13kZnDqns1ccmftwJTS9DMkyn9pYTxulS7bZxUxpMly3Nf23QQ6NwA4UB8lAqjbqWtyvElEMAkg==",
209
+ "dependencies": {
210
+ "@babel/types": "^7.24.6"
211
+ },
212
+ "engines": {
213
+ "node": ">=6.9.0"
214
+ }
215
+ },
216
+ "node_modules/@babel/helper-compilation-targets": {
217
+ "version": "7.24.6",
218
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.6.tgz",
219
+ "integrity": "sha512-VZQ57UsDGlX/5fFA7GkVPplZhHsVc+vuErWgdOiysI9Ksnw0Pbbd6pnPiR/mmJyKHgyIW0c7KT32gmhiF+cirg==",
220
+ "peer": true,
221
+ "dependencies": {
222
+ "@babel/compat-data": "^7.24.6",
223
+ "@babel/helper-validator-option": "^7.24.6",
224
+ "browserslist": "^4.22.2",
225
+ "lru-cache": "^5.1.1",
226
+ "semver": "^6.3.1"
227
+ },
228
+ "engines": {
229
+ "node": ">=6.9.0"
230
+ }
231
+ },
232
+ "node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": {
233
+ "version": "5.1.1",
234
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
235
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
236
+ "peer": true,
237
+ "dependencies": {
238
+ "yallist": "^3.0.2"
239
+ }
240
+ },
241
+ "node_modules/@babel/helper-compilation-targets/node_modules/semver": {
242
+ "version": "6.3.1",
243
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
244
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
245
+ "peer": true,
246
+ "bin": {
247
+ "semver": "bin/semver.js"
248
+ }
249
+ },
250
+ "node_modules/@babel/helper-environment-visitor": {
251
+ "version": "7.24.6",
252
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.6.tgz",
253
+ "integrity": "sha512-Y50Cg3k0LKLMjxdPjIl40SdJgMB85iXn27Vk/qbHZCFx/o5XO3PSnpi675h1KEmmDb6OFArfd5SCQEQ5Q4H88g==",
254
+ "engines": {
255
+ "node": ">=6.9.0"
256
+ }
257
+ },
258
+ "node_modules/@babel/helper-function-name": {
259
+ "version": "7.24.6",
260
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.24.6.tgz",
261
+ "integrity": "sha512-xpeLqeeRkbxhnYimfr2PC+iA0Q7ljX/d1eZ9/inYbmfG2jpl8Lu3DyXvpOAnrS5kxkfOWJjioIMQsaMBXFI05w==",
262
+ "dependencies": {
263
+ "@babel/template": "^7.24.6",
264
+ "@babel/types": "^7.24.6"
265
+ },
266
+ "engines": {
267
+ "node": ">=6.9.0"
268
+ }
269
+ },
270
+ "node_modules/@babel/helper-hoist-variables": {
271
+ "version": "7.24.6",
272
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.6.tgz",
273
+ "integrity": "sha512-SF/EMrC3OD7dSta1bLJIlrsVxwtd0UpjRJqLno6125epQMJ/kyFmpTT4pbvPbdQHzCHg+biQ7Syo8lnDtbR+uA==",
274
+ "dependencies": {
275
+ "@babel/types": "^7.24.6"
276
+ },
277
+ "engines": {
278
+ "node": ">=6.9.0"
279
+ }
280
+ },
281
+ "node_modules/@babel/helper-module-imports": {
282
+ "version": "7.24.6",
283
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.6.tgz",
284
+ "integrity": "sha512-a26dmxFJBF62rRO9mmpgrfTLsAuyHk4e1hKTUkD/fcMfynt8gvEKwQPQDVxWhca8dHoDck+55DFt42zV0QMw5g==",
285
+ "dependencies": {
286
+ "@babel/types": "^7.24.6"
287
+ },
288
+ "engines": {
289
+ "node": ">=6.9.0"
290
+ }
291
+ },
292
+ "node_modules/@babel/helper-module-transforms": {
293
+ "version": "7.24.6",
294
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.6.tgz",
295
+ "integrity": "sha512-Y/YMPm83mV2HJTbX1Qh2sjgjqcacvOlhbzdCCsSlblOKjSYmQqEbO6rUniWQyRo9ncyfjT8hnUjlG06RXDEmcA==",
296
+ "peer": true,
297
+ "dependencies": {
298
+ "@babel/helper-environment-visitor": "^7.24.6",
299
+ "@babel/helper-module-imports": "^7.24.6",
300
+ "@babel/helper-simple-access": "^7.24.6",
301
+ "@babel/helper-split-export-declaration": "^7.24.6",
302
+ "@babel/helper-validator-identifier": "^7.24.6"
303
+ },
304
+ "engines": {
305
+ "node": ">=6.9.0"
306
+ },
307
+ "peerDependencies": {
308
+ "@babel/core": "^7.0.0"
309
+ }
310
+ },
311
+ "node_modules/@babel/helper-plugin-utils": {
312
+ "version": "7.24.6",
313
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.6.tgz",
314
+ "integrity": "sha512-MZG/JcWfxybKwsA9N9PmtF2lOSFSEMVCpIRrbxccZFLJPrJciJdG/UhSh5W96GEteJI2ARqm5UAHxISwRDLSNg==",
315
+ "engines": {
316
+ "node": ">=6.9.0"
317
+ }
318
+ },
319
+ "node_modules/@babel/helper-simple-access": {
320
+ "version": "7.24.6",
321
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.6.tgz",
322
+ "integrity": "sha512-nZzcMMD4ZhmB35MOOzQuiGO5RzL6tJbsT37Zx8M5L/i9KSrukGXWTjLe1knIbb/RmxoJE9GON9soq0c0VEMM5g==",
323
+ "peer": true,
324
+ "dependencies": {
325
+ "@babel/types": "^7.24.6"
326
+ },
327
+ "engines": {
328
+ "node": ">=6.9.0"
329
+ }
330
+ },
331
+ "node_modules/@babel/helper-split-export-declaration": {
332
+ "version": "7.24.6",
333
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.6.tgz",
334
+ "integrity": "sha512-CvLSkwXGWnYlF9+J3iZUvwgAxKiYzK3BWuo+mLzD/MDGOZDj7Gq8+hqaOkMxmJwmlv0iu86uH5fdADd9Hxkymw==",
335
+ "dependencies": {
336
+ "@babel/types": "^7.24.6"
337
+ },
338
+ "engines": {
339
+ "node": ">=6.9.0"
340
+ }
341
+ },
342
+ "node_modules/@babel/helper-string-parser": {
343
+ "version": "7.24.6",
344
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.6.tgz",
345
+ "integrity": "sha512-WdJjwMEkmBicq5T9fm/cHND3+UlFa2Yj8ALLgmoSQAJZysYbBjw+azChSGPN4DSPLXOcooGRvDwZWMcF/mLO2Q==",
346
+ "engines": {
347
+ "node": ">=6.9.0"
348
+ }
349
+ },
350
+ "node_modules/@babel/helper-validator-identifier": {
351
+ "version": "7.24.6",
352
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.6.tgz",
353
+ "integrity": "sha512-4yA7s865JHaqUdRbnaxarZREuPTHrjpDT+pXoAZ1yhyo6uFnIEpS8VMu16siFOHDpZNKYv5BObhsB//ycbICyw==",
354
+ "engines": {
355
+ "node": ">=6.9.0"
356
+ }
357
+ },
358
+ "node_modules/@babel/helper-validator-option": {
359
+ "version": "7.24.6",
360
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.6.tgz",
361
+ "integrity": "sha512-Jktc8KkF3zIkePb48QO+IapbXlSapOW9S+ogZZkcO6bABgYAxtZcjZ/O005111YLf+j4M84uEgwYoidDkXbCkQ==",
362
+ "peer": true,
363
+ "engines": {
364
+ "node": ">=6.9.0"
365
+ }
366
+ },
367
+ "node_modules/@babel/helpers": {
368
+ "version": "7.24.6",
369
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.6.tgz",
370
+ "integrity": "sha512-V2PI+NqnyFu1i0GyTd/O/cTpxzQCYioSkUIRmgo7gFEHKKCg5w46+r/A6WeUR1+P3TeQ49dspGPNd/E3n9AnnA==",
371
+ "peer": true,
372
+ "dependencies": {
373
+ "@babel/template": "^7.24.6",
374
+ "@babel/types": "^7.24.6"
375
+ },
376
+ "engines": {
377
+ "node": ">=6.9.0"
378
+ }
379
+ },
380
+ "node_modules/@babel/highlight": {
381
+ "version": "7.24.6",
382
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.6.tgz",
383
+ "integrity": "sha512-2YnuOp4HAk2BsBrJJvYCbItHx0zWscI1C3zgWkz+wDyD9I7GIVrfnLyrR4Y1VR+7p+chAEcrgRQYZAGIKMV7vQ==",
384
+ "dependencies": {
385
+ "@babel/helper-validator-identifier": "^7.24.6",
386
+ "chalk": "^2.4.2",
387
+ "js-tokens": "^4.0.0",
388
+ "picocolors": "^1.0.0"
389
+ },
390
+ "engines": {
391
+ "node": ">=6.9.0"
392
+ }
393
+ },
394
+ "node_modules/@babel/highlight/node_modules/ansi-styles": {
395
+ "version": "3.2.1",
396
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
397
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
398
+ "dependencies": {
399
+ "color-convert": "^1.9.0"
400
+ },
401
+ "engines": {
402
+ "node": ">=4"
403
+ }
404
+ },
405
+ "node_modules/@babel/highlight/node_modules/chalk": {
406
+ "version": "2.4.2",
407
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
408
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
409
+ "dependencies": {
410
+ "ansi-styles": "^3.2.1",
411
+ "escape-string-regexp": "^1.0.5",
412
+ "supports-color": "^5.3.0"
413
+ },
414
+ "engines": {
415
+ "node": ">=4"
416
+ }
417
+ },
418
+ "node_modules/@babel/highlight/node_modules/color-convert": {
419
+ "version": "1.9.3",
420
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
421
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
422
+ "dependencies": {
423
+ "color-name": "1.1.3"
424
+ }
425
+ },
426
+ "node_modules/@babel/highlight/node_modules/color-name": {
427
+ "version": "1.1.3",
428
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
429
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
430
+ },
431
+ "node_modules/@babel/highlight/node_modules/escape-string-regexp": {
432
+ "version": "1.0.5",
433
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
434
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
435
+ "engines": {
436
+ "node": ">=0.8.0"
437
+ }
438
+ },
439
+ "node_modules/@babel/highlight/node_modules/has-flag": {
440
+ "version": "3.0.0",
441
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
442
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
443
+ "engines": {
444
+ "node": ">=4"
445
+ }
446
+ },
447
+ "node_modules/@babel/highlight/node_modules/supports-color": {
448
+ "version": "5.5.0",
449
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
450
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
451
+ "dependencies": {
452
+ "has-flag": "^3.0.0"
453
+ },
454
+ "engines": {
455
+ "node": ">=4"
456
+ }
457
+ },
458
+ "node_modules/@babel/parser": {
459
+ "version": "7.24.6",
460
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.6.tgz",
461
+ "integrity": "sha512-eNZXdfU35nJC2h24RznROuOpO94h6x8sg9ju0tT9biNtLZ2vuP8SduLqqV+/8+cebSLV9SJEAN5Z3zQbJG/M+Q==",
462
+ "bin": {
463
+ "parser": "bin/babel-parser.js"
464
+ },
465
+ "engines": {
466
+ "node": ">=6.0.0"
467
+ }
468
+ },
469
+ "node_modules/@babel/plugin-syntax-jsx": {
470
+ "version": "7.24.6",
471
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.6.tgz",
472
+ "integrity": "sha512-lWfvAIFNWMlCsU0DRUun2GpFwZdGTukLaHJqRh1JRb80NdAP5Sb1HDHB5X9P9OtgZHQl089UzQkpYlBq2VTPRw==",
473
+ "dependencies": {
474
+ "@babel/helper-plugin-utils": "^7.24.6"
475
+ },
476
+ "engines": {
477
+ "node": ">=6.9.0"
478
+ },
479
+ "peerDependencies": {
480
+ "@babel/core": "^7.0.0-0"
481
+ }
482
+ },
483
  "node_modules/@babel/runtime": {
484
  "version": "7.24.6",
485
  "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.6.tgz",
 
491
  "node": ">=6.9.0"
492
  }
493
  },
494
+ "node_modules/@babel/template": {
495
+ "version": "7.24.6",
496
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.6.tgz",
497
+ "integrity": "sha512-3vgazJlLwNXi9jhrR1ef8qiB65L1RK90+lEQwv4OxveHnqC3BfmnHdgySwRLzf6akhlOYenT+b7AfWq+a//AHw==",
498
+ "dependencies": {
499
+ "@babel/code-frame": "^7.24.6",
500
+ "@babel/parser": "^7.24.6",
501
+ "@babel/types": "^7.24.6"
502
+ },
503
+ "engines": {
504
+ "node": ">=6.9.0"
505
+ }
506
+ },
507
+ "node_modules/@babel/traverse": {
508
+ "version": "7.24.6",
509
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.6.tgz",
510
+ "integrity": "sha512-OsNjaJwT9Zn8ozxcfoBc+RaHdj3gFmCmYoQLUII1o6ZrUwku0BMg80FoOTPx+Gi6XhcQxAYE4xyjPTo4SxEQqw==",
511
+ "dependencies": {
512
+ "@babel/code-frame": "^7.24.6",
513
+ "@babel/generator": "^7.24.6",
514
+ "@babel/helper-environment-visitor": "^7.24.6",
515
+ "@babel/helper-function-name": "^7.24.6",
516
+ "@babel/helper-hoist-variables": "^7.24.6",
517
+ "@babel/helper-split-export-declaration": "^7.24.6",
518
+ "@babel/parser": "^7.24.6",
519
+ "@babel/types": "^7.24.6",
520
+ "debug": "^4.3.1",
521
+ "globals": "^11.1.0"
522
+ },
523
+ "engines": {
524
+ "node": ">=6.9.0"
525
+ }
526
+ },
527
+ "node_modules/@babel/traverse/node_modules/globals": {
528
+ "version": "11.12.0",
529
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
530
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
531
+ "engines": {
532
+ "node": ">=4"
533
+ }
534
+ },
535
+ "node_modules/@babel/types": {
536
+ "version": "7.24.6",
537
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.6.tgz",
538
+ "integrity": "sha512-WaMsgi6Q8zMgMth93GvWPXkhAIEobfsIkLTacoVZoK1J0CevIPGYY2Vo5YvJGqyHqXM6P4ppOYGsIRU8MM9pFQ==",
539
+ "dependencies": {
540
+ "@babel/helper-string-parser": "^7.24.6",
541
+ "@babel/helper-validator-identifier": "^7.24.6",
542
+ "to-fast-properties": "^2.0.0"
543
+ },
544
+ "engines": {
545
+ "node": ">=6.9.0"
546
+ }
547
+ },
548
  "node_modules/@cspotcode/source-map-support": {
549
  "version": "0.8.1",
550
  "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
 
574
  "tslib": "^2.4.0"
575
  }
576
  },
577
+ "node_modules/@emotion/is-prop-valid": {
578
+ "version": "1.2.2",
579
+ "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.2.tgz",
580
+ "integrity": "sha512-uNsoYd37AFmaCdXlg6EYD1KaPOaRWRByMCYzbKUX4+hhMfrxdVSelShywL4JVaAeM/eHUOSprYBQls+/neX3pw==",
581
+ "dependencies": {
582
+ "@emotion/memoize": "^0.8.1"
583
+ }
584
+ },
585
+ "node_modules/@emotion/memoize": {
586
+ "version": "0.8.1",
587
+ "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz",
588
+ "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA=="
589
+ },
590
+ "node_modules/@emotion/stylis": {
591
+ "version": "0.8.5",
592
+ "resolved": "https://registry.npmjs.org/@emotion/stylis/-/stylis-0.8.5.tgz",
593
+ "integrity": "sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ=="
594
+ },
595
+ "node_modules/@emotion/unitless": {
596
+ "version": "0.7.5",
597
+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz",
598
+ "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg=="
599
+ },
600
  "node_modules/@eslint-community/eslint-utils": {
601
  "version": "4.4.0",
602
  "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
 
3388
  "dequal": "^2.0.3"
3389
  }
3390
  },
3391
+ "node_modules/babel-plugin-styled-components": {
3392
+ "version": "2.1.4",
3393
+ "resolved": "https://registry.npmjs.org/babel-plugin-styled-components/-/babel-plugin-styled-components-2.1.4.tgz",
3394
+ "integrity": "sha512-Xgp9g+A/cG47sUyRwwYxGM4bR/jDRg5N6it/8+HxCnbT5XNKSKDT9xm4oag/osgqjC2It/vH0yXsomOG6k558g==",
3395
+ "dependencies": {
3396
+ "@babel/helper-annotate-as-pure": "^7.22.5",
3397
+ "@babel/helper-module-imports": "^7.22.5",
3398
+ "@babel/plugin-syntax-jsx": "^7.22.5",
3399
+ "lodash": "^4.17.21",
3400
+ "picomatch": "^2.3.1"
3401
+ },
3402
+ "peerDependencies": {
3403
+ "styled-components": ">= 2"
3404
+ }
3405
+ },
3406
  "node_modules/balanced-match": {
3407
  "version": "1.0.2",
3408
  "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
 
3565
  "node": ">= 6"
3566
  }
3567
  },
3568
+ "node_modules/camelize": {
3569
+ "version": "1.0.1",
3570
+ "resolved": "https://registry.npmjs.org/camelize/-/camelize-1.0.1.tgz",
3571
+ "integrity": "sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==",
3572
+ "funding": {
3573
+ "url": "https://github.com/sponsors/ljharb"
3574
+ }
3575
+ },
3576
  "node_modules/camera-controls": {
3577
  "version": "2.8.4",
3578
  "resolved": "https://registry.npmjs.org/camera-controls/-/camera-controls-2.8.4.tgz",
 
3981
  "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
3982
  "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
3983
  },
3984
+ "node_modules/convert-source-map": {
3985
+ "version": "2.0.0",
3986
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
3987
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
3988
+ "peer": true
3989
+ },
3990
  "node_modules/create-require": {
3991
  "version": "1.1.1",
3992
  "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
 
4027
  "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz",
4028
  "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
4029
  },
4030
+ "node_modules/css-color-keywords": {
4031
+ "version": "1.0.0",
4032
+ "resolved": "https://registry.npmjs.org/css-color-keywords/-/css-color-keywords-1.0.0.tgz",
4033
+ "integrity": "sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg==",
4034
+ "engines": {
4035
+ "node": ">=4"
4036
+ }
4037
+ },
4038
+ "node_modules/css-to-react-native": {
4039
+ "version": "3.2.0",
4040
+ "resolved": "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-3.2.0.tgz",
4041
+ "integrity": "sha512-e8RKaLXMOFii+02mOlqwjbD00KSEKqblnpO9e++1aXS1fPQOpS1YoqdVHBqPjHNoxeF2mimzVqawm2KCbEdtHQ==",
4042
+ "dependencies": {
4043
+ "camelize": "^1.0.0",
4044
+ "css-color-keywords": "^1.0.0",
4045
+ "postcss-value-parser": "^4.0.2"
4046
+ }
4047
+ },
4048
  "node_modules/cssesc": {
4049
  "version": "3.0.0",
4050
  "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
 
5055
  "url": "https://github.com/sponsors/ljharb"
5056
  }
5057
  },
5058
+ "node_modules/gensync": {
5059
+ "version": "1.0.0-beta.2",
5060
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
5061
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
5062
+ "peer": true,
5063
+ "engines": {
5064
+ "node": ">=6.9.0"
5065
+ }
5066
+ },
5067
  "node_modules/get-intrinsic": {
5068
  "version": "1.2.4",
5069
  "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz",
 
5329
  "resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.3.5.tgz",
5330
  "integrity": "sha512-uybAvKS6uDe0MnWNEPnO0krWVr+8m2R0hJ/viql8H3MVK+itq8gGQuIYoFHL3rECkIpNH98Lw8YuuWMKZxp3Ew=="
5331
  },
5332
+ "node_modules/hoist-non-react-statics": {
5333
+ "version": "3.3.2",
5334
+ "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
5335
+ "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
5336
+ "dependencies": {
5337
+ "react-is": "^16.7.0"
5338
+ }
5339
+ },
5340
  "node_modules/ieee754": {
5341
  "version": "1.2.1",
5342
  "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
 
5859
  "js-yaml": "bin/js-yaml.js"
5860
  }
5861
  },
5862
+ "node_modules/jsesc": {
5863
+ "version": "2.5.2",
5864
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
5865
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
5866
+ "bin": {
5867
+ "jsesc": "bin/jsesc"
5868
+ },
5869
+ "engines": {
5870
+ "node": ">=4"
5871
+ }
5872
+ },
5873
  "node_modules/json-buffer": {
5874
  "version": "3.0.1",
5875
  "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
 
5886
  "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw=="
5887
  },
5888
  "node_modules/json5": {
5889
+ "version": "2.2.3",
5890
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
5891
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
5892
+ "peer": true,
 
 
5893
  "bin": {
5894
  "json5": "lib/cli.js"
5895
+ },
5896
+ "engines": {
5897
+ "node": ">=6"
5898
  }
5899
  },
5900
  "node_modules/jsx-ast-utils": {
 
5982
  "url": "https://github.com/sponsors/sindresorhus"
5983
  }
5984
  },
5985
+ "node_modules/lodash": {
5986
+ "version": "4.17.21",
5987
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
5988
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
5989
+ },
5990
  "node_modules/lodash.debounce": {
5991
  "version": "4.0.8",
5992
  "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
 
6809
  "loose-envify": "^1.1.0"
6810
  }
6811
  },
6812
+ "node_modules/react-drag-drop-files": {
6813
+ "version": "2.3.10",
6814
+ "resolved": "https://registry.npmjs.org/react-drag-drop-files/-/react-drag-drop-files-2.3.10.tgz",
6815
+ "integrity": "sha512-Fv614W9+OtXFB5O+gjompTxQZLYGO7wJeT4paETGiXtiADB9yPOMGYD4A3PMCTY9Be874/wcpl+2dm3MvCIRzg==",
6816
+ "dependencies": {
6817
+ "prop-types": "^15.7.2",
6818
+ "styled-components": "^5.3.0"
6819
+ },
6820
+ "peerDependencies": {
6821
+ "react": "^18.0.0",
6822
+ "react-dom": "^18.0.0"
6823
+ }
6824
+ },
6825
  "node_modules/react-hook-consent": {
6826
  "version": "3.5.3",
6827
  "resolved": "https://registry.npmjs.org/react-hook-consent/-/react-hook-consent-3.5.3.tgz",
 
7204
  "node": ">= 0.4"
7205
  }
7206
  },
7207
+ "node_modules/shallowequal": {
7208
+ "version": "1.1.0",
7209
+ "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz",
7210
+ "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ=="
7211
+ },
7212
  "node_modules/sharp": {
7213
  "version": "0.33.4",
7214
  "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.4.tgz",
 
7545
  "url": "https://github.com/sponsors/sindresorhus"
7546
  }
7547
  },
7548
+ "node_modules/styled-components": {
7549
+ "version": "5.3.11",
7550
+ "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-5.3.11.tgz",
7551
+ "integrity": "sha512-uuzIIfnVkagcVHv9nE0VPlHPSCmXIUGKfJ42LNjxCCTDTL5sgnJ8Z7GZBq0EnLYGln77tPpEpExt2+qa+cZqSw==",
7552
+ "dependencies": {
7553
+ "@babel/helper-module-imports": "^7.0.0",
7554
+ "@babel/traverse": "^7.4.5",
7555
+ "@emotion/is-prop-valid": "^1.1.0",
7556
+ "@emotion/stylis": "^0.8.4",
7557
+ "@emotion/unitless": "^0.7.4",
7558
+ "babel-plugin-styled-components": ">= 1.12.0",
7559
+ "css-to-react-native": "^3.0.0",
7560
+ "hoist-non-react-statics": "^3.0.0",
7561
+ "shallowequal": "^1.1.0",
7562
+ "supports-color": "^5.5.0"
7563
+ },
7564
+ "engines": {
7565
+ "node": ">=10"
7566
+ },
7567
+ "funding": {
7568
+ "type": "opencollective",
7569
+ "url": "https://opencollective.com/styled-components"
7570
+ },
7571
+ "peerDependencies": {
7572
+ "react": ">= 16.8.0",
7573
+ "react-dom": ">= 16.8.0",
7574
+ "react-is": ">= 16.8.0"
7575
+ }
7576
+ },
7577
+ "node_modules/styled-components/node_modules/has-flag": {
7578
+ "version": "3.0.0",
7579
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
7580
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
7581
+ "engines": {
7582
+ "node": ">=4"
7583
+ }
7584
+ },
7585
+ "node_modules/styled-components/node_modules/supports-color": {
7586
+ "version": "5.5.0",
7587
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
7588
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
7589
+ "dependencies": {
7590
+ "has-flag": "^3.0.0"
7591
+ },
7592
+ "engines": {
7593
+ "node": ">=4"
7594
+ }
7595
+ },
7596
  "node_modules/styled-jsx": {
7597
  "version": "5.1.1",
7598
  "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz",
 
7788
  "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.6.10.tgz",
7789
  "integrity": "sha512-IQrh3lEPM93wVCEczc9SaAOvkmcoQn/G8Bo1e8ZPlY3X3bnAxWaBdvTdvM1hP62iZp0BXWDy4vTAy4fF0+Dlpg=="
7790
  },
7791
+ "node_modules/to-fast-properties": {
7792
+ "version": "2.0.0",
7793
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
7794
+ "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
7795
+ "engines": {
7796
+ "node": ">=4"
7797
+ }
7798
+ },
7799
  "node_modules/to-regex-range": {
7800
  "version": "5.0.1",
7801
  "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
 
7908
  "strip-bom": "^3.0.0"
7909
  }
7910
  },
7911
+ "node_modules/tsconfig-paths/node_modules/json5": {
7912
+ "version": "1.0.2",
7913
+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",
7914
+ "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",
7915
+ "dependencies": {
7916
+ "minimist": "^1.2.0"
7917
+ },
7918
+ "bin": {
7919
+ "json5": "lib/cli.js"
7920
+ }
7921
+ },
7922
  "node_modules/tslib": {
7923
  "version": "2.6.2",
7924
  "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
 
8397
  "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
8398
  "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
8399
  },
8400
+ "node_modules/yallist": {
8401
+ "version": "3.1.1",
8402
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
8403
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
8404
+ "peer": true
8405
+ },
8406
  "node_modules/yaml": {
8407
  "version": "2.4.2",
8408
  "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.2.tgz",
package.json CHANGED
@@ -11,7 +11,7 @@
11
  },
12
  "dependencies": {
13
  "@aitube/clap": "0.0.23",
14
- "@aitube/timeline": "0.0.2",
15
  "@huggingface/hub": "^0.15.0",
16
  "@radix-ui/react-accordion": "^1.1.2",
17
  "@radix-ui/react-avatar": "^1.0.4",
@@ -56,6 +56,7 @@
56
  "react": "^18.3.1",
57
  "react-device-frameset": "^1.3.4",
58
  "react-dom": "^18.3.1",
 
59
  "react-hook-consent": "^3.5.3",
60
  "react-icons": "^5.2.1",
61
  "sharp": "^0.33.4",
 
11
  },
12
  "dependencies": {
13
  "@aitube/clap": "0.0.23",
14
+ "@aitube/timeline": "0.0.3",
15
  "@huggingface/hub": "^0.15.0",
16
  "@radix-ui/react-accordion": "^1.1.2",
17
  "@radix-ui/react-avatar": "^1.0.4",
 
56
  "react": "^18.3.1",
57
  "react-device-frameset": "^1.3.4",
58
  "react-dom": "^18.3.1",
59
+ "react-drag-drop-files": "^2.3.10",
60
  "react-hook-consent": "^3.5.3",
61
  "react-icons": "^5.2.1",
62
  "sharp": "^0.33.4",
src/app/main.tsx CHANGED
@@ -1,6 +1,7 @@
1
  "use client"
2
 
3
- import React, { useEffect } from "react"
 
4
  import { parseClap } from "@aitube/clap"
5
  import { ClapTimeline, useTimelineState } from "@aitube/timeline"
6
 
@@ -19,6 +20,11 @@ export function Main() {
19
  const clap = useTimelineState(s => s.clap)
20
  const setClap = useTimelineState(s => s.setClap)
21
 
 
 
 
 
 
22
  useEffect(() => {
23
  (async () => {
24
  if (!clapUrl) {
@@ -37,27 +43,42 @@ export function Main() {
37
  <div className={cn(`
38
  fixed
39
  flex
40
- w-screen h-full
41
- overflow-y-scroll md:overflow-hidden
42
  items-center justify-center
43
- bg-black
44
  `
45
  )}
46
-
47
- style={{
48
- backgroundImage: "repeating-radial-gradient( circle at 0 0, transparent 0, #000000 7px ), repeating-linear-gradient( #34353655, #343536 )"
49
- }}
50
  >
51
  {clap
52
  ? <ClapTimeline
53
  showFPS
 
 
 
54
  />
55
- : <p
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  className="text-stone-100 font-sans font-thin text-[4.5vw]"
57
  style={{ textShadow: "#000 1px 0 3px" }}
58
  >
59
- {clapUrl ? 'Loading..' : 'Error: missing .clap file'}
60
- </p>}
 
 
 
61
  <Toaster />
62
  </div>
63
  </TooltipProvider>
 
1
  "use client"
2
 
3
+ import React, { useEffect, useState } from "react"
4
+ import { FileUploader } from "react-drag-drop-files"
5
  import { parseClap } from "@aitube/clap"
6
  import { ClapTimeline, useTimelineState } from "@aitube/timeline"
7
 
 
20
  const clap = useTimelineState(s => s.clap)
21
  const setClap = useTimelineState(s => s.setClap)
22
 
23
+ const handleChange = async (file: File) => {
24
+ const clap = await parseClap(file)
25
+ setClap(clap)
26
+ };
27
+
28
  useEffect(() => {
29
  (async () => {
30
  if (!clapUrl) {
 
43
  <div className={cn(`
44
  fixed
45
  flex
46
+ w-screen h-screen
47
+ overflow-hidden
48
  items-center justify-center
49
+ bg-stone-700
50
  `
51
  )}
 
 
 
 
52
  >
53
  {clap
54
  ? <ClapTimeline
55
  showFPS
56
+ className={cn(
57
+
58
+ )}
59
  />
60
+ :
61
+ <FileUploader
62
+ handleChange={handleChange}
63
+ name="file" types={["clap"]}>
64
+ <div className={cn(`
65
+ flex
66
+ w-screen h-screen
67
+ overflow-hidden
68
+ items-center justify-center
69
+ cursor-pointer
70
+ `, clapUrl ? 'animate-pulse' : '')}
71
+ style={{
72
+ backgroundImage: "repeating-radial-gradient( circle at 0 0, transparent 0, #000000 7px ), repeating-linear-gradient( #34353655, #343536 )"
73
+ }}><p
74
  className="text-stone-100 font-sans font-thin text-[4.5vw]"
75
  style={{ textShadow: "#000 1px 0 3px" }}
76
  >
77
+ {clapUrl ? 'Loading..' : 'Click here to load a .clap'}
78
+ </p>
79
+ </div>
80
+ </FileUploader>
81
+ }
82
  <Toaster />
83
  </div>
84
  </TooltipProvider>