From 43ace1eccbe9e73d1db23915d8c2773e0f6a1f40 Mon Sep 17 00:00:00 2001 From: Irfan Maulana Date: Wed, 23 Oct 2024 08:29:08 +0700 Subject: [PATCH] BREAK: Migrate to Svelte 5 --- .all-contributorsrc | 75 ++- README.md | 4 +- package.json | 16 +- pnpm-lock.yaml | 475 +++++++----------- scripts/makeSitemap.js | 4 +- src/app.html | 2 +- src/error.html | 2 +- src/lib/Breadcrumb.svelte | 6 +- src/lib/CardShadow.svelte | 25 +- src/lib/Clock.svelte | 14 +- src/lib/Drawer.svelte | 14 +- src/lib/Footer.svelte | 6 +- src/lib/Gradient.svelte | 10 +- src/lib/Header.svelte | 9 +- src/lib/JsonSurahViewer.svelte | 6 +- src/lib/LastReadVerses.svelte | 2 +- src/lib/MetaTag.svelte | 12 +- src/lib/Pagination.svelte | 12 +- src/lib/PaginationButton.svelte | 10 +- src/lib/PinnedSurah.svelte | 2 +- src/lib/PrayerTimeCard.svelte | 8 +- src/lib/SearchInput.svelte | 12 +- src/lib/SeoText.svelte | 8 +- src/lib/SurahCard.svelte | 16 +- src/lib/SurahList.svelte | 16 +- src/lib/ThemeSwicther.svelte | 9 +- src/lib/Toaster.svelte | 2 +- src/lib/VerseAudioPlayer.svelte | 26 +- src/lib/VerseAudioPlayerTrigger.svelte | 12 +- src/lib/VerseCard.svelte | 35 +- src/lib/VerseSaveLastRead.svelte | 14 +- src/lib/constants.ts | 14 +- src/lib/icons/ArrowDownTray.svelte | 9 +- src/lib/icons/ArrowLeftIcon.svelte | 9 +- src/lib/icons/ArrowRightIcon.svelte | 9 +- src/lib/icons/ArrowUpTray.svelte | 9 +- src/lib/icons/BookmarkIcon.svelte | 9 +- src/lib/icons/BookmarkSlashIcon.svelte | 9 +- src/lib/icons/BookmarkSolidIcon.svelte | 9 +- src/lib/icons/CheckCircleIcon.svelte | 9 +- src/lib/icons/ChevronDownIcon.svelte | 9 +- src/lib/icons/ChevronRightIcon.svelte | 9 +- src/lib/icons/ChevronUpIcon.svelte | 9 +- src/lib/icons/CodeIcon.svelte | 9 +- src/lib/icons/CopyIcon.svelte | 9 +- src/lib/icons/DocumentTextIcon.svelte | 9 +- src/lib/icons/ExclamationTriangleIcon.svelte | 9 +- src/lib/icons/EyeIcon.svelte | 9 +- src/lib/icons/FireIcon.svelte | 9 +- src/lib/icons/GalleryIcon.svelte | 9 +- src/lib/icons/GoogleIcon.svelte | 9 +- src/lib/icons/HashtagIcon.svelte | 9 +- src/lib/icons/HeartIcon.svelte | 9 +- src/lib/icons/HeartSolidIcon.svelte | 9 +- src/lib/icons/HomeIcon.svelte | 9 +- src/lib/icons/InformationCircleIcon.svelte | 9 +- src/lib/icons/LinkIcon.svelte | 9 +- src/lib/icons/MarkerIcon.svelte | 9 +- src/lib/icons/NewspaperIcon.svelte | 9 +- src/lib/icons/PauseIcon.svelte | 9 +- src/lib/icons/PlayIcon.svelte | 9 +- src/lib/icons/PresentationChartIcon.svelte | 9 +- src/lib/icons/ResetIcon.svelte | 9 +- src/lib/icons/SearchIcon.svelte | 9 +- src/lib/icons/SettingIcon.svelte | 9 +- src/lib/icons/ShareIcon.svelte | 9 +- src/lib/icons/ShieldCheckIcon.svelte | 9 +- src/lib/icons/SignOutIcon.svelte | 9 +- src/lib/icons/SpeakerWaveIcon.svelte | 9 +- src/lib/icons/SpeakerXMarkIcon.svelte | 9 +- src/lib/icons/XMarkIcon.svelte | 9 +- src/lib/ui/Badge.svelte | 12 +- src/lib/ui/BottomSheet.svelte | 17 +- src/lib/ui/Button.svelte | 36 +- src/lib/views/SurahPage.svelte | 18 +- src/lib/views/VersePage.svelte | 20 +- src/routes/+layout.svelte | 9 +- src/routes/[surahid]/+page.svelte | 12 +- src/routes/[surahid]/[verseid]/+page.svelte | 10 +- src/routes/about/+page.svelte | 5 +- src/routes/all-surah/+page.svelte | 4 +- src/routes/amp/[surahid]/+page.svelte | 10 +- .../amp/[surahid]/[verseid]/+page.svelte | 9 +- src/routes/jadwal-sholat/+page.svelte | 22 +- src/routes/juz-amma/+page.svelte | 4 +- src/routes/settings/+page.svelte | 26 +- src/routes/surah-madaniyah/+page.svelte | 4 +- src/routes/surah-makkiyah/+page.svelte | 4 +- src/routes/surah/[surahid]/+page.svelte | 9 +- .../surah/[surahid]/[verseid]/+page.svelte | 9 +- src/routes/sync/+page.svelte | 4 +- src/routes/tasbih/+page.svelte | 12 +- src/service-worker.js | 2 +- svelte.config.js | 22 +- tailwind.config.js | 77 ++- tsconfig.json | 4 +- 96 files changed, 916 insertions(+), 674 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 041dd0a352..6265996d06 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1,44 +1,35 @@ { - "files": [ - "README.md" - ], - "imageSize": 100, - "commit": false, - "contributors": [ - { - "login": "mazipan", - "name": "Irfan Maulana", - "avatar_url": "https://avatars0.githubusercontent.com/u/7221389?v=4", - "profile": "https://www.mazipan.xyz/", - "contributions": [ - "code", - "maintenance" - ] - }, - { - "login": "azulkipli", - "name": "azul", - "avatar_url": "https://avatars2.githubusercontent.com/u/8231792?v=4", - "profile": "http://altera.id", - "contributions": [ - "bug" - ] - }, - { - "login": "Abizrh", - "name": "Abizarah | 比周", - "avatar_url": "https://avatars.githubusercontent.com/u/106458960?v=4", - "profile": "https://github.com/Abizrh", - "contributions": [ - "code" - ] - } - ], - "contributorsPerLine": 7, - "projectName": "baca-quran.id", - "projectOwner": "mazipan", - "repoType": "github", - "repoHost": "https://github.com", - "commitType": "docs", - "commitConvention": "angular" + "files": ["README.md"], + "imageSize": 100, + "commit": false, + "contributors": [ + { + "login": "mazipan", + "name": "Irfan Maulana", + "avatar_url": "https://avatars0.githubusercontent.com/u/7221389?v=4", + "profile": "https://www.mazipan.xyz/", + "contributions": ["code", "maintenance"] + }, + { + "login": "azulkipli", + "name": "azul", + "avatar_url": "https://avatars2.githubusercontent.com/u/8231792?v=4", + "profile": "http://altera.id", + "contributions": ["bug"] + }, + { + "login": "Abizrh", + "name": "Abizarah | 比周", + "avatar_url": "https://avatars.githubusercontent.com/u/106458960?v=4", + "profile": "https://github.com/Abizrh", + "contributions": ["code"] + } + ], + "contributorsPerLine": 7, + "projectName": "baca-quran.id", + "projectOwner": "mazipan", + "repoType": "github", + "repoHost": "https://github.com", + "commitType": "docs", + "commitConvention": "angular" } diff --git a/README.md b/README.md index e983f76cd8..a65325188b 100644 --- a/README.md +++ b/README.md @@ -88,5 +88,7 @@ Copyright © 2018 by Irfan Maulana Thanks goes to these wonderful people + [![Contributors](https://contrib.rocks/image?repo=mazipan/baca-quran.id)](https://github.com/mazipan/baca-quran.id/graphs/contributors) - \ No newline at end of file + + diff --git a/package.json b/package.json index 2d4ead28b3..d1257fd05d 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@sveltejs/adapter-auto": "^3.3.0", "@sveltejs/adapter-static": "^3.0.5", "@sveltejs/kit": "^2.7.2", - "@sveltejs/vite-plugin-svelte": "^3.1.2", + "@sveltejs/vite-plugin-svelte": "^4.0.0", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "autoprefixer": "^10.4.20", @@ -33,21 +33,21 @@ "prettier-plugin-svelte": "^3.2.7", "schema-dts": "^1.1.2", "sitemaps": "^2.0.6", - "svelte-check": "^3.8.6", + "svelte-check": "^4.0.0", "tailwindcss": "^3.4.14", "tslib": "^2.8.0", "typescript": "^5.6.3", "vite": "^5.4.9" }, "type": "module", - "packageManager": "pnpm@9.12.2", - "engines": { - "node": "20.x", - "pnpm": "^9.12.2" - }, + "packageManager": "pnpm@9.12.2", + "engines": { + "node": "20.x", + "pnpm": "^9.12.2" + }, "dependencies": { "tw-colors": "^3.3.2", "firebase": "^11.0.1", - "svelte": "^4.2.19" + "svelte": "^5.0.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b2fbe249f3..8d1e02b186 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,24 +12,24 @@ importers: specifier: ^11.0.1 version: 11.0.1 svelte: - specifier: ^4.2.19 - version: 4.2.19 + specifier: ^5.0.0 + version: 5.0.5 tw-colors: specifier: ^3.3.2 version: 3.3.2(tailwindcss@3.4.14) devDependencies: '@sveltejs/adapter-auto': specifier: ^3.3.0 - version: 3.3.0(@sveltejs/kit@2.7.2(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)))(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3))) + version: 3.3.0(@sveltejs/kit@2.7.2(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)))(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3))) '@sveltejs/adapter-static': specifier: ^3.0.5 - version: 3.0.5(@sveltejs/kit@2.7.2(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)))(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3))) + version: 3.0.5(@sveltejs/kit@2.7.2(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)))(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3))) '@sveltejs/kit': specifier: ^2.7.2 - version: 2.7.2(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)))(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)) + version: 2.7.2(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)))(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)) '@sveltejs/vite-plugin-svelte': - specifier: ^3.1.2 - version: 3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)) + specifier: ^4.0.0 + version: 4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)) '@typescript-eslint/eslint-plugin': specifier: ^6.21.0 version: 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3) @@ -50,7 +50,7 @@ importers: version: 9.1.0(eslint@8.57.1) eslint-plugin-svelte: specifier: ^2.46.0 - version: 2.46.0(eslint@8.57.1)(svelte@4.2.19) + version: 2.46.0(eslint@8.57.1)(svelte@5.0.5) globby: specifier: ^14.0.2 version: 14.0.2 @@ -65,7 +65,7 @@ importers: version: 3.3.3 prettier-plugin-svelte: specifier: ^3.2.7 - version: 3.2.7(prettier@3.3.3)(svelte@4.2.19) + version: 3.2.7(prettier@3.3.3)(svelte@5.0.5) schema-dts: specifier: ^1.1.2 version: 1.1.2(typescript@5.6.3) @@ -73,8 +73,8 @@ importers: specifier: ^2.0.6 version: 2.0.6 svelte-check: - specifier: ^3.8.6 - version: 3.8.6(postcss-load-config@6.0.1(jiti@1.21.0)(postcss@8.4.47))(postcss@8.4.47)(svelte@4.2.19) + specifier: ^4.0.0 + version: 4.0.5(svelte@5.0.5)(typescript@5.6.3) tailwindcss: specifier: ^3.4.14 version: 3.4.14 @@ -98,8 +98,8 @@ packages: resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} engines: {node: '>=10'} - '@ampproject/remapping@2.2.1': - resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} + '@ampproject/remapping@2.3.0': + resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} '@esbuild/aix-ppc64@0.21.5': @@ -494,6 +494,10 @@ packages: resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} engines: {node: '>=6.0.0'} + '@jridgewell/gen-mapping@0.3.5': + resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} + engines: {node: '>=6.0.0'} + '@jridgewell/resolve-uri@3.1.0': resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} engines: {node: '>=6.0.0'} @@ -502,6 +506,10 @@ packages: resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} engines: {node: '>=6.0.0'} + '@jridgewell/set-array@1.2.1': + resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} + engines: {node: '>=6.0.0'} + '@jridgewell/sourcemap-codec@1.4.14': resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} @@ -514,6 +522,9 @@ packages: '@jridgewell/trace-mapping@0.3.18': resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==} + '@jridgewell/trace-mapping@0.3.25': + resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -662,19 +673,19 @@ packages: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.3 - '@sveltejs/vite-plugin-svelte-inspector@2.1.0': - resolution: {integrity: sha512-9QX28IymvBlSCqsCll5t0kQVxipsfhFFL+L2t3nTWfXnddYwxBuAEtTtlaVQpRz9c37BhJjltSeY4AJSC03SSg==} - engines: {node: ^18.0.0 || >=20} + '@sveltejs/vite-plugin-svelte-inspector@3.0.0': + resolution: {integrity: sha512-hBxSYW/66989cq9dN248omD/ziskSdIV1NqfuueuAI1z6jGcg14k9Zd98pDIEnoA6wC9kWUGuQ6adzBbWwQyRg==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22} peerDependencies: - '@sveltejs/vite-plugin-svelte': ^3.0.0 - svelte: ^4.0.0 || ^5.0.0-next.0 + '@sveltejs/vite-plugin-svelte': ^4.0.0-next.0||^4.0.0 + svelte: ^5.0.0-next.96 || ^5.0.0 vite: ^5.0.0 - '@sveltejs/vite-plugin-svelte@3.1.2': - resolution: {integrity: sha512-Txsm1tJvtiYeLUVRNqxZGKR/mI+CzuIQuc2gn+YCs9rMTowpNZ2Nqt53JdL8KF9bLhAf2ruR/dr9eZCwdTriRA==} - engines: {node: ^18.0.0 || >=20} + '@sveltejs/vite-plugin-svelte@4.0.0': + resolution: {integrity: sha512-kpVJwF+gNiMEsoHaw+FJL76IYiwBikkxYU83+BpqQLdVMff19KeRKLd2wisS8niNBMJ2omv5gG+iGDDwd8jzag==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22} peerDependencies: - svelte: ^4.0.0 || ^5.0.0-next.0 + svelte: ^5.0.0-next.96 || ^5.0.0 vite: ^5.0.0 '@types/cookie@0.6.0': @@ -692,9 +703,6 @@ packages: '@types/node@20.5.3': resolution: {integrity: sha512-ITI7rbWczR8a/S6qjAW7DMqxqFMjjTo61qZVWJ1ubPvbIQsL5D/TvwjYEalM8Kthpe3hTzOGrF2TGbAu2uyqeA==} - '@types/pug@2.0.6': - resolution: {integrity: sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==} - '@types/semver@7.5.0': resolution: {integrity: sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==} @@ -764,6 +772,16 @@ packages: peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + acorn-typescript@1.4.13: + resolution: {integrity: sha512-xsc9Xv0xlVfwp2o7sQ+GCQ1PgbkdcpWdTzrwXxO3xDMTAywVS3oXVOcOHuRjAPkS4P9b+yc/qNF15460v+jp4Q==} + peerDependencies: + acorn: '>=8.9.0' + + acorn@8.13.0: + resolution: {integrity: sha512-8zSiw54Oxrdym50NlZ9sUusyO1Z1ZchgRLWRaK6c86XJFClyCgFKetdowBg5bKxyp/u+CDBJG4Mpp0m3HLZl9w==} + engines: {node: '>=0.4.0'} + hasBin: true + acorn@8.9.0: resolution: {integrity: sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==} engines: {node: '>=0.4.0'} @@ -793,8 +811,9 @@ packages: argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} - aria-query@5.3.0: - resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} + aria-query@5.3.2: + resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==} + engines: {node: '>= 0.4'} array-union@2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} @@ -807,8 +826,9 @@ packages: peerDependencies: postcss: ^8.1.0 - axobject-query@4.0.0: - resolution: {integrity: sha512-+60uv1hiVFhHZeO+Lz0RYzsVHy5Wr1ayX0mwda9KPDVLNJgZ1T9Ny7VmFbLDzxsH0D87I86vgj3gFrjTJUYznw==} + axobject-query@4.1.0: + resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==} + engines: {node: '>= 0.4'} balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -832,9 +852,6 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true - buffer-crc32@0.2.13: - resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} - callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} @@ -854,13 +871,14 @@ packages: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} + chokidar@4.0.1: + resolution: {integrity: sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==} + engines: {node: '>= 14.16.0'} + cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} - code-red@1.0.3: - resolution: {integrity: sha512-kVwJELqiILQyG5aeuyKFbdsI1fmQy1Cmf7dQ8eGmVuJoaRVdwey7WaMknr2ZFeVSYSKT0rExsa8EGw0aoI/1QQ==} - color-convert@2.0.1: resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} engines: {node: '>=7.0.0'} @@ -890,10 +908,6 @@ packages: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} - css-tree@2.3.1: - resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} - engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} - cssesc@3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} engines: {node: '>=4'} @@ -908,6 +922,15 @@ packages: supports-color: optional: true + debug@4.3.7: + resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} @@ -915,14 +938,6 @@ packages: resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} engines: {node: '>=0.10.0'} - dequal@2.0.3: - resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} - engines: {node: '>=6'} - - detect-indent@6.1.0: - resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} - engines: {node: '>=8'} - devalue@5.1.1: resolution: {integrity: sha512-maua5KUiapvEwiEAe+XnlZ3Rh0GD+qI1J/nb9vrJc3muPXvcF/8gXYTWF76+5DAqHyDUtOIImEuo0YKE9mshVw==} @@ -950,9 +965,6 @@ packages: emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - es6-promise@3.3.1: - resolution: {integrity: sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==} - esbuild@0.21.5: resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} engines: {node: '>=12'} @@ -1013,6 +1025,9 @@ packages: resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} engines: {node: '>=0.10'} + esrap@1.2.2: + resolution: {integrity: sha512-F2pSJklxx1BlQIQgooczXCPHmcWpn6EsP5oo73LQfonG9fIlIENQ8vMmfGXeojP9MrkzUNAfyU5vdFlR9shHAw==} + esrecurse@4.3.0: resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} engines: {node: '>=4.0'} @@ -1021,9 +1036,6 @@ packages: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} - estree-walker@3.0.3: - resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} - esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} @@ -1052,6 +1064,14 @@ packages: resolution: {integrity: sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==} engines: {node: '>=0.8.0'} + fdir@6.4.2: + resolution: {integrity: sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + file-entry-cache@6.0.1: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} @@ -1130,9 +1150,6 @@ packages: globrex@0.1.2: resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} - graceful-fs@4.2.11: - resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} @@ -1202,8 +1219,8 @@ packages: resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} engines: {node: '>=8'} - is-reference@3.0.1: - resolution: {integrity: sha512-baJJdQLiYaJdvFbJqXrcGv3WU3QCzBlUcI5QhbesIm6/xPsvmO+2CDoi/GMOFBQEQm+PXkwOPrp9KK5ozZsp2w==} + is-reference@3.0.2: + resolution: {integrity: sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==} isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} @@ -1281,9 +1298,6 @@ packages: resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} engines: {node: '>=12'} - mdn-data@2.0.30: - resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} - merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} @@ -1292,10 +1306,6 @@ packages: resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} engines: {node: '>=8.6'} - min-indent@1.0.1: - resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} - engines: {node: '>=4'} - minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} @@ -1303,13 +1313,6 @@ packages: resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} engines: {node: '>=16 || 14 >=14.17'} - minimist@1.2.8: - resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - - mkdirp@0.5.6: - resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} - hasBin: true - mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -1321,6 +1324,9 @@ packages: ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} @@ -1393,9 +1399,6 @@ packages: resolution: {integrity: sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==} engines: {node: '>=12'} - periscopic@3.1.0: - resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} - picocolors@1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} @@ -1534,6 +1537,10 @@ packages: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} + readdirp@4.0.2: + resolution: {integrity: sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==} + engines: {node: '>= 14.16.0'} + require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -1550,11 +1557,6 @@ packages: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - rimraf@2.7.1: - resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} - deprecated: Rimraf versions prior to v4 are no longer supported - hasBin: true - rimraf@3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} deprecated: Rimraf versions prior to v4 are no longer supported @@ -1575,9 +1577,6 @@ packages: safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - sander@0.5.1: - resolution: {integrity: sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA==} - schema-dts@1.1.2: resolution: {integrity: sha512-MpNwH0dZJHinVxk9bT8XUdjKTxMYrA5bLtrrGmFA6PTLwlOKnhi67XoRd6/ty+Djt6ZC0slR57qFhZDNMI6DhQ==} peerDependencies: @@ -1622,10 +1621,6 @@ packages: resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} engines: {node: '>=14.16'} - sorcery@0.11.0: - resolution: {integrity: sha512-J69LQ22xrQB1cIFJhPfgtLuI6BpWRiWu1Y3vSsIwK/eAScqJxd/+CJlUuHQRdX2C9NGFamq+KqNywGgaThwfHw==} - hasBin: true - source-map-js@1.2.1: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} @@ -1638,10 +1633,6 @@ packages: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} - strip-indent@3.0.0: - resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} - engines: {node: '>=8'} - strip-json-comments@3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} @@ -1659,11 +1650,13 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - svelte-check@3.8.6: - resolution: {integrity: sha512-ij0u4Lw/sOTREP13BdWZjiXD/BlHE6/e2e34XzmVmsp5IN4kVa3PWP65NM32JAgwjZlwBg/+JtiNV1MM8khu0Q==} + svelte-check@4.0.5: + resolution: {integrity: sha512-icBTBZ3ibBaywbXUat3cK6hB5Du+Kq9Z8CRuyLmm64XIe2/r+lQcbuBx/IQgsbrC+kT2jQ0weVpZSSRIPwB6jQ==} + engines: {node: '>= 18.0.0'} hasBin: true peerDependencies: - svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0 + svelte: ^4.0.0 || ^5.0.0-next.0 + typescript: '>=5.0.0' svelte-eslint-parser@0.43.0: resolution: {integrity: sha512-GpU52uPKKcVnh8tKN5P4UZpJ/fUDndmq7wfsvoVXsyP+aY0anol7Yqo01fyrlaWGMFfm4av5DyrjlaXdLRJvGA==} @@ -1674,52 +1667,9 @@ packages: svelte: optional: true - svelte-hmr@0.16.0: - resolution: {integrity: sha512-Gyc7cOS3VJzLlfj7wKS0ZnzDVdv3Pn2IuVeJPk9m2skfhcu5bq3wtIZyQGggr7/Iim5rH5cncyQft/kRLupcnA==} - engines: {node: ^12.20 || ^14.13.1 || >= 16} - peerDependencies: - svelte: ^3.19.0 || ^4.0.0 - - svelte-preprocess@5.1.3: - resolution: {integrity: sha512-xxAkmxGHT+J/GourS5mVJeOXZzne1FR5ljeOUAMXUkfEhkLEllRreXpbl3dIYJlcJRfL1LO1uIAPpBpBfiqGPw==} - engines: {node: '>= 16.0.0', pnpm: ^8.0.0} - peerDependencies: - '@babel/core': ^7.10.2 - coffeescript: ^2.5.1 - less: ^3.11.3 || ^4.0.0 - postcss: ^7 || ^8 - postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 - pug: ^3.0.0 - sass: ^1.26.8 - stylus: ^0.55.0 - sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0 - svelte: ^3.23.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0 - typescript: '>=3.9.5 || ^4.0.0 || ^5.0.0' - peerDependenciesMeta: - '@babel/core': - optional: true - coffeescript: - optional: true - less: - optional: true - postcss: - optional: true - postcss-load-config: - optional: true - pug: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - typescript: - optional: true - - svelte@4.2.19: - resolution: {integrity: sha512-IY1rnGr6izd10B0A8LqsBfmlT5OILVuZ7XsI0vdGPEvuonFV7NYEUK4dAkm9Zg2q0Um92kYjTpS1CAP3Nh/KWw==} - engines: {node: '>=16'} + svelte@5.0.5: + resolution: {integrity: sha512-f4WBlP5g8W6pEoDfx741lewMlemy+LIGpEqjGPWqnHVP92wqlQXl87U5O5Bi2tkSUrO95OxOoqwU8qlqiHmFKA==} + engines: {node: '>=18'} tailwindcss@3.4.14: resolution: {integrity: sha512-IcSvOcTRcUtQQ7ILQL5quRDg7Xs93PdJEk1ZLbhhvJc7uj/OAhYOnruEiwnGgBvUtaUAJ8/mhSw1o8L2jCiENA==} @@ -1824,10 +1774,10 @@ packages: terser: optional: true - vitefu@0.2.5: - resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} + vitefu@1.0.3: + resolution: {integrity: sha512-iKKfOMBHob2WxEJbqbJjHAkmYgvFDPhuqrO82om83S8RLk+17FtyMBfcyeH8GqD0ihShtkMW/zzJgiA51hCNCQ==} peerDependencies: - vite: ^3.0.0 || ^4.0.0 || ^5.0.0 + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0-beta.0 peerDependenciesMeta: vite: optional: true @@ -1879,16 +1829,19 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + zimmerframe@1.1.2: + resolution: {integrity: sha512-rAbqEGa8ovJy4pyBxZM70hg4pE6gDgaQ0Sl9M3enG3I0d6H4XSAM3GeNGLKnsBpuijUow064sf7ww1nutC5/3w==} + snapshots: '@aashutoshrathi/word-wrap@1.2.6': {} '@alloc/quick-lru@5.2.0': {} - '@ampproject/remapping@2.2.1': + '@ampproject/remapping@2.3.0': dependencies: - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.18 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 '@esbuild/aix-ppc64@0.21.5': optional: true @@ -2327,13 +2280,21 @@ snapshots: '@jridgewell/gen-mapping@0.3.3': dependencies: '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/trace-mapping': 0.3.18 + '@jridgewell/gen-mapping@0.3.5': + dependencies: + '@jridgewell/set-array': 1.2.1 + '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/resolve-uri@3.1.0': {} '@jridgewell/set-array@1.1.2': {} + '@jridgewell/set-array@1.2.1': {} + '@jridgewell/sourcemap-codec@1.4.14': {} '@jridgewell/sourcemap-codec@1.4.15': {} @@ -2345,6 +2306,11 @@ snapshots: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.14 + '@jridgewell/trace-mapping@0.3.25': + dependencies: + '@jridgewell/resolve-uri': 3.1.0 + '@jridgewell/sourcemap-codec': 1.5.0 + '@nodelib/fs.scandir@2.1.5': dependencies: '@nodelib/fs.stat': 2.0.5 @@ -2432,18 +2398,18 @@ snapshots: '@sindresorhus/merge-streams@2.3.0': {} - '@sveltejs/adapter-auto@3.3.0(@sveltejs/kit@2.7.2(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)))(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)))': + '@sveltejs/adapter-auto@3.3.0(@sveltejs/kit@2.7.2(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)))(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)))': dependencies: - '@sveltejs/kit': 2.7.2(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)))(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)) + '@sveltejs/kit': 2.7.2(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)))(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)) import-meta-resolve: 4.1.0 - '@sveltejs/adapter-static@3.0.5(@sveltejs/kit@2.7.2(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)))(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)))': + '@sveltejs/adapter-static@3.0.5(@sveltejs/kit@2.7.2(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)))(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)))': dependencies: - '@sveltejs/kit': 2.7.2(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)))(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)) + '@sveltejs/kit': 2.7.2(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)))(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)) - '@sveltejs/kit@2.7.2(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)))(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3))': + '@sveltejs/kit@2.7.2(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)))(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)) + '@sveltejs/vite-plugin-svelte': 4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)) '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 5.1.1 @@ -2455,30 +2421,29 @@ snapshots: sade: 1.8.1 set-cookie-parser: 2.6.0 sirv: 3.0.0 - svelte: 4.2.19 + svelte: 5.0.5 tiny-glob: 0.2.9 vite: 5.4.9(@types/node@20.5.3) - '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)))(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3))': + '@sveltejs/vite-plugin-svelte-inspector@3.0.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)))(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)) - debug: 4.3.4 - svelte: 4.2.19 + '@sveltejs/vite-plugin-svelte': 4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)) + debug: 4.3.7 + svelte: 5.0.5 vite: 5.4.9(@types/node@20.5.3) transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3))': + '@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3))': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)))(svelte@4.2.19)(vite@5.4.9(@types/node@20.5.3)) - debug: 4.3.4 + '@sveltejs/vite-plugin-svelte-inspector': 3.0.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)))(svelte@5.0.5)(vite@5.4.9(@types/node@20.5.3)) + debug: 4.3.7 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.12 - svelte: 4.2.19 - svelte-hmr: 0.16.0(svelte@4.2.19) + svelte: 5.0.5 vite: 5.4.9(@types/node@20.5.3) - vitefu: 0.2.5(vite@5.4.9(@types/node@20.5.3)) + vitefu: 1.0.3(vite@5.4.9(@types/node@20.5.3)) transitivePeerDependencies: - supports-color @@ -2492,8 +2457,6 @@ snapshots: '@types/node@20.5.3': {} - '@types/pug@2.0.6': {} - '@types/semver@7.5.0': {} '@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3)': @@ -2588,6 +2551,12 @@ snapshots: dependencies: acorn: 8.9.0 + acorn-typescript@1.4.13(acorn@8.13.0): + dependencies: + acorn: 8.13.0 + + acorn@8.13.0: {} + acorn@8.9.0: {} ajv@6.12.6: @@ -2614,9 +2583,7 @@ snapshots: argparse@2.0.1: {} - aria-query@5.3.0: - dependencies: - dequal: 2.0.3 + aria-query@5.3.2: {} array-union@2.1.0: {} @@ -2630,9 +2597,7 @@ snapshots: postcss: 8.4.47 postcss-value-parser: 4.2.0 - axobject-query@4.0.0: - dependencies: - dequal: 2.0.3 + axobject-query@4.1.0: {} balanced-match@1.0.2: {} @@ -2658,8 +2623,6 @@ snapshots: node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.2) - buffer-crc32@0.2.13: {} - callsites@3.1.0: {} camelcase-css@2.0.1: {} @@ -2683,20 +2646,16 @@ snapshots: optionalDependencies: fsevents: 2.3.3 + chokidar@4.0.1: + dependencies: + readdirp: 4.0.2 + cliui@8.0.1: dependencies: string-width: 4.2.3 strip-ansi: 6.0.1 wrap-ansi: 7.0.0 - code-red@1.0.3: - dependencies: - '@jridgewell/sourcemap-codec': 1.5.0 - '@types/estree': 1.0.6 - acorn: 8.9.0 - estree-walker: 3.0.3 - periscopic: 3.1.0 - color-convert@2.0.1: dependencies: color-name: 1.1.4 @@ -2725,25 +2684,20 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - css-tree@2.3.1: - dependencies: - mdn-data: 2.0.30 - source-map-js: 1.2.1 - cssesc@3.0.0: {} debug@4.3.4: dependencies: ms: 2.1.2 + debug@4.3.7: + dependencies: + ms: 2.1.3 + deep-is@0.1.4: {} deepmerge@4.3.1: {} - dequal@2.0.3: {} - - detect-indent@6.1.0: {} - devalue@5.1.1: {} didyoumean@1.2.2: {} @@ -2764,8 +2718,6 @@ snapshots: emoji-regex@8.0.0: {} - es6-promise@3.3.1: {} - esbuild@0.21.5: optionalDependencies: '@esbuild/aix-ppc64': 0.21.5 @@ -2805,7 +2757,7 @@ snapshots: dependencies: eslint: 8.57.1 - eslint-plugin-svelte@2.46.0(eslint@8.57.1)(svelte@4.2.19): + eslint-plugin-svelte@2.46.0(eslint@8.57.1)(svelte@5.0.5): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) '@jridgewell/sourcemap-codec': 1.4.15 @@ -2818,9 +2770,9 @@ snapshots: postcss-safe-parser: 6.0.0(postcss@8.4.47) postcss-selector-parser: 6.1.2 semver: 7.6.3 - svelte-eslint-parser: 0.43.0(svelte@4.2.19) + svelte-eslint-parser: 0.43.0(svelte@5.0.5) optionalDependencies: - svelte: 4.2.19 + svelte: 5.0.5 transitivePeerDependencies: - ts-node @@ -2886,16 +2838,17 @@ snapshots: dependencies: estraverse: 5.3.0 + esrap@1.2.2: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + '@types/estree': 1.0.6 + esrecurse@4.3.0: dependencies: estraverse: 5.3.0 estraverse@5.3.0: {} - estree-walker@3.0.3: - dependencies: - '@types/estree': 1.0.6 - esutils@2.0.3: {} fast-deep-equal@3.1.3: {} @@ -2928,6 +2881,8 @@ snapshots: dependencies: websocket-driver: 0.7.4 + fdir@6.4.2: {} + file-entry-cache@6.0.1: dependencies: flat-cache: 3.0.4 @@ -3046,8 +3001,6 @@ snapshots: globrex@0.1.2: {} - graceful-fs@4.2.11: {} - graphemer@1.4.0: {} has-flag@4.0.0: {} @@ -3100,7 +3053,7 @@ snapshots: is-path-inside@3.0.3: {} - is-reference@3.0.1: + is-reference@3.0.2: dependencies: '@types/estree': 1.0.6 @@ -3161,8 +3114,6 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.4.15 - mdn-data@2.0.30: {} - merge2@1.4.1: {} micromatch@4.0.5: @@ -3170,8 +3121,6 @@ snapshots: braces: 3.0.2 picomatch: 2.3.1 - min-indent@1.0.1: {} - minimatch@3.1.2: dependencies: brace-expansion: 1.1.11 @@ -3180,18 +3129,14 @@ snapshots: dependencies: brace-expansion: 2.0.1 - minimist@1.2.8: {} - - mkdirp@0.5.6: - dependencies: - minimist: 1.2.8 - mri@1.2.0: {} mrmime@2.0.0: {} ms@2.1.2: {} + ms@2.1.3: {} + mz@2.7.0: dependencies: any-promise: 1.3.0 @@ -3249,12 +3194,6 @@ snapshots: path-type@5.0.0: {} - periscopic@3.1.0: - dependencies: - '@types/estree': 1.0.6 - estree-walker: 3.0.3 - is-reference: 3.0.1 - picocolors@1.0.0: {} picocolors@1.1.1: {} @@ -3331,10 +3270,10 @@ snapshots: prelude-ls@1.2.1: {} - prettier-plugin-svelte@3.2.7(prettier@3.3.3)(svelte@4.2.19): + prettier-plugin-svelte@3.2.7(prettier@3.3.3)(svelte@5.0.5): dependencies: prettier: 3.3.3 - svelte: 4.2.19 + svelte: 5.0.5 prettier@3.3.3: {} @@ -3365,6 +3304,8 @@ snapshots: dependencies: picomatch: 2.3.1 + readdirp@4.0.2: {} + require-directory@2.1.1: {} resolve-from@4.0.0: {} @@ -3377,10 +3318,6 @@ snapshots: reusify@1.0.4: {} - rimraf@2.7.1: - dependencies: - glob: 7.2.3 - rimraf@3.0.2: dependencies: glob: 7.2.3 @@ -3417,13 +3354,6 @@ snapshots: safe-buffer@5.2.1: {} - sander@0.5.1: - dependencies: - es6-promise: 3.3.1 - graceful-fs: 4.2.11 - mkdirp: 0.5.6 - rimraf: 2.7.1 - schema-dts@1.1.2(typescript@5.6.3): dependencies: typescript: 5.6.3 @@ -3458,13 +3388,6 @@ snapshots: slash@5.1.0: {} - sorcery@0.11.0: - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - buffer-crc32: 0.2.13 - minimist: 1.2.8 - sander: 0.5.1 - source-map-js@1.2.1: {} string-width@4.2.3: @@ -3477,10 +3400,6 @@ snapshots: dependencies: ansi-regex: 5.0.1 - strip-indent@3.0.0: - dependencies: - min-indent: 1.0.1 - strip-json-comments@3.1.1: {} sucrase@3.32.0: @@ -3499,27 +3418,19 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - svelte-check@3.8.6(postcss-load-config@6.0.1(jiti@1.21.0)(postcss@8.4.47))(postcss@8.4.47)(svelte@4.2.19): + svelte-check@4.0.5(svelte@5.0.5)(typescript@5.6.3): dependencies: - '@jridgewell/trace-mapping': 0.3.18 - chokidar: 3.5.3 - picocolors: 1.0.0 + '@jridgewell/trace-mapping': 0.3.25 + chokidar: 4.0.1 + fdir: 6.4.2 + picocolors: 1.1.1 sade: 1.8.1 - svelte: 4.2.19 - svelte-preprocess: 5.1.3(postcss-load-config@6.0.1(jiti@1.21.0)(postcss@8.4.47))(postcss@8.4.47)(svelte@4.2.19)(typescript@5.6.3) + svelte: 5.0.5 typescript: 5.6.3 transitivePeerDependencies: - - '@babel/core' - - coffeescript - - less - - postcss - - postcss-load-config - - pug - - sass - - stylus - - sugarss - - svelte-eslint-parser@0.43.0(svelte@4.2.19): + - picomatch + + svelte-eslint-parser@0.43.0(svelte@5.0.5): dependencies: eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 @@ -3527,41 +3438,23 @@ snapshots: postcss: 8.4.47 postcss-scss: 4.0.9(postcss@8.4.47) optionalDependencies: - svelte: 4.2.19 - - svelte-hmr@0.16.0(svelte@4.2.19): - dependencies: - svelte: 4.2.19 - - svelte-preprocess@5.1.3(postcss-load-config@6.0.1(jiti@1.21.0)(postcss@8.4.47))(postcss@8.4.47)(svelte@4.2.19)(typescript@5.6.3): - dependencies: - '@types/pug': 2.0.6 - detect-indent: 6.1.0 - magic-string: 0.30.5 - sorcery: 0.11.0 - strip-indent: 3.0.0 - svelte: 4.2.19 - optionalDependencies: - postcss: 8.4.47 - postcss-load-config: 6.0.1(jiti@1.21.0)(postcss@8.4.47) - typescript: 5.6.3 + svelte: 5.0.5 - svelte@4.2.19: + svelte@5.0.5: dependencies: - '@ampproject/remapping': 2.2.1 + '@ampproject/remapping': 2.3.0 '@jridgewell/sourcemap-codec': 1.5.0 - '@jridgewell/trace-mapping': 0.3.18 '@types/estree': 1.0.6 - acorn: 8.9.0 - aria-query: 5.3.0 - axobject-query: 4.0.0 - code-red: 1.0.3 - css-tree: 2.3.1 - estree-walker: 3.0.3 - is-reference: 3.0.1 + acorn: 8.13.0 + acorn-typescript: 1.4.13(acorn@8.13.0) + aria-query: 5.3.2 + axobject-query: 4.1.0 + esm-env: 1.0.0 + esrap: 1.2.2 + is-reference: 3.0.2 locate-character: 3.0.0 magic-string: 0.30.12 - periscopic: 3.1.0 + zimmerframe: 1.1.2 tailwindcss@3.4.14: dependencies: @@ -3657,7 +3550,7 @@ snapshots: '@types/node': 20.5.3 fsevents: 2.3.3 - vitefu@0.2.5(vite@5.4.9(@types/node@20.5.3)): + vitefu@1.0.3(vite@5.4.9(@types/node@20.5.3)): optionalDependencies: vite: 5.4.9(@types/node@20.5.3) @@ -3702,3 +3595,5 @@ snapshots: yargs-parser: 21.1.1 yocto-queue@0.1.0: {} + + zimmerframe@1.1.2: {} diff --git a/scripts/makeSitemap.js b/scripts/makeSitemap.js index 01ec75af88..07309485cb 100644 --- a/scripts/makeSitemap.js +++ b/scripts/makeSitemap.js @@ -9,9 +9,9 @@ const BASE_URL = 'https://www.baca-quran.id'; const BASE_DIR_TARGET = path.resolve(path.join('build/sitemaps')); try { - mkdirSync(BASE_DIR_TARGET); + mkdirSync(BASE_DIR_TARGET); } catch { - // Do nothing + // Do nothing } function makeObjectSitemap(url, priority = 0.5) { diff --git a/src/app.html b/src/app.html index 391ecdb44b..ea522042c6 100644 --- a/src/app.html +++ b/src/app.html @@ -1,4 +1,4 @@ - + diff --git a/src/error.html b/src/error.html index 460c09cc50..8de2bd908e 100644 --- a/src/error.html +++ b/src/error.html @@ -1,4 +1,4 @@ - + diff --git a/src/lib/Breadcrumb.svelte b/src/lib/Breadcrumb.svelte index d3f826bac4..e520c2bce1 100644 --- a/src/lib/Breadcrumb.svelte +++ b/src/lib/Breadcrumb.svelte @@ -5,7 +5,11 @@ text: string; href: string; } - export let items: BreadcrumbItem[] = []; + interface Props { + items?: BreadcrumbItem[]; + } + + let { items = [] }: Props = $props();
diff --git a/src/lib/CardShadow.svelte b/src/lib/CardShadow.svelte index 9feb1931cd..ff89e52e9f 100644 --- a/src/lib/CardShadow.svelte +++ b/src/lib/CardShadow.svelte @@ -1,19 +1,22 @@ + {#if _as === 'div'} -
- +
+ {@render children?.()}
{:else} - - + + {@render children?.()} {/if} diff --git a/src/lib/Clock.svelte b/src/lib/Clock.svelte index 5ea75adb09..8ea5959977 100644 --- a/src/lib/Clock.svelte +++ b/src/lib/Clock.svelte @@ -1,13 +1,13 @@
diff --git a/src/lib/Footer.svelte b/src/lib/Footer.svelte index 66888216f4..e5bcacdcef 100644 --- a/src/lib/Footer.svelte +++ b/src/lib/Footer.svelte @@ -1,5 +1,5 @@ @@ -13,5 +13,7 @@ >

Copyright © 2018 - {currentYear} -

Versi: {version}

+

+ Versi: {version} +

diff --git a/src/lib/Gradient.svelte b/src/lib/Gradient.svelte index 67ee89148c..be75144057 100644 --- a/src/lib/Gradient.svelte +++ b/src/lib/Gradient.svelte @@ -1,5 +1,9 @@ {#if variant === 'top'} @@ -10,7 +14,7 @@
+ >
{:else}
+ >
{/if} diff --git a/src/lib/Header.svelte b/src/lib/Header.svelte index 565dd5395c..2df5254fe8 100644 --- a/src/lib/Header.svelte +++ b/src/lib/Header.svelte @@ -2,13 +2,18 @@ import ThemeSwicther from './ThemeSwicther.svelte'; import ResetIcon from './icons/ResetIcon.svelte'; - export let onToggleDrawer: () => void; + interface Props { + onToggleDrawer: () => void; + } + + let { onToggleDrawer }: Props = $props();
diff --git a/src/lib/Toaster.svelte b/src/lib/Toaster.svelte index d77b1791c3..be38bbcfbd 100644 --- a/src/lib/Toaster.svelte +++ b/src/lib/Toaster.svelte @@ -47,7 +47,7 @@ class="ml-3 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700" data-dismiss-target="#toast-message" aria-label="Close" - on:click={handleClose} + onclick={handleClose} > diff --git a/src/lib/VerseAudioPlayer.svelte b/src/lib/VerseAudioPlayer.svelte index e1e884a757..f389eb21ac 100644 --- a/src/lib/VerseAudioPlayer.svelte +++ b/src/lib/VerseAudioPlayer.svelte @@ -1,4 +1,6 @@ import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); diff --git a/src/lib/icons/ChevronRightIcon.svelte b/src/lib/icons/ChevronRightIcon.svelte index 011675c41c..44169dadbe 100644 --- a/src/lib/icons/ChevronRightIcon.svelte +++ b/src/lib/icons/ChevronRightIcon.svelte @@ -1,7 +1,12 @@ diff --git a/src/lib/icons/ChevronUpIcon.svelte b/src/lib/icons/ChevronUpIcon.svelte index 4d6a619d00..7dff4f2a21 100644 --- a/src/lib/icons/ChevronUpIcon.svelte +++ b/src/lib/icons/ChevronUpIcon.svelte @@ -1,7 +1,12 @@ diff --git a/src/lib/icons/CodeIcon.svelte b/src/lib/icons/CodeIcon.svelte index bcda8d9b29..03a8dfed02 100644 --- a/src/lib/icons/CodeIcon.svelte +++ b/src/lib/icons/CodeIcon.svelte @@ -1,7 +1,12 @@ import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); diff --git a/src/lib/icons/PlayIcon.svelte b/src/lib/icons/PlayIcon.svelte index eef0bed1aa..49c5e5678a 100644 --- a/src/lib/icons/PlayIcon.svelte +++ b/src/lib/icons/PlayIcon.svelte @@ -1,7 +1,12 @@ import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); import { CLASS_BY_SIZE, type IconSize } from './utils'; - export let size: IconSize = 'md'; + interface Props { + size?: IconSize; + class?: string; + } + + let { size = 'md', class: clazz }: Props = $props(); diff --git a/src/lib/ui/Badge.svelte b/src/lib/ui/Badge.svelte index d635ac66ee..9dfef1bf76 100644 --- a/src/lib/ui/Badge.svelte +++ b/src/lib/ui/Badge.svelte @@ -1,5 +1,11 @@ - + {@render children?.()} diff --git a/src/lib/ui/BottomSheet.svelte b/src/lib/ui/BottomSheet.svelte index a3a3866dc4..f925b3ebb4 100644 --- a/src/lib/ui/BottomSheet.svelte +++ b/src/lib/ui/BottomSheet.svelte @@ -2,11 +2,16 @@ import XMarkIcon from '../icons/XMarkIcon.svelte'; import Button from './Button.svelte'; - export let show = false; - export let title = ''; - export let id = ''; - // eslint-disable-next-line @typescript-eslint/no-empty-function - export let onClose: () => void = () => {}; + interface Props { + show?: boolean; + title?: string; + id?: string; + // eslint-disable-next-line @typescript-eslint/no-empty-function + onClose?: () => void; + children?: import('svelte').Snippet; + } + + let { show = false, title = '', id = '', onClose = () => {}, children }: Props = $props();
@@ -28,7 +33,7 @@
- + {@render children?.()}
diff --git a/src/lib/ui/Button.svelte b/src/lib/ui/Button.svelte index bfc626af92..b856c94d17 100644 --- a/src/lib/ui/Button.svelte +++ b/src/lib/ui/Button.svelte @@ -1,37 +1,43 @@ {#if variant === 'subtle'} {:else if variant === 'filled'} {:else if variant === 'outline'} {/if} diff --git a/src/lib/views/SurahPage.svelte b/src/lib/views/SurahPage.svelte index 61312a9a52..31e55539b8 100644 --- a/src/lib/views/SurahPage.svelte +++ b/src/lib/views/SurahPage.svelte @@ -11,20 +11,24 @@ import type { SurahInfoPage } from '$data/surah-info'; import { onMount } from 'svelte'; - // eslint-disable-next-line @typescript-eslint/no-explicit-any - export let data: any; + interface Props { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + data: any; + } + + let { data }: Props = $props(); let surahid = data?.surahid; let surahData = data?.surahData; let surahInfo = data?.surahInfo as SurahInfoPage; - // eslint-disable-next-line @typescript-eslint/no-explicit-any - let timeout: any = null + // eslint-disable-next-line @typescript-eslint/no-explicit-any + let timeout: any = null; onMount(() => { if ($page.url.hash) { - if (timeout !== null) { - clearTimeout(timeout) - } + if (timeout !== null) { + clearTimeout(timeout); + } timeout = setTimeout(() => { const element = document.getElementById($page.url.hash.replace('#', '')); diff --git a/src/lib/views/VersePage.svelte b/src/lib/views/VersePage.svelte index 6f32f7d3db..e78bb56ea0 100644 --- a/src/lib/views/VersePage.svelte +++ b/src/lib/views/VersePage.svelte @@ -10,7 +10,11 @@ import { getJsonLdArticle, getJsonLdBreadcrumb, serializeSchema } from '$lib/utils/json-ld'; import type { SurahInfoPage } from '$data/surah-info'; - export let data: any; + interface Props { + data: any; + } + + let { data }: Props = $props(); let surahid = data?.surahid; let verseid = data?.verseid; @@ -20,7 +24,12 @@ { isDrawerOpen = !isDrawerOpen; @@ -95,7 +100,7 @@
- + {@render children?.()}