jbilcke-hf HF staff commited on
Commit
62c3e75
1 Parent(s): 71c284d

clean-up and preparation work for oauth (maybe)

Browse files
README.md CHANGED
@@ -7,6 +7,7 @@ sdk: docker
7
  pinned: true
8
  app_port: 3000
9
  disable_embedding: true
 
10
  ---
11
 
12
  # The AI Clip Factory
 
7
  pinned: true
8
  app_port: 3000
9
  disable_embedding: true
10
+ hf_oauth_redirect_path: /api/oauth/callback
11
  ---
12
 
13
  # The AI Clip Factory
package-lock.json CHANGED
@@ -8,11 +8,6 @@
8
  "name": "@jbilcke-hf/hotshot-xl-text-to-gif",
9
  "version": "0.0.0",
10
  "dependencies": {
11
- "@huggingface/inference": "^2.6.1",
12
- "@photo-sphere-viewer/core": "^5.1.7",
13
- "@photo-sphere-viewer/markers-plugin": "^5.1.7",
14
- "@photo-sphere-viewer/video-plugin": "^5.1.7",
15
- "@photo-sphere-viewer/virtual-tour-plugin": "^5.1.7",
16
  "@radix-ui/react-accordion": "^1.1.2",
17
  "@radix-ui/react-avatar": "^1.0.3",
18
  "@radix-ui/react-checkbox": "^1.0.4",
@@ -30,7 +25,6 @@
30
  "@radix-ui/react-switch": "^1.0.3",
31
  "@radix-ui/react-toast": "^1.1.4",
32
  "@radix-ui/react-tooltip": "^1.0.6",
33
- "@react-pdf/renderer": "^3.1.12",
34
  "@react-spring/web": "^9.7.3",
35
  "@types/node": "20.4.2",
36
  "@types/react": "18.2.15",
@@ -43,22 +37,17 @@
43
  "clsx": "^2.0.0",
44
  "cmdk": "^0.2.0",
45
  "cookies-next": "^2.1.2",
46
- "date-fns": "^2.30.0",
47
  "eslint": "8.45.0",
48
  "eslint-config-next": "13.4.10",
49
- "html2canvas": "^1.4.1",
50
  "lucide-react": "^0.260.0",
51
- "moodie": "^1.1.1",
52
- "nanoid": "^5.0.1",
53
  "next": "13.4.10",
54
- "photo-sphere-viewer-lensflare-plugin": "^1.1.1",
55
  "pick": "^0.0.1",
56
  "postcss": "8.4.26",
57
  "proper-lockfile": "^4.1.2",
 
58
  "react": "18.2.0",
59
  "react-circular-progressbar": "^2.1.0",
60
  "react-dom": "18.2.0",
61
- "react-photo-sphere-viewer": "^3.3.5-psv5.1.4",
62
  "react-qr-code": "^2.0.12",
63
  "react-snowfall": "^1.2.1",
64
  "react-virtualized-auto-sizer": "^1.0.20",
@@ -70,10 +59,8 @@
70
  "tailwindcss": "3.3.3",
71
  "tailwindcss-animate": "^1.0.6",
72
  "temp-dir": "^3.0.0",
73
- "tesseract.js": "^4.1.2",
74
  "ts-node": "^10.9.1",
75
  "typescript": "5.1.6",
76
- "unique-names-generator": "^4.7.1",
77
  "usehooks-ts": "^2.9.1",
78
  "uuid": "^9.0.0",
79
  "zustand": "^4.4.1"
@@ -116,120 +103,6 @@
116
  "node": ">=6.9.0"
117
  }
118
  },
119
- "node_modules/@biomejs/biome": {
120
- "version": "1.3.1",
121
- "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-1.3.1.tgz",
122
- "integrity": "sha512-ufGCBj8ZNbF+vZDZscqvvLIGsh8M4BduQoJ1X3nm8c9Dupp8gzAKibZSWDLLcgnsAVeKEmWwY6r3Wv/JIa0LgA==",
123
- "hasInstallScript": true,
124
- "bin": {
125
- "biome": "bin/biome"
126
- },
127
- "engines": {
128
- "node": ">=14.*"
129
- },
130
- "funding": {
131
- "type": "opencollective",
132
- "url": "https://opencollective.com/biome"
133
- },
134
- "optionalDependencies": {
135
- "@biomejs/cli-darwin-arm64": "1.3.1",
136
- "@biomejs/cli-darwin-x64": "1.3.1",
137
- "@biomejs/cli-linux-arm64": "1.3.1",
138
- "@biomejs/cli-linux-x64": "1.3.1",
139
- "@biomejs/cli-win32-arm64": "1.3.1",
140
- "@biomejs/cli-win32-x64": "1.3.1"
141
- }
142
- },
143
- "node_modules/@biomejs/cli-darwin-arm64": {
144
- "version": "1.3.1",
145
- "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.3.1.tgz",
146
- "integrity": "sha512-m3cBroQftLFYFh3to6RO4ooLqZsE2K9yf5xOlDjm6D4Vrgq85XFwDOxjjJyGGDjDPQ55xGunm80qmGr8jTjiyA==",
147
- "cpu": [
148
- "arm64"
149
- ],
150
- "optional": true,
151
- "os": [
152
- "darwin"
153
- ],
154
- "engines": {
155
- "node": ">=14.*"
156
- }
157
- },
158
- "node_modules/@biomejs/cli-darwin-x64": {
159
- "version": "1.3.1",
160
- "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.3.1.tgz",
161
- "integrity": "sha512-i2yDivc/HHBRFJMoRUUPsFs9pKK0NnS/8tQg/uqNsAkLMF9OKZCCxtUJPmpUBHpdQ2f39An1cVpFmCIEv0uYJQ==",
162
- "cpu": [
163
- "x64"
164
- ],
165
- "optional": true,
166
- "os": [
167
- "darwin"
168
- ],
169
- "engines": {
170
- "node": ">=14.*"
171
- }
172
- },
173
- "node_modules/@biomejs/cli-linux-arm64": {
174
- "version": "1.3.1",
175
- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.3.1.tgz",
176
- "integrity": "sha512-H56MB7Mf59snzG+nLpfS2j3jXsJ+a6aQOBeRiT0rgn44FZ63yI9jWNIgN1+Xylsa8shmwtquOkoxLS/4KKt0Qg==",
177
- "cpu": [
178
- "arm64"
179
- ],
180
- "optional": true,
181
- "os": [
182
- "linux"
183
- ],
184
- "engines": {
185
- "node": ">=14.*"
186
- }
187
- },
188
- "node_modules/@biomejs/cli-linux-x64": {
189
- "version": "1.3.1",
190
- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-1.3.1.tgz",
191
- "integrity": "sha512-8ENayCpYXXC77a7AxDNjC+pPKMYteLzysxhkCCZ7Gd2sWtrH8iMM45JL8wQJhoHz5NT3+qgsfGafiNuxeVAVlg==",
192
- "cpu": [
193
- "x64"
194
- ],
195
- "optional": true,
196
- "os": [
197
- "linux"
198
- ],
199
- "engines": {
200
- "node": ">=14.*"
201
- }
202
- },
203
- "node_modules/@biomejs/cli-win32-arm64": {
204
- "version": "1.3.1",
205
- "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.3.1.tgz",
206
- "integrity": "sha512-gAx/E949/1/jQDwG9nTspVtjikBI/y7RbbUwwBVABF1bcAUC63VhrHfKJRbM7VTXMlZ7n9YrxkyMww8vf40qcQ==",
207
- "cpu": [
208
- "arm64"
209
- ],
210
- "optional": true,
211
- "os": [
212
- "win32"
213
- ],
214
- "engines": {
215
- "node": ">=14.*"
216
- }
217
- },
218
- "node_modules/@biomejs/cli-win32-x64": {
219
- "version": "1.3.1",
220
- "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-1.3.1.tgz",
221
- "integrity": "sha512-+08eKmEdVM7d4UxY/tff2aPXbeUNNp6wwH7v0FbrE+25mH9lhELgylEk4+k6OLXOcDT7KDAduzP2f9CuM/Aj9w==",
222
- "cpu": [
223
- "x64"
224
- ],
225
- "optional": true,
226
- "os": [
227
- "win32"
228
- ],
229
- "engines": {
230
- "node": ">=14.*"
231
- }
232
- },
233
  "node_modules/@cspotcode/source-map-support": {
234
  "version": "0.8.1",
235
  "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
@@ -354,14 +227,6 @@
354
  "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.1.6.tgz",
355
  "integrity": "sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A=="
356
  },
357
- "node_modules/@huggingface/inference": {
358
- "version": "2.6.4",
359
- "resolved": "https://registry.npmjs.org/@huggingface/inference/-/inference-2.6.4.tgz",
360
- "integrity": "sha512-Xna7arltBSBoKaH3diGi3sYvkExgJMd/pF4T6vl2YbmDccbr1G/X5EPZ2048p+YgrJYG1jTYFCtY6Dr3HvJaow==",
361
- "engines": {
362
- "node": ">=18"
363
- }
364
- },
365
  "node_modules/@humanwhocodes/config-array": {
366
  "version": "0.11.13",
367
  "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz",
@@ -615,169 +480,6 @@
615
  "node": ">= 8"
616
  }
617
  },
