@pieai/swimmer-ui-kit 2.14.0 → 3.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -1
- package/LICENSE +17 -20
- package/NOTICE +69 -36
- package/README.md +51 -162
- package/bin/lib/retired-theme.d.mts +2 -0
- package/bin/lib/retired-theme.mjs +58 -0
- package/bin/swimmer-ui-check.mjs +91 -16
- package/dist/GameStageTile-BcFCu22b.js +1554 -0
- package/dist/LiquidGroup-BXw1tv9H.js +1291 -0
- package/dist/fonts/zh/400-1f000.woff2 +0 -0
- package/dist/fonts/zh/400-1f200.woff2 +0 -0
- package/dist/fonts/zh/400-20000.woff2 +0 -0
- package/dist/fonts/zh/400-20600.woff2 +0 -0
- package/dist/fonts/zh/400-20c00.woff2 +0 -0
- package/dist/fonts/zh/400-21200.woff2 +0 -0
- package/dist/fonts/zh/400-21400.woff2 +0 -0
- package/dist/fonts/zh/400-22800.woff2 +0 -0
- package/dist/fonts/zh/400-23400.woff2 +0 -0
- package/dist/fonts/zh/400-23c00.woff2 +0 -0
- package/dist/fonts/zh/400-23e00.woff2 +0 -0
- package/dist/fonts/zh/400-24000.woff2 +0 -0
- package/dist/fonts/zh/400-24200.woff2 +0 -0
- package/dist/fonts/zh/400-24800.woff2 +0 -0
- package/dist/fonts/zh/400-24a00.woff2 +0 -0
- package/dist/fonts/zh/400-25400.woff2 +0 -0
- package/dist/fonts/zh/400-25a00.woff2 +0 -0
- package/dist/fonts/zh/400-25e00.woff2 +0 -0
- package/dist/fonts/zh/400-26200.woff2 +0 -0
- package/dist/fonts/zh/400-26400.woff2 +0 -0
- package/dist/fonts/zh/400-26600.woff2 +0 -0
- package/dist/fonts/zh/400-26800.woff2 +0 -0
- package/dist/fonts/zh/400-26a00.woff2 +0 -0
- package/dist/fonts/zh/400-26c00.woff2 +0 -0
- package/dist/fonts/zh/400-27800.woff2 +0 -0
- package/dist/fonts/zh/400-27e00.woff2 +0 -0
- package/dist/fonts/zh/400-28400.woff2 +0 -0
- package/dist/fonts/zh/400-28600.woff2 +0 -0
- package/dist/fonts/zh/400-28a00.woff2 +0 -0
- package/dist/fonts/zh/400-28c00.woff2 +0 -0
- package/dist/fonts/zh/400-28e00.woff2 +0 -0
- package/dist/fonts/zh/400-29600.woff2 +0 -0
- package/dist/fonts/zh/400-29800.woff2 +0 -0
- package/dist/fonts/zh/400-29e00.woff2 +0 -0
- package/dist/fonts/zh/400-2a600.woff2 +0 -0
- package/dist/fonts/zh/400-2a800.woff2 +0 -0
- package/dist/fonts/zh/400-2aa00.woff2 +0 -0
- package/dist/fonts/zh/400-2ae00.woff2 +0 -0
- package/dist/fonts/zh/400-2b000.woff2 +0 -0
- package/dist/fonts/zh/400-2b200.woff2 +0 -0
- package/dist/fonts/zh/400-2b400.woff2 +0 -0
- package/dist/fonts/zh/400-2b600.woff2 +0 -0
- package/dist/fonts/zh/400-2b800.woff2 +0 -0
- package/dist/fonts/zh/400-2ba00.woff2 +0 -0
- package/dist/fonts/zh/400-2bc00.woff2 +0 -0
- package/dist/fonts/zh/400-2be00.woff2 +0 -0
- package/dist/fonts/zh/400-2c000.woff2 +0 -0
- package/dist/fonts/zh/400-2c200.woff2 +0 -0
- package/dist/fonts/zh/400-2c400.woff2 +0 -0
- package/dist/fonts/zh/400-2c600.woff2 +0 -0
- package/dist/fonts/zh/400-2c800.woff2 +0 -0
- package/dist/fonts/zh/400-2ca00.woff2 +0 -0
- package/dist/fonts/zh/400-2cc00.woff2 +0 -0
- package/dist/fonts/zh/400-2ce00.woff2 +0 -0
- package/dist/fonts/zh/400-2d400.woff2 +0 -0
- package/dist/fonts/zh/400-2e00.woff2 +0 -0
- package/dist/fonts/zh/400-2f800.woff2 +0 -0
- package/dist/fonts/zh/400-3000.woff2 +0 -0
- package/dist/fonts/zh/400-3200.woff2 +0 -0
- package/dist/fonts/zh/400-3400.woff2 +0 -0
- package/dist/fonts/zh/400-3600.woff2 +0 -0
- package/dist/fonts/zh/400-3800.woff2 +0 -0
- package/dist/fonts/zh/400-3a00.woff2 +0 -0
- package/dist/fonts/zh/400-3c00.woff2 +0 -0
- package/dist/fonts/zh/400-3e00.woff2 +0 -0
- package/dist/fonts/zh/400-4000.woff2 +0 -0
- package/dist/fonts/zh/400-4200.woff2 +0 -0
- package/dist/fonts/zh/400-4400.woff2 +0 -0
- package/dist/fonts/zh/400-4600.woff2 +0 -0
- package/dist/fonts/zh/400-4800.woff2 +0 -0
- package/dist/fonts/zh/400-4a00.woff2 +0 -0
- package/dist/fonts/zh/400-4c00.woff2 +0 -0
- package/dist/fonts/zh/400-4e00.woff2 +0 -0
- package/dist/fonts/zh/400-5000.woff2 +0 -0
- package/dist/fonts/zh/400-5200.woff2 +0 -0
- package/dist/fonts/zh/400-5400.woff2 +0 -0
- package/dist/fonts/zh/400-5600.woff2 +0 -0
- package/dist/fonts/zh/400-5800.woff2 +0 -0
- package/dist/fonts/zh/400-5a00.woff2 +0 -0
- package/dist/fonts/zh/400-5c00.woff2 +0 -0
- package/dist/fonts/zh/400-5e00.woff2 +0 -0
- package/dist/fonts/zh/400-6000.woff2 +0 -0
- package/dist/fonts/zh/400-6200.woff2 +0 -0
- package/dist/fonts/zh/400-6400.woff2 +0 -0
- package/dist/fonts/zh/400-6600.woff2 +0 -0
- package/dist/fonts/zh/400-6800.woff2 +0 -0
- package/dist/fonts/zh/400-6a00.woff2 +0 -0
- package/dist/fonts/zh/400-6c00.woff2 +0 -0
- package/dist/fonts/zh/400-6e00.woff2 +0 -0
- package/dist/fonts/zh/400-7000.woff2 +0 -0
- package/dist/fonts/zh/400-7200.woff2 +0 -0
- package/dist/fonts/zh/400-7400.woff2 +0 -0
- package/dist/fonts/zh/400-7600.woff2 +0 -0
- package/dist/fonts/zh/400-7800.woff2 +0 -0
- package/dist/fonts/zh/400-7a00.woff2 +0 -0
- package/dist/fonts/zh/400-7c00.woff2 +0 -0
- package/dist/fonts/zh/400-7e00.woff2 +0 -0
- package/dist/fonts/zh/400-8000.woff2 +0 -0
- package/dist/fonts/zh/400-8200.woff2 +0 -0
- package/dist/fonts/zh/400-8400.woff2 +0 -0
- package/dist/fonts/zh/400-8600.woff2 +0 -0
- package/dist/fonts/zh/400-8800.woff2 +0 -0
- package/dist/fonts/zh/400-8a00.woff2 +0 -0
- package/dist/fonts/zh/400-8c00.woff2 +0 -0
- package/dist/fonts/zh/400-8e00.woff2 +0 -0
- package/dist/fonts/zh/400-9000.woff2 +0 -0
- package/dist/fonts/zh/400-9200.woff2 +0 -0
- package/dist/fonts/zh/400-9400.woff2 +0 -0
- package/dist/fonts/zh/400-9600.woff2 +0 -0
- package/dist/fonts/zh/400-9800.woff2 +0 -0
- package/dist/fonts/zh/400-9a00.woff2 +0 -0
- package/dist/fonts/zh/400-9c00.woff2 +0 -0
- package/dist/fonts/zh/400-9e00.woff2 +0 -0
- package/dist/fonts/zh/400-f800.woff2 +0 -0
- package/dist/fonts/zh/400-fa00.woff2 +0 -0
- package/dist/fonts/zh/400-fe00.woff2 +0 -0
- package/dist/fonts/zh/500-1f000.woff2 +0 -0
- package/dist/fonts/zh/500-1f200.woff2 +0 -0
- package/dist/fonts/zh/500-20000.woff2 +0 -0
- package/dist/fonts/zh/500-20600.woff2 +0 -0
- package/dist/fonts/zh/500-20c00.woff2 +0 -0
- package/dist/fonts/zh/500-21200.woff2 +0 -0
- package/dist/fonts/zh/500-21400.woff2 +0 -0
- package/dist/fonts/zh/500-22800.woff2 +0 -0
- package/dist/fonts/zh/500-23400.woff2 +0 -0
- package/dist/fonts/zh/500-23c00.woff2 +0 -0
- package/dist/fonts/zh/500-23e00.woff2 +0 -0
- package/dist/fonts/zh/500-24000.woff2 +0 -0
- package/dist/fonts/zh/500-24200.woff2 +0 -0
- package/dist/fonts/zh/500-24800.woff2 +0 -0
- package/dist/fonts/zh/500-24a00.woff2 +0 -0
- package/dist/fonts/zh/500-25400.woff2 +0 -0
- package/dist/fonts/zh/500-25a00.woff2 +0 -0
- package/dist/fonts/zh/500-25e00.woff2 +0 -0
- package/dist/fonts/zh/500-26200.woff2 +0 -0
- package/dist/fonts/zh/500-26400.woff2 +0 -0
- package/dist/fonts/zh/500-26600.woff2 +0 -0
- package/dist/fonts/zh/500-26800.woff2 +0 -0
- package/dist/fonts/zh/500-26a00.woff2 +0 -0
- package/dist/fonts/zh/500-26c00.woff2 +0 -0
- package/dist/fonts/zh/500-27800.woff2 +0 -0
- package/dist/fonts/zh/500-27e00.woff2 +0 -0
- package/dist/fonts/zh/500-28400.woff2 +0 -0
- package/dist/fonts/zh/500-28600.woff2 +0 -0
- package/dist/fonts/zh/500-28a00.woff2 +0 -0
- package/dist/fonts/zh/500-28c00.woff2 +0 -0
- package/dist/fonts/zh/500-28e00.woff2 +0 -0
- package/dist/fonts/zh/500-29600.woff2 +0 -0
- package/dist/fonts/zh/500-29800.woff2 +0 -0
- package/dist/fonts/zh/500-29e00.woff2 +0 -0
- package/dist/fonts/zh/500-2a600.woff2 +0 -0
- package/dist/fonts/zh/500-2a800.woff2 +0 -0
- package/dist/fonts/zh/500-2aa00.woff2 +0 -0
- package/dist/fonts/zh/500-2ae00.woff2 +0 -0
- package/dist/fonts/zh/500-2b000.woff2 +0 -0
- package/dist/fonts/zh/500-2b200.woff2 +0 -0
- package/dist/fonts/zh/500-2b400.woff2 +0 -0
- package/dist/fonts/zh/500-2b600.woff2 +0 -0
- package/dist/fonts/zh/500-2b800.woff2 +0 -0
- package/dist/fonts/zh/500-2ba00.woff2 +0 -0
- package/dist/fonts/zh/500-2bc00.woff2 +0 -0
- package/dist/fonts/zh/500-2be00.woff2 +0 -0
- package/dist/fonts/zh/500-2c000.woff2 +0 -0
- package/dist/fonts/zh/500-2c200.woff2 +0 -0
- package/dist/fonts/zh/500-2c400.woff2 +0 -0
- package/dist/fonts/zh/500-2c600.woff2 +0 -0
- package/dist/fonts/zh/500-2c800.woff2 +0 -0
- package/dist/fonts/zh/500-2ca00.woff2 +0 -0
- package/dist/fonts/zh/500-2cc00.woff2 +0 -0
- package/dist/fonts/zh/500-2ce00.woff2 +0 -0
- package/dist/fonts/zh/500-2d400.woff2 +0 -0
- package/dist/fonts/zh/500-2e00.woff2 +0 -0
- package/dist/fonts/zh/500-2f800.woff2 +0 -0
- package/dist/fonts/zh/500-3000.woff2 +0 -0
- package/dist/fonts/zh/500-3200.woff2 +0 -0
- package/dist/fonts/zh/500-3400.woff2 +0 -0
- package/dist/fonts/zh/500-3600.woff2 +0 -0
- package/dist/fonts/zh/500-3800.woff2 +0 -0
- package/dist/fonts/zh/500-3a00.woff2 +0 -0
- package/dist/fonts/zh/500-3c00.woff2 +0 -0
- package/dist/fonts/zh/500-3e00.woff2 +0 -0
- package/dist/fonts/zh/500-4000.woff2 +0 -0
- package/dist/fonts/zh/500-4200.woff2 +0 -0
- package/dist/fonts/zh/500-4400.woff2 +0 -0
- package/dist/fonts/zh/500-4600.woff2 +0 -0
- package/dist/fonts/zh/500-4800.woff2 +0 -0
- package/dist/fonts/zh/500-4a00.woff2 +0 -0
- package/dist/fonts/zh/500-4c00.woff2 +0 -0
- package/dist/fonts/zh/500-4e00.woff2 +0 -0
- package/dist/fonts/zh/500-5000.woff2 +0 -0
- package/dist/fonts/zh/500-5200.woff2 +0 -0
- package/dist/fonts/zh/500-5400.woff2 +0 -0
- package/dist/fonts/zh/500-5600.woff2 +0 -0
- package/dist/fonts/zh/500-5800.woff2 +0 -0
- package/dist/fonts/zh/500-5a00.woff2 +0 -0
- package/dist/fonts/zh/500-5c00.woff2 +0 -0
- package/dist/fonts/zh/500-5e00.woff2 +0 -0
- package/dist/fonts/zh/500-6000.woff2 +0 -0
- package/dist/fonts/zh/500-6200.woff2 +0 -0
- package/dist/fonts/zh/500-6400.woff2 +0 -0
- package/dist/fonts/zh/500-6600.woff2 +0 -0
- package/dist/fonts/zh/500-6800.woff2 +0 -0
- package/dist/fonts/zh/500-6a00.woff2 +0 -0
- package/dist/fonts/zh/500-6c00.woff2 +0 -0
- package/dist/fonts/zh/500-6e00.woff2 +0 -0
- package/dist/fonts/zh/500-7000.woff2 +0 -0
- package/dist/fonts/zh/500-7200.woff2 +0 -0
- package/dist/fonts/zh/500-7400.woff2 +0 -0
- package/dist/fonts/zh/500-7600.woff2 +0 -0
- package/dist/fonts/zh/500-7800.woff2 +0 -0
- package/dist/fonts/zh/500-7a00.woff2 +0 -0
- package/dist/fonts/zh/500-7c00.woff2 +0 -0
- package/dist/fonts/zh/500-7e00.woff2 +0 -0
- package/dist/fonts/zh/500-8000.woff2 +0 -0
- package/dist/fonts/zh/500-8200.woff2 +0 -0
- package/dist/fonts/zh/500-8400.woff2 +0 -0
- package/dist/fonts/zh/500-8600.woff2 +0 -0
- package/dist/fonts/zh/500-8800.woff2 +0 -0
- package/dist/fonts/zh/500-8a00.woff2 +0 -0
- package/dist/fonts/zh/500-8c00.woff2 +0 -0
- package/dist/fonts/zh/500-8e00.woff2 +0 -0
- package/dist/fonts/zh/500-9000.woff2 +0 -0
- package/dist/fonts/zh/500-9200.woff2 +0 -0
- package/dist/fonts/zh/500-9400.woff2 +0 -0
- package/dist/fonts/zh/500-9600.woff2 +0 -0
- package/dist/fonts/zh/500-9800.woff2 +0 -0
- package/dist/fonts/zh/500-9a00.woff2 +0 -0
- package/dist/fonts/zh/500-9c00.woff2 +0 -0
- package/dist/fonts/zh/500-9e00.woff2 +0 -0
- package/dist/fonts/zh/500-f800.woff2 +0 -0
- package/dist/fonts/zh/500-fa00.woff2 +0 -0
- package/dist/fonts/zh/500-fe00.woff2 +0 -0
- package/dist/fonts/zh/700-1f000.woff2 +0 -0
- package/dist/fonts/zh/700-1f200.woff2 +0 -0
- package/dist/fonts/zh/700-20000.woff2 +0 -0
- package/dist/fonts/zh/700-20600.woff2 +0 -0
- package/dist/fonts/zh/700-20c00.woff2 +0 -0
- package/dist/fonts/zh/700-21200.woff2 +0 -0
- package/dist/fonts/zh/700-21400.woff2 +0 -0
- package/dist/fonts/zh/700-22800.woff2 +0 -0
- package/dist/fonts/zh/700-23400.woff2 +0 -0
- package/dist/fonts/zh/700-23c00.woff2 +0 -0
- package/dist/fonts/zh/700-23e00.woff2 +0 -0
- package/dist/fonts/zh/700-24000.woff2 +0 -0
- package/dist/fonts/zh/700-24200.woff2 +0 -0
- package/dist/fonts/zh/700-24800.woff2 +0 -0
- package/dist/fonts/zh/700-24a00.woff2 +0 -0
- package/dist/fonts/zh/700-25400.woff2 +0 -0
- package/dist/fonts/zh/700-25a00.woff2 +0 -0
- package/dist/fonts/zh/700-25e00.woff2 +0 -0
- package/dist/fonts/zh/700-26200.woff2 +0 -0
- package/dist/fonts/zh/700-26400.woff2 +0 -0
- package/dist/fonts/zh/700-26600.woff2 +0 -0
- package/dist/fonts/zh/700-26800.woff2 +0 -0
- package/dist/fonts/zh/700-26a00.woff2 +0 -0
- package/dist/fonts/zh/700-26c00.woff2 +0 -0
- package/dist/fonts/zh/700-27800.woff2 +0 -0
- package/dist/fonts/zh/700-27e00.woff2 +0 -0
- package/dist/fonts/zh/700-28400.woff2 +0 -0
- package/dist/fonts/zh/700-28600.woff2 +0 -0
- package/dist/fonts/zh/700-28a00.woff2 +0 -0
- package/dist/fonts/zh/700-28c00.woff2 +0 -0
- package/dist/fonts/zh/700-28e00.woff2 +0 -0
- package/dist/fonts/zh/700-29600.woff2 +0 -0
- package/dist/fonts/zh/700-29800.woff2 +0 -0
- package/dist/fonts/zh/700-29e00.woff2 +0 -0
- package/dist/fonts/zh/700-2a600.woff2 +0 -0
- package/dist/fonts/zh/700-2a800.woff2 +0 -0
- package/dist/fonts/zh/700-2aa00.woff2 +0 -0
- package/dist/fonts/zh/700-2ae00.woff2 +0 -0
- package/dist/fonts/zh/700-2b000.woff2 +0 -0
- package/dist/fonts/zh/700-2b200.woff2 +0 -0
- package/dist/fonts/zh/700-2b400.woff2 +0 -0
- package/dist/fonts/zh/700-2b600.woff2 +0 -0
- package/dist/fonts/zh/700-2b800.woff2 +0 -0
- package/dist/fonts/zh/700-2ba00.woff2 +0 -0
- package/dist/fonts/zh/700-2bc00.woff2 +0 -0
- package/dist/fonts/zh/700-2be00.woff2 +0 -0
- package/dist/fonts/zh/700-2c000.woff2 +0 -0
- package/dist/fonts/zh/700-2c200.woff2 +0 -0
- package/dist/fonts/zh/700-2c400.woff2 +0 -0
- package/dist/fonts/zh/700-2c600.woff2 +0 -0
- package/dist/fonts/zh/700-2c800.woff2 +0 -0
- package/dist/fonts/zh/700-2ca00.woff2 +0 -0
- package/dist/fonts/zh/700-2cc00.woff2 +0 -0
- package/dist/fonts/zh/700-2ce00.woff2 +0 -0
- package/dist/fonts/zh/700-2d400.woff2 +0 -0
- package/dist/fonts/zh/700-2e00.woff2 +0 -0
- package/dist/fonts/zh/700-2f800.woff2 +0 -0
- package/dist/fonts/zh/700-3000.woff2 +0 -0
- package/dist/fonts/zh/700-3200.woff2 +0 -0
- package/dist/fonts/zh/700-3400.woff2 +0 -0
- package/dist/fonts/zh/700-3600.woff2 +0 -0
- package/dist/fonts/zh/700-3800.woff2 +0 -0
- package/dist/fonts/zh/700-3a00.woff2 +0 -0
- package/dist/fonts/zh/700-3c00.woff2 +0 -0
- package/dist/fonts/zh/700-3e00.woff2 +0 -0
- package/dist/fonts/zh/700-4000.woff2 +0 -0
- package/dist/fonts/zh/700-4200.woff2 +0 -0
- package/dist/fonts/zh/700-4400.woff2 +0 -0
- package/dist/fonts/zh/700-4600.woff2 +0 -0
- package/dist/fonts/zh/700-4800.woff2 +0 -0
- package/dist/fonts/zh/700-4a00.woff2 +0 -0
- package/dist/fonts/zh/700-4c00.woff2 +0 -0
- package/dist/fonts/zh/700-4e00.woff2 +0 -0
- package/dist/fonts/zh/700-5000.woff2 +0 -0
- package/dist/fonts/zh/700-5200.woff2 +0 -0
- package/dist/fonts/zh/700-5400.woff2 +0 -0
- package/dist/fonts/zh/700-5600.woff2 +0 -0
- package/dist/fonts/zh/700-5800.woff2 +0 -0
- package/dist/fonts/zh/700-5a00.woff2 +0 -0
- package/dist/fonts/zh/700-5c00.woff2 +0 -0
- package/dist/fonts/zh/700-5e00.woff2 +0 -0
- package/dist/fonts/zh/700-6000.woff2 +0 -0
- package/dist/fonts/zh/700-6200.woff2 +0 -0
- package/dist/fonts/zh/700-6400.woff2 +0 -0
- package/dist/fonts/zh/700-6600.woff2 +0 -0
- package/dist/fonts/zh/700-6800.woff2 +0 -0
- package/dist/fonts/zh/700-6a00.woff2 +0 -0
- package/dist/fonts/zh/700-6c00.woff2 +0 -0
- package/dist/fonts/zh/700-6e00.woff2 +0 -0
- package/dist/fonts/zh/700-7000.woff2 +0 -0
- package/dist/fonts/zh/700-7200.woff2 +0 -0
- package/dist/fonts/zh/700-7400.woff2 +0 -0
- package/dist/fonts/zh/700-7600.woff2 +0 -0
- package/dist/fonts/zh/700-7800.woff2 +0 -0
- package/dist/fonts/zh/700-7a00.woff2 +0 -0
- package/dist/fonts/zh/700-7c00.woff2 +0 -0
- package/dist/fonts/zh/700-7e00.woff2 +0 -0
- package/dist/fonts/zh/700-8000.woff2 +0 -0
- package/dist/fonts/zh/700-8200.woff2 +0 -0
- package/dist/fonts/zh/700-8400.woff2 +0 -0
- package/dist/fonts/zh/700-8600.woff2 +0 -0
- package/dist/fonts/zh/700-8800.woff2 +0 -0
- package/dist/fonts/zh/700-8a00.woff2 +0 -0
- package/dist/fonts/zh/700-8c00.woff2 +0 -0
- package/dist/fonts/zh/700-8e00.woff2 +0 -0
- package/dist/fonts/zh/700-9000.woff2 +0 -0
- package/dist/fonts/zh/700-9200.woff2 +0 -0
- package/dist/fonts/zh/700-9400.woff2 +0 -0
- package/dist/fonts/zh/700-9600.woff2 +0 -0
- package/dist/fonts/zh/700-9800.woff2 +0 -0
- package/dist/fonts/zh/700-9a00.woff2 +0 -0
- package/dist/fonts/zh/700-9c00.woff2 +0 -0
- package/dist/fonts/zh/700-9e00.woff2 +0 -0
- package/dist/fonts/zh/700-f800.woff2 +0 -0
- package/dist/fonts/zh/700-fa00.woff2 +0 -0
- package/dist/fonts/zh/700-fe00.woff2 +0 -0
- package/dist/fonts/zh/900-1f000.woff2 +0 -0
- package/dist/fonts/zh/900-1f200.woff2 +0 -0
- package/dist/fonts/zh/900-20000.woff2 +0 -0
- package/dist/fonts/zh/900-20600.woff2 +0 -0
- package/dist/fonts/zh/900-20c00.woff2 +0 -0
- package/dist/fonts/zh/900-21200.woff2 +0 -0
- package/dist/fonts/zh/900-21400.woff2 +0 -0
- package/dist/fonts/zh/900-22800.woff2 +0 -0
- package/dist/fonts/zh/900-23400.woff2 +0 -0
- package/dist/fonts/zh/900-23c00.woff2 +0 -0
- package/dist/fonts/zh/900-23e00.woff2 +0 -0
- package/dist/fonts/zh/900-24000.woff2 +0 -0
- package/dist/fonts/zh/900-24200.woff2 +0 -0
- package/dist/fonts/zh/900-24800.woff2 +0 -0
- package/dist/fonts/zh/900-24a00.woff2 +0 -0
- package/dist/fonts/zh/900-25400.woff2 +0 -0
- package/dist/fonts/zh/900-25a00.woff2 +0 -0
- package/dist/fonts/zh/900-25e00.woff2 +0 -0
- package/dist/fonts/zh/900-26200.woff2 +0 -0
- package/dist/fonts/zh/900-26400.woff2 +0 -0
- package/dist/fonts/zh/900-26600.woff2 +0 -0
- package/dist/fonts/zh/900-26800.woff2 +0 -0
- package/dist/fonts/zh/900-26a00.woff2 +0 -0
- package/dist/fonts/zh/900-26c00.woff2 +0 -0
- package/dist/fonts/zh/900-27800.woff2 +0 -0
- package/dist/fonts/zh/900-27e00.woff2 +0 -0
- package/dist/fonts/zh/900-28400.woff2 +0 -0
- package/dist/fonts/zh/900-28600.woff2 +0 -0
- package/dist/fonts/zh/900-28a00.woff2 +0 -0
- package/dist/fonts/zh/900-28c00.woff2 +0 -0
- package/dist/fonts/zh/900-28e00.woff2 +0 -0
- package/dist/fonts/zh/900-29600.woff2 +0 -0
- package/dist/fonts/zh/900-29800.woff2 +0 -0
- package/dist/fonts/zh/900-29e00.woff2 +0 -0
- package/dist/fonts/zh/900-2a600.woff2 +0 -0
- package/dist/fonts/zh/900-2a800.woff2 +0 -0
- package/dist/fonts/zh/900-2aa00.woff2 +0 -0
- package/dist/fonts/zh/900-2ae00.woff2 +0 -0
- package/dist/fonts/zh/900-2b000.woff2 +0 -0
- package/dist/fonts/zh/900-2b200.woff2 +0 -0
- package/dist/fonts/zh/900-2b400.woff2 +0 -0
- package/dist/fonts/zh/900-2b600.woff2 +0 -0
- package/dist/fonts/zh/900-2b800.woff2 +0 -0
- package/dist/fonts/zh/900-2ba00.woff2 +0 -0
- package/dist/fonts/zh/900-2bc00.woff2 +0 -0
- package/dist/fonts/zh/900-2be00.woff2 +0 -0
- package/dist/fonts/zh/900-2c000.woff2 +0 -0
- package/dist/fonts/zh/900-2c200.woff2 +0 -0
- package/dist/fonts/zh/900-2c400.woff2 +0 -0
- package/dist/fonts/zh/900-2c600.woff2 +0 -0
- package/dist/fonts/zh/900-2c800.woff2 +0 -0
- package/dist/fonts/zh/900-2ca00.woff2 +0 -0
- package/dist/fonts/zh/900-2cc00.woff2 +0 -0
- package/dist/fonts/zh/900-2ce00.woff2 +0 -0
- package/dist/fonts/zh/900-2d400.woff2 +0 -0
- package/dist/fonts/zh/900-2e00.woff2 +0 -0
- package/dist/fonts/zh/900-2f800.woff2 +0 -0
- package/dist/fonts/zh/900-3000.woff2 +0 -0
- package/dist/fonts/zh/900-3200.woff2 +0 -0
- package/dist/fonts/zh/900-3400.woff2 +0 -0
- package/dist/fonts/zh/900-3600.woff2 +0 -0
- package/dist/fonts/zh/900-3800.woff2 +0 -0
- package/dist/fonts/zh/900-3a00.woff2 +0 -0
- package/dist/fonts/zh/900-3c00.woff2 +0 -0
- package/dist/fonts/zh/900-3e00.woff2 +0 -0
- package/dist/fonts/zh/900-4000.woff2 +0 -0
- package/dist/fonts/zh/900-4200.woff2 +0 -0
- package/dist/fonts/zh/900-4400.woff2 +0 -0
- package/dist/fonts/zh/900-4600.woff2 +0 -0
- package/dist/fonts/zh/900-4800.woff2 +0 -0
- package/dist/fonts/zh/900-4a00.woff2 +0 -0
- package/dist/fonts/zh/900-4c00.woff2 +0 -0
- package/dist/fonts/zh/900-4e00.woff2 +0 -0
- package/dist/fonts/zh/900-5000.woff2 +0 -0
- package/dist/fonts/zh/900-5200.woff2 +0 -0
- package/dist/fonts/zh/900-5400.woff2 +0 -0
- package/dist/fonts/zh/900-5600.woff2 +0 -0
- package/dist/fonts/zh/900-5800.woff2 +0 -0
- package/dist/fonts/zh/900-5a00.woff2 +0 -0
- package/dist/fonts/zh/900-5c00.woff2 +0 -0
- package/dist/fonts/zh/900-5e00.woff2 +0 -0
- package/dist/fonts/zh/900-6000.woff2 +0 -0
- package/dist/fonts/zh/900-6200.woff2 +0 -0
- package/dist/fonts/zh/900-6400.woff2 +0 -0
- package/dist/fonts/zh/900-6600.woff2 +0 -0
- package/dist/fonts/zh/900-6800.woff2 +0 -0
- package/dist/fonts/zh/900-6a00.woff2 +0 -0
- package/dist/fonts/zh/900-6c00.woff2 +0 -0
- package/dist/fonts/zh/900-6e00.woff2 +0 -0
- package/dist/fonts/zh/900-7000.woff2 +0 -0
- package/dist/fonts/zh/900-7200.woff2 +0 -0
- package/dist/fonts/zh/900-7400.woff2 +0 -0
- package/dist/fonts/zh/900-7600.woff2 +0 -0
- package/dist/fonts/zh/900-7800.woff2 +0 -0
- package/dist/fonts/zh/900-7a00.woff2 +0 -0
- package/dist/fonts/zh/900-7c00.woff2 +0 -0
- package/dist/fonts/zh/900-7e00.woff2 +0 -0
- package/dist/fonts/zh/900-8000.woff2 +0 -0
- package/dist/fonts/zh/900-8200.woff2 +0 -0
- package/dist/fonts/zh/900-8400.woff2 +0 -0
- package/dist/fonts/zh/900-8600.woff2 +0 -0
- package/dist/fonts/zh/900-8800.woff2 +0 -0
- package/dist/fonts/zh/900-8a00.woff2 +0 -0
- package/dist/fonts/zh/900-8c00.woff2 +0 -0
- package/dist/fonts/zh/900-8e00.woff2 +0 -0
- package/dist/fonts/zh/900-9000.woff2 +0 -0
- package/dist/fonts/zh/900-9200.woff2 +0 -0
- package/dist/fonts/zh/900-9400.woff2 +0 -0
- package/dist/fonts/zh/900-9600.woff2 +0 -0
- package/dist/fonts/zh/900-9800.woff2 +0 -0
- package/dist/fonts/zh/900-9a00.woff2 +0 -0
- package/dist/fonts/zh/900-9c00.woff2 +0 -0
- package/dist/fonts/zh/900-9e00.woff2 +0 -0
- package/dist/fonts/zh/900-f800.woff2 +0 -0
- package/dist/fonts/zh/900-fa00.woff2 +0 -0
- package/dist/fonts/zh/900-fe00.woff2 +0 -0
- package/dist/fonts/zh/OFL.txt +98 -0
- package/dist/fonts/zh/font-faces.css +4176 -0
- package/dist/fonts/zh/manifest.json +3728 -0
- package/dist/fonts.css +1 -1
- package/dist/icon-paths.d.ts +247 -0
- package/dist/icon-paths.js +2 -0
- package/dist/index.d.ts +353 -1941
- package/dist/index.js +839 -9147
- package/dist/liquid-effects.d.ts +350 -0
- package/dist/liquid-effects.js +1318 -0
- package/dist/liquid-presence.css +1 -1
- package/dist/liquid-presence.d.ts +15 -3
- package/dist/liquid-presence.js +694 -662
- package/dist/paths-B7D0h7Mh.js +255 -0
- package/dist/preview.css +1 -1
- package/dist/preview.d.ts +24 -0
- package/dist/preview.js +1993 -0
- package/dist/reducedMotion-B8kv-v64.js +473 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +5 -3
- package/donors-individual.md +21 -2
- package/package.json +25 -9
- package/bin/swimmer-ui-assets.mjs +0 -83
- package/dist/assets/game/ui/clay/asset-manifest.json +0 -2823
- package/dist/assets/game/ui/clay/phase03-clay-kit/buttons/button-blue-large-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/buttons/button-blue-large-v2.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/buttons/button-brown-large-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/buttons/button-brown-large-v2.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/buttons/button-green-large-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/buttons/button-green-large-v2.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/buttons/button-purple-large-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/buttons/button-purple-large-v2.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/buttons/button-red-large-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/buttons/button-red-large-v2.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/catalog/common-icons-contact-sheet-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/catalog/component-candidates-contact-sheet-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/catalog/function-icons-contact-sheet-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/catalog/phase03-clay-ui-catalog.json +0 -3476
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/alert-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/bar-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/best-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/check-off-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/check-on-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/count-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/direction-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/gauge-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/hot-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/label-2-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/label-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/loading-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/mission-badge-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/new-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/page-arrow-next-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/page-arrow-prev-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/pagenavigation-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/radiobtn-off-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/radiobtn-on-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/ribbon-2-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/ribbon-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/slidebar-dim-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/stage-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/switch-off-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/switch-on-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/tab-n-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/tab-s-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/top-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/common/user-info-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/language/button-close-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/language/check-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/language/language-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/popup/popup-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/settings/btn-blue-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/settings/btn-brown-2-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/settings/btn-brown-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/settings/btn-facebook-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/settings/btn-green-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/settings/button-close-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/settings/common-popup-title-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/settings/language-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/settings/radio-btn-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/settings/slidebar-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/settings/switch-2-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/settings/switch-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/components/stage-lock/stage-lock-badge-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/checkbox-checked-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/anvil-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/arrow-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/bomb-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/candle-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/chicken-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/crown-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/energy-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/envelope-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/gem-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/gift-blue-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/gift-red-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/gold-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/hammer-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/horner-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/horseshoes-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/key-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/laurel-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/letter-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/lock-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/lucky-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/medal-bronze-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/medal-gold-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/medal-silver-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/mission-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/pickax-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/poition-red-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/poiton-purple-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/purplegem-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/sandglass-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/scroll-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/setting-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/shield-a-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/shield-b-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/shield-c-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/shield-d-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/shop-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/skull-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/soulgem-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/sword-a-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/sword-b-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/talaria-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/target-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/timer-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/treasure-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/common/trophy-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/account-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/add-friend-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/add-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/align-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/alram-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/appstore-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/arrow-down-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/arrow-next-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/arrow-prev-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/arrow-up-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/arrow-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/asterisk-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/attachment-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/ax-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/back-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/bad-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/badge-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/bank-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/basket-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/battle-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/bin-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/binoculars-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/bitcoin-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/block-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/bluetooth-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/bomb-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/book-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/bookmark-add-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/bookmark-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/bottom-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/brain-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/bug-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/bulb-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/calendar-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/call-reject-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/call-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/camera-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/cancel-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/card-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/cart-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/category-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/chat-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/check-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/cloud-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/cny-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/coffee-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/compass-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/confirm-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/contact-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/control-next-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/control-pause-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/control-play-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/control-prev-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/control-stop-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/control-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/copy-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/coupon-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/crop-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/crown-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/defense-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/delete-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/dislike-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/document-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/dollar-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/down-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/download-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/dynamite-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/earth-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/eat-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/emoji-good-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/emoji-soso-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/energy-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/exit-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/expand-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/export-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/facebook-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/feather-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/filter-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/fingerprint-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/fire-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/firm-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/fix-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/flag-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/flask-01-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/flask-02-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/flask-03-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/folder-open-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/folder-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/game-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/gem-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/gender-fale-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/gender-female-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/gift-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/globe-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/gmail-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/gold-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/googleplay-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/graduation-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/graph-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/hammer-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/hand-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/hashtag-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/headset-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/heart-empty-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/heart-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/helmet-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/hide-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/home-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/key-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/knowledge-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/left-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/like-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/link-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/list-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/location-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/lock-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/magnetic-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/mail-read-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/mail-unread-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/map-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/mark-caution-1-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/mark-caution-2-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/mark-info-1-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/mark-info-2-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/mark-question-1-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/mark-question-2-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/medal-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/media-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/megaphone-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/menu-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/message-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/minus-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/mobile-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/money-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/more-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/music-1-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/music-2-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/newpaper-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/next-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/notification-off-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/notification-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/paper-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/pc-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/pen-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/pencil-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/percent-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/photo-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/pick-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/piechart-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/pinterest-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/pinwheel-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/planet-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/player-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/plus-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/preferense-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/prev-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/printer-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/quit-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/random-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/ranking-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/record-off-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/record-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/refresh-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/reload-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/remove-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/reset-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/right-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/ring-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/safe-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/sandglass-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/scan-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/screwdriver-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/search-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/send-1-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/send-2-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/service-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/setting-1-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/setting-2-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/share-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/shop-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/shopping-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/show-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/sign-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/siren-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/skull-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/skype-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/sort-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/sparkle-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/speedmeter-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/star-circle-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/star-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/stopwatch-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/support-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/sword-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/tag-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/target-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/tent-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/text-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/thumbnails-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/thunder-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/time-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/toolbox-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/top-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/treasure-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/trophy-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/twitter-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/ufo-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/unlock-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/up-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/upload-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/user-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/video-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/volume-mute-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/volume-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/wallet-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/warning-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/water-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/wifi-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/youtube-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/zoom-in-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/function/zoom-out-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/icon-add-friend-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/icon-card-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/icon-check-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/icon-game-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/icon-refresh-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/icon-target-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/icons/icon-user-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/inputs/input-entered-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/inputs/input-entered-v2.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/inputs/input-error-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/inputs/input-error-v2.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/inputs/input-required-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/inputs/input-required-v2.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/inputs/input-typing-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/inputs/input-typing-v2.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/panels/popup-frame-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/panels/settings-frame-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/screens/00_title-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/screens/01_login-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/screens/03_stage-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/screens/04_stageready-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/screens/05_complete-v1.png +0 -0
- package/dist/assets/game/ui/clay/phase03-clay-kit/screens/06_lose-v1.png +0 -0
- package/dist/liquidGooeySpring-r7c1S2ZB.js +0 -461
|
@@ -0,0 +1,1554 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { _ as e, b as t, d as n, f as r, g as i, h as a, l as o, p as s, t as c, u as l, v as u, y as d } from "./LiquidGroup-BXw1tv9H.js";
|
|
3
|
+
import { g as f, h as p, t as m } from "./reducedMotion-B8kv-v64.js";
|
|
4
|
+
import { A as h, B as g, C as _, D as v, E as y, F as b, G as x, H as S, I as C, J as ee, K as te, L as ne, M as re, N as ie, O as ae, P as oe, R as se, S as ce, T as le, U as ue, V as de, W as fe, _ as pe, a as me, b as he, c as ge, d as _e, f as ve, g as ye, h as be, i as xe, j as Se, k as Ce, l as we, m as Te, n as Ee, o as De, p as Oe, q as ke, r as Ae, s as je, t as Me, u as Ne, v as Pe, w as Fe, x as Ie, y as Le, z as Re } from "./paths-B7D0h7Mh.js";
|
|
5
|
+
import { cloneElement as ze, createElement as Be, forwardRef as w, isValidElement as Ve, useCallback as He, useId as T, useLayoutEffect as E, useMemo as Ue, useRef as D, useState as O } from "react";
|
|
6
|
+
import { Fragment as We, jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
7
|
+
//#region src/tokens/index.ts
|
|
8
|
+
var Ge = {
|
|
9
|
+
...e,
|
|
10
|
+
...t,
|
|
11
|
+
...u,
|
|
12
|
+
...a,
|
|
13
|
+
scrollbarSize: i.size,
|
|
14
|
+
scrollbarTrack: i.track,
|
|
15
|
+
scrollbarThumb: i.thumb,
|
|
16
|
+
scrollbarThumbHover: i.thumbHover,
|
|
17
|
+
...l,
|
|
18
|
+
...s,
|
|
19
|
+
...n,
|
|
20
|
+
...o,
|
|
21
|
+
...r
|
|
22
|
+
}, Ke = {
|
|
23
|
+
toneAttr: "data-game-ui-tone",
|
|
24
|
+
toneGlass: "glass",
|
|
25
|
+
densityAttr: "data-game-ui-density",
|
|
26
|
+
densityCompact: "compact",
|
|
27
|
+
scopeClass: "game-ui-overlay-scope"
|
|
28
|
+
}, qe = d, Je = [
|
|
29
|
+
"--game-ui-bg",
|
|
30
|
+
"--game-ui-surface",
|
|
31
|
+
"--game-ui-surface-raised",
|
|
32
|
+
"--game-ui-surface-sunken",
|
|
33
|
+
"--game-ui-text",
|
|
34
|
+
"--game-ui-text-muted",
|
|
35
|
+
"--game-ui-accent",
|
|
36
|
+
"--game-ui-accent-bright",
|
|
37
|
+
"--game-ui-secondary",
|
|
38
|
+
"--game-ui-success",
|
|
39
|
+
"--game-ui-success-bright",
|
|
40
|
+
"--game-ui-danger",
|
|
41
|
+
"--game-ui-danger-bright",
|
|
42
|
+
"--game-ui-warning",
|
|
43
|
+
"--game-ui-focus-ring",
|
|
44
|
+
"--game-ui-border-subtle",
|
|
45
|
+
"--game-ui-border-strong",
|
|
46
|
+
"--game-ui-disabled",
|
|
47
|
+
"--game-ui-ink-deep",
|
|
48
|
+
"--game-ui-border-ink",
|
|
49
|
+
"--game-ui-wood",
|
|
50
|
+
"--game-ui-ink-title",
|
|
51
|
+
"--game-ui-ink-heading"
|
|
52
|
+
], j = {
|
|
53
|
+
set: {
|
|
54
|
+
kind: "body",
|
|
55
|
+
summary: "A liquid body firms up and stops being liquid.",
|
|
56
|
+
group: p,
|
|
57
|
+
groupEngaged: {
|
|
58
|
+
blur: 0,
|
|
59
|
+
blob: 0,
|
|
60
|
+
gloss: 0
|
|
61
|
+
},
|
|
62
|
+
item: {
|
|
63
|
+
effect: "morph",
|
|
64
|
+
morph: {
|
|
65
|
+
shape: !0,
|
|
66
|
+
speed: 1.2,
|
|
67
|
+
bounce: .12,
|
|
68
|
+
contentBlur: 0
|
|
69
|
+
},
|
|
70
|
+
transition: "snappy"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
press: {
|
|
74
|
+
kind: "body",
|
|
75
|
+
summary: "A control that squashes under a press and rebounds past its rest shape.",
|
|
76
|
+
group: p,
|
|
77
|
+
item: {
|
|
78
|
+
effect: "morph",
|
|
79
|
+
morph: {
|
|
80
|
+
shape: !0,
|
|
81
|
+
speed: 1,
|
|
82
|
+
bounce: .35,
|
|
83
|
+
contentBlur: 0
|
|
84
|
+
},
|
|
85
|
+
transition: "wobbly"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
swell: {
|
|
89
|
+
kind: "body",
|
|
90
|
+
summary: "A body grows to be noticed, without being touched.",
|
|
91
|
+
group: p,
|
|
92
|
+
item: {
|
|
93
|
+
effect: "morph",
|
|
94
|
+
morph: {
|
|
95
|
+
shape: !0,
|
|
96
|
+
speed: .7,
|
|
97
|
+
bounce: .4,
|
|
98
|
+
contentBlur: 0
|
|
99
|
+
},
|
|
100
|
+
transition: "wobbly"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
settle: {
|
|
104
|
+
kind: "body",
|
|
105
|
+
summary: "Something arrives, overshoots, and comes to rest.",
|
|
106
|
+
group: p,
|
|
107
|
+
item: {
|
|
108
|
+
effect: "morph",
|
|
109
|
+
morph: {
|
|
110
|
+
shape: !0,
|
|
111
|
+
speed: .9,
|
|
112
|
+
bounce: .55,
|
|
113
|
+
contentBlur: 0
|
|
114
|
+
},
|
|
115
|
+
transition: "wobbly"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
fill: {
|
|
119
|
+
kind: "body",
|
|
120
|
+
summary: "A level rises and holds, the way a poured liquid settles.",
|
|
121
|
+
group: p,
|
|
122
|
+
item: {
|
|
123
|
+
effect: "morph",
|
|
124
|
+
morph: {
|
|
125
|
+
shape: !0,
|
|
126
|
+
speed: .9,
|
|
127
|
+
bounce: .08,
|
|
128
|
+
contentBlur: 0
|
|
129
|
+
},
|
|
130
|
+
transition: "smooth"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
reach: {
|
|
134
|
+
kind: "body",
|
|
135
|
+
summary: "A body stretches toward something and thins as it goes.",
|
|
136
|
+
group: p,
|
|
137
|
+
item: {
|
|
138
|
+
effect: "morph",
|
|
139
|
+
morph: {
|
|
140
|
+
shape: !0,
|
|
141
|
+
speed: 1,
|
|
142
|
+
bounce: .15,
|
|
143
|
+
contentBlur: 0
|
|
144
|
+
},
|
|
145
|
+
transition: "smooth"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
ripple: {
|
|
149
|
+
kind: "body",
|
|
150
|
+
summary: "A shudder crosses the body and dies out, and nothing breaks.",
|
|
151
|
+
group: p,
|
|
152
|
+
item: {
|
|
153
|
+
effect: "morph",
|
|
154
|
+
morph: {
|
|
155
|
+
shape: !0,
|
|
156
|
+
speed: 1.6,
|
|
157
|
+
bounce: .5,
|
|
158
|
+
contentBlur: 0
|
|
159
|
+
},
|
|
160
|
+
transition: "wobbly"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
drain: {
|
|
164
|
+
kind: "body",
|
|
165
|
+
summary: "A shape loses its boundary and goes.",
|
|
166
|
+
group: p,
|
|
167
|
+
item: { transition: "smooth" }
|
|
168
|
+
},
|
|
169
|
+
follow: {
|
|
170
|
+
kind: "group",
|
|
171
|
+
summary: "A single blob travels to whichever item is active.",
|
|
172
|
+
group: {
|
|
173
|
+
...p,
|
|
174
|
+
blur: 6
|
|
175
|
+
},
|
|
176
|
+
item: {
|
|
177
|
+
effect: "morph",
|
|
178
|
+
morph: {
|
|
179
|
+
shape: !0,
|
|
180
|
+
speed: 1.1,
|
|
181
|
+
bounce: .15,
|
|
182
|
+
contentBlur: 0
|
|
183
|
+
},
|
|
184
|
+
transition: "smooth"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
merge: {
|
|
188
|
+
kind: "group",
|
|
189
|
+
summary: "Neighbouring shapes reach for each other and fuse into one body.",
|
|
190
|
+
group: {
|
|
191
|
+
...p,
|
|
192
|
+
blur: 10
|
|
193
|
+
},
|
|
194
|
+
item: {
|
|
195
|
+
effect: "morph",
|
|
196
|
+
morph: {
|
|
197
|
+
shape: !0,
|
|
198
|
+
speed: .8,
|
|
199
|
+
bounce: .2,
|
|
200
|
+
contentBlur: 0
|
|
201
|
+
},
|
|
202
|
+
transition: "smooth"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
split: {
|
|
206
|
+
kind: "group",
|
|
207
|
+
summary: "One body pulls into two, and the neck between them thins and breaks.",
|
|
208
|
+
group: {
|
|
209
|
+
...p,
|
|
210
|
+
blur: 10
|
|
211
|
+
},
|
|
212
|
+
item: {
|
|
213
|
+
effect: "morph",
|
|
214
|
+
morph: {
|
|
215
|
+
shape: !0,
|
|
216
|
+
speed: .9,
|
|
217
|
+
bounce: .3,
|
|
218
|
+
contentBlur: 0
|
|
219
|
+
},
|
|
220
|
+
transition: "smooth"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
bead: {
|
|
224
|
+
kind: "group",
|
|
225
|
+
summary: "A scatter of small droplets that can find each other.",
|
|
226
|
+
group: {
|
|
227
|
+
...p,
|
|
228
|
+
blur: 8
|
|
229
|
+
},
|
|
230
|
+
item: {
|
|
231
|
+
effect: "morph",
|
|
232
|
+
morph: {
|
|
233
|
+
shape: !0,
|
|
234
|
+
speed: 1,
|
|
235
|
+
bounce: .45,
|
|
236
|
+
contentBlur: 0
|
|
237
|
+
},
|
|
238
|
+
transition: "wobbly"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}, Ye = Object.keys(j);
|
|
242
|
+
function Xe(e, t) {
|
|
243
|
+
return {
|
|
244
|
+
...j[e].group,
|
|
245
|
+
...t
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
function Ze(e, t) {
|
|
249
|
+
let n = j[e].item;
|
|
250
|
+
return {
|
|
251
|
+
...n,
|
|
252
|
+
...t,
|
|
253
|
+
...n.morph || t?.morph ? { morph: {
|
|
254
|
+
...n.morph,
|
|
255
|
+
...t?.morph
|
|
256
|
+
} } : {}
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
//#endregion
|
|
260
|
+
//#region src/liquid/LiquidSurface/LiquidSurface.tsx
|
|
261
|
+
var Qe = {
|
|
262
|
+
set: {
|
|
263
|
+
scale: .99,
|
|
264
|
+
scaleY: .99,
|
|
265
|
+
y: 0
|
|
266
|
+
},
|
|
267
|
+
press: {
|
|
268
|
+
scale: 1.05,
|
|
269
|
+
scaleY: .9,
|
|
270
|
+
y: 2
|
|
271
|
+
},
|
|
272
|
+
swell: {
|
|
273
|
+
scale: 1.07,
|
|
274
|
+
scaleY: 1.07,
|
|
275
|
+
y: 0
|
|
276
|
+
},
|
|
277
|
+
settle: {
|
|
278
|
+
scale: 1,
|
|
279
|
+
scaleY: 1,
|
|
280
|
+
y: 0
|
|
281
|
+
},
|
|
282
|
+
fill: {
|
|
283
|
+
scale: 1,
|
|
284
|
+
scaleY: 1,
|
|
285
|
+
y: 0
|
|
286
|
+
},
|
|
287
|
+
reach: {
|
|
288
|
+
scale: 1.26,
|
|
289
|
+
scaleY: .88,
|
|
290
|
+
x: 12,
|
|
291
|
+
y: 0
|
|
292
|
+
},
|
|
293
|
+
ripple: {
|
|
294
|
+
scale: 1.04,
|
|
295
|
+
scaleY: .96,
|
|
296
|
+
y: 0
|
|
297
|
+
},
|
|
298
|
+
drain: {
|
|
299
|
+
scale: 1.08,
|
|
300
|
+
scaleY: .84,
|
|
301
|
+
y: 4
|
|
302
|
+
},
|
|
303
|
+
follow: {
|
|
304
|
+
scale: 1,
|
|
305
|
+
scaleY: 1,
|
|
306
|
+
y: 0
|
|
307
|
+
},
|
|
308
|
+
merge: {
|
|
309
|
+
scale: 1,
|
|
310
|
+
scaleY: 1,
|
|
311
|
+
y: 0
|
|
312
|
+
},
|
|
313
|
+
split: {
|
|
314
|
+
scale: 1,
|
|
315
|
+
scaleY: 1,
|
|
316
|
+
y: 0
|
|
317
|
+
},
|
|
318
|
+
bead: {
|
|
319
|
+
scale: 1,
|
|
320
|
+
scaleY: 1,
|
|
321
|
+
y: 0
|
|
322
|
+
}
|
|
323
|
+
}, $e = { settle: {
|
|
324
|
+
scale: .94,
|
|
325
|
+
scaleY: 1.08,
|
|
326
|
+
y: -8
|
|
327
|
+
} }, M = /* @__PURE__ */ new Set();
|
|
328
|
+
function et(e) {
|
|
329
|
+
M.has(e) || (M.add(e), console.warn(`LiquidSurface cannot express the '${e}' form: it describes a relationship between sibling items, not one body. Arrange the items in a <LiquidGroup> with explicit group props instead; LiquidSurface will render a body that never moves.`));
|
|
330
|
+
}
|
|
331
|
+
function N({ children: e, form: t = "press", active: n = !1, fill: r = "var(--game-ui-liquid-surface-fill, var(--game-ui-surface-raised))", stroke: i, shadow: a, gloss: o, outline: s, radius: l = 999, className: u, style: d }) {
|
|
332
|
+
let f = m(), p = n && !f, h = Ue(() => Xe(t, p ? j[t].groupEngaged : void 0), [t, p]), g = Ue(() => Ze(t), [t]);
|
|
333
|
+
j[t].kind === "group" && et(t);
|
|
334
|
+
let _ = p ? Qe[t] : $e[t] ?? {
|
|
335
|
+
scale: 1,
|
|
336
|
+
scaleY: 1,
|
|
337
|
+
y: 0
|
|
338
|
+
}, v = a ?? h.shadow, y = s ? {
|
|
339
|
+
amplitude: s.amplitude,
|
|
340
|
+
lobes: s.lobes ?? h.lobes
|
|
341
|
+
} : {
|
|
342
|
+
amplitude: h.blob,
|
|
343
|
+
lobes: h.lobes
|
|
344
|
+
};
|
|
345
|
+
return /* @__PURE__ */ A("span", {
|
|
346
|
+
className: ["game-ui-liquid-surface", u].filter(Boolean).join(" "),
|
|
347
|
+
"data-liquid-form": t,
|
|
348
|
+
"data-liquid-active": p ? "true" : "false",
|
|
349
|
+
style: d,
|
|
350
|
+
children: [/* @__PURE__ */ k(c, {
|
|
351
|
+
"aria-hidden": "true",
|
|
352
|
+
blur: h.blur,
|
|
353
|
+
className: "game-ui-liquid-surface__body",
|
|
354
|
+
contrast: h.contrast,
|
|
355
|
+
gloss: o ?? h.gloss,
|
|
356
|
+
fill: r,
|
|
357
|
+
filterPadding: Math.max(h.filterPadding, Math.ceil(y.amplitude) + 8),
|
|
358
|
+
motion: f ? "reduced" : "auto",
|
|
359
|
+
...v === void 0 ? {} : { shadow: v },
|
|
360
|
+
...i === void 0 ? {} : { stroke: i },
|
|
361
|
+
children: /* @__PURE__ */ k(c.Item, {
|
|
362
|
+
...y.amplitude > 0 ? { blob: y } : {},
|
|
363
|
+
className: "game-ui-liquid-surface__shape",
|
|
364
|
+
...g.effect === void 0 ? {} : { effect: g.effect },
|
|
365
|
+
...g.morph === void 0 ? {} : { morph: g.morph },
|
|
366
|
+
radius: l,
|
|
367
|
+
scale: _.scale,
|
|
368
|
+
scaleY: _.scaleY,
|
|
369
|
+
...g.transition === void 0 ? {} : { transition: g.transition },
|
|
370
|
+
..._.x === void 0 ? {} : { x: _.x },
|
|
371
|
+
y: _.y,
|
|
372
|
+
children: /* @__PURE__ */ k("span", { className: "game-ui-liquid-surface__fill" })
|
|
373
|
+
})
|
|
374
|
+
}), /* @__PURE__ */ k("span", {
|
|
375
|
+
className: "game-ui-liquid-surface__content",
|
|
376
|
+
children: e
|
|
377
|
+
})]
|
|
378
|
+
});
|
|
379
|
+
}
|
|
380
|
+
//#endregion
|
|
381
|
+
//#region src/feedback/sound/interactionSound.ts
|
|
382
|
+
var P = null, F = !1;
|
|
383
|
+
function I(e) {
|
|
384
|
+
return typeof e != "number" || !Number.isFinite(e) ? 1 : Math.min(1, Math.max(0, e));
|
|
385
|
+
}
|
|
386
|
+
function tt() {
|
|
387
|
+
F || typeof document > "u" || (document.addEventListener("visibilitychange", () => {
|
|
388
|
+
document.visibilityState === "hidden" && P?.state === "running" && P.suspend();
|
|
389
|
+
}), F = !0);
|
|
390
|
+
}
|
|
391
|
+
function nt() {
|
|
392
|
+
return typeof window > "u" || window.AudioContext === void 0 ? null : (tt(), P ??= new window.AudioContext(), P);
|
|
393
|
+
}
|
|
394
|
+
function rt(e) {
|
|
395
|
+
let t = /* @__PURE__ */ new WeakMap();
|
|
396
|
+
return {
|
|
397
|
+
createGain: () => {
|
|
398
|
+
let n = e.createGain(), r = {
|
|
399
|
+
connect: (e) => {
|
|
400
|
+
e instanceof AudioNode && n.connect(e);
|
|
401
|
+
},
|
|
402
|
+
gain: n.gain
|
|
403
|
+
};
|
|
404
|
+
return t.set(r, n), r;
|
|
405
|
+
},
|
|
406
|
+
createOscillator: () => {
|
|
407
|
+
let n = e.createOscillator();
|
|
408
|
+
return {
|
|
409
|
+
connect: (e) => {
|
|
410
|
+
let r = t.get(e);
|
|
411
|
+
r && n.connect(r);
|
|
412
|
+
},
|
|
413
|
+
frequency: n.frequency,
|
|
414
|
+
start: (e) => n.start(e),
|
|
415
|
+
stop: (e) => n.stop(e),
|
|
416
|
+
get type() {
|
|
417
|
+
return n.type;
|
|
418
|
+
},
|
|
419
|
+
set type(e) {
|
|
420
|
+
n.type = e;
|
|
421
|
+
}
|
|
422
|
+
};
|
|
423
|
+
},
|
|
424
|
+
currentTime: e.currentTime,
|
|
425
|
+
destination: e.destination,
|
|
426
|
+
resume: () => e.resume(),
|
|
427
|
+
state: e.state,
|
|
428
|
+
suspend: () => e.suspend()
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
function it(e, t = {}) {
|
|
432
|
+
if (t.enabled === !1) return !1;
|
|
433
|
+
let n = .06 * I(t.masterVolume) * I(t.sfxVolume);
|
|
434
|
+
if (n <= 0) return !1;
|
|
435
|
+
e.state === "suspended" && e.resume();
|
|
436
|
+
let r = e.currentTime, i = e.createOscillator(), a = e.createGain();
|
|
437
|
+
return i.type = "triangle", i.frequency.setValueAtTime(420, r), i.frequency.exponentialRampToValueAtTime(620, r + .045), a.gain.setValueAtTime(1e-4, r), a.gain.exponentialRampToValueAtTime(n, r + .008), a.gain.exponentialRampToValueAtTime(1e-4, r + .055), i.connect(a), a.connect(e.destination), i.start(r), i.stop(r + .055), !0;
|
|
438
|
+
}
|
|
439
|
+
function at(e = {}) {
|
|
440
|
+
let t = nt();
|
|
441
|
+
return t ? it(rt(t), e) : !1;
|
|
442
|
+
}
|
|
443
|
+
function ot(e, t, n = {}) {
|
|
444
|
+
if (n.enabled === !1) return !1;
|
|
445
|
+
let r = .05 * I(n.masterVolume) * I(n.sfxVolume);
|
|
446
|
+
if (r <= 0) return !1;
|
|
447
|
+
e.state === "suspended" && e.resume();
|
|
448
|
+
let i = e.currentTime, a = (t, n, r, i, a, o) => {
|
|
449
|
+
let s = e.createOscillator(), c = e.createGain();
|
|
450
|
+
s.type = t, s.frequency.setValueAtTime(n, i), s.frequency.exponentialRampToValueAtTime(r, i + a), c.gain.setValueAtTime(1e-4, i), c.gain.exponentialRampToValueAtTime(o, i + .01), c.gain.exponentialRampToValueAtTime(1e-4, i + a), s.connect(c), c.connect(e.destination), s.start(i), s.stop(i + a);
|
|
451
|
+
};
|
|
452
|
+
return a("triangle", 900, 260, i, .09, r), (t === "legendary" ? [880, 1320] : t === "rare" ? [990] : []).forEach((e, t) => a("sine", e, e, i + .08 + t * .09, .35, r * .8)), !0;
|
|
453
|
+
}
|
|
454
|
+
function st(e, t = {}) {
|
|
455
|
+
let n = nt();
|
|
456
|
+
return n ? ot(rt(n), e, t) : !1;
|
|
457
|
+
}
|
|
458
|
+
//#endregion
|
|
459
|
+
//#region src/liquid/LiquidPressSurface/observePress.ts
|
|
460
|
+
function ct(e, t) {
|
|
461
|
+
let n = !1, r = null, i = null, a = !1, o = 0, s = () => {}, c = () => e.matches(":disabled,[aria-disabled=\"true\"]") || !!e.querySelector(":scope > input:disabled"), l = () => {
|
|
462
|
+
o++, r = null, i = null, s(), s = () => {}, n && (n = !1, t(!1));
|
|
463
|
+
}, u = () => {
|
|
464
|
+
if (n) return;
|
|
465
|
+
n = !0, t(!0);
|
|
466
|
+
let a = (e) => {
|
|
467
|
+
(r === null || e.pointerId === r) && l();
|
|
468
|
+
}, o = (e) => {
|
|
469
|
+
(e.key === i || e.key === "Escape") && l();
|
|
470
|
+
}, u = () => {
|
|
471
|
+
document.hidden && l();
|
|
472
|
+
}, d = new MutationObserver(() => {
|
|
473
|
+
c() && l();
|
|
474
|
+
});
|
|
475
|
+
for (let t = e; t; t = t.parentElement) (t === e || t.tagName === "FIELDSET") && d.observe(t, {
|
|
476
|
+
attributes: !0,
|
|
477
|
+
attributeFilter: ["disabled", "aria-disabled"]
|
|
478
|
+
});
|
|
479
|
+
window.addEventListener("pointerup", a), window.addEventListener("pointercancel", a), window.addEventListener("keyup", o), window.addEventListener("blur", l), document.addEventListener("visibilitychange", u), s = () => {
|
|
480
|
+
d.disconnect(), window.removeEventListener("pointerup", a), window.removeEventListener("pointercancel", a), window.removeEventListener("keyup", o), window.removeEventListener("blur", l), document.removeEventListener("visibilitychange", u);
|
|
481
|
+
};
|
|
482
|
+
}, d = (t) => {
|
|
483
|
+
if (t.button !== 0 || c()) return;
|
|
484
|
+
let n = ++o;
|
|
485
|
+
r = t.pointerId, queueMicrotask(() => {
|
|
486
|
+
!a && n === o && !t.defaultPrevented && !c() && e.isConnected ? u() : n === o && (r = null);
|
|
487
|
+
});
|
|
488
|
+
}, f = (e) => {
|
|
489
|
+
(r === null || e.pointerId === r) && l();
|
|
490
|
+
}, p = (t) => {
|
|
491
|
+
if (t.key === "Escape") {
|
|
492
|
+
l();
|
|
493
|
+
return;
|
|
494
|
+
}
|
|
495
|
+
if (t.repeat || t.key !== " " && t.key !== "Enter" || c() || e.tagName === "LABEL" && t.key === "Enter" || e.tagName === "A" && t.key === " ") return;
|
|
496
|
+
let n = ++o;
|
|
497
|
+
queueMicrotask(() => {
|
|
498
|
+
!a && n === o && !t.defaultPrevented && !c() && e.isConnected && (i = t.key, u());
|
|
499
|
+
});
|
|
500
|
+
}, m = (t) => {
|
|
501
|
+
(r === null || t.relatedTarget instanceof Node && !e.contains(t.relatedTarget)) && l();
|
|
502
|
+
};
|
|
503
|
+
return e.addEventListener("pointerdown", d), e.addEventListener("pointerup", f), e.addEventListener("pointercancel", f), e.addEventListener("pointerleave", l), e.addEventListener("lostpointercapture", l), e.addEventListener("keydown", p), e.addEventListener("keyup", l), e.addEventListener("blur", m, !0), () => {
|
|
504
|
+
a = !0, l(), e.removeEventListener("pointerdown", d), e.removeEventListener("pointerleave", l), e.removeEventListener("pointerup", f), e.removeEventListener("pointercancel", f), e.removeEventListener("lostpointercapture", l), e.removeEventListener("keydown", p), e.removeEventListener("keyup", l), e.removeEventListener("blur", m, !0);
|
|
505
|
+
};
|
|
506
|
+
}
|
|
507
|
+
//#endregion
|
|
508
|
+
//#region src/liquid/LiquidPressSurface/LiquidPressSurface.tsx
|
|
509
|
+
function lt({ children: e, control: t, controlIdentity: n, enabled: r, static: i = !1, fullWidth: a = !1 }) {
|
|
510
|
+
let [o, s] = O(!1);
|
|
511
|
+
return E(() => {
|
|
512
|
+
if (s(!1), !r || i || !t.current) return;
|
|
513
|
+
let e = !0, n = ct(t.current, (t) => {
|
|
514
|
+
e && s(t);
|
|
515
|
+
});
|
|
516
|
+
return () => {
|
|
517
|
+
e = !1, n();
|
|
518
|
+
};
|
|
519
|
+
}, [
|
|
520
|
+
t,
|
|
521
|
+
n,
|
|
522
|
+
r,
|
|
523
|
+
i
|
|
524
|
+
]), /* @__PURE__ */ A("span", {
|
|
525
|
+
className: "game-ui-button-frame",
|
|
526
|
+
"data-liquid": r ? "true" : void 0,
|
|
527
|
+
"data-full-width": a ? "true" : void 0,
|
|
528
|
+
children: [r ? /* @__PURE__ */ k(N, {
|
|
529
|
+
active: o && !i,
|
|
530
|
+
form: "press",
|
|
531
|
+
fill: f,
|
|
532
|
+
className: "game-ui-cta-decoration",
|
|
533
|
+
children: null
|
|
534
|
+
}, "decoration") : null, e]
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
//#endregion
|
|
538
|
+
//#region src/controls/DropletSurface/geometry.ts
|
|
539
|
+
var L = (e, t) => Number.isFinite(e) ? e : t, R = (e) => Math.round(e * 1e3) / 1e3, z = 1.4;
|
|
540
|
+
function B(e) {
|
|
541
|
+
let t = 2166136261;
|
|
542
|
+
for (let n of e) t = Math.imul(t ^ n.charCodeAt(0), 16777619);
|
|
543
|
+
return (t >>> 0) / 4294967296 * Math.PI * 2;
|
|
544
|
+
}
|
|
545
|
+
function V(e, t, n) {
|
|
546
|
+
let r = Math.max(1, L(e, 1)), i = Math.max(1, L(t, 1)), a = Math.max(.5, Math.min(L(n, i / 2), r / 2, i / 2)), o = Math.max(0, r - 2 * a), s = Math.max(0, i - 2 * a), c = Math.PI * a / 2, l = [
|
|
547
|
+
o,
|
|
548
|
+
c,
|
|
549
|
+
s,
|
|
550
|
+
c,
|
|
551
|
+
o,
|
|
552
|
+
c,
|
|
553
|
+
s,
|
|
554
|
+
c
|
|
555
|
+
], u = l.reduce((e, t) => e + t, 0), d = Math.min(224, Math.max(48, Math.ceil(u / 7))), f = [];
|
|
556
|
+
for (let e = 0; e < d; e++) {
|
|
557
|
+
let t = e / d, n = u * t, o = 0;
|
|
558
|
+
for (; o < 7 && n >= l[o];) n -= l[o++];
|
|
559
|
+
let s = 0, c = 0, p = 0, m = 0;
|
|
560
|
+
if (o === 0) s = a + n, c = 0, m = -1;
|
|
561
|
+
else if (o === 2) s = r, c = a + n, p = 1;
|
|
562
|
+
else if (o === 4) s = r - a - n, c = i, m = 1;
|
|
563
|
+
else if (o === 6) s = 0, c = i - a - n, p = -1;
|
|
564
|
+
else {
|
|
565
|
+
let e = (o - 3) * Math.PI / 4 + n / a, t = o < 4 ? r - a : a, l = o === 1 || o === 7 ? a : i - a;
|
|
566
|
+
p = Math.cos(e), m = Math.sin(e), s = t + a * p, c = l + a * m;
|
|
567
|
+
}
|
|
568
|
+
f.push({
|
|
569
|
+
x: s,
|
|
570
|
+
y: c,
|
|
571
|
+
nx: p,
|
|
572
|
+
ny: m,
|
|
573
|
+
u: t
|
|
574
|
+
});
|
|
575
|
+
}
|
|
576
|
+
return {
|
|
577
|
+
width: r,
|
|
578
|
+
height: i,
|
|
579
|
+
frequency: Math.max(2, Math.round(u / 110)),
|
|
580
|
+
points: f
|
|
581
|
+
};
|
|
582
|
+
}
|
|
583
|
+
function H(e, t, n = 0, r = 0, i = 0) {
|
|
584
|
+
let a = Math.max(0, Math.min(z, L(t, 0), Math.min(e.width, e.height) * .1)), o = L(n, 0), s = L(r, 0), c = L(i, 0), l = e.points.map((t) => {
|
|
585
|
+
let n = Math.PI * 2 * t.u, r = a * (.67 * Math.sin(n * e.frequency + s + o) + .33 * Math.sin(n * (e.frequency + 1) - s * .7 - o * .55));
|
|
586
|
+
return {
|
|
587
|
+
x: t.x + t.nx * r + c,
|
|
588
|
+
y: t.y + t.ny * r + c
|
|
589
|
+
};
|
|
590
|
+
}), u = (e) => l[(e + l.length) % l.length], d = u(0), f = `M${R(d.x)} ${R(d.y)}`;
|
|
591
|
+
for (let e = 0; e < l.length; e++) {
|
|
592
|
+
let t = u(e - 1), n = u(e), r = u(e + 1), i = u(e + 2);
|
|
593
|
+
f += `C${R(n.x + (r.x - t.x) / 6)} ${R(n.y + (r.y - t.y) / 6)} ${R(r.x - (i.x - n.x) / 6)} ${R(r.y - (i.y - n.y) / 6)} ${R(r.x)} ${R(r.y)}`;
|
|
594
|
+
}
|
|
595
|
+
return `${f}Z`;
|
|
596
|
+
}
|
|
597
|
+
//#endregion
|
|
598
|
+
//#region src/controls/DropletSurface/spring.ts
|
|
599
|
+
var U = [
|
|
600
|
+
"x",
|
|
601
|
+
"y",
|
|
602
|
+
"amplitude",
|
|
603
|
+
"phase"
|
|
604
|
+
], W = () => ({
|
|
605
|
+
x: 0,
|
|
606
|
+
y: 0,
|
|
607
|
+
amplitude: 0,
|
|
608
|
+
phase: 0
|
|
609
|
+
}), G = (e) => ({
|
|
610
|
+
x: 1,
|
|
611
|
+
y: 1,
|
|
612
|
+
amplitude: e,
|
|
613
|
+
phase: 0
|
|
614
|
+
}), ut = (e) => ({
|
|
615
|
+
x: 1.045,
|
|
616
|
+
y: .9,
|
|
617
|
+
amplitude: e * 1.75 + .65,
|
|
618
|
+
phase: .8
|
|
619
|
+
});
|
|
620
|
+
function dt(e) {
|
|
621
|
+
return {
|
|
622
|
+
value: G(e),
|
|
623
|
+
velocity: W(),
|
|
624
|
+
target: G(e)
|
|
625
|
+
};
|
|
626
|
+
}
|
|
627
|
+
function K(e, t) {
|
|
628
|
+
e.value = { ...t }, e.target = { ...t }, e.velocity = W();
|
|
629
|
+
}
|
|
630
|
+
function ft(e, t) {
|
|
631
|
+
let n = Math.min(.064, Math.max(0, Number.isFinite(t) ? t : 0));
|
|
632
|
+
for (; n > 0;) {
|
|
633
|
+
let t = Math.min(1 / 120, n);
|
|
634
|
+
for (let n of U) e.velocity[n] += (320 * (e.target[n] - e.value[n]) - 14 * e.velocity[n]) * t, e.value[n] += e.velocity[n] * t;
|
|
635
|
+
n -= t;
|
|
636
|
+
}
|
|
637
|
+
let r = U.some((t) => Math.abs(e.value[t] - e.target[t]) > 8e-4 || Math.abs(e.velocity[t]) > .008);
|
|
638
|
+
return r || K(e, e.target), r;
|
|
639
|
+
}
|
|
640
|
+
//#endregion
|
|
641
|
+
//#region src/controls/DropletSurface/controller.ts
|
|
642
|
+
var q = (e, t) => {
|
|
643
|
+
let n = Number.parseFloat(e);
|
|
644
|
+
return Number.isFinite(n) ? n : t;
|
|
645
|
+
};
|
|
646
|
+
function pt(e, t, n, r, i = t, a = z) {
|
|
647
|
+
let o = e.querySelector("path"), s = e.querySelector("g"), c = dt(1.4), l, u = 1.4, d = 10, f = 0, p, m = !1, h = !1, g = "", _ = () => {
|
|
648
|
+
if (h || !l) return;
|
|
649
|
+
let { x: e, y: t, phase: r, amplitude: i } = c.value;
|
|
650
|
+
o.setAttribute("d", H(l, i, r, n, d));
|
|
651
|
+
let a = d + l.width / 2, u = d + l.height / 2;
|
|
652
|
+
s.setAttribute("transform", `translate(${a} ${u}) scale(${e.toFixed(5)} ${t.toFixed(5)}) translate(${-a} ${-u})`);
|
|
653
|
+
}, v = () => {
|
|
654
|
+
p !== void 0 && cancelAnimationFrame(p), p = void 0;
|
|
655
|
+
}, y = () => {
|
|
656
|
+
let n = getComputedStyle(t), i = (e) => {
|
|
657
|
+
let r = e === "width" ? ["Left", "Right"] : ["Top", "Bottom"], i = n.boxSizing === "border-box" ? 0 : r.reduce((e, t) => e + q(n.getPropertyValue(`padding-${t.toLowerCase()}`), 0) + q(n.getPropertyValue(`border-${t.toLowerCase()}-width`), 0), 0);
|
|
658
|
+
return q(n[e], e === "width" ? t.offsetWidth : t.offsetHeight) + i;
|
|
659
|
+
}, o = i("width"), s = i("height");
|
|
660
|
+
if (o <= 0 || s <= 0) return;
|
|
661
|
+
let f = q(n.getPropertyValue("--game-ui-droplet-radius"), Math.min(o, s) / 2), p = Math.max(0, Math.min(z, Number.isFinite(a) ? Math.max(0, a) : z, q(n.getPropertyValue("--game-ui-droplet-wobble"), z))), h = `${o}|${s}|${f}|${p}`;
|
|
662
|
+
if (h === g) return;
|
|
663
|
+
g = h, u = p, l = V(o, s, f), d = Math.ceil(o * .025 + p * 3 + 6), e.setAttribute("width", String(o + 2 * d)), e.setAttribute("height", String(s + 2 * d)), e.setAttribute("viewBox", `0 0 ${o + 2 * d} ${s + 2 * d}`), e.style.left = `${-d}px`, e.style.top = `${-d}px`, e.style.width = `${o + d * 2}px`, e.style.height = `${s + d * 2}px`;
|
|
664
|
+
let v = m && r ? ut(u) : G(u);
|
|
665
|
+
K(c, v), e.dataset.ready = "true", _();
|
|
666
|
+
}, b = (e) => {
|
|
667
|
+
if (p = void 0, h || !t.isConnected) return;
|
|
668
|
+
if (document.hidden) {
|
|
669
|
+
K(c, G(u)), m = !1, _();
|
|
670
|
+
return;
|
|
671
|
+
}
|
|
672
|
+
let n = ft(c, f ? (e - f) / 1e3 : 1 / 60);
|
|
673
|
+
f = e, _(), n && (p = requestAnimationFrame(b));
|
|
674
|
+
}, x = (t) => {
|
|
675
|
+
if (!h) {
|
|
676
|
+
if (y(), m = t && r, e.dataset.pressed = String(m), c.target = m ? ut(u) : G(u), !r || document.hidden || i.matches(":disabled,[aria-disabled=\"true\"]")) {
|
|
677
|
+
v(), K(c, G(u)), _();
|
|
678
|
+
return;
|
|
679
|
+
}
|
|
680
|
+
p === void 0 && (f = 0, p = requestAnimationFrame(b));
|
|
681
|
+
}
|
|
682
|
+
};
|
|
683
|
+
y();
|
|
684
|
+
let S = typeof ResizeObserver > "u" ? void 0 : new ResizeObserver(y);
|
|
685
|
+
S?.observe(t);
|
|
686
|
+
let C = r ? ct(i, x) : () => {};
|
|
687
|
+
return () => {
|
|
688
|
+
h = !0, v(), C(), S?.disconnect(), delete e.dataset.ready, delete e.dataset.pressed;
|
|
689
|
+
};
|
|
690
|
+
}
|
|
691
|
+
//#endregion
|
|
692
|
+
//#region src/controls/DropletSurface/DropletSurface.tsx
|
|
693
|
+
function J({ static: e = !1, pressTarget: t, maxWobble: n = 1.4 }) {
|
|
694
|
+
let r = T(), i = D(null), a = m();
|
|
695
|
+
return E(() => {
|
|
696
|
+
let o = i.current, s = o?.parentElement;
|
|
697
|
+
if (!o || !(s instanceof HTMLElement)) return;
|
|
698
|
+
let c = !1, l, u = () => {
|
|
699
|
+
c || (l = pt(o, s, B(r), !a && !e, t?.current ?? s, n));
|
|
700
|
+
};
|
|
701
|
+
return t ? queueMicrotask(u) : u(), () => {
|
|
702
|
+
c = !0, l?.();
|
|
703
|
+
};
|
|
704
|
+
}, [
|
|
705
|
+
r,
|
|
706
|
+
a,
|
|
707
|
+
e,
|
|
708
|
+
t,
|
|
709
|
+
n
|
|
710
|
+
]), /* @__PURE__ */ k("svg", {
|
|
711
|
+
ref: i,
|
|
712
|
+
className: "game-ui-droplet",
|
|
713
|
+
"aria-hidden": "true",
|
|
714
|
+
focusable: "false",
|
|
715
|
+
children: /* @__PURE__ */ k("g", { children: /* @__PURE__ */ k("path", { vectorEffect: "non-scaling-stroke" }) })
|
|
716
|
+
});
|
|
717
|
+
}
|
|
718
|
+
function Y() {
|
|
719
|
+
return /* @__PURE__ */ k("span", {
|
|
720
|
+
className: "game-ui-selection-mark",
|
|
721
|
+
"aria-hidden": "true",
|
|
722
|
+
children: "✓"
|
|
723
|
+
});
|
|
724
|
+
}
|
|
725
|
+
//#endregion
|
|
726
|
+
//#region src/tokens/hue.ts
|
|
727
|
+
function X(e = "sky", t = !1) {
|
|
728
|
+
return t ? {
|
|
729
|
+
"--hue": "var(--game-ui-danger)",
|
|
730
|
+
"--game-ui-hue-ink": "var(--game-ui-control-danger-ink)"
|
|
731
|
+
} : { "--hue": `var(--game-ui-hue-${e})` };
|
|
732
|
+
}
|
|
733
|
+
//#endregion
|
|
734
|
+
//#region src/controls/NativeAction/NativeAction.tsx
|
|
735
|
+
function mt(e, t) {
|
|
736
|
+
return He((n) => {
|
|
737
|
+
t && (t.current = n);
|
|
738
|
+
let r = typeof e == "function" ? e(n) : void 0;
|
|
739
|
+
if (e && typeof e != "function" && (e.current = n), n) return () => {
|
|
740
|
+
t && (t.current = null), typeof r == "function" ? r() : typeof e == "function" ? e(null) : e && (e.current = null);
|
|
741
|
+
};
|
|
742
|
+
}, [e, t]);
|
|
743
|
+
}
|
|
744
|
+
var ht = w(function(e, t) {
|
|
745
|
+
let n = mt(t);
|
|
746
|
+
if (e.href !== void 0) {
|
|
747
|
+
let { href: t, linkComponent: r, disabled: i = !1, target: a, rel: o, tabIndex: s, onClick: c, onKeyDown: l, onActivate: u, ...d } = e, f = {
|
|
748
|
+
...d,
|
|
749
|
+
target: a,
|
|
750
|
+
rel: a === "_blank" ? [...new Set(`${o ?? ""} noopener noreferrer`.trim().split(/\s+/))].join(" ") : o,
|
|
751
|
+
"aria-disabled": i ? !0 : d["aria-disabled"],
|
|
752
|
+
role: i ? "link" : d.role,
|
|
753
|
+
tabIndex: i ? void 0 : s,
|
|
754
|
+
onClick: (e) => {
|
|
755
|
+
if (i) {
|
|
756
|
+
e.preventDefault(), e.stopPropagation();
|
|
757
|
+
return;
|
|
758
|
+
}
|
|
759
|
+
u?.(), c?.(e);
|
|
760
|
+
},
|
|
761
|
+
onKeyDown: (e) => {
|
|
762
|
+
if (i) {
|
|
763
|
+
e.preventDefault();
|
|
764
|
+
return;
|
|
765
|
+
}
|
|
766
|
+
l?.(e);
|
|
767
|
+
}
|
|
768
|
+
};
|
|
769
|
+
return r && !i ? /* @__PURE__ */ k(r, {
|
|
770
|
+
...f,
|
|
771
|
+
href: t,
|
|
772
|
+
ref: n
|
|
773
|
+
}) : /* @__PURE__ */ k("a", {
|
|
774
|
+
...f,
|
|
775
|
+
href: i ? void 0 : t,
|
|
776
|
+
ref: n
|
|
777
|
+
});
|
|
778
|
+
}
|
|
779
|
+
let { href: r, linkComponent: i, onActivate: a, onClick: o, type: s = "button", ...c } = e;
|
|
780
|
+
return /* @__PURE__ */ k("button", {
|
|
781
|
+
...c,
|
|
782
|
+
type: s,
|
|
783
|
+
ref: n,
|
|
784
|
+
onClick: (e) => {
|
|
785
|
+
c.disabled || (a?.(), o?.(e));
|
|
786
|
+
}
|
|
787
|
+
});
|
|
788
|
+
}), Z = w(function({ children: e, className: t, fullWidth: n = !1, hue: r, sound: i = !1, static: a = !1, variant: o = "secondary", size: s = "md", style: c, ...l }, u) {
|
|
789
|
+
let d = D(null), f = mt(u, d), p = l["data-game-ui-control"] === "liquid-presence", m = o === "primary" && !l.disabled && !p, h = [
|
|
790
|
+
"game-ui-button",
|
|
791
|
+
`game-ui-button--${o}`,
|
|
792
|
+
n && "game-ui-button--full-width",
|
|
793
|
+
a && "game-ui-button--static",
|
|
794
|
+
t
|
|
795
|
+
].filter(Boolean).join(" ");
|
|
796
|
+
return /* @__PURE__ */ k(lt, {
|
|
797
|
+
control: d,
|
|
798
|
+
controlIdentity: l.href === void 0 ? "button" : l.linkComponent ?? "a",
|
|
799
|
+
enabled: m,
|
|
800
|
+
static: a,
|
|
801
|
+
fullWidth: n,
|
|
802
|
+
children: /* @__PURE__ */ Be(ht, {
|
|
803
|
+
...l,
|
|
804
|
+
key: "control",
|
|
805
|
+
ref: f,
|
|
806
|
+
className: h,
|
|
807
|
+
onActivate: () => {
|
|
808
|
+
i && at(i);
|
|
809
|
+
},
|
|
810
|
+
"data-game-ui-size": s,
|
|
811
|
+
"data-game-ui-paint": "",
|
|
812
|
+
"data-game-ui-cta": m ? "true" : void 0,
|
|
813
|
+
"data-game-ui-meaning": o === "danger" || o === "success" ? "true" : void 0,
|
|
814
|
+
"data-game-ui-danger": o === "danger" ? "true" : void 0,
|
|
815
|
+
style: {
|
|
816
|
+
...X(r ?? (o === "success" ? "leaf" : "sky")),
|
|
817
|
+
...c
|
|
818
|
+
}
|
|
819
|
+
}, !m && !p ? /* @__PURE__ */ k(J, { static: a }) : null, e, l["aria-pressed"] === void 0 ? null : /* @__PURE__ */ k(Y, {}))
|
|
820
|
+
});
|
|
821
|
+
});
|
|
822
|
+
//#endregion
|
|
823
|
+
//#region src/controls/GameCheckbox/GameCheckbox.tsx
|
|
824
|
+
function gt({ className: e, label: t, hue: n, ...r }) {
|
|
825
|
+
return /* @__PURE__ */ A("label", {
|
|
826
|
+
className: ["game-ui-checkbox", e].filter(Boolean).join(" "),
|
|
827
|
+
"data-game-ui-paint": "",
|
|
828
|
+
style: X(n),
|
|
829
|
+
children: [
|
|
830
|
+
/* @__PURE__ */ k(J, {}),
|
|
831
|
+
/* @__PURE__ */ k("input", {
|
|
832
|
+
className: "game-ui-checkbox-input",
|
|
833
|
+
type: "checkbox",
|
|
834
|
+
...r
|
|
835
|
+
}),
|
|
836
|
+
/* @__PURE__ */ k(Y, {}),
|
|
837
|
+
/* @__PURE__ */ k("span", {
|
|
838
|
+
className: "game-ui-checkbox-label",
|
|
839
|
+
children: t
|
|
840
|
+
})
|
|
841
|
+
]
|
|
842
|
+
});
|
|
843
|
+
}
|
|
844
|
+
//#endregion
|
|
845
|
+
//#region src/controls/GameField/GameField.tsx
|
|
846
|
+
function _t({ children: e, className: t, error: n, hint: r, label: i, required: a }) {
|
|
847
|
+
return /* @__PURE__ */ A("label", {
|
|
848
|
+
className: ["game-ui-field", t].filter(Boolean).join(" "),
|
|
849
|
+
"data-invalid": n ? "true" : void 0,
|
|
850
|
+
children: [
|
|
851
|
+
/* @__PURE__ */ A("span", {
|
|
852
|
+
className: "game-ui-field-label",
|
|
853
|
+
children: [i, a ? /* @__PURE__ */ A("span", {
|
|
854
|
+
"aria-hidden": "true",
|
|
855
|
+
className: "game-ui-field-required",
|
|
856
|
+
children: [" ", "*"]
|
|
857
|
+
}) : null]
|
|
858
|
+
}),
|
|
859
|
+
e,
|
|
860
|
+
r && !n ? /* @__PURE__ */ k("span", {
|
|
861
|
+
className: "game-ui-field-hint",
|
|
862
|
+
children: r
|
|
863
|
+
}) : null,
|
|
864
|
+
n ? /* @__PURE__ */ k("span", {
|
|
865
|
+
className: "game-ui-field-error",
|
|
866
|
+
role: "alert",
|
|
867
|
+
children: n
|
|
868
|
+
}) : null
|
|
869
|
+
]
|
|
870
|
+
});
|
|
871
|
+
}
|
|
872
|
+
//#endregion
|
|
873
|
+
//#region src/controls/GameIconButton/GameIconButton.tsx
|
|
874
|
+
var vt = w(function({ children: e, className: t, label: n, hue: r, size: i = "md", style: a, ...o }, s) {
|
|
875
|
+
return /* @__PURE__ */ A(ht, {
|
|
876
|
+
...o,
|
|
877
|
+
ref: s,
|
|
878
|
+
"aria-label": n,
|
|
879
|
+
className: ["game-ui-icon-button", t].filter(Boolean).join(" "),
|
|
880
|
+
"data-game-ui-paint": "",
|
|
881
|
+
"data-game-ui-size": i,
|
|
882
|
+
style: {
|
|
883
|
+
...X(r),
|
|
884
|
+
...a
|
|
885
|
+
},
|
|
886
|
+
children: [
|
|
887
|
+
/* @__PURE__ */ k(J, {}),
|
|
888
|
+
e,
|
|
889
|
+
o["aria-pressed"] === void 0 ? null : /* @__PURE__ */ k(Y, {})
|
|
890
|
+
]
|
|
891
|
+
});
|
|
892
|
+
}), yt = w(function({ className: e, invalid: t, hue: n, type: r = "text", ...i }, a) {
|
|
893
|
+
return /* @__PURE__ */ k("input", {
|
|
894
|
+
className: ["game-ui-input", e].filter(Boolean).join(" "),
|
|
895
|
+
"data-invalid": t ? "true" : void 0,
|
|
896
|
+
ref: a,
|
|
897
|
+
type: r,
|
|
898
|
+
...i,
|
|
899
|
+
style: {
|
|
900
|
+
...X(n),
|
|
901
|
+
...i.style
|
|
902
|
+
},
|
|
903
|
+
"aria-invalid": i["aria-invalid"] ?? (t || void 0),
|
|
904
|
+
"data-game-ui-paint": ""
|
|
905
|
+
});
|
|
906
|
+
}), bt = {
|
|
907
|
+
ai: Me,
|
|
908
|
+
alert: Ee,
|
|
909
|
+
card: me,
|
|
910
|
+
chat: De,
|
|
911
|
+
check: je,
|
|
912
|
+
close: Ne,
|
|
913
|
+
coin: _e,
|
|
914
|
+
compass: ve,
|
|
915
|
+
copy: Oe,
|
|
916
|
+
crown: Te,
|
|
917
|
+
energy: ye,
|
|
918
|
+
gem: Pe,
|
|
919
|
+
gift: Le,
|
|
920
|
+
globe: he,
|
|
921
|
+
history: Ie,
|
|
922
|
+
redo: C,
|
|
923
|
+
undo: te,
|
|
924
|
+
home: ce,
|
|
925
|
+
hourglass: _,
|
|
926
|
+
laurel: Fe,
|
|
927
|
+
lock: le,
|
|
928
|
+
lucky: y,
|
|
929
|
+
mail: v,
|
|
930
|
+
medal: ae,
|
|
931
|
+
mission: Se,
|
|
932
|
+
mobile: re,
|
|
933
|
+
portal: b,
|
|
934
|
+
scroll: ne,
|
|
935
|
+
settings: Re,
|
|
936
|
+
shirt: g,
|
|
937
|
+
shop: de,
|
|
938
|
+
smile: S,
|
|
939
|
+
timer: fe,
|
|
940
|
+
trophy: x,
|
|
941
|
+
vote: ee,
|
|
942
|
+
"arrow-left": Ae,
|
|
943
|
+
"arrow-right": xe,
|
|
944
|
+
"chevron-down": ge,
|
|
945
|
+
"chevron-up": we,
|
|
946
|
+
download: be,
|
|
947
|
+
external: pe,
|
|
948
|
+
menu: Ce,
|
|
949
|
+
minus: h,
|
|
950
|
+
moon: ie,
|
|
951
|
+
plus: oe,
|
|
952
|
+
search: se,
|
|
953
|
+
sun: ue,
|
|
954
|
+
user: ke
|
|
955
|
+
}, xt = Object.keys(bt);
|
|
956
|
+
//#endregion
|
|
957
|
+
//#region src/icons/GameIcon/GameIcon.tsx
|
|
958
|
+
function Q({ icon: e, size: t = "md", label: n, className: r, ...i }) {
|
|
959
|
+
let a = typeof e == "string" ? bt[e] : e, o = {
|
|
960
|
+
sm: 16,
|
|
961
|
+
md: 20,
|
|
962
|
+
lg: 24
|
|
963
|
+
}[t];
|
|
964
|
+
return /* @__PURE__ */ k("svg", {
|
|
965
|
+
...i,
|
|
966
|
+
className: ["game-ui-icon", r].filter(Boolean).join(" "),
|
|
967
|
+
viewBox: "0 0 24 24",
|
|
968
|
+
width: o,
|
|
969
|
+
height: o,
|
|
970
|
+
fill: "none",
|
|
971
|
+
stroke: "currentColor",
|
|
972
|
+
strokeWidth: 2,
|
|
973
|
+
strokeLinecap: "round",
|
|
974
|
+
strokeLinejoin: "round",
|
|
975
|
+
focusable: "false",
|
|
976
|
+
role: n ? "img" : void 0,
|
|
977
|
+
"aria-label": n || void 0,
|
|
978
|
+
"aria-hidden": !n || void 0,
|
|
979
|
+
"data-icon": a.name,
|
|
980
|
+
"data-icon-size": t,
|
|
981
|
+
children: a.paths.map((e, t) => /* @__PURE__ */ k("path", { d: e }, t))
|
|
982
|
+
});
|
|
983
|
+
}
|
|
984
|
+
//#endregion
|
|
985
|
+
//#region src/controls/GameLanguageMenu/GameLanguageMenu.tsx
|
|
986
|
+
function St({ className: e, currentLabel: t, label: n, options: r, value: i, defaultValue: a, onSelect: o }) {
|
|
987
|
+
let [s, c] = O(!1), [l, u] = O(a ?? r[0]?.id ?? ""), d = T(), f = ["game-ui-language-menu", e].filter(Boolean).join(" "), p = i ?? l, m = r.find((e) => e.id === p), h = t ?? m?.label ?? r[0]?.label ?? "", g = (e) => {
|
|
988
|
+
i === void 0 && u(e), o?.(e), c(!1);
|
|
989
|
+
};
|
|
990
|
+
return /* @__PURE__ */ A("div", {
|
|
991
|
+
className: f,
|
|
992
|
+
children: [/* @__PURE__ */ A("button", {
|
|
993
|
+
"aria-controls": d,
|
|
994
|
+
"aria-expanded": s,
|
|
995
|
+
className: "game-ui-language-trigger",
|
|
996
|
+
onClick: () => c((e) => !e),
|
|
997
|
+
type: "button",
|
|
998
|
+
"data-game-ui-paint": "",
|
|
999
|
+
children: [
|
|
1000
|
+
/* @__PURE__ */ k(J, {}),
|
|
1001
|
+
/* @__PURE__ */ k(Q, {
|
|
1002
|
+
icon: "globe",
|
|
1003
|
+
size: "sm"
|
|
1004
|
+
}),
|
|
1005
|
+
/* @__PURE__ */ k("span", { children: h })
|
|
1006
|
+
]
|
|
1007
|
+
}), s ? /* @__PURE__ */ k("div", {
|
|
1008
|
+
"aria-label": n,
|
|
1009
|
+
className: "game-ui-language-popover",
|
|
1010
|
+
id: d,
|
|
1011
|
+
role: "menu",
|
|
1012
|
+
children: r.map((e) => /* @__PURE__ */ A("button", {
|
|
1013
|
+
"aria-checked": e.id === p,
|
|
1014
|
+
"data-selected": e.id === p,
|
|
1015
|
+
onClick: () => g(e.id),
|
|
1016
|
+
role: "menuitemradio",
|
|
1017
|
+
type: "button",
|
|
1018
|
+
"data-game-ui-paint": "",
|
|
1019
|
+
children: [
|
|
1020
|
+
/* @__PURE__ */ k(J, {}),
|
|
1021
|
+
/* @__PURE__ */ A("span", { children: [/* @__PURE__ */ k("strong", { children: e.label }), /* @__PURE__ */ k("small", { children: e.meta })] }),
|
|
1022
|
+
/* @__PURE__ */ k(Y, {})
|
|
1023
|
+
]
|
|
1024
|
+
}, e.id))
|
|
1025
|
+
}) : null]
|
|
1026
|
+
});
|
|
1027
|
+
}
|
|
1028
|
+
//#endregion
|
|
1029
|
+
//#region src/controls/GameSegmentedControl/GameSegmentedControl.tsx
|
|
1030
|
+
function Ct({ activeId: e, label: t, onSelect: n, options: r, disabled: i, hue: a }) {
|
|
1031
|
+
return /* @__PURE__ */ k("div", {
|
|
1032
|
+
"aria-label": t,
|
|
1033
|
+
className: "game-ui-segmented",
|
|
1034
|
+
role: "group",
|
|
1035
|
+
children: r.map((t) => /* @__PURE__ */ A("button", {
|
|
1036
|
+
type: "button",
|
|
1037
|
+
className: "game-ui-segmented-option",
|
|
1038
|
+
"aria-pressed": t.id === e,
|
|
1039
|
+
disabled: i,
|
|
1040
|
+
onClick: n ? () => n(t.id) : void 0,
|
|
1041
|
+
"data-game-ui-paint": "",
|
|
1042
|
+
style: X(t.hue ?? a),
|
|
1043
|
+
children: [
|
|
1044
|
+
/* @__PURE__ */ k(J, {}),
|
|
1045
|
+
/* @__PURE__ */ k("span", { children: t.label }),
|
|
1046
|
+
/* @__PURE__ */ k(Y, {})
|
|
1047
|
+
]
|
|
1048
|
+
}, t.id))
|
|
1049
|
+
});
|
|
1050
|
+
}
|
|
1051
|
+
//#endregion
|
|
1052
|
+
//#region src/controls/GameSlider/GameSlider.tsx
|
|
1053
|
+
function wt({ label: e, max: t, min: n, step: r, disabled: i, name: a, id: o, onChange: s, value: c }) {
|
|
1054
|
+
return /* @__PURE__ */ A("label", {
|
|
1055
|
+
className: "game-ui-slider",
|
|
1056
|
+
children: [/* @__PURE__ */ k("span", { children: e }), /* @__PURE__ */ k("input", {
|
|
1057
|
+
"aria-label": e,
|
|
1058
|
+
max: t,
|
|
1059
|
+
min: n,
|
|
1060
|
+
step: r,
|
|
1061
|
+
disabled: i,
|
|
1062
|
+
name: a,
|
|
1063
|
+
id: o,
|
|
1064
|
+
onChange: s ? (e) => s(Number(e.currentTarget.value)) : void 0,
|
|
1065
|
+
readOnly: !s,
|
|
1066
|
+
type: "range",
|
|
1067
|
+
value: c,
|
|
1068
|
+
"data-game-ui-paint": ""
|
|
1069
|
+
})]
|
|
1070
|
+
});
|
|
1071
|
+
}
|
|
1072
|
+
//#endregion
|
|
1073
|
+
//#region src/controls/GameTabs/GameTabs.tsx
|
|
1074
|
+
function Tt({ activeId: e, id: t, onSelect: n, tabs: r, hue: i, orientation: a = "horizontal", "aria-label": o, "aria-labelledby": s }) {
|
|
1075
|
+
let c = T(), l = t ?? c;
|
|
1076
|
+
return /* @__PURE__ */ k("div", {
|
|
1077
|
+
className: "game-ui-tabs",
|
|
1078
|
+
onKeyDown: (t) => {
|
|
1079
|
+
if (!n || r.length === 0) return;
|
|
1080
|
+
let i = Math.max(0, r.findIndex((t) => t.id === e)), o;
|
|
1081
|
+
switch (a === "vertical" ? {
|
|
1082
|
+
ArrowUp: "ArrowLeft",
|
|
1083
|
+
ArrowDown: "ArrowRight",
|
|
1084
|
+
ArrowLeft: "",
|
|
1085
|
+
ArrowRight: ""
|
|
1086
|
+
}[t.key] ?? t.key : t.key) {
|
|
1087
|
+
case "ArrowLeft":
|
|
1088
|
+
o = (i - 1 + r.length) % r.length;
|
|
1089
|
+
break;
|
|
1090
|
+
case "ArrowRight":
|
|
1091
|
+
o = (i + 1) % r.length;
|
|
1092
|
+
break;
|
|
1093
|
+
case "Home":
|
|
1094
|
+
o = 0;
|
|
1095
|
+
break;
|
|
1096
|
+
case "End":
|
|
1097
|
+
o = r.length - 1;
|
|
1098
|
+
break;
|
|
1099
|
+
default: return;
|
|
1100
|
+
}
|
|
1101
|
+
t.preventDefault();
|
|
1102
|
+
let s = r[o];
|
|
1103
|
+
s && (s.id !== e && n(s.id), t.currentTarget.querySelectorAll("[role=\"tab\"]")[o]?.focus());
|
|
1104
|
+
},
|
|
1105
|
+
role: "tablist",
|
|
1106
|
+
"aria-orientation": a === "vertical" ? "vertical" : void 0,
|
|
1107
|
+
"aria-label": o,
|
|
1108
|
+
"aria-labelledby": s,
|
|
1109
|
+
children: r.map((t) => /* @__PURE__ */ A("button", {
|
|
1110
|
+
"aria-controls": t.panelId,
|
|
1111
|
+
"aria-selected": t.id === e,
|
|
1112
|
+
className: "game-ui-tab",
|
|
1113
|
+
style: X(t.hue ?? i),
|
|
1114
|
+
id: `${l}-${t.id}`,
|
|
1115
|
+
onClick: n ? () => n(t.id) : void 0,
|
|
1116
|
+
role: "tab",
|
|
1117
|
+
tabIndex: t.id === e ? 0 : -1,
|
|
1118
|
+
type: "button",
|
|
1119
|
+
"data-game-ui-paint": "",
|
|
1120
|
+
children: [
|
|
1121
|
+
/* @__PURE__ */ k(J, {}),
|
|
1122
|
+
t.label,
|
|
1123
|
+
/* @__PURE__ */ k(Y, {})
|
|
1124
|
+
]
|
|
1125
|
+
}, t.id))
|
|
1126
|
+
});
|
|
1127
|
+
}
|
|
1128
|
+
//#endregion
|
|
1129
|
+
//#region src/controls/GameTextArea/GameTextArea.tsx
|
|
1130
|
+
var Et = w(function({ className: e, invalid: t, hue: n, rows: r = 3, ...i }, a) {
|
|
1131
|
+
return /* @__PURE__ */ k("textarea", {
|
|
1132
|
+
className: [
|
|
1133
|
+
"game-ui-input",
|
|
1134
|
+
"game-ui-textarea",
|
|
1135
|
+
e
|
|
1136
|
+
].filter(Boolean).join(" "),
|
|
1137
|
+
"data-invalid": t ? "true" : void 0,
|
|
1138
|
+
ref: a,
|
|
1139
|
+
rows: r,
|
|
1140
|
+
...i,
|
|
1141
|
+
style: {
|
|
1142
|
+
...X(n),
|
|
1143
|
+
...i.style
|
|
1144
|
+
},
|
|
1145
|
+
"aria-invalid": i["aria-invalid"] ?? (t || void 0),
|
|
1146
|
+
"data-game-ui-paint": ""
|
|
1147
|
+
});
|
|
1148
|
+
});
|
|
1149
|
+
//#endregion
|
|
1150
|
+
//#region src/controls/GameToggle/GameToggle.tsx
|
|
1151
|
+
function Dt({ checked: e, disabled: t, label: n, onClick: r, hue: i }) {
|
|
1152
|
+
return /* @__PURE__ */ A("button", {
|
|
1153
|
+
type: "button",
|
|
1154
|
+
className: "game-ui-toggle",
|
|
1155
|
+
role: "switch",
|
|
1156
|
+
"aria-checked": e,
|
|
1157
|
+
disabled: t,
|
|
1158
|
+
onClick: r,
|
|
1159
|
+
"data-game-ui-paint": "",
|
|
1160
|
+
style: X(i),
|
|
1161
|
+
children: [
|
|
1162
|
+
/* @__PURE__ */ k(J, {}),
|
|
1163
|
+
/* @__PURE__ */ k("span", { children: n }),
|
|
1164
|
+
/* @__PURE__ */ k(Y, {}),
|
|
1165
|
+
/* @__PURE__ */ k("span", {
|
|
1166
|
+
className: "game-ui-toggle-track",
|
|
1167
|
+
"aria-hidden": "true",
|
|
1168
|
+
children: /* @__PURE__ */ k("span", { className: "game-ui-toggle-thumb" })
|
|
1169
|
+
})
|
|
1170
|
+
]
|
|
1171
|
+
});
|
|
1172
|
+
}
|
|
1173
|
+
//#endregion
|
|
1174
|
+
//#region src/feedback/GameBadge/GameBadge.tsx
|
|
1175
|
+
function $({ children: e, className: t, tone: n = "neutral" }) {
|
|
1176
|
+
return /* @__PURE__ */ A("span", {
|
|
1177
|
+
className: ["game-ui-badge", t].filter(Boolean).join(" "),
|
|
1178
|
+
"data-badge-tone": n,
|
|
1179
|
+
"data-game-ui-paint": "",
|
|
1180
|
+
"data-game-ui-meaning": n !== "neutral" && n !== "danger" ? "true" : void 0,
|
|
1181
|
+
"data-game-ui-danger": n === "danger" ? "true" : void 0,
|
|
1182
|
+
style: X(n === "success" ? "leaf" : n === "warning" ? "sun" : "sky"),
|
|
1183
|
+
children: [/* @__PURE__ */ k(J, {
|
|
1184
|
+
static: !0,
|
|
1185
|
+
maxWobble: 1
|
|
1186
|
+
}), e]
|
|
1187
|
+
});
|
|
1188
|
+
}
|
|
1189
|
+
//#endregion
|
|
1190
|
+
//#region src/feedback/GameEmptyState/GameEmptyState.tsx
|
|
1191
|
+
function Ot({ action: e, className: t, description: n, icon: r, title: i }) {
|
|
1192
|
+
return /* @__PURE__ */ A("div", {
|
|
1193
|
+
className: ["game-ui-empty-state", t].filter(Boolean).join(" "),
|
|
1194
|
+
children: [
|
|
1195
|
+
r ? /* @__PURE__ */ k(Q, {
|
|
1196
|
+
icon: r,
|
|
1197
|
+
size: "lg"
|
|
1198
|
+
}) : null,
|
|
1199
|
+
/* @__PURE__ */ k("strong", {
|
|
1200
|
+
className: "game-ui-empty-state-title",
|
|
1201
|
+
children: i
|
|
1202
|
+
}),
|
|
1203
|
+
n ? /* @__PURE__ */ k("p", {
|
|
1204
|
+
className: "game-ui-empty-state-body",
|
|
1205
|
+
children: n
|
|
1206
|
+
}) : null,
|
|
1207
|
+
e ? /* @__PURE__ */ k("div", {
|
|
1208
|
+
className: "game-ui-empty-state-action",
|
|
1209
|
+
children: e
|
|
1210
|
+
}) : null
|
|
1211
|
+
]
|
|
1212
|
+
});
|
|
1213
|
+
}
|
|
1214
|
+
//#endregion
|
|
1215
|
+
//#region src/feedback/GameLoadingState/GameLoadingState.tsx
|
|
1216
|
+
function kt({ label: e, tone: t = "loading" }) {
|
|
1217
|
+
return /* @__PURE__ */ A("div", {
|
|
1218
|
+
className: "game-ui-loading-state",
|
|
1219
|
+
"data-loading-tone": t,
|
|
1220
|
+
role: t === "error" ? "alert" : "status",
|
|
1221
|
+
children: [/* @__PURE__ */ k(Q, {
|
|
1222
|
+
icon: t === "error" ? "alert" : "timer",
|
|
1223
|
+
size: "lg"
|
|
1224
|
+
}), /* @__PURE__ */ k("span", { children: e })]
|
|
1225
|
+
});
|
|
1226
|
+
}
|
|
1227
|
+
//#endregion
|
|
1228
|
+
//#region src/feedback/GameProgress/geometry.ts
|
|
1229
|
+
function At(e, t, n = 0, r = 4) {
|
|
1230
|
+
let i = Number.isFinite(t) ? Math.min(1, Math.max(0, t)) : 0, a = Number.isFinite(e) ? Math.max(1, e) : 1, o = r, s = o + 10;
|
|
1231
|
+
if (i === 0) return "M0 0Z";
|
|
1232
|
+
if (i === 1) return `M0 0H${a + 2 * o}V${s + o}H0Z`;
|
|
1233
|
+
let c = o + i * a, l = Math.min(1.2, i * a * .3), u = Math.min(1.4, Math.max(-1.4, Number.isFinite(n) ? n : 0)), d = (e) => Math.round(e * 1e3) / 1e3;
|
|
1234
|
+
return `M0 0H${d(c)}V${o}C${d(c - l + u)} ${o + 2} ${d(c - l - u)} ${s - 2} ${d(c)} ${s}V${s + o}H0Z`;
|
|
1235
|
+
}
|
|
1236
|
+
//#endregion
|
|
1237
|
+
//#region src/feedback/GameProgress/controller.ts
|
|
1238
|
+
function jt(e, t, n, r) {
|
|
1239
|
+
let i = e.parentElement, a = e.querySelector("[data-progress-track]"), o = e.querySelector("[data-progress-clip]"), s = e.querySelector("[data-progress-front]"), c = 0, l = n, u = n, d = n, f, p = 0, m = !1, h = (e, t) => {
|
|
1240
|
+
e.getAttribute("d") !== t && e.setAttribute("d", t);
|
|
1241
|
+
}, g = (e = 0) => h(s, At(c || 100, l, e)), _ = () => {
|
|
1242
|
+
f !== void 0 && cancelAnimationFrame(f), f = void 0;
|
|
1243
|
+
}, v = () => {
|
|
1244
|
+
_(), l = u, g(), e.dataset.progressMotion = "static";
|
|
1245
|
+
}, y = () => {
|
|
1246
|
+
let n = Number.parseFloat(getComputedStyle(i).width) || i.clientWidth;
|
|
1247
|
+
if (!n || n === c) return;
|
|
1248
|
+
c = n, e.setAttribute("viewBox", `0 0 ${c + 8} 18`);
|
|
1249
|
+
let r = H(V(c, 10, 5), 1, 0, t, 4);
|
|
1250
|
+
h(a, r), h(o, r), e.dataset.progressReady = "true", g(), f === void 0 && (e.dataset.progressMotion = "static");
|
|
1251
|
+
}, b = (t) => {
|
|
1252
|
+
if (f = void 0, m) return;
|
|
1253
|
+
if (document.hidden || !e.isConnected) {
|
|
1254
|
+
v();
|
|
1255
|
+
return;
|
|
1256
|
+
}
|
|
1257
|
+
let n = Math.min(1, Math.max(0, (t - p) / 600));
|
|
1258
|
+
l = d + (u - d) * (1 - (1 - n) ** 3), g(Math.sin(n * Math.PI * 6) * (1 - n) * 1.4 * Math.sign(u - d)), n < 1 ? f = requestAnimationFrame(b) : v();
|
|
1259
|
+
}, x = () => {
|
|
1260
|
+
document.hidden && v();
|
|
1261
|
+
};
|
|
1262
|
+
y();
|
|
1263
|
+
let S = new ResizeObserver(y);
|
|
1264
|
+
return S.observe(i), document.addEventListener("visibilitychange", x), {
|
|
1265
|
+
update(t) {
|
|
1266
|
+
let n = Number.isFinite(t) ? Math.min(1, Math.max(0, t)) : 0;
|
|
1267
|
+
if (n !== u) {
|
|
1268
|
+
if (_(), d = l, u = n, !r || document.hidden) {
|
|
1269
|
+
v();
|
|
1270
|
+
return;
|
|
1271
|
+
}
|
|
1272
|
+
e.dataset.progressMotion = "moving", p = performance.now(), f = requestAnimationFrame(b);
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
dispose() {
|
|
1276
|
+
m = !0, _(), S.disconnect(), document.removeEventListener("visibilitychange", x);
|
|
1277
|
+
}
|
|
1278
|
+
};
|
|
1279
|
+
}
|
|
1280
|
+
//#endregion
|
|
1281
|
+
//#region src/feedback/GameProgress/GameProgress.tsx
|
|
1282
|
+
function Mt({ value: e, max: t = 100, label: n, showValue: r = !1, valueLabel: i, className: a }) {
|
|
1283
|
+
let o = !Number.isFinite(t) || t <= 0 ? 100 : t, s = Math.max(0, Math.min(o, Number.isFinite(e) ? e : 0)), c = s / o, l = c * 100, u = `progress-${T().replace(/[^a-zA-Z0-9_-]/g, "")}`, d = m(), f = D(null), p = D(null), h = D(c).current, g = D(c);
|
|
1284
|
+
g.current = c, E(() => {
|
|
1285
|
+
if (!f.current) return;
|
|
1286
|
+
let e = jt(f.current, B(u), g.current, !d);
|
|
1287
|
+
return p.current = e, () => {
|
|
1288
|
+
e.dispose(), p.current = null;
|
|
1289
|
+
};
|
|
1290
|
+
}, [u, d]), E(() => p.current?.update(c), [c, d]);
|
|
1291
|
+
let _ = H(V(100, 10, 5), 1, 0, B(u), 4);
|
|
1292
|
+
return /* @__PURE__ */ A("div", {
|
|
1293
|
+
className: ["game-ui-progress", a].filter(Boolean).join(" "),
|
|
1294
|
+
children: [/* @__PURE__ */ k("div", {
|
|
1295
|
+
role: "progressbar",
|
|
1296
|
+
"aria-label": n,
|
|
1297
|
+
"aria-valuemin": 0,
|
|
1298
|
+
"aria-valuemax": o,
|
|
1299
|
+
"aria-valuenow": s,
|
|
1300
|
+
"aria-valuetext": i || void 0,
|
|
1301
|
+
className: "game-ui-progress-track",
|
|
1302
|
+
children: /* @__PURE__ */ A("svg", {
|
|
1303
|
+
ref: f,
|
|
1304
|
+
viewBox: "0 0 108 18",
|
|
1305
|
+
preserveAspectRatio: "none",
|
|
1306
|
+
"aria-hidden": "true",
|
|
1307
|
+
focusable: "false",
|
|
1308
|
+
children: [
|
|
1309
|
+
/* @__PURE__ */ A("defs", { children: [/* @__PURE__ */ k("clipPath", {
|
|
1310
|
+
id: `${u}-clip`,
|
|
1311
|
+
children: /* @__PURE__ */ k("path", {
|
|
1312
|
+
"data-progress-clip": "",
|
|
1313
|
+
d: _
|
|
1314
|
+
})
|
|
1315
|
+
}), /* @__PURE__ */ A("linearGradient", {
|
|
1316
|
+
id: `${u}-fill`,
|
|
1317
|
+
children: [/* @__PURE__ */ k("stop", {
|
|
1318
|
+
offset: "0%",
|
|
1319
|
+
style: { stopColor: "var(--game-ui-cta-from)" }
|
|
1320
|
+
}), /* @__PURE__ */ k("stop", {
|
|
1321
|
+
offset: "100%",
|
|
1322
|
+
style: { stopColor: "var(--game-ui-cta-to)" }
|
|
1323
|
+
})]
|
|
1324
|
+
})] }),
|
|
1325
|
+
/* @__PURE__ */ k("path", {
|
|
1326
|
+
"data-progress-track": "",
|
|
1327
|
+
d: _
|
|
1328
|
+
}),
|
|
1329
|
+
/* @__PURE__ */ k("path", {
|
|
1330
|
+
"data-progress-front": "",
|
|
1331
|
+
d: At(100, h),
|
|
1332
|
+
clipPath: `url(#${u}-clip)`,
|
|
1333
|
+
fill: `url(#${u}-fill)`
|
|
1334
|
+
})
|
|
1335
|
+
]
|
|
1336
|
+
})
|
|
1337
|
+
}), i || r ? /* @__PURE__ */ k("span", {
|
|
1338
|
+
className: "game-ui-progress-value",
|
|
1339
|
+
children: i || `${Math.round(l)}%`
|
|
1340
|
+
}) : null]
|
|
1341
|
+
});
|
|
1342
|
+
}
|
|
1343
|
+
//#endregion
|
|
1344
|
+
//#region src/feedback/GameToast/GameToast.tsx
|
|
1345
|
+
function Nt({ children: e, tone: t = "info" }) {
|
|
1346
|
+
return /* @__PURE__ */ A("div", {
|
|
1347
|
+
className: "game-ui-toast",
|
|
1348
|
+
"data-toast-tone": t,
|
|
1349
|
+
"data-game-ui-paint": "",
|
|
1350
|
+
"data-game-ui-meaning": t === "success" ? "true" : void 0,
|
|
1351
|
+
"data-game-ui-danger": t === "danger" ? "true" : void 0,
|
|
1352
|
+
style: X(t === "success" ? "leaf" : "sky"),
|
|
1353
|
+
role: t === "danger" ? "alert" : "status",
|
|
1354
|
+
children: [/* @__PURE__ */ k(J, { static: !0 }), e]
|
|
1355
|
+
});
|
|
1356
|
+
}
|
|
1357
|
+
//#endregion
|
|
1358
|
+
//#region src/feedback/GameTooltip/GameTooltip.tsx
|
|
1359
|
+
function Pt({ children: e, label: t }) {
|
|
1360
|
+
let n = T();
|
|
1361
|
+
return /* @__PURE__ */ A("span", {
|
|
1362
|
+
className: "game-ui-tooltip",
|
|
1363
|
+
children: [Ve(e) ? ze(e, { "aria-describedby": [e.props["aria-describedby"], n].filter(Boolean).join(" ") }) : e, /* @__PURE__ */ A("span", {
|
|
1364
|
+
id: n,
|
|
1365
|
+
role: "tooltip",
|
|
1366
|
+
"data-game-ui-paint": "",
|
|
1367
|
+
children: [/* @__PURE__ */ k(J, { static: !0 }), t]
|
|
1368
|
+
})]
|
|
1369
|
+
});
|
|
1370
|
+
}
|
|
1371
|
+
//#endregion
|
|
1372
|
+
//#region src/containers/GameDialog/GameDialog.tsx
|
|
1373
|
+
function Ft({ children: e, className: t, title: n }) {
|
|
1374
|
+
let r = T();
|
|
1375
|
+
return /* @__PURE__ */ A("section", {
|
|
1376
|
+
"aria-labelledby": r,
|
|
1377
|
+
"aria-modal": "true",
|
|
1378
|
+
className: ["game-ui-dialog", t].filter(Boolean).join(" "),
|
|
1379
|
+
role: "dialog",
|
|
1380
|
+
children: [/* @__PURE__ */ k("h2", {
|
|
1381
|
+
id: r,
|
|
1382
|
+
children: n
|
|
1383
|
+
}), /* @__PURE__ */ k("div", {
|
|
1384
|
+
className: "game-ui-dialog-body",
|
|
1385
|
+
children: e
|
|
1386
|
+
})]
|
|
1387
|
+
});
|
|
1388
|
+
}
|
|
1389
|
+
//#endregion
|
|
1390
|
+
//#region src/containers/GameHistoryPanel/GameHistoryPanel.tsx
|
|
1391
|
+
function It({ entries: e, label: t }) {
|
|
1392
|
+
return /* @__PURE__ */ k("section", {
|
|
1393
|
+
"aria-label": t,
|
|
1394
|
+
className: "game-ui-history",
|
|
1395
|
+
children: e.map((e) => /* @__PURE__ */ A("article", {
|
|
1396
|
+
className: "game-ui-history-entry",
|
|
1397
|
+
"data-entry-kind": e.kind,
|
|
1398
|
+
children: [/* @__PURE__ */ A("div", {
|
|
1399
|
+
className: "game-ui-history-entry-header",
|
|
1400
|
+
children: [/* @__PURE__ */ k("strong", { children: e.speaker }), /* @__PURE__ */ k("span", { children: e.meta })]
|
|
1401
|
+
}), /* @__PURE__ */ k("p", { children: e.text })]
|
|
1402
|
+
}, e.id))
|
|
1403
|
+
});
|
|
1404
|
+
}
|
|
1405
|
+
//#endregion
|
|
1406
|
+
//#region src/containers/GameHudActions/GameHudActions.tsx
|
|
1407
|
+
function Lt({ children: e, className: t, label: n, ...r }) {
|
|
1408
|
+
return /* @__PURE__ */ k("nav", {
|
|
1409
|
+
"aria-label": n,
|
|
1410
|
+
className: ["game-ui-hud-actions", t].filter(Boolean).join(" "),
|
|
1411
|
+
"data-safe-area": "hud-actions",
|
|
1412
|
+
...r,
|
|
1413
|
+
children: e
|
|
1414
|
+
});
|
|
1415
|
+
}
|
|
1416
|
+
//#endregion
|
|
1417
|
+
//#region src/containers/GamePanel/GamePanel.tsx
|
|
1418
|
+
function Rt({ children: e, className: t, title: n, tone: r = "default", ...i }) {
|
|
1419
|
+
let a = ["game-ui-panel", t].filter(Boolean).join(" ");
|
|
1420
|
+
return /* @__PURE__ */ A("section", {
|
|
1421
|
+
...i,
|
|
1422
|
+
className: a,
|
|
1423
|
+
"data-panel-tone": r,
|
|
1424
|
+
children: [n ? /* @__PURE__ */ k("h3", { children: n }) : null, e]
|
|
1425
|
+
});
|
|
1426
|
+
}
|
|
1427
|
+
//#endregion
|
|
1428
|
+
//#region src/game/FirstSessionOnboarding/FirstSessionOnboarding.tsx
|
|
1429
|
+
function zt({ labels: e, onDismiss: t, open: n }) {
|
|
1430
|
+
return n ? /* @__PURE__ */ A("aside", {
|
|
1431
|
+
"aria-labelledby": "swimmer-first-session-onboarding-title",
|
|
1432
|
+
"aria-modal": "true",
|
|
1433
|
+
className: "swimmer-first-session-onboarding",
|
|
1434
|
+
role: "dialog",
|
|
1435
|
+
children: [/* @__PURE__ */ k("div", { className: "swimmer-first-session-onboarding-scrim" }), /* @__PURE__ */ A("div", {
|
|
1436
|
+
className: "swimmer-first-session-onboarding-card",
|
|
1437
|
+
children: [
|
|
1438
|
+
/* @__PURE__ */ k(Q, {
|
|
1439
|
+
icon: "trophy",
|
|
1440
|
+
size: "lg"
|
|
1441
|
+
}),
|
|
1442
|
+
/* @__PURE__ */ k($, {
|
|
1443
|
+
tone: "warning",
|
|
1444
|
+
children: e.badge
|
|
1445
|
+
}),
|
|
1446
|
+
/* @__PURE__ */ k("h2", {
|
|
1447
|
+
id: "swimmer-first-session-onboarding-title",
|
|
1448
|
+
children: e.title
|
|
1449
|
+
}),
|
|
1450
|
+
/* @__PURE__ */ k("p", { children: e.body }),
|
|
1451
|
+
/* @__PURE__ */ k("ol", {
|
|
1452
|
+
className: "swimmer-first-session-onboarding-steps",
|
|
1453
|
+
children: e.steps.map((e, t) => /* @__PURE__ */ A("li", { children: [
|
|
1454
|
+
/* @__PURE__ */ k("span", { children: String(t + 1).padStart(2, "0") }),
|
|
1455
|
+
/* @__PURE__ */ k("strong", { children: e.title }),
|
|
1456
|
+
/* @__PURE__ */ k("small", { children: e.body })
|
|
1457
|
+
] }, e.title))
|
|
1458
|
+
}),
|
|
1459
|
+
/* @__PURE__ */ A("div", {
|
|
1460
|
+
className: "swimmer-first-session-onboarding-actions",
|
|
1461
|
+
children: [/* @__PURE__ */ k(Z, {
|
|
1462
|
+
onClick: t,
|
|
1463
|
+
variant: "primary",
|
|
1464
|
+
children: e.start
|
|
1465
|
+
}), /* @__PURE__ */ k(Z, {
|
|
1466
|
+
onClick: t,
|
|
1467
|
+
variant: "ghost",
|
|
1468
|
+
children: e.skip
|
|
1469
|
+
})]
|
|
1470
|
+
})
|
|
1471
|
+
]
|
|
1472
|
+
})]
|
|
1473
|
+
}) : null;
|
|
1474
|
+
}
|
|
1475
|
+
//#endregion
|
|
1476
|
+
//#region src/game/GameAvatar/GameAvatar.tsx
|
|
1477
|
+
function Bt(e) {
|
|
1478
|
+
let t = e.trim().split(/\s+/).filter(Boolean);
|
|
1479
|
+
return t.length === 0 ? "?" : t.slice(0, 2).map((e) => e[0] ?? "").join("").toUpperCase();
|
|
1480
|
+
}
|
|
1481
|
+
function Vt({ className: e, name: t, size: n = "md", src: r, status: i = "none", surface: a = "flat" }) {
|
|
1482
|
+
return /* @__PURE__ */ A("span", {
|
|
1483
|
+
className: ["game-ui-avatar", e].filter(Boolean).join(" "),
|
|
1484
|
+
"data-avatar-size": n,
|
|
1485
|
+
"data-avatar-status": i,
|
|
1486
|
+
"data-game-ui-surface": a === "plaque" ? "plaque" : void 0,
|
|
1487
|
+
children: [r ? /* @__PURE__ */ k("img", {
|
|
1488
|
+
alt: t,
|
|
1489
|
+
src: r
|
|
1490
|
+
}) : /* @__PURE__ */ A(We, { children: [/* @__PURE__ */ k("span", {
|
|
1491
|
+
"aria-hidden": "true",
|
|
1492
|
+
className: "game-ui-avatar-initials",
|
|
1493
|
+
children: Bt(t)
|
|
1494
|
+
}), /* @__PURE__ */ k("span", {
|
|
1495
|
+
className: "game-ui-sr-only",
|
|
1496
|
+
children: t
|
|
1497
|
+
})] }), i === "none" ? null : /* @__PURE__ */ k("span", {
|
|
1498
|
+
"aria-hidden": "true",
|
|
1499
|
+
className: "game-ui-avatar-status"
|
|
1500
|
+
})]
|
|
1501
|
+
});
|
|
1502
|
+
}
|
|
1503
|
+
//#endregion
|
|
1504
|
+
//#region src/game/GameRadialMenu/GameRadialMenu.tsx
|
|
1505
|
+
function Ht({ items: e, label: t, onSelect: n }) {
|
|
1506
|
+
return /* @__PURE__ */ k("div", {
|
|
1507
|
+
"aria-label": t,
|
|
1508
|
+
className: "game-ui-radial-menu",
|
|
1509
|
+
role: "group",
|
|
1510
|
+
style: { "--radial-count": e.length },
|
|
1511
|
+
children: e.map((e, t) => /* @__PURE__ */ A("button", {
|
|
1512
|
+
className: "game-ui-radial-item",
|
|
1513
|
+
onClick: n ? () => n(e.id) : void 0,
|
|
1514
|
+
style: { "--radial-index": t },
|
|
1515
|
+
type: "button",
|
|
1516
|
+
"data-game-ui-paint": "",
|
|
1517
|
+
children: [/* @__PURE__ */ k(J, {}), e.label]
|
|
1518
|
+
}, e.id))
|
|
1519
|
+
});
|
|
1520
|
+
}
|
|
1521
|
+
//#endregion
|
|
1522
|
+
//#region src/game/GameStageTile/GameStageTile.tsx
|
|
1523
|
+
function Ut({ badge: e, className: t, icon: n, kicker: r, selected: i = !1, summary: a, title: o, tone: s = "daily", type: c = "button", ...l }) {
|
|
1524
|
+
return /* @__PURE__ */ A("button", {
|
|
1525
|
+
"aria-pressed": i,
|
|
1526
|
+
className: ["game-ui-stage-tile", t].filter(Boolean).join(" "),
|
|
1527
|
+
"data-stage-tone": s,
|
|
1528
|
+
type: c,
|
|
1529
|
+
...l,
|
|
1530
|
+
"data-game-ui-paint": "",
|
|
1531
|
+
children: [
|
|
1532
|
+
/* @__PURE__ */ k(J, {}),
|
|
1533
|
+
n ? /* @__PURE__ */ k(Q, {
|
|
1534
|
+
icon: n,
|
|
1535
|
+
size: "lg"
|
|
1536
|
+
}) : null,
|
|
1537
|
+
/* @__PURE__ */ A("span", {
|
|
1538
|
+
className: "game-ui-stage-tile-copy",
|
|
1539
|
+
children: [
|
|
1540
|
+
/* @__PURE__ */ k("small", { children: r }),
|
|
1541
|
+
/* @__PURE__ */ k("strong", { children: o }),
|
|
1542
|
+
/* @__PURE__ */ k("span", { children: a })
|
|
1543
|
+
]
|
|
1544
|
+
}),
|
|
1545
|
+
e ? /* @__PURE__ */ k($, {
|
|
1546
|
+
tone: i ? "success" : "neutral",
|
|
1547
|
+
children: e
|
|
1548
|
+
}) : null,
|
|
1549
|
+
/* @__PURE__ */ k(Y, {})
|
|
1550
|
+
]
|
|
1551
|
+
});
|
|
1552
|
+
}
|
|
1553
|
+
//#endregion
|
|
1554
|
+
export { Y as A, qe as B, yt as C, Z as D, gt as E, j as F, Ge as H, Ye as I, Xe as L, at as M, it as N, X as O, N as P, Ze as R, xt as S, _t as T, Je as V, Tt as _, Rt as a, St as b, Ft as c, Mt as d, kt as f, Et as g, Dt as h, zt as i, st as j, J as k, Pt as l, $ as m, Ht as n, Lt as o, Ot as p, Vt as r, It as s, Ut as t, Nt as u, wt as v, vt as w, Q as x, Ct as y, Ke as z };
|