618
- "node_modules/@photo-sphere-viewer/autorotate-plugin": {
619
- "version": "5.4.4",
620
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/autorotate-plugin/-/autorotate-plugin-5.4.4.tgz",
621
- "integrity": "sha512-aaJ9d4+ny1St2IcedCSk/1ptkbW3eqHb31ppUFxaLOtVD7Q1ItDrrafteWd6s4DNWnV5AA5KeQM2gZlkp22fZQ==",
622
- "dependencies": {
623
- "@photo-sphere-viewer/core": "5.4.4"
624
- }
625
- },
626
- "node_modules/@photo-sphere-viewer/compass-plugin": {
627
- "version": "5.4.4",
628
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/compass-plugin/-/compass-plugin-5.4.4.tgz",
629
- "integrity": "sha512-Oab0e1Is5uf2mISexdKTzPmxtg/DkkCL6x35Qh0NBsxfYYE601k+yLiysp/b73Y8ixEApR3dcu4c+v/h2XA6sw==",
630
- "dependencies": {
631
- "@photo-sphere-viewer/core": "5.4.4"
632
- },
633
- "optionalDependencies": {
634
- "@photo-sphere-viewer/markers-plugin": "5.4.4"
635
- }
636
- },
637
- "node_modules/@photo-sphere-viewer/core": {
638
- "version": "5.4.4",
639
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/core/-/core-5.4.4.tgz",
640
- "integrity": "sha512-PE55UkgL14028zJLc/e6hNXJTw8iMyQHSCbOJ8VplGyzDQPBJ6Dc9xrKiivMarNTYNS+wCiCcKYsX0ctQigdvg==",
641
- "dependencies": {
642
- "three": "^0.156.1"
643
- }
644
- },
645
- "node_modules/@photo-sphere-viewer/core/node_modules/three": {
646
- "version": "0.156.1",
647
- "resolved": "https://registry.npmjs.org/three/-/three-0.156.1.tgz",
648
- "integrity": "sha512-kP7H0FK9d/k6t/XvQ9FO6i+QrePoDcNhwl0I02+wmUJRNSLCUIDMcfObnzQvxb37/0Uc9TDT0T1HgsRRrO6SYQ=="
649
- },
650
- "node_modules/@photo-sphere-viewer/cubemap-adapter": {
651
- "version": "5.4.4",
652
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/cubemap-adapter/-/cubemap-adapter-5.4.4.tgz",
653
- "integrity": "sha512-NugpThZWUz/Y8SZqWsj1saaUfCTvdzR420kT61oLYRp+W9MgTLJmpIFWgfxE/ZolWzJxDyFFLRxGfy695TXFbw==",
654
- "dependencies": {
655
- "@photo-sphere-viewer/core": "5.4.4"
656
- }
657
- },
658
- "node_modules/@photo-sphere-viewer/cubemap-tiles-adapter": {
659
- "version": "5.4.4",
660
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/cubemap-tiles-adapter/-/cubemap-tiles-adapter-5.4.4.tgz",
661
- "integrity": "sha512-1Dj2x+2zJ1S1MfX8/WP7osKkwVkB9YzAj8yhF/mhSdPTA6xJ0XHY6Dai7Ho8BZUUR9JafujKcYnA345rl0d3pQ==",
662
- "dependencies": {
663
- "@photo-sphere-viewer/core": "5.4.4",
664
- "@photo-sphere-viewer/cubemap-adapter": "5.4.4"
665
- }
666
- },
667
- "node_modules/@photo-sphere-viewer/cubemap-video-adapter": {
668
- "version": "5.4.4",
669
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/cubemap-video-adapter/-/cubemap-video-adapter-5.4.4.tgz",
670
- "integrity": "sha512-vjbcJd1jxVkKC6IPPUAQy/EHz8+i51SP+G+kx4AQy8ytE8JCg4u2xD71wULHpp4qDTSHcuqJ6x8+SkJPtRWRRg==",
671
- "dependencies": {
672
- "@photo-sphere-viewer/core": "5.4.4"
673
- }
674
- },
675
- "node_modules/@photo-sphere-viewer/equirectangular-tiles-adapter": {
676
- "version": "5.4.4",
677
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/equirectangular-tiles-adapter/-/equirectangular-tiles-adapter-5.4.4.tgz",
678
- "integrity": "sha512-fVbrBF5Jt5v3iSrmWs8zx20whp19TSwW1n6QXiN3hUYG6tUPAqGmLE9Ndxz1dOjtQFX2WgTYwH7d9cpIc4nITg==",
679
- "dependencies": {
680
- "@photo-sphere-viewer/core": "5.4.4"
681
- }
682
- },
683
- "node_modules/@photo-sphere-viewer/equirectangular-video-adapter": {
684
- "version": "5.4.4",
685
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/equirectangular-video-adapter/-/equirectangular-video-adapter-5.4.4.tgz",
686
- "integrity": "sha512-bmxWFfl9I/4SyBWJSOfoVwoOaxX7H82JXfItM287qHJ9F+3F0xUq+UYRbWWkFBTT5Gd4MwbgWvtV3Gwu4j1CqA==",
687
- "dependencies": {
688
- "@photo-sphere-viewer/core": "5.4.4"
689
- }
690
- },
691
- "node_modules/@photo-sphere-viewer/gallery-plugin": {
692
- "version": "5.4.4",
693
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/gallery-plugin/-/gallery-plugin-5.4.4.tgz",
694
- "integrity": "sha512-wjpF1Km57BeSlIhDw0y6c1xvM0oLMMLGImwS0YG6MbvtVgn82HDFoDocd0j3uvZ42wrgidEeOIEkxfrIZBiL6g==",
695
- "dependencies": {
696
- "@photo-sphere-viewer/core": "5.4.4"
697
- }
698
- },
699
- "node_modules/@photo-sphere-viewer/gyroscope-plugin": {
700
- "version": "5.4.4",
701
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/gyroscope-plugin/-/gyroscope-plugin-5.4.4.tgz",
702
- "integrity": "sha512-//eXIvbylL5mrcjJd5Cwx2MBino2spC3ne0JI6H1NxPwDcbem8OCfdVpwuW/b0zXN/p9MsNMOn/8JF/UVZvoQw==",
703
- "dependencies": {
704
- "@photo-sphere-viewer/core": "5.4.4"
705
- }
706
- },
707
- "node_modules/@photo-sphere-viewer/map-plugin": {
708
- "version": "5.4.4",
709
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/map-plugin/-/map-plugin-5.4.4.tgz",
710
- "integrity": "sha512-65F9DEVFt/WkZcOHlbsdWAlyBBeLgeZrgbCRHRxzxLqByKEXFnP7HzjHWFdeoipuBjauOOzmdmVUD/m4MunGxQ==",
711
- "dependencies": {
712
- "@photo-sphere-viewer/core": "5.4.4"
713
- }
714
- },
715
- "node_modules/@photo-sphere-viewer/markers-plugin": {
716
- "version": "5.4.4",
717
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/markers-plugin/-/markers-plugin-5.4.4.tgz",
718
- "integrity": "sha512-HCSnQFJhukfjbHwzfjDfJ8uO5wRdKx/a9jai+Uf3ltPJY/GkrnZyW5KLG5z4VCKLGDjzE8Ki2waNgeRToQLHfw==",
719
- "dependencies": {
720
- "@photo-sphere-viewer/core": "5.4.4"
721
- }
722
- },
723
- "node_modules/@photo-sphere-viewer/resolution-plugin": {
724
- "version": "5.4.4",
725
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/resolution-plugin/-/resolution-plugin-5.4.4.tgz",
726
- "integrity": "sha512-M5XLu76aMLHOAbH9m35oaOZro8Q4hUHmDqIJkzUpe86EMcnM4cegq6Gkb1zU4fd7Ig3XylSQT/jxOR9JXOxHwA==",
727
- "dependencies": {
728
- "@photo-sphere-viewer/core": "5.4.4",
729
- "@photo-sphere-viewer/settings-plugin": "5.4.4"
730
- }
731
- },
732
- "node_modules/@photo-sphere-viewer/settings-plugin": {
733
- "version": "5.4.4",
734
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/settings-plugin/-/settings-plugin-5.4.4.tgz",
735
- "integrity": "sha512-dnQFycng4D/VoJQ5vYnMM6M7UCgtc9mTV8cWHoyI0tAHDOUjZ9Wx11M3Dv5N26UcD25gGx96ZfqCWb0kCMAxzg==",
736
- "dependencies": {
737
- "@photo-sphere-viewer/core": "5.4.4"
738
- }
739
- },
740
- "node_modules/@photo-sphere-viewer/stereo-plugin": {
741
- "version": "5.4.4",
742
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/stereo-plugin/-/stereo-plugin-5.4.4.tgz",
743
- "integrity": "sha512-U/RRH1LkptPJNY1BqBaUk+cPiOyfFgR/fa6C6NFOKBpJIUCN5V0wbwjClTwTq7f35ZHUJGz8JLezBiL4AdicfA==",
744
- "dependencies": {
745
- "@photo-sphere-viewer/core": "5.4.4",
746
- "@photo-sphere-viewer/gyroscope-plugin": "5.4.4"
747
- }
748
- },
749
- "node_modules/@photo-sphere-viewer/video-plugin": {
750
- "version": "5.4.4",
751
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/video-plugin/-/video-plugin-5.4.4.tgz",
752
- "integrity": "sha512-I795YKviA78st0e8DmVp1aIDSJ1+GedWtnU+uvSJjcZkpjssCNUwqgOmpk7Rg0xvuQk6I830XNeN/J4aATW3fA==",
753
- "dependencies": {
754
- "@photo-sphere-viewer/core": "5.4.4"
755
- },
756
- "optionalDependencies": {
757
- "@photo-sphere-viewer/autorotate-plugin": "5.4.4"
758
- }
759
- },
760
- "node_modules/@photo-sphere-viewer/virtual-tour-plugin": {
761
- "version": "5.4.4",
762
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/virtual-tour-plugin/-/virtual-tour-plugin-5.4.4.tgz",
763
- "integrity": "sha512-CAwV9BGfFx6sGyWrXxvVt+yrDOcq9a+nRIv37c8jesICVFX4hu3UB3URbKaq9U6bWS8m7FwtaHkmRGNdtE4chw==",
764
- "dependencies": {
765
- "@photo-sphere-viewer/core": "5.4.4"
766
- },
767
- "optionalDependencies": {
768
- "@photo-sphere-viewer/compass-plugin": "5.4.4",
769
- "@photo-sphere-viewer/gallery-plugin": "5.4.4",
770
- "@photo-sphere-viewer/markers-plugin": "5.4.4"
771
- }
772
- },
773
- "node_modules/@photo-sphere-viewer/visible-range-plugin": {
774
- "version": "5.4.4",
775
- "resolved": "https://registry.npmjs.org/@photo-sphere-viewer/visible-range-plugin/-/visible-range-plugin-5.4.4.tgz",
776
- "integrity": "sha512-XJt+IypT/6KCfRzV5MBFQl74yc5y0MXhBdMRSKrJkzEiU+SwA/tlpocIrfD3oCDj3+clB4FgMKzHn+dXYVg8xA==",
777
- "dependencies": {
778
- "@photo-sphere-viewer/core": "5.4.4"
779
- }
780
- },
781
  "node_modules/@radix-ui/number": {
782
  "version": "1.0.1",
783
  "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.0.1.tgz",
@@ -1911,158 +1613,6 @@
1911
  "@babel/runtime": "^7.13.10"
1912
  }
1913
  },
1914
- "node_modules/@react-pdf/fns": {
1915
- "version": "2.0.1",
1916
- "resolved": "https://registry.npmjs.org/@react-pdf/fns/-/fns-2.0.1.tgz",
1917
- "integrity": "sha512-/vgecczzFYBQFkgUupH+sxXhLWQtBwdwCgweyh25XOlR4NZuaMD/UVUDl4loFHhRQqDMQq37lkTcchh7zzW6ug==",
1918
- "dependencies": {
1919
- "@babel/runtime": "^7.20.13"
1920
- }
1921
- },
1922
- "node_modules/@react-pdf/font": {
1923
- "version": "2.3.7",
1924
- "resolved": "https://registry.npmjs.org/@react-pdf/font/-/font-2.3.7.tgz",
1925
- "integrity": "sha512-NoCieWea6c1mCpDBoyjPbUEC1qXa+S/M7+8vYPZ71aTMgX7co3gQc2e6YKwrSQeQP+BsBq3LSVhjI2ETXfcytw==",
1926
- "dependencies": {
1927
- "@babel/runtime": "^7.20.13",
1928
- "@react-pdf/types": "^2.3.4",
1929
- "cross-fetch": "^3.1.5",
1930
- "fontkit": "^2.0.2",
1931
- "is-url": "^1.2.4"
1932
- }
1933
- },
1934
- "node_modules/@react-pdf/image": {
1935
- "version": "2.2.2",
1936
- "resolved": "https://registry.npmjs.org/@react-pdf/image/-/image-2.2.2.tgz",
1937
- "integrity": "sha512-990JvRZuhsnHyAGd7gvmhfr+4/5PAHLH9IgDstaEDLEq2eFAIQFuNM7k3D6kjKgV1mM7Jqif3CWqrcHBF3jrJw==",
1938
- "dependencies": {
1939
- "@babel/runtime": "^7.20.13",
1940
- "@react-pdf/png-js": "^2.2.0",
1941
- "cross-fetch": "^3.1.5"
1942
- }
1943
- },
1944
- "node_modules/@react-pdf/layout": {
1945
- "version": "3.6.3",
1946
- "resolved": "https://registry.npmjs.org/@react-pdf/layout/-/layout-3.6.3.tgz",
1947
- "integrity": "sha512-w6ACZ9o18Q5wbzsY9a4KW2Gqn6Drt3AN/kb/I6SBz/L7PAJ9rPQBIDq/s5qZJ+/WwWy33rcC8WC1givtDhjCHQ==",
1948
- "dependencies": {
1949
- "@babel/runtime": "^7.20.13",
1950
- "@react-pdf/fns": "2.0.1",
1951
- "@react-pdf/image": "^2.2.2",
1952
- "@react-pdf/pdfkit": "^3.0.2",
1953
- "@react-pdf/primitives": "^3.0.0",
1954
- "@react-pdf/stylesheet": "^4.1.8",
1955
- "@react-pdf/textkit": "^4.2.0",
1956
- "@react-pdf/types": "^2.3.4",
1957
- "@react-pdf/yoga": "^4.1.2",
1958
- "cross-fetch": "^3.1.5",
1959
- "emoji-regex": "^10.2.1",
1960
- "queue": "^6.0.1"
1961
- }
1962
- },
1963
- "node_modules/@react-pdf/pdfkit": {
1964
- "version": "3.0.2",
1965
- "resolved": "https://registry.npmjs.org/@react-pdf/pdfkit/-/pdfkit-3.0.2.tgz",
1966
- "integrity": "sha512-+m5rwNCwyEH6lmnZWpsQJvdqb6YaCCR0nMWrc/KKDwznuPMrGmGWyNxqCja+bQPORcHZyl6Cd/iFL0glyB3QGw==",
1967
- "dependencies": {
1968
- "@babel/runtime": "^7.20.13",
1969
- "@react-pdf/png-js": "^2.2.0",
1970
- "browserify-zlib": "^0.2.0",
1971
- "crypto-js": "^4.0.0",
1972
- "fontkit": "^2.0.2",
1973
- "vite-compatible-readable-stream": "^3.6.1"
1974
- }
1975
- },
1976
- "node_modules/@react-pdf/png-js": {
1977
- "version": "2.2.0",
1978
- "resolved": "https://registry.npmjs.org/@react-pdf/png-js/-/png-js-2.2.0.tgz",
1979
- "integrity": "sha512-csZU5lfNW73tq7s7zB/1rWXGro+Z9cQhxtsXwxS418TSszHUiM6PwddouiKJxdGhbVLjRIcuuFVa0aR5cDOC6w==",
1980
- "dependencies": {
1981
- "browserify-zlib": "^0.2.0"
1982
- }
1983
- },
1984
- "node_modules/@react-pdf/primitives": {
1985
- "version": "3.0.1",
1986
- "resolved": "https://registry.npmjs.org/@react-pdf/primitives/-/primitives-3.0.1.tgz",
1987
- "integrity": "sha512-0HGcknrLNwyhxe+SZCBL29JY4M85mXKdvTZE9uhjNbADGgTc8wVnkc5+e4S/lDvugbVISXyuIhZnYwtK9eDnyQ=="
1988
- },
1989
- "node_modules/@react-pdf/render": {
1990
- "version": "3.2.7",
1991
- "resolved": "https://registry.npmjs.org/@react-pdf/render/-/render-3.2.7.tgz",
1992
- "integrity": "sha512-fAgbbAAkVL0hpcf1vUJLHxuPjPBqZuq8nors7fCwvoatBBwOWP9fza7IDPeFKN7+ZOnfmIZzes8Kc/DNHzJohw==",
1993
- "dependencies": {
1994
- "@babel/runtime": "^7.20.13",
1995
- "@react-pdf/fns": "2.0.1",
1996
- "@react-pdf/primitives": "^3.0.0",
1997
- "@react-pdf/textkit": "^4.2.0",
1998
- "@react-pdf/types": "^2.3.4",
1999
- "abs-svg-path": "^0.1.1",
2000
- "color-string": "^1.5.3",
2001
- "normalize-svg-path": "^1.1.0",
2002
- "parse-svg-path": "^0.1.2",
2003
- "svg-arc-to-cubic-bezier": "^3.2.0"
2004
- }
2005
- },
2006
- "node_modules/@react-pdf/renderer": {
2007
- "version": "3.1.14",
2008
- "resolved": "https://registry.npmjs.org/@react-pdf/renderer/-/renderer-3.1.14.tgz",
2009
- "integrity": "sha512-Qk29uTamH6q+drK/YmiFbuQQ+yutesfIe+wyrsXFoUJUutIiDIaibO6zByMkhWb3M6CMt6NvG3NLHio1OF8U6Q==",
2010
- "dependencies": {
2011
- "@babel/runtime": "^7.20.13",
2012
- "@react-pdf/font": "^2.3.7",
2013
- "@react-pdf/layout": "^3.6.3",
2014
- "@react-pdf/pdfkit": "^3.0.2",
2015
- "@react-pdf/primitives": "^3.0.0",
2016
- "@react-pdf/render": "^3.2.7",
2017
- "@react-pdf/types": "^2.3.4",
2018
- "events": "^3.3.0",
2019
- "object-assign": "^4.1.1",
2020
- "prop-types": "^15.6.2",
2021
- "queue": "^6.0.1",
2022
- "scheduler": "^0.17.0"
2023
- },
2024
- "peerDependencies": {
2025
- "react": "^16.8.6 || ^17.0.0 || ^18.0.0"
2026
- }
2027
- },
2028
- "node_modules/@react-pdf/stylesheet": {
2029
- "version": "4.1.8",
2030
- "resolved": "https://registry.npmjs.org/@react-pdf/stylesheet/-/stylesheet-4.1.8.tgz",
2031
- "integrity": "sha512-/EuB9RBsH3YYRj8mwzImaul619MvX3rsHNF4h8LnlwDOuBehPA3L/fHrikfPqtJvHqK2ty3GXnkw0HG5SQpMzw==",
2032
- "dependencies": {
2033
- "@babel/runtime": "^7.20.13",
2034
- "@react-pdf/fns": "2.0.1",
2035
- "@react-pdf/types": "^2.3.4",
2036
- "color-string": "^1.5.3",
2037
- "hsl-to-hex": "^1.0.0",
2038
- "media-engine": "^1.0.3",
2039
- "postcss-value-parser": "^4.1.0"
2040
- }
2041
- },
2042
- "node_modules/@react-pdf/textkit": {
2043
- "version": "4.2.0",
2044
- "resolved": "https://registry.npmjs.org/@react-pdf/textkit/-/textkit-4.2.0.tgz",
2045
- "integrity": "sha512-R90pEOW6NdhUx4p99iROvKmwB06IRYdXMhh0QcmUeoPOLe64ZdMfs3LZliNUWgI5fCmq71J+nv868i/EakFPDg==",
2046
- "dependencies": {
2047
- "@babel/runtime": "^7.20.13",
2048
- "@react-pdf/fns": "2.0.1",
2049
- "hyphen": "^1.6.4",
2050
- "unicode-properties": "^1.4.1"
2051
- }
2052
- },
2053
- "node_modules/@react-pdf/types": {
2054
- "version": "2.3.4",
2055
- "resolved": "https://registry.npmjs.org/@react-pdf/types/-/types-2.3.4.tgz",
2056
- "integrity": "sha512-vGGz21BTE05EktBbotbd7fjC0Yi8A/lOSIpzd7L7aF1XY+vyIHlQVb35DWCipM1p/6XN4cr9etGAmm1e4Mtmjw=="
2057
- },
2058
- "node_modules/@react-pdf/yoga": {
2059
- "version": "4.1.2",
2060
- "resolved": "https://registry.npmjs.org/@react-pdf/yoga/-/yoga-4.1.2.tgz",
2061
- "integrity": "sha512-OlMZkFrJDj4GyKZ70thiObwwPVZ52B7mlPyfzwa+sgwsioqHXg9nMWOO+7SQFNUbbOGagMUu0bCuTv+iXYZuaQ==",
2062
- "dependencies": {
2063
- "@babel/runtime": "^7.20.13"
2064
- }
2065
- },
2066
  "node_modules/@react-spring/animated": {
2067
  "version": "9.7.3",
2068
  "resolved": "https://registry.npmjs.org/@react-spring/animated/-/animated-9.7.3.tgz",
@@ -2129,11 +1679,10 @@
2129
  "integrity": "sha512-6i/8UoL0P5y4leBIGzvkZdS85RDMG9y1ihZzmTZQ5LdHUYmZ7pKFoj8X0236s3lusPs1Fa5HTQUpwI+UfTcmeA=="
2130
  },
2131
  "node_modules/@swc/helpers": {
2132
- "version": "0.4.36",
2133
- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.36.tgz",
2134
- "integrity": "sha512-5lxnyLEYFskErRPenYItLRSge5DjrJngYKdVjRSrWfza9G6KkgHEXi0vUZiyUeMU5JfXH1YnvXZzSp8ul88o2Q==",
2135
  "dependencies": {
2136
- "legacy-swc-helpers": "npm:@swc/helpers@=0.4.14",
2137
  "tslib": "^2.4.0"
2138
  }
2139
  },
@@ -2363,19 +1912,13 @@
2363
  }
2364
  },
2365
  "node_modules/@upstash/redis": {
2366
- "version": "1.24.0",
2367
- "resolved": "https://registry.npmjs.org/@upstash/redis/-/redis-1.24.0.tgz",
2368
- "integrity": "sha512-KV7xohxEzcJVgGzte5zC1NLvVJd7BJmwKiFxOMdc73NHKRcc8GQa5Al9sus4TkpatWYcSVrLtjAQJrOelvQitA==",
2369
  "dependencies": {
2370
- "@biomejs/biome": "^1.3.0",
2371
- "crypto-js": "^4.1.1"
2372
  }
2373
  },
2374
- "node_modules/abs-svg-path": {
2375
- "version": "0.1.1",
2376
- "resolved": "https://registry.npmjs.org/abs-svg-path/-/abs-svg-path-0.1.1.tgz",
2377
- "integrity": "sha512-d8XPSGjfyzlXC3Xx891DJRyZfqk5JU0BJrDQcsWomFIV1/BIzPW5HDH5iDdWpqWaav0YVIEzT1RHTwWr0FFshA=="
2378
- },
2379
  "node_modules/acorn": {
2380
  "version": "8.11.2",
2381
  "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
@@ -2609,9 +2152,9 @@
2609
  }
2610
  },
2611
  "node_modules/ast-types-flow": {
2612
- "version": "0.0.7",
2613
- "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz",
2614
- "integrity": "sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag=="
2615
  },
2616
  "node_modules/asynciterator.prototype": {
2617
  "version": "1.0.0",
@@ -2665,9 +2208,9 @@
2665
  }
2666
  },
2667
  "node_modules/axe-core": {
2668
- "version": "4.8.2",
2669
- "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.8.2.tgz",
2670
- "integrity": "sha512-/dlp0fxyM3R8YW7MFzaHWXrf4zzbr0vaYb23VBFCl83R7nWNPg/yaQw2Dc8jzCMmDVLhSdzH8MjrsuIUuvX+6g==",
2671
  "engines": {
2672
  "node": ">=4"
2673
  }
@@ -2690,14 +2233,6 @@
2690
  "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
2691
  "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
2692
  },
2693
- "node_modules/base64-arraybuffer": {
2694
- "version": "1.0.2",
2695
- "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz",
2696
- "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==",
2697
- "engines": {
2698
- "node": ">= 0.6.0"
2699
- }
2700
- },
2701
  "node_modules/base64-js": {
2702
  "version": "1.5.1",
2703
  "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
@@ -2735,11 +2270,6 @@
2735
  "readable-stream": "^3.4.0"
2736
  }
2737
  },
2738
- "node_modules/bmp-js": {
2739
- "version": "0.1.0",
2740
- "resolved": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.1.0.tgz",
2741
- "integrity": "sha512-vHdS19CnY3hwiNdkaqk93DvjVLfbEcI8mys4UjuWrlX1haDmroo8o4xCzh4wD6DGV6HxRCyauwhHRqMTfERtjw=="
2742
- },
2743
  "node_modules/brace-expansion": {
2744
  "version": "1.1.11",
2745
  "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
@@ -2760,22 +2290,6 @@
2760
  "node": ">=8"
2761
  }
2762
  },
2763
- "node_modules/brotli": {
2764
- "version": "1.3.3",
2765
- "resolved": "https://registry.npmjs.org/brotli/-/brotli-1.3.3.tgz",
2766
- "integrity": "sha512-oTKjJdShmDuGW94SyyaoQvAjf30dZaHnjJ8uAF+u2/vGJkJbJPJAT1gDiOJP5v1Zb6f9KEyW/1HpuaWIXtGHPg==",
2767
- "dependencies": {
2768
- "base64-js": "^1.1.2"
2769
- }
2770
- },
2771
- "node_modules/browserify-zlib": {
2772
- "version": "0.2.0",
2773
- "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz",
2774
- "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==",
2775
- "dependencies": {
2776
- "pako": "~1.0.5"
2777
- }
2778
- },
2779
  "node_modules/browserslist": {
2780
  "version": "4.22.1",
2781
  "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.1.tgz",
@@ -2879,9 +2393,9 @@
2879
  }
2880
  },
2881
  "node_modules/caniuse-lite": {
2882
- "version": "1.0.30001554",
2883
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001554.tgz",
2884
- "integrity": "sha512-A2E3U//MBwbJVzebddm1YfNp7Nud5Ip+IPn4BozBmn4KqVX7AvluoIDFWjsv5OkGnKUXQVmMSoMKLa3ScCblcQ==",
2885
  "funding": [
2886
  {
2887
  "type": "opencollective",
@@ -2978,14 +2492,6 @@
2978
  "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",
2979
  "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA=="
2980
  },
2981
- "node_modules/clone": {
2982
- "version": "2.1.2",
2983
- "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
2984
- "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==",
2985
- "engines": {
2986
- "node": ">=0.8"
2987
- }
2988
- },
2989
  "node_modules/clsx": {
2990
  "version": "2.0.0",
2991
  "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.0.0.tgz",
@@ -3320,23 +2826,15 @@
3320
  }
3321
  },
3322
  "node_modules/cookies-next/node_modules/@types/node": {
3323
- "version": "16.18.59",
3324
- "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.59.tgz",
3325
- "integrity": "sha512-PJ1w2cNeKUEdey4LiPra0ZuxZFOGvetswE8qHRriV/sUkL5Al4tTmPV9D2+Y/TPIxTHHgxTfRjZVKWhPw/ORhQ=="
3326
  },
3327
  "node_modules/create-require": {
3328
  "version": "1.1.1",
3329
  "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
3330
  "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ=="
3331
  },
3332
- "node_modules/cross-fetch": {
3333
- "version": "3.1.8",
3334
- "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz",
3335
- "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==",
3336
- "dependencies": {
3337
- "node-fetch": "^2.6.12"
3338
- }
3339
- },
3340
  "node_modules/cross-spawn": {
3341
  "version": "7.0.3",
3342
  "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
@@ -3363,14 +2861,6 @@
3363
  "node": ">=4"
3364
  }
3365
  },
3366
- "node_modules/css-line-break": {
3367
- "version": "2.1.0",
3368
- "resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-2.1.0.tgz",
3369
- "integrity": "sha512-FHcKFCZcAha3LwfVBhCQbW2nCNbkZXn7KVUJcsT5/P8YmfsVja0FMPJr0B903j/E69HUphKiV9iQArX8SDYA4w==",
3370
- "dependencies": {
3371
- "utrie": "^1.0.2"
3372
- }
3373
- },
3374
  "node_modules/css-selector-tokenizer": {
3375
  "version": "0.8.0",
3376
  "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.8.0.tgz",
@@ -3408,9 +2898,9 @@
3408
  "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ=="
3409
  },
3410
  "node_modules/daisyui": {
3411
- "version": "3.9.3",
3412
- "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-3.9.3.tgz",
3413
- "integrity": "sha512-8li177QCu6dqlEOzE3h/dAV1y9Movbjx5bzJIO/hNqMNZtJkbHM0trjTzbDejV7N57eNGdjBvAGtxZYKzS4jow==",
3414
  "dev": true,
3415
  "dependencies": {
3416
  "colord": "^2.9",
@@ -3432,21 +2922,6 @@
3432
  "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz",
3433
  "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA=="
3434
  },
3435
- "node_modules/date-fns": {
3436
- "version": "2.30.0",
3437
- "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz",
3438
- "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==",
3439
- "dependencies": {
3440
- "@babel/runtime": "^7.21.0"
3441
- },
3442
- "engines": {
3443
- "node": ">=0.11"
3444
- },
3445
- "funding": {
3446
- "type": "opencollective",
3447
- "url": "https://opencollective.com/date-fns"
3448
- }
3449
- },
3450
  "node_modules/debug": {
3451
  "version": "4.3.4",
3452
  "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
@@ -3548,11 +3023,6 @@
3548
  "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",
3549
  "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ=="
3550
  },
3551
- "node_modules/dfa": {
3552
- "version": "1.2.0",
3553
- "resolved": "https://registry.npmjs.org/dfa/-/dfa-1.2.0.tgz",
3554
- "integrity": "sha512-ED3jP8saaweFTjeGX8HQPjeC1YYyZs98jGNZx6IiBvxW7JG5v492kamAQB3m2wop07CvU/RQmzcKr6bgcC5D/Q=="
3555
- },
3556
  "node_modules/didyoumean": {
3557
  "version": "1.2.2",
3558
  "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
@@ -3645,14 +3115,14 @@
3645
  }
3646
  },
3647
  "node_modules/electron-to-chromium": {
3648
- "version": "1.4.568",
3649
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.568.tgz",
3650
- "integrity": "sha512-3TCOv8+BY6Ltpt1/CmGBMups2IdKOyfEmz4J8yIS4xLSeMm0Rf+psSaxLuswG9qMKt+XbNbmADybtXGpTFlbDg=="
3651
  },
3652
  "node_modules/emoji-regex": {
3653
- "version": "10.3.0",
3654
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz",
3655
- "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw=="
3656
  },
3657
  "node_modules/end-of-stream": {
3658
  "version": "1.4.4",
@@ -4016,26 +3486,26 @@
4016
  }
4017
  },
4018
  "node_modules/eslint-plugin-jsx-a11y": {
4019
- "version": "6.7.1",
4020
- "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.7.1.tgz",
4021
- "integrity": "sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==",
4022
  "dependencies": {
4023
- "@babel/runtime": "^7.20.7",
4024
- "aria-query": "^5.1.3",
4025
- "array-includes": "^3.1.6",
4026
- "array.prototype.flatmap": "^1.3.1",
4027
- "ast-types-flow": "^0.0.7",
4028
- "axe-core": "^4.6.2",
4029
- "axobject-query": "^3.1.1",
4030
  "damerau-levenshtein": "^1.0.8",
4031
  "emoji-regex": "^9.2.2",
4032
- "has": "^1.0.3",
4033
- "jsx-ast-utils": "^3.3.3",
4034
- "language-tags": "=1.0.5",
 
4035
  "minimatch": "^3.1.2",
4036
- "object.entries": "^1.1.6",
4037
- "object.fromentries": "^2.0.6",
4038
- "semver": "^6.3.0"
4039
  },
4040
  "engines": {
4041
  "node": ">=4.0"
@@ -4044,19 +3514,6 @@
4044
  "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
4045
  }
4046
  },
4047
- "node_modules/eslint-plugin-jsx-a11y/node_modules/emoji-regex": {
4048
- "version": "9.2.2",
4049
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
4050
- "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="
4051
- },
4052
- "node_modules/eslint-plugin-jsx-a11y/node_modules/semver": {
4053
- "version": "6.3.1",
4054
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
4055
- "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
4056
- "bin": {
4057
- "semver": "bin/semver.js"
4058
- }
4059
- },
4060
  "node_modules/eslint-plugin-react": {
4061
  "version": "7.33.2",
4062
  "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.33.2.tgz",
@@ -4212,19 +3669,6 @@
4212
  "node": ">=0.10.0"
4213
  }
4214
  },
4215
- "node_modules/eventemitter3": {
4216
- "version": "5.0.1",
4217
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
4218
- "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA=="
4219
- },
4220
- "node_modules/events": {
4221
- "version": "3.3.0",
4222
- "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
4223
- "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",
4224
- "engines": {
4225
- "node": ">=0.8.x"
4226
- }
4227
- },
4228
  "node_modules/expand-template": {
4229
  "version": "2.0.3",
4230
  "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
@@ -4348,22 +3792,6 @@
4348
  "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz",
4349
  "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ=="
4350
  },
4351
- "node_modules/fontkit": {
4352
- "version": "2.0.2",
4353
- "resolved": "https://registry.npmjs.org/fontkit/-/fontkit-2.0.2.tgz",
4354
- "integrity": "sha512-jc4k5Yr8iov8QfS6u8w2CnHWVmbOGtdBtOXMze5Y+QD966Rx6PEVWXSEGwXlsDlKtu1G12cJjcsybnqhSk/+LA==",
4355
- "dependencies": {
4356
- "@swc/helpers": "^0.4.2",
4357
- "brotli": "^1.3.2",
4358
- "clone": "^2.1.2",
4359
- "dfa": "^1.2.0",
4360
- "fast-deep-equal": "^3.1.3",
4361
- "restructure": "^3.0.0",
4362
- "tiny-inflate": "^1.0.3",
4363
- "unicode-properties": "^1.4.0",
4364
- "unicode-trie": "^2.0.0"
4365
- }
4366
- },
4367
  "node_modules/for-each": {
4368
  "version": "0.3.3",
4369
  "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
@@ -4596,14 +4024,6 @@
4596
  "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
4597
  "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag=="
4598
  },
4599
- "node_modules/has": {
4600
- "version": "1.0.4",
4601
- "resolved": "https://registry.npmjs.org/has/-/has-1.0.4.tgz",
4602
- "integrity": "sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==",
4603
- "engines": {
4604
- "node": ">= 0.4.0"
4605
- }
4606
- },
4607
  "node_modules/has-bigints": {
4608
  "version": "1.0.2",
4609
  "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz",
@@ -4678,31 +4098,6 @@
4678
  "node": ">= 0.4"
4679
  }
4680
  },
4681
- "node_modules/hsl-to-hex": {
4682
- "version": "1.0.0",
4683
- "resolved": "https://registry.npmjs.org/hsl-to-hex/-/hsl-to-hex-1.0.0.tgz",
4684
- "integrity": "sha512-K6GVpucS5wFf44X0h2bLVRDsycgJmf9FF2elg+CrqD8GcFU8c6vYhgXn8NjUkFCwj+xDFb70qgLbTUm6sxwPmA==",
4685
- "dependencies": {
4686
- "hsl-to-rgb-for-reals": "^1.1.0"
4687
- }
4688
- },
4689
- "node_modules/hsl-to-rgb-for-reals": {
4690
- "version": "1.1.1",
4691
- "resolved": "https://registry.npmjs.org/hsl-to-rgb-for-reals/-/hsl-to-rgb-for-reals-1.1.1.tgz",
4692
- "integrity": "sha512-LgOWAkrN0rFaQpfdWBQlv/VhkOxb5AsBjk6NQVx4yEzWS923T07X0M1Y0VNko2H52HeSpZrZNNMJ0aFqsdVzQg=="
4693
- },
4694
- "node_modules/html2canvas": {
4695
- "version": "1.4.1",
4696
- "resolved": "https://registry.npmjs.org/html2canvas/-/html2canvas-1.4.1.tgz",
4697
- "integrity": "sha512-fPU6BHNpsyIhr8yyMpTLLxAbkaK8ArIBcmZIRiBLiDhjeqvXolaEmDGmELFuX9I4xDcaKKcJl+TKZLqruBbmWA==",
4698
- "dependencies": {
4699
- "css-line-break": "^2.1.0",
4700
- "text-segmentation": "^1.0.3"
4701
- },
4702
- "engines": {
4703
- "node": ">=8.0.0"
4704
- }
4705
- },
4706
  "node_modules/htmlparser2": {
4707
  "version": "8.0.2",
4708
  "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz",
@@ -4721,16 +4116,6 @@
4721
  "entities": "^4.4.0"
4722
  }
4723
  },
4724
- "node_modules/hyphen": {
4725
- "version": "1.7.0",
4726
- "resolved": "https://registry.npmjs.org/hyphen/-/hyphen-1.7.0.tgz",
4727
- "integrity": "sha512-U5GRiJeEpXyDw1MqgZkig+TBzfWhXhwpE2aHmKuZAh/mzedvtPCXhaSDztJWhIhHUMe//D5nyGMGm5Jcb8tRdw=="
4728
- },
4729
- "node_modules/idb-keyval": {
4730
- "version": "6.2.1",
4731
- "resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-6.2.1.tgz",
4732
- "integrity": "sha512-8Sb3veuYCyrZL+VBt9LJfZjLUPWVvqn8tG28VqYNFCo43KHcKuq+b4EiXGeuaLAQWL2YmyDgMp2aSpH9JHsEQg=="
4733
- },
4734
  "node_modules/ieee754": {
4735
  "version": "1.2.1",
4736
  "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
@@ -4926,11 +4311,6 @@
4926
  "url": "https://github.com/sponsors/ljharb"
4927
  }
4928
  },
4929
- "node_modules/is-electron": {
4930
- "version": "2.2.2",
4931
- "resolved": "https://registry.npmjs.org/is-electron/-/is-electron-2.2.2.tgz",
4932
- "integrity": "sha512-FO/Rhvz5tuw4MCWkpMzHFKWD2LsfHzIb7i6MdPYZ/KW7AlxawyLkqdy+jPZP1WubqEADE3O4FUENlJHDfQASRg=="
4933
- },
4934
  "node_modules/is-extglob": {
4935
  "version": "2.1.1",
4936
  "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
@@ -5108,11 +4488,6 @@
5108
  "url": "https://github.com/sponsors/ljharb"
5109
  }
5110
  },
5111
- "node_modules/is-url": {
5112
- "version": "1.2.4",
5113
- "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz",
5114
- "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww=="
5115
- },
5116
  "node_modules/is-weakmap": {
5117
  "version": "2.0.1",
5118
  "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz",
@@ -5167,9 +4542,9 @@
5167
  }
5168
  },
5169
  "node_modules/jiti": {
5170
- "version": "1.20.0",
5171
- "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.20.0.tgz",
5172
- "integrity": "sha512-3TV69ZbrvV6U5DfQimop50jE9Dl6J8O1ja1dvBbMba/sZ3YBEQqJ2VZRoQPVnhlzjNtU1vaXRZVrVjU4qtm8yA==",
5173
  "bin": {
5174
  "jiti": "bin/jiti.js"
5175
  }
@@ -5244,20 +4619,14 @@
5244
  "integrity": "sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w=="
5245
  },
5246
  "node_modules/language-tags": {
5247
- "version": "1.0.5",
5248
- "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.5.tgz",
5249
- "integrity": "sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ==",
5250
- "dependencies": {
5251
- "language-subtag-registry": "~0.3.2"
5252
- }
5253
- },
5254
- "node_modules/legacy-swc-helpers": {
5255
- "name": "@swc/helpers",
5256
- "version": "0.4.14",
5257
- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.14.tgz",
5258
- "integrity": "sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==",
5259
  "dependencies": {
5260
- "tslib": "^2.4.0"
 
 
 
5261
  }
5262
  },
5263
  "node_modules/levn": {
@@ -5339,11 +4708,6 @@
5339
  "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
5340
  "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw=="
5341
  },
5342
- "node_modules/media-engine": {
5343
- "version": "1.0.3",
5344
- "resolved": "https://registry.npmjs.org/media-engine/-/media-engine-1.0.3.tgz",
5345
- "integrity": "sha512-aa5tG6sDoK+k70B9iEX1NeyfT8ObCKhNDs6lJVpwF6r8vhUfuKMslIcirq6HIUYuuUYLefcEQOn9bSBOvawtwg=="
5346
- },
5347
  "node_modules/merge2": {
5348
  "version": "1.4.1",
5349
  "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
@@ -5399,18 +4763,6 @@
5399
  "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
5400
  "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="
5401
  },
5402
- "node_modules/moodie": {
5403
- "version": "1.1.1",
5404
- "resolved": "https://registry.npmjs.org/moodie/-/moodie-1.1.1.tgz",
5405
- "integrity": "sha512-pfGKRfQ4n5fd1SlFGIqLKJKpvCps9el+4KIoYapHa4cueW8hPazSmw1c3oJ1OvfURKqckmvfoBl5Y8DDmbIMfg==",
5406
- "engines": {
5407
- "pnpm": ">=7.0.0"
5408
- },
5409
- "peerDependencies": {
5410
- "react": "^18.2.0",
5411
- "react-dom": "^18.2.0"
5412
- }
5413
- },
5414
  "node_modules/ms": {
5415
  "version": "2.1.2",
5416
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
@@ -5427,9 +4779,9 @@
5427
  }
5428
  },
5429
  "node_modules/nanoid": {
5430
- "version": "5.0.2",
5431
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.2.tgz",
5432
- "integrity": "sha512-2ustYUX1R2rL/Br5B/FMhi8d5/QzvkJ912rBYxskcpu0myTHzSZfTr1LAS2Sm7jxRUObRrSBFoyzwAhL49aVSg==",
5433
  "funding": [
5434
  {
5435
  "type": "github",
@@ -5437,10 +4789,10 @@
5437
  }
5438
  ],
5439
  "bin": {
5440
- "nanoid": "bin/nanoid.js"
5441
  },
5442
  "engines": {
5443
- "node": "^18 || >=20"
5444
  }
5445
  },
5446
  "node_modules/napi-build-utils": {
@@ -5503,31 +4855,6 @@
5503
  }
5504
  }
5505
  },
5506
- "node_modules/next/node_modules/@swc/helpers": {
5507
- "version": "0.5.1",
5508
- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.1.tgz",
5509
- "integrity": "sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==",
5510
- "dependencies": {
5511
- "tslib": "^2.4.0"
5512
- }
5513
- },
5514
- "node_modules/next/node_modules/nanoid": {
5515
- "version": "3.3.6",
5516
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
5517
- "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
5518
- "funding": [
5519
- {
5520
- "type": "github",
5521
- "url": "https://github.com/sponsors/ai"
5522
- }
5523
- ],
5524
- "bin": {
5525
- "nanoid": "bin/nanoid.cjs"
5526
- },
5527
- "engines": {
5528
- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
5529
- }
5530
- },
5531
  "node_modules/next/node_modules/postcss": {
5532
  "version": "8.4.14",
5533
  "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz",
@@ -5567,25 +4894,6 @@
5567
  "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz",
5568
  "integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA=="
5569
  },
5570
- "node_modules/node-fetch": {
5571
- "version": "2.7.0",
5572
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
5573
- "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
5574
- "dependencies": {
5575
- "whatwg-url": "^5.0.0"
5576
- },
5577
- "engines": {
5578
- "node": "4.x || >=6.0.0"
5579
- },
5580
- "peerDependencies": {
5581
- "encoding": "^0.1.0"
5582
- },
5583
- "peerDependenciesMeta": {
5584
- "encoding": {
5585
- "optional": true
5586
- }
5587
- }
5588
- },
5589
  "node_modules/node-releases": {
5590
  "version": "2.0.13",
5591
  "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz",
@@ -5607,14 +4915,6 @@
5607
  "node": ">=0.10.0"
5608
  }
5609
  },
5610
- "node_modules/normalize-svg-path": {
5611
- "version": "1.1.0",
5612
- "resolved": "https://registry.npmjs.org/normalize-svg-path/-/normalize-svg-path-1.1.0.tgz",
5613
- "integrity": "sha512-r9KHKG2UUeB5LoTouwDzBy2VxXlHsiM6fyLQvnJa0S5hrhzqElH/CH7TUGhT1fVvIYBIKf3OpY4YJ4CK+iaqHg==",
5614
- "dependencies": {
5615
- "svg-arc-to-cubic-bezier": "^3.0.0"
5616
- }
5617
- },
5618
  "node_modules/object-assign": {
5619
  "version": "4.1.1",
5620
  "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
@@ -5740,14 +5040,6 @@
5740
  "wrappy": "1"
5741
  }
5742
  },
5743
- "node_modules/opencollective-postinstall": {
5744
- "version": "2.0.3",
5745
- "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz",
5746
- "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==",
5747
- "bin": {
5748
- "opencollective-postinstall": "index.js"
5749
- }
5750
- },
5751
  "node_modules/optionator": {
5752
  "version": "0.9.3",
5753
  "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz",
@@ -5792,11 +5084,6 @@
5792
  "url": "https://github.com/sponsors/sindresorhus"
5793
  }
5794
  },
5795
- "node_modules/pako": {
5796
- "version": "1.0.11",
5797
- "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
5798
- "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="
5799
- },
5800
  "node_modules/parent-module": {
5801
  "version": "1.0.1",
5802
  "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
@@ -5813,11 +5100,6 @@
5813
  "resolved": "https://registry.npmjs.org/parse-srcset/-/parse-srcset-1.0.2.tgz",
5814
  "integrity": "sha512-/2qh0lav6CmI15FzA3i/2Bzk2zCgQhGMkvhOhKNcBVQ1ldgpbfiNTVslmooUmWJcADi1f1kIeynbDRVzNlfR6Q=="
5815
  },
5816
- "node_modules/parse-svg-path": {
5817
- "version": "0.1.2",
5818
- "resolved": "https://registry.npmjs.org/parse-svg-path/-/parse-svg-path-0.1.2.tgz",
5819
- "integrity": "sha512-JyPSBnkTJ0AI8GGJLfMXvKq42cj5c006fnLz6fXy6zfoVjJizi8BNTpu8on8ziI1cKy9d9DGNuY17Ce7wuejpQ=="
5820
- },
5821
  "node_modules/path-exists": {
5822
  "version": "4.0.0",
5823
  "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
@@ -5855,15 +5137,6 @@
5855
  "node": ">=8"
5856
  }
5857
  },
5858
- "node_modules/photo-sphere-viewer-lensflare-plugin": {
5859
- "version": "1.1.2",
5860
- "resolved": "https://registry.npmjs.org/photo-sphere-viewer-lensflare-plugin/-/photo-sphere-viewer-lensflare-plugin-1.1.2.tgz",
5861
- "integrity": "sha512-bip/vyqFvo7+ajDdiHbW5F2bsQME17HTF9gdV2pJt/umsnbdvp5SU3+9oZwlDN3YXyEtSzLXlKUKgQPQi0Ulag==",
5862
- "peerDependencies": {
5863
- "@photo-sphere-viewer/core": "^5.4.0",
5864
- "three": "^0.148.0"
5865
- }
5866
- },
5867
  "node_modules/pick": {
5868
  "version": "0.0.1",
5869
  "resolved": "https://registry.npmjs.org/pick/-/pick-0.0.1.tgz",
@@ -6028,23 +5301,6 @@
6028
  "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
6029
  "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="
6030
  },
6031
- "node_modules/postcss/node_modules/nanoid": {
6032
- "version": "3.3.6",
6033
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
6034
- "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
6035
- "funding": [
6036
- {
6037
- "type": "github",
6038
- "url": "https://github.com/sponsors/ai"
6039
- }
6040
- ],
6041
- "bin": {
6042
- "nanoid": "bin/nanoid.cjs"
6043
- },
6044
- "engines": {
6045
- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
6046
- }
6047
- },
6048
  "node_modules/prebuild-install": {
6049
  "version": "7.1.1",
6050
  "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz",
@@ -6134,9 +5390,9 @@
6134
  }
6135
  },
6136
  "node_modules/punycode": {
6137
- "version": "2.3.0",
6138
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz",
6139
- "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==",
6140
  "engines": {
6141
  "node": ">=6"
6142
  }
@@ -6146,12 +5402,18 @@
6146
  "resolved": "https://registry.npmjs.org/qr.js/-/qr.js-0.0.0.tgz",
6147
  "integrity": "sha512-c4iYnWb+k2E+vYpRimHqSu575b1/wKl4XFeJGpFmrJQz5I88v9aY2czh7s0w36srfCM1sXgC/xpoJz5dJfq+OQ=="
6148
  },
6149
- "node_modules/queue": {
6150
- "version": "6.0.2",
6151
- "resolved": "https://registry.npmjs.org/queue/-/queue-6.0.2.tgz",
6152
- "integrity": "sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==",
6153
  "dependencies": {
6154
- "inherits": "~2.0.3"
 
 
 
 
 
 
6155
  }
6156
  },
6157
  "node_modules/queue-microtask": {
@@ -6231,14 +5493,6 @@
6231
  "react": "^18.2.0"
6232
  }
6233
  },
6234
- "node_modules/react-dom/node_modules/scheduler": {
6235
- "version": "0.23.0",
6236
- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz",
6237
- "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==",
6238
- "dependencies": {
6239
- "loose-envify": "^1.1.0"
6240
- }
6241
- },
6242
  "node_modules/react-fast-compare": {
6243
  "version": "3.2.2",
6244
  "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.2.tgz",
@@ -6249,38 +5503,6 @@
6249
  "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
6250
  "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
6251
  },
6252
- "node_modules/react-photo-sphere-viewer": {
6253
- "version": "3.3.5-psv5.1.4",
6254
- "resolved": "https://registry.npmjs.org/react-photo-sphere-viewer/-/react-photo-sphere-viewer-3.3.5-psv5.1.4.tgz",
6255
- "integrity": "sha512-w4aGbYejYjHTtfOLWtMiHUOqKzSJCgR8zAgmfI5fNwIYLTB/3q9Xm/LtK4JCM6bA3T9+F+atF9TKLnKZK5jqfQ==",
6256
- "dependencies": {
6257
- "@photo-sphere-viewer/autorotate-plugin": "^5.1.4",
6258
- "@photo-sphere-viewer/compass-plugin": "^5.1.4",
6259
- "@photo-sphere-viewer/core": "^5.1.4",
6260
- "@photo-sphere-viewer/cubemap-adapter": "^5.1.4",
6261
- "@photo-sphere-viewer/cubemap-tiles-adapter": "^5.1.4",
6262
- "@photo-sphere-viewer/cubemap-video-adapter": "^5.1.4",
6263
- "@photo-sphere-viewer/equirectangular-tiles-adapter": "^5.1.4",
6264
- "@photo-sphere-viewer/equirectangular-video-adapter": "^5.1.4",
6265
- "@photo-sphere-viewer/gallery-plugin": "^5.1.4",
6266
- "@photo-sphere-viewer/gyroscope-plugin": "^5.1.4",
6267
- "@photo-sphere-viewer/map-plugin": "^5.1.4",
6268
- "@photo-sphere-viewer/markers-plugin": "^5.1.4",
6269
- "@photo-sphere-viewer/resolution-plugin": "^5.1.4",
6270
- "@photo-sphere-viewer/settings-plugin": "^5.1.4",
6271
- "@photo-sphere-viewer/stereo-plugin": "^5.1.4",
6272
- "@photo-sphere-viewer/video-plugin": "^5.1.4",
6273
- "@photo-sphere-viewer/virtual-tour-plugin": "^5.1.4",
6274
- "@photo-sphere-viewer/visible-range-plugin": "^5.1.4",
6275
- "autoprefixer": "^10.4.14",
6276
- "eventemitter3": "^5.0.0",
6277
- "photo-sphere-viewer-lensflare-plugin": "^1.1.1"
6278
- },
6279
- "engines": {
6280
- "node": ">=8",
6281
- "npm": ">=5"
6282
- }
6283
- },
6284
  "node_modules/react-qr-code": {
6285
  "version": "2.0.12",
6286
  "resolved": "https://registry.npmjs.org/react-qr-code/-/react-qr-code-2.0.12.tgz",
@@ -6502,11 +5724,6 @@
6502
  "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
6503
  }
6504
  },
6505
- "node_modules/restructure": {
6506
- "version": "3.0.0",
6507
- "resolved": "https://registry.npmjs.org/restructure/-/restructure-3.0.0.tgz",
6508
- "integrity": "sha512-Xj8/MEIhhfj9X2rmD9iJ4Gga9EFqVlpMj3vfLnV2r/Mh5jRMryNV+6lWh9GdJtDBcBSPIqzRdfBQ3wDtNFv/uw=="
6509
- },
6510
  "node_modules/retry": {
6511
  "version": "0.12.0",
6512
  "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz",
@@ -6631,12 +5848,11 @@
6631
  }
6632
  },
6633
  "node_modules/scheduler": {
6634
- "version": "0.17.0",
6635
- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.17.0.tgz",
6636
- "integrity": "sha512-7rro8Io3tnCPuY4la/NuI5F2yfESpnfZyT6TtkXnSWVkcu0BCDJ+8gk5ozUaFaxpIyNuWAPXrH0yFcSi28fnDA==",
6637
  "dependencies": {
6638
- "loose-envify": "^1.1.0",
6639
- "object-assign": "^4.1.1"
6640
  }
6641
  },
6642
  "node_modules/semver": {
@@ -6820,9 +6036,9 @@
6820
  }
6821
  },
6822
  "node_modules/streamx": {
6823
- "version": "2.15.1",
6824
- "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.1.tgz",
6825
- "integrity": "sha512-fQMzy2O/Q47rgwErk/eGeLu/roaFWV0jVsogDmrszM9uIw8L5OA+t+V93MgYlufNptfjmYR1tOMWhei/Eh7TQA==",
6826
  "dependencies": {
6827
  "fast-fifo": "^1.1.0",
6828
  "queue-tick": "^1.0.1"
@@ -6954,23 +6170,6 @@
6954
  "react-dom": ">= 16.8.0"
6955
  }
6956
  },
6957
- "node_modules/styled-components/node_modules/nanoid": {
6958
- "version": "3.3.6",
6959
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
6960
- "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
6961
- "funding": [
6962
- {
6963
- "type": "github",
6964
- "url": "https://github.com/sponsors/ai"
6965
- }
6966
- ],
6967
- "bin": {
6968
- "nanoid": "bin/nanoid.cjs"
6969
- },
6970
- "engines": {
6971
- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
6972
- }
6973
- },
6974
  "node_modules/styled-components/node_modules/postcss": {
6975
  "version": "8.4.31",
6976
  "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
@@ -7087,11 +6286,6 @@
7087
  "url": "https://github.com/sponsors/ljharb"
7088
  }
7089
  },
7090
- "node_modules/svg-arc-to-cubic-bezier": {
7091
- "version": "3.2.0",
7092
- "resolved": "https://registry.npmjs.org/svg-arc-to-cubic-bezier/-/svg-arc-to-cubic-bezier-3.2.0.tgz",
7093
- "integrity": "sha512-djbJ/vZKZO+gPoSDThGNpKDO+o+bAeA4XQKovvkNCqnIS2t+S4qnLAGQhyyrulhCFRl1WWzAp0wUDV8PpTVU3g=="
7094
- },
7095
  "node_modules/tailwind-merge": {
7096
  "version": "1.14.0",
7097
  "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-1.14.0.tgz",
@@ -7181,42 +6375,6 @@
7181
  "node": ">=14.16"
7182
  }
7183
  },
7184
- "node_modules/tesseract.js": {
7185
- "version": "4.1.4",
7186
- "resolved": "https://registry.npmjs.org/tesseract.js/-/tesseract.js-4.1.4.tgz",
7187
- "integrity": "sha512-iLjJjLWVNV4PApofEsd54Y1MbjhzpPxEzF8EjYmC2CLN4hrUqO5aTNTSbGA7/QjycKtAWHhn2YmDR+6GFwi2Zg==",
7188
- "hasInstallScript": true,
7189
- "dependencies": {
7190
- "bmp-js": "^0.1.0",
7191
- "idb-keyval": "^6.2.0",
7192
- "is-electron": "^2.2.2",
7193
- "is-url": "^1.2.4",
7194
- "node-fetch": "^2.6.9",
7195
- "opencollective-postinstall": "^2.0.3",
7196
- "regenerator-runtime": "^0.13.3",
7197
- "tesseract.js-core": "^4.0.4",
7198
- "wasm-feature-detect": "^1.2.11",
7199
- "zlibjs": "^0.3.1"
7200
- }
7201
- },
7202
- "node_modules/tesseract.js-core": {
7203
- "version": "4.0.4",
7204
- "resolved": "https://registry.npmjs.org/tesseract.js-core/-/tesseract.js-core-4.0.4.tgz",
7205
- "integrity": "sha512-MJ+vtktjAaT0681uPl6TDUPhbRbpD/S9emko5rtorgHRZpQo7R3BG7h+3pVHgn1KjfNf1bvnx4B7KxEK8YKqpg=="
7206
- },
7207
- "node_modules/tesseract.js/node_modules/regenerator-runtime": {
7208
- "version": "0.13.11",
7209
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
7210
- "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg=="
7211
- },
7212
- "node_modules/text-segmentation": {
7213
- "version": "1.0.3",
7214
- "resolved": "https://registry.npmjs.org/text-segmentation/-/text-segmentation-1.0.3.tgz",
7215
- "integrity": "sha512-iOiPUo/BGnZ6+54OsWxZidGCsdU8YbE4PSpdPinp7DeMtUJNJBoJ/ouUSTJjHkh1KntHaltHl/gDs2FC4i5+Nw==",
7216
- "dependencies": {
7217
- "utrie": "^1.0.2"
7218
- }
7219
- },
7220
  "node_modules/text-table": {
7221
  "version": "0.2.0",
7222
  "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
@@ -7241,17 +6399,6 @@
7241
  "node": ">=0.8"
7242
  }
7243
  },
7244
- "node_modules/three": {
7245
- "version": "0.148.0",
7246
- "resolved": "https://registry.npmjs.org/three/-/three-0.148.0.tgz",
7247
- "integrity": "sha512-8uzVV+qhTPi0bOFs/3te3RW6hb3urL8jYEl6irjCWo/l6sr8MPNMcClFev/MMYeIxr0gmDcoXTy/8LXh/LXkfw==",
7248
- "peer": true
7249
- },
7250
- "node_modules/tiny-inflate": {
7251
- "version": "1.0.3",
7252
- "resolved": "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz",
7253
- "integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw=="
7254
- },
7255
  "node_modules/to-regex-range": {
7256
  "version": "5.0.1",
7257
  "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
@@ -7263,11 +6410,6 @@
7263
  "node": ">=8.0"
7264
  }
7265
  },
7266
- "node_modules/tr46": {
7267
- "version": "0.0.3",
7268
- "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
7269
- "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
7270
- },
7271
  "node_modules/ts-interface-checker": {
7272
  "version": "0.1.13",
7273
  "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
@@ -7475,37 +6617,6 @@
7475
  "url": "https://github.com/sponsors/ljharb"
7476
  }
7477
  },
7478
- "node_modules/unicode-properties": {
7479
- "version": "1.4.1",
7480
- "resolved": "https://registry.npmjs.org/unicode-properties/-/unicode-properties-1.4.1.tgz",
7481
- "integrity": "sha512-CLjCCLQ6UuMxWnbIylkisbRj31qxHPAurvena/0iwSVbQ2G1VY5/HjV0IRabOEbDHlzZlRdCrD4NhB0JtU40Pg==",
7482
- "dependencies": {
7483
- "base64-js": "^1.3.0",
7484
- "unicode-trie": "^2.0.0"
7485
- }
7486
- },
7487
- "node_modules/unicode-trie": {
7488
- "version": "2.0.0",
7489
- "resolved": "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz",
7490
- "integrity": "sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==",
7491
- "dependencies": {
7492
- "pako": "^0.2.5",
7493
- "tiny-inflate": "^1.0.0"
7494
- }
7495
- },
7496
- "node_modules/unicode-trie/node_modules/pako": {
7497
- "version": "0.2.9",
7498
- "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz",
7499
- "integrity": "sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA=="
7500
- },
7501
- "node_modules/unique-names-generator": {
7502
- "version": "4.7.1",
7503
- "resolved": "https://registry.npmjs.org/unique-names-generator/-/unique-names-generator-4.7.1.tgz",
7504
- "integrity": "sha512-lMx9dX+KRmG8sq6gulYYpKWZc9RlGsgBR6aoO8Qsm3qvkSJ+3rAymr+TnV8EDMrIrwuFJ4kruzMWM/OpYzPoow==",
7505
- "engines": {
7506
- "node": ">=8"
7507
- }
7508
- },
7509
  "node_modules/update-browserslist-db": {
7510
  "version": "1.0.13",
7511
  "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz",
@@ -7610,14 +6721,6 @@
7610
  "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
7611
  "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
7612
  },
7613
- "node_modules/utrie": {
7614
- "version": "1.0.2",
7615
- "resolved": "https://registry.npmjs.org/utrie/-/utrie-1.0.2.tgz",
7616
- "integrity": "sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==",
7617
- "dependencies": {
7618
- "base64-arraybuffer": "^1.0.2"
7619
- }
7620
- },
7621
  "node_modules/uuid": {
7622
  "version": "9.0.1",
7623
  "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
@@ -7635,24 +6738,6 @@
7635
  "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz",
7636
  "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg=="
7637
  },
7638
- "node_modules/vite-compatible-readable-stream": {
7639
- "version": "3.6.1",
7640
- "resolved": "https://registry.npmjs.org/vite-compatible-readable-stream/-/vite-compatible-readable-stream-3.6.1.tgz",
7641
- "integrity": "sha512-t20zYkrSf868+j/p31cRIGN28Phrjm3nRSLR2fyc2tiWi4cZGVdv68yNlwnIINTkMTmPoMiSlc0OadaO7DXZaQ==",
7642
- "dependencies": {
7643
- "inherits": "^2.0.3",
7644
- "string_decoder": "^1.1.1",
7645
- "util-deprecate": "^1.0.1"
7646
- },
7647
- "engines": {
7648
- "node": ">= 6"
7649
- }
7650
- },
7651
- "node_modules/wasm-feature-detect": {
7652
- "version": "1.5.1",
7653
- "resolved": "https://registry.npmjs.org/wasm-feature-detect/-/wasm-feature-detect-1.5.1.tgz",
7654
- "integrity": "sha512-GHr23qmuehNXHY4902/hJ6EV5sUANIJC3R/yMfQ7hWDg3nfhlcJfnIL96R2ohpIwa62araN6aN4bLzzzq5GXkg=="
7655
- },
7656
  "node_modules/watchpack": {
7657
  "version": "2.4.0",
7658
  "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz",
@@ -7665,20 +6750,6 @@
7665
  "node": ">=10.13.0"
7666
  }
7667
  },
7668
- "node_modules/webidl-conversions": {
7669
- "version": "3.0.1",
7670
- "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
7671
- "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
7672
- },
7673
- "node_modules/whatwg-url": {
7674
- "version": "5.0.0",
7675
- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
7676
- "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
7677
- "dependencies": {
7678
- "tr46": "~0.0.3",
7679
- "webidl-conversions": "^3.0.0"
7680
- }
7681
- },
7682
  "node_modules/which": {
7683
  "version": "2.0.2",
7684
  "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
@@ -7776,9 +6847,9 @@
7776
  "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
7777
  },
7778
  "node_modules/yaml": {
7779
- "version": "2.3.3",
7780
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.3.tgz",
7781
- "integrity": "sha512-zw0VAJxgeZ6+++/su5AFoqBbZbrEakwu+X0M5HmcwUiBL7AzcuPKjj5we4xfQLp78LkEMpD0cOnUhmgOVy3KdQ==",
7782
  "engines": {
7783
  "node": ">= 14"
7784
  }
@@ -7802,14 +6873,6 @@
7802
  "url": "https://github.com/sponsors/sindresorhus"
7803
  }
7804
  },
7805
- "node_modules/zlibjs": {
7806
- "version": "0.3.1",
7807
- "resolved": "https://registry.npmjs.org/zlibjs/-/zlibjs-0.3.1.tgz",
7808
- "integrity": "sha512-+J9RrgTKOmlxFSDHo0pI1xM6BLVUv+o0ZT9ANtCxGkjIVCCUdx9alUF8Gm+dGLKbkkkidWIHFDZHDMpfITt4+w==",
7809
- "engines": {
7810
- "node": "*"
7811
- }
7812
- },
7813
  "node_modules/zod": {
7814
  "version": "3.21.4",
7815
  "resolved": "https://registry.npmjs.org/zod/-/zod-3.21.4.tgz",
@@ -7819,9 +6882,9 @@
7819
  }
7820
  },
7821
  "node_modules/zustand": {
7822
- "version": "4.4.4",
7823
- "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.4.4.tgz",
7824
- "integrity": "sha512-5UTUIAiHMNf5+mFp7/AnzJXS7+XxktULFN0+D1sCiZWyX7ZG+AQpqs2qpYrynRij4QvoDdCD+U+bmg/cG3Ucxw==",
7825
  "dependencies": {
7826
  "use-sync-external-store": "1.2.0"
7827
  },
 
8
  "name": "@jbilcke-hf/hotshot-xl-text-to-gif",
9
  "version": "0.0.0",
10
  "dependencies": {
 
 
 
 
 
11
  "@radix-ui/react-accordion": "^1.1.2",
12
  "@radix-ui/react-avatar": "^1.0.3",
13
  "@radix-ui/react-checkbox": "^1.0.4",
 
25
  "@radix-ui/react-switch": "^1.0.3",
26
  "@radix-ui/react-toast": "^1.1.4",
27
  "@radix-ui/react-tooltip": "^1.0.6",
 
28
  "@react-spring/web": "^9.7.3",
29
  "@types/node": "20.4.2",
30
  "@types/react": "18.2.15",
 
37
  "clsx": "^2.0.0",
38
  "cmdk": "^0.2.0",
39
  "cookies-next": "^2.1.2",
 
40
  "eslint": "8.45.0",
41
  "eslint-config-next": "13.4.10",
 
42
  "lucide-react": "^0.260.0",
 
 
43
  "next": "13.4.10",
 
44
  "pick": "^0.0.1",
45
  "postcss": "8.4.26",
46
  "proper-lockfile": "^4.1.2",
47
+ "qs": "^6.11.2",
48
  "react": "18.2.0",
49
  "react-circular-progressbar": "^2.1.0",
50
  "react-dom": "18.2.0",
 
51
  "react-qr-code": "^2.0.12",
52
  "react-snowfall": "^1.2.1",
53
  "react-virtualized-auto-sizer": "^1.0.20",
 
59
  "tailwindcss": "3.3.3",
60
  "tailwindcss-animate": "^1.0.6",
61
  "temp-dir": "^3.0.0",
 
62
  "ts-node": "^10.9.1",
63
  "typescript": "5.1.6",
 
64
  "usehooks-ts": "^2.9.1",
65
  "uuid": "^9.0.0",
66
  "zustand": "^4.4.1"
 
103
  "node": ">=6.9.0"
104
  }
105
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  "node_modules/@cspotcode/source-map-support": {
107
  "version": "0.8.1",
108
  "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
 
227
  "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.1.6.tgz",
228
  "integrity": "sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A=="
229
  },
 
 
 
 
 
 
 
 
230
  "node_modules/@humanwhocodes/config-array": {
231
  "version": "0.11.13",
232
  "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz",
 
480
  "node": ">= 8"
481
  }
482
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
483
  "node_modules/@radix-ui/number": {
484
  "version": "1.0.1",
485
  "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.0.1.tgz",
 
1613
  "@babel/runtime": "^7.13.10"
1614
  }
1615
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1616
  "node_modules/@react-spring/animated": {
1617
  "version": "9.7.3",
1618
  "resolved": "https://registry.npmjs.org/@react-spring/animated/-/animated-9.7.3.tgz",
 
1679
  "integrity": "sha512-6i/8UoL0P5y4leBIGzvkZdS85RDMG9y1ihZzmTZQ5LdHUYmZ7pKFoj8X0236s3lusPs1Fa5HTQUpwI+UfTcmeA=="
1680
  },
1681
  "node_modules/@swc/helpers": {
1682
+ "version": "0.5.1",
1683
+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.1.tgz",
1684
+ "integrity": "sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==",
1685
  "dependencies": {
 
1686
  "tslib": "^2.4.0"
1687
  }
1688
  },
 
1912
  }
1913
  },
1914
  "node_modules/@upstash/redis": {
1915
+ "version": "1.24.3",
1916
+ "resolved": "https://registry.npmjs.org/@upstash/redis/-/redis-1.24.3.tgz",
1917
+ "integrity": "sha512-gw6d4IA1biB4eye5ESaXc0zOlVQI94aptsBvVcTghYWu1kRmOrJFoMFEDCa8p5uzluyYAOFCuY2GWLR6O4ZoIw==",
1918
  "dependencies": {
1919
+ "crypto-js": "^4.2.0"
 
1920
  }
1921
  },
 
 
 
 
 
1922
  "node_modules/acorn": {
1923
  "version": "8.11.2",
1924
  "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
 
2152
  }
2153
  },
2154
  "node_modules/ast-types-flow": {
2155
+ "version": "0.0.8",
2156
+ "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz",
2157
+ "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ=="
2158
  },
2159
  "node_modules/asynciterator.prototype": {
2160
  "version": "1.0.0",
 
2208
  }
2209
  },
2210
  "node_modules/axe-core": {
2211
+ "version": "4.7.0",
2212
+ "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.7.0.tgz",
2213
+ "integrity": "sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==",
2214
  "engines": {
2215
  "node": ">=4"
2216
  }
 
2233
  "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
2234
  "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
2235
  },
 
 
 
 
 
 
 
 
2236
  "node_modules/base64-js": {
2237
  "version": "1.5.1",
2238
  "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
 
2270
  "readable-stream": "^3.4.0"
2271
  }
2272
  },
 
 
 
 
 
2273
  "node_modules/brace-expansion": {
2274
  "version": "1.1.11",
2275
  "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
 
2290
  "node": ">=8"
2291
  }
2292
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2293
  "node_modules/browserslist": {
2294
  "version": "4.22.1",
2295
  "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.1.tgz",
 
2393
  }
2394
  },
2395
  "node_modules/caniuse-lite": {
2396
+ "version": "1.0.30001559",
2397
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001559.tgz",
2398
+ "integrity": "sha512-cPiMKZgqgkg5LY3/ntGeLFUpi6tzddBNS58A4tnTgQw1zON7u2sZMU7SzOeVH4tj20++9ggL+V6FDOFMTaFFYA==",
2399
  "funding": [
2400
  {
2401
  "type": "opencollective",
 
2492
  "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",
2493
  "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA=="
2494
  },
 
 
 
 
 
 
 
 
2495
  "node_modules/clsx": {
2496
  "version": "2.0.0",
2497
  "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.0.0.tgz",
 
2826
  }
2827
  },
2828
  "node_modules/cookies-next/node_modules/@types/node": {
2829
+ "version": "16.18.60",
2830
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.60.tgz",
2831
+ "integrity": "sha512-ZUGPWx5vKfN+G2/yN7pcSNLkIkXEvlwNaJEd4e0ppX7W2S8XAkdc/37hM4OUNJB9sa0p12AOvGvxL4JCPiz9DA=="
2832
  },
2833
  "node_modules/create-require": {
2834
  "version": "1.1.1",
2835
  "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
2836
  "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ=="
2837
  },
 
 
 
 
 
 
 
 
2838
  "node_modules/cross-spawn": {
2839
  "version": "7.0.3",
2840
  "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
 
2861
  "node": ">=4"
2862
  }
2863
  },
 
 
 
 
 
 
 
 
2864
  "node_modules/css-selector-tokenizer": {
2865
  "version": "0.8.0",
2866
  "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.8.0.tgz",
 
2898
  "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ=="
2899
  },
2900
  "node_modules/daisyui": {
2901
+ "version": "3.9.4",
2902
+ "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-3.9.4.tgz",
2903
+ "integrity": "sha512-fvi2RGH4YV617/6DntOVGcOugOPym9jTGWW2XySb5ZpvdWO4L7bEG77VHirrnbRUEWvIEVXkBpxUz2KFj0rVnA==",
2904
  "dev": true,
2905
  "dependencies": {
2906
  "colord": "^2.9",
 
2922
  "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz",
2923
  "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA=="
2924
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2925
  "node_modules/debug": {
2926
  "version": "4.3.4",
2927
  "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
 
3023
  "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",
3024
  "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ=="
3025
  },
 
 
 
 
 
3026
  "node_modules/didyoumean": {
3027
  "version": "1.2.2",
3028
  "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
 
3115
  }
3116
  },
3117
  "node_modules/electron-to-chromium": {
3118
+ "version": "1.4.575",
3119
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.575.tgz",
3120
+ "integrity": "sha512-kY2BGyvgAHiX899oF6xLXSIf99bAvvdPhDoJwG77nxCSyWYuRH6e9a9a3gpXBvCs6lj4dQZJkfnW2hdKWHEISg=="
3121
  },
3122
  "node_modules/emoji-regex": {
3123
+ "version": "9.2.2",
3124
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
3125
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="
3126
  },
3127
  "node_modules/end-of-stream": {
3128
  "version": "1.4.4",
 
3486
  }
3487
  },
3488
  "node_modules/eslint-plugin-jsx-a11y": {
3489
+ "version": "6.8.0",
3490
+ "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.8.0.tgz",
3491
+ "integrity": "sha512-Hdh937BS3KdwwbBaKd5+PLCOmYY6U4f2h9Z2ktwtNKvIdIEu137rjYbcb9ApSbVJfWxANNuiKTD/9tOKjK9qOA==",
3492
  "dependencies": {
3493
+ "@babel/runtime": "^7.23.2",
3494
+ "aria-query": "^5.3.0",
3495
+ "array-includes": "^3.1.7",
3496
+ "array.prototype.flatmap": "^1.3.2",
3497
+ "ast-types-flow": "^0.0.8",
3498
+ "axe-core": "=4.7.0",
3499
+ "axobject-query": "^3.2.1",
3500
  "damerau-levenshtein": "^1.0.8",
3501
  "emoji-regex": "^9.2.2",
3502
+ "es-iterator-helpers": "^1.0.15",
3503
+ "hasown": "^2.0.0",
3504
+ "jsx-ast-utils": "^3.3.5",
3505
+ "language-tags": "^1.0.9",
3506
  "minimatch": "^3.1.2",
3507
+ "object.entries": "^1.1.7",
3508
+ "object.fromentries": "^2.0.7"
 
3509
  },
3510
  "engines": {
3511
  "node": ">=4.0"
 
3514
  "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
3515
  }
3516
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
3517
  "node_modules/eslint-plugin-react": {
3518
  "version": "7.33.2",
3519
  "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.33.2.tgz",
 
3669
  "node": ">=0.10.0"
3670
  }
3671
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
3672
  "node_modules/expand-template": {
3673
  "version": "2.0.3",
3674
  "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
 
3792
  "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz",
3793
  "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ=="
3794
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3795
  "node_modules/for-each": {
3796
  "version": "0.3.3",
3797
  "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
 
4024
  "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
4025
  "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag=="
4026
  },
 
 
 
 
 
 
 
 
4027
  "node_modules/has-bigints": {
4028
  "version": "1.0.2",
4029
  "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz",
 
4098
  "node": ">= 0.4"
4099
  }
4100
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4101
  "node_modules/htmlparser2": {
4102
  "version": "8.0.2",
4103
  "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz",
 
4116
  "entities": "^4.4.0"
4117
  }
4118
  },
 
 
 
 
 
 
 
 
 
 
4119
  "node_modules/ieee754": {
4120
  "version": "1.2.1",
4121
  "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
 
4311
  "url": "https://github.com/sponsors/ljharb"
4312
  }
4313
  },
 
 
 
 
 
4314
  "node_modules/is-extglob": {
4315
  "version": "2.1.1",
4316
  "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
 
4488
  "url": "https://github.com/sponsors/ljharb"
4489
  }
4490
  },
 
 
 
 
 
4491
  "node_modules/is-weakmap": {
4492
  "version": "2.0.1",
4493
  "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz",
 
4542
  }
4543
  },
4544
  "node_modules/jiti": {
4545
+ "version": "1.21.0",
4546
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz",
4547
+ "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==",
4548
  "bin": {
4549
  "jiti": "bin/jiti.js"
4550
  }
 
4619
  "integrity": "sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w=="
4620
  },
4621
  "node_modules/language-tags": {
4622
+ "version": "1.0.9",
4623
+ "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz",
4624
+ "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==",
 
 
 
 
 
 
 
 
 
4625
  "dependencies": {
4626
+ "language-subtag-registry": "^0.3.20"
4627
+ },
4628
+ "engines": {
4629
+ "node": ">=0.10"
4630
  }
4631
  },
4632
  "node_modules/levn": {
 
4708
  "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
4709
  "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw=="
4710
  },
 
 
 
 
 
4711
  "node_modules/merge2": {
4712
  "version": "1.4.1",
4713
  "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
 
4763
  "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
4764
  "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="
4765
  },
 
 
 
 
 
 
 
 
 
 
 
 
4766
  "node_modules/ms": {
4767
  "version": "2.1.2",
4768
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
 
4779
  }
4780
  },
4781
  "node_modules/nanoid": {
4782
+ "version": "3.3.6",
4783
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
4784
+ "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
4785
  "funding": [
4786
  {
4787
  "type": "github",
 
4789
  }
4790
  ],
4791
  "bin": {
4792
+ "nanoid": "bin/nanoid.cjs"
4793
  },
4794
  "engines": {
4795
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
4796
  }
4797
  },
4798
  "node_modules/napi-build-utils": {
 
4855
  }
4856
  }
4857
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4858
  "node_modules/next/node_modules/postcss": {
4859
  "version": "8.4.14",
4860
  "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz",
 
4894
  "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz",
4895
  "integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA=="
4896
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4897
  "node_modules/node-releases": {
4898
  "version": "2.0.13",
4899
  "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz",
 
4915
  "node": ">=0.10.0"
4916
  }
4917
  },
 
 
 
 
 
 
 
 
4918
  "node_modules/object-assign": {
4919
  "version": "4.1.1",
4920
  "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
 
5040
  "wrappy": "1"
5041
  }
5042
  },
 
 
 
 
 
 
 
 
5043
  "node_modules/optionator": {
5044
  "version": "0.9.3",
5045
  "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz",
 
5084
  "url": "https://github.com/sponsors/sindresorhus"
5085
  }
5086
  },
 
 
 
 
 
5087
  "node_modules/parent-module": {
5088
  "version": "1.0.1",
5089
  "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
 
5100
  "resolved": "https://registry.npmjs.org/parse-srcset/-/parse-srcset-1.0.2.tgz",
5101
  "integrity": "sha512-/2qh0lav6CmI15FzA3i/2Bzk2zCgQhGMkvhOhKNcBVQ1ldgpbfiNTVslmooUmWJcADi1f1kIeynbDRVzNlfR6Q=="
5102
  },
 
 
 
 
 
5103
  "node_modules/path-exists": {
5104
  "version": "4.0.0",
5105
  "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
 
5137
  "node": ">=8"
5138
  }
5139
  },
 
 
 
 
 
 
 
 
 
5140
  "node_modules/pick": {
5141
  "version": "0.0.1",
5142
  "resolved": "https://registry.npmjs.org/pick/-/pick-0.0.1.tgz",
 
5301
  "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
5302
  "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="
5303
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5304
  "node_modules/prebuild-install": {
5305
  "version": "7.1.1",
5306
  "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz",
 
5390
  }
5391
  },
5392
  "node_modules/punycode": {
5393
+ "version": "2.3.1",
5394
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
5395
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
5396
  "engines": {
5397
  "node": ">=6"
5398
  }
 
5402
  "resolved": "https://registry.npmjs.org/qr.js/-/qr.js-0.0.0.tgz",
5403
  "integrity": "sha512-c4iYnWb+k2E+vYpRimHqSu575b1/wKl4XFeJGpFmrJQz5I88v9aY2czh7s0w36srfCM1sXgC/xpoJz5dJfq+OQ=="
5404
  },
5405
+ "node_modules/qs": {
5406
+ "version": "6.11.2",
5407
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz",
5408
+ "integrity": "sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==",
5409
  "dependencies": {
5410
+ "side-channel": "^1.0.4"
5411
+ },
5412
+ "engines": {
5413
+ "node": ">=0.6"
5414
+ },
5415
+ "funding": {
5416
+ "url": "https://github.com/sponsors/ljharb"
5417
  }
5418
  },
5419
  "node_modules/queue-microtask": {
 
5493
  "react": "^18.2.0"
5494
  }
5495
  },
 
 
 
 
 
 
 
 
5496
  "node_modules/react-fast-compare": {
5497
  "version": "3.2.2",
5498
  "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.2.tgz",
 
5503
  "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
5504
  "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
5505
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5506
  "node_modules/react-qr-code": {
5507
  "version": "2.0.12",
5508
  "resolved": "https://registry.npmjs.org/react-qr-code/-/react-qr-code-2.0.12.tgz",
 
5724
  "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
5725
  }
5726
  },
 
 
 
 
 
5727
  "node_modules/retry": {
5728
  "version": "0.12.0",
5729
  "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz",
 
5848
  }
5849
  },
5850
  "node_modules/scheduler": {
5851
+ "version": "0.23.0",
5852
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz",
5853
+ "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==",
5854
  "dependencies": {
5855
+ "loose-envify": "^1.1.0"
 
5856
  }
5857
  },
5858
  "node_modules/semver": {
 
6036
  }
6037
  },
6038
  "node_modules/streamx": {
6039
+ "version": "2.15.2",
6040
+ "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.2.tgz",
6041
+ "integrity": "sha512-b62pAV/aeMjUoRN2C/9F0n+G8AfcJjNC0zw/ZmOHeFsIe4m4GzjVW9m6VHXVjk536NbdU9JRwKMJRfkc+zUFTg==",
6042
  "dependencies": {
6043
  "fast-fifo": "^1.1.0",
6044
  "queue-tick": "^1.0.1"
 
6170
  "react-dom": ">= 16.8.0"
6171
  }
6172
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6173
  "node_modules/styled-components/node_modules/postcss": {
6174
  "version": "8.4.31",
6175
  "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
 
6286
  "url": "https://github.com/sponsors/ljharb"
6287
  }
6288
  },
 
 
 
 
 
6289
  "node_modules/tailwind-merge": {
6290
  "version": "1.14.0",
6291
  "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-1.14.0.tgz",
 
6375
  "node": ">=14.16"
6376
  }
6377
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6378
  "node_modules/text-table": {
6379
  "version": "0.2.0",
6380
  "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
 
6399
  "node": ">=0.8"
6400
  }
6401
  },
 
 
 
 
 
 
 
 
 
 
 
6402
  "node_modules/to-regex-range": {
6403
  "version": "5.0.1",
6404
  "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
 
6410
  "node": ">=8.0"
6411
  }
6412
  },
 
 
 
 
 
6413
  "node_modules/ts-interface-checker": {
6414
  "version": "0.1.13",
6415
  "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
 
6617
  "url": "https://github.com/sponsors/ljharb"
6618
  }
6619
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6620
  "node_modules/update-browserslist-db": {
6621
  "version": "1.0.13",
6622
  "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz",
 
6721
  "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
6722
  "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
6723
  },
 
 
 
 
 
 
 
 
6724
  "node_modules/uuid": {
6725
  "version": "9.0.1",
6726
  "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
 
6738
  "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz",
6739
  "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg=="
6740
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6741
  "node_modules/watchpack": {
6742
  "version": "2.4.0",
6743
  "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz",
 
6750
  "node": ">=10.13.0"
6751
  }
6752
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6753
  "node_modules/which": {
6754
  "version": "2.0.2",
6755
  "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
 
6847
  "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
6848
  },
6849
  "node_modules/yaml": {
6850
+ "version": "2.3.4",
6851
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz",
6852
+ "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==",
6853
  "engines": {
6854
  "node": ">= 14"
6855
  }
 
6873
  "url": "https://github.com/sponsors/sindresorhus"
6874
  }
6875
  },
 
 
 
 
 
 
 
 
6876
  "node_modules/zod": {
6877
  "version": "3.21.4",
6878
  "resolved": "https://registry.npmjs.org/zod/-/zod-3.21.4.tgz",
 
6882
  }
6883
  },
6884
  "node_modules/zustand": {
6885
+ "version": "4.4.6",
6886
+ "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.4.6.tgz",
6887
+ "integrity": "sha512-Rb16eW55gqL4W2XZpJh0fnrATxYEG3Apl2gfHTyDSE965x/zxslTikpNch0JgNjJA9zK6gEFW8Fl6d1rTZaqgg==",
6888
  "dependencies": {
6889
  "use-sync-external-store": "1.2.0"
6890
  },
package.json CHANGED
@@ -9,11 +9,6 @@
9
  "lint": "next lint"
10
  },
11
  "dependencies": {
12
- "@huggingface/inference": "^2.6.1",
13
- "@photo-sphere-viewer/core": "^5.1.7",
14
- "@photo-sphere-viewer/markers-plugin": "^5.1.7",
15
- "@photo-sphere-viewer/video-plugin": "^5.1.7",
16
- "@photo-sphere-viewer/virtual-tour-plugin": "^5.1.7",
17
  "@radix-ui/react-accordion": "^1.1.2",
18
  "@radix-ui/react-avatar": "^1.0.3",
19
  "@radix-ui/react-checkbox": "^1.0.4",
@@ -31,7 +26,6 @@
31
  "@radix-ui/react-switch": "^1.0.3",
32
  "@radix-ui/react-toast": "^1.1.4",
33
  "@radix-ui/react-tooltip": "^1.0.6",
34
- "@react-pdf/renderer": "^3.1.12",
35
  "@react-spring/web": "^9.7.3",
36
  "@types/node": "20.4.2",
37
  "@types/react": "18.2.15",
@@ -44,22 +38,17 @@
44
  "clsx": "^2.0.0",
45
  "cmdk": "^0.2.0",
46
  "cookies-next": "^2.1.2",
47
- "date-fns": "^2.30.0",
48
  "eslint": "8.45.0",
49
  "eslint-config-next": "13.4.10",
50
- "html2canvas": "^1.4.1",
51
  "lucide-react": "^0.260.0",
52
- "moodie": "^1.1.1",
53
- "nanoid": "^5.0.1",
54
  "next": "13.4.10",
55
- "photo-sphere-viewer-lensflare-plugin": "^1.1.1",
56
  "pick": "^0.0.1",
57
  "postcss": "8.4.26",
58
  "proper-lockfile": "^4.1.2",
 
59
  "react": "18.2.0",
60
  "react-circular-progressbar": "^2.1.0",
61
  "react-dom": "18.2.0",
62
- "react-photo-sphere-viewer": "^3.3.5-psv5.1.4",
63
  "react-qr-code": "^2.0.12",
64
  "react-snowfall": "^1.2.1",
65
  "react-virtualized-auto-sizer": "^1.0.20",
@@ -71,10 +60,8 @@
71
  "tailwindcss": "3.3.3",
72
  "tailwindcss-animate": "^1.0.6",
73
  "temp-dir": "^3.0.0",
74
- "tesseract.js": "^4.1.2",
75
  "ts-node": "^10.9.1",
76
  "typescript": "5.1.6",
77
- "unique-names-generator": "^4.7.1",
78
  "usehooks-ts": "^2.9.1",
79
  "uuid": "^9.0.0",
80
  "zustand": "^4.4.1"
 
9
  "lint": "next lint"
10
  },
11
  "dependencies": {
 
 
 
 
 
12
  "@radix-ui/react-accordion": "^1.1.2",
13
  "@radix-ui/react-avatar": "^1.0.3",
14
  "@radix-ui/react-checkbox": "^1.0.4",
 
26
  "@radix-ui/react-switch": "^1.0.3",
27
  "@radix-ui/react-toast": "^1.1.4",
28
  "@radix-ui/react-tooltip": "^1.0.6",
 
29
  "@react-spring/web": "^9.7.3",
30
  "@types/node": "20.4.2",
31
  "@types/react": "18.2.15",
 
38
  "clsx": "^2.0.0",
39
  "cmdk": "^0.2.0",
40
  "cookies-next": "^2.1.2",
 
41
  "eslint": "8.45.0",
42
  "eslint-config-next": "13.4.10",
 
43
  "lucide-react": "^0.260.0",
 
 
44
  "next": "13.4.10",
 
45
  "pick": "^0.0.1",
46
  "postcss": "8.4.26",
47
  "proper-lockfile": "^4.1.2",
48
+ "qs": "^6.11.2",
49
  "react": "18.2.0",
50
  "react-circular-progressbar": "^2.1.0",
51
  "react-dom": "18.2.0",
 
52
  "react-qr-code": "^2.0.12",
53
  "react-snowfall": "^1.2.1",
54
  "react-virtualized-auto-sizer": "^1.0.20",
 
60
  "tailwindcss": "3.3.3",
61
  "tailwindcss-animate": "^1.0.6",
62
  "temp-dir": "^3.0.0",
 
63
  "ts-node": "^10.9.1",
64
  "typescript": "5.1.6",
 
65
  "usehooks-ts": "^2.9.1",
66
  "uuid": "^9.0.0",
67
  "zustand": "^4.4.1"
src/app/auth/page.tsx ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ "use client"
2
+
3
+ export default function Page() {
4
+ // read query string here
5
+ return (
6
+ <div>OK</div>
7
+ )
8
+ }
src/app/interface/background/index.tsx CHANGED
@@ -3,10 +3,7 @@
3
  import { useEffect, useRef, useState } from "react"
4
  import Snowfall from "react-snowfall"
5
 
6
- import { useStore } from "@/app/store"
7
-
8
  export function Background() {
9
- const panel = useStore(state => state.panel)
10
  const [itsRainingFaces, makeItRain] = useState(false)
11
  const [nbFaces, setNbFaces] = useState(0)
12
  const nbFacesRef = useRef(0)
@@ -48,7 +45,7 @@ export function Background() {
48
  height: '100vh',
49
  transitionProperty: "color",
50
  transitionDuration: "3000ms",
51
- opacity: panel === "join" ? 1 : 0,
52
  }}
53
  radius={[10, 80]}
54
  speed={[2, 4]}
 
3
  import { useEffect, useRef, useState } from "react"
4
  import Snowfall from "react-snowfall"
5
 
 
 
6
  export function Background() {
 
7
  const [itsRainingFaces, makeItRain] = useState(false)
8
  const [nbFaces, setNbFaces] = useState(0)
9
  const nbFacesRef = useRef(0)
 
45
  height: '100vh',
46
  transitionProperty: "color",
47
  transitionDuration: "3000ms",
48
+ opacity: 1,
49
  }}
50
  radius={[10, 80]}
51
  speed={[2, 4]}
src/app/main.tsx CHANGED
@@ -19,6 +19,7 @@ export function Main() {
19
  <Generate />
20
  <BottomBar />
21
  <Toaster />
 
22
  </div>
23
  )
24
  }
 
19
  <Generate />
20
  <BottomBar />
21
  <Toaster />
22
+ {/*<div>Login</div>*/}
23
  </div>
24
  )
25
  }
src/app/server/actions/animation.ts CHANGED
@@ -19,6 +19,10 @@ const redis = new Redis({
19
  token: `${process.env.UPSTASH_REDIS_REST_TOKEN || ""}`,
20
  })
21
 
 
 
 
 
22
  // Create a global ratelimiter for all users, that allows 14 requests per 60 seconds
23
  // 14 is roughly the number of requests that can be handled by the server
24
  /*
 
19
  token: `${process.env.UPSTASH_REDIS_REST_TOKEN || ""}`,
20
  })
21
 
22
+ console.log("process.env.OAUTH_CLIENT_ID:", process.env.OAUTH_CLIENT_ID)
23
+
24
+ console.log("process.env.OPENID_PROVIDER_URL: ", process.env.OPENID_PROVIDER_URL)
25
+
26
  // Create a global ratelimiter for all users, that allows 14 requests per 60 seconds
27
  // 14 is roughly the number of requests that can be handled by the server
28
  /*
src/app/store/index.ts DELETED
@@ -1,42 +0,0 @@
1
- "use client"
2
-
3
- import { create } from "zustand"
4
-
5
- import { CurrentPanel, Party, Player } from "@/types"
6
- import { newParty } from "./newParty"
7
- import { newPlayer } from "./newPlayer"
8
-
9
- // note: this should not be used in server-side template or we will have some trouble
10
- export const useStore = create<{
11
- panel: CurrentPanel
12
- isLoading: boolean
13
- party: Party
14
- player: Player
15
- setLoading: (isLoading: boolean) => void
16
- setPanel: (panel: CurrentPanel) => void
17
- setParty: (party: Partial<Party>) => void
18
- setPlayer: (player: Player) => void
19
- }>((set, get) => ({
20
- panel: "join",
21
- isLoading: false,
22
- party: newParty(),
23
- player: newPlayer(),
24
- setLoading: (isLoading: boolean) => {
25
- set({ isLoading })
26
- },
27
- setPanel: (panel: CurrentPanel) => {
28
- set({ panel })
29
- },
30
- setParty: (party: Partial<Party>) => {
31
- set({
32
- party: {
33
- ...get().party,
34
- ...party,
35
- }
36
- })
37
- },
38
- setPlayer: (player: Player) => {
39
- set({ player })
40
- }
41
- }))
42
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/app/store/newChallenge.ts DELETED
@@ -1,14 +0,0 @@
1
- import { getRandomChallengeId } from "@/lib/getRandomChallengeId"
2
- import { Challenge } from "@/types"
3
-
4
- export function newChallenge(message: Partial<Challenge> = {}): Challenge {
5
- return {
6
- id: getRandomChallengeId(),
7
- fromPlayer: "",
8
- toPlayer: "",
9
- assetUrl: "",
10
- prompt: "",
11
- solved: false,
12
- ...message
13
- }
14
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/app/store/newParty.ts DELETED
@@ -1,14 +0,0 @@
1
- import { getRandomPartyId } from "@/lib/getRandomPartyId"
2
- import { Party } from "@/types"
3
-
4
- export function newParty(party: Partial<Party> = {}): Party {
5
- return {
6
- partyId: getRandomPartyId(),
7
- durationInMs: 5 * 60 * 1000,
8
- startedAt: "", // ISO datetime
9
- status: "waiting",
10
- players: [],
11
- challenges: [],
12
- ...party,
13
- }
14
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/app/store/newPlayer.ts DELETED
@@ -1,18 +0,0 @@
1
- import { pick } from "@/lib/pick"
2
- import { Avatar, GameColor, Player, colors, eyes, mouths } from "@/types"
3
-
4
- let nbPlayers = 0
5
- export function newPlayer(player: Partial<Player> = {}): Player {
6
- return {
7
- id: `${nbPlayers++}`,
8
- name: typeof player?.name === "string" && player.name.length ? player.name : "Anon",
9
- color: typeof player?.color === "string" && player.color.length ? player.color : pick(colors) as GameColor,
10
- avatar: {
11
- eye: typeof player?.avatar?.eye === "string" && player.avatar.eye.length ? player.avatar.eye : pick(eyes) as string,
12
- mouth: typeof player?.avatar?.mouth === "string" && player.avatar.mouth.length ? player.avatar.mouth : pick(mouths) as string,
13
- colors: Array.isArray(player?.avatar?.colors) && player?.avatar?.colors.length ? colors : ["#92A1C6", "#146A7C", "#F0AB3D", "#C271B4", "#C20D90"],
14
- } as Avatar,
15
- score: 0,
16
- ...player,
17
- }
18
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/lib/getRandomChallengeId.ts DELETED
@@ -1,11 +0,0 @@
1
- import { customAlphabet } from "nanoid"
2
-
3
- const nanoid = customAlphabet([
4
- '1234567890',
5
- 'abcdefghijklmnopqrstuvwxyz',
6
- 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7
- ].join(''), 16)
8
-
9
- export function getRandomChallengeId() {
10
- return nanoid()
11
- }
 
 
 
 
 
 
 
 
 
 
 
 
src/lib/getRandomPartyId.ts DELETED
@@ -1,13 +0,0 @@
1
- import { customAlphabet } from "nanoid"
2
-
3
- const nanoid = customAlphabet([
4
- '1234567890',
5
- 'abcdefghijklmnopqrstuvwxyz',
6
- 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7
- ].join(''), 10)
8
-
9
- export function getRandomPartyId() {
10
- const num = Math.round(Math.random() * 99)
11
- const newId = `${nanoid(2)}${num}${nanoid(2)}`
12
- return newId
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/lib/lightSourceNames.ts DELETED
@@ -1,11 +0,0 @@
1
- export const lightSourceNames = [
2
- "window",
3
- "light",
4
- "sun",
5
- "torch",
6
- "fire",
7
- "lights",
8
- "torches",
9
- "fires",
10
- "fireplace"
11
- ]
 
 
 
 
 
 
 
 
 
 
 
 
src/lib/useRandomName.ts DELETED
@@ -1,21 +0,0 @@
1
- "use client"
2
-
3
- import { useEffect, useState } from "react"
4
- import { uniqueNamesGenerator, colors, animals } from "unique-names-generator"
5
-
6
-
7
- export function useRandomName() {
8
- const [name, setName] = useState("")
9
- useEffect(() => {
10
- const newName = uniqueNamesGenerator({
11
- dictionaries: [
12
- colors,
13
- animals
14
- ],
15
- separator: '-',
16
- length: 2,
17
- });
18
- setName(newName)
19
- }, [])
20
- return name
21
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/lib/useRandomPartyId.ts DELETED
@@ -1,13 +0,0 @@
1
- "use client"
2
-
3
- import { useEffect, useState } from "react"
4
-
5
- import { getRandomPartyId } from "./getRandomPartyId"
6
-
7
- export function useRandomPartyId() {
8
- const [id, setId] = useState("")
9
- useEffect(() => {
10
- setId(getRandomPartyId())
11
- }, [])
12
- return id
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/pages/api/oauth/callback.tsx ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import type { NextRequest, NextResponse } from 'next/server'
3
+
4
+ import qs from 'qs'
5
+
6
+ // the client ID of your OAuth app (public)
7
+ // process.env.OAUTH_CLIENT_ID
8
+
9
+ // the client secret of your OAuth app
10
+ // process.env.OAUTH_CLIENT_SECRET
11
+
12
+ // scopes accessible by your OAuth app. Currently, this is always "openid profile".
13
+ // process.env.OAUTH_SCOPES
14
+
15
+ // The URL of the OpenID provider. The OpenID metadata will be available at {OPENID_PROVIDER_URL}/.well-known/openid-configuration.
16
+ // process.env.OPENID_PROVIDER_URL
17
+
18
+ // process.env.SPACE_HOST
19
+
20
+ // login stages:
21
+ // Redirect the user to https://huggingface.co/oauth/authorize?redirect_uri={REDIRECT_URI}&scope=openid%20profile&client_id={CLIENT_ID}&state={STATE}, where STATE is a random string that you will need to verify later.
22
+
23
+ export async function GET(request: NextRequest, response: NextResponse) {
24
+ const rawParams = request.url.split('?')[1]
25
+ const params = qs.parse(rawParams)
26
+ console.log("params:", params)
27
+
28
+ const { code } = params
29
+
30
+ const client_id = ""
31
+ const grant_type = ""
32
+
33
+ // Use the code query parameter to get an access token and id token from
34
+ // https://huggingface.co/oauth/token (POST request with client_id, code, grant_type=authorization_code and redirect_uri as form data, and with Authorization: Basic {base64(client_id:client_secret)} as a header).
35
+
36
+ /*
37
+ const res = await fetch("https://huggingface.co/oauth/token", {
38
+ method: "POST",
39
+ headers: {
40
+ "Content-Type": "application/json",
41
+ Authorization: `Basic ${btoa(client_id)}`,
42
+ },
43
+ body: JSON.stringify({
44
+ client_id,
45
+ code,
46
+ grant_type
47
+ })
48
+ })
49
+
50
+ console.log("res:", res)
51
+ */
52
+ }
53
+
src/pages/api/oauth/getHuggingFaceLoginURI.ts ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { getRedirectURI } from "./getRedirectURI"
2
+
3
+ export function getHuggingFaceLoginURI({ clientId }: { clientId: string }) {
4
+
5
+ const randomId = Math.round(Math.random() * 1000000) // to store in redis
6
+
7
+ return [
8
+ `https://huggingface.co/oauth/authorize?redirect_uri=`,
9
+ getRedirectURI(),
10
+ `&scope=openid%20profile`,
11
+ `&client_id=`,
12
+ clientId,
13
+ `&state=`,
14
+ randomId
15
+ ].join('')
16
+ }
src/pages/api/oauth/getRedirectURI.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+
2
+ export function getRedirectURI() {
3
+ const redirectUri = `https://jbilcke-hf-ai-clip-factory.hf.space/api/auth/callback`
4
+ return redirectUri
5
+ }
src/types.ts CHANGED
@@ -124,144 +124,6 @@ export type GetAppPostResponse = {
124
  error?: string
125
  post: Post
126
  }
127
-
128
- export const eyes = ["normal", "happy", "sleepy", "mischief"]
129
- export const mouths = ["smile", "open", "surprise", "unhappy"]
130
-
131
- export type Avatar = {
132
- eye: "normal" | "happy" | "sleepy" | "mischief"
133
- mouth: "smile" | "open" | "surprise" | "unhappy"
134
- colors: string[]
135
- }
136
-
137
- export const colors: GameColor[] = [
138
- "stone",
139
- "red",
140
- "orange",
141
- "amber",
142
- "yellow",
143
- "lime",
144
- "green",
145
- "emerald",
146
- "teal",
147
- "cyan",
148
- "sky",
149
- "blue",
150
- "indigo",
151
- "violet",
152
- "purple",
153
- "fuchsia",
154
- "pink",
155
- "rose"
156
- ]
157
- export type GameColor =
158
- | "stone"
159
- | "red"
160
- | "orange"
161
- | "amber"
162
- | "yellow"
163
- | "lime"
164
- | "green"
165
- | "emerald"
166
- | "teal"
167
- | "cyan"
168
- | "sky"
169
- | "blue"
170
- | "indigo"
171
- | "violet"
172
- | "purple"
173
- | "fuchsia"
174
- | "pink"
175
- | "rose"
176
-
177
-
178
- export const playerColorsAlt: Record<GameColor, string> = {
179
- stone: "text-stone-700",
180
- red: "text-red-700",
181
- orange: "text-orange-700",
182
- amber: "text-amber-700",
183
- yellow: "text-yellow-700",
184
- lime: "text-lime-700",
185
- green: "text-green-700",
186
- emerald: "text-emerald-700",
187
- teal: "text-teal-700",
188
- cyan: "text-cyan-700",
189
- sky: "text-sky-700",
190
- blue: "text-blue-700",
191
- indigo: "text-indigo-700",
192
- violet: "text-violet-700",
193
- purple: "text-purple-700",
194
- fuchsia: "text-fuchsia-700",
195
- pink: "text-pink-700",
196
- rose: "text-rose-700",
197
- }
198
-
199
- // players have a deeper color
200
- export const playerColors: Record<GameColor, string> = {
201
- stone: "text-stone-800",
202
- red: "text-red-800",
203
- orange: "text-orange-800",
204
- amber: "text-amber-800",
205
- yellow: "text-yellow-800",
206
- lime: "text-lime-800",
207
- green: "text-green-800",
208
- emerald: "text-emerald-800",
209
- teal: "text-teal-800",
210
- cyan: "text-cyan-800",
211
- sky: "text-sky-800",
212
- blue: "text-blue-800",
213
- indigo: "text-indigo-800",
214
- violet: "text-violet-800",
215
- purple: "text-purple-800",
216
- fuchsia: "text-fuchsia-800",
217
- pink: "text-pink-800",
218
- rose: "text-rose-800",
219
- }
220
-
221
- export type Player = {
222
- id: string
223
- name: string
224
- color: GameColor
225
- avatar: Avatar
226
- score: number
227
- }
228
-
229
- export type Team = {
230
- id: number
231
- name: string
232
- color: GameColor
233
- score: number
234
- players: string[]
235
- }
236
-
237
- // a "challenge" is what is passed from one person to another
238
- export type Challenge = {
239
- id: string
240
- fromPlayer: string
241
- toPlayer: string
242
- assetUrl: string
243
- prompt: string
244
- solved: boolean
245
- }
246
-
247
- export type PartyStatus =
248
- | "waiting" // not started yet -> display the lobby panel
249
- | "running" // game is running -> display the invent or guess panels
250
- | "ended" // -> display the results panel
251
-
252
- export type Party = {
253
- partyId: string
254
- durationInMs: number // 5 * 60 * 1000
255
- startedAt: string // ISO datetime
256
- players: Player[]
257
- status: PartyStatus
258
- // we can add back the concept of team later
259
- // but for now let's keep it simple and skip it
260
- // teams: Team[]
261
-
262
- challenges: Challenge[]
263
- }
264
-
265
  export type CurrentPanel =
266
  | "join"
267
  | "play"
 
124
  error?: string
125
  post: Post
126
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  export type CurrentPanel =
128
  | "join"
129
  | "play"