diff --git a/.changeset/config.json b/.changeset/config.json index 5de054a..5aa6fb2 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -10,5 +10,5 @@ "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": [] + "ignore": ["docs"] } diff --git a/.changeset/large-chairs-promise.md b/.changeset/large-chairs-promise.md new file mode 100644 index 0000000..e08c1f2 --- /dev/null +++ b/.changeset/large-chairs-promise.md @@ -0,0 +1,5 @@ +--- +"vaul-svelte": patch +--- + +update bits UI diff --git a/.changeset/polite-apples-attend.md b/.changeset/polite-apples-attend.md new file mode 100644 index 0000000..140ffff --- /dev/null +++ b/.changeset/polite-apples-attend.md @@ -0,0 +1,5 @@ +--- +"vaul-svelte": patch +--- + +update bits diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 0000000..55e4cd0 --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,14 @@ +{ + "mode": "pre", + "tag": "next", + "initialVersions": { + "vaul-svelte": "0.3.2", + "docs": "0.0.0" + }, + "changesets": [ + "large-chairs-promise", + "polite-apples-attend", + "sharp-actors-fly", + "sour-trainers-boil" + ] +} diff --git a/.changeset/sharp-actors-fly.md b/.changeset/sharp-actors-fly.md new file mode 100644 index 0000000..8ff8125 --- /dev/null +++ b/.changeset/sharp-actors-fly.md @@ -0,0 +1,5 @@ +--- +"vaul-svelte": patch +--- + +next: fix scroll restoration diff --git a/.changeset/sour-trainers-boil.md b/.changeset/sour-trainers-boil.md new file mode 100644 index 0000000..cb8b402 --- /dev/null +++ b/.changeset/sour-trainers-boil.md @@ -0,0 +1,5 @@ +--- +"vaul-svelte": major +--- + +Svelte 5 diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 450f099..0000000 --- a/.eslintignore +++ /dev/null @@ -1,16 +0,0 @@ -.DS_Store -node_modules -/build -/.svelte-kit -/package -.env -.env.* -!.env.example -.changeset - -# Ignore files for PNPM, NPM and YARN -pnpm-lock.yaml -package-lock.json -yarn.lock -dist -.vercel \ No newline at end of file diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index ded48bf..0000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,77 +0,0 @@ -/** @type { import("eslint").Linter.Config } */ -module.exports = { - root: true, - extends: [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:svelte/recommended", - "prettier", - ], - parser: "@typescript-eslint/parser", - plugins: ["@typescript-eslint"], - parserOptions: { - sourceType: "module", - ecmaVersion: "latest", - extraFileExtensions: [".svelte"], - }, - env: { - browser: true, - es2024: true, - node: true, - }, - globals: { $$Generic: "readable", NodeJS: true }, - rules: { - "no-console": "warn", - "@typescript-eslint/no-unused-vars": [ - "warn", - { - argsIgnorePattern: "^_", - varsIgnorePattern: "^_", - }, - ], - "svelte/no-target-blank": "off", - "svelte/no-immutable-reactive-statements": "error", - "svelte/prefer-style-directive": "error", - "svelte/no-reactive-literals": "error", - "svelte/no-useless-mustaches": "error", - "svelte/button-has-type": "off", - "svelte/require-each-key": "off", - "svelte/no-at-html-tags": "off", - "svelte/no-unused-svelte-ignore": "off", - "svelte/require-stores-init": "off", - "svelte/css-unused-selector": "off", - }, - overrides: [ - { - files: ["*.svelte"], - parser: "svelte-eslint-parser", - parserOptions: { - parser: "@typescript-eslint/parser", - }, - rules: { - "@typescript-eslint/no-unused-vars": [ - "warn", - { - argsIgnorePattern: "^_", - varsIgnorePattern: "^(\\$\\$(Props|Events|Slots|Generic)|_*)$", - }, - ], - }, - }, - { - files: ["*.ts"], - parser: "@typescript-eslint/parser", - rules: { - "@typescript-eslint/ban-types": [ - "error", - { - extendDefaults: true, - types: { - "{}": false, - }, - }, - ], - }, - }, - ], -}; diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 61c9d89..62dfdbd 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,50 +1,50 @@ -name: "🐛 Bug report" +name: 🐛 Bug report description: Report an issue with vaul-svelte labels: ["type: bug"] body: - - type: markdown - attributes: - value: | - Thanks for taking the time to fill out this bug report! - - type: textarea - id: bug-description - attributes: - label: Describe the bug - description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us how in the description. Thanks! - placeholder: Bug description - validations: - required: true - - type: textarea - id: reproduction - attributes: - label: Reproduction - description: Please provide a link to a repo or Stackblitz that can reproduce the problem you ran into. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "need reproduction" label. If no reproduction is provided within a reasonable time-frame, the issue will be closed. - placeholder: Reproduction - validations: - required: true - - type: textarea - id: logs - attributes: - label: Logs - description: "Please include browser console and server logs around the time this bug occurred. Optional if provided reproduction. Please try not to insert an image but copy paste the log text." - render: bash - - type: textarea - id: system-info - attributes: - label: System Info - description: Output of `npx envinfo --system --npmPackages svelte,bits-ui,vaul-svelte,@sveltejs/kit,typescript --binaries --browsers` - render: bash - placeholder: System, Binaries, Browsers - validations: - required: true - - type: dropdown - id: severity - attributes: - label: Severity - description: Select the severity of this issue - options: - - annoyance - - blocking an upgrade - - blocking all usage of vaul-svelte - validations: - required: true + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: bug-description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us how in the description. Thanks! + placeholder: Bug description + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Reproduction + description: Please provide a link to a repo or Stackblitz that can reproduce the problem you ran into. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "need reproduction" label. If no reproduction is provided within a reasonable time-frame, the issue will be closed. + placeholder: Reproduction + validations: + required: true + - type: textarea + id: logs + attributes: + label: Logs + description: Please include browser console and server logs around the time this bug occurred. Optional if provided reproduction. Please try not to insert an image but copy paste the log text. + render: bash + - type: textarea + id: system-info + attributes: + label: System Info + description: Output of `npx envinfo --system --npmPackages svelte,bits-ui,vaul-svelte,@sveltejs/kit,typescript --binaries --browsers` + render: bash + placeholder: System, Binaries, Browsers + validations: + required: true + - type: dropdown + id: severity + attributes: + label: Severity + description: Select the severity of this issue + options: + - annoyance + - blocking an upgrade + - blocking all usage of vaul-svelte + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/documentation_change.yml b/.github/ISSUE_TEMPLATE/documentation_change.yml index 3915310..b36778f 100644 --- a/.github/ISSUE_TEMPLATE/documentation_change.yml +++ b/.github/ISSUE_TEMPLATE/documentation_change.yml @@ -2,21 +2,21 @@ name: 📖 Report Docs Issue description: Suggest an addition or modification to the documentation labels: ["type: documentation"] body: - - type: dropdown - attributes: - label: Change Type - description: What type of change are you proposing? - options: - - Addition - - Correction - - Removal - - Cleanup (formatting, typos, etc.) - validations: - required: true + - type: dropdown + attributes: + label: Change Type + description: What type of change are you proposing? + options: + - Addition + - Correction + - Removal + - Cleanup (formatting, typos, etc.) + validations: + required: true - - type: textarea - attributes: - label: Proposed Changes - description: Describe the proposed changes and why they are necessary - validations: - required: true + - type: textarea + attributes: + label: Proposed Changes + description: Describe the proposed changes and why they are necessary + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index c86d53e..83e3c72 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -4,23 +4,23 @@ name: 🛠️ Request New Feature description: Let us know what you would like to see added. labels: ["type: feature"] body: - - type: textarea - id: description - attributes: - label: Describe the feature in detail (code, mocks, or screenshots encouraged) - validations: - required: true - - type: dropdown - id: category - attributes: - label: What type of pull request would this be? - options: - - "New Feature" - - "Enhancement" - - "Guide" - - "Docs" - - "Other" - - type: textarea - id: references - attributes: - label: Provide relevant links or additional information. + - type: textarea + id: description + attributes: + label: Describe the feature in detail (code, mocks, or screenshots encouraged) + validations: + required: true + - type: dropdown + id: category + attributes: + label: What type of pull request would this be? + options: + - New Feature + - Enhancement + - Guide + - Docs + - Other + - type: textarea + id: references + attributes: + label: Provide relevant links or additional information. diff --git a/.github/workflows/build-preview.yml b/.github/workflows/build-preview.yml new file mode 100644 index 0000000..262150c --- /dev/null +++ b/.github/workflows/build-preview.yml @@ -0,0 +1,33 @@ +name: Build Preview Deployment + +# cancel in-progress runs on new commits to same PR (github.event.number) +concurrency: + group: ${{ github.workflow }}-${{ github.event.number || github.sha }} + cancel-in-progress: true + +on: + pull_request: + types: [opened, synchronize] + +jobs: + build-preview: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: pnpm + + - name: Install dependencies + run: pnpm install + + - name: Build site + run: pnpm build + + - name: Upload build artifact + uses: actions/upload-artifact@v4 + with: + name: preview-build + path: sites/docs/.svelte-kit/cloudflare diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 642047c..11a3325 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,60 +1,61 @@ name: CI on: - push: - branches: - - main - pull_request: + push: + branches: + - main + - next + pull_request: concurrency: - group: ${{ github.workflow }}-${{ github.event.number || github.sha }} - cancel-in-progress: true + group: ${{ github.workflow }}-${{ github.event.number || github.sha }} + cancel-in-progress: true jobs: - Check: - name: Run svelte-check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: pnpm - - - name: Install dependencies - run: pnpm install - - - name: Run svelte-check - run: pnpm check - - Lint: - runs-on: ubuntu-latest - name: Lint - steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: pnpm - - - name: Install dependencies - run: pnpm install - - - run: pnpm lint - - Tests: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: pnpm - - - name: Install dependencies - run: pnpm install - - - run: pnpm test + Check: + name: Run svelte-check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: pnpm + + - name: Install dependencies + run: pnpm install + + - name: Run svelte-check + run: pnpm check + + Lint: + runs-on: ubuntu-latest + name: Lint + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: pnpm + + - name: Install dependencies + run: pnpm install + + - run: pnpm lint + + Test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: pnpm + + - name: Install dependencies + run: pnpm install + + - run: pnpm test diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml new file mode 100644 index 0000000..e88fb3a --- /dev/null +++ b/.github/workflows/deploy-preview.yml @@ -0,0 +1,37 @@ +name: Upload Preview Deployment + +on: + workflow_run: + workflows: [Build Preview Deployment] + types: + - completed + +permissions: + actions: read + deployments: write + contents: read + pull-requests: write + +jobs: + deploy-preview: + runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} + steps: + - name: Download build artifact + uses: actions/download-artifact@v4 + id: preview-build-artifact + with: + name: preview-build + path: build + github-token: ${{ secrets.GITHUB_TOKEN }} + run-id: ${{ github.event.workflow_run.id }} + + - name: Deploy to Cloudflare Pages + uses: AdrianGonz97/refined-cf-pages-action@v1 + with: + apiToken: ${{ secrets.CF_API_TOKEN }} + accountId: ${{ secrets.CF_ACCOUNT_ID }} + githubToken: ${{ secrets.GITHUB_TOKEN }} + projectName: vaul-svelte + deploymentName: Preview + directory: ${{ steps.preview-build-artifact.outputs.download-path }} diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml new file mode 100644 index 0000000..cc9bc56 --- /dev/null +++ b/.github/workflows/deploy-prod.yml @@ -0,0 +1,40 @@ +name: Production Deployment +on: + push: + branches: + - main + paths: + - sites/docs/** + - packages/bits-ui/** + +jobs: + deploy-production: + runs-on: ubuntu-latest + permissions: + contents: read + deployments: write + name: Deploy Production Site to Cloudflare Pages + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: pnpm + + - name: Install dependencies + run: pnpm install + + - name: Build site + run: pnpm build + + - name: Deploy to Cloudflare Pages + uses: AdrianGonz97/refined-cf-pages-action@v1 + with: + apiToken: ${{ secrets.CF_API_TOKEN }} + accountId: ${{ secrets.CF_ACCOUNT_ID }} + githubToken: ${{ secrets.GITHUB_TOKEN }} + projectName: vaul-svelte + directory: ./.svelte-kit/cloudflare + workingDirectory: sites/docs + deploymentName: Production diff --git a/.github/workflows/preview-release.yml b/.github/workflows/preview-release.yml new file mode 100644 index 0000000..7e15e19 --- /dev/null +++ b/.github/workflows/preview-release.yml @@ -0,0 +1,28 @@ +name: Publish Preview Release +on: + pull_request: + types: [ready_for_review, synchronize, opened, labeled] + paths: [packages/**] + +jobs: + preview-release: + if: github.repository == 'huntabyte/vaul-svelte' && contains(github.event.pull_request.labels.*.name, 'publish:preview') + timeout-minutes: 5 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: pnpm + + - name: install dependencies + run: pnpm install + + - name: build + run: pnpm build:packages + + - name: publish preview + run: | + pnpx pkg-pr-new@0.0 publish --pnpm --compact './packages/*' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b18b7bf..d4a9b76 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,38 +1,38 @@ name: Release on: - push: - branches: - - main - - next + push: + branches: + - main + - next concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: - release: - permissions: - contents: write # to create release (changesets/action) - pull-requests: write # to create pull request (changesets/action) - name: Release - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: pnpm/action-setup@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: pnpm + release: + permissions: + contents: write # to create release (changesets/action) + pull-requests: write # to create pull request (changesets/action) + name: Release + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: pnpm - - name: Install dependencies - run: pnpm install + - name: Install dependencies + run: pnpm install - - name: Create Release Pull Request or Publish to npm - id: changesets - uses: changesets/action@v1 - with: - publish: pnpm ci:publish - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Create Release Pull Request or Publish to npm + id: changesets + uses: changesets/action@v1 + with: + publish: pnpm ci:publish + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/reproduire-close.yml b/.github/workflows/reproduire-close.yml new file mode 100644 index 0000000..d6df8c7 --- /dev/null +++ b/.github/workflows/reproduire-close.yml @@ -0,0 +1,23 @@ +name: Close incomplete issues +on: + workflow_dispatch: + schedule: + - cron: "30 1 * * *" # run every day + +permissions: + issues: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 + with: + days-before-stale: -1 # Issues and PR will never be flagged stale automatically. + stale-issue-label: needs reproduction # Label that flags an issue as stale. + only-labels: needs reproduction # Only process these issues + days-before-issue-close: 7 + ignore-updates: true + remove-stale-when-updated: false + close-issue-message: This issue was closed because it was open for 7 days without a reproduction. + close-issue-label: closed-by-bot diff --git a/.github/workflows/reproduire.yml b/.github/workflows/reproduire.yml new file mode 100644 index 0000000..88adc42 --- /dev/null +++ b/.github/workflows/reproduire.yml @@ -0,0 +1,16 @@ +name: Reproduire +on: + issues: + types: [labeled] + +permissions: + issues: write + +jobs: + reproduire: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - uses: Hebilicious/reproduire@4b686ae9cbb72dad60f001d278b6e3b2ce40a9ac # v0.0.9-mp + with: + label: needs reproduction diff --git a/.gitignore b/.gitignore index edf5bea..cc514b0 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,79 @@ vite.config.js.timestamp-* vite.config.ts.timestamp-* bun.lockb .vercel +node_modules +.DS_Store +.AppleDouble +.LSOverride + +dist + +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env +.env.development.local +.env.test.local +.env.production.local +.env.local +.contentlayer \ No newline at end of file diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..78a9495 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v20.15.1 \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index de8b831..dfd53c5 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,7 +1,47 @@ +.DS_Store +node_modules +**/build +**/.svelte-kit +.env +.env.* +!.env.example + # Ignore files for PNPM, NPM and YARN pnpm-lock.yaml package-lock.json yarn.lock -.changeset -dist -.vercel \ No newline at end of file +**/.changeset/ +.prettierrc +package.json +.vercel +.contentlayer +**/dist + +CHANGELOG.md + +vite.config.js.timestamp-* +vite.config.ts.timestamp-* + +.DS_Store +node_modules +**/build +**/.svelte-kit +.env +.env.* +!.env.example + +# Ignore files for PNPM, NPM and YARN +pnpm-lock.yaml +package-lock.json +yarn.lock +**/.changeset/ +.prettierrc +package.json +.vercel +.contentlayer +**/dist + +CHANGELOG.md + +vite.config.js.timestamp-* +vite.config.ts.timestamp-* diff --git a/.prettierrc b/.prettierrc index 719f996..9e80540 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,7 +1,9 @@ { "useTabs": true, + "tabWidth": 4, "singleQuote": false, "trailingComma": "es5", + "semi": true, "printWidth": 100, "plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"], "overrides": [ @@ -11,5 +13,6 @@ "parser": "svelte" } } - ] + ], + "tailwindFunctions": ["clsx", "cn", "tv"] } diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ec0efcf --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,27 @@ +{ + // Enable the ESlint flat config support + "eslint.useFlatConfig": true, + + // Auto fix + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit", + "source.organizeImports": "never" + }, + + // Enable eslint for all supported languages + "eslint.validate": [ + "javascript", + "javascriptreact", + "typescript", + "typescriptreact", + "vue", + "svelte", + "html", + "markdown", + "json", + "jsonc", + "yaml", + "toml", + "astro" + ] +} diff --git a/README.md b/README.md index db670fc..bd4fd2b 100644 --- a/README.md +++ b/README.md @@ -42,12 +42,12 @@ Use the drawer in your app. Play around with the examples on StackBlitz: -- [With scaled background](https://stackblitz.com/edit/vaul-svelte-scaled?file=src%2Froutes%2F%2Bpage.svelte) -- [Without scaled background](https://stackblitz.com/edit/vaul-svelte-without-scale?file=src%2Froutes%2F%2Bpage.svelte) -- [With snap points](https://stackblitz.com/edit/vaul-svelte-snap-points?file=src%2Froutes%2F%2Bpage.svelte) -- [Scrollable with inputs](https://stackblitz.com/edit/vaul-svelte-scrollable-with-inputs?file=src%2Froutes%2F%2Bpage.svelte) -- [Nested drawers](https://stackblitz.com/edit/vaul-svelte-nested-drawers?file=src%2Froutes%2F%2Bpage.svelte) -- [Non-dismissible](https://stackblitz.com/edit/vaul-svelte-non-dismissible?file=src%2Froutes%2F%2Bpage.svelte) +- [With scaled background](https://stackblitz.com/edit/vaul-svelte-scaled?file=src%2Froutes%2F%2Bpage.svelte) +- [Without scaled background](https://stackblitz.com/edit/vaul-svelte-without-scale?file=src%2Froutes%2F%2Bpage.svelte) +- [With snap points](https://stackblitz.com/edit/vaul-svelte-snap-points?file=src%2Froutes%2F%2Bpage.svelte) +- [Scrollable with inputs](https://stackblitz.com/edit/vaul-svelte-scrollable-with-inputs?file=src%2Froutes%2F%2Bpage.svelte) +- [Nested drawers](https://stackblitz.com/edit/vaul-svelte-nested-drawers?file=src%2Froutes%2F%2Bpage.svelte) +- [Non-dismissible](https://stackblitz.com/edit/vaul-svelte-non-dismissible?file=src%2Froutes%2F%2Bpage.svelte) ## API Reference @@ -60,15 +60,25 @@ Additional props: `closeThreshold`: Number between 0 and 1 that determines when the drawer should be closed. Example: threshold of 0.5 would close the drawer if the user swiped for 50% of the height of the drawer or more. -`scrollLockTimeout`: Duration for which the drawer is not draggable after scrolling content inside of the drawer. Defaults to 500ms +`scrollLockTimeout`: Duration for which the drawer is not draggable after scrolling content inside of the drawer. Defaults to 500ms. -`snapPoints`: Array of numbers from 0 to 100 that corresponds to % of the screen a given snap point should take up. Should go from least visible. Example `[0.2, 0.5, 0.8]`. You can also use px values, which doesn't take screen height into account. +`snapPoints`: Array of numbers from 0 to 100 that corresponds to % of the screen a given snap point should take up. Should go from least visible. Example [0.2, 0.5, 0.8]. You can also use px values, which doesn't take screen height into account. -`fadeFromIndex`: Index of a `snapPoint` from which the overlay fade should be applied. Defaults to the last snap point. +`fadeFromIndex`: Index of a snapPoint from which the overlay fade should be applied. Defaults to the last snap point. -`direction`: Direction of the drawer. Can be `top`, `bottom`, `left`, or `right`. Defaults to `bottom`. +`modal`: When false it allows to interact with elements outside of the drawer without closing it. Defaults to true. -`backgroundColor`: Background color of the body when the drawer is open and `shouldScaleBackground` is true. Defaults to black. +`handleOnly`: When true only allows the drawer to be dragged by the component. Defaults to false. + +`direction`: Direction of the drawer. Can be top or bottom, left, right. Defaults to bottom. + +`preventScrollRestoration`: When true it prevents scroll restoration when the drawer is closed after a navigation happens inside of it. Defaults to true. + +`disablePreventScroll`: When true scroll prevention mechanism will be disabled. Scroll prevention ensures that page will not scroll on mobile when opening drawer. However this mechanism gets confused when drawer has an input with autofocus and therefore opens simulataneosly with touch keyboard. Defaults to true. modal set to false also disables it. + +`noBodyStyles`: When true the body doesn't get any styles assigned from Vaul. + +`setBackgroundColorOnScale`: When false we don't change body's background color when the drawer is open. true by default. `[data-vaul-no-drag]`: When interacting with an element with this data attribute, the drawer won't be dragged. diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..545a1e4 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,28 @@ +import config, { DEFAULT_IGNORES } from "@huntabyte/eslint-config"; + +const ignores = ["**/extended-types"]; + +export default config({ svelte: true, ignores: [...DEFAULT_IGNORES, ...ignores] }) + .override("antfu/typescript/rules", { + rules: { + "ts/consistent-type-definitions": "off", + "unused-imports/no-unused-imports": "off", + "unused-imports/no-unused-vars": "off", + "ts/no-unused-expressions": "off", + "no-unused-expressions": "off", + "ts/no-empty-object-type": "off", + }, + }) + .override("antfu/javascript/rules", { + rules: { + "no-unused-expressions": "off", + "unused-imports/no-unused-imports": "off", + }, + }) + .override("huntabyte/svelte/rules", { + rules: { + "svelte/no-at-html-tags": "off", + "unused-imports/no-unused-imports": "off", + "unused-imports/no-unused-vars": "off", + }, + }); diff --git a/package.json b/package.json index 26fc6d2..d7f7c7e 100644 --- a/package.json +++ b/package.json @@ -1,81 +1,40 @@ { - "name": "vaul-svelte", - "version": "0.3.2", - "license": "MIT", - "repository": "github:huntabyte/vaul-svelte", + "name": "root", + "description": "Monorepo for vaul-svelte", + "version": "0.0.0", "scripts": { - "dev": "vite dev", - "build": "vite build && pnpm run package", - "preview": "vite preview", - "package": "svelte-kit sync && svelte-package && publint", - "prepublishOnly": "pnpm run package", - "test": "vitest", - "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "lint": "prettier --check . && eslint .", + "build": "pnpm -r build", + "build:packages": "pnpm -F \"./packages/**\" --parallel build", + "check": "pnpm build:packages && pnpm -r check", + "ci:publish": "pnpm build:packages && changeset publish", + "dev": "pnpm -F \"./packages/**\" svelte-kit sync && pnpm -r --parallel --reporter append-only --color dev", "format": "prettier --write .", - "release": "changeset publish", - "changeset": "changeset" - }, - "exports": { - ".": { - "types": "./dist/index.d.ts", - "svelte": "./dist/index.js" - } - }, - "files": [ - "dist", - "!dist/**/*.test.*", - "!dist/**/*.spec.*" - ], - "peerDependencies": { - "svelte": "^4.0.0 || ^5.0.0-next.1" + "lint": "prettier --check . && eslint .", + "lint:fix": "eslint --fix .", + "test": "pnpm -F vaul-svelte test" }, + "keywords": [], + "author": "Hunter Johnston ", + "license": "MIT", "devDependencies": { "@changesets/cli": "^2.27.1", - "@playwright/test": "^1.28.1", - "@sveltejs/adapter-vercel": "^4.0.3", - "@sveltejs/kit": "^2.0.0", - "@sveltejs/package": "^2.0.0", - "@sveltejs/vite-plugin-svelte": "^3.0.1", + "@huntabyte/eslint-config": "^0.3.2", + "@huntabyte/eslint-plugin": "^0.1.0", "@svitejs/changesets-changelog-github-compact": "^1.1.0", - "@testing-library/dom": "^9.3.3", - "@testing-library/svelte": "^4.0.5", - "@testing-library/user-event": "^14.5.2", - "@types/eslint": "8.56.0", - "@types/node": "^20.10.5", - "@typescript-eslint/eslint-plugin": "^6.0.0", - "@typescript-eslint/parser": "^6.0.0", - "autoprefixer": "^10.4.16", - "clsx": "^2.1.0", - "eslint": "^8.56.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-svelte": "^2.35.1", - "jsdom": "^23.0.1", - "postcss": "^8.4.32", - "postcss-load-config": "^5.0.2", - "prettier": "^3.1.1", - "prettier-plugin-svelte": "^3.1.2", - "prettier-plugin-tailwindcss": "^0.5.9", - "publint": "^0.1.9", - "svelte": "^4.2.7", - "svelte-check": "^3.6.0", - "tailwindcss": "^3.3.6", - "tslib": "^2.4.1", - "typescript": "^5.0.0", - "vite": "^5.0.3", - "vitest": "^1.0.0", - "vitest-dom": "^0.1.1" + "eslint": "^9.0.0", + "eslint-plugin-svelte": "^2.44.1", + "prettier": "^3.2.5", + "prettier-plugin-svelte": "^3.2.7", + "prettier-plugin-tailwindcss": "0.6.8", + "svelte": "^5.0.0", + "svelte-eslint-parser": "^0.41.1", + "wrangler": "^3.44.0" }, - "svelte": "./dist/index.js", - "types": "./dist/index.d.ts", "type": "module", - "dependencies": { - "bits-ui": "^0.21.7" - }, "engines": { "pnpm": ">=8.7.0", "node": ">=18" }, - "packageManager": "pnpm@9.6.0" + "packageManager": "pnpm@9.6.0", + "private": true } diff --git a/CHANGELOG.md b/packages/CHANGELOG.md similarity index 100% rename from CHANGELOG.md rename to packages/CHANGELOG.md diff --git a/packages/vaul-svelte/.gitignore b/packages/vaul-svelte/.gitignore new file mode 100644 index 0000000..715b548 --- /dev/null +++ b/packages/vaul-svelte/.gitignore @@ -0,0 +1,22 @@ +node_modules + +# Output +.output +.vercel +/.svelte-kit +/build +/dist + +# OS +.DS_Store +Thumbs.db + +# Env +.env +.env.* +!.env.example +!.env.test + +# Vite +vite.config.js.timestamp-* +vite.config.ts.timestamp-* diff --git a/packages/vaul-svelte/.npmrc b/packages/vaul-svelte/.npmrc new file mode 100644 index 0000000..b6f27f1 --- /dev/null +++ b/packages/vaul-svelte/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/packages/vaul-svelte/CHANGELOG.md b/packages/vaul-svelte/CHANGELOG.md new file mode 100644 index 0000000..73d4103 --- /dev/null +++ b/packages/vaul-svelte/CHANGELOG.md @@ -0,0 +1,21 @@ +# vaul-svelte + +## 1.0.0-next.2 + +### Patch Changes + +- update bits UI ([#103](https://github.com/huntabyte/vaul-svelte/pull/103)) + +- update bits ([#103](https://github.com/huntabyte/vaul-svelte/pull/103)) + +## 1.0.0-next.1 + +### Patch Changes + +- next: fix scroll restoration ([#98](https://github.com/huntabyte/vaul-svelte/pull/98)) + +## 1.0.0-next.0 + +### Major Changes + +- Svelte 5 ([#93](https://github.com/huntabyte/vaul-svelte/pull/93)) diff --git a/packages/vaul-svelte/README.md b/packages/vaul-svelte/README.md new file mode 100644 index 0000000..69f4875 --- /dev/null +++ b/packages/vaul-svelte/README.md @@ -0,0 +1,58 @@ +# create-svelte + +Everything you need to build a Svelte library, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte). + +Read more about creating a library [in the docs](https://kit.svelte.dev/docs/packaging). + +## Creating a project + +If you're seeing this, you've probably already done this step. Congrats! + +```bash +# create a new project in the current directory +npm create svelte@latest + +# create a new project in my-app +npm create svelte@latest my-app +``` + +## Developing + +Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: + +```bash +npm run dev + +# or start the server and open the app in a new browser tab +npm run dev -- --open +``` + +Everything inside `src/lib` is part of your library, everything inside `src/routes` can be used as a showcase or preview app. + +## Building + +To build your library: + +```bash +npm run package +``` + +To create a production version of your showcase app: + +```bash +npm run build +``` + +You can preview the production build with `npm run preview`. + +> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. + +## Publishing + +Go into the `package.json` and give your package the desired name through the `"name"` option. Also consider adding a `"license"` field and point it to a `LICENSE` file which you can create from a template (one popular option is the [MIT license](https://opensource.org/license/mit/)). + +To publish your library to [npm](https://www.npmjs.com): + +```bash +npm publish +``` diff --git a/packages/vaul-svelte/package.json b/packages/vaul-svelte/package.json new file mode 100644 index 0000000..6de1079 --- /dev/null +++ b/packages/vaul-svelte/package.json @@ -0,0 +1,64 @@ +{ + "name": "vaul-svelte", + "version": "1.0.0-next.2", + "license": "MIT", + "repository": "github:huntabyte/vaul-svelte", + "scripts": { + "build": "pnpm package", + "dev": "pnpm watch", + "dev:svelte": "vite dev", + "package": "svelte-kit sync && svelte-package && publint", + "check": "svelte-check --tsconfig ./tsconfig.json", + "test": "vitest", + "watch": "svelte-package --watch" + }, + "exports": { + ".": { + "types": "./dist/index.d.ts", + "svelte": "./dist/index.js" + } + }, + "files": [ + "dist", + "!dist/**/*.test.*", + "!dist/**/*.spec.*" + ], + "peerDependencies": { + "svelte": "^5.0.0" + }, + "devDependencies": { + "@sveltejs/kit": "^2.6.1", + "@sveltejs/package": "^2.3.5", + "@sveltejs/vite-plugin-svelte": "4.0.0", + "@testing-library/dom": "^10.4.0", + "@testing-library/jest-dom": "^6.4.8", + "@testing-library/svelte": "^5.2.1", + "@testing-library/user-event": "^14.5.2", + "@types/jest-axe": "^3.5.9", + "@types/node": "^20.14.10", + "@types/resize-observer-browser": "^0.1.11", + "@types/testing-library__jest-dom": "^5.14.9", + "autoprefixer": "^10.4.16", + "jsdom": "^24.1.0", + "publint": "^0.2.8", + "svelte": "^5.0.0", + "svelte-check": "^4.0.4", + "tslib": "^2.6.3", + "typescript": "^5.5.4", + "vite": "^5.4.8", + "vitest": "^2.1.1", + "vitest-dom": "^0.1.1" + }, + "svelte": "./dist/index.js", + "types": "./dist/index.d.ts", + "type": "module", + "dependencies": { + "bits-ui": "^1.0.0-next.41", + "svelte-toolbelt": "^0.4.4" + }, + "engines": { + "pnpm": ">=8.7.0", + "node": ">=18" + }, + "packageManager": "pnpm@9.6.0" +} diff --git a/packages/vaul-svelte/pnpm-lock.yaml b/packages/vaul-svelte/pnpm-lock.yaml new file mode 100644 index 0000000..93b333c --- /dev/null +++ b/packages/vaul-svelte/pnpm-lock.yaml @@ -0,0 +1,1723 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + devDependencies: + '@sveltejs/adapter-auto': + specifier: ^3.0.0 + version: 3.2.2(@sveltejs/kit@2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5)) + '@sveltejs/kit': + specifier: ^2.0.0 + version: 2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5) + '@sveltejs/package': + specifier: ^2.0.0 + version: 2.3.2(svelte@5.0.0-next.208)(typescript@5.5.4) + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.1.1(svelte@5.0.0-next.208)(vite@5.3.5) + publint: + specifier: ^0.1.9 + version: 0.1.16 + svelte: + specifier: ^5.0.0-next.1 + version: 5.0.0-next.208 + svelte-check: + specifier: ^3.6.0 + version: 3.8.5(postcss@8.4.40)(svelte@5.0.0-next.208) + typescript: + specifier: ^5.0.0 + version: 5.5.4 + vite: + specifier: ^5.0.11 + version: 5.3.5 + vitest: + specifier: ^2.0.0 + version: 2.0.5 + +packages: + + '@ampproject/remapping@2.3.0': + resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} + engines: {node: '>=6.0.0'} + + '@esbuild/aix-ppc64@0.21.5': + resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.21.5': + resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.21.5': + resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.21.5': + resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.21.5': + resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.21.5': + resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.21.5': + resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.21.5': + resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.21.5': + resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.21.5': + resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.21.5': + resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.21.5': + resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.21.5': + resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.21.5': + resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.21.5': + resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.21.5': + resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.21.5': + resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-x64@0.21.5': + resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-x64@0.21.5': + resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/sunos-x64@0.21.5': + resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.21.5': + resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.21.5': + resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.21.5': + resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + + '@jridgewell/gen-mapping@0.3.5': + resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} + engines: {node: '>=6.0.0'} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + 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.5.0': + resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + + '@jridgewell/trace-mapping@0.3.25': + resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + + '@polka/url@1.0.0-next.25': + resolution: {integrity: sha512-j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==} + + '@rollup/rollup-android-arm-eabi@4.20.0': + resolution: {integrity: sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.20.0': + resolution: {integrity: sha512-u00Ro/nok7oGzVuh/FMYfNoGqxU5CPWz1mxV85S2w9LxHR8OoMQBuSk+3BKVIDYgkpeOET5yXkx90OYFc+ytpQ==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.20.0': + resolution: {integrity: sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.20.0': + resolution: {integrity: sha512-xbrMDdlev53vNXexEa6l0LffojxhqDTBeL+VUxuuIXys4x6xyvbKq5XqTXBCEUA8ty8iEJblHvFaWRJTk/icAQ==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-linux-arm-gnueabihf@4.20.0': + resolution: {integrity: sha512-jMYvxZwGmoHFBTbr12Xc6wOdc2xA5tF5F2q6t7Rcfab68TT0n+r7dgawD4qhPEvasDsVpQi+MgDzj2faOLsZjA==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm-musleabihf@4.20.0': + resolution: {integrity: sha512-1asSTl4HKuIHIB1GcdFHNNZhxAYEdqML/MW4QmPS4G0ivbEcBr1JKlFLKsIRqjSwOBkdItn3/ZDlyvZ/N6KPlw==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm64-gnu@4.20.0': + resolution: {integrity: sha512-COBb8Bkx56KldOYJfMf6wKeYJrtJ9vEgBRAOkfw6Ens0tnmzPqvlpjZiLgkhg6cA3DGzCmLmmd319pmHvKWWlQ==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-arm64-musl@4.20.0': + resolution: {integrity: sha512-+it+mBSyMslVQa8wSPvBx53fYuZK/oLTu5RJoXogjk6x7Q7sz1GNRsXWjn6SwyJm8E/oMjNVwPhmNdIjwP135Q==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': + resolution: {integrity: sha512-yAMvqhPfGKsAxHN8I4+jE0CpLWD8cv4z7CK7BMmhjDuz606Q2tFKkWRY8bHR9JQXYcoLfopo5TTqzxgPUjUMfw==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.20.0': + resolution: {integrity: sha512-qmuxFpfmi/2SUkAw95TtNq/w/I7Gpjurx609OOOV7U4vhvUhBcftcmXwl3rqAek+ADBwSjIC4IVNLiszoj3dPA==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-s390x-gnu@4.20.0': + resolution: {integrity: sha512-I0BtGXddHSHjV1mqTNkgUZLnS3WtsqebAXv11D5BZE/gfw5KoyXSAXVqyJximQXNvNzUo4GKlCK/dIwXlz+jlg==} + cpu: [s390x] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.20.0': + resolution: {integrity: sha512-y+eoL2I3iphUg9tN9GB6ku1FA8kOfmF4oUEWhztDJ4KXJy1agk/9+pejOuZkNFhRwHAOxMsBPLbXPd6mJiCwew==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-linux-x64-musl@4.20.0': + resolution: {integrity: sha512-hM3nhW40kBNYUkZb/r9k2FKK+/MnKglX7UYd4ZUy5DJs8/sMsIbqWK2piZtVGE3kcXVNj3B2IrUYROJMMCikNg==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-win32-arm64-msvc@4.20.0': + resolution: {integrity: sha512-psegMvP+Ik/Bg7QRJbv8w8PAytPA7Uo8fpFjXyCRHWm6Nt42L+JtoqH8eDQ5hRP7/XW2UiIriy1Z46jf0Oa1kA==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.20.0': + resolution: {integrity: sha512-GabekH3w4lgAJpVxkk7hUzUf2hICSQO0a/BLFA11/RMxQT92MabKAqyubzDZmMOC/hcJNlc+rrypzNzYl4Dx7A==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.20.0': + resolution: {integrity: sha512-aJ1EJSuTdGnM6qbVC4B5DSmozPTqIag9fSzXRNNo+humQLG89XpPgdt16Ia56ORD7s+H8Pmyx44uczDQ0yDzpg==} + cpu: [x64] + os: [win32] + + '@sveltejs/adapter-auto@3.2.2': + resolution: {integrity: sha512-Mso5xPCA8zgcKrv+QioVlqMZkyUQ5MjDJiEPuG/Z7cV/5tmwV7LmcVWk5tZ+H0NCOV1x12AsoSpt/CwFwuVXMA==} + peerDependencies: + '@sveltejs/kit': ^2.0.0 + + '@sveltejs/kit@2.5.20': + resolution: {integrity: sha512-47rJ5BoYwURE/Rp7FNMLp3NzdbWC9DQ/PmKd0mebxT2D/PrPxZxcLImcD3zsWdX2iS6oJk8ITJbO/N2lWnnUqA==} + engines: {node: '>=18.13'} + hasBin: true + peerDependencies: + '@sveltejs/vite-plugin-svelte': ^3.0.0 + svelte: ^4.0.0 || ^5.0.0-next.0 + vite: ^5.0.3 + + '@sveltejs/package@2.3.2': + resolution: {integrity: sha512-6M8/Te7iXRG7SiH92wugqfyoJpuepjn78L433LnXicUeMso9M/N4vdL9DPK3MfTkVVY4klhNRptVqme3p4oZWA==} + engines: {node: ^16.14 || >=18} + hasBin: true + peerDependencies: + svelte: ^3.44.0 || ^4.0.0 || ^5.0.0-next.1 + + '@sveltejs/vite-plugin-svelte-inspector@2.1.0': + resolution: {integrity: sha512-9QX28IymvBlSCqsCll5t0kQVxipsfhFFL+L2t3nTWfXnddYwxBuAEtTtlaVQpRz9c37BhJjltSeY4AJSC03SSg==} + engines: {node: ^18.0.0 || >=20} + peerDependencies: + '@sveltejs/vite-plugin-svelte': ^3.0.0 + svelte: ^4.0.0 || ^5.0.0-next.0 + vite: ^5.0.0 + + '@sveltejs/vite-plugin-svelte@3.1.1': + resolution: {integrity: sha512-rimpFEAboBBHIlzISibg94iP09k/KYdHgVhJlcsTfn7KMBhc70jFX/GRWkRdFCc2fdnk+4+Bdfej23cMDnJS6A==} + engines: {node: ^18.0.0 || >=20} + peerDependencies: + svelte: ^4.0.0 || ^5.0.0-next.0 + vite: ^5.0.0 + + '@types/cookie@0.6.0': + resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==} + + '@types/estree@1.0.5': + resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + + '@types/pug@2.0.10': + resolution: {integrity: sha512-Sk/uYFOBAB7mb74XcpizmH0KOR2Pv3D2Hmrh1Dmy5BmK3MpdSa5kqZcg6EKBdklU0bFXX9gCfzvpnyUehrPIuA==} + + '@vitest/expect@2.0.5': + resolution: {integrity: sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA==} + + '@vitest/pretty-format@2.0.5': + resolution: {integrity: sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ==} + + '@vitest/runner@2.0.5': + resolution: {integrity: sha512-TfRfZa6Bkk9ky4tW0z20WKXFEwwvWhRY+84CnSEtq4+3ZvDlJyY32oNTJtM7AW9ihW90tX/1Q78cb6FjoAs+ig==} + + '@vitest/snapshot@2.0.5': + resolution: {integrity: sha512-SgCPUeDFLaM0mIUHfaArq8fD2WbaXG/zVXjRupthYfYGzc8ztbFbu6dUNOblBG7XLMR1kEhS/DNnfCZ2IhdDew==} + + '@vitest/spy@2.0.5': + resolution: {integrity: sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==} + + '@vitest/utils@2.0.5': + resolution: {integrity: sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==} + + acorn-typescript@1.4.13: + resolution: {integrity: sha512-xsc9Xv0xlVfwp2o7sQ+GCQ1PgbkdcpWdTzrwXxO3xDMTAywVS3oXVOcOHuRjAPkS4P9b+yc/qNF15460v+jp4Q==} + peerDependencies: + acorn: '>=8.9.0' + + acorn@8.12.1: + resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} + engines: {node: '>=0.4.0'} + hasBin: true + + anymatch@3.1.3: + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} + engines: {node: '>= 8'} + + aria-query@5.3.0: + resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} + + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} + + 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==} + + binary-extensions@2.3.0: + resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} + engines: {node: '>=8'} + + brace-expansion@1.1.11: + resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} + + brace-expansion@2.0.1: + resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} + + braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} + engines: {node: '>=8'} + + buffer-crc32@1.0.0: + resolution: {integrity: sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==} + engines: {node: '>=8.0.0'} + + cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + + chai@5.1.1: + resolution: {integrity: sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==} + engines: {node: '>=12'} + + check-error@2.1.1: + resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} + engines: {node: '>= 16'} + + chokidar@3.6.0: + resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} + engines: {node: '>= 8.10.0'} + + concat-map@0.0.1: + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + + cookie@0.6.0: + resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} + engines: {node: '>= 0.6'} + + cross-spawn@7.0.3: + resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} + engines: {node: '>= 8'} + + debug@4.3.6: + resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + dedent-js@1.0.1: + resolution: {integrity: sha512-OUepMozQULMLUmhxS95Vudo0jb0UchLimi3+pQ2plj61Fcy8axbP9hbiD4Sz6DPqn6XG3kfmziVfQ1rSys5AJQ==} + + deep-eql@5.0.2: + resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} + engines: {node: '>=6'} + + deepmerge@4.3.1: + 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.0.0: + resolution: {integrity: sha512-gO+/OMXF7488D+u3ue+G7Y4AA3ZmUnB3eHJXmBTgNHvr4ZNzl36A0ZtG+XCRNYCkYx/bFmw4qtkoFLa+wSrwAA==} + + 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'} + hasBin: true + + esm-env@1.0.0: + resolution: {integrity: sha512-Cf6VksWPsTuW01vU9Mk/3vRue91Zevka5SjyNf3nEpokFRuqt/KjUQoGAwq9qMmhpLTHmXzSIrFRw8zxWzmFBA==} + + esrap@1.2.2: + resolution: {integrity: sha512-F2pSJklxx1BlQIQgooczXCPHmcWpn6EsP5oo73LQfonG9fIlIENQ8vMmfGXeojP9MrkzUNAfyU5vdFlR9shHAw==} + + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + + execa@8.0.1: + resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} + engines: {node: '>=16.17'} + + fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} + engines: {node: '>=8'} + + fs.realpath@1.0.0: + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + get-func-name@2.0.2: + resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} + + get-stream@8.0.1: + resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} + engines: {node: '>=16'} + + glob-parent@5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + + glob@7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported + + glob@8.1.0: + resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} + engines: {node: '>=12'} + deprecated: Glob versions prior to v9 are no longer supported + + globalyzer@0.1.0: + resolution: {integrity: sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==} + + 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==} + + human-signals@5.0.0: + resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} + engines: {node: '>=16.17.0'} + + ignore-walk@5.0.1: + resolution: {integrity: sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + + import-meta-resolve@4.1.0: + resolution: {integrity: sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==} + + inflight@1.0.6: + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. + + inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + + is-binary-path@2.1.0: + resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} + engines: {node: '>=8'} + + is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + + is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + + is-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + + is-reference@3.0.2: + resolution: {integrity: sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==} + + is-stream@3.0.0: + resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + + kleur@4.1.5: + resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} + engines: {node: '>=6'} + + locate-character@3.0.0: + resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==} + + loupe@3.1.1: + resolution: {integrity: sha512-edNu/8D5MKVfGVFRhFf8aAxiTM6Wumfz5XsaatSxlD3w4R1d/WEKUTydCdPGbl9K7QG/Ca3GnDV2sIKIpXRQcw==} + + lower-case@2.0.2: + resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} + + magic-string@0.30.11: + resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} + + merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + + mimic-fn@4.0.0: + resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} + engines: {node: '>=12'} + + 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==} + + minimatch@5.1.6: + resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} + engines: {node: '>=10'} + + 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'} + + mrmime@2.0.0: + resolution: {integrity: sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==} + engines: {node: '>=10'} + + ms@2.1.2: + resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + + nanoid@3.3.7: + resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + no-case@3.0.4: + resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} + + normalize-path@3.0.0: + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} + + npm-bundled@2.0.1: + resolution: {integrity: sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + + npm-normalize-package-bin@2.0.0: + resolution: {integrity: sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + + npm-packlist@5.1.3: + resolution: {integrity: sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + hasBin: true + + npm-run-path@5.3.0: + resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + once@1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + + onetime@6.0.0: + resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} + engines: {node: '>=12'} + + pascal-case@3.1.2: + resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} + + path-is-absolute@1.0.1: + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} + + path-key@3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} + + path-key@4.0.0: + resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} + engines: {node: '>=12'} + + pathe@1.1.2: + resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} + + pathval@2.0.0: + resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==} + engines: {node: '>= 14.16'} + + picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + + picomatch@2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + + postcss@8.4.40: + resolution: {integrity: sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==} + engines: {node: ^10 || ^12 || >=14} + + publint@0.1.16: + resolution: {integrity: sha512-wJgk7HnXDT5Ap0DjFYbGz78kPkN44iQvDiaq8P63IEEyNU9mYXvaMd2cAyIM6OgqXM/IA3CK6XWIsRq+wjNpgw==} + engines: {node: '>=16'} + hasBin: true + + readdirp@3.6.0: + resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} + engines: {node: '>=8.10.0'} + + rimraf@2.7.1: + resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} + deprecated: Rimraf versions prior to v4 are no longer supported + hasBin: true + + rollup@4.20.0: + resolution: {integrity: sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + sade@1.8.1: + resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} + engines: {node: '>=6'} + + sander@0.5.1: + resolution: {integrity: sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA==} + + semver@7.6.3: + resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} + engines: {node: '>=10'} + hasBin: true + + set-cookie-parser@2.7.0: + resolution: {integrity: sha512-lXLOiqpkUumhRdFF3k1osNXCy9akgx/dyPZ5p8qAg9seJzXr5ZrlqZuWIMuY6ejOsVLE6flJ5/h3lsn57fQ/PQ==} + + shebang-command@2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} + + shebang-regex@3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} + + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + + signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} + + sirv@2.0.4: + resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} + engines: {node: '>= 10'} + + sorcery@0.11.1: + resolution: {integrity: sha512-o7npfeJE6wi6J9l0/5LKshFzZ2rMatRiCDwYeDQaOzqdzRJwALhX7mk/A/ecg6wjMu7wdZbmXfD2S/vpOg0bdQ==} + hasBin: true + + source-map-js@1.2.0: + resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} + engines: {node: '>=0.10.0'} + + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + + std-env@3.7.0: + resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} + + strip-final-newline@3.0.0: + resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} + engines: {node: '>=12'} + + strip-indent@3.0.0: + resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} + engines: {node: '>=8'} + + svelte-check@3.8.5: + resolution: {integrity: sha512-3OGGgr9+bJ/+1nbPgsvulkLC48xBsqsgtc8Wam281H4G9F5v3mYGa2bHRsPuwHC5brKl4AxJH95QF73kmfihGQ==} + hasBin: true + peerDependencies: + svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0 + + 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.4: + resolution: {integrity: sha512-IvnbQ6D6Ao3Gg6ftiM5tdbR6aAETwjhHV+UKGf5bHGYR69RQvF1ho0JKPcbUON4vy4R7zom13jPjgdOWCQ5hDA==} + engines: {node: '>= 16.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 + + svelte2tsx@0.7.15: + resolution: {integrity: sha512-91RbLJI448FR1UEZqXSS3ucVMERuWo8ACOhxfkBPK1CL2ocGMOC5bwc8tzFvb/Ji8NqZ7wmSGfvRebcUsiauKA==} + peerDependencies: + svelte: ^3.55 || ^4.0.0-next.0 || ^4.0 || ^5.0.0-next.0 + typescript: ^4.9.4 || ^5.0.0 + + svelte@5.0.0-next.208: + resolution: {integrity: sha512-gYABb68367fGnY/GIpb/j3DD5DUqhVWi6EodEBVpiRA9wLQTpY8QmuPg04xut/0EHqlFU3a40wbpjJKmpL3Y/g==} + engines: {node: '>=18'} + + tiny-glob@0.2.9: + resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==} + + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + + tinypool@1.0.0: + resolution: {integrity: sha512-KIKExllK7jp3uvrNtvRBYBWBOAXSX8ZvoaD8T+7KB/QHIuoJW3Pmr60zucywjAlMb5TeXUkcs/MWeWLu0qvuAQ==} + engines: {node: ^18.0.0 || >=20.0.0} + + tinyrainbow@1.2.0: + resolution: {integrity: sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==} + engines: {node: '>=14.0.0'} + + tinyspy@3.0.0: + resolution: {integrity: sha512-q5nmENpTHgiPVd1cJDDc9cVoYN5x4vCvwT3FMilvKPKneCBZAxn2YWQjDF0UMcE9k0Cay1gBiDfTMU0g+mPMQA==} + engines: {node: '>=14.0.0'} + + to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + + totalist@3.0.1: + resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} + engines: {node: '>=6'} + + tslib@2.6.3: + resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} + + typescript@5.5.4: + resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} + engines: {node: '>=14.17'} + hasBin: true + + vite-node@2.0.5: + resolution: {integrity: sha512-LdsW4pxj0Ot69FAoXZ1yTnA9bjGohr2yNBU7QKRxpz8ITSkhuDl6h3zS/tvgz4qrNjeRnvrWeXQ8ZF7Um4W00Q==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + + vite@5.3.5: + resolution: {integrity: sha512-MdjglKR6AQXQb9JGiS7Rc2wC6uMjcm7Go/NHNO63EwiJXfuk9PgqiP/n5IDJCziMkfw9n4Ubp7lttNwz+8ZVKA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + + vitefu@0.2.5: + resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} + peerDependencies: + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 + peerDependenciesMeta: + vite: + optional: true + + vitest@2.0.5: + resolution: {integrity: sha512-8GUxONfauuIdeSl5f9GTgVEpg5BTOlplET4WEDaeY2QBiN8wSm68vxN/tb5z405OwppfoCavnwXafiaYBC/xOA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': 2.0.5 + '@vitest/ui': 2.0.5 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + + which@2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} + hasBin: true + + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} + engines: {node: '>=8'} + hasBin: true + + wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + + zimmerframe@1.1.2: + resolution: {integrity: sha512-rAbqEGa8ovJy4pyBxZM70hg4pE6gDgaQ0Sl9M3enG3I0d6H4XSAM3GeNGLKnsBpuijUow064sf7ww1nutC5/3w==} + +snapshots: + + '@ampproject/remapping@2.3.0': + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + + '@esbuild/aix-ppc64@0.21.5': + optional: true + + '@esbuild/android-arm64@0.21.5': + optional: true + + '@esbuild/android-arm@0.21.5': + optional: true + + '@esbuild/android-x64@0.21.5': + optional: true + + '@esbuild/darwin-arm64@0.21.5': + optional: true + + '@esbuild/darwin-x64@0.21.5': + optional: true + + '@esbuild/freebsd-arm64@0.21.5': + optional: true + + '@esbuild/freebsd-x64@0.21.5': + optional: true + + '@esbuild/linux-arm64@0.21.5': + optional: true + + '@esbuild/linux-arm@0.21.5': + optional: true + + '@esbuild/linux-ia32@0.21.5': + optional: true + + '@esbuild/linux-loong64@0.21.5': + optional: true + + '@esbuild/linux-mips64el@0.21.5': + optional: true + + '@esbuild/linux-ppc64@0.21.5': + optional: true + + '@esbuild/linux-riscv64@0.21.5': + optional: true + + '@esbuild/linux-s390x@0.21.5': + optional: true + + '@esbuild/linux-x64@0.21.5': + optional: true + + '@esbuild/netbsd-x64@0.21.5': + optional: true + + '@esbuild/openbsd-x64@0.21.5': + optional: true + + '@esbuild/sunos-x64@0.21.5': + optional: true + + '@esbuild/win32-arm64@0.21.5': + optional: true + + '@esbuild/win32-ia32@0.21.5': + optional: true + + '@esbuild/win32-x64@0.21.5': + optional: true + + '@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.2': {} + + '@jridgewell/set-array@1.2.1': {} + + '@jridgewell/sourcemap-codec@1.5.0': {} + + '@jridgewell/trace-mapping@0.3.25': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.0 + + '@polka/url@1.0.0-next.25': {} + + '@rollup/rollup-android-arm-eabi@4.20.0': + optional: true + + '@rollup/rollup-android-arm64@4.20.0': + optional: true + + '@rollup/rollup-darwin-arm64@4.20.0': + optional: true + + '@rollup/rollup-darwin-x64@4.20.0': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.20.0': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.20.0': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.20.0': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.20.0': + optional: true + + '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.20.0': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.20.0': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.20.0': + optional: true + + '@rollup/rollup-linux-x64-musl@4.20.0': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.20.0': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.20.0': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.20.0': + optional: true + + '@sveltejs/adapter-auto@3.2.2(@sveltejs/kit@2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5))': + dependencies: + '@sveltejs/kit': 2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5) + import-meta-resolve: 4.1.0 + + '@sveltejs/kit@2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5)': + dependencies: + '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@5.0.0-next.208)(vite@5.3.5) + '@types/cookie': 0.6.0 + cookie: 0.6.0 + devalue: 5.0.0 + esm-env: 1.0.0 + import-meta-resolve: 4.1.0 + kleur: 4.1.5 + magic-string: 0.30.11 + mrmime: 2.0.0 + sade: 1.8.1 + set-cookie-parser: 2.7.0 + sirv: 2.0.4 + svelte: 5.0.0-next.208 + tiny-glob: 0.2.9 + vite: 5.3.5 + + '@sveltejs/package@2.3.2(svelte@5.0.0-next.208)(typescript@5.5.4)': + dependencies: + chokidar: 3.6.0 + kleur: 4.1.5 + sade: 1.8.1 + semver: 7.6.3 + svelte: 5.0.0-next.208 + svelte2tsx: 0.7.15(svelte@5.0.0-next.208)(typescript@5.5.4) + transitivePeerDependencies: + - typescript + + '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5)': + dependencies: + '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@5.0.0-next.208)(vite@5.3.5) + debug: 4.3.6 + svelte: 5.0.0-next.208 + vite: 5.3.5 + transitivePeerDependencies: + - supports-color + + '@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5)': + dependencies: + '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5) + debug: 4.3.6 + deepmerge: 4.3.1 + kleur: 4.1.5 + magic-string: 0.30.11 + svelte: 5.0.0-next.208 + svelte-hmr: 0.16.0(svelte@5.0.0-next.208) + vite: 5.3.5 + vitefu: 0.2.5(vite@5.3.5) + transitivePeerDependencies: + - supports-color + + '@types/cookie@0.6.0': {} + + '@types/estree@1.0.5': {} + + '@types/pug@2.0.10': {} + + '@vitest/expect@2.0.5': + dependencies: + '@vitest/spy': 2.0.5 + '@vitest/utils': 2.0.5 + chai: 5.1.1 + tinyrainbow: 1.2.0 + + '@vitest/pretty-format@2.0.5': + dependencies: + tinyrainbow: 1.2.0 + + '@vitest/runner@2.0.5': + dependencies: + '@vitest/utils': 2.0.5 + pathe: 1.1.2 + + '@vitest/snapshot@2.0.5': + dependencies: + '@vitest/pretty-format': 2.0.5 + magic-string: 0.30.11 + pathe: 1.1.2 + + '@vitest/spy@2.0.5': + dependencies: + tinyspy: 3.0.0 + + '@vitest/utils@2.0.5': + dependencies: + '@vitest/pretty-format': 2.0.5 + estree-walker: 3.0.3 + loupe: 3.1.1 + tinyrainbow: 1.2.0 + + acorn-typescript@1.4.13(acorn@8.12.1): + dependencies: + acorn: 8.12.1 + + acorn@8.12.1: {} + + anymatch@3.1.3: + dependencies: + normalize-path: 3.0.0 + picomatch: 2.3.1 + + aria-query@5.3.0: + dependencies: + dequal: 2.0.3 + + assertion-error@2.0.1: {} + + axobject-query@4.1.0: {} + + balanced-match@1.0.2: {} + + binary-extensions@2.3.0: {} + + brace-expansion@1.1.11: + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + + brace-expansion@2.0.1: + dependencies: + balanced-match: 1.0.2 + + braces@3.0.3: + dependencies: + fill-range: 7.1.1 + + buffer-crc32@1.0.0: {} + + cac@6.7.14: {} + + chai@5.1.1: + dependencies: + assertion-error: 2.0.1 + check-error: 2.1.1 + deep-eql: 5.0.2 + loupe: 3.1.1 + pathval: 2.0.0 + + check-error@2.1.1: {} + + chokidar@3.6.0: + dependencies: + anymatch: 3.1.3 + braces: 3.0.3 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.3 + + concat-map@0.0.1: {} + + cookie@0.6.0: {} + + cross-spawn@7.0.3: + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + + debug@4.3.6: + dependencies: + ms: 2.1.2 + + dedent-js@1.0.1: {} + + deep-eql@5.0.2: {} + + deepmerge@4.3.1: {} + + dequal@2.0.3: {} + + detect-indent@6.1.0: {} + + devalue@5.0.0: {} + + es6-promise@3.3.1: {} + + esbuild@0.21.5: + optionalDependencies: + '@esbuild/aix-ppc64': 0.21.5 + '@esbuild/android-arm': 0.21.5 + '@esbuild/android-arm64': 0.21.5 + '@esbuild/android-x64': 0.21.5 + '@esbuild/darwin-arm64': 0.21.5 + '@esbuild/darwin-x64': 0.21.5 + '@esbuild/freebsd-arm64': 0.21.5 + '@esbuild/freebsd-x64': 0.21.5 + '@esbuild/linux-arm': 0.21.5 + '@esbuild/linux-arm64': 0.21.5 + '@esbuild/linux-ia32': 0.21.5 + '@esbuild/linux-loong64': 0.21.5 + '@esbuild/linux-mips64el': 0.21.5 + '@esbuild/linux-ppc64': 0.21.5 + '@esbuild/linux-riscv64': 0.21.5 + '@esbuild/linux-s390x': 0.21.5 + '@esbuild/linux-x64': 0.21.5 + '@esbuild/netbsd-x64': 0.21.5 + '@esbuild/openbsd-x64': 0.21.5 + '@esbuild/sunos-x64': 0.21.5 + '@esbuild/win32-arm64': 0.21.5 + '@esbuild/win32-ia32': 0.21.5 + '@esbuild/win32-x64': 0.21.5 + + esm-env@1.0.0: {} + + esrap@1.2.2: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + '@types/estree': 1.0.5 + + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.5 + + execa@8.0.1: + dependencies: + cross-spawn: 7.0.3 + get-stream: 8.0.1 + human-signals: 5.0.0 + is-stream: 3.0.0 + merge-stream: 2.0.0 + npm-run-path: 5.3.0 + onetime: 6.0.0 + signal-exit: 4.1.0 + strip-final-newline: 3.0.0 + + fill-range@7.1.1: + dependencies: + to-regex-range: 5.0.1 + + fs.realpath@1.0.0: {} + + fsevents@2.3.3: + optional: true + + get-func-name@2.0.2: {} + + get-stream@8.0.1: {} + + glob-parent@5.1.2: + dependencies: + is-glob: 4.0.3 + + glob@7.2.3: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + + glob@8.1.0: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 5.1.6 + once: 1.4.0 + + globalyzer@0.1.0: {} + + globrex@0.1.2: {} + + graceful-fs@4.2.11: {} + + human-signals@5.0.0: {} + + ignore-walk@5.0.1: + dependencies: + minimatch: 5.1.6 + + import-meta-resolve@4.1.0: {} + + inflight@1.0.6: + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + + inherits@2.0.4: {} + + is-binary-path@2.1.0: + dependencies: + binary-extensions: 2.3.0 + + is-extglob@2.1.1: {} + + is-glob@4.0.3: + dependencies: + is-extglob: 2.1.1 + + is-number@7.0.0: {} + + is-reference@3.0.2: + dependencies: + '@types/estree': 1.0.5 + + is-stream@3.0.0: {} + + isexe@2.0.0: {} + + kleur@4.1.5: {} + + locate-character@3.0.0: {} + + loupe@3.1.1: + dependencies: + get-func-name: 2.0.2 + + lower-case@2.0.2: + dependencies: + tslib: 2.6.3 + + magic-string@0.30.11: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + + merge-stream@2.0.0: {} + + mimic-fn@4.0.0: {} + + min-indent@1.0.1: {} + + minimatch@3.1.2: + dependencies: + brace-expansion: 1.1.11 + + minimatch@5.1.6: + 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: {} + + nanoid@3.3.7: {} + + no-case@3.0.4: + dependencies: + lower-case: 2.0.2 + tslib: 2.6.3 + + normalize-path@3.0.0: {} + + npm-bundled@2.0.1: + dependencies: + npm-normalize-package-bin: 2.0.0 + + npm-normalize-package-bin@2.0.0: {} + + npm-packlist@5.1.3: + dependencies: + glob: 8.1.0 + ignore-walk: 5.0.1 + npm-bundled: 2.0.1 + npm-normalize-package-bin: 2.0.0 + + npm-run-path@5.3.0: + dependencies: + path-key: 4.0.0 + + once@1.4.0: + dependencies: + wrappy: 1.0.2 + + onetime@6.0.0: + dependencies: + mimic-fn: 4.0.0 + + pascal-case@3.1.2: + dependencies: + no-case: 3.0.4 + tslib: 2.6.3 + + path-is-absolute@1.0.1: {} + + path-key@3.1.1: {} + + path-key@4.0.0: {} + + pathe@1.1.2: {} + + pathval@2.0.0: {} + + picocolors@1.0.1: {} + + picomatch@2.3.1: {} + + postcss@8.4.40: + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.1 + source-map-js: 1.2.0 + + publint@0.1.16: + dependencies: + npm-packlist: 5.1.3 + picocolors: 1.0.1 + sade: 1.8.1 + + readdirp@3.6.0: + dependencies: + picomatch: 2.3.1 + + rimraf@2.7.1: + dependencies: + glob: 7.2.3 + + rollup@4.20.0: + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.20.0 + '@rollup/rollup-android-arm64': 4.20.0 + '@rollup/rollup-darwin-arm64': 4.20.0 + '@rollup/rollup-darwin-x64': 4.20.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.20.0 + '@rollup/rollup-linux-arm-musleabihf': 4.20.0 + '@rollup/rollup-linux-arm64-gnu': 4.20.0 + '@rollup/rollup-linux-arm64-musl': 4.20.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.20.0 + '@rollup/rollup-linux-riscv64-gnu': 4.20.0 + '@rollup/rollup-linux-s390x-gnu': 4.20.0 + '@rollup/rollup-linux-x64-gnu': 4.20.0 + '@rollup/rollup-linux-x64-musl': 4.20.0 + '@rollup/rollup-win32-arm64-msvc': 4.20.0 + '@rollup/rollup-win32-ia32-msvc': 4.20.0 + '@rollup/rollup-win32-x64-msvc': 4.20.0 + fsevents: 2.3.3 + + sade@1.8.1: + dependencies: + mri: 1.2.0 + + sander@0.5.1: + dependencies: + es6-promise: 3.3.1 + graceful-fs: 4.2.11 + mkdirp: 0.5.6 + rimraf: 2.7.1 + + semver@7.6.3: {} + + set-cookie-parser@2.7.0: {} + + shebang-command@2.0.0: + dependencies: + shebang-regex: 3.0.0 + + shebang-regex@3.0.0: {} + + siginfo@2.0.0: {} + + signal-exit@4.1.0: {} + + sirv@2.0.4: + dependencies: + '@polka/url': 1.0.0-next.25 + mrmime: 2.0.0 + totalist: 3.0.1 + + sorcery@0.11.1: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + buffer-crc32: 1.0.0 + minimist: 1.2.8 + sander: 0.5.1 + + source-map-js@1.2.0: {} + + stackback@0.0.2: {} + + std-env@3.7.0: {} + + strip-final-newline@3.0.0: {} + + strip-indent@3.0.0: + dependencies: + min-indent: 1.0.1 + + svelte-check@3.8.5(postcss@8.4.40)(svelte@5.0.0-next.208): + dependencies: + '@jridgewell/trace-mapping': 0.3.25 + chokidar: 3.6.0 + picocolors: 1.0.1 + sade: 1.8.1 + svelte: 5.0.0-next.208 + svelte-preprocess: 5.1.4(postcss@8.4.40)(svelte@5.0.0-next.208)(typescript@5.5.4) + typescript: 5.5.4 + transitivePeerDependencies: + - '@babel/core' + - coffeescript + - less + - postcss + - postcss-load-config + - pug + - sass + - stylus + - sugarss + + svelte-hmr@0.16.0(svelte@5.0.0-next.208): + dependencies: + svelte: 5.0.0-next.208 + + svelte-preprocess@5.1.4(postcss@8.4.40)(svelte@5.0.0-next.208)(typescript@5.5.4): + dependencies: + '@types/pug': 2.0.10 + detect-indent: 6.1.0 + magic-string: 0.30.11 + sorcery: 0.11.1 + strip-indent: 3.0.0 + svelte: 5.0.0-next.208 + optionalDependencies: + postcss: 8.4.40 + typescript: 5.5.4 + + svelte2tsx@0.7.15(svelte@5.0.0-next.208)(typescript@5.5.4): + dependencies: + dedent-js: 1.0.1 + pascal-case: 3.1.2 + svelte: 5.0.0-next.208 + typescript: 5.5.4 + + svelte@5.0.0-next.208: + dependencies: + '@ampproject/remapping': 2.3.0 + '@jridgewell/sourcemap-codec': 1.5.0 + '@types/estree': 1.0.5 + acorn: 8.12.1 + acorn-typescript: 1.4.13(acorn@8.12.1) + aria-query: 5.3.0 + 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.11 + zimmerframe: 1.1.2 + + tiny-glob@0.2.9: + dependencies: + globalyzer: 0.1.0 + globrex: 0.1.2 + + tinybench@2.9.0: {} + + tinypool@1.0.0: {} + + tinyrainbow@1.2.0: {} + + tinyspy@3.0.0: {} + + to-regex-range@5.0.1: + dependencies: + is-number: 7.0.0 + + totalist@3.0.1: {} + + tslib@2.6.3: {} + + typescript@5.5.4: {} + + vite-node@2.0.5: + dependencies: + cac: 6.7.14 + debug: 4.3.6 + pathe: 1.1.2 + tinyrainbow: 1.2.0 + vite: 5.3.5 + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + + vite@5.3.5: + dependencies: + esbuild: 0.21.5 + postcss: 8.4.40 + rollup: 4.20.0 + optionalDependencies: + fsevents: 2.3.3 + + vitefu@0.2.5(vite@5.3.5): + optionalDependencies: + vite: 5.3.5 + + vitest@2.0.5: + dependencies: + '@ampproject/remapping': 2.3.0 + '@vitest/expect': 2.0.5 + '@vitest/pretty-format': 2.0.5 + '@vitest/runner': 2.0.5 + '@vitest/snapshot': 2.0.5 + '@vitest/spy': 2.0.5 + '@vitest/utils': 2.0.5 + chai: 5.1.1 + debug: 4.3.6 + execa: 8.0.1 + magic-string: 0.30.11 + pathe: 1.1.2 + std-env: 3.7.0 + tinybench: 2.9.0 + tinypool: 1.0.0 + tinyrainbow: 1.2.0 + vite: 5.3.5 + vite-node: 2.0.5 + why-is-node-running: 2.3.0 + transitivePeerDependencies: + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + + which@2.0.2: + dependencies: + isexe: 2.0.0 + + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + + wrappy@1.0.2: {} + + zimmerframe@1.1.2: {} diff --git a/src/app.d.ts b/packages/vaul-svelte/src/app.d.ts similarity index 100% rename from src/app.d.ts rename to packages/vaul-svelte/src/app.d.ts diff --git a/packages/vaul-svelte/src/app.html b/packages/vaul-svelte/src/app.html new file mode 100644 index 0000000..f22aeaa --- /dev/null +++ b/packages/vaul-svelte/src/app.html @@ -0,0 +1,12 @@ + + + + + + + %sveltekit.head% + + +
%sveltekit.body%
+ + diff --git a/src/index.test.ts b/packages/vaul-svelte/src/index.test.ts similarity index 68% rename from src/index.test.ts rename to packages/vaul-svelte/src/index.test.ts index 808401e..3c40f2c 100644 --- a/src/index.test.ts +++ b/packages/vaul-svelte/src/index.test.ts @@ -1,4 +1,4 @@ -import { describe, it, expect } from "vitest"; +import { describe, expect, it } from "vitest"; describe("sum test", () => { it("adds 1 + 2 to equal 3", () => { diff --git a/packages/vaul-svelte/src/lib/components/drawer/drawer-content.svelte b/packages/vaul-svelte/src/lib/components/drawer/drawer-content.svelte new file mode 100644 index 0000000..19143f9 --- /dev/null +++ b/packages/vaul-svelte/src/lib/components/drawer/drawer-content.svelte @@ -0,0 +1,45 @@ + + + + {@render children?.()} + (contentState.mounted = m)} /> + diff --git a/packages/vaul-svelte/src/lib/components/drawer/drawer-handle.svelte b/packages/vaul-svelte/src/lib/components/drawer/drawer-handle.svelte new file mode 100644 index 0000000..f05a24f --- /dev/null +++ b/packages/vaul-svelte/src/lib/components/drawer/drawer-handle.svelte @@ -0,0 +1,31 @@ + + +
+ + {@render children?.()} + +
diff --git a/packages/vaul-svelte/src/lib/components/drawer/drawer-nested.svelte b/packages/vaul-svelte/src/lib/components/drawer/drawer-nested.svelte new file mode 100644 index 0000000..761c5dd --- /dev/null +++ b/packages/vaul-svelte/src/lib/components/drawer/drawer-nested.svelte @@ -0,0 +1,35 @@ + + + rootState.onNestedOpenChange(false)} + onDrag={(e, p) => { + rootState.onNestedDrag(e, p); + onDrag(e, p); + }} + onOpenChange={(o) => { + if (o) { + rootState.onNestedOpenChange(o); + } + onOpenChange(o); + }} + onRelease={(e, o) => rootState.onNestedRelease(e, o)} + {...restProps as any} +/> diff --git a/packages/vaul-svelte/src/lib/components/drawer/drawer-overlay.svelte b/packages/vaul-svelte/src/lib/components/drawer/drawer-overlay.svelte new file mode 100644 index 0000000..7340aac --- /dev/null +++ b/packages/vaul-svelte/src/lib/components/drawer/drawer-overlay.svelte @@ -0,0 +1,34 @@ + + + + { + overlayState.mounted = m; + }} + /> + {@render children?.()} + diff --git a/packages/vaul-svelte/src/lib/components/drawer/drawer-portal.svelte b/packages/vaul-svelte/src/lib/components/drawer/drawer-portal.svelte new file mode 100644 index 0000000..3a6aa00 --- /dev/null +++ b/packages/vaul-svelte/src/lib/components/drawer/drawer-portal.svelte @@ -0,0 +1,10 @@ + + + diff --git a/packages/vaul-svelte/src/lib/components/drawer/drawer.svelte b/packages/vaul-svelte/src/lib/components/drawer/drawer.svelte new file mode 100644 index 0000000..5152311 --- /dev/null +++ b/packages/vaul-svelte/src/lib/components/drawer/drawer.svelte @@ -0,0 +1,431 @@ + + + { + rootState.onDialogOpenChange(o); + handleOpenChange(o); + }} + {...restProps} +/> + + diff --git a/packages/vaul-svelte/src/lib/components/drawer/index.ts b/packages/vaul-svelte/src/lib/components/drawer/index.ts new file mode 100644 index 0000000..1897e41 --- /dev/null +++ b/packages/vaul-svelte/src/lib/components/drawer/index.ts @@ -0,0 +1,24 @@ +import { Dialog as DrawerPrimitive } from "bits-ui"; +export { default as Root } from "./drawer.svelte"; +export { default as Content } from "./drawer-content.svelte"; +export { default as Overlay } from "./drawer-overlay.svelte"; +export { default as NestedRoot } from "./drawer-nested.svelte"; +export { default as Handle } from "./drawer-handle.svelte"; +export { default as Portal } from "./drawer-portal.svelte"; + +export const Trigger: typeof DrawerPrimitive.Trigger = DrawerPrimitive.Trigger; +export const Title: typeof DrawerPrimitive.Title = DrawerPrimitive.Title; +export const Description: typeof DrawerPrimitive.Description = DrawerPrimitive.Description; +export const Close: typeof DrawerPrimitive.Close = DrawerPrimitive.Close; + +export type { + DrawerRootProps as RootProps, + DrawerContentProps as ContentProps, + DrawerOverlayProps as OverlayProps, + DrawerRootProps as NestedRootProps, + DrawerHandleProps as HandleProps, + DrawerTitleProps as TitleProps, + DrawerDescriptionProps as DescriptionProps, + DrawerCloseProps as CloseProps, + DrawerPortalProps as PortalProps, +} from "./types.js"; diff --git a/packages/vaul-svelte/src/lib/components/drawer/types.ts b/packages/vaul-svelte/src/lib/components/drawer/types.ts new file mode 100644 index 0000000..be66e82 --- /dev/null +++ b/packages/vaul-svelte/src/lib/components/drawer/types.ts @@ -0,0 +1,257 @@ +import type { + BitsPrimitiveDivAttributes, + DialogContentPropsWithoutHTML, + DialogOverlayPropsWithoutHTML, + Dialog as DrawerPrimitive, + WithChild, + WithoutChildrenOrChild, +} from "bits-ui"; +import type { WithChildren, Without } from "svelte-toolbelt"; +import type { DrawerDirection, OnChangeFn, OnDrag, OnRelease } from "$lib/types.js"; + +export type WithFadeFromProps = { + /** + * Array of numbers from 0 to 100 that corresponds to % of the screen a given snap point should take up. + * Should go from least visible. Example `[0.2, 0.5, 0.8]`. + * You can also use px values, which doesn't take screen height into account. + */ + snapPoints: (number | string)[]; + /** + * Index of a `snapPoint` from which the overlay fade should be applied. Defaults to the last snap point. + */ + fadeFromIndex: number; +}; + +export type WithoutFadeFromProps = { + /** + * Array of numbers from 0 to 100 that corresponds to % of the screen a given snap point should take up. + * Should go from least visible. Example `[0.2, 0.5, 0.8]`. + * You can also use px values, which doesn't take screen height into account. + */ + snapPoints?: (number | string)[]; + fadeFromIndex?: never; +}; + +export type BaseDrawerRootPropsWithoutHTML = WithChildren<{ + /** + * The open state of the Drawer. + * @bindable + * + * @default false + */ + open?: boolean; + + /** + * A function called when the open state of the Drawer changes. + */ + onOpenChange?: OnChangeFn; + + /** + * When `true` the open state will be controlled, meaning you will be responsible for setting + * the open state of the drawer using the `onOpenChange` prop. + */ + controlledOpen?: boolean; + + /** + * When `true` the open state will be controlled, meaning you will be responsible for setting + * the open state of the drawer using the `onOpenChange` prop. + */ + controlledActiveSnapPoint?: boolean; + + /** + * Number between 0 and 1 that determines when the drawer should be closed. + * + * Example: threshold of 0.5 would close the drawer if the user swiped for + * 50% of the height of the drawer or more. + */ + closeThreshold?: number; + + /** + * Duration in ms for which the drawer is not draggable after + * scrolling content inside of the drawer. + * + * @default 500 + */ + scrollLockTimeout?: number; + + /** + * A callback function that is called when the drawer is dragged + */ + onDrag?: OnDrag; + + /** + * A callback function that is called when the drawer is released + */ + onRelease?: OnRelease; + + /** + * Whether this drawer is nested inside another drawer. + * + * @default false + */ + nested?: boolean; + + /** + * A callback function that is called when the drawer is + * about to close. + */ + onClose?: () => void; + + /** + * Whether the background should scale down when the drawer is open. + * + * @default false + */ + shouldScaleBackground?: boolean; + + /** + * The background color of the body when the drawer is open and `shouldScaleBackground` is true. + * + * @default "black" + */ + backgroundColor?: string; + + /** + * The active snap point of the drawer. You can bind to this value to + * programmatically change the active snap point. + */ + activeSnapPoint?: string | number | null; + + /** + * A function called when the active snap point of the Drawer changes. + */ + onActiveSnapPointChange?: OnChangeFn; + + /** + * Whether the drawer is able to be dismissed naturally. + * If `true` the user can swipe or press outside the drawer to close it, + * if `false` you must provide another way to close the drawer, via + * programmatic control. + * + * @default true + */ + dismissible?: boolean; + + /** + * The direction from which the drawer should open. + * + * @default 'bottom' + * + */ + direction?: DrawerDirection; + + /** + * Whether the drawer should be fixed to the viewport. + * + * @default false + */ + fixed?: boolean; + + /** + * When `true` only allows the drawer to be dragged by the `` component. + * + * @default false + */ + handleOnly?: boolean; + + /** + * When `true` it prevents scroll restoration when the drawer is closed after a navigation + * happens inside of it. + * + * @default true + */ + preventScrollRestoration?: boolean; + + /** + * When `true` the Vaul-Svelte styles are not applied to the body. + * + * @default false + */ + noBodyStyles?: boolean; + + /** + * When false we don't change body's background color when the drawer is open. + * + * @default true + */ + setBackgroundColorOnScale?: boolean; + + /** + * When `true` scroll will not be prevented outside the drawer. + * + * @default false + */ + disablePreventScroll?: boolean; + + /** + * When `true` Vaul will reposition inputs rather than scroll then into view if the keyboard is in the way. + * Setting it to `false` will fall back to the default browser behavior. + * @default true when {@link snapPoints} is defined + */ + repositionInputs?: boolean; + + /** + * Disabled velocity based swiping for snap points. + * This means that a snap point won't be skipped even if the velocity is high enough. + * Useful if each snap point in a drawer is equally important. + * + * @default false + */ + snapToSequentialPoint?: boolean; + + container?: HTMLElement | null; + + /** + * Gets triggered after the open or close animation ends, it receives an `open` argument with the `open` state of the drawer by the time the function was triggered. + * Useful to revert any state changes for example. + */ + onAnimationEnd?: (open: boolean) => void; + + autoFocus?: boolean; + + modal?: boolean; +}> & + (WithFadeFromProps | WithoutFadeFromProps); + +export type DrawerRootPropsWithoutHTML = BaseDrawerRootPropsWithoutHTML & + Without; + +export type DrawerRootProps = DrawerRootPropsWithoutHTML; + +export type DrawerHandlePropsWithoutHTML = Omit< + WithChild<{ + /** + * Whether to prevent cycling the snap points when the handle is pressed. + * + * @default false + */ + preventCycle?: boolean; + }>, + "child" +>; + +export type DrawerHandleProps = DrawerHandlePropsWithoutHTML & + Without; + +export type DrawerContentPropsWithoutHTML = Omit< + WithChildren>, + "preventScroll" +>; + +export type DrawerContentProps = DrawerContentPropsWithoutHTML & + Without; + +export type DrawerOverlayPropsWithoutHTML = WithChildren< + WithoutChildrenOrChild +>; +export type DrawerOverlayProps = DrawerOverlayPropsWithoutHTML & + Without; + +export type { + DialogPortalPropsWithoutHTML as DrawerPortalPropsWithoutHTML, + DialogPortalProps as DrawerPortalProps, + DialogTriggerProps as DrawerTriggerProps, + DialogTitleProps as DrawerTitleProps, + DialogDescriptionProps as DrawerDescriptionProps, + DialogCloseProps as DrawerCloseProps, +} from "bits-ui"; diff --git a/packages/vaul-svelte/src/lib/components/index.ts b/packages/vaul-svelte/src/lib/components/index.ts new file mode 100644 index 0000000..6167fb3 --- /dev/null +++ b/packages/vaul-svelte/src/lib/components/index.ts @@ -0,0 +1 @@ +export * as Drawer from "./drawer/index.js"; diff --git a/packages/vaul-svelte/src/lib/components/utils/mounted.svelte b/packages/vaul-svelte/src/lib/components/utils/mounted.svelte new file mode 100644 index 0000000..2b4378b --- /dev/null +++ b/packages/vaul-svelte/src/lib/components/utils/mounted.svelte @@ -0,0 +1,12 @@ + diff --git a/packages/vaul-svelte/src/lib/helpers.ts b/packages/vaul-svelte/src/lib/helpers.ts new file mode 100644 index 0000000..951a5de --- /dev/null +++ b/packages/vaul-svelte/src/lib/helpers.ts @@ -0,0 +1,158 @@ +import type { AnyFunction, DrawerDirection } from "./types.js"; + +interface Style { + [key: string]: string; +} + +const cache = new WeakMap(); + +export function isInView(el: HTMLElement): boolean { + const rect = el.getBoundingClientRect(); + + if (!window.visualViewport) return false; + + return ( + rect.top >= 0 && + rect.left >= 0 && + // Need + 40 for safari detection + rect.bottom <= window.visualViewport.height - 40 && + rect.right <= window.visualViewport.width + ); +} + +export function set( + el: Element | HTMLElement | null | undefined, + styles: Style, + ignoreCache = false +) { + // console.log(`setting style on node`, el, JSON.stringify(styles, null, 2)); + if (!el || !(el instanceof HTMLElement)) return; + const originalStyles: Style = {}; + + Object.entries(styles).forEach(([key, value]: [string, string]) => { + if (key.startsWith("--")) { + el.style.setProperty(key, value); + return; + } + + // eslint-disable-next-line ts/no-explicit-any + originalStyles[key] = (el.style as any)[key]; + // eslint-disable-next-line ts/no-explicit-any + (el.style as any)[key] = value; + }); + + if (ignoreCache) return; + + cache.set(el, originalStyles); +} + +export function reset(el: Element | HTMLElement | null, prop?: string) { + if (!el || !(el instanceof HTMLElement)) return; + const originalStyles = cache.get(el); + + if (!originalStyles) { + return; + } + + if (prop) { + // eslint-disable-next-line ts/no-explicit-any + (el.style as any)[prop] = originalStyles[prop]; + } else { + Object.entries(originalStyles).forEach(([key, value]) => { + // eslint-disable-next-line ts/no-explicit-any + (el.style as any)[key] = value; + }); + } +} + +function isMac(): boolean | undefined { + return testPlatform(/^Mac/); +} + +function testPlatform(re: RegExp): boolean | undefined { + return typeof window !== "undefined" && window.navigator != null + ? re.test(window.navigator.platform) + : undefined; +} + +function isIPhone(): boolean | undefined { + return testPlatform(/^iPhone/); +} + +export function isSafari(): boolean | undefined { + return /^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent); +} + +function isIPad(): boolean | undefined { + return ( + testPlatform(/^iPad/) || + // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support. + (isMac() && navigator.maxTouchPoints > 1) + ); +} + +export function isIOS(): boolean | undefined { + return isIPhone() || isIPad(); +} + +export function isVertical(direction: DrawerDirection) { + switch (direction) { + case "top": + case "bottom": + return true; + case "left": + case "right": + return false; + default: + return direction satisfies never; + } +} + +export function getTranslate(element: HTMLElement, direction: DrawerDirection): number | null { + if (!element) { + return null; + } + const style = window.getComputedStyle(element); + const transform = + // @ts-expect-error - vendor prefix + style.transform || style.webkitTransform || style.mozTransform; + let mat = transform.match(/^matrix3d\((.+)\)$/); + if (mat) { + // https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/matrix3d + return Number.parseFloat(mat[1].split(", ")[isVertical(direction) ? 13 : 12]); + } + // https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/matrix + mat = transform.match(/^matrix\((.+)\)$/); + return mat ? Number.parseFloat(mat[1].split(", ")[isVertical(direction) ? 5 : 4]) : null; +} + +export function dampenValue(v: number) { + return 8 * (Math.log(v + 1) - 2); +} + +export function assignStyle( + element: HTMLElement | null | undefined, + style: Partial +) { + if (!element) return () => {}; + + const prevStyle = element.style.cssText; + Object.assign(element.style, style); + + return () => { + element.style.cssText = prevStyle; + }; +} + +/** + * Receives functions as arguments and returns a new function that calls all. + */ +export function chain(...fns: T[]) { + return (...args: T extends AnyFunction ? Parameters : never) => { + for (const fn of fns) { + if (typeof fn === "function") { + fn(...args); + } + } + }; +} diff --git a/packages/vaul-svelte/src/lib/index.ts b/packages/vaul-svelte/src/lib/index.ts new file mode 100644 index 0000000..57a6210 --- /dev/null +++ b/packages/vaul-svelte/src/lib/index.ts @@ -0,0 +1,2 @@ +export * from "./components/index.js"; +export * from "./types.js"; diff --git a/packages/vaul-svelte/src/lib/internal/constants.ts b/packages/vaul-svelte/src/lib/internal/constants.ts new file mode 100644 index 0000000..ee34bb5 --- /dev/null +++ b/packages/vaul-svelte/src/lib/internal/constants.ts @@ -0,0 +1,18 @@ +export const TRANSITIONS = { + DURATION: 0.5, + EASE: [0.32, 0.72, 0, 1], +}; + +export const VELOCITY_THRESHOLD = 0.4; + +export const CLOSE_THRESHOLD = 0.25; + +export const SCROLL_LOCK_TIMEOUT = 100; + +export const BORDER_RADIUS = 8; + +export const NESTED_DISPLACEMENT = 16; + +export const WINDOW_TOP_OFFSET = 26; + +export const DRAG_CLASS = "vaul-dragging"; diff --git a/packages/vaul-svelte/src/lib/internal/createContext.ts b/packages/vaul-svelte/src/lib/internal/createContext.ts new file mode 100644 index 0000000..469e678 --- /dev/null +++ b/packages/vaul-svelte/src/lib/internal/createContext.ts @@ -0,0 +1,70 @@ +import { getContext as getSvelteContext, hasContext, setContext as setSvelteContext } from "svelte"; + +function setContext(key: symbol | string, value: T): T { + return setSvelteContext(key, value); +} + +function getContext(key: symbol | string, fallback?: T): T { + const trueKey = typeof key === "symbol" ? key : key; + const description = typeof key === "symbol" ? key.description : key; + + if (!hasContext(trueKey)) { + if (fallback === undefined) { + throw new Error( + `Missing context dependency: ${description} and no fallback was provided.` + ); + } + return fallback as T; + } + return getSvelteContext(key); +} + +function getSymbolDescription(providerComponentName: string | string[], contextName?: string) { + if (contextName !== undefined) return contextName; + if (typeof providerComponentName === "string" && contextName === undefined) { + return `${providerComponentName}Context`; + } else if (Array.isArray(providerComponentName) && contextName === undefined) { + return `${providerComponentName[0]}Context`; + } else { + if (contextName !== undefined) return contextName; + return `${providerComponentName}Context`; + } +} + +export function createContext( + providerComponentName: string | string[], + contextName?: string, + useSymbol = true +) { + const symbolDescription = getSymbolDescription(providerComponentName, contextName); + const symbol = Symbol(symbolDescription); + const key = symbolDescription; + + function getCtx( + fallback?: T + ): T extends null ? ContextValue | null : ContextValue { + const context = getContext(useSymbol ? symbol : key, fallback); + if (context === undefined) { + throw new Error( + `Context \`${symbolDescription}\` not found. Component must be used within ${ + Array.isArray(providerComponentName) + ? `one of the following components: ${providerComponentName.join(", ")}` + : `\`${providerComponentName}\`` + }` + ); + } + // eslint-disable-next-line ts/no-explicit-any + if (context === null) return context as any; + return context; + } + + function setCtx(value: ContextValue): ContextValue { + if (useSymbol) { + return setContext(symbol, value); + } else { + return setContext(key, value); + } + } + + return [setCtx, getCtx] as const; +} diff --git a/packages/vaul-svelte/src/lib/internal/helpers/chain.ts b/packages/vaul-svelte/src/lib/internal/helpers/chain.ts new file mode 100644 index 0000000..3a55a60 --- /dev/null +++ b/packages/vaul-svelte/src/lib/internal/helpers/chain.ts @@ -0,0 +1,15 @@ +// eslint-disable-next-line ts/no-explicit-any +export type AnyFunction = (...args: any) => any; + +/** + * Receives functions as arguments and returns a new function that calls all. + */ +export function chain(...fns: T[]) { + return (...args: T extends AnyFunction ? Parameters : never) => { + for (const fn of fns) { + if (typeof fn === "function") { + fn(...args); + } + } + }; +} diff --git a/src/lib/internal/helpers/is.ts b/packages/vaul-svelte/src/lib/internal/helpers/is.ts similarity index 74% rename from src/lib/internal/helpers/is.ts rename to packages/vaul-svelte/src/lib/internal/helpers/is.ts index aacf72b..9ad571c 100644 --- a/src/lib/internal/helpers/is.ts +++ b/packages/vaul-svelte/src/lib/internal/helpers/is.ts @@ -1,4 +1,4 @@ -import type { DrawerDirection } from "../types.js"; +import type { DrawerDirection } from "$lib/types.js"; // HTML input types that do not cause the software keyboard to appear. const nonTextInputTypes = new Set([ @@ -15,7 +15,7 @@ const nonTextInputTypes = new Set([ export const isBrowser = typeof document !== "undefined"; -// eslint-disable-next-line @typescript-eslint/ban-types +// eslint-disable-next-line ts/no-unsafe-function-type export function isFunction(v: unknown): v is Function { return typeof v === "function"; } @@ -29,8 +29,16 @@ export function isInput(target: Element) { } export function isVertical(direction: DrawerDirection) { - if (direction === "top" || direction === "bottom") return true; - return false; + switch (direction) { + case "top": + case "bottom": + return true; + case "left": + case "right": + return false; + default: + return direction satisfies never; + } } export function isBottomOrRight(direction: DrawerDirection) { diff --git a/src/lib/internal/helpers/noop.ts b/packages/vaul-svelte/src/lib/internal/helpers/noop.ts similarity index 100% rename from src/lib/internal/helpers/noop.ts rename to packages/vaul-svelte/src/lib/internal/helpers/noop.ts diff --git a/packages/vaul-svelte/src/lib/internal/use-id.ts b/packages/vaul-svelte/src/lib/internal/use-id.ts new file mode 100644 index 0000000..dfbc3fd --- /dev/null +++ b/packages/vaul-svelte/src/lib/internal/use-id.ts @@ -0,0 +1,17 @@ +class Counter { + value = 0; + + constructor(initialValue: number = 0) { + this.value = initialValue; + } +} + +const count = new Counter(0); + +/** + * Generates a unique ID based on a global counter. + */ +export function useId() { + const num = count.value++; + return `vaul-${num}`; +} diff --git a/packages/vaul-svelte/src/lib/position-fixed.svelte.ts b/packages/vaul-svelte/src/lib/position-fixed.svelte.ts new file mode 100644 index 0000000..5434d38 --- /dev/null +++ b/packages/vaul-svelte/src/lib/position-fixed.svelte.ts @@ -0,0 +1,142 @@ +import { untrack } from "svelte"; +import type { DrawerRootState } from "./vaul.svelte.js"; +import { isSafari } from "./helpers.js"; + +let previousBodyPosition: Record | null = null; + +export class PositionFixed { + #root: DrawerRootState; + #activeUrl = $state(typeof window !== "undefined" ? window.location.href : ""); + #scrollPos = $state(0); + #open = $derived.by(() => this.#root.open.current); + #noBodyStyles = $derived.by(() => this.#root.noBodyStyles.current); + #preventScrollRestoration = $derived.by(() => this.#root.preventScrollRestoration.current); + #modal = $derived.by(() => this.#root.modal.current); + #nested = $derived.by(() => this.#root.nested.current); + #hasBeenOpened = $derived.by(() => this.#root.hasBeenOpened); + + constructor(root: DrawerRootState) { + this.#root = root; + + $effect(() => { + return untrack(() => { + const onScroll = () => { + this.#scrollPos = window.scrollY; + }; + + onScroll(); + + window.addEventListener("scroll", onScroll); + + return () => { + window.removeEventListener("scroll", onScroll); + }; + }); + }); + + $effect(() => { + this.#activeUrl; + if (!this.#modal) return; + + return () => { + if (typeof document === "undefined") return; + // another drawer has opened, safe to ignore the execution + const hasDrawerOpened = !!document.querySelector("[data-vaul-drawer]"); + if (hasDrawerOpened) return; + + this.restorePositionSetting(); + }; + }); + + $effect(() => { + this.#open; + const modal = this.#modal; + const hasBeenOpened = this.#hasBeenOpened; + const nested = this.#nested; + this.#activeUrl; + + untrack(() => { + if (nested || !hasBeenOpened) return; + // This is needed to force Safari toolbar to show **before** the drawer starts animating to prevent a gnarly shift from happening + if (this.#open) { + // avoid for standalone mode (PWA) + const isStandalone = window.matchMedia("(display-mode: standalone)").matches; + !isStandalone && this.setPositionFixed(); + + if (!modal) { + window.setTimeout(() => { + this.restorePositionSetting(); + }, 500); + } + } else { + this.restorePositionSetting(); + } + }); + }); + } + + setPositionFixed = () => { + // All browsers on iOS will return true here. + if (!isSafari()) return; + + if (previousBodyPosition === null && this.#open && !this.#noBodyStyles) { + previousBodyPosition = { + position: document.body.style.position, + top: document.body.style.top, + left: document.body.style.left, + height: document.body.style.height, + right: "unset", + }; + + // update the dom inside an animation frame + + const { scrollX, innerHeight } = window; + + document.body.style.setProperty("position", "fixed", "important"); + Object.assign(document.body.style, { + top: `${-this.#scrollPos}px`, + left: `${-scrollX}px`, + right: "0px", + height: "auto", + }); + + window.setTimeout( + () => + window.requestAnimationFrame(() => { + // Attempt to check if the bottom bar appeared due to the position change + const bottomBarHeight = innerHeight - window.innerHeight; + if (bottomBarHeight && this.#scrollPos >= innerHeight) { + // Move the content further up so that the bottom bar doesn't hide it + document.body.style.top = `${-(this.#scrollPos + bottomBarHeight)}px`; + } + }), + 300 + ); + } + }; + + restorePositionSetting = () => { + // all browsers on iOS will return true here. + if (!isSafari()) return; + + if (previousBodyPosition !== null && !this.#noBodyStyles) { + // Convert the position from "px" to Int + const y = -Number.parseInt(document.body.style.top, 10); + const x = -Number.parseInt(document.body.style.left, 10); + + // Restore styles + Object.assign(document.body.style, previousBodyPosition); + + window.requestAnimationFrame(() => { + if (this.#preventScrollRestoration && this.#activeUrl !== window.location.href) { + this.#activeUrl = window.location.href; + return; + } + + window.scrollTo(x, y); + }); + + previousBodyPosition = null; + } + }; +} diff --git a/packages/vaul-svelte/src/lib/snap-points.svelte.ts b/packages/vaul-svelte/src/lib/snap-points.svelte.ts new file mode 100644 index 0000000..60cbf73 --- /dev/null +++ b/packages/vaul-svelte/src/lib/snap-points.svelte.ts @@ -0,0 +1,320 @@ +import { untrack } from "svelte"; +import { isBrowser, isVertical } from "./internal/helpers/is.js"; +import type { DrawerRootState } from "./vaul.svelte.js"; +import { set } from "./helpers.js"; +import { TRANSITIONS, VELOCITY_THRESHOLD } from "./internal/constants.js"; + +type Dimensions = { + innerWidth: number; + innerHeight: number; +}; + +export class SnapPointsState { + #root: DrawerRootState; + #direction = $derived.by(() => this.#root.direction.current); + #container = $derived.by(() => this.#root.container.current); + #snapPoints = $derived.by(() => this.#root.snapPoints.current ?? []); + activeSnapPoint = $derived.by(() => this.#root.activeSnapPoint.current); + fadeFromIndex = $derived.by(() => this.#root.fadeFromIndex.current); + #overlayNode = $derived.by(() => this.#root.overlayNode); + #drawerNode = $derived.by(() => this.#root.drawerNode); + #snapToSequentialPoint = $derived.by(() => this.#root.snapToSequentialPoint.current); + + windowDimensions = $state.raw( + isBrowser + ? { + innerWidth: window.innerWidth, + innerHeight: window.innerHeight, + } + : undefined + ); + isLastSnapPoint = $derived.by(() => { + return this.activeSnapPoint === this.#snapPoints?.[this.#snapPoints.length - 1] || null; + }); + + activeSnapPointIndex = $derived.by(() => { + return this.#snapPoints?.findIndex((snapPoint) => snapPoint === this.activeSnapPoint); + }); + + shouldFade = $derived.by(() => { + return ( + (this.#snapPoints && + this.#snapPoints.length > 0 && + (this.fadeFromIndex || this.fadeFromIndex === 0) && + !Number.isNaN(this.fadeFromIndex) && + this.#snapPoints[this.fadeFromIndex] === this.activeSnapPoint) || + !this.#snapPoints + ); + }); + + snapPointsOffset = $derived.by(() => { + this.windowDimensions; + this.#root.open.current; + const containerSize = this.#container + ? { + width: this.#container.getBoundingClientRect().width, + height: this.#container.getBoundingClientRect().height, + } + : typeof window !== "undefined" + ? { width: window.innerWidth, height: window.innerHeight } + : { width: 0, height: 0 }; + + const offset = + this.#snapPoints?.map((snapPoint) => { + const isPx = typeof snapPoint === "string"; + let snapPointAsNumber = 0; + + if (isPx) { + snapPointAsNumber = Number.parseInt(snapPoint, 10); + } + + if (isVertical(this.#direction)) { + const height = isPx + ? snapPointAsNumber + : this.windowDimensions + ? snapPoint * containerSize.height + : 0; + + if (this.windowDimensions) { + return this.#direction === "bottom" + ? containerSize.height - height + : -containerSize.height + height; + } + + return height; + } + const width = isPx + ? snapPointAsNumber + : this.windowDimensions + ? snapPoint * containerSize.width + : 0; + + if (this.windowDimensions) { + return this.#direction === "right" + ? containerSize.width - width + : -containerSize.width + width; + } + + return width; + }) ?? []; + return offset; + }); + + activeSnapPointOffset = $derived.by(() => { + if (this.activeSnapPointIndex !== null) { + if (this.activeSnapPointIndex !== undefined) { + return this.snapPointsOffset[this.activeSnapPointIndex]; + } + } + return null; + }); + + constructor(root: DrawerRootState) { + this.#root = root; + + $effect(() => { + return untrack(() => { + window.addEventListener("resize", this.#onResize); + return () => window.removeEventListener("resize", this.#onResize); + }); + }); + + $effect(() => { + const activeSnapPoint = this.activeSnapPoint; + const snapPoints = this.#snapPoints; + const snapPointsOffset = this.snapPointsOffset; + untrack(() => { + if (activeSnapPoint) { + const newIndex = + snapPoints?.findIndex((snapPoint) => snapPoint === activeSnapPoint) ?? -1; + if ( + snapPointsOffset && + newIndex !== -1 && + typeof snapPointsOffset[newIndex] === "number" + ) { + this.snapToPoint(snapPointsOffset[newIndex]); + } + } + }); + }); + } + + #onResize = () => { + this.windowDimensions = { + innerWidth: window.innerWidth, + innerHeight: window.innerHeight, + }; + }; + + snapToPoint = (dimension: number) => { + const newSnapPointIndex = + this.snapPointsOffset.findIndex((snapPointDim) => snapPointDim === dimension) ?? null; + + this.#root.onSnapPointChange(newSnapPointIndex); + set(this.#drawerNode, { + transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, + transform: isVertical(this.#direction) + ? `translate3d(0, ${dimension}px, 0)` + : `translate3d(${dimension}px, 0, 0)`, + }); + + if ( + this.snapPointsOffset && + newSnapPointIndex !== this.snapPointsOffset.length - 1 && + newSnapPointIndex !== this.fadeFromIndex && + this.fadeFromIndex !== undefined && + newSnapPointIndex < this.fadeFromIndex + ) { + set(this.#overlayNode, { + transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, + opacity: "0", + }); + } else { + set(this.#overlayNode, { + transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, + opacity: "1", + }); + } + + this.#root.setActiveSnapPoint(this.#snapPoints?.[Math.max(newSnapPointIndex, 0)]); + }; + + onRelease = (props: { + draggedDistance: number; + closeDrawer: () => void; + velocity: number; + dismissible: boolean; + }) => { + if (this.fadeFromIndex === undefined) return; + + const currentPosition = + this.#direction === "bottom" || this.#direction === "right" + ? (this.activeSnapPointOffset ?? 0) - props.draggedDistance + : (this.activeSnapPointOffset ?? 0) + props.draggedDistance; + const isOverlaySnapPoint = this.activeSnapPointIndex === this.fadeFromIndex - 1; + const isFirst = this.activeSnapPointIndex === 0; + const hasDraggedUp = props.draggedDistance > 0; + + if (isOverlaySnapPoint) { + set(this.#overlayNode, { + transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, + }); + } + + if (!this.#snapToSequentialPoint && props.velocity > 2 && !hasDraggedUp) { + if (props.dismissible) props.closeDrawer(); + else this.snapToPoint(this.snapPointsOffset[0]); + return; + } + + if ( + !this.#snapToSequentialPoint && + props.velocity > 2 && + hasDraggedUp && + this.snapPointsOffset && + this.#snapPoints + ) { + this.snapToPoint(this.snapPointsOffset[this.#snapPoints.length - 1]); + return; + } + + const closestSnapPoint = this.snapPointsOffset?.reduce((prev, curr) => { + if (typeof prev !== "number" || typeof curr !== "number") return prev; + return Math.abs(curr - currentPosition) < Math.abs(prev - currentPosition) + ? curr + : prev; + }); + + const dim = isVertical(this.#direction) ? window.innerHeight : window.innerWidth; + if (props.velocity > VELOCITY_THRESHOLD && Math.abs(props.draggedDistance) < dim * 0.4) { + const dragDirection = hasDraggedUp ? 1 : -1; // 1 = up, -1 = down + + // Don't do anything if we swipe upwards while being on the last snap point + if (dragDirection > 0 && this.isLastSnapPoint) { + this.snapToPoint(this.snapPointsOffset[this.#snapPoints.length - 1]); + return; + } + + if (isFirst && dragDirection < 0 && props.dismissible) { + this.#root.closeDrawer(); + } + + if (this.activeSnapPointIndex === null) return; + + this.snapToPoint(this.snapPointsOffset[this.activeSnapPointIndex + dragDirection]); + return; + } + + this.snapToPoint(closestSnapPoint); + }; + + onDrag = (props: { draggedDistance: number }) => { + if (this.activeSnapPointOffset === null) return; + const newValue = + this.#direction === "bottom" || this.#direction === "right" + ? this.activeSnapPointOffset - props.draggedDistance + : this.activeSnapPointOffset + props.draggedDistance; + + // Don't do anything if we exceed the last(biggest) snap point + if ( + (this.#direction === "bottom" || this.#direction === "right") && + newValue < this.snapPointsOffset[this.snapPointsOffset.length - 1] + ) { + return; + } + if ( + (this.#direction === "top" || this.#direction === "left") && + newValue > this.snapPointsOffset[this.snapPointsOffset.length - 1] + ) { + return; + } + + set(this.#drawerNode, { + transform: isVertical(this.#direction) + ? `translate3d(0, ${newValue}px, 0)` + : `translate3d(${newValue}px, 0, 0)`, + }); + }; + + getPercentageDragged = (absDraggedDistance: number, isDraggingDown: boolean) => { + if ( + !this.#snapPoints.length || + typeof this.activeSnapPointIndex !== "number" || + !this.snapPointsOffset.length || + this.fadeFromIndex === undefined + ) + return null; + + // If this is true we are dragging to a snap point that is supposed to have an overlay + const isOverlaySnapPoint = this.activeSnapPointIndex === this.fadeFromIndex - 1; + const isOverlaySnapPointOrHigher = this.activeSnapPointIndex >= this.fadeFromIndex; + + if (isOverlaySnapPointOrHigher && isDraggingDown) { + return 0; + } + + // Don't animate, but still use this one if we are dragging away from the overlaySnapPoint + if (isOverlaySnapPoint && !isDraggingDown) return 1; + if (!this.shouldFade && !isOverlaySnapPoint) return null; + + // Either fadeFrom index or the one before + const targetSnapPointIndex = isOverlaySnapPoint + ? this.activeSnapPointIndex + 1 + : this.activeSnapPointIndex - 1; + + // Get the distance from overlaySnapPoint to the one before or vice-versa to calculate the opacity percentage accordingly + const snapPointDistance = isOverlaySnapPoint + ? this.snapPointsOffset[targetSnapPointIndex] - + this.snapPointsOffset[targetSnapPointIndex - 1] + : this.snapPointsOffset[targetSnapPointIndex + 1] - + this.snapPointsOffset[targetSnapPointIndex]; + + const percentageDragged = absDraggedDistance / Math.abs(snapPointDistance); + + if (isOverlaySnapPoint) { + return 1 - percentageDragged; + } else { + return percentageDragged; + } + }; +} diff --git a/packages/vaul-svelte/src/lib/types.ts b/packages/vaul-svelte/src/lib/types.ts new file mode 100644 index 0000000..37050fc --- /dev/null +++ b/packages/vaul-svelte/src/lib/types.ts @@ -0,0 +1,7 @@ +export type * from "./components/drawer/types.js"; +export type DrawerDirection = "left" | "right" | "top" | "bottom"; +export type OnChangeFn = (value: T) => void; +export type OnDrag = (event: PointerEvent | MouseEvent, percentageDragged: number) => void; +export type OnRelease = (event: PointerEvent | MouseEvent, open: boolean) => void; +// eslint-disable-next-line ts/no-explicit-any +export type AnyFunction = (...args: any) => any; diff --git a/packages/vaul-svelte/src/lib/use-scale-background.svelte.ts b/packages/vaul-svelte/src/lib/use-scale-background.svelte.ts new file mode 100644 index 0000000..02d1541 --- /dev/null +++ b/packages/vaul-svelte/src/lib/use-scale-background.svelte.ts @@ -0,0 +1,80 @@ +import { untrack } from "svelte"; +import { BORDER_RADIUS, TRANSITIONS, WINDOW_TOP_OFFSET } from "./internal/constants.js"; +import { isVertical } from "./internal/helpers/is.js"; +import type { DrawerRootState } from "./vaul.svelte.js"; +import { noop } from "./internal/helpers/noop.js"; +import { chain } from "./internal/helpers/chain.js"; +import { assignStyle } from "./helpers.js"; + +export function useScaleBackground(root: DrawerRootState) { + const direction = $derived.by(() => root.direction.current); + const isOpen = $derived.by(() => root.open.current); + const shouldScaleBackground = $derived.by(() => root.shouldScaleBackground.current); + const setBackgroundColorOnScale = $derived.by(() => root.setBackgroundColorOnScale.current); + const noBodyStyles = $derived.by(() => root.noBodyStyles.current); + + let timeoutId = $state(null); + let initialBackgroundColor = $state(""); + + function getScale() { + return (window.innerWidth - WINDOW_TOP_OFFSET) / window.innerWidth; + } + + $effect(() => { + untrack(() => { + initialBackgroundColor = document.body.style.backgroundColor; + }); + }); + + $effect(() => { + isOpen; + shouldScaleBackground; + setBackgroundColorOnScale; + + return untrack(() => { + if (isOpen && shouldScaleBackground) { + if (timeoutId) window.clearTimeout(timeoutId); + const wrapper = + (document.querySelector("[data-vaul-drawer-wrapper]") as HTMLElement) || + (document.querySelector("[vaul-drawer-wrapper]") as HTMLElement); + + if (!wrapper) return; + + chain( + setBackgroundColorOnScale && !noBodyStyles + ? assignStyle(document.body, { background: "black" }) + : noop, + assignStyle(wrapper, { + transformOrigin: isVertical(direction) ? "top" : "left", + transitionProperty: "transform, border-radius", + transitionDuration: `${TRANSITIONS.DURATION}s`, + transitionTimingFunction: `cubic-bezier(${TRANSITIONS.EASE.join(",")})`, + }) + ); + + const wrapperStylesCleanup = assignStyle(wrapper, { + borderRadius: `${BORDER_RADIUS}px`, + overflow: "hidden", + ...(isVertical(direction) + ? { + transform: `scale(${getScale()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`, + } + : { + transform: `scale(${getScale()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`, + }), + }); + + return () => { + wrapperStylesCleanup(); + timeoutId = window.setTimeout(() => { + if (initialBackgroundColor) { + document.body.style.background = initialBackgroundColor; + } else { + document.body.style.removeProperty("background"); + } + }, TRANSITIONS.DURATION * 1000); + }; + } + }); + }); +} diff --git a/packages/vaul-svelte/src/lib/vaul.svelte.ts b/packages/vaul-svelte/src/lib/vaul.svelte.ts new file mode 100644 index 0000000..61b2154 --- /dev/null +++ b/packages/vaul-svelte/src/lib/vaul.svelte.ts @@ -0,0 +1,1190 @@ +import { untrack } from "svelte"; +import type { + Box, + Getter, + ReadableBoxedValues, + WithRefProps, + WritableBox, + WritableBoxedValues, +} from "svelte-toolbelt"; +import type { MouseEventHandler, PointerEventHandler } from "svelte/elements"; +import { isInput, isVertical } from "./internal/helpers/is.js"; +import { + BORDER_RADIUS, + DRAG_CLASS, + NESTED_DISPLACEMENT, + TRANSITIONS, + VELOCITY_THRESHOLD, + WINDOW_TOP_OFFSET, +} from "./internal/constants.js"; +import { PositionFixed } from "./position-fixed.svelte.js"; +import { createContext } from "./internal/createContext.js"; +import { SnapPointsState } from "./snap-points.svelte.js"; +import type { DrawerDirection, OnDrag, OnRelease } from "./types.js"; +import { getTranslate, isIOS, reset, set } from "./helpers.js"; +import { useScaleBackground } from "./use-scale-background.svelte.js"; + +type DrawerRootStateProps = ReadableBoxedValues<{ + closeThreshold: number; + shouldScaleBackground: boolean; + scrollLockTimeout: number; + snapPoints: (string | number)[] | undefined; + fadeFromIndex: number | undefined; + fixed: boolean; + dismissible: boolean; + direction: DrawerDirection; + onDrag: OnDrag; + onRelease: OnRelease; + nested: boolean; + onClose: () => void; + backgroundColor: string | undefined; + modal: boolean; + handleOnly: boolean; + noBodyStyles: boolean; + preventScrollRestoration: boolean; + setBackgroundColorOnScale: boolean; + disablePreventScroll: boolean; + container: HTMLElement | null; + snapToSequentialPoint: boolean; + repositionInputs: boolean; + autoFocus: boolean; +}> & + WritableBoxedValues<{ + open: boolean; + activeSnapPoint: number | string | null | undefined; + }>; + +export class DrawerRootState { + open: DrawerRootStateProps["open"]; + activeSnapPoint: DrawerRootStateProps["activeSnapPoint"]; + closeThreshold: DrawerRootStateProps["closeThreshold"]; + shouldScaleBackground: DrawerRootStateProps["shouldScaleBackground"]; + scrollLockTimeout: DrawerRootStateProps["scrollLockTimeout"]; + snapPoints: DrawerRootStateProps["snapPoints"]; + fadeFromIndex: DrawerRootStateProps["fadeFromIndex"]; + fixed: DrawerRootStateProps["fixed"]; + dismissible: DrawerRootStateProps["dismissible"]; + direction: DrawerRootStateProps["direction"]; + onDragProp: DrawerRootStateProps["onDrag"]; + onReleaseProp: DrawerRootStateProps["onRelease"]; + nested: DrawerRootStateProps["nested"]; + onCloseProp: DrawerRootStateProps["onClose"]; + backgroundColor: DrawerRootStateProps["backgroundColor"]; + modal: DrawerRootStateProps["modal"]; + handleOnly: DrawerRootStateProps["handleOnly"]; + noBodyStyles: DrawerRootStateProps["noBodyStyles"]; + preventScrollRestoration: DrawerRootStateProps["preventScrollRestoration"]; + setBackgroundColorOnScale: DrawerRootStateProps["setBackgroundColorOnScale"]; + disablePreventScroll: DrawerRootStateProps["disablePreventScroll"]; + container: DrawerRootStateProps["container"]; + snapToSequentialPoint: DrawerRootStateProps["snapToSequentialPoint"]; + repositionInputs: DrawerRootStateProps["repositionInputs"]; + autoFocus: DrawerRootStateProps["autoFocus"]; + // + hasBeenOpened = $state(false); + isDragging = $state(false); + justReleased = $state(false); + overlayNode = $state(null); + openTime = $state(null); + dragStartTime = $state(null); + dragEndTime = $state(null); + lastTimeDragPrevented = $state(null); + isAllowedToDrag = $state(false); + nestedOpenChangeTimer = $state(null); + pointerStart = $state(0); + keyboardIsOpen = $state(false); + previousDiffFromInitial = $state(0); + drawerNode = $state(null); + drawerHeight = $state(0); + drawerWidth = $state(0); + initialDrawerHeight = $state(0); + // + snapPointsState: SnapPointsState; + snapPointsOffset = $derived.by(() => this.snapPointsState.snapPointsOffset); + positionFixedState: PositionFixed; + + constructor(props: DrawerRootStateProps) { + this.open = props.open; + this.activeSnapPoint = props.activeSnapPoint; + this.closeThreshold = props.closeThreshold; + this.shouldScaleBackground = props.shouldScaleBackground; + this.scrollLockTimeout = props.scrollLockTimeout; + this.snapPoints = props.snapPoints; + this.fadeFromIndex = props.fadeFromIndex; + this.fixed = props.fixed; + this.dismissible = props.dismissible; + this.direction = props.direction; + this.onDragProp = props.onDrag; + this.onReleaseProp = props.onRelease; + this.nested = props.nested; + this.onCloseProp = props.onClose; + this.backgroundColor = props.backgroundColor; + this.modal = props.modal; + this.handleOnly = props.handleOnly; + this.noBodyStyles = props.noBodyStyles; + this.preventScrollRestoration = props.preventScrollRestoration; + this.setBackgroundColorOnScale = props.setBackgroundColorOnScale; + this.disablePreventScroll = props.disablePreventScroll; + this.container = props.container; + this.snapToSequentialPoint = props.snapToSequentialPoint; + this.repositionInputs = props.repositionInputs; + this.autoFocus = props.autoFocus; + // + this.snapPointsState = new SnapPointsState(this); + this.positionFixedState = new PositionFixed(this); + + $effect(() => { + const activeSnapPointIndex = this.snapPointsState.activeSnapPointIndex; + const snapPoints = this.snapPoints.current; + const snapPointsOffset = this.snapPointsState.snapPointsOffset; + this.drawerNode; + + return untrack(() => { + const onVisualViewportChange = () => { + if (!this.drawerNode || !this.repositionInputs.current) return; + + const focusedElement = document.activeElement as HTMLElement; + if (isInput(focusedElement) || this.keyboardIsOpen) { + const visualViewportHeight = window.visualViewport?.height || 0; + const totalHeight = window.innerHeight; + // This is the height of the keyboard + let diffFromInitial = totalHeight - visualViewportHeight; + const drawerHeight = this.drawerNode.getBoundingClientRect().height || 0; + // Adjust drawer height only if it's tall enough + const isTallEnough = drawerHeight > totalHeight * 0.8; + + if (!this.initialDrawerHeight) { + this.initialDrawerHeight = drawerHeight; + } + const offsetFromTop = this.drawerNode.getBoundingClientRect().top; + + // visualViewport height may change due to some subtle changes to the keyboard. Checking if the height changed by 60 or more will make sure that they keyboard really changed its open state. + if (Math.abs(this.previousDiffFromInitial - diffFromInitial) > 60) { + this.keyboardIsOpen = !this.keyboardIsOpen; + } + + if ( + snapPoints && + snapPoints.length > 0 && + snapPointsOffset && + activeSnapPointIndex + ) { + const activeSnapPointHeight = + snapPointsOffset[activeSnapPointIndex] || 0; + diffFromInitial += activeSnapPointHeight; + } + + this.previousDiffFromInitial = diffFromInitial; + // We don't have to change the height if the input is in view, when we are here we are in the opened keyboard state so we can correctly check if the input is in view + if (drawerHeight > visualViewportHeight || this.keyboardIsOpen) { + const height = this.drawerNode.getBoundingClientRect().height; + let newDrawerHeight = height; + + if (height > visualViewportHeight) { + newDrawerHeight = + visualViewportHeight - + (isTallEnough ? offsetFromTop : WINDOW_TOP_OFFSET); + } + // When fixed, don't move the drawer upwards if there's space, but rather only change it's height so it's fully scrollable when the keyboard is open + if (this.fixed.current) { + this.drawerNode.style.height = `${height - Math.max(diffFromInitial, 0)}px`; + } else { + this.drawerNode.style.height = `${Math.max(newDrawerHeight, visualViewportHeight - offsetFromTop)}px`; + } + } else { + this.drawerNode.style.height = `${this.initialDrawerHeight}px`; + } + + if (snapPoints && snapPoints.length > 0 && !this.keyboardIsOpen) { + this.drawerNode.style.bottom = `0px`; + } else { + // Negative bottom value would never make sense + this.drawerNode.style.bottom = `${Math.max(diffFromInitial, 0)}px`; + } + } + }; + + window.visualViewport?.addEventListener("resize", onVisualViewportChange); + return () => + window.visualViewport?.removeEventListener("resize", onVisualViewportChange); + }); + }); + + // Trigger enter animation without using CSS animation + $effect(() => { + const open = this.open.current; + return untrack(() => { + if (open) { + set(document.documentElement, { + scrollBehavior: "auto", + }); + this.openTime = new Date(); + } + return () => { + reset(document.documentElement, "scrollBehavior"); + }; + }); + }); + + // $effect(() => { + // if (!this.modal.current) { + // window.requestAnimationFrame(() => { + // document.body.style.pointerEvents = "auto"; + // }); + // } + // }); + } + + setActiveSnapPoint = (snapPoint: string | number | null) => { + this.activeSnapPoint.current = snapPoint; + }; + + onSnapPointChange = (activeSnapPointIndex: number) => { + // Change openTime ref when we reach the last snap point to prevent dragging for 500ms incase it's scrollable. + if (this.snapPoints.current && activeSnapPointIndex === this.snapPointsOffset.length - 1) + this.openTime = new Date(); + }; + + onPress = (e: PointerEvent) => { + if (!this.dismissible.current && !this.snapPoints.current) return; + if (this.drawerNode && !this.drawerNode.contains(e.target as Node)) return; + + const drawerRect = this.drawerNode?.getBoundingClientRect(); + + this.drawerHeight = drawerRect?.height || 0; + this.drawerWidth = drawerRect?.width || 0; + this.isDragging = true; + this.dragStartTime = new Date(); + + // iOS doesn't trigger mouseUp after scrolling so we need to listen to touched in order to disallow dragging + if (isIOS()) { + window.addEventListener("touchend", () => (this.isAllowedToDrag = false), { + once: true, + }); + } + // Ensure we maintain correct pointer capture even when going outside of the drawer + (e.target as HTMLElement).setPointerCapture(e.pointerId); + + this.pointerStart = isVertical(this.direction.current) ? e.pageY : e.pageX; + }; + + shouldDrag = (el: EventTarget | null, isDraggingInDirection: boolean) => { + if (el === null) return false; + let element = el as HTMLElement; + const highlightedText = window.getSelection()?.toString(); + const swipeAmount = this.drawerNode + ? getTranslate(this.drawerNode, this.direction.current) + : null; + const date = new Date(); + + if (element.hasAttribute("data-vaul-no-drag") || element.closest("[data-vaul-no-drag]")) { + return false; + } + + if (this.direction.current === "right" || this.direction.current === "left") { + return true; + } + + // Allow scrolling when animating + if (this.openTime && date.getTime() - this.openTime.getTime() < 500) { + return false; + } + + if (swipeAmount !== null) { + if (this.direction.current === "bottom" ? swipeAmount > 0 : swipeAmount < 0) { + return true; + } + } + + // Don't drag if there's highlighted text + if (highlightedText && highlightedText.length > 0) { + return false; + } + + // Disallow dragging if drawer was scrolled within `scrollLockTimeout` + if ( + this.lastTimeDragPrevented !== null && + date.getTime() - this.lastTimeDragPrevented.getTime() < + this.scrollLockTimeout.current && + swipeAmount === 0 + ) { + this.lastTimeDragPrevented = date; + return false; + } + + if (isDraggingInDirection) { + this.lastTimeDragPrevented = date; + + // We are dragging down so we should allow scrolling + return false; + } + + // Keep climbing up the DOM tree as long as there's a parent + while (element) { + // Check if the element is scrollable + if (element.scrollHeight > element.clientHeight) { + if (element.scrollTop !== 0) { + this.lastTimeDragPrevented = new Date(); + + // The element is scrollable and not scrolled to the top, so don't drag + return false; + } + + if (element.getAttribute("role") === "dialog") { + return true; + } + } + + // Move up to the parent element + element = element.parentNode as HTMLElement; + } + + // No scrollable parents not scrolled to the top found, so drag + return true; + }; + + onDrag = (e: PointerEvent) => { + if (!this.drawerNode) return; + if (!this.isDragging) return; + const directionMultiplier = + this.direction.current === "bottom" || this.direction.current === "right" ? 1 : -1; + const draggedDistance = + (this.pointerStart - (isVertical(this.direction.current) ? e.pageY : e.pageX)) * + directionMultiplier; + const isDraggingInDirection = draggedDistance > 0; + + // Pre condition for disallowing dragging in the close direction. + const noCloseSnapPointsPreCondition = + this.snapPoints.current && !this.dismissible.current && !isDraggingInDirection; + + // Disallow dragging down to close when first snap point is the active one and dismissible prop is set to false. + if (noCloseSnapPointsPreCondition && this.snapPointsState.activeSnapPointIndex === 0) + return; + + // We need to capture last time when drag with scroll was triggered and have a timeout between + const absDraggedDistance = Math.abs(draggedDistance); + const wrapper = document.querySelector("[data-vaul-drawer-wrapper]"); + const drawerDimension = + this.direction.current === "bottom" || this.direction.current === "top" + ? this.drawerHeight + : this.drawerWidth; + + // Calculate the percentage dragged, where 1 is the closed position + let percentageDragged = absDraggedDistance / drawerDimension; + + const snapPointPercentageDragged = this.snapPointsState.getPercentageDragged( + absDraggedDistance, + isDraggingInDirection + ); + + if (snapPointPercentageDragged !== null) { + percentageDragged = snapPointPercentageDragged; + } + + // Disallow close dragging beyond the smallest snap point. + if (noCloseSnapPointsPreCondition && percentageDragged >= 1) { + return; + } + + if (!this.isAllowedToDrag && !this.shouldDrag(e.target, isDraggingInDirection)) { + return; + } + this.drawerNode.classList.add(DRAG_CLASS); + // If shouldDrag gave true once after pressing down on the drawer, we set isAllowedToDrag to true and it will remain true until we let go, there's no reason to disable dragging mid way, ever, and that's the solution to it + this.isAllowedToDrag = true; + + set(this.drawerNode, { + transition: "none", + }); + + set(this.overlayNode, { + transition: "none", + }); + + if (this.snapPoints.current && this.snapPoints.current.length > 0) { + this.snapPointsState.onDrag({ draggedDistance }); + } + + // Run this only if snapPoints are not defined or if we are at the last snap point (highest one) + if (isDraggingInDirection && !this.snapPoints.current) { + const dampenedDraggedDistance = dampenValue(draggedDistance); + + const translateValue = Math.min(dampenedDraggedDistance * -1, 0) * directionMultiplier; + set(this.drawerNode, { + transform: isVertical(this.direction.current) + ? `translate3d(0, ${translateValue}px, 0)` + : `translate3d(${translateValue}px, 0, 0)`, + }); + return; + } + + const opacityValue = 1 - percentageDragged; + + if ( + this.snapPointsState.shouldFade || + (this.snapPointsState.fadeFromIndex && + this.snapPointsState.activeSnapPointIndex === + this.snapPointsState.fadeFromIndex - 1) + ) { + this.onDragProp.current?.(e, percentageDragged); + + set( + this.overlayNode, + { + opacity: `${opacityValue}`, + transition: "none", + }, + true + ); + } + + if (wrapper && this.overlayNode && this.shouldScaleBackground.current) { + // Calculate percentageDragged as a fraction (0 to 1) + const scaleValue = Math.min(getScale() + percentageDragged * (1 - getScale()), 1); + const borderRadiusValue = 8 - percentageDragged * 8; + + const translateValue = Math.max(0, 14 - percentageDragged * 14); + + set( + wrapper, + { + borderRadius: `${borderRadiusValue}px`, + transform: isVertical(this.direction.current) + ? `scale(${scaleValue}) translate3d(0, ${translateValue}px, 0)` + : `scale(${scaleValue}) translate3d(${translateValue}px, 0, 0)`, + transition: "none", + }, + true + ); + } + + if (!this.snapPoints.current) { + const translateValue = absDraggedDistance * directionMultiplier; + + set(this.drawerNode, { + transform: isVertical(this.direction.current) + ? `translate3d(0, ${translateValue}px, 0)` + : `translate3d(${translateValue}px, 0, 0)`, + }); + } + }; + + closeDrawer = (fromWithin?: boolean) => { + this.cancelDrag(); + this.onCloseProp.current?.(); + + if (!fromWithin) { + this.open.current = false; + } + + window.setTimeout(() => { + if (this.snapPoints.current && this.snapPoints.current.length > 0) { + this.activeSnapPoint.current = this.snapPoints.current[0]; + } + }, TRANSITIONS.DURATION * 1000); + }; + + resetDrawer = () => { + if (!this.drawerNode) return; + const wrapper = document.querySelector("[data-vaul-drawer-wrapper]"); + const currentSwipeAmount = getTranslate(this.drawerNode, this.direction.current); + + set(this.drawerNode, { + transform: "translate3d(0, 0, 0)", + transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, + }); + + set(this.overlayNode, { + transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, + opacity: "1", + }); + + // Don't reset background if swiped upwards + if ( + this.shouldScaleBackground.current && + currentSwipeAmount && + currentSwipeAmount > 0 && + this.open.current + ) { + set( + wrapper, + { + borderRadius: `${BORDER_RADIUS}px`, + overflow: "hidden", + ...(isVertical(this.direction.current) + ? { + transform: `scale(${getScale()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`, + transformOrigin: "top", + } + : { + transform: `scale(${getScale()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`, + transformOrigin: "left", + }), + transitionProperty: "transform, border-radius", + transitionDuration: `${TRANSITIONS.DURATION}s`, + transitionTimingFunction: `cubic-bezier(${TRANSITIONS.EASE.join(",")})`, + }, + true + ); + } + }; + + cancelDrag = () => { + if (!this.isDragging || !this.drawerNode) return; + this.drawerNode.classList.remove(DRAG_CLASS); + this.isAllowedToDrag = false; + this.isDragging = false; + this.dragEndTime = new Date(); + }; + + onRelease = (e: PointerEvent | MouseEvent) => { + if (!this.isDragging || !this.drawerNode) return; + + this.drawerNode.classList.remove(DRAG_CLASS); + this.isAllowedToDrag = false; + this.isDragging = false; + this.dragEndTime = new Date(); + const swipeAmount = getTranslate(this.drawerNode, this.direction.current); + + if (!this.shouldDrag(e.target, false) || !swipeAmount || Number.isNaN(swipeAmount)) return; + + if (this.dragStartTime === null) return; + + const timeTaken = this.dragEndTime.getTime() - this.dragStartTime.getTime(); + const distMoved = + this.pointerStart - (isVertical(this.direction.current) ? e.pageY : e.pageX); + const velocity = Math.abs(distMoved) / timeTaken; + + if (velocity > 0.05) { + // `justReleased` is needed to prevent the drawer from focusing on an input when the drag ends, as it's not the intent most of the time. + this.justReleased = true; + + setTimeout(() => { + this.justReleased = false; + }, 200); + } + + if (this.snapPoints.current) { + const directionMultiplier = + this.direction.current === "bottom" || this.direction.current === "right" ? 1 : -1; + this.snapPointsState.onRelease({ + draggedDistance: distMoved * directionMultiplier, + closeDrawer: this.closeDrawer, + velocity, + dismissible: this.dismissible.current, + }); + this.onReleaseProp.current?.(e, true); + return; + } + + // Moved upwards, don't do anything + if ( + this.direction.current === "bottom" || this.direction.current === "right" + ? distMoved > 0 + : distMoved < 0 + ) { + this.resetDrawer(); + this.onReleaseProp.current?.(e, true); + return; + } + + if (velocity > VELOCITY_THRESHOLD) { + this.closeDrawer(); + this.onReleaseProp.current?.(e, false); + return; + } + + const visibleDrawerHeight = Math.min( + this.drawerNode.getBoundingClientRect().height ?? 0, + window.innerHeight + ); + const visibleDrawerWidth = Math.min( + this.drawerNode.getBoundingClientRect().width ?? 0, + window.innerWidth + ); + + const isHorizontalSwipe = + this.direction.current === "left" || this.direction.current === "right"; + if ( + Math.abs(swipeAmount) >= + (isHorizontalSwipe ? visibleDrawerWidth : visibleDrawerHeight) * + this.closeThreshold.current + ) { + this.closeDrawer(); + this.onReleaseProp.current?.(e, false); + return; + } + + this.onReleaseProp.current?.(e, true); + this.resetDrawer(); + }; + + onNestedOpenChange = (o: boolean) => { + const scale = o ? (window.innerWidth - NESTED_DISPLACEMENT) / window.innerWidth : 1; + + const y = o ? -NESTED_DISPLACEMENT : 0; + + if (this.nestedOpenChangeTimer) { + window.clearTimeout(this.nestedOpenChangeTimer); + } + + set(this.drawerNode, { + transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, + transform: `scale(${scale}) translate3d(0, ${y}px, 0)`, + }); + + if (!o && this.drawerNode) { + this.nestedOpenChangeTimer = window.setTimeout(() => { + const translateValue = getTranslate( + this.drawerNode as HTMLElement, + this.direction.current + ); + set(this.drawerNode, { + transition: "none", + transform: isVertical(this.direction.current) + ? `translate3d(0, ${translateValue}px, 0)` + : `translate3d(${translateValue}px, 0, 0)`, + }); + }, 500); + } + }; + + onNestedDrag = (_e: PointerEvent | MouseEvent, percentageDragged: number) => { + if (percentageDragged < 0) return; + + const initialScale = (window.innerWidth - NESTED_DISPLACEMENT) / window.innerWidth; + const newScale = initialScale + percentageDragged * (1 - initialScale); + const newTranslate = -NESTED_DISPLACEMENT + percentageDragged * NESTED_DISPLACEMENT; + + set(this.drawerNode, { + transform: isVertical(this.direction.current) + ? `scale(${newScale}) translate3d(0, ${newTranslate}px, 0)` + : `scale(${newScale}) translate3d(${newTranslate}px, 0, 0)`, + transition: "none", + }); + }; + + onNestedRelease = (_e: PointerEvent | MouseEvent, o: boolean) => { + const dim = isVertical(this.direction.current) ? window.innerHeight : window.innerWidth; + const scale = o ? (dim - NESTED_DISPLACEMENT) / dim : 1; + const translate = o ? -NESTED_DISPLACEMENT : 0; + + if (o) { + set(this.drawerNode, { + transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, + transform: isVertical(this.direction.current) + ? `scale(${scale}) translate3d(0, ${translate}px, 0)` + : `scale(${scale}) translate3d(${translate}px, 0, 0)`, + }); + } + }; + + onDialogOpenChange = (o: boolean) => { + if (!this.dismissible.current && !this.open.current) return; + if (o) { + this.hasBeenOpened = true; + } else { + this.closeDrawer(true); + } + + this.open.current = o; + }; +} + +type DrawerOverlayStateProps = WithRefProps; + +class DrawerOverlayState { + #root: DrawerRootState; + #id: DrawerOverlayStateProps["id"]; + #ref: DrawerOverlayStateProps["ref"]; + mounted = $state(false); + + constructor(props: DrawerOverlayStateProps, root: DrawerRootState) { + this.#root = root; + this.#id = props.id; + this.#ref = props.ref; + + useRefById({ + id: this.#id, + ref: this.#ref, + onRefChange: (node) => { + if (!this.mounted) { + this.#root.overlayNode = null; + } else { + this.#root.overlayNode = node; + } + }, + deps: () => this.mounted, + }); + } + + #hasSnapPoints = $derived.by( + () => this.#root.snapPoints.current && this.#root.snapPoints.current.length > 0 + ); + + #onmouseup = (e: MouseEvent) => { + this.#root.onRelease(e); + }; + + props = $derived.by( + () => + ({ + id: this.#id.current, + "data-vaul-overlay": "", + "data-vaul-snap-points": + this.#root.open.current && this.#hasSnapPoints ? "true" : "false", + "data-vaul-snap-points-overlay": + this.#root.open.current && this.#root.snapPointsState.shouldFade + ? "true" + : "false", + onmouseup: this.#onmouseup, + }) as const + ); +} + +type DrawerContentStateProps = WithRefProps & + ReadableBoxedValues<{ + onInteractOutside: (e: PointerEvent) => void; + onPointerDown: PointerEventHandler; + onPointerMove: PointerEventHandler; + onPointerUp: PointerEventHandler; + onPointerOut: PointerEventHandler; + onContextMenu: MouseEventHandler; + onOpenAutoFocus: (e: Event) => void; + }>; + +class DrawerContentState { + #root: DrawerRootState; + #id: DrawerContentStateProps["id"]; + #ref: DrawerContentStateProps["ref"]; + #onInteractOutsideProp: DrawerContentStateProps["onInteractOutside"]; + #onPointerDownProp: DrawerContentStateProps["onPointerDown"]; + #onPointerMoveProp: DrawerContentStateProps["onPointerMove"]; + #onPointerUpProp: DrawerContentStateProps["onPointerUp"]; + #onPointerOutProp: DrawerContentStateProps["onPointerOut"]; + #onContextMenuProp: DrawerContentStateProps["onContextMenu"]; + #onOpenAutoFocusProp: DrawerContentStateProps["onOpenAutoFocus"]; + // + delayedSnapPoints = $state(false); + pointerStart = $state<{ x: number; y: number } | null>(null); + lastKnownPointerEvent = $state(null); + wasBeyondThePoint = $state(false); + hasSnapPoints = $derived.by( + () => this.#root.snapPoints.current && this.#root.snapPoints.current.length > 0 + ); + mounted = $state(false); + + constructor(props: DrawerContentStateProps, root: DrawerRootState) { + this.#root = root; + this.#id = props.id; + this.#ref = props.ref; + this.#onInteractOutsideProp = props.onInteractOutside; + this.#onPointerDownProp = props.onPointerDown; + this.#onPointerMoveProp = props.onPointerMove; + this.#onPointerUpProp = props.onPointerUp; + this.#onPointerOutProp = props.onPointerOut; + this.#onContextMenuProp = props.onContextMenu; + this.#onOpenAutoFocusProp = props.onOpenAutoFocus; + + useRefById({ + id: this.#id, + ref: this.#ref, + onRefChange: (node) => { + if (!this.mounted) { + this.#root.drawerNode = null; + } else { + this.#root.drawerNode = node; + } + }, + deps: () => this.mounted && this.#root.open.current, + }); + + useScaleBackground(this.#root); + + $effect(() => { + if (this.hasSnapPoints && this.#root.open.current) { + window.requestAnimationFrame(() => { + this.delayedSnapPoints = true; + }); + } else { + this.delayedSnapPoints = false; + } + }); + } + + isDeltaInDirection = ( + delta: { x: number; y: number }, + direction: DrawerDirection, + threshold = 0 + ) => { + if (this.wasBeyondThePoint) return true; + + const deltaY = Math.abs(delta.y); + const deltaX = Math.abs(delta.x); + const isDeltaX = deltaX > deltaY; + const dFactor = ["bottom", "right"].includes(direction) ? 1 : -1; + + if (direction === "left" || direction === "right") { + const isReverseDirection = delta.x * dFactor < 0; + if (!isReverseDirection && deltaX >= 0 && deltaX <= threshold) { + return isDeltaX; + } + } else { + const isReverseDirection = delta.y * dFactor < 0; + if (!isReverseDirection && deltaY >= 0 && deltaY <= threshold) { + return !isDeltaX; + } + } + + this.wasBeyondThePoint = true; + return true; + }; + + handleOnPointerUp = (e: PointerEvent) => { + this.pointerStart = null; + this.wasBeyondThePoint = false; + this.#root.onRelease(e); + }; + + onOpenAutoFocus = (e: Event) => { + this.#onOpenAutoFocusProp.current(e); + // if (!this.#root.autoFocus.current) { + // e.preventDefault(); + // } + }; + + onInteractOutside = (e: PointerEvent) => { + this.#onInteractOutsideProp.current(e); + + if (!this.#root.modal.current || e.defaultPrevented) { + e.preventDefault(); + return; + } + + if (this.#root.keyboardIsOpen) { + this.#root.keyboardIsOpen = false; + } + }; + + onFocusOutside = (e: Event) => { + if (!this.#root.modal.current) { + e.preventDefault(); + } + }; + + #onpointermove: PointerEventHandler = (e) => { + this.lastKnownPointerEvent = e; + if (this.#root.handleOnly.current) return; + this.#onPointerMoveProp.current(e); + if (!this.pointerStart) return; + const yPosition = e.pageY - this.pointerStart.y; + const xPosition = e.pageX - this.pointerStart.x; + + const swipeStartThreshold = e.pointerType === "touch" ? 10 : 2; + const delta = { x: xPosition, y: yPosition }; + + const isAllowedToSwipe = this.isDeltaInDirection( + delta, + this.#root.direction.current, + swipeStartThreshold + ); + if (isAllowedToSwipe) this.#root.onDrag(e); + else if ( + Math.abs(xPosition) > swipeStartThreshold || + Math.abs(yPosition) > swipeStartThreshold + ) { + this.pointerStart = null; + } + }; + + #onpointerup: PointerEventHandler = (e) => { + this.#onPointerUpProp.current(e); + this.pointerStart = null; + this.wasBeyondThePoint = false; + this.#root.onRelease(e); + }; + + #onpointerout: PointerEventHandler = (e) => { + this.#onPointerOutProp.current(e); + if (!this.lastKnownPointerEvent) return; + this.handleOnPointerUp(this.lastKnownPointerEvent); + }; + + #oncontextmenu: MouseEventHandler = (e) => { + this.#onContextMenuProp.current(e); + if (!this.lastKnownPointerEvent) return; + this.handleOnPointerUp(this.lastKnownPointerEvent); + }; + + #onpointerdown: PointerEventHandler = (e) => { + if (this.#root.handleOnly.current) return; + this.#onPointerDownProp.current(e); + this.pointerStart = { x: e.pageX, y: e.pageY }; + this.#root.onPress(e); + }; + + snapPointsOffset = $derived.by(() => + $state.snapshot(this.#root.snapPointsState.snapPointsOffset) + ); + + props = $derived.by( + () => + ({ + id: this.#id.current, + "data-vaul-drawer-direction": this.#root.direction.current, + "data-vaul-drawer": "", + "data-vaul-delayed-snap-points": this.delayedSnapPoints ? "true" : "false", + "data-vaul-custom-container": this.#root.container.current ? "true" : "false", + "data-vaul-snap-points": + this.#root.open.current && this.hasSnapPoints ? "true" : "false", + style: + this.snapPointsOffset && this.snapPointsOffset.length > 0 + ? { + "--snap-point-height": `${this.snapPointsOffset[0]!}px`, + } + : undefined, + onpointerdown: this.#onpointerdown, + onpointermove: this.#onpointermove, + onpointerup: this.#onpointerup, + onpointerout: this.#onpointerout, + oncontextmenu: this.#oncontextmenu, + }) as const + ); +} + +const LONG_HANDLE_PRESS_TIMEOUT = 250; +const DOUBLE_TAP_TIMEOUT = 120; + +type DrawerHandleStateProps = WithRefProps & + ReadableBoxedValues<{ + preventCycle: boolean; + }>; + +class DrawerHandleState { + #root: DrawerRootState; + #id: DrawerHandleStateProps["id"]; + #ref: DrawerHandleStateProps["ref"]; + preventCycle: DrawerHandleStateProps["preventCycle"]; + closeTimeoutId = $state(null); + shouldCancelInteraction = $state(false); + + constructor(props: DrawerHandleStateProps, root: DrawerRootState) { + this.#root = root; + this.#id = props.id; + this.#ref = props.ref; + this.preventCycle = props.preventCycle; + + useRefById({ + id: this.#id, + ref: this.#ref, + deps: () => this.#root.open.current, + }); + } + + handleStartCycle = () => { + // Stop if this is the second click of a double click + if (this.shouldCancelInteraction) { + this.handleCancelInteraction(); + return; + } + window.setTimeout(() => { + this.handleCycleSnapPoints(); + }, DOUBLE_TAP_TIMEOUT); + }; + + handleCycleSnapPoints = () => { + // Prevent accidental taps while resizing drawer + if (this.#root.isDragging || this.preventCycle.current || this.shouldCancelInteraction) { + this.handleCancelInteraction(); + return; + } + // Make sure to clear the timeout id if the user releases the handle before the cancel timeout + this.handleCancelInteraction(); + + if ( + (!this.#root.snapPoints.current || this.#root.snapPoints.current.length === 0) && + this.#root.dismissible.current + ) { + this.#root.closeDrawer(); + return; + } + + const isLastSnapPoint = + this.#root.activeSnapPoint.current === + this.#root.snapPoints.current?.[this.#root.snapPoints.current.length - 1]; + + if (isLastSnapPoint && this.#root.dismissible.current) { + this.#root.closeDrawer(); + return; + } + + const currentSnapIndex = this.#root.snapPoints.current?.findIndex( + (point) => point === this.#root.activeSnapPoint.current + ); + if (currentSnapIndex === -1 || currentSnapIndex === undefined) return; // activeSnapPoint not found in snapPoints + const nextSnapPoint = this.#root.snapPoints.current?.[currentSnapIndex + 1] ?? null; + this.#root.setActiveSnapPoint(nextSnapPoint); + }; + + handleStartInteraction = () => { + this.closeTimeoutId = window.setTimeout(() => { + // Cancel click interaction on a long press + this.shouldCancelInteraction = true; + }, LONG_HANDLE_PRESS_TIMEOUT); + }; + + handleCancelInteraction = () => { + if (this.closeTimeoutId !== null) { + window.clearTimeout(this.closeTimeoutId); + } + this.shouldCancelInteraction = false; + }; + + #onclick = () => { + this.handleStartCycle(); + }; + + #onpointercancel = () => { + this.handleCancelInteraction(); + }; + + #onpointerdown = (e: PointerEvent) => { + if (this.#root.handleOnly.current) { + this.#root.onDrag(e); + } + }; + + props = $derived.by( + () => + ({ + id: this.#id.current, + onclick: this.#onclick, + onpointerdown: this.#onpointerdown, + onpointercancel: this.#onpointercancel, + "data-vaul-drawer-visible": this.#root.open.current ? "true" : "false", + "data-vaul-handle": "", + "aria-hidden": "true", + }) as const + ); + + hitAreaProps = $derived.by( + () => + ({ + "data-vaul-handle-hitarea": "", + "aria-hidden": "true", + }) as const + ); +} + +class DrawerPortalState { + #root: DrawerRootState; + + constructor(root: DrawerRootState) { + this.#root = root; + } + + props = $derived.by(() => ({ + to: this.#root.container.current ? this.#root.container.current : undefined, + })); +} + +//////////////////////////////////// +// CONTEXT +//////////////////////////////////// + +export const [setDrawerRootContext, getDrawerRootContext] = + createContext("Drawer.Root"); + +export function useDrawerRoot(props: DrawerRootStateProps) { + return setDrawerRootContext(new DrawerRootState(props)); +} + +export function useDrawerContent(props: DrawerContentStateProps) { + const root = getDrawerRootContext(); + return new DrawerContentState(props, root); +} + +export function useDrawerOverlay(props: DrawerOverlayStateProps) { + const root = getDrawerRootContext(); + return new DrawerOverlayState(props, root); +} + +export function useDrawerHandle(props: DrawerHandleStateProps) { + const root = getDrawerRootContext(); + return new DrawerHandleState(props, root); +} + +export function useDrawerPortal() { + const root = getDrawerRootContext(); + return new DrawerPortalState(root); +} + +//////////////////////////////////// +// HELPERS +//////////////////////////////////// + +function getScale() { + return (window.innerWidth - WINDOW_TOP_OFFSET) / window.innerWidth; +} + +export function dampenValue(v: number) { + return 8 * (Math.log(v + 1) - 2); +} + +type UseRefByIdProps = { + /** + * The ID of the node to find. + */ + id: Box; + + /** + * The ref to set the node to. + */ + ref: WritableBox; + + /** + * A reactive condition that will cause the node to be set. + */ + deps?: Getter; + + /** + * A callback fired when the ref changes. + */ + onRefChange?: (node: HTMLElement | null) => void; +}; + +/** + * Finds the node with that ID and sets it to the boxed node. + * Reactive using `$effect` to ensure when the ID or condition changes, + * an update is triggered and new node is found. + */ +export function useRefById({ + id, + ref, + deps = () => true, + onRefChange = () => {}, +}: UseRefByIdProps) { + const trueDeps = $derived.by(() => deps()); + $effect(() => { + // re-run when the ID changes. + id.current; + // re-run when the deps changes. + trueDeps; + return untrack(() => { + const node = document.getElementById(id.current); + ref.current = node; + onRefChange(ref.current); + + return () => { + onRefChange(null); + }; + }); + }); + + $effect(() => { + return () => { + ref.current = null; + onRefChange(null); + }; + }); +} diff --git a/packages/vaul-svelte/static/favicon.png b/packages/vaul-svelte/static/favicon.png new file mode 100644 index 0000000..825b9e6 Binary files /dev/null and b/packages/vaul-svelte/static/favicon.png differ diff --git a/svelte.config.js b/packages/vaul-svelte/svelte.config.js similarity index 56% rename from svelte.config.js rename to packages/vaul-svelte/svelte.config.js index 4875e1f..570f539 100644 --- a/svelte.config.js +++ b/packages/vaul-svelte/svelte.config.js @@ -1,12 +1,8 @@ -import adapter from "@sveltejs/adapter-vercel"; import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"; /** @type {import('@sveltejs/kit').Config} */ const config = { - preprocess: [vitePreprocess({})], - kit: { - adapter: adapter(), - }, + preprocess: vitePreprocess(), }; export default config; diff --git a/tsconfig.json b/packages/vaul-svelte/tsconfig.json similarity index 82% rename from tsconfig.json rename to packages/vaul-svelte/tsconfig.json index 6f788f1..0c1dbb2 100644 --- a/tsconfig.json +++ b/packages/vaul-svelte/tsconfig.json @@ -9,7 +9,8 @@ "skipLibCheck": true, "sourceMap": true, "strict": true, + "moduleResolution": "NodeNext", "module": "NodeNext", - "moduleResolution": "NodeNext" + "verbatimModuleSyntax": true } } diff --git a/vite.config.ts b/packages/vaul-svelte/vite.config.ts similarity index 72% rename from vite.config.ts rename to packages/vaul-svelte/vite.config.ts index f684b7d..08e3ed5 100644 --- a/vite.config.ts +++ b/packages/vaul-svelte/vite.config.ts @@ -3,4 +3,7 @@ import { defineConfig } from "vitest/config"; export default defineConfig({ plugins: [sveltekit()], + test: { + include: ["src/**/*.{test,spec}.{js,ts}"], + }, }); diff --git a/playwright.config.ts b/playwright.config.ts deleted file mode 100644 index f923685..0000000 --- a/playwright.config.ts +++ /dev/null @@ -1,12 +0,0 @@ -import type { PlaywrightTestConfig } from "@playwright/test"; - -const config: PlaywrightTestConfig = { - webServer: { - command: "npm run build && npm run preview", - port: 4173, - }, - testDir: "tests", - testMatch: /(.+\.)?(test|spec)\.[jt]s/, -}; - -export default config; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c5dcced..65f5a18 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,113 +7,162 @@ settings: importers: .: - dependencies: - bits-ui: - specifier: ^0.21.7 - version: 0.21.7(svelte@4.2.8) devDependencies: '@changesets/cli': specifier: ^2.27.1 version: 2.27.1 - '@playwright/test': - specifier: ^1.28.1 - version: 1.40.1 - '@sveltejs/adapter-vercel': - specifier: ^4.0.3 - version: 4.0.3(@sveltejs/kit@2.0.6) - '@sveltejs/kit': - specifier: ^2.0.0 - version: 2.0.6(@sveltejs/vite-plugin-svelte@3.0.1)(svelte@4.2.8)(vite@5.0.10) - '@sveltejs/package': - specifier: ^2.0.0 - version: 2.2.5(svelte@4.2.8)(typescript@5.3.3) - '@sveltejs/vite-plugin-svelte': - specifier: ^3.0.1 - version: 3.0.1(svelte@4.2.8)(vite@5.0.10) + '@huntabyte/eslint-config': + specifier: ^0.3.2 + version: 0.3.2(@vue/compiler-sfc@3.4.35)(eslint-plugin-svelte@2.44.1(eslint@9.8.0)(svelte@5.1.3))(eslint@9.8.0)(svelte-eslint-parser@0.41.1(svelte@5.1.3))(svelte@5.1.3)(typescript@5.5.4)(vitest@2.1.1) + '@huntabyte/eslint-plugin': + specifier: ^0.1.0 + version: 0.1.0(eslint@9.8.0) '@svitejs/changesets-changelog-github-compact': specifier: ^1.1.0 version: 1.1.0 + eslint: + specifier: ^9.0.0 + version: 9.8.0 + eslint-plugin-svelte: + specifier: ^2.44.1 + version: 2.44.1(eslint@9.8.0)(svelte@5.1.3) + prettier: + specifier: ^3.2.5 + version: 3.3.3 + prettier-plugin-svelte: + specifier: ^3.2.7 + version: 3.2.7(prettier@3.3.3)(svelte@5.1.3) + prettier-plugin-tailwindcss: + specifier: 0.6.8 + version: 0.6.8(prettier-plugin-svelte@3.2.7(prettier@3.3.3)(svelte@5.1.3))(prettier@3.3.3) + svelte: + specifier: ^5.0.0 + version: 5.1.3 + svelte-eslint-parser: + specifier: ^0.41.1 + version: 0.41.1(svelte@5.1.3) + wrangler: + specifier: ^3.44.0 + version: 3.68.0(@cloudflare/workers-types@4.20240729.0) + + packages/vaul-svelte: + dependencies: + bits-ui: + specifier: ^1.0.0-next.41 + version: 1.0.0-next.41(svelte@5.1.3) + svelte-toolbelt: + specifier: ^0.4.4 + version: 0.4.4(svelte@5.1.3) + devDependencies: + '@sveltejs/kit': + specifier: ^2.6.1 + version: 2.6.1(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)))(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)) + '@sveltejs/package': + specifier: ^2.3.5 + version: 2.3.5(svelte@5.1.3)(typescript@5.5.4) + '@sveltejs/vite-plugin-svelte': + specifier: 4.0.0 + version: 4.0.0(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)) '@testing-library/dom': - specifier: ^9.3.3 - version: 9.3.3 + specifier: ^10.4.0 + version: 10.4.0 + '@testing-library/jest-dom': + specifier: ^6.4.8 + version: 6.4.8 '@testing-library/svelte': - specifier: ^4.0.5 - version: 4.0.5(svelte@4.2.8) + specifier: ^5.2.1 + version: 5.2.1(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14))(vitest@2.1.1(@types/node@20.14.14)(jsdom@24.1.1)) '@testing-library/user-event': specifier: ^14.5.2 - version: 14.5.2(@testing-library/dom@9.3.3) - '@types/eslint': - specifier: 8.56.0 - version: 8.56.0 + version: 14.5.2(@testing-library/dom@10.4.0) + '@types/jest-axe': + specifier: ^3.5.9 + version: 3.5.9 '@types/node': - specifier: ^20.10.5 - version: 20.10.5 - '@typescript-eslint/eslint-plugin': - specifier: ^6.0.0 - version: 6.16.0(@typescript-eslint/parser@6.16.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': - specifier: ^6.0.0 - version: 6.16.0(eslint@8.56.0)(typescript@5.3.3) + specifier: ^20.14.10 + version: 20.14.14 + '@types/resize-observer-browser': + specifier: ^0.1.11 + version: 0.1.11 + '@types/testing-library__jest-dom': + specifier: ^5.14.9 + version: 5.14.9 autoprefixer: specifier: ^10.4.16 - version: 10.4.16(postcss@8.4.32) - clsx: - specifier: ^2.1.0 - version: 2.1.0 - eslint: - specifier: ^8.56.0 - version: 8.56.0 - eslint-config-prettier: - specifier: ^9.1.0 - version: 9.1.0(eslint@8.56.0) - eslint-plugin-svelte: - specifier: ^2.35.1 - version: 2.35.1(eslint@8.56.0)(svelte@4.2.8) + version: 10.4.20(postcss@8.4.47) jsdom: - specifier: ^23.0.1 - version: 23.0.1 - postcss: - specifier: ^8.4.32 - version: 8.4.32 - postcss-load-config: - specifier: ^5.0.2 - version: 5.0.2(postcss@8.4.32) - prettier: - specifier: ^3.1.1 - version: 3.1.1 - prettier-plugin-svelte: - specifier: ^3.1.2 - version: 3.1.2(prettier@3.1.1)(svelte@4.2.8) - prettier-plugin-tailwindcss: - specifier: ^0.5.9 - version: 0.5.10(prettier-plugin-svelte@3.1.2)(prettier@3.1.1) + specifier: ^24.1.0 + version: 24.1.1 publint: - specifier: ^0.1.9 - version: 0.1.16 + specifier: ^0.2.8 + version: 0.2.9 svelte: - specifier: ^4.2.7 - version: 4.2.8 + specifier: ^5.0.0 + version: 5.1.3 svelte-check: - specifier: ^3.6.0 - version: 3.6.2(postcss-load-config@5.0.2)(postcss@8.4.32)(svelte@4.2.8) - tailwindcss: - specifier: ^3.3.6 - version: 3.4.0 + specifier: ^4.0.4 + version: 4.0.4(picomatch@4.0.2)(svelte@5.1.3)(typescript@5.5.4) tslib: - specifier: ^2.4.1 - version: 2.6.2 + specifier: ^2.6.3 + version: 2.6.3 typescript: - specifier: ^5.0.0 - version: 5.3.3 + specifier: ^5.5.4 + version: 5.5.4 vite: - specifier: ^5.0.3 - version: 5.0.10(@types/node@20.10.5) + specifier: ^5.4.8 + version: 5.4.8(@types/node@20.14.14) vitest: - specifier: ^1.0.0 - version: 1.1.0(@types/node@20.10.5)(jsdom@23.0.1) + specifier: ^2.1.1 + version: 2.1.1(@types/node@20.14.14)(jsdom@24.1.1) vitest-dom: specifier: ^0.1.1 - version: 0.1.1(vitest@1.1.0) + version: 0.1.1(vitest@2.1.1(@types/node@20.14.14)(jsdom@24.1.1)) + + sites/docs: + dependencies: + bits-ui: + specifier: 1.0.0-next.28 + version: 1.0.0-next.28(svelte@5.1.3) + clsx: + specifier: ^2.1.1 + version: 2.1.1 + vaul-svelte: + specifier: workspace:* + version: link:../../packages/vaul-svelte + devDependencies: + '@sveltejs/adapter-cloudflare': + specifier: ^4.7.2 + version: 4.7.2(@sveltejs/kit@2.6.1(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)))(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)))(wrangler@3.68.0(@cloudflare/workers-types@4.20240729.0)) + '@sveltejs/kit': + specifier: ^2.6.1 + version: 2.6.1(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)))(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)) + '@sveltejs/vite-plugin-svelte': + specifier: 4.0.0 + version: 4.0.0(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)) + autoprefixer: + specifier: ^10.4.17 + version: 10.4.20(postcss@8.4.40) + postcss: + specifier: ^8.4.33 + version: 8.4.40 + postcss-load-config: + specifier: ^5.0.2 + version: 5.0.2(jiti@1.21.0)(postcss@8.4.40) + svelte: + specifier: ^5.0.0 + version: 5.1.3 + svelte-check: + specifier: ^4.0.4 + version: 4.0.4(picomatch@4.0.2)(svelte@5.1.3)(typescript@5.5.4) + tailwindcss: + specifier: ^3.4.13 + version: 3.4.13 + typescript: + specifier: ^5.5.4 + version: 5.5.4 + vite: + specifier: ^5.4.8 + version: 5.4.8(@types/node@20.14.14) packages: @@ -121,30 +170,98 @@ packages: resolution: {integrity: sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==} engines: {node: '>=0.10.0'} + '@adobe/css-tools@4.4.0': + resolution: {integrity: sha512-Ff9+ksdQQB3rMncgqDK78uLznstjyfIf2Arnh22pW8kBpLs6rpKDwgnZT46hin5Hl1WzazzK64DOrhSwYpS7bQ==} + '@alloc/quick-lru@5.2.0': 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'} + '@antfu/eslint-config@2.24.1': + resolution: {integrity: sha512-vk2zqPO3HFHxhlIZbMxjo185qvMmCUUc6H58TrXHjMxnCCkw9SqBDWemV6uKUmPSphaOipjzoXYYSyeFYhGa1w==} + hasBin: true + peerDependencies: + '@eslint-react/eslint-plugin': ^1.5.8 + '@prettier/plugin-xml': ^3.4.1 + '@unocss/eslint-plugin': '>=0.50.0' + astro-eslint-parser: ^1.0.2 + eslint: '>=8.40.0' + eslint-plugin-astro: ^1.2.0 + eslint-plugin-format: '>=0.1.0' + eslint-plugin-react-hooks: ^4.6.0 + eslint-plugin-react-refresh: ^0.4.4 + eslint-plugin-solid: ^0.13.2 + eslint-plugin-svelte: '>=2.35.1' + prettier-plugin-astro: ^0.13.0 + prettier-plugin-slidev: ^1.0.5 + svelte-eslint-parser: '>=0.37.0' + peerDependenciesMeta: + '@eslint-react/eslint-plugin': + optional: true + '@prettier/plugin-xml': + optional: true + '@unocss/eslint-plugin': + optional: true + astro-eslint-parser: + optional: true + eslint-plugin-astro: + optional: true + eslint-plugin-format: + optional: true + eslint-plugin-react-hooks: + optional: true + eslint-plugin-react-refresh: + optional: true + eslint-plugin-solid: + optional: true + eslint-plugin-svelte: + optional: true + prettier-plugin-astro: + optional: true + prettier-plugin-slidev: + optional: true + svelte-eslint-parser: + optional: true + + '@antfu/install-pkg@0.3.3': + resolution: {integrity: sha512-nHHsk3NXQ6xkCfiRRC8Nfrg8pU5kkr3P3Y9s9dKqiuRmBD0Yap7fymNDjGFKeWhZQHqqbCS5CfeMy9wtExM24w==} + + '@antfu/utils@0.7.10': + resolution: {integrity: sha512-+562v9k4aI80m1+VuMHehNJWLOFjBnXn3tdOitzD0il5b7smkSBal4+a3oKiQTbrwMmN/TBUMDvbdoWDehgOww==} + '@babel/code-frame@7.23.5': resolution: {integrity: sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==} engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.22.20': - resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} + '@babel/helper-string-parser@7.24.8': + resolution: {integrity: sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-identifier@7.24.7': + resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} engines: {node: '>=6.9.0'} '@babel/highlight@7.23.4': resolution: {integrity: sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==} engines: {node: '>=6.9.0'} + '@babel/parser@7.25.3': + resolution: {integrity: sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==} + engines: {node: '>=6.0.0'} + hasBin: true + '@babel/runtime@7.23.7': resolution: {integrity: sha512-w06OXVOFso7LcbzMiDGt+3X7Rh7Ho8MmgPoWU3rarH+8upf+wSU/grlGbWzQyr3DkdN6ZeuMFjpdwW0Q+HxobA==} engines: {node: '>=6.9.0'} + '@babel/types@7.25.2': + resolution: {integrity: sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==} + engines: {node: '>=6.9.0'} + '@changesets/apply-release-plan@7.0.0': resolution: {integrity: sha512-vfi69JR416qC9hWmFGSxj7N6wA5J222XNBmezSVATPWDVPIF7gkd4d8CpbEbXmRWbVrkoli3oerGS6dcL/BGsQ==} @@ -200,140 +317,339 @@ packages: '@changesets/write@0.3.0': resolution: {integrity: sha512-slGLb21fxZVUYbyea+94uFiD6ntQW0M2hIKNznFizDhZPDgn2c/fv1UzzlW43RVzh1BEDuIqW6hzlJ1OflNmcw==} - '@esbuild/aix-ppc64@0.19.11': - resolution: {integrity: sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==} + '@clack/core@0.3.4': + resolution: {integrity: sha512-H4hxZDXgHtWTwV3RAVenqcC4VbJZNegbBjlPvzOzCouXtS2y3sDvlO3IsbrPNWuLWPPlYVYPghQdSF64683Ldw==} + + '@clack/prompts@0.7.0': + resolution: {integrity: sha512-0MhX9/B4iL6Re04jPrttDm+BsP8y6mS7byuv0BvXgdXhbV5PdlsHt55dvNsuBCPZ7xq1oTAOOuotR9NFbQyMSA==} + bundledDependencies: + - is-unicode-supported + + '@cloudflare/kv-asset-handler@0.3.4': + resolution: {integrity: sha512-YLPHc8yASwjNkmcDMQMY35yiWjoKAKnhUbPRszBRS0YgH+IXtsMp61j+yTcnCE3oO2DgP0U3iejLC8FTtKDC8Q==} + engines: {node: '>=16.13'} + + '@cloudflare/workerd-darwin-64@1.20240725.0': + resolution: {integrity: sha512-KpE7eycdZ9ON+tKBuTyqZh8SdFWHGrh2Ru9LcbpeFwb7O9gDQv9ceSdoV/T598qlT0a0yVKM62R6xa5ec0UOWA==} + engines: {node: '>=16'} + cpu: [x64] + os: [darwin] + + '@cloudflare/workerd-darwin-arm64@1.20240725.0': + resolution: {integrity: sha512-/UQlI04FdXLpPlDzzsWGz8TuKrMZKLowTo+8PkxgEiWIaBhE4DIDM5bwj3jM4Bs8yOLiL2ovQNpld5CnAKqA8g==} + engines: {node: '>=16'} + cpu: [arm64] + os: [darwin] + + '@cloudflare/workerd-linux-64@1.20240725.0': + resolution: {integrity: sha512-Z5t12qYLvHz0b3ZRBBm2HQ93RiHrAnjFfdhtjMcgJypAGkiWpOCEn2xar/WqDhMfqnk0sa8aYiYAbMAlP1WN6w==} + engines: {node: '>=16'} + cpu: [x64] + os: [linux] + + '@cloudflare/workerd-linux-arm64@1.20240725.0': + resolution: {integrity: sha512-j9gYXLOwOyNehLMzP7KxQ+Y6/nxcL9i6LTDJC6RChoaxLRbm0Y/9Otu+hfyzeNeRpt31ip6vqXZ1QQk6ygzI8A==} + engines: {node: '>=16'} + cpu: [arm64] + os: [linux] + + '@cloudflare/workerd-windows-64@1.20240725.0': + resolution: {integrity: sha512-fkrJLWNN6rrPjZ0eKJx328NVMo4BsainKxAfqaPMEd6uRwjOM8uN8V4sSLsXXP8GQMAx6hAG2hU86givS4GItg==} + engines: {node: '>=16'} + cpu: [x64] + os: [win32] + + '@cloudflare/workers-types@4.20240729.0': + resolution: {integrity: sha512-wfe44YQkv5T9aBr/z95P706r2/Ydg32weJYyBOhvge7FqtdY6mM7l39rybNiJrbJoyN16dd0xxyQMf23aJNC6Q==} + + '@cspotcode/source-map-support@0.8.1': + resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} + engines: {node: '>=12'} + + '@es-joy/jsdoccomment@0.43.1': + resolution: {integrity: sha512-I238eDtOolvCuvtxrnqtlBaw0BwdQuYqK7eA6XIonicMdOOOb75mqdIzkGDUbS04+1Di007rgm9snFRNeVrOog==} + engines: {node: '>=16'} + + '@es-joy/jsdoccomment@0.46.0': + resolution: {integrity: sha512-C3Axuq1xd/9VqFZpW4YAzOx5O9q/LP46uIQy/iNDpHG3fmPa6TBtvfglMCs3RBiBxAIi0Go97r8+jvTt55XMyQ==} + engines: {node: '>=16'} + + '@esbuild-plugins/node-globals-polyfill@0.2.3': + resolution: {integrity: sha512-r3MIryXDeXDOZh7ih1l/yE9ZLORCd5e8vWg02azWRGj5SPTuoh69A2AIyn0Z31V/kHBfZ4HgWJ+OK3GTTwLmnw==} + peerDependencies: + esbuild: '*' + + '@esbuild-plugins/node-modules-polyfill@0.2.2': + resolution: {integrity: sha512-LXV7QsWJxRuMYvKbiznh+U1ilIop3g2TeKRzUxOG5X3YITc8JyyTa90BmLwqqv0YnX4v32CSlG+vsziZp9dMvA==} + peerDependencies: + esbuild: '*' + + '@esbuild/aix-ppc64@0.21.5': + resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} engines: {node: '>=12'} cpu: [ppc64] os: [aix] - '@esbuild/android-arm64@0.19.11': - resolution: {integrity: sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==} + '@esbuild/android-arm64@0.17.19': + resolution: {integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm64@0.21.5': + resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} engines: {node: '>=12'} cpu: [arm64] os: [android] - '@esbuild/android-arm@0.19.11': - resolution: {integrity: sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==} + '@esbuild/android-arm@0.17.19': + resolution: {integrity: sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-arm@0.21.5': + resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} engines: {node: '>=12'} cpu: [arm] os: [android] - '@esbuild/android-x64@0.19.11': - resolution: {integrity: sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==} + '@esbuild/android-x64@0.17.19': + resolution: {integrity: sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==} engines: {node: '>=12'} cpu: [x64] os: [android] - '@esbuild/darwin-arm64@0.19.11': - resolution: {integrity: sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==} + '@esbuild/android-x64@0.21.5': + resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.17.19': + resolution: {integrity: sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-arm64@0.21.5': + resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] - '@esbuild/darwin-x64@0.19.11': - resolution: {integrity: sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==} + '@esbuild/darwin-x64@0.17.19': + resolution: {integrity: sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/darwin-x64@0.21.5': + resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} engines: {node: '>=12'} cpu: [x64] os: [darwin] - '@esbuild/freebsd-arm64@0.19.11': - resolution: {integrity: sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==} + '@esbuild/freebsd-arm64@0.17.19': + resolution: {integrity: sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-arm64@0.21.5': + resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] - '@esbuild/freebsd-x64@0.19.11': - resolution: {integrity: sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==} + '@esbuild/freebsd-x64@0.17.19': + resolution: {integrity: sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.21.5': + resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] - '@esbuild/linux-arm64@0.19.11': - resolution: {integrity: sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==} + '@esbuild/linux-arm64@0.17.19': + resolution: {integrity: sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==} engines: {node: '>=12'} cpu: [arm64] os: [linux] - '@esbuild/linux-arm@0.19.11': - resolution: {integrity: sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==} + '@esbuild/linux-arm64@0.21.5': + resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.17.19': + resolution: {integrity: sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-arm@0.21.5': + resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} engines: {node: '>=12'} cpu: [arm] os: [linux] - '@esbuild/linux-ia32@0.19.11': - resolution: {integrity: sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==} + '@esbuild/linux-ia32@0.17.19': + resolution: {integrity: sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-ia32@0.21.5': + resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} engines: {node: '>=12'} cpu: [ia32] os: [linux] - '@esbuild/linux-loong64@0.19.11': - resolution: {integrity: sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==} + '@esbuild/linux-loong64@0.17.19': + resolution: {integrity: sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-loong64@0.21.5': + resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} engines: {node: '>=12'} cpu: [loong64] os: [linux] - '@esbuild/linux-mips64el@0.19.11': - resolution: {integrity: sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==} + '@esbuild/linux-mips64el@0.17.19': + resolution: {integrity: sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-mips64el@0.21.5': + resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] - '@esbuild/linux-ppc64@0.19.11': - resolution: {integrity: sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==} + '@esbuild/linux-ppc64@0.17.19': + resolution: {integrity: sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] - '@esbuild/linux-riscv64@0.19.11': - resolution: {integrity: sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==} + '@esbuild/linux-ppc64@0.21.5': + resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.17.19': + resolution: {integrity: sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-riscv64@0.21.5': + resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] - '@esbuild/linux-s390x@0.19.11': - resolution: {integrity: sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==} + '@esbuild/linux-s390x@0.17.19': + resolution: {integrity: sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-s390x@0.21.5': + resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} engines: {node: '>=12'} cpu: [s390x] os: [linux] - '@esbuild/linux-x64@0.19.11': - resolution: {integrity: sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==} + '@esbuild/linux-x64@0.17.19': + resolution: {integrity: sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/linux-x64@0.21.5': + resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} engines: {node: '>=12'} cpu: [x64] os: [linux] - '@esbuild/netbsd-x64@0.19.11': - resolution: {integrity: sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==} + '@esbuild/netbsd-x64@0.17.19': + resolution: {integrity: sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.21.5': + resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] - '@esbuild/openbsd-x64@0.19.11': - resolution: {integrity: sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==} + '@esbuild/openbsd-x64@0.17.19': + resolution: {integrity: sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] - '@esbuild/sunos-x64@0.19.11': - resolution: {integrity: sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==} + '@esbuild/openbsd-x64@0.21.5': + resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/sunos-x64@0.17.19': + resolution: {integrity: sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/sunos-x64@0.21.5': + resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} engines: {node: '>=12'} cpu: [x64] os: [sunos] - '@esbuild/win32-arm64@0.19.11': - resolution: {integrity: sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==} + '@esbuild/win32-arm64@0.17.19': + resolution: {integrity: sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-arm64@0.21.5': + resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} engines: {node: '>=12'} cpu: [arm64] os: [win32] - '@esbuild/win32-ia32@0.19.11': - resolution: {integrity: sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==} + '@esbuild/win32-ia32@0.17.19': + resolution: {integrity: sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-ia32@0.21.5': + resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} engines: {node: '>=12'} cpu: [ia32] os: [win32] - '@esbuild/win32-x64@0.19.11': - resolution: {integrity: sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==} + '@esbuild/win32-x64@0.17.19': + resolution: {integrity: sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + + '@esbuild/win32-x64@0.21.5': + resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} engines: {node: '>=12'} cpu: [x64] os: [win32] @@ -348,62 +664,103 @@ packages: resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint/eslintrc@2.1.4': - resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint-community/regexpp@4.11.0': + resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint/js@8.56.0': - resolution: {integrity: sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint/config-array@0.17.1': + resolution: {integrity: sha512-BlYOpej8AQ8Ev9xVqroV7a02JK3SkBAaN9GfMMH9W6Ch8FlQlkjGw4Ir7+FgYwfirivAf4t+GtzuAxqfukmISA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/eslintrc@3.1.0': + resolution: {integrity: sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/js@9.8.0': + resolution: {integrity: sha512-MfluB7EUfxXtv3i/++oh89uzAr4PDI4nn201hsp+qaXqsjAWzinlZEHEfPgAX4doIlKvPG/i0A9dpKxOLII8yA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@floating-ui/core@1.5.2': - resolution: {integrity: sha512-Ii3MrfY/GAIN3OhXNzpCKaLxHQfJF9qvwq/kEJYdqDxeIHa01K8sldugal6TmeeXl+WMvhv9cnVzUTaFFJF09A==} + '@eslint/object-schema@2.1.4': + resolution: {integrity: sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@floating-ui/dom@1.5.3': - resolution: {integrity: sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA==} + '@fastify/busboy@2.1.1': + resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} + engines: {node: '>=14'} + + '@floating-ui/core@1.6.5': + resolution: {integrity: sha512-8GrTWmoFhm5BsMZOTHeGD2/0FLKLQQHvO/ZmQga4tKempYRLz8aqJGqXVuQgisnMObq2YZ2SgkwctN1LOOxcqA==} - '@floating-ui/utils@0.1.6': - resolution: {integrity: sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==} + '@floating-ui/dom@1.6.8': + resolution: {integrity: sha512-kx62rP19VZ767Q653wsP1XZCGIirkE09E0QUGNYTM/ttbbQHqcGPdSfWFxUyyNLc/W6aoJRBajOSXhP6GXjC0Q==} - '@humanwhocodes/config-array@0.11.13': - resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==} - engines: {node: '>=10.10.0'} + '@floating-ui/utils@0.2.5': + resolution: {integrity: sha512-sTcG+QZ6fdEUObICavU+aB3Mp8HY4n14wYHdxK4fXjPmv3PXZZeY5RaguJmGyeH/CJQhX3fqKUtS4qc1LoHwhQ==} '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} engines: {node: '>=12.22'} - '@humanwhocodes/object-schema@2.0.1': - resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==} + '@humanwhocodes/retry@0.3.0': + resolution: {integrity: sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==} + engines: {node: '>=18.18'} + + '@huntabyte/eslint-config@0.3.2': + resolution: {integrity: sha512-An9+BUybMV4XR8Q843su3CCN7AGT8rvaJ8vHGMO51YAZOs6LINxmQMshFE8MwPc95UeyFiAb0+MRzJYT+KRntw==} + hasBin: true + peerDependencies: + eslint: npm:eslint-ts-patch@9.5.0-0 + eslint-plugin-svelte: ^2.37.0 + svelte-eslint-parser: ^0.34.1 + + '@huntabyte/eslint-plugin@0.1.0': + resolution: {integrity: sha512-u2TIbkMD8R+eke49PofIfu/hI542ZiLTynNVTtKkhIh1vmQiIPzcnVdVjuZ/aNvjIjpH9FnowyY2Xd+i4llqLQ==} + peerDependencies: + eslint: '*' - '@internationalized/date@3.5.1': - resolution: {integrity: sha512-LUQIfwU9e+Fmutc/DpRTGXSdgYZLBegi4wygCWDSVmUdLTaMHsQyASDiJtREwanwKuQLq0hY76fCJ9J/9I2xOQ==} + '@internationalized/date@3.5.6': + resolution: {integrity: sha512-jLxQjefH9VI5P9UQuqB6qNKnvFt1Ky1TPIzHGsIlCi7sZZoMR8SdYbBGRvM0y+Jtb+ez4ieBzmiAUcpmPYpyOw==} '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} + '@jest/expect-utils@29.7.0': + resolution: {integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + '@jest/schemas@29.6.3': resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - '@jridgewell/gen-mapping@0.3.3': - resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} + '@jest/types@29.6.3': + resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.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.1': resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} engines: {node: '>=6.0.0'} - '@jridgewell/set-array@1.1.2': - resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} + '@jridgewell/set-array@1.2.1': + resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} engines: {node: '>=6.0.0'} - '@jridgewell/sourcemap-codec@1.4.15': - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + '@jridgewell/sourcemap-codec@1.5.0': + resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + + '@jridgewell/trace-mapping@0.3.25': + resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} - '@jridgewell/trace-mapping@0.3.20': - resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} + '@jridgewell/trace-mapping@0.3.9': + resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} + + '@jsdevtools/ez-spawn@3.0.4': + resolution: {integrity: sha512-f5DRIOZf7wxogefH03RjMPMdBF7ADTWUMoOs9kaJo06EfwF+aFhMZMDZxHg/Xe12hptN9xoZjGso2fdjapBRIA==} + engines: {node: '>=10'} '@manypkg/find-root@1.1.0': resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} @@ -411,15 +768,6 @@ packages: '@manypkg/get-packages@1.1.3': resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} - '@mapbox/node-pre-gyp@1.0.11': - resolution: {integrity: sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==} - hasBin: true - - '@melt-ui/svelte@0.76.2': - resolution: {integrity: sha512-7SbOa11tXUS95T3fReL+dwDs5FyJtCEqrqG3inRziDws346SYLsxOQ6HmX+4BkIsQh1R8U3XNa+EMmdMt38lMA==} - peerDependencies: - svelte: '>=3 <5' - '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -436,120 +784,160 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} - '@playwright/test@1.40.1': - resolution: {integrity: sha512-EaaawMTOeEItCRvfmkI9v6rBkF1svM8wjl/YPRrg2N2Wmp+4qJYkWtJsbew1szfKKDm6fPLy4YAanBhIlf9dWw==} - engines: {node: '>=16'} - hasBin: true + '@pkgr/core@0.1.1': + resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} + engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} '@polka/url@1.0.0-next.24': resolution: {integrity: sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ==} - '@rollup/pluginutils@4.2.1': - resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} - engines: {node: '>= 8.0.0'} - - '@rollup/rollup-android-arm-eabi@4.9.1': - resolution: {integrity: sha512-6vMdBZqtq1dVQ4CWdhFwhKZL6E4L1dV6jUjuBvsavvNJSppzi6dLBbuV+3+IyUREaj9ZFvQefnQm28v4OCXlig==} + '@rollup/rollup-android-arm-eabi@4.20.0': + resolution: {integrity: sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.9.1': - resolution: {integrity: sha512-Jto9Fl3YQ9OLsTDWtLFPtaIMSL2kwGyGoVCmPC8Gxvym9TCZm4Sie+cVeblPO66YZsYH8MhBKDMGZ2NDxuk/XQ==} + '@rollup/rollup-android-arm64@4.20.0': + resolution: {integrity: sha512-u00Ro/nok7oGzVuh/FMYfNoGqxU5CPWz1mxV85S2w9LxHR8OoMQBuSk+3BKVIDYgkpeOET5yXkx90OYFc+ytpQ==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.9.1': - resolution: {integrity: sha512-LtYcLNM+bhsaKAIGwVkh5IOWhaZhjTfNOkGzGqdHvhiCUVuJDalvDxEdSnhFzAn+g23wgsycmZk1vbnaibZwwA==} + '@rollup/rollup-darwin-arm64@4.20.0': + resolution: {integrity: sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.9.1': - resolution: {integrity: sha512-KyP/byeXu9V+etKO6Lw3E4tW4QdcnzDG/ake031mg42lob5tN+5qfr+lkcT/SGZaH2PdW4Z1NX9GHEkZ8xV7og==} + '@rollup/rollup-darwin-x64@4.20.0': + resolution: {integrity: sha512-xbrMDdlev53vNXexEa6l0LffojxhqDTBeL+VUxuuIXys4x6xyvbKq5XqTXBCEUA8ty8iEJblHvFaWRJTk/icAQ==} cpu: [x64] os: [darwin] - '@rollup/rollup-linux-arm-gnueabihf@4.9.1': - resolution: {integrity: sha512-Yqz/Doumf3QTKplwGNrCHe/B2p9xqDghBZSlAY0/hU6ikuDVQuOUIpDP/YcmoT+447tsZTmirmjgG3znvSCR0Q==} + '@rollup/rollup-linux-arm-gnueabihf@4.20.0': + resolution: {integrity: sha512-jMYvxZwGmoHFBTbr12Xc6wOdc2xA5tF5F2q6t7Rcfab68TT0n+r7dgawD4qhPEvasDsVpQi+MgDzj2faOLsZjA==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm-musleabihf@4.20.0': + resolution: {integrity: sha512-1asSTl4HKuIHIB1GcdFHNNZhxAYEdqML/MW4QmPS4G0ivbEcBr1JKlFLKsIRqjSwOBkdItn3/ZDlyvZ/N6KPlw==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.9.1': - resolution: {integrity: sha512-u3XkZVvxcvlAOlQJ3UsD1rFvLWqu4Ef/Ggl40WAVCuogf4S1nJPHh5RTgqYFpCOvuGJ7H5yGHabjFKEZGExk5Q==} + '@rollup/rollup-linux-arm64-gnu@4.20.0': + resolution: {integrity: sha512-COBb8Bkx56KldOYJfMf6wKeYJrtJ9vEgBRAOkfw6Ens0tnmzPqvlpjZiLgkhg6cA3DGzCmLmmd319pmHvKWWlQ==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.9.1': - resolution: {integrity: sha512-0XSYN/rfWShW+i+qjZ0phc6vZ7UWI8XWNz4E/l+6edFt+FxoEghrJHjX1EY/kcUGCnZzYYRCl31SNdfOi450Aw==} + '@rollup/rollup-linux-arm64-musl@4.20.0': + resolution: {integrity: sha512-+it+mBSyMslVQa8wSPvBx53fYuZK/oLTu5RJoXogjk6x7Q7sz1GNRsXWjn6SwyJm8E/oMjNVwPhmNdIjwP135Q==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.9.1': - resolution: {integrity: sha512-LmYIO65oZVfFt9t6cpYkbC4d5lKHLYv5B4CSHRpnANq0VZUQXGcCPXHzbCXCz4RQnx7jvlYB1ISVNCE/omz5cw==} + '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': + resolution: {integrity: sha512-yAMvqhPfGKsAxHN8I4+jE0CpLWD8cv4z7CK7BMmhjDuz606Q2tFKkWRY8bHR9JQXYcoLfopo5TTqzxgPUjUMfw==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.20.0': + resolution: {integrity: sha512-qmuxFpfmi/2SUkAw95TtNq/w/I7Gpjurx609OOOV7U4vhvUhBcftcmXwl3rqAek+ADBwSjIC4IVNLiszoj3dPA==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.9.1': - resolution: {integrity: sha512-kr8rEPQ6ns/Lmr/hiw8sEVj9aa07gh1/tQF2Y5HrNCCEPiCBGnBUt9tVusrcBBiJfIt1yNaXN6r1CCmpbFEDpg==} + '@rollup/rollup-linux-s390x-gnu@4.20.0': + resolution: {integrity: sha512-I0BtGXddHSHjV1mqTNkgUZLnS3WtsqebAXv11D5BZE/gfw5KoyXSAXVqyJximQXNvNzUo4GKlCK/dIwXlz+jlg==} + cpu: [s390x] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.20.0': + resolution: {integrity: sha512-y+eoL2I3iphUg9tN9GB6ku1FA8kOfmF4oUEWhztDJ4KXJy1agk/9+pejOuZkNFhRwHAOxMsBPLbXPd6mJiCwew==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.9.1': - resolution: {integrity: sha512-t4QSR7gN+OEZLG0MiCgPqMWZGwmeHhsM4AkegJ0Kiy6TnJ9vZ8dEIwHw1LcZKhbHxTY32hp9eVCMdR3/I8MGRw==} + '@rollup/rollup-linux-x64-musl@4.20.0': + resolution: {integrity: sha512-hM3nhW40kBNYUkZb/r9k2FKK+/MnKglX7UYd4ZUy5DJs8/sMsIbqWK2piZtVGE3kcXVNj3B2IrUYROJMMCikNg==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.9.1': - resolution: {integrity: sha512-7XI4ZCBN34cb+BH557FJPmh0kmNz2c25SCQeT9OiFWEgf8+dL6ZwJ8f9RnUIit+j01u07Yvrsuu1rZGxJCc51g==} + '@rollup/rollup-win32-arm64-msvc@4.20.0': + resolution: {integrity: sha512-psegMvP+Ik/Bg7QRJbv8w8PAytPA7Uo8fpFjXyCRHWm6Nt42L+JtoqH8eDQ5hRP7/XW2UiIriy1Z46jf0Oa1kA==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.9.1': - resolution: {integrity: sha512-yE5c2j1lSWOH5jp+Q0qNL3Mdhr8WuqCNVjc6BxbVfS5cAS6zRmdiw7ktb8GNpDCEUJphILY6KACoFoRtKoqNQg==} + '@rollup/rollup-win32-ia32-msvc@4.20.0': + resolution: {integrity: sha512-GabekH3w4lgAJpVxkk7hUzUf2hICSQO0a/BLFA11/RMxQT92MabKAqyubzDZmMOC/hcJNlc+rrypzNzYl4Dx7A==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.9.1': - resolution: {integrity: sha512-PyJsSsafjmIhVgaI1Zdj7m8BB8mMckFah/xbpplObyHfiXzKcI5UOUXRyOdHW7nz4DpMCuzLnF7v5IWHenCwYA==} + '@rollup/rollup-win32-x64-msvc@4.20.0': + resolution: {integrity: sha512-aJ1EJSuTdGnM6qbVC4B5DSmozPTqIag9fSzXRNNo+humQLG89XpPgdt16Ia56ORD7s+H8Pmyx44uczDQ0yDzpg==} cpu: [x64] os: [win32] '@sinclair/typebox@0.27.8': resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} - '@sveltejs/adapter-vercel@4.0.3': - resolution: {integrity: sha512-pd2XVsDcjQ6XdHJVLeyYK9Mh2k5ChrlXEPAy7pGMbbgRkkWHnzIF5kZJqpsMH7jIFS2nxXBkUEwTpvSexKZzeQ==} + '@stylistic/eslint-plugin-js@2.6.1': + resolution: {integrity: sha512-iLOiVzcvqzDGD9U0EuVOX680v+XOPiPAjkxWj+Q6iV2GLOM5NB27tKVOpJY7AzBhidwpRbaLTgg3T4UzYx09jw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8.40.0' + + '@stylistic/eslint-plugin-jsx@2.6.1': + resolution: {integrity: sha512-5qHLXqxfY6jubAQfDqrifv41fx7gaqA9svDaChxMI6JiHpEBfh+PXxmm3g+B8gJCYVBTC62Rjl0Ny5QabK58bw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8.40.0' + + '@stylistic/eslint-plugin-plus@2.6.1': + resolution: {integrity: sha512-z/IYu/q8ipApzNam5utSU+BrXg4pK/Gv9xNbr4eWv/bZppvTWJU62xCO4nw/6r2dHNPnqc7uCHEC7GMlBnPY0A==} + peerDependencies: + eslint: '*' + + '@stylistic/eslint-plugin-ts@2.6.1': + resolution: {integrity: sha512-Mxl1VMorEG1Hc6oBYPD0+KIJOWkjEF1R0liL7wWgKfwpqOkgmnh5lVdZBrYyfRKOE4RlGcwEFTNai1IW6orgVg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8.40.0' + + '@stylistic/eslint-plugin@2.6.1': + resolution: {integrity: sha512-UT0f4t+3sQ/GKW7875NiIIjZJ1Bh4gd7JNfoIkwIQyWqO7wGd0Pqzu0Ho30Ka8MNF5lm++SkVeqAk26vGxoUpg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8.40.0' + + '@sveltejs/adapter-cloudflare@4.7.2': + resolution: {integrity: sha512-zdFtQ2nzVHvc3OweA3zF2+WgSRUW536kKGPzfdRmWo/+UbvwAXB3c3pB66/JaypkxWTIhxz1umshtw5eHWyx/w==} peerDependencies: '@sveltejs/kit': ^2.0.0 + wrangler: ^3.28.4 - '@sveltejs/kit@2.0.6': - resolution: {integrity: sha512-dnHtyjBLGXx+hrZQ9GuqLlSfTBixewJaByUVWai7LmB4dgV3FwkK155OltEgONDQW6KW64hLNS/uojdx3uC2/g==} + '@sveltejs/kit@2.6.1': + resolution: {integrity: sha512-QFlch3GPGZYidYhdRAub0fONw8UTguPICFHUSPxNkA/jdlU1p6C6yqq19J1QWdxIHS2El/ycDCGrHb3EAiMNqg==} engines: {node: '>=18.13'} hasBin: true peerDependencies: - '@sveltejs/vite-plugin-svelte': ^3.0.0 + '@sveltejs/vite-plugin-svelte': ^3.0.0 || ^4.0.0-next.1 svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.3 - '@sveltejs/package@2.2.5': - resolution: {integrity: sha512-H0dFDrp7b/tr4zrUzOfqPKHG8y6ceNlGKPfSpp4ym1kTPWP79Mea5rvDlcmsbOS26FmHN/vttubalBdOCGA6qA==} + '@sveltejs/package@2.3.5': + resolution: {integrity: sha512-fxWSG+pJHxWwcKltG+JoQ+P1CPO7NHVuZD1Gchi/1mNN6C60yD/voHeeXlqr0HHGkvIrpAjRIHLjsavI77Qsiw==} engines: {node: ^16.14 || >=18} hasBin: true peerDependencies: - svelte: ^3.44.0 || ^4.0.0 + svelte: ^3.44.0 || ^4.0.0 || ^5.0.0-next.1 - '@sveltejs/vite-plugin-svelte-inspector@2.0.0': - resolution: {integrity: sha512-gjr9ZFg1BSlIpfZ4PRewigrvYmHWbDrq2uvvPB1AmTWKuM+dI1JXQSUu2pIrYLb/QncyiIGkFDFKTwJ0XqQZZg==} - engines: {node: ^18.0.0 || >=20} + '@sveltejs/vite-plugin-svelte-inspector@3.0.0-next.3': + resolution: {integrity: sha512-kuGJ2CZ5lAw3gKF8Kw0AfKtUJWbwdlDHY14K413B0MCyrzvQvsKTorwmwZcky0+QqY6RnVIZ/5FttB9bQmkLXg==} + 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.0.1': - resolution: {integrity: sha512-CGURX6Ps+TkOovK6xV+Y2rn8JKa8ZPUHPZ/NKgCxAmgBrXReavzFl8aOSCj3kQ1xqT7yGJj53hjcV/gqwDAaWA==} - 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 '@svitejs/changesets-changelog-github-compact@1.1.0': @@ -559,15 +947,26 @@ packages: '@swc/helpers@0.5.3': resolution: {integrity: sha512-FaruWX6KdudYloq1AHD/4nU+UsMTdNE8CKyrseXWEcgjDAbvkwJg2QGPAnfIJLIWsjZOSPLOAykK6fuYp4vp4A==} - '@testing-library/dom@9.3.3': - resolution: {integrity: sha512-fB0R+fa3AUqbLHWyxXa2kGVtf1Fe1ZZFr0Zp6AIbIAzXb2mKbEXl+PCQNUOaq5lbTab5tfctfXRNsWXxa2f7Aw==} - engines: {node: '>=14'} + '@testing-library/dom@10.4.0': + resolution: {integrity: sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==} + engines: {node: '>=18'} - '@testing-library/svelte@4.0.5': - resolution: {integrity: sha512-P7X3mpYv/My4hBZfxVxTFV5KcA+EoWfRCguWP7WQdYj6HMdg/L+LiwG4ocvLe+hupedrC7dwcy85JlxKplJp2g==} + '@testing-library/jest-dom@6.4.8': + resolution: {integrity: sha512-JD0G+Zc38f5MBHA4NgxQMR5XtO5Jx9g86jqturNTt2WUfRmLDIY7iKkWHDCCTiDuFMre6nxAD5wHw9W5kI4rGw==} + engines: {node: '>=14', npm: '>=6', yarn: '>=1'} + + '@testing-library/svelte@5.2.1': + resolution: {integrity: sha512-yXSqBsYaQAeP2xt7gqKu135Q67+NTsBDcpL1akv5MVAQ/amb7AQ0zW5nzrquTIE2lvrc6q58KZhQA61Vc05ZOg==} engines: {node: '>= 10'} peerDependencies: - svelte: ^3 || ^4 + svelte: ^3 || ^4 || ^5 || ^5.0.0-next.0 + vite: '*' + vitest: '*' + peerDependenciesMeta: + vite: + optional: true + vitest: + optional: true '@testing-library/user-event@14.5.2': resolution: {integrity: sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==} @@ -581,140 +980,251 @@ packages: '@types/cookie@0.6.0': resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==} - '@types/eslint@8.56.0': - resolution: {integrity: sha512-FlsN0p4FhuYRjIxpbdXovvHQhtlG05O1GG/RNWvdAxTboR438IOTwmrY/vLA+Xfgg06BTkP045M3vpFwTMv1dg==} + '@types/eslint@8.56.11': + resolution: {integrity: sha512-sVBpJMf7UPo/wGecYOpk2aQya2VUGeHhe38WG7/mN5FufNSubf5VT9Uh9Uyp8/eLJpu1/tuhJ/qTo4mhSB4V4Q==} + + '@types/eslint@9.6.0': + resolution: {integrity: sha512-gi6WQJ7cHRgZxtkQEoyHMppPjq9Kxo5Tjn2prSKDSmZrCz8TZ3jSRCeTJm+WoM+oB0WG37bRqLzaaU3q7JypGg==} '@types/estree@1.0.5': resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + '@types/istanbul-lib-coverage@2.0.6': + resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} + + '@types/istanbul-lib-report@3.0.3': + resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==} + + '@types/istanbul-reports@3.0.4': + resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} + + '@types/jest-axe@3.5.9': + resolution: {integrity: sha512-z98CzR0yVDalCEuhGXXO4/zN4HHuSebAukXDjTLJyjEAgoUf1H1i+sr7SUB/mz8CRS/03/XChsx0dcLjHkndoQ==} + + '@types/jest@29.5.12': + resolution: {integrity: sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==} + '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + '@types/mdast@3.0.15': + resolution: {integrity: sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==} + '@types/minimist@1.2.5': resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} + '@types/node-forge@1.3.11': + resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} + '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@20.10.5': - resolution: {integrity: sha512-nNPsNE65wjMxEKI93yOP+NPGGBJz/PoN3kZsVLee0XMiJolxSekEVD8wRwBUBqkwc7UWop0edW50yrCQW4CyRw==} + '@types/node@20.14.14': + resolution: {integrity: sha512-d64f00982fS9YoOgJkAMolK7MN8Iq3TDdVjchbYHdEmjth/DHowx82GnoA+tVUAN+7vxfYUgAzi+JXbKNd2SDQ==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} - '@types/pug@2.0.10': - resolution: {integrity: sha512-Sk/uYFOBAB7mb74XcpizmH0KOR2Pv3D2Hmrh1Dmy5BmK3MpdSa5kqZcg6EKBdklU0bFXX9gCfzvpnyUehrPIuA==} + '@types/resize-observer-browser@0.1.11': + resolution: {integrity: sha512-cNw5iH8JkMkb3QkCoe7DaZiawbDQEUX8t7iuQaRTyLOyQCR2h+ibBD4GJt7p5yhUHrlOeL7ZtbxNHeipqNsBzQ==} '@types/semver@7.5.6': resolution: {integrity: sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==} - '@typescript-eslint/eslint-plugin@6.16.0': - resolution: {integrity: sha512-O5f7Kv5o4dLWQtPX4ywPPa+v9G+1q1x8mz0Kr0pXUtKsevo+gIJHLkGc8RxaZWtP8RrhwhSNIWThnW42K9/0rQ==} - engines: {node: ^16.0.0 || >=18.0.0} + '@types/stack-utils@2.0.3': + resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} + + '@types/testing-library__jest-dom@5.14.9': + resolution: {integrity: sha512-FSYhIjFlfOpGSRyVoMBMuS3ws5ehFQODymf3vlI7U1K8c7PHwWwFY7VREfmsuzHSOnoKs/9/Y983ayOs7eRzqw==} + + '@types/unist@2.0.10': + resolution: {integrity: sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==} + + '@types/yargs-parser@21.0.3': + resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} + + '@types/yargs@17.0.32': + resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} + + '@typescript-eslint/eslint-plugin@7.18.0': + resolution: {integrity: sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: - '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha - eslint: ^7.0.0 || ^8.0.0 + '@typescript-eslint/parser': ^7.0.0 + eslint: ^8.56.0 typescript: '*' peerDependenciesMeta: typescript: optional: true - '@typescript-eslint/parser@6.16.0': - resolution: {integrity: sha512-H2GM3eUo12HpKZU9njig3DF5zJ58ja6ahj1GoHEHOgQvYxzoFJJEvC1MQ7T2l9Ha+69ZSOn7RTxOdpC/y3ikMw==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/eslint-plugin@8.0.0': + resolution: {integrity: sha512-STIZdwEQRXAHvNUS6ILDf5z3u95Gc8jzywunxSNqX00OooIemaaNIA0vEgynJlycL5AjabYLLrIyHd4iazyvtg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 typescript: '*' peerDependenciesMeta: typescript: optional: true - '@typescript-eslint/scope-manager@6.16.0': - resolution: {integrity: sha512-0N7Y9DSPdaBQ3sqSCwlrm9zJwkpOuc6HYm7LpzLAPqBL7dmzAUimr4M29dMkOP/tEwvOCC/Cxo//yOfJD3HUiw==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/parser@7.18.0': + resolution: {integrity: sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==} + engines: {node: ^18.18.0 || >=20.0.0} + peerDependencies: + eslint: ^8.56.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true - '@typescript-eslint/type-utils@6.16.0': - resolution: {integrity: sha512-ThmrEOcARmOnoyQfYkHw/DX2SEYBalVECmoldVuH6qagKROp/jMnfXpAU/pAIWub9c4YTxga+XwgAkoA0pxfmg==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/parser@8.0.0': + resolution: {integrity: sha512-pS1hdZ+vnrpDIxuFXYQpLTILglTjSYJ9MbetZctrUawogUsPdz31DIIRZ9+rab0LhYNTsk88w4fIzVheiTbWOQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.57.0 || ^9.0.0 typescript: '*' peerDependenciesMeta: typescript: optional: true - '@typescript-eslint/types@6.16.0': - resolution: {integrity: sha512-hvDFpLEvTJoHutVl87+MG/c5C8I6LOgEx05zExTSJDEVU7hhR3jhV8M5zuggbdFCw98+HhZWPHZeKS97kS3JoQ==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/scope-manager@7.18.0': + resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==} + engines: {node: ^18.18.0 || >=20.0.0} + + '@typescript-eslint/scope-manager@8.0.0': + resolution: {integrity: sha512-V0aa9Csx/ZWWv2IPgTfY7T4agYwJyILESu/PVqFtTFz9RIS823mAze+NbnBI8xiwdX3iqeQbcTYlvB04G9wyQw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@6.16.0': - resolution: {integrity: sha512-VTWZuixh/vr7nih6CfrdpmFNLEnoVBF1skfjdyGnNwXOH1SLeHItGdZDHhhAIzd3ACazyY2Fg76zuzOVTaknGA==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/type-utils@7.18.0': + resolution: {integrity: sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: + eslint: ^8.56.0 typescript: '*' peerDependenciesMeta: typescript: optional: true - '@typescript-eslint/utils@6.16.0': - resolution: {integrity: sha512-T83QPKrBm6n//q9mv7oiSvy/Xq/7Hyw9SzSEhMHJwznEmQayfBM87+oAlkNAMEO7/MjIwKyOHgBJbxB0s7gx2A==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/type-utils@8.0.0': + resolution: {integrity: sha512-mJAFP2mZLTBwAn5WI4PMakpywfWFH5nQZezUQdSKV23Pqo6o9iShQg1hP2+0hJJXP2LnZkWPphdIq4juYYwCeg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true - '@typescript-eslint/visitor-keys@6.16.0': - resolution: {integrity: sha512-QSFQLruk7fhs91a/Ep/LqRdbJCZ1Rq03rqBdKT5Ky17Sz8zRLUksqIe9DW0pKtg/Z35/ztbLQ6qpOCN6rOC11A==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/types@7.18.0': + resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==} + engines: {node: ^18.18.0 || >=20.0.0} - '@ungap/structured-clone@1.2.0': - resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + '@typescript-eslint/types@8.0.0': + resolution: {integrity: sha512-wgdSGs9BTMWQ7ooeHtu5quddKKs5Z5dS+fHLbrQI+ID0XWJLODGMHRfhwImiHoeO2S5Wir2yXuadJN6/l4JRxw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@vercel/nft@0.26.0': - resolution: {integrity: sha512-4JoDL1jMPoPb9PpilQx7IQwxDUYCSwnonN8GrR6bP2BVJR390toF/tJe20tcI+wDWPkJKJqNloipfaeQfTeU2w==} - engines: {node: '>=18'} - hasBin: true + '@typescript-eslint/typescript-estree@7.18.0': + resolution: {integrity: sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==} + engines: {node: ^18.18.0 || >=20.0.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true - '@vitest/expect@1.1.0': - resolution: {integrity: sha512-9IE2WWkcJo2BR9eqtY5MIo3TPmS50Pnwpm66A6neb2hvk/QSLfPXBz2qdiwUOQkwyFuuXEUj5380CbwfzW4+/w==} + '@typescript-eslint/typescript-estree@8.0.0': + resolution: {integrity: sha512-5b97WpKMX+Y43YKi4zVcCVLtK5F98dFls3Oxui8LbnmRsseKenbbDinmvxrWegKDMmlkIq/XHuyy0UGLtpCDKg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true - '@vitest/runner@1.1.0': - resolution: {integrity: sha512-zdNLJ00pm5z/uhbWF6aeIJCGMSyTyWImy3Fcp9piRGvueERFlQFbUwCpzVce79OLm2UHk9iwaMSOaU9jVHgNVw==} + '@typescript-eslint/utils@7.18.0': + resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==} + engines: {node: ^18.18.0 || >=20.0.0} + peerDependencies: + eslint: ^8.56.0 - '@vitest/snapshot@1.1.0': - resolution: {integrity: sha512-5O/wyZg09V5qmNmAlUgCBqflvn2ylgsWJRRuPrnHEfDNT6tQpQ8O1isNGgo+VxofISHqz961SG3iVvt3SPK/QQ==} + '@typescript-eslint/utils@8.0.0': + resolution: {integrity: sha512-k/oS/A/3QeGLRvOWCg6/9rATJL5rec7/5s1YmdS0ZU6LHveJyGFwBvLhSRBv6i9xaj7etmosp+l+ViN1I9Aj/Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 - '@vitest/spy@1.1.0': - resolution: {integrity: sha512-sNOVSU/GE+7+P76qYo+VXdXhXffzWZcYIPQfmkiRxaNCSPiLANvQx5Mx6ZURJ/ndtEkUJEpvKLXqAYTKEY+lTg==} + '@typescript-eslint/visitor-keys@7.18.0': + resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} + engines: {node: ^18.18.0 || >=20.0.0} - '@vitest/utils@1.1.0': - resolution: {integrity: sha512-z+s510fKmYz4Y41XhNs3vcuFTFhcij2YF7F8VQfMEYAAUfqQh0Zfg7+w9xdgFGhPf3tX3TicAe+8BDITk6ampQ==} + '@typescript-eslint/visitor-keys@8.0.0': + resolution: {integrity: sha512-oN0K4nkHuOyF3PVMyETbpP5zp6wfyOvm7tWhTMfoqxSSsPmJIh6JNASuZDlODE8eE+0EB9uar+6+vxr9DBTYOA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - abbrev@1.1.1: - resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} + '@vitest/expect@2.1.1': + resolution: {integrity: sha512-YeueunS0HiHiQxk+KEOnq/QMzlUuOzbU1Go+PgAsHvvv3tUkJPm9xWt+6ITNTlzsMXUjmgm5T+U7KBPK2qQV6w==} - acorn-import-attributes@1.9.2: - resolution: {integrity: sha512-O+nfJwNolEA771IYJaiLWK1UAwjNsQmZbTRqqwBYxCgVQTmpFEMvBw6LOIQV0Me339L5UMVYFyRohGnGlQDdIQ==} + '@vitest/mocker@2.1.1': + resolution: {integrity: sha512-LNN5VwOEdJqCmJ/2XJBywB11DLlkbY0ooDJW3uRX5cZyYCrc4PI/ePX0iQhE3BiEGiQmK4GE7Q/PqCkkaiPnrA==} peerDependencies: - acorn: ^8 + '@vitest/spy': 2.1.1 + msw: ^2.3.5 + vite: ^5.0.0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + + '@vitest/pretty-format@2.1.1': + resolution: {integrity: sha512-SjxPFOtuINDUW8/UkElJYQSFtnWX7tMksSGW0vfjxMneFqxVr8YJ979QpMbDW7g+BIiq88RAGDjf7en6rvLPPQ==} + + '@vitest/runner@2.1.1': + resolution: {integrity: sha512-uTPuY6PWOYitIkLPidaY5L3t0JJITdGTSwBtwMjKzo5O6RCOEncz9PUN+0pDidX8kTHYjO0EwUIvhlGpnGpxmA==} + + '@vitest/snapshot@2.1.1': + resolution: {integrity: sha512-BnSku1WFy7r4mm96ha2FzN99AZJgpZOWrAhtQfoxjUU5YMRpq1zmHRq7a5K9/NjqonebO7iVDla+VvZS8BOWMw==} + + '@vitest/spy@2.1.1': + resolution: {integrity: sha512-ZM39BnZ9t/xZ/nF4UwRH5il0Sw93QnZXd9NAZGRpIgj0yvVwPpLd702s/Cx955rGaMlyBQkZJ2Ir7qyY48VZ+g==} + + '@vitest/utils@2.1.1': + resolution: {integrity: sha512-Y6Q9TsI+qJ2CC0ZKj6VBb+T8UPz593N113nnUykqwANqhgf3QkZeHFlusgKLTqrnVHbj/XDKZcDHol+dxVT+rQ==} + + '@vue/compiler-core@3.4.35': + resolution: {integrity: sha512-gKp0zGoLnMYtw4uS/SJRRO7rsVggLjvot3mcctlMXunYNsX+aRJDqqw/lV5/gHK91nvaAAlWFgdVl020AW1Prg==} + + '@vue/compiler-dom@3.4.35': + resolution: {integrity: sha512-pWIZRL76/oE/VMhdv/ovZfmuooEni6JPG1BFe7oLk5DZRo/ImydXijoZl/4kh2406boRQ7lxTYzbZEEXEhj9NQ==} + + '@vue/compiler-sfc@3.4.35': + resolution: {integrity: sha512-xacnRS/h/FCsjsMfxBkzjoNxyxEyKyZfBch/P4vkLRvYJwe5ChXmZZrj8Dsed/752H2Q3JE8kYu9Uyha9J6PgA==} + + '@vue/compiler-ssr@3.4.35': + resolution: {integrity: sha512-7iynB+0KB1AAJKk/biENTV5cRGHRdbdaD7Mx3nWcm1W8bVD6QmnH3B4AHhQQ1qZHhqFwzEzMwiytXm3PX1e60A==} + + '@vue/shared@3.4.35': + resolution: {integrity: sha512-hvuhBYYDe+b1G8KHxsQ0diDqDMA8D9laxWZhNAjE83VZb5UDaXl9Xnz7cGdDSyiHM90qqI/CyGMcpBpiDy6VVQ==} acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} 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-walk@8.3.1: resolution: {integrity: sha512-TgUZgYvqZprrl7YldZNoa9OciCAyZR+Ejm9eXzKCmjsF5IKp/wgQ7Z/ZpjpGTIUPwrHQIcYeI8qDh4PsEwxMbw==} engines: {node: '>=0.4.0'} - acorn@8.11.3: - resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} + acorn@8.12.1: + resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} engines: {node: '>=0.4.0'} hasBin: true - agent-base@6.0.2: - resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} - engines: {node: '>= 6.0.0'} - agent-base@7.1.0: resolution: {integrity: sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==} engines: {node: '>= 14'} @@ -757,12 +1267,9 @@ packages: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} - aproba@2.0.0: - resolution: {integrity: sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==} - - are-we-there-yet@2.0.0: - resolution: {integrity: sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==} - engines: {node: '>=10'} + are-docs-informative@0.0.2: + resolution: {integrity: sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==} + engines: {node: '>=14'} arg@5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} @@ -773,12 +1280,13 @@ packages: argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} - aria-query@5.1.3: - resolution: {integrity: sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==} - 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-buffer-byte-length@1.0.0: resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} @@ -798,17 +1306,18 @@ packages: resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} engines: {node: '>=0.10.0'} - assertion-error@1.1.0: - resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + as-table@1.0.55: + resolution: {integrity: sha512-xvsWESUJn0JN421Xb9MQw6AsMHRCUknCe0Wjlxvjud80mU4E6hQf1A6NzQKcYNmYw62MfzEtXc+badstZP3JpQ==} - async-sema@3.1.1: - resolution: {integrity: sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg==} + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - autoprefixer@10.4.16: - resolution: {integrity: sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==} + autoprefixer@10.4.20: + resolution: {integrity: sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==} engines: {node: ^10 || ^12 || >=14} hasBin: true peerDependencies: @@ -818,8 +1327,13 @@ packages: resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} engines: {node: '>= 0.4'} - axobject-query@3.2.1: - resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==} + axe-core@3.5.6: + resolution: {integrity: sha512-LEUDjgmdJoA3LqklSTwKYqkjcZ4HKc4ddIYGSAiSkr46NTjzg2L9RNB+lekO9P7Dlpa87+hBtzc2Fzn/+GUWMQ==} + engines: {node: '>=4'} + + 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,13 +1346,23 @@ packages: resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} engines: {node: '>=8'} - bindings@1.5.0: - resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} + bits-ui@1.0.0-next.28: + resolution: {integrity: sha512-mA2gf79xVLmq2mY0tAzC6ZBB8hUJunxb20/04kOVIN1UL+d75BvA3hdSdEgSj0TrEWU1GmlJr1HWKW4+Q1JIhA==} + engines: {node: '>=18', pnpm: '>=8.7.0'} + peerDependencies: + svelte: ^5.0.0-next.1 - bits-ui@0.21.7: - resolution: {integrity: sha512-1PKp90ly1R6jexIiAUj1Dk4u2pln7ok+L8Vc0rHMY7pi7YZvadFNZvkp1G5BtmL8qh2xsn4MVNgKjPAQMCxW0A==} + bits-ui@1.0.0-next.41: + resolution: {integrity: sha512-5Ig/z4pksiJeKoHVCwwEj4vowEKD3P35qfUxmEGnY9kgq4054dJoVaGrWcMQhfx37wKGpEl6ezGa5dd0/61nDg==} + engines: {node: '>=18', pnpm: '>=8.7.0'} peerDependencies: - svelte: ^4.0.0 || ^5.0.0-next.118 + svelte: ^5.0.0-next.1 + + blake3-wasm@2.1.5: + resolution: {integrity: sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==} + + boolbase@1.0.0: + resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} brace-expansion@1.1.11: resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} @@ -853,13 +1377,14 @@ packages: breakword@1.0.6: resolution: {integrity: sha512-yjxDAYyK/pBvws9H4xKYpLDpYKEH6CzrBPAuXq3x18I+c/2MkVtT3qAr7Oloi6Dss9qNhPVueAAVU1CSeNDIXw==} - browserslist@4.22.2: - resolution: {integrity: sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==} + browserslist@4.23.3: + resolution: {integrity: sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true - buffer-crc32@0.2.13: - resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} + builtin-modules@3.3.0: + resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} + engines: {node: '>=6'} cac@6.7.14: resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} @@ -868,6 +1393,9 @@ packages: call-bind@1.0.5: resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==} + call-me-maybe@1.0.2: + resolution: {integrity: sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==} + callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} @@ -884,17 +1412,24 @@ packages: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} - caniuse-lite@1.0.30001572: - resolution: {integrity: sha512-1Pbh5FLmn5y4+QhNyJE9j3/7dK44dGB83/ZMjv/qJk86TvDbjk0LosiZo0i0WB0Vx607qMX9jYrn1VLHCkN4rw==} + caniuse-lite@1.0.30001647: + resolution: {integrity: sha512-n83xdNiyeNcHpzWY+1aFbqCK7LuLfBricc4+alSQL2Xb6OR3XpnQAmlDG+pQcdTfiHRuLcQ96VOfrPSGiNJYSg==} - chai@4.3.10: - resolution: {integrity: sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==} - engines: {node: '>=4'} + capnp-ts@0.7.0: + resolution: {integrity: sha512-XKxXAC3HVPv7r674zP0VC3RTXz+/JKhfyw94ljvF80yynK6VkTnqE3jMuN8b3dUVmmc43TjyxjW4KTsmB3c86g==} + + chai@5.1.1: + resolution: {integrity: sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==} + engines: {node: '>=12'} chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} + chalk@3.0.0: + resolution: {integrity: sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==} + engines: {node: '>=8'} + chalk@4.1.2: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} @@ -903,24 +1438,46 @@ packages: resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + character-entities-legacy@1.1.4: + resolution: {integrity: sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==} + + character-entities@1.2.4: + resolution: {integrity: sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==} + + character-reference-invalid@1.1.4: + resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==} + chardet@0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} - check-error@1.0.3: - resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} + check-error@2.1.1: + resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} + engines: {node: '>= 16'} chokidar@3.5.3: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} - chownr@2.0.0: - resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} - engines: {node: '>=10'} + chokidar@3.6.0: + resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} + engines: {node: '>= 8.10.0'} + + chokidar@4.0.1: + resolution: {integrity: sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==} + engines: {node: '>= 14.16.0'} ci-info@3.9.0: resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} engines: {node: '>=8'} + ci-info@4.0.0: + resolution: {integrity: sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==} + engines: {node: '>=8'} + + clean-regexp@1.0.0: + resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} + engines: {node: '>=4'} + cliui@6.0.0: resolution: {integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==} @@ -932,13 +1489,10 @@ packages: resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} engines: {node: '>=0.8'} - clsx@2.1.0: - resolution: {integrity: sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg==} + clsx@2.1.1: + resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} engines: {node: '>=6'} - code-red@1.0.4: - resolution: {integrity: sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==} - color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} @@ -952,10 +1506,6 @@ packages: color-name@1.1.4: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} - color-support@1.1.3: - resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} - hasBin: true - combined-stream@1.0.8: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} @@ -964,16 +1514,28 @@ packages: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} engines: {node: '>= 6'} + comment-parser@1.4.1: + resolution: {integrity: sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==} + engines: {node: '>= 12.0.0'} + concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - console-control-strings@1.1.0: - resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==} + consola@3.2.3: + resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} + engines: {node: ^14.18.0 || >=16.10.0} + + cookie@0.5.0: + resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==} + engines: {node: '>= 0.6'} cookie@0.6.0: resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} engines: {node: '>= 0.6'} + core-js-compat@3.37.1: + resolution: {integrity: sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg==} + cross-spawn@5.1.0: resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} @@ -981,10 +1543,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} - css.escape@1.5.1: resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==} @@ -993,9 +1551,9 @@ packages: engines: {node: '>=4'} hasBin: true - cssstyle@3.0.0: - resolution: {integrity: sha512-N4u2ABATi3Qplzf0hWbVCdjenim8F3ojEXpBDF5hBpjzW182MjNGLqfmQ0SkSPeQ+V86ZXgeH8aXj6kayd4jgg==} - engines: {node: '>=14'} + cssstyle@4.0.1: + resolution: {integrity: sha512-8ZYiJ3A/3OkDd093CBT/0UKDWry7ak4BdPTFP2+QEP7cmhouyq/Up709ASSj2cK02BbZiMgk7kYjZNS4QP5qrQ==} + engines: {node: '>=18'} csv-generate@3.4.3: resolution: {integrity: sha512-w/T+rqR0vwvHqWs/1ZyMDWtHHSJaN06klRqJXBEpDJaM/+dZkso0OKh1VcuuYvK3XM53KysVNq8Ko/epCK8wOw==} @@ -1010,6 +1568,9 @@ packages: resolution: {integrity: sha512-QTaY0XjjhTQOdguARF0lGKm5/mEq9PD9/VhZZegHDIBq2tQwgNpHc3dneD4mGo2iJs+fTKv5Bp0fZ+BRuY3Z0g==} engines: {node: '>= 0.1.90'} + data-uri-to-buffer@2.0.2: + resolution: {integrity: sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA==} + data-urls@5.0.0: resolution: {integrity: sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==} engines: {node: '>=18'} @@ -1017,6 +1578,17 @@ packages: dataloader@1.4.0: resolution: {integrity: sha512-68s5jYdlvasItOJnCuI2Q9s4q98g0pCyL3HrcKJu8KNugUl8ahgmZYg38ysLTgQjjXX3H8CJLkAvWrclWfcalw==} + date-fns@3.6.0: + resolution: {integrity: sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==} + + debug@3.2.7: + resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + debug@4.3.4: resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} @@ -1026,6 +1598,24 @@ packages: supports-color: optional: true + debug@4.3.6: + resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + 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 + decamelize-keys@1.1.1: resolution: {integrity: sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==} engines: {node: '>=0.10.0'} @@ -1040,14 +1630,10 @@ packages: dedent-js@1.0.1: resolution: {integrity: sha512-OUepMozQULMLUmhxS95Vudo0jb0UchLimi3+pQ2plj61Fcy8axbP9hbiD4Sz6DPqn6XG3kfmziVfQ1rSys5AJQ==} - deep-eql@4.1.3: - resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} + deep-eql@5.0.2: + resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} engines: {node: '>=6'} - deep-equal@2.2.3: - resolution: {integrity: sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==} - engines: {node: '>= 0.4'} - deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} @@ -1066,13 +1652,13 @@ packages: resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} engines: {node: '>= 0.4'} + defu@6.1.4: + resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} + delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} - delegates@1.0.0: - resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} - dequal@2.0.3: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} @@ -1081,12 +1667,8 @@ packages: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} engines: {node: '>=8'} - detect-libc@2.0.2: - resolution: {integrity: sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==} - engines: {node: '>=8'} - - devalue@4.3.2: - resolution: {integrity: sha512-KqFl6pOgOW+Y6wJgu80rHpo2/3H07vr8ntR9rkkFIRETewbf5GaYYcakYfiKz89K+sLsuPkQIZaXDMjUObZwWg==} + devalue@5.1.1: + resolution: {integrity: sha512-maua5KUiapvEwiEAe+XnlZ3Rh0GD+qI1J/nb9vrJc3muPXvcF/8gXYTWF76+5DAqHyDUtOIImEuo0YKE9mshVw==} didyoumean@1.2.2: resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} @@ -1119,8 +1701,8 @@ packages: eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - electron-to-chromium@1.4.616: - resolution: {integrity: sha512-1n7zWYh8eS0L9Uy+GskE0lkBUNK83cXTVJI0pU3mGprFsbfSdAc15VTFbo+A+Bq4pwstmL30AVcEU3Fo463lNg==} + electron-to-chromium@1.5.4: + resolution: {integrity: sha512-orzA81VqLyIGUEA77YkVA1D+N+nNfl2isJVjjmOyrlxuooZ19ynb+dOlaDTqd/idKRS9lDCSBmtzM+kyCsMnkA==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -1128,6 +1710,10 @@ packages: emoji-regex@9.2.2: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + enhanced-resolve@5.17.1: + resolution: {integrity: sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==} + engines: {node: '>=10.13.0'} + enquirer@2.4.1: resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} engines: {node: '>=8.6'} @@ -1143,8 +1729,8 @@ packages: resolution: {integrity: sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==} engines: {node: '>= 0.4'} - es-get-iterator@1.1.3: - resolution: {integrity: sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==} + es-module-lexer@1.5.4: + resolution: {integrity: sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==} es-set-tostringtag@2.0.2: resolution: {integrity: sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==} @@ -1157,11 +1743,13 @@ packages: resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} engines: {node: '>= 0.4'} - es6-promise@3.3.1: - resolution: {integrity: sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==} + esbuild@0.17.19: + resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==} + engines: {node: '>=12'} + hasBin: true - esbuild@0.19.11: - resolution: {integrity: sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==} + esbuild@0.21.5: + resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} engines: {node: '>=12'} hasBin: true @@ -1169,52 +1757,224 @@ packages: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} + escalade@3.1.2: + resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} + engines: {node: '>=6'} + escape-string-regexp@1.0.5: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} engines: {node: '>=0.8.0'} + escape-string-regexp@2.0.0: + resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} + engines: {node: '>=8'} + escape-string-regexp@4.0.0: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} - eslint-compat-utils@0.1.2: - resolution: {integrity: sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==} + eslint-compat-utils@0.5.1: + resolution: {integrity: sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==} engines: {node: '>=12'} peerDependencies: eslint: '>=6.0.0' - eslint-config-prettier@9.1.0: - resolution: {integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==} - hasBin: true + eslint-config-flat-gitignore@0.1.8: + resolution: {integrity: sha512-OEUbS2wzzYtUfshjOqzFo4Bl4lHykXUdM08TCnYNl7ki+niW4Q1R0j0FDFDr0vjVsI5ZFOz5LvluxOP+Ew+dYw==} + + eslint-flat-config-utils@0.2.5: + resolution: {integrity: sha512-iO+yLZtC/LKgACerkpvsZ6NoRVB2sxT04mOpnNcEM1aTwKy+6TsT46PUvrML4y2uVBS6I67hRCd2JiKAPaL/Uw==} + + eslint-flat-config-utils@0.3.0: + resolution: {integrity: sha512-FaFQLUunAl6YK7aU/pT23DXYVWg/cEHbSfxwAxpCGT6Su8H9RfkmzKLh1G2bba46p6dTlQeA4VTiV5//0SeToQ==} + + eslint-import-resolver-node@0.3.9: + resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} + + eslint-merge-processors@0.1.0: + resolution: {integrity: sha512-IvRXXtEajLeyssvW4wJcZ2etxkR9mUf4zpNwgI+m/Uac9RfXHskuJefkHUcawVzePnd6xp24enp5jfgdHzjRdQ==} + peerDependencies: + eslint: '*' + + eslint-plugin-antfu@2.3.4: + resolution: {integrity: sha512-5RIjJpBK1tuNHuLyFyZ90/iW9s439dP1u2cxA4dH70djx9sKq1CqI+O6Q95aVjgFNTDtQzSC9uYdAD5uEEKciQ==} + peerDependencies: + eslint: '*' + + eslint-plugin-command@0.2.3: + resolution: {integrity: sha512-1bBYNfjZg60N2ZpLV5ATYSYyueIJ+zl5yKrTs0UFDdnyu07dNSZ7Xplnc+Wb6SXTdc1sIaoIrnuyhvztcltX6A==} + peerDependencies: + eslint: '*' + + eslint-plugin-es-x@7.8.0: + resolution: {integrity: sha512-7Ds8+wAAoV3T+LAKeu39Y5BzXCrGKrcISfgKEqTS4BDN8SFEDQd0S43jiQ8vIa3wUKD07qitZdfzlenSi8/0qQ==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + eslint: '>=8' + + eslint-plugin-eslint-comments@3.2.0: + resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} + engines: {node: '>=6.5.0'} + peerDependencies: + eslint: '>=4.19.1' + + eslint-plugin-import-x@3.1.0: + resolution: {integrity: sha512-/UbPA+bYY7nIxcjL3kpcDY3UNdoLHFhyBFzHox2M0ypcUoueTn6woZUUmzzi5et/dXChksasYYFeKE2wshOrhg==} + engines: {node: '>=16'} + peerDependencies: + eslint: ^8.56.0 || ^9.0.0-0 + + eslint-plugin-jsdoc@48.11.0: + resolution: {integrity: sha512-d12JHJDPNo7IFwTOAItCeJY1hcqoIxE0lHA8infQByLilQ9xkqrRa6laWCnsuCrf+8rUnvxXY1XuTbibRBNylA==} + engines: {node: '>=18'} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 + + eslint-plugin-jsonc@2.16.0: + resolution: {integrity: sha512-Af/ZL5mgfb8FFNleH6KlO4/VdmDuTqmM+SPnWcdoWywTetv7kq+vQe99UyQb9XO3b0OWLVuTH7H0d/PXYCMdSg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + + eslint-plugin-markdown@5.1.0: + resolution: {integrity: sha512-SJeyKko1K6GwI0AN6xeCDToXDkfKZfXcexA6B+O2Wr2btUS9GrC+YgwSyVli5DJnctUHjFXcQ2cqTaAmVoLi2A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8' + + eslint-plugin-n@17.10.1: + resolution: {integrity: sha512-hm/q37W6efDptJXdwirsm6A257iY6ZNtpoSG0wEzFzjJ3AhL7OhEIhdSR2e4OdYfHO5EDeqlCfFrjf9q208IPw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8.23.0' + + eslint-plugin-no-only-tests@3.1.0: + resolution: {integrity: sha512-Lf4YW/bL6Un1R6A76pRZyE1dl1vr31G/ev8UzIc/geCgFWyrKil8hVjYqWVKGB/UIGmb6Slzs9T0wNezdSVegw==} + engines: {node: '>=5.0.0'} + + eslint-plugin-perfectionist@3.1.0: + resolution: {integrity: sha512-QNL1L0CMo8FoKM3VkNdR8HUq8Nrl0nGZFF9jzjU8PYvDtds2bvNOm9RwpQC4Gf3M27F6CBp5JsA3jBYT4TBiHA==} + engines: {node: ^18.0.0 || >=20.0.0} + peerDependencies: + astro-eslint-parser: ^1.0.2 + eslint: '>=8.0.0' + svelte: '>=3.0.0' + svelte-eslint-parser: ^0.40.0 + vue-eslint-parser: '>=9.0.0' + peerDependenciesMeta: + astro-eslint-parser: + optional: true + svelte: + optional: true + svelte-eslint-parser: + optional: true + vue-eslint-parser: + optional: true + + eslint-plugin-regexp@2.6.0: + resolution: {integrity: sha512-FCL851+kislsTEQEMioAlpDuK5+E5vs0hi1bF8cFlPlHcEjeRhuAzEsGikXRreE+0j4WhW2uO54MqTjXtYOi3A==} + engines: {node: ^18 || >=20} peerDependencies: - eslint: '>=7.0.0' + eslint: '>=8.44.0' - eslint-plugin-svelte@2.35.1: - resolution: {integrity: sha512-IF8TpLnROSGy98Z3NrsKXWDSCbNY2ReHDcrYTuXZMbfX7VmESISR78TWgO9zdg4Dht1X8coub5jKwHzP0ExRug==} + eslint-plugin-svelte@2.44.1: + resolution: {integrity: sha512-w6wkoJPw1FJKFtM/2oln21rlu5+HTd2CSkkzhm32A+trNoW2EYQqTQAbDTU6k2GI/6Vh64rBHYQejqEgDld7fw==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0-0 - svelte: ^3.37.0 || ^4.0.0 + eslint: ^7.0.0 || ^8.0.0-0 || ^9.0.0-0 + svelte: ^3.37.0 || ^4.0.0 || ^5.0.0-next.191 peerDependenciesMeta: svelte: optional: true + eslint-plugin-toml@0.11.1: + resolution: {integrity: sha512-Y1WuMSzfZpeMIrmlP1nUh3kT8p96mThIq4NnHrYUhg10IKQgGfBZjAWnrg9fBqguiX4iFps/x/3Hb5TxBisfdw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + + eslint-plugin-unicorn@55.0.0: + resolution: {integrity: sha512-n3AKiVpY2/uDcGrS3+QsYDkjPfaOrNrsfQxU9nt5nitd9KuvVXrfAvgCO9DYPSfap+Gqjw9EOrXIsBp5tlHZjA==} + engines: {node: '>=18.18'} + peerDependencies: + eslint: '>=8.56.0' + + eslint-plugin-unused-imports@4.0.1: + resolution: {integrity: sha512-rax76s05z64uQgG9YXsWFmXrgjkaK79AvfeAWiSxhPP6RVGxeRaj4+2u+wxxu/mDy2pmJoOy1QTOEALMia2xGQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + '@typescript-eslint/eslint-plugin': ^8.0.0-0 + eslint: ^9.0.0 + peerDependenciesMeta: + '@typescript-eslint/eslint-plugin': + optional: true + + eslint-plugin-vitest@0.5.4: + resolution: {integrity: sha512-um+odCkccAHU53WdKAw39MY61+1x990uXjSPguUCq3VcEHdqJrOb8OTMrbYlY6f9jAKx7x98kLVlIe3RJeJqoQ==} + engines: {node: ^18.0.0 || >= 20.0.0} + peerDependencies: + '@typescript-eslint/eslint-plugin': '*' + eslint: ^8.57.0 || ^9.0.0 + vitest: '*' + peerDependenciesMeta: + '@typescript-eslint/eslint-plugin': + optional: true + vitest: + optional: true + + eslint-plugin-vue@9.27.0: + resolution: {integrity: sha512-5Dw3yxEyuBSXTzT5/Ge1X5kIkRTQ3nvBn/VwPwInNiZBSJOO/timWMUaflONnFBzU6NhB68lxnCda7ULV5N7LA==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 + + eslint-plugin-yml@1.14.0: + resolution: {integrity: sha512-ESUpgYPOcAYQO9czugcX5OqRvn/ydDVwGCPXY4YjPqc09rHaUVUA6IE6HLQys4rXk/S+qx3EwTd1wHCwam/OWQ==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + + eslint-processor-vue-blocks@0.1.2: + resolution: {integrity: sha512-PfpJ4uKHnqeL/fXUnzYkOax3aIenlwewXRX8jFinA1a2yCFnLgMuiH3xvCgvHHUlV2xJWQHbCTdiJWGwb3NqpQ==} + peerDependencies: + '@vue/compiler-sfc': ^3.3.0 + eslint: ^8.50.0 || ^9.0.0 + + eslint-rule-composer@0.3.0: + resolution: {integrity: sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==} + engines: {node: '>=4.0.0'} + eslint-scope@7.2.2: resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-scope@8.0.2: + resolution: {integrity: sha512-6E4xmrTw5wtxnLA5wYL3WDfhZ/1bUBGOXV0zQvVRDOtrR8D0p6W7fs3JweNYhwRYeGvd/1CKX2se0/2s7Q/nJA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint-visitor-keys@3.4.3: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint@8.56.0: - resolution: {integrity: sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@4.0.0: + resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + eslint@9.8.0: + resolution: {integrity: sha512-K8qnZ/QJzT2dLKdZJVX6W4XOwBzutMYmt0lqUS+JdXgd+HTYFlonFgkJ8s44d/zMPPCnOOk0kMWCApCPhiOy9A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true esm-env@1.0.0: resolution: {integrity: sha512-Cf6VksWPsTuW01vU9Mk/3vRue91Zevka5SjyNf3nEpokFRuqt/KjUQoGAwq9qMmhpLTHmXzSIrFRw8zxWzmFBA==} + esm-env@1.1.4: + resolution: {integrity: sha512-oO82nKPHKkzIj/hbtuDYy/JHqBHFlMIW36SDiPCVsj87ntDLcWN+sJ1erdVryd4NxODacFTsdrIE3b7IamqbOg==} + + espree@10.1.0: + resolution: {integrity: sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1228,6 +1988,13 @@ packages: resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} engines: {node: '>=0.10'} + esquery@1.6.0: + resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==} + 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'} @@ -1236,6 +2003,9 @@ packages: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} + estree-walker@0.6.1: + resolution: {integrity: sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==} + estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} @@ -1246,9 +2016,13 @@ packages: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} - execa@8.0.1: - resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} - engines: {node: '>=16.17'} + exit-hook@2.2.1: + resolution: {integrity: sha512-eNTPlAD67BmP31LDINZ3U7HSF8l57TxOY2PmBJ1shpCvpnxBF93mWCE8YHBnXs8qiUZJc9WDcWIeC3a2HIAMfw==} + engines: {node: '>=6'} + + expect@29.7.0: + resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} extendable-error@0.1.7: resolution: {integrity: sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==} @@ -1273,17 +2047,26 @@ packages: fastq@1.16.0: resolution: {integrity: sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==} - file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} + fdir@6.4.0: + resolution: {integrity: sha512-3oB133prH1o4j/L5lLW7uOCF1PlD+/It2L0eL/iAqWMB91RBbqTewABqxhj0ibBd90EEmWZq7ntIWzVaWcXTGQ==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true - file-uri-to-path@1.0.0: - resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} + file-entry-cache@8.0.0: + resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} + engines: {node: '>=16.0.0'} fill-range@7.0.1: resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} engines: {node: '>=8'} + find-up-simple@1.0.0: + resolution: {integrity: sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==} + engines: {node: '>=18'} + find-up@4.1.0: resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} engines: {node: '>=8'} @@ -1295,16 +2078,13 @@ packages: find-yarn-workspace-root2@1.2.16: resolution: {integrity: sha512-hr6hb1w8ePMpPVUK39S4RlwJzi+xPLuVuG8XlwXU3KD5Yn3qgBWVfy3AzNlDhWvE1EORCE65/Qm26rFQt3VLVA==} - flat-cache@3.2.0: - resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} - engines: {node: ^10.12.0 || >=12.0.0} + flat-cache@4.0.1: + resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} + engines: {node: '>=16'} flatted@3.2.9: resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==} - focus-trap@7.5.4: - resolution: {integrity: sha512-N7kHdlgsO/v+iD/dMoJKtsSqs5Dz/dXZVebRgJw23LDk+jMi/974zyiOYDziY2JPp8xivq9BmUGwIJMiuSBi7w==} - for-each@0.3.3: resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} @@ -1327,18 +2107,9 @@ packages: resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} engines: {node: '>=6 <7 || >=8'} - fs-minipass@2.1.0: - resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==} - engines: {node: '>= 8'} - fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} - fsevents@2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - fsevents@2.3.3: resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} @@ -1354,10 +2125,6 @@ packages: functions-have-names@1.2.3: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} - gauge@3.0.2: - resolution: {integrity: sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==} - engines: {node: '>=10'} - get-caller-file@2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} @@ -1368,14 +2135,16 @@ packages: get-intrinsic@1.2.2: resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==} - get-stream@8.0.1: - resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} - engines: {node: '>=16'} + get-source@2.0.12: + resolution: {integrity: sha512-X5+4+iD+HoSeEED+uwrQ07BOQr0kEDFMVqqpBuI+RaZBpBpHCuXxo70bjar6f0b0u/DQJsJ7ssurpP0V60Az+w==} get-symbol-description@1.0.0: resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} engines: {node: '>= 0.4'} + get-tsconfig@4.7.6: + resolution: {integrity: sha512-ZAqrLlu18NbDdRaHq+AKXzAmqIUPswPWKUchfytdAjiRFnCe5ojG2bstg6mRiZabkKfCoL/e98pbBELIV/YCeA==} + glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} @@ -1384,22 +2153,31 @@ packages: resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} engines: {node: '>=10.13.0'} + glob-to-regexp@0.4.1: + resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} + glob@10.3.10: resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} engines: {node: '>=16 || 14 >=14.17'} hasBin: true - glob@7.2.3: - resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - glob@8.1.0: resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} engines: {node: '>=12'} + deprecated: Glob versions prior to v9 are no longer supported globals@13.24.0: resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} engines: {node: '>=8'} + globals@14.0.0: + resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} + engines: {node: '>=18'} + + globals@15.9.0: + resolution: {integrity: sha512-SmSKyLLKFbSr6rptvP8izbyxJL4ILwqO9Jg23UA0sDlGlu58V59D1//I3vlc0KJphVdUR7vMjHIplYnzBxorQA==} + engines: {node: '>=18'} + globalthis@1.0.3: resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} engines: {node: '>= 0.4'} @@ -1456,9 +2234,6 @@ packages: resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} engines: {node: '>= 0.4'} - has-unicode@2.0.1: - resolution: {integrity: sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==} - hasown@2.0.0: resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} engines: {node: '>= 0.4'} @@ -1470,25 +2245,17 @@ packages: resolution: {integrity: sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==} engines: {node: '>=18'} - http-proxy-agent@7.0.0: - resolution: {integrity: sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==} + http-proxy-agent@7.0.2: + resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} engines: {node: '>= 14'} - https-proxy-agent@5.0.1: - resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} - engines: {node: '>= 6'} - - https-proxy-agent@7.0.2: - resolution: {integrity: sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==} + https-proxy-agent@7.0.5: + resolution: {integrity: sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==} engines: {node: '>= 14'} human-id@1.0.2: resolution: {integrity: sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==} - human-signals@5.0.0: - resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} - engines: {node: '>=16.17.0'} - iconv-lite@0.4.24: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} engines: {node: '>=0.10.0'} @@ -1505,10 +2272,17 @@ packages: resolution: {integrity: sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==} engines: {node: '>= 4'} + ignore@5.3.1: + resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} + engines: {node: '>= 4'} + import-fresh@3.3.0: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} + import-meta-resolve@4.1.0: + resolution: {integrity: sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==} + imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} @@ -1523,17 +2297,23 @@ packages: inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + inline-style-parser@0.2.4: + resolution: {integrity: sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q==} + internal-slot@1.0.6: resolution: {integrity: sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==} engines: {node: '>= 0.4'} - is-arguments@1.1.1: - resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} - engines: {node: '>= 0.4'} + is-alphabetical@1.0.4: + resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==} + + is-alphanumerical@1.0.4: + resolution: {integrity: sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==} is-array-buffer@3.0.2: resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} @@ -1552,6 +2332,10 @@ packages: resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} engines: {node: '>= 0.4'} + is-builtin-module@3.2.1: + resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} + engines: {node: '>=6'} + is-callable@1.2.7: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} @@ -1563,6 +2347,9 @@ packages: resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} engines: {node: '>= 0.4'} + is-decimal@1.0.4: + resolution: {integrity: sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==} + is-extglob@2.1.1: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} engines: {node: '>=0.10.0'} @@ -1575,8 +2362,8 @@ packages: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} engines: {node: '>=0.10.0'} - is-map@2.0.2: - resolution: {integrity: sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==} + is-hexadecimal@1.0.4: + resolution: {integrity: sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==} is-negative-zero@2.0.2: resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==} @@ -1608,16 +2395,9 @@ packages: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} engines: {node: '>= 0.4'} - is-set@2.0.2: - resolution: {integrity: sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==} - is-shared-array-buffer@1.0.2: resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} - is-stream@3.0.0: - resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - is-string@1.0.7: resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} engines: {node: '>= 0.4'} @@ -1634,15 +2414,9 @@ packages: resolution: {integrity: sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==} engines: {node: '>= 0.4'} - is-weakmap@2.0.1: - resolution: {integrity: sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==} - is-weakref@1.0.2: resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} - is-weakset@2.0.2: - resolution: {integrity: sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==} - is-windows@1.0.2: resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} engines: {node: '>=0.10.0'} @@ -1657,6 +2431,26 @@ packages: resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} engines: {node: '>=14'} + jest-diff@29.7.0: + resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + + jest-get-type@29.6.3: + resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + + jest-matcher-utils@29.7.0: + resolution: {integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + + jest-message-util@29.7.0: + resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + + jest-util@29.7.0: + resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + jiti@1.21.0: resolution: {integrity: sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==} hasBin: true @@ -1672,8 +2466,12 @@ packages: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true - jsdom@23.0.1: - resolution: {integrity: sha512-2i27vgvlUsGEBO9+/kJQRbtqtm+191b5zAZrU/UezVmnC2dlDAFLgDYJvAEi94T4kjsRKkezEtLQTgsNEsW2lQ==} + jsdoc-type-pratt-parser@4.0.0: + resolution: {integrity: sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==} + engines: {node: '>=12.0.0'} + + jsdom@24.1.1: + resolution: {integrity: sha512-5O1wWV99Jhq4DV7rCLIoZ/UIhyQeDR7wHVyZAHAshbrvZsLs+Xzz7gtwnlJTJDjleiTKh54F4dXrX70vJQTyJQ==} engines: {node: '>=18'} peerDependencies: canvas: ^2.11.2 @@ -1681,6 +2479,15 @@ packages: canvas: optional: true + jsesc@0.5.0: + resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} + hasBin: true + + jsesc@3.0.2: + resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} + engines: {node: '>=6'} + hasBin: true + json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} @@ -1693,6 +2500,10 @@ packages: json-stable-stringify-without-jsonify@1.0.1: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + jsonc-eslint-parser@2.4.0: + resolution: {integrity: sha512-WYDyuc/uFcGp6YtM2H0uKmUwieOuzeE/5YocFJLnLfclZ4inf3mRn8ZVy1s7Hxji7Jxm6Ss8gqpexD/GlKoGgg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + jsonc-parser@3.2.0: resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} @@ -1710,8 +2521,8 @@ packages: resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} engines: {node: '>=6'} - known-css-properties@0.29.0: - resolution: {integrity: sha512-Ne7wqW7/9Cz54PDt4I3tcV+hAyat8ypyOGzYRJQfdxnnjeWsTxt1cy8pjvvKeI5kfXuyvULyeeAvwvvtAX3ayQ==} + known-css-properties@0.34.0: + resolution: {integrity: sha512-tBECoUqNFbyAY4RrbqsBQqDFpGXAEbdD5QKr8kACx3+rnArmuuR22nKQWKazvp07N9yjTyDZaw/20UIH8tL9DQ==} levn@0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} @@ -1756,8 +2567,11 @@ packages: lodash.startcase@4.4.0: resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} - loupe@2.3.7: - resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + + loupe@3.1.1: + resolution: {integrity: sha512-edNu/8D5MKVfGVFRhFf8aAxiTM6Wumfz5XsaatSxlD3w4R1d/WEKUTydCdPGbl9K7QG/Ca3GnDV2sIKIpXRQcw==} lower-case@2.0.2: resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} @@ -1777,13 +2591,14 @@ packages: resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} hasBin: true - magic-string@0.30.5: - resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} - engines: {node: '>=12'} + magic-string@0.25.9: + resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} - make-dir@3.1.0: - resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} - engines: {node: '>=8'} + magic-string@0.30.11: + resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} + + magic-string@0.30.12: + resolution: {integrity: sha512-Ea8I3sQMVXr8JhN4z+H/d8zwo+tYDgHE9+5G4Wnrwhs0gaK9fXTKx0Tw5Xwsd/bCPTTZNRAdpyzvoeORe9LYpw==} map-obj@1.0.1: resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} @@ -1793,20 +2608,23 @@ packages: resolution: {integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==} engines: {node: '>=8'} - mdn-data@2.0.30: - resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} + mdast-util-from-markdown@0.8.5: + resolution: {integrity: sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==} + + mdast-util-to-string@2.0.0: + resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==} meow@6.1.1: resolution: {integrity: sha512-3YffViIt2QWgTy6Pale5QpopX/IvU3LPL03jOTqp6pGj3VjesdO/U8CuHMKpnQr4shCNCM5fd5XFFvIIl6JBHg==} engines: {node: '>=8'} - merge-stream@2.0.0: - resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} - merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} + micromark@2.11.4: + resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} + micromatch@4.0.5: resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} engines: {node: '>=8.6'} @@ -1819,14 +2637,24 @@ packages: resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} engines: {node: '>= 0.6'} - mimic-fn@4.0.0: - resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} - engines: {node: '>=12'} + mime@3.0.0: + resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} + engines: {node: '>=10.0.0'} + hasBin: true min-indent@1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} + miniflare@3.20240725.0: + resolution: {integrity: sha512-n9NTLI8J9Xt0Cls6dRpqoIPkVFnxD9gMnU/qDkDX9diKfN16HyxpAdA5mto/hKuRpjW19TxnTMcxBo90vZXemw==} + engines: {node: '>=16.13'} + hasBin: true + + minimatch@10.0.1: + resolution: {integrity: sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==} + engines: {node: 20 || >=22} + minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} @@ -1838,42 +2666,22 @@ packages: resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} engines: {node: '>=16 || 14 >=14.17'} + minimatch@9.0.5: + resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} + engines: {node: '>=16 || 14 >=14.17'} + minimist-options@4.1.0: resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==} engines: {node: '>= 6'} - minimist@1.2.8: - resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - - minipass@3.3.6: - resolution: {integrity: sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==} - engines: {node: '>=8'} - - minipass@5.0.0: - resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==} - engines: {node: '>=8'} - minipass@7.0.4: resolution: {integrity: sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==} engines: {node: '>=16 || 14 >=14.17'} - minizlib@2.1.2: - resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==} - engines: {node: '>= 8'} - mixme@0.5.10: resolution: {integrity: sha512-5H76ANWinB1H3twpJ6JY8uvAtpmFvHNArpilJAjXRKXSDDLPIMoZArw5SH0q9z+lLs8IrMw7Q2VWpWimFKFT1Q==} engines: {node: '>= 8.0.0'} - mkdirp@0.5.6: - resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} - hasBin: true - - mkdirp@1.0.4: - resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} - engines: {node: '>=10'} - hasBin: true - mlly@1.4.2: resolution: {integrity: sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==} @@ -1888,6 +2696,13 @@ 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==} + + mustache@4.2.0: + resolution: {integrity: sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==} + hasBin: true + mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} @@ -1896,10 +2711,8 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - nanoid@5.0.5: - resolution: {integrity: sha512-/Veqm+QKsyMY3kqi4faWplnY1u+VuKO3dD2binyPIybP31DRO29bPF+1mszgLnrR2KqSLceFLBNw0zmvDzN1QQ==} - engines: {node: ^18 || >=20} - hasBin: true + natural-compare-lite@1.4.0: + resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} @@ -1907,6 +2720,9 @@ packages: no-case@3.0.4: resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} + node-fetch-native@1.6.4: + resolution: {integrity: sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ==} + node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} engines: {node: 4.x || >=6.0.0} @@ -1916,17 +2732,12 @@ packages: encoding: optional: true - node-gyp-build@4.7.1: - resolution: {integrity: sha512-wTSrZ+8lsRRa3I3H8Xr65dLWSgCvY2l4AOnaeKdPA9TB/WYMPaTcrzf3rXvFoVvjKNVnu0CcWSx54qq9GKRUYg==} - hasBin: true - - node-releases@2.0.14: - resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==} + node-forge@1.3.1: + resolution: {integrity: sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==} + engines: {node: '>= 6.13.0'} - nopt@5.0.0: - resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==} - engines: {node: '>=6'} - hasBin: true + node-releases@2.0.18: + resolution: {integrity: sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==} normalize-package-data@2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} @@ -1952,15 +2763,11 @@ packages: engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} hasBin: true - npm-run-path@5.2.0: - resolution: {integrity: sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + nth-check@2.1.1: + resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} - npmlog@5.0.1: - resolution: {integrity: sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==} - - nwsapi@2.2.7: - resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==} + nwsapi@2.2.12: + resolution: {integrity: sha512-qXDmcVlZV4XRtKFzddidpfVP4oMSGhga+xdMc25mv8kaLUHtgzCDhUxkrN8exkGdTlLNaXj7CV3GtON7zuGZ+w==} object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} @@ -1973,10 +2780,6 @@ packages: object-inspect@1.13.1: resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==} - object-is@1.1.5: - resolution: {integrity: sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==} - engines: {node: '>= 0.4'} - object-keys@1.1.1: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} engines: {node: '>= 0.4'} @@ -1988,10 +2791,6 @@ packages: once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} - onetime@6.0.0: - resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} - engines: {node: '>=12'} - optionator@0.9.3: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} engines: {node: '>= 0.8.0'} @@ -2015,10 +2814,6 @@ packages: resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} engines: {node: '>=10'} - p-limit@5.0.0: - resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} - engines: {node: '>=18'} - p-locate@4.1.0: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} engines: {node: '>=8'} @@ -2035,9 +2830,20 @@ packages: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} - parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} + parent-module@1.0.1: + resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} + engines: {node: '>=6'} + + parse-entities@2.0.0: + resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==} + + parse-gitignore@2.0.0: + resolution: {integrity: sha512-RmVuCHWsfu0QPNW+mraxh/xjQVw/lhUCUru8Zni3Ctq3AoMhpDTq0OVdKS6iesd6Kqb7viCV3isAL43dciOSog==} + engines: {node: '>=14'} + + parse-imports@2.1.1: + resolution: {integrity: sha512-TDT4HqzUiTMO1wJRwg/t/hYk8Wdp3iF/ToMIlAoVQfL1Xs/sTxq1dKWSMjMbQmIarfWKymOyly40+zmPHXMqCA==} + engines: {node: '>= 18'} parse-json@5.2.0: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} @@ -2053,18 +2859,10 @@ packages: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} - path-is-absolute@1.0.1: - resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} - engines: {node: '>=0.10.0'} - path-key@3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} - path-key@4.0.0: - resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} - engines: {node: '>=12'} - path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} @@ -2072,26 +2870,34 @@ packages: resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} engines: {node: '>=16 || 14 >=14.17'} + path-to-regexp@6.2.2: + resolution: {integrity: sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==} + path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} - pathe@1.1.1: - resolution: {integrity: sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==} + pathe@1.1.2: + resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} - pathval@1.1.1: - resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + pathval@2.0.0: + resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==} + engines: {node: '>= 14.16'} - periscopic@3.1.0: - resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} + picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} - picocolors@1.0.0: - resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + picocolors@1.1.0: + resolution: {integrity: sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==} picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + picomatch@4.0.2: + resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} + engines: {node: '>=12'} + pify@2.3.0: resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} engines: {node: '>=0.10.0'} @@ -2111,15 +2917,9 @@ packages: pkg-types@1.0.3: resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==} - playwright-core@1.40.1: - resolution: {integrity: sha512-+hkOycxPiV534c4HhpfX6yrlawqVUzITRKwHAmYfmsVreltEl6fAZJ3DPfLMOODw0H3s1Itd6MDCWmP1fl/QvQ==} - engines: {node: '>=16'} - hasBin: true - - playwright@1.40.1: - resolution: {integrity: sha512-2eHI7IioIpQ0bS1Ovg/HszsN/XKNwEG1kbzSDDmADpclKc7CyqkHw7Mg2JCz/bbCxg25QUPcjksoMW7JcIFQmw==} - engines: {node: '>=16'} - hasBin: true + pluralize@8.0.0: + resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} + engines: {node: '>=4'} postcss-import@15.1.0: resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} @@ -2187,15 +2987,19 @@ packages: peerDependencies: postcss: ^8.4.29 - postcss-selector-parser@6.0.15: - resolution: {integrity: sha512-rEYkQOMUCEMhsKbK66tbEU9QVIxbhN18YiniAwA7XQYTVBqrBy+P2p5JcdqsHgKM2zWylp8d7J6eszocfds5Sw==} + postcss-selector-parser@6.1.1: + resolution: {integrity: sha512-b4dlw/9V8A71rLIDsSwVmak9z2DuBUB7CA1/wSdelNEzqsjoSPeADTWNO09lpH49Diy3/JIZ2bSPB1dI3LJCHg==} engines: {node: '>=4'} postcss-value-parser@4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - postcss@8.4.32: - resolution: {integrity: sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==} + postcss@8.4.40: + resolution: {integrity: sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==} + engines: {node: ^10 || ^12 || >=14} + + postcss@8.4.47: + resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} engines: {node: ^10 || ^12 || >=14} preferred-pm@3.1.2: @@ -2206,31 +3010,33 @@ packages: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} - prettier-plugin-svelte@3.1.2: - resolution: {integrity: sha512-7xfMZtwgAWHMT0iZc8jN4o65zgbAQ3+O32V6W7pXrqNvKnHnkoyQCGCbKeUyXKZLbYE0YhFRnamfxfkEGxm8qA==} + prettier-plugin-svelte@3.2.7: + resolution: {integrity: sha512-/Dswx/ea0lV34If1eDcG3nulQ63YNr5KPDfMsjbdtpSWOxKKJ7nAc2qlVuYwEvCr4raIuredNoR7K4JCkmTGaQ==} peerDependencies: prettier: ^3.0.0 svelte: ^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0 - prettier-plugin-tailwindcss@0.5.10: - resolution: {integrity: sha512-9UGSejqFxGG6brYjFfTYlJ8zs4L/lvZg1AngFfaC5Fs1otSskASv5IWKmjPu5MlABQUtTKtMArKyYr/hWpXSUg==} + prettier-plugin-tailwindcss@0.6.8: + resolution: {integrity: sha512-dGu3kdm7SXPkiW4nzeWKCl3uoImdd5CTZEJGxyypEPL37Wj0HT2pLqjrvSei1nTeuQfO4PUfjeW5cTUNRLZ4sA==} engines: {node: '>=14.21.3'} peerDependencies: '@ianvs/prettier-plugin-sort-imports': '*' '@prettier/plugin-pug': '*' '@shopify/prettier-plugin-liquid': '*' '@trivago/prettier-plugin-sort-imports': '*' + '@zackad/prettier-plugin-twig-melody': '*' prettier: ^3.0 prettier-plugin-astro: '*' prettier-plugin-css-order: '*' prettier-plugin-import-sort: '*' prettier-plugin-jsdoc: '*' prettier-plugin-marko: '*' + prettier-plugin-multiline-arrays: '*' prettier-plugin-organize-attributes: '*' prettier-plugin-organize-imports: '*' + prettier-plugin-sort-imports: '*' prettier-plugin-style-order: '*' prettier-plugin-svelte: '*' - prettier-plugin-twig-melody: '*' peerDependenciesMeta: '@ianvs/prettier-plugin-sort-imports': optional: true @@ -2240,6 +3046,8 @@ packages: optional: true '@trivago/prettier-plugin-sort-imports': optional: true + '@zackad/prettier-plugin-twig-melody': + optional: true prettier-plugin-astro: optional: true prettier-plugin-css-order: @@ -2250,24 +3058,26 @@ packages: optional: true prettier-plugin-marko: optional: true + prettier-plugin-multiline-arrays: + optional: true prettier-plugin-organize-attributes: optional: true prettier-plugin-organize-imports: optional: true + prettier-plugin-sort-imports: + optional: true prettier-plugin-style-order: optional: true prettier-plugin-svelte: optional: true - prettier-plugin-twig-melody: - optional: true prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} hasBin: true - prettier@3.1.1: - resolution: {integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==} + prettier@3.3.3: + resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} engines: {node: '>=14'} hasBin: true @@ -2279,14 +3089,17 @@ packages: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + printable-characters@1.0.42: + resolution: {integrity: sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ==} + pseudomap@1.0.2: resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} psl@1.9.0: resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} - publint@0.1.16: - resolution: {integrity: sha512-wJgk7HnXDT5Ap0DjFYbGz78kPkN44iQvDiaq8P63IEEyNU9mYXvaMd2cAyIM6OgqXM/IA3CK6XWIsRq+wjNpgw==} + publint@0.2.9: + resolution: {integrity: sha512-nITKS1NSwD68PQlts0ntryhxrWObep6P0CCycwi1lgXI+K7uKyacMYRRCQi7hTae8imkI3FCi0FlgnwLxjM8yA==} engines: {node: '>=16'} hasBin: true @@ -2325,14 +3138,14 @@ packages: resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} engines: {node: '>=6'} - readable-stream@3.6.2: - resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} - engines: {node: '>= 6'} - readdirp@3.6.0: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} + readdirp@4.0.1: + resolution: {integrity: sha512-GkMg9uOTpIWWKbSsgwb5fA4EavTR+SG/PMPoAY8hkhHfEEY0/vqljY+XHqtDf2cr2IJtoNRDbrrEpZUiZCkYRw==} + engines: {node: '>= 14.16.0'} + redent@3.0.0: resolution: {integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==} engines: {node: '>=8'} @@ -2341,13 +3154,33 @@ packages: resolution: {integrity: sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==} engines: {node: '>=12'} + refa@0.12.1: + resolution: {integrity: sha512-J8rn6v4DBb2nnFqkqwy6/NnTYMcgLA+sLr0iIO41qpv0n+ngb7ksag2tMRl0inb1bbO/esUwzW1vbJi7K0sI0g==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + regenerator-runtime@0.14.1: resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} + regexp-ast-analysis@0.7.1: + resolution: {integrity: sha512-sZuz1dYW/ZsfG17WSAG7eS85r5a0dDsvg+7BiiYR5o6lKCAtUrEwdmRmaGF6rwVj3LcmAeYkOWKEPlbPzN3Y3A==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + + regexp-tree@0.1.27: + resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} + hasBin: true + regexp.prototype.flags@1.5.1: resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} engines: {node: '>= 0.4'} + regexparam@3.0.0: + resolution: {integrity: sha512-RSYAtP31mvYLkAHrOlh25pCNQ5hWnT106VukGaaFfuJrZFkGRX5GhUAdPqpSDXxOhA2c4akmRuplv1mRqnBn6Q==} + engines: {node: '>=8'} + + regjsparser@0.10.0: + resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==} + hasBin: true + require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -2366,6 +3199,13 @@ packages: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} engines: {node: '>=8'} + resolve-pkg-maps@1.0.0: + resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} + + resolve.exports@2.0.2: + resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} + engines: {node: '>=10'} + resolve@1.22.8: resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true @@ -2374,25 +3214,35 @@ 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==} - hasBin: true + rollup-plugin-inject@3.0.2: + resolution: {integrity: sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w==} + deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject. - rimraf@3.0.2: - resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} - hasBin: true + rollup-plugin-node-polyfills@0.2.1: + resolution: {integrity: sha512-4kCrKPTJ6sK4/gLL/U5QzVT8cxJcofO0OU74tnB19F40cmuAKSzH5/siithxlofFEjwvw1YAhPmbvGNA6jEroA==} - rollup@4.9.1: - resolution: {integrity: sha512-pgPO9DWzLoW/vIhlSoDByCzcpX92bKEorbgXuZrqxByte3JFk2xSW2JEeAcyLc9Ru9pqcNNW+Ob7ntsk2oT/Xw==} + rollup-pluginutils@2.8.2: + resolution: {integrity: sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==} + + rollup@4.20.0: + resolution: {integrity: sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true rrweb-cssom@0.6.0: resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==} + rrweb-cssom@0.7.1: + resolution: {integrity: sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg==} + run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + runed@0.15.2: + resolution: {integrity: sha512-4rqCpoq3IezYYxgGo4ukboXdZ86Z7xPkQJzdIO0h0NVHVX0Hwg+X5rOnRWoqRHMYIwEGpr+tSA2ywhlzOcMF5g==} + peerDependencies: + svelte: ^5.0.0-next.1 + sade@1.8.1: resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} engines: {node: '>=6'} @@ -2401,35 +3251,38 @@ packages: resolution: {integrity: sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==} engines: {node: '>=0.4'} - safe-buffer@5.2.1: - resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - safe-regex-test@1.0.0: resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - sander@0.5.1: - resolution: {integrity: sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA==} - saxes@6.0.0: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} engines: {node: '>=v12.22.7'} + scslre@0.3.0: + resolution: {integrity: sha512-3A6sD0WYP7+QrjbfNA2FN3FsOaGGFoekCVgTyypy53gPxhbkCIjtO6YWgdrfM+n/8sI8JeXZOIxsHjMTNxQ4nQ==} + engines: {node: ^14.0.0 || >=16.0.0} + + selfsigned@2.4.1: + resolution: {integrity: sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q==} + engines: {node: '>=10'} + semver@5.7.2: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} hasBin: true - semver@6.3.1: - resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} - hasBin: true - semver@7.5.4: resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} engines: {node: '>=10'} hasBin: true + semver@7.6.3: + resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} + engines: {node: '>=10'} + hasBin: true + set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} @@ -2477,23 +3330,37 @@ packages: resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} engines: {node: '>= 10'} + sisteransi@1.0.5: + resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} + slashes@3.0.12: + resolution: {integrity: sha512-Q9VME8WyGkc7pJf6QEkj3wE+2CnvZMI+XJhwdTPR8Z/kWQRXi7boAWLDibRPyHRTUTPx5FaU7MsyrjI3yLB4HA==} + smartwrap@2.0.2: resolution: {integrity: sha512-vCsKNQxb7PnCNd2wY1WClWifAc2lwqsG8OaswpJkVJsvMGcnEntdTCDajZCkk93Ay1U3t/9puJmb525Rg5MZBA==} engines: {node: '>=6'} hasBin: true - sorcery@0.11.0: - resolution: {integrity: sha512-J69LQ22xrQB1cIFJhPfgtLuI6BpWRiWu1Y3vSsIwK/eAScqJxd/+CJlUuHQRdX2C9NGFamq+KqNywGgaThwfHw==} - hasBin: true + source-map-js@1.2.0: + resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} + engines: {node: '>=0.10.0'} - source-map-js@1.0.2: - resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} + source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + + sourcemap-codec@1.4.8: + resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} + deprecated: Please use @jridgewell/sourcemap-codec instead + spawndamnit@2.0.0: resolution: {integrity: sha512-j4JKEcncSjFlqIwU5L/rp2N5SIPsdxaRsIv678+TZxZ0SRDJTm8JrxJMjE/XuiEZNEir3S8l0Fa3Ke339WI4qA==} @@ -2506,25 +3373,42 @@ packages: spdx-expression-parse@3.0.1: resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} + spdx-expression-parse@4.0.0: + resolution: {integrity: sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==} + spdx-license-ids@3.0.16: resolution: {integrity: sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==} sprintf-js@1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + stable-hash@0.0.4: + resolution: {integrity: sha512-LjdcbuBeLcdETCrPn9i8AYAZ1eCtu4ECAWtP7UleOiZ9LzVxRzzUZEoZ8zB24nhkQnDWyET0I+3sWokSDS3E7g==} + + stack-utils@2.0.6: + resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} + engines: {node: '>=10'} + stackback@0.0.2: resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + stacktracey@2.1.8: + resolution: {integrity: sha512-Kpij9riA+UNg7TnphqjH7/CzctQ/owJGNbFkfEeve4Z4uxT5+JapVLFXcsurIfN34gnTWZNJ/f7NMG0E8JDzTw==} + std-env@3.7.0: resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} - stop-iteration-iterator@1.0.0: - resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} - engines: {node: '>= 0.4'} + stoppable@1.1.0: + resolution: {integrity: sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==} + engines: {node: '>=4', npm: '>=6'} stream-transform@2.1.3: resolution: {integrity: sha512-9GHUiM5hMiCi6Y03jD2ARC1ettBXkQBoQAe7nJsPknnI0ow10aXjTnew8QtYQmLjzn974BnmWEAJgCY6ZP1DeQ==} + string-argv@0.3.2: + resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==} + engines: {node: '>=0.6.19'} + string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} @@ -2543,9 +3427,6 @@ packages: string.prototype.trimstart@1.0.7: resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} - string_decoder@1.3.0: - resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} - strip-ansi@6.0.1: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} @@ -2558,10 +3439,6 @@ packages: resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} engines: {node: '>=4'} - strip-final-newline@3.0.0: - resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} - engines: {node: '>=12'} - strip-indent@3.0.0: resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} engines: {node: '>=8'} @@ -2574,8 +3451,8 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - strip-literal@1.3.0: - resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==} + style-to-object@1.0.8: + resolution: {integrity: sha512-xT47I/Eo0rwJmaXC4oilDGDWLohVhR6o/xAQcPQN8q6QBuZVL8qMYL85kLmST5cPjAorwvqIA4qXTRQoYHaL6g==} sucrase@3.35.0: resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==} @@ -2594,88 +3471,58 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - svelte-check@3.6.2: - resolution: {integrity: sha512-E6iFh4aUCGJLRz6QZXH3gcN/VFfkzwtruWSRmlKrLWQTiO6VzLsivR6q02WYLGNAGecV3EocqZuCDrC2uttZ0g==} + svelte-check@4.0.4: + resolution: {integrity: sha512-AcHWIPuZb1mh/jKoIrww0ebBPpAvwWd1bfXCnwC2dx4OkydNMaiG//+Xnry91RJMHFH7CiE+6Y2p332DRIaOXQ==} + 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.33.1: - resolution: {integrity: sha512-vo7xPGTlKBGdLH8T5L64FipvTrqv3OQRx9d2z5X05KKZDlF4rQk8KViZO4flKERY+5BiVdOh7zZ7JGJWo5P0uA==} + svelte-eslint-parser@0.41.1: + resolution: {integrity: sha512-08ndI6zTghzI8SuJAFpvMbA/haPSGn3xz19pjre19yYMw8Nw/wQJ2PrZBI/L8ijGTgtkWCQQiLLy+Z1tfaCwNA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - svelte: ^3.37.0 || ^4.0.0 + svelte: ^3.37.0 || ^4.0.0 || ^5.0.0-next.191 peerDependenciesMeta: svelte: optional: true - svelte-hmr@0.15.3: - resolution: {integrity: sha512-41snaPswvSf8TJUhlkoJBekRrABDXDMdpNpT2tfHIv4JuhgvHqLMhEPGtaQn0BmbNSTkuz2Ed20DF2eHw0SmBQ==} - 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} + svelte-toolbelt@0.4.4: + resolution: {integrity: sha512-sNSJ4zUUVpou/p7O2IagMGfSPKHwqsOCYvDceFEMoPmkRXlNDvRethDDAzYM8hO3ayYpdEAPG4H8wsD385hspw==} + engines: {node: '>=18', pnpm: '>=8.7.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: ^5.0.0-next.126 - svelte2tsx@0.6.27: - resolution: {integrity: sha512-E1uPW1o6VsbRz+nUk3fznZ2lSmCITAJoNu8AYefWSvIwE2pSB01i5sId4RMbWNzfcwCQl1DcgGShCPcldl4rvg==} + svelte2tsx@0.7.21: + resolution: {integrity: sha512-cdYR5gYBK0Ys3/jzGu9yfW9oxGLtLAnxcKtS7oJy2pjLhLLYSZcWeeeuaY9SMULwlqMZ1HfngGH3n5VdquRC3Q==} peerDependencies: svelte: ^3.55 || ^4.0.0-next.0 || ^4.0 || ^5.0.0-next.0 typescript: ^4.9.4 || ^5.0.0 - svelte@4.2.8: - resolution: {integrity: sha512-hU6dh1MPl8gh6klQZwK/n73GiAHiR95IkFsesLPbMeEZi36ydaXL/ZAb4g9sayT0MXzpxyZjR28yderJHxcmYA==} - engines: {node: '>=16'} + svelte@5.1.3: + resolution: {integrity: sha512-Sl8UFHlBvF54aK8MElFvyvaUfPE2REOz6LnhR2pBClCL11MU4qpn4V+KgAggaXxDyrP2iQixvHbtpHqL/zXlSQ==} + engines: {node: '>=18'} symbol-tree@3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} - tabbable@6.2.0: - resolution: {integrity: sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==} + synckit@0.6.2: + resolution: {integrity: sha512-Vhf+bUa//YSTYKseDiiEuQmhGCoIF3CVBhunm3r/DQnYiGT4JssmnKQc44BIyOZRK2pKjXXAgbhfmbeoC9CJpA==} + engines: {node: '>=12.20'} + + synckit@0.9.1: + resolution: {integrity: sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==} + engines: {node: ^14.18.0 || >=16.0.0} - tailwindcss@3.4.0: - resolution: {integrity: sha512-VigzymniH77knD1dryXbyxR+ePHihHociZbXnLZHUyzf2MMs2ZVqlUrZ3FvpXP8pno9JzmILt1sZPD19M3IxtA==} + tailwindcss@3.4.13: + resolution: {integrity: sha512-KqjHOJKogOUt5Bs752ykCeiwvi0fKVkr5oqsFNt/8px/tA8scFPIlkygsf6jXrfCqGHz7VflA6+yytWuM+XhFw==} engines: {node: '>=14.0.0'} hasBin: true - tar@6.2.0: - resolution: {integrity: sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==} - engines: {node: '>=10'} + tapable@2.2.1: + resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} + engines: {node: '>=6'} term-size@2.2.1: resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} @@ -2694,31 +3541,46 @@ packages: tiny-glob@0.2.9: resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==} - tinybench@2.5.1: - resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} - tinypool@0.8.1: - resolution: {integrity: sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==} + tinyexec@0.3.0: + resolution: {integrity: sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==} + + tinypool@1.0.0: + resolution: {integrity: sha512-KIKExllK7jp3uvrNtvRBYBWBOAXSX8ZvoaD8T+7KB/QHIuoJW3Pmr60zucywjAlMb5TeXUkcs/MWeWLu0qvuAQ==} + engines: {node: ^18.0.0 || >=20.0.0} + + tinyrainbow@1.2.0: + resolution: {integrity: sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==} engines: {node: '>=14.0.0'} - tinyspy@2.2.0: - resolution: {integrity: sha512-d2eda04AN/cPOR89F7Xv5bK/jrQEhmcLFe6HFldoeO9AJtps+fqEnh486vnT/8y4bw38pSyxDcTCAq+Ks2aJTg==} + tinyspy@3.0.0: + resolution: {integrity: sha512-q5nmENpTHgiPVd1cJDDc9cVoYN5x4vCvwT3FMilvKPKneCBZAxn2YWQjDF0UMcE9k0Cay1gBiDfTMU0g+mPMQA==} engines: {node: '>=14.0.0'} tmp@0.0.33: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} engines: {node: '>=0.6.0'} + to-fast-properties@2.0.0: + resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} + engines: {node: '>=4'} + to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} + toml-eslint-parser@0.10.0: + resolution: {integrity: sha512-khrZo4buq4qVmsGzS5yQjKe/WsFvV8fGfOjDQN0q4iy9FjRfPWRgTFrU8u1R2iu/SfWLhY9WnCi4Jhdrcbtg+g==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + totalist@3.0.1: resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} engines: {node: '>=6'} - tough-cookie@4.1.3: - resolution: {integrity: sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==} + tough-cookie@4.1.4: + resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} engines: {node: '>=6'} tr46@0.0.3: @@ -2732,17 +3594,17 @@ packages: resolution: {integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==} engines: {node: '>=8'} - ts-api-utils@1.0.3: - resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} - engines: {node: '>=16.13.0'} + ts-api-utils@1.3.0: + resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} + engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - tslib@2.6.2: - resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} + tslib@2.6.3: + resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} tty-table@4.2.3: resolution: {integrity: sha512-Fs15mu0vGzCrj8fmJNP7Ynxt5J7praPXqFN0leZeZBXJwkMxv9cb2D454k1ltrtUSJbZ4yH4e0CynsHLxmUfFA==} @@ -2788,20 +3650,33 @@ packages: typed-array-length@1.0.4: resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} - typescript@5.3.3: - resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} + typescript@5.5.4: + resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} engines: {node: '>=14.17'} hasBin: true ufo@1.3.2: resolution: {integrity: sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA==} + ufo@1.5.4: + resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==} + unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + undici@5.28.4: + resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==} + engines: {node: '>=14.0'} + + unenv-nightly@1.10.0-1717606461.a117952: + resolution: {integrity: sha512-u3TfBX02WzbHTpaEfWEKwDijDSFAHcgXkayUZ+MVDrjhLFvgAJzFGTSTmwlEhwWi2exyRQey23ah9wELMM6etg==} + + unist-util-stringify-position@2.0.3: + resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} + universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} @@ -2810,8 +3685,8 @@ packages: resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} engines: {node: '>= 4.0.0'} - update-browserslist-db@1.0.13: - resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} + update-browserslist-db@1.1.0: + resolution: {integrity: sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' @@ -2828,13 +3703,13 @@ packages: validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} - vite-node@1.1.0: - resolution: {integrity: sha512-jV48DDUxGLEBdHCQvxL1mEh7+naVy+nhUUUaPAZLd3FJgXuxQiewHcfeZebbJ6onDqNGkP4r3MhQ342PRlG81Q==} + vite-node@2.1.1: + resolution: {integrity: sha512-N/mGckI1suG/5wQI35XeR9rsMsPqKXzq1CdUndzVstBj/HvyxxGctwnK6WX43NGt5L3Z5tcRf83g4TITKJhPrA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true - vite@5.0.10: - resolution: {integrity: sha512-2P8J7WWgmc355HUMlFrwofacvr98DAjoE52BfdbwQtyLH06XKwaL/FMnmKM2crF0iX4MpmMKoDlNCB1ok7zHCw==} + vite@5.4.8: + resolution: {integrity: sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -2842,6 +3717,7 @@ packages: less: '*' lightningcss: ^1.21.0 sass: '*' + sass-embedded: '*' stylus: '*' sugarss: '*' terser: ^5.4.0 @@ -2854,6 +3730,8 @@ packages: optional: true sass: optional: true + sass-embedded: + optional: true stylus: optional: true sugarss: @@ -2861,10 +3739,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 @@ -2874,15 +3752,15 @@ packages: peerDependencies: vitest: '>=0.31.0' - vitest@1.1.0: - resolution: {integrity: sha512-oDFiCrw7dd3Jf06HoMtSRARivvyjHJaTxikFxuqJjO76U436PqlVw1uLn7a8OSPrhSfMGVaRakKpA2lePdw79A==} + vitest@2.1.1: + resolution: {integrity: sha512-97We7/VC0e9X5zBVkvt7SGQMGrRtn3KtySFQG5fpaMlS+l62eeXRQO633AYhSTC3z7IMebnPPNjGXVGNRFlxBA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': ^1.0.0 - '@vitest/ui': ^1.0.0 + '@vitest/browser': 2.1.1 + '@vitest/ui': 2.1.1 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -2899,6 +3777,12 @@ packages: jsdom: optional: true + vue-eslint-parser@9.4.3: + resolution: {integrity: sha512-2rYRLWlIpaiN8xbPiDyXZXRgLGOtWxERV7ND5fFAv5qo1D2N9Fu9MNajBNc6o13lZ+24DAWCkQCvj4klgmcITg==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + w3c-xmlserializer@5.0.0: resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} engines: {node: '>=18'} @@ -2931,9 +3815,6 @@ packages: which-boxed-primitive@1.0.2: resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} - which-collection@1.0.1: - resolution: {integrity: sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==} - which-module@2.0.1: resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} @@ -2954,13 +3835,29 @@ packages: engines: {node: '>= 8'} hasBin: true - why-is-node-running@2.2.2: - resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==} + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} engines: {node: '>=8'} hasBin: true - wide-align@1.1.5: - resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} + workerd@1.20240725.0: + resolution: {integrity: sha512-VZwgejRcHsQ9FEPtc7v25ebINLAR+stL3q1hC1xByE+quskdoWpTXHkZwZ3IdSgvm9vPVbCbJw9p5mGnDByW2A==} + engines: {node: '>=16'} + hasBin: true + + worktop@0.8.0-next.18: + resolution: {integrity: sha512-+TvsA6VAVoMC3XDKR5MoC/qlLqDixEfOBysDEKnPIPou/NvoPWCAuXHXMsswwlvmEuvX56lQjvELLyLuzTKvRw==} + engines: {node: '>=12'} + + wrangler@3.68.0: + resolution: {integrity: sha512-gsIeglkh5nOn1mHJs0bf1pOq/DvIt+umjO/5a867IYYXaN4j/ar5cRR1+F5ue3S7uEjYCLIZZjs8ESiPTSEt+Q==} + engines: {node: '>=16.17.0'} + hasBin: true + peerDependencies: + '@cloudflare/workers-types': ^4.20240725.0 + peerDependenciesMeta: + '@cloudflare/workers-types': + optional: true wrap-ansi@6.2.0: resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} @@ -2977,8 +3874,8 @@ packages: wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - ws@8.16.0: - resolution: {integrity: sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==} + ws@8.18.0: + resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 @@ -2989,6 +3886,10 @@ packages: utf-8-validate: optional: true + xml-name-validator@4.0.0: + resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} + engines: {node: '>=12'} + xml-name-validator@5.0.0: resolution: {integrity: sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==} engines: {node: '>=18'} @@ -2996,6 +3897,9 @@ packages: xmlchars@2.2.0: resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} + xxhash-wasm@1.0.2: + resolution: {integrity: sha512-ibF0Or+FivM9lNrg+HGJfVX8WJqgo+kCLDc4vx6xMeTce7Aj+DLttKbxxRR/gNLSAelRc1omAPlJ77N/Jem07A==} + y18n@4.0.3: resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} @@ -3009,6 +3913,10 @@ packages: yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + yaml-eslint-parser@1.2.3: + resolution: {integrity: sha512-4wZWvE398hCP7O8n3nXKu/vdq1HcH01ixYlCREaJL5NUMwQ0g3MaGFUBNSlmBtKmhbtVG/Cm6lyYmSVTEVil8A==} + engines: {node: ^14.17.0 || >=16.0.0} + yaml@1.10.2: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} @@ -3037,38 +3945,111 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} - yocto-queue@1.0.0: - resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} - engines: {node: '>=12.20'} + youch@3.3.3: + resolution: {integrity: sha512-qSFXUk3UZBLfggAW3dJKg0BMblG5biqSF8M34E06o5CSsZtH92u9Hqmj2RzGiHDi64fhe83+4tENFP2DB6t6ZA==} + + zimmerframe@1.1.2: + resolution: {integrity: sha512-rAbqEGa8ovJy4pyBxZM70hg4pE6gDgaQ0Sl9M3enG3I0d6H4XSAM3GeNGLKnsBpuijUow064sf7ww1nutC5/3w==} + + zod@3.23.8: + resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} snapshots: '@aashutoshrathi/word-wrap@1.2.6': {} + '@adobe/css-tools@4.4.0': {} + '@alloc/quick-lru@5.2.0': {} - '@ampproject/remapping@2.2.1': + '@ampproject/remapping@2.3.0': + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + + '@antfu/eslint-config@2.24.1(@vue/compiler-sfc@3.4.35)(eslint-plugin-svelte@2.44.1(eslint@9.8.0)(svelte@5.1.3))(eslint@9.8.0)(svelte-eslint-parser@0.41.1(svelte@5.1.3))(svelte@5.1.3)(typescript@5.5.4)(vitest@2.1.1)': + dependencies: + '@antfu/install-pkg': 0.3.3 + '@clack/prompts': 0.7.0 + '@stylistic/eslint-plugin': 2.6.1(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 8.0.0(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/parser': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + eslint: 9.8.0 + eslint-config-flat-gitignore: 0.1.8 + eslint-flat-config-utils: 0.3.0 + eslint-merge-processors: 0.1.0(eslint@9.8.0) + eslint-plugin-antfu: 2.3.4(eslint@9.8.0) + eslint-plugin-command: 0.2.3(eslint@9.8.0) + eslint-plugin-eslint-comments: 3.2.0(eslint@9.8.0) + eslint-plugin-import-x: 3.1.0(eslint@9.8.0)(typescript@5.5.4) + eslint-plugin-jsdoc: 48.11.0(eslint@9.8.0) + eslint-plugin-jsonc: 2.16.0(eslint@9.8.0) + eslint-plugin-markdown: 5.1.0(eslint@9.8.0) + eslint-plugin-n: 17.10.1(eslint@9.8.0) + eslint-plugin-no-only-tests: 3.1.0 + eslint-plugin-perfectionist: 3.1.0(eslint@9.8.0)(svelte-eslint-parser@0.41.1(svelte@5.1.3))(svelte@5.1.3)(typescript@5.5.4)(vue-eslint-parser@9.4.3(eslint@9.8.0)) + eslint-plugin-regexp: 2.6.0(eslint@9.8.0) + eslint-plugin-toml: 0.11.1(eslint@9.8.0) + eslint-plugin-unicorn: 55.0.0(eslint@9.8.0) + eslint-plugin-unused-imports: 4.0.1(@typescript-eslint/eslint-plugin@8.0.0(@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0) + eslint-plugin-vitest: 0.5.4(@typescript-eslint/eslint-plugin@8.0.0(@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)(vitest@2.1.1) + eslint-plugin-vue: 9.27.0(eslint@9.8.0) + eslint-plugin-yml: 1.14.0(eslint@9.8.0) + eslint-processor-vue-blocks: 0.1.2(@vue/compiler-sfc@3.4.35)(eslint@9.8.0) + globals: 15.9.0 + jsonc-eslint-parser: 2.4.0 + local-pkg: 0.5.0 + parse-gitignore: 2.0.0 + picocolors: 1.0.1 + toml-eslint-parser: 0.10.0 + vue-eslint-parser: 9.4.3(eslint@9.8.0) + yaml-eslint-parser: 1.2.3 + yargs: 17.7.2 + optionalDependencies: + eslint-plugin-svelte: 2.44.1(eslint@9.8.0)(svelte@5.1.3) + svelte-eslint-parser: 0.41.1(svelte@5.1.3) + transitivePeerDependencies: + - '@vue/compiler-sfc' + - supports-color + - svelte + - typescript + - vitest + + '@antfu/install-pkg@0.3.3': dependencies: - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.20 + '@jsdevtools/ez-spawn': 3.0.4 + + '@antfu/utils@0.7.10': {} '@babel/code-frame@7.23.5': dependencies: '@babel/highlight': 7.23.4 chalk: 2.4.2 - '@babel/helper-validator-identifier@7.22.20': {} + '@babel/helper-string-parser@7.24.8': {} + + '@babel/helper-validator-identifier@7.24.7': {} '@babel/highlight@7.23.4': dependencies: - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.24.7 chalk: 2.4.2 js-tokens: 4.0.0 + '@babel/parser@7.25.3': + dependencies: + '@babel/types': 7.25.2 + '@babel/runtime@7.23.7': dependencies: regenerator-runtime: 0.14.1 + '@babel/types@7.25.2': + dependencies: + '@babel/helper-string-parser': 7.24.8 + '@babel/helper-validator-identifier': 7.24.7 + to-fast-properties: 2.0.0 + '@changesets/apply-release-plan@7.0.0': dependencies: '@babel/runtime': 7.23.7 @@ -3172,140 +4153,277 @@ snapshots: '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 - '@changesets/get-version-range-type@0.4.0': {} + '@changesets/get-version-range-type@0.4.0': {} + + '@changesets/git@3.0.0': + dependencies: + '@babel/runtime': 7.23.7 + '@changesets/errors': 0.2.0 + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + is-subdir: 1.2.0 + micromatch: 4.0.5 + spawndamnit: 2.0.0 + + '@changesets/logger@0.1.0': + dependencies: + chalk: 2.4.2 + + '@changesets/parse@0.4.0': + dependencies: + '@changesets/types': 6.0.0 + js-yaml: 3.14.1 + + '@changesets/pre@2.0.0': + dependencies: + '@babel/runtime': 7.23.7 + '@changesets/errors': 0.2.0 + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + fs-extra: 7.0.1 + + '@changesets/read@0.6.0': + dependencies: + '@babel/runtime': 7.23.7 + '@changesets/git': 3.0.0 + '@changesets/logger': 0.1.0 + '@changesets/parse': 0.4.0 + '@changesets/types': 6.0.0 + chalk: 2.4.2 + fs-extra: 7.0.1 + p-filter: 2.1.0 + + '@changesets/types@4.1.0': {} + + '@changesets/types@6.0.0': {} + + '@changesets/write@0.3.0': + dependencies: + '@babel/runtime': 7.23.7 + '@changesets/types': 6.0.0 + fs-extra: 7.0.1 + human-id: 1.0.2 + prettier: 2.8.8 + + '@clack/core@0.3.4': + dependencies: + picocolors: 1.1.0 + sisteransi: 1.0.5 + + '@clack/prompts@0.7.0': + dependencies: + '@clack/core': 0.3.4 + picocolors: 1.0.1 + sisteransi: 1.0.5 + + '@cloudflare/kv-asset-handler@0.3.4': + dependencies: + mime: 3.0.0 + + '@cloudflare/workerd-darwin-64@1.20240725.0': + optional: true + + '@cloudflare/workerd-darwin-arm64@1.20240725.0': + optional: true + + '@cloudflare/workerd-linux-64@1.20240725.0': + optional: true + + '@cloudflare/workerd-linux-arm64@1.20240725.0': + optional: true + + '@cloudflare/workerd-windows-64@1.20240725.0': + optional: true + + '@cloudflare/workers-types@4.20240729.0': {} + + '@cspotcode/source-map-support@0.8.1': + dependencies: + '@jridgewell/trace-mapping': 0.3.9 + + '@es-joy/jsdoccomment@0.43.1': + dependencies: + '@types/eslint': 8.56.11 + '@types/estree': 1.0.5 + '@typescript-eslint/types': 7.18.0 + comment-parser: 1.4.1 + esquery: 1.5.0 + jsdoc-type-pratt-parser: 4.0.0 + + '@es-joy/jsdoccomment@0.46.0': + dependencies: + comment-parser: 1.4.1 + esquery: 1.6.0 + jsdoc-type-pratt-parser: 4.0.0 + + '@esbuild-plugins/node-globals-polyfill@0.2.3(esbuild@0.17.19)': + dependencies: + esbuild: 0.17.19 + + '@esbuild-plugins/node-modules-polyfill@0.2.2(esbuild@0.17.19)': + dependencies: + esbuild: 0.17.19 + escape-string-regexp: 4.0.0 + rollup-plugin-node-polyfills: 0.2.1 + + '@esbuild/aix-ppc64@0.21.5': + optional: true + + '@esbuild/android-arm64@0.17.19': + optional: true + + '@esbuild/android-arm64@0.21.5': + optional: true + + '@esbuild/android-arm@0.17.19': + optional: true + + '@esbuild/android-arm@0.21.5': + optional: true + + '@esbuild/android-x64@0.17.19': + optional: true + + '@esbuild/android-x64@0.21.5': + optional: true + + '@esbuild/darwin-arm64@0.17.19': + optional: true + + '@esbuild/darwin-arm64@0.21.5': + optional: true + + '@esbuild/darwin-x64@0.17.19': + optional: true + + '@esbuild/darwin-x64@0.21.5': + optional: true + + '@esbuild/freebsd-arm64@0.17.19': + optional: true + + '@esbuild/freebsd-arm64@0.21.5': + optional: true - '@changesets/git@3.0.0': - dependencies: - '@babel/runtime': 7.23.7 - '@changesets/errors': 0.2.0 - '@changesets/types': 6.0.0 - '@manypkg/get-packages': 1.1.3 - is-subdir: 1.2.0 - micromatch: 4.0.5 - spawndamnit: 2.0.0 + '@esbuild/freebsd-x64@0.17.19': + optional: true - '@changesets/logger@0.1.0': - dependencies: - chalk: 2.4.2 + '@esbuild/freebsd-x64@0.21.5': + optional: true - '@changesets/parse@0.4.0': - dependencies: - '@changesets/types': 6.0.0 - js-yaml: 3.14.1 + '@esbuild/linux-arm64@0.17.19': + optional: true - '@changesets/pre@2.0.0': - dependencies: - '@babel/runtime': 7.23.7 - '@changesets/errors': 0.2.0 - '@changesets/types': 6.0.0 - '@manypkg/get-packages': 1.1.3 - fs-extra: 7.0.1 + '@esbuild/linux-arm64@0.21.5': + optional: true - '@changesets/read@0.6.0': - dependencies: - '@babel/runtime': 7.23.7 - '@changesets/git': 3.0.0 - '@changesets/logger': 0.1.0 - '@changesets/parse': 0.4.0 - '@changesets/types': 6.0.0 - chalk: 2.4.2 - fs-extra: 7.0.1 - p-filter: 2.1.0 + '@esbuild/linux-arm@0.17.19': + optional: true - '@changesets/types@4.1.0': {} + '@esbuild/linux-arm@0.21.5': + optional: true - '@changesets/types@6.0.0': {} + '@esbuild/linux-ia32@0.17.19': + optional: true - '@changesets/write@0.3.0': - dependencies: - '@babel/runtime': 7.23.7 - '@changesets/types': 6.0.0 - fs-extra: 7.0.1 - human-id: 1.0.2 - prettier: 2.8.8 + '@esbuild/linux-ia32@0.21.5': + optional: true - '@esbuild/aix-ppc64@0.19.11': + '@esbuild/linux-loong64@0.17.19': optional: true - '@esbuild/android-arm64@0.19.11': + '@esbuild/linux-loong64@0.21.5': optional: true - '@esbuild/android-arm@0.19.11': + '@esbuild/linux-mips64el@0.17.19': optional: true - '@esbuild/android-x64@0.19.11': + '@esbuild/linux-mips64el@0.21.5': optional: true - '@esbuild/darwin-arm64@0.19.11': + '@esbuild/linux-ppc64@0.17.19': optional: true - '@esbuild/darwin-x64@0.19.11': + '@esbuild/linux-ppc64@0.21.5': optional: true - '@esbuild/freebsd-arm64@0.19.11': + '@esbuild/linux-riscv64@0.17.19': optional: true - '@esbuild/freebsd-x64@0.19.11': + '@esbuild/linux-riscv64@0.21.5': optional: true - '@esbuild/linux-arm64@0.19.11': + '@esbuild/linux-s390x@0.17.19': optional: true - '@esbuild/linux-arm@0.19.11': + '@esbuild/linux-s390x@0.21.5': optional: true - '@esbuild/linux-ia32@0.19.11': + '@esbuild/linux-x64@0.17.19': optional: true - '@esbuild/linux-loong64@0.19.11': + '@esbuild/linux-x64@0.21.5': optional: true - '@esbuild/linux-mips64el@0.19.11': + '@esbuild/netbsd-x64@0.17.19': optional: true - '@esbuild/linux-ppc64@0.19.11': + '@esbuild/netbsd-x64@0.21.5': optional: true - '@esbuild/linux-riscv64@0.19.11': + '@esbuild/openbsd-x64@0.17.19': optional: true - '@esbuild/linux-s390x@0.19.11': + '@esbuild/openbsd-x64@0.21.5': optional: true - '@esbuild/linux-x64@0.19.11': + '@esbuild/sunos-x64@0.17.19': optional: true - '@esbuild/netbsd-x64@0.19.11': + '@esbuild/sunos-x64@0.21.5': optional: true - '@esbuild/openbsd-x64@0.19.11': + '@esbuild/win32-arm64@0.17.19': optional: true - '@esbuild/sunos-x64@0.19.11': + '@esbuild/win32-arm64@0.21.5': optional: true - '@esbuild/win32-arm64@0.19.11': + '@esbuild/win32-ia32@0.17.19': optional: true - '@esbuild/win32-ia32@0.19.11': + '@esbuild/win32-ia32@0.21.5': optional: true - '@esbuild/win32-x64@0.19.11': + '@esbuild/win32-x64@0.17.19': optional: true - '@eslint-community/eslint-utils@4.4.0(eslint@8.56.0)': + '@esbuild/win32-x64@0.21.5': + optional: true + + '@eslint-community/eslint-utils@4.4.0(eslint@9.8.0)': dependencies: - eslint: 8.56.0 + eslint: 9.8.0 eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.10.0': {} - '@eslint/eslintrc@2.1.4': + '@eslint-community/regexpp@4.11.0': {} + + '@eslint/config-array@0.17.1': + dependencies: + '@eslint/object-schema': 2.1.4 + debug: 4.3.6 + minimatch: 3.1.2 + transitivePeerDependencies: + - supports-color + + '@eslint/eslintrc@3.1.0': dependencies: ajv: 6.12.6 - debug: 4.3.4 - espree: 9.6.1 - globals: 13.24.0 + debug: 4.3.6 + espree: 10.1.0 + globals: 14.0.0 ignore: 5.3.0 import-fresh: 3.3.0 js-yaml: 4.1.0 @@ -3314,32 +4432,66 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@8.56.0': {} + '@eslint/js@9.8.0': {} + + '@eslint/object-schema@2.1.4': {} - '@floating-ui/core@1.5.2': + '@fastify/busboy@2.1.1': {} + + '@floating-ui/core@1.6.5': dependencies: - '@floating-ui/utils': 0.1.6 + '@floating-ui/utils': 0.2.5 - '@floating-ui/dom@1.5.3': + '@floating-ui/dom@1.6.8': dependencies: - '@floating-ui/core': 1.5.2 - '@floating-ui/utils': 0.1.6 + '@floating-ui/core': 1.6.5 + '@floating-ui/utils': 0.2.5 + + '@floating-ui/utils@0.2.5': {} + + '@humanwhocodes/module-importer@1.0.1': {} - '@floating-ui/utils@0.1.6': {} + '@humanwhocodes/retry@0.3.0': {} - '@humanwhocodes/config-array@0.11.13': + '@huntabyte/eslint-config@0.3.2(@vue/compiler-sfc@3.4.35)(eslint-plugin-svelte@2.44.1(eslint@9.8.0)(svelte@5.1.3))(eslint@9.8.0)(svelte-eslint-parser@0.41.1(svelte@5.1.3))(svelte@5.1.3)(typescript@5.5.4)(vitest@2.1.1)': dependencies: - '@humanwhocodes/object-schema': 2.0.1 - debug: 4.3.4 - minimatch: 3.1.2 + '@antfu/eslint-config': 2.24.1(@vue/compiler-sfc@3.4.35)(eslint-plugin-svelte@2.44.1(eslint@9.8.0)(svelte@5.1.3))(eslint@9.8.0)(svelte-eslint-parser@0.41.1(svelte@5.1.3))(svelte@5.1.3)(typescript@5.5.4)(vitest@2.1.1) + '@antfu/install-pkg': 0.3.3 + '@clack/prompts': 0.7.0 + '@huntabyte/eslint-plugin': 0.1.0(eslint@9.8.0) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/parser': 7.18.0(eslint@9.8.0)(typescript@5.5.4) + chalk: 5.3.0 + eslint: 9.8.0 + eslint-flat-config-utils: 0.2.5 + eslint-plugin-svelte: 2.44.1(eslint@9.8.0)(svelte@5.1.3) + local-pkg: 0.5.0 + parse-gitignore: 2.0.0 + svelte-eslint-parser: 0.41.1(svelte@5.1.3) + yargs: 17.7.2 transitivePeerDependencies: + - '@eslint-react/eslint-plugin' + - '@prettier/plugin-xml' + - '@unocss/eslint-plugin' + - '@vue/compiler-sfc' + - astro-eslint-parser + - eslint-plugin-astro + - eslint-plugin-format + - eslint-plugin-react-hooks + - eslint-plugin-react-refresh + - eslint-plugin-solid + - prettier-plugin-astro + - prettier-plugin-slidev - supports-color + - svelte + - typescript + - vitest - '@humanwhocodes/module-importer@1.0.1': {} - - '@humanwhocodes/object-schema@2.0.1': {} + '@huntabyte/eslint-plugin@0.1.0(eslint@9.8.0)': + dependencies: + eslint: 9.8.0 - '@internationalized/date@3.5.1': + '@internationalized/date@3.5.6': dependencies: '@swc/helpers': 0.5.3 @@ -3352,26 +4504,51 @@ snapshots: wrap-ansi: 8.1.0 wrap-ansi-cjs: wrap-ansi@7.0.0 + '@jest/expect-utils@29.7.0': + dependencies: + jest-get-type: 29.6.3 + '@jest/schemas@29.6.3': dependencies: '@sinclair/typebox': 0.27.8 - '@jridgewell/gen-mapping@0.3.3': + '@jest/types@29.6.3': + dependencies: + '@jest/schemas': 29.6.3 + '@types/istanbul-lib-coverage': 2.0.6 + '@types/istanbul-reports': 3.0.4 + '@types/node': 20.14.14 + '@types/yargs': 17.0.32 + chalk: 4.1.2 + + '@jridgewell/gen-mapping@0.3.5': dependencies: - '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.20 + '@jridgewell/set-array': 1.2.1 + '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/trace-mapping': 0.3.25 '@jridgewell/resolve-uri@3.1.1': {} - '@jridgewell/set-array@1.1.2': {} + '@jridgewell/set-array@1.2.1': {} + + '@jridgewell/sourcemap-codec@1.5.0': {} - '@jridgewell/sourcemap-codec@1.4.15': {} + '@jridgewell/trace-mapping@0.3.25': + dependencies: + '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/sourcemap-codec': 1.5.0 - '@jridgewell/trace-mapping@0.3.20': + '@jridgewell/trace-mapping@0.3.9': dependencies: '@jridgewell/resolve-uri': 3.1.1 - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 + + '@jsdevtools/ez-spawn@3.0.4': + dependencies: + call-me-maybe: 1.0.2 + cross-spawn: 7.0.3 + string-argv: 0.3.2 + type-detect: 4.0.8 '@manypkg/find-root@1.1.0': dependencies: @@ -3389,31 +4566,6 @@ snapshots: globby: 11.1.0 read-yaml-file: 1.1.0 - '@mapbox/node-pre-gyp@1.0.11': - dependencies: - detect-libc: 2.0.2 - https-proxy-agent: 5.0.1 - make-dir: 3.1.0 - node-fetch: 2.7.0 - nopt: 5.0.0 - npmlog: 5.0.1 - rimraf: 3.0.2 - semver: 7.5.4 - tar: 6.2.0 - transitivePeerDependencies: - - encoding - - supports-color - - '@melt-ui/svelte@0.76.2(svelte@4.2.8)': - dependencies: - '@floating-ui/core': 1.5.2 - '@floating-ui/dom': 1.5.3 - '@internationalized/date': 3.5.1 - dequal: 2.0.3 - focus-trap: 7.5.4 - nanoid: 5.0.5 - svelte: 4.2.8 - '@nodelib/fs.scandir@2.1.5': dependencies: '@nodelib/fs.stat': 2.0.5 @@ -3429,115 +4581,163 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true - '@playwright/test@1.40.1': - dependencies: - playwright: 1.40.1 + '@pkgr/core@0.1.1': {} '@polka/url@1.0.0-next.24': {} - '@rollup/pluginutils@4.2.1': - dependencies: - estree-walker: 2.0.2 - picomatch: 2.3.1 + '@rollup/rollup-android-arm-eabi@4.20.0': + optional: true + + '@rollup/rollup-android-arm64@4.20.0': + optional: true + + '@rollup/rollup-darwin-arm64@4.20.0': + optional: true - '@rollup/rollup-android-arm-eabi@4.9.1': + '@rollup/rollup-darwin-x64@4.20.0': optional: true - '@rollup/rollup-android-arm64@4.9.1': + '@rollup/rollup-linux-arm-gnueabihf@4.20.0': optional: true - '@rollup/rollup-darwin-arm64@4.9.1': + '@rollup/rollup-linux-arm-musleabihf@4.20.0': optional: true - '@rollup/rollup-darwin-x64@4.9.1': + '@rollup/rollup-linux-arm64-gnu@4.20.0': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.9.1': + '@rollup/rollup-linux-arm64-musl@4.20.0': optional: true - '@rollup/rollup-linux-arm64-gnu@4.9.1': + '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': optional: true - '@rollup/rollup-linux-arm64-musl@4.9.1': + '@rollup/rollup-linux-riscv64-gnu@4.20.0': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.9.1': + '@rollup/rollup-linux-s390x-gnu@4.20.0': optional: true - '@rollup/rollup-linux-x64-gnu@4.9.1': + '@rollup/rollup-linux-x64-gnu@4.20.0': optional: true - '@rollup/rollup-linux-x64-musl@4.9.1': + '@rollup/rollup-linux-x64-musl@4.20.0': optional: true - '@rollup/rollup-win32-arm64-msvc@4.9.1': + '@rollup/rollup-win32-arm64-msvc@4.20.0': optional: true - '@rollup/rollup-win32-ia32-msvc@4.9.1': + '@rollup/rollup-win32-ia32-msvc@4.20.0': optional: true - '@rollup/rollup-win32-x64-msvc@4.9.1': + '@rollup/rollup-win32-x64-msvc@4.20.0': optional: true '@sinclair/typebox@0.27.8': {} - '@sveltejs/adapter-vercel@4.0.3(@sveltejs/kit@2.0.6)': + '@stylistic/eslint-plugin-js@2.6.1(eslint@9.8.0)': + dependencies: + '@types/eslint': 9.6.0 + acorn: 8.12.1 + eslint: 9.8.0 + eslint-visitor-keys: 4.0.0 + espree: 10.1.0 + + '@stylistic/eslint-plugin-jsx@2.6.1(eslint@9.8.0)': + dependencies: + '@stylistic/eslint-plugin-js': 2.6.1(eslint@9.8.0) + '@types/eslint': 9.6.0 + eslint: 9.8.0 + estraverse: 5.3.0 + picomatch: 4.0.2 + + '@stylistic/eslint-plugin-plus@2.6.1(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@sveltejs/kit': 2.0.6(@sveltejs/vite-plugin-svelte@3.0.1)(svelte@4.2.8)(vite@5.0.10) - '@vercel/nft': 0.26.0 - esbuild: 0.19.11 + '@types/eslint': 9.6.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + eslint: 9.8.0 + transitivePeerDependencies: + - supports-color + - typescript + + '@stylistic/eslint-plugin-ts@2.6.1(eslint@9.8.0)(typescript@5.5.4)': + dependencies: + '@stylistic/eslint-plugin-js': 2.6.1(eslint@9.8.0) + '@types/eslint': 9.6.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + eslint: 9.8.0 transitivePeerDependencies: - - encoding - supports-color + - typescript + + '@stylistic/eslint-plugin@2.6.1(eslint@9.8.0)(typescript@5.5.4)': + dependencies: + '@stylistic/eslint-plugin-js': 2.6.1(eslint@9.8.0) + '@stylistic/eslint-plugin-jsx': 2.6.1(eslint@9.8.0) + '@stylistic/eslint-plugin-plus': 2.6.1(eslint@9.8.0)(typescript@5.5.4) + '@stylistic/eslint-plugin-ts': 2.6.1(eslint@9.8.0)(typescript@5.5.4) + '@types/eslint': 9.6.0 + eslint: 9.8.0 + transitivePeerDependencies: + - supports-color + - typescript + + '@sveltejs/adapter-cloudflare@4.7.2(@sveltejs/kit@2.6.1(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)))(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)))(wrangler@3.68.0(@cloudflare/workers-types@4.20240729.0))': + dependencies: + '@cloudflare/workers-types': 4.20240729.0 + '@sveltejs/kit': 2.6.1(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)))(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)) + esbuild: 0.21.5 + worktop: 0.8.0-next.18 + wrangler: 3.68.0(@cloudflare/workers-types@4.20240729.0) - '@sveltejs/kit@2.0.6(@sveltejs/vite-plugin-svelte@3.0.1)(svelte@4.2.8)(vite@5.0.10)': + '@sveltejs/kit@2.6.1(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)))(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.0.1(svelte@4.2.8)(vite@5.0.10) + '@sveltejs/vite-plugin-svelte': 4.0.0(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)) '@types/cookie': 0.6.0 cookie: 0.6.0 - devalue: 4.3.2 + devalue: 5.1.1 esm-env: 1.0.0 + import-meta-resolve: 4.1.0 kleur: 4.1.5 - magic-string: 0.30.5 + magic-string: 0.30.11 mrmime: 2.0.0 sade: 1.8.1 set-cookie-parser: 2.6.0 sirv: 2.0.4 - svelte: 4.2.8 + svelte: 5.1.3 tiny-glob: 0.2.9 - vite: 5.0.10(@types/node@20.10.5) + vite: 5.4.8(@types/node@20.14.14) - '@sveltejs/package@2.2.5(svelte@4.2.8)(typescript@5.3.3)': + '@sveltejs/package@2.3.5(svelte@5.1.3)(typescript@5.5.4)': dependencies: - chokidar: 3.5.3 + chokidar: 4.0.1 kleur: 4.1.5 sade: 1.8.1 - semver: 7.5.4 - svelte: 4.2.8 - svelte2tsx: 0.6.27(svelte@4.2.8)(typescript@5.3.3) + semver: 7.6.3 + svelte: 5.1.3 + svelte2tsx: 0.7.21(svelte@5.1.3)(typescript@5.5.4) transitivePeerDependencies: - typescript - '@sveltejs/vite-plugin-svelte-inspector@2.0.0(@sveltejs/vite-plugin-svelte@3.0.1)(svelte@4.2.8)(vite@5.0.10)': + '@sveltejs/vite-plugin-svelte-inspector@3.0.0-next.3(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)))(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.0.1(svelte@4.2.8)(vite@5.0.10) - debug: 4.3.4 - svelte: 4.2.8 - vite: 5.0.10(@types/node@20.10.5) + '@sveltejs/vite-plugin-svelte': 4.0.0(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)) + debug: 4.3.7 + svelte: 5.1.3 + vite: 5.4.8(@types/node@20.14.14) transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@3.0.1(svelte@4.2.8)(vite@5.0.10)': + '@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14))': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.0.0(@sveltejs/vite-plugin-svelte@3.0.1)(svelte@4.2.8)(vite@5.0.10) - debug: 4.3.4 + '@sveltejs/vite-plugin-svelte-inspector': 3.0.0-next.3(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)))(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14)) + debug: 4.3.7 deepmerge: 4.3.1 kleur: 4.1.5 - magic-string: 0.30.5 - svelte: 4.2.8 - svelte-hmr: 0.15.3(svelte@4.2.8) - vite: 5.0.10(@types/node@20.10.5) - vitefu: 0.2.5(vite@5.0.10) + magic-string: 0.30.12 + svelte: 5.1.3 + vite: 5.4.8(@types/node@20.14.14) + vitefu: 1.0.3(vite@5.4.8(@types/node@20.14.14)) transitivePeerDependencies: - supports-color @@ -3550,208 +4750,365 @@ snapshots: '@swc/helpers@0.5.3': dependencies: - tslib: 2.6.2 + tslib: 2.6.3 - '@testing-library/dom@9.3.3': + '@testing-library/dom@10.4.0': dependencies: '@babel/code-frame': 7.23.5 '@babel/runtime': 7.23.7 '@types/aria-query': 5.0.4 - aria-query: 5.1.3 + aria-query: 5.3.0 chalk: 4.1.2 dom-accessibility-api: 0.5.16 lz-string: 1.5.0 pretty-format: 27.5.1 - '@testing-library/svelte@4.0.5(svelte@4.2.8)': + '@testing-library/jest-dom@6.4.8': + dependencies: + '@adobe/css-tools': 4.4.0 + '@babel/runtime': 7.23.7 + aria-query: 5.3.0 + chalk: 3.0.0 + css.escape: 1.5.1 + dom-accessibility-api: 0.6.3 + lodash: 4.17.21 + redent: 3.0.0 + + '@testing-library/svelte@5.2.1(svelte@5.1.3)(vite@5.4.8(@types/node@20.14.14))(vitest@2.1.1(@types/node@20.14.14)(jsdom@24.1.1))': dependencies: - '@testing-library/dom': 9.3.3 - svelte: 4.2.8 + '@testing-library/dom': 10.4.0 + svelte: 5.1.3 + optionalDependencies: + vite: 5.4.8(@types/node@20.14.14) + vitest: 2.1.1(@types/node@20.14.14)(jsdom@24.1.1) - '@testing-library/user-event@14.5.2(@testing-library/dom@9.3.3)': + '@testing-library/user-event@14.5.2(@testing-library/dom@10.4.0)': dependencies: - '@testing-library/dom': 9.3.3 + '@testing-library/dom': 10.4.0 '@types/aria-query@5.0.4': {} '@types/cookie@0.6.0': {} - '@types/eslint@8.56.0': + '@types/eslint@8.56.11': + dependencies: + '@types/estree': 1.0.5 + '@types/json-schema': 7.0.15 + + '@types/eslint@9.6.0': dependencies: '@types/estree': 1.0.5 '@types/json-schema': 7.0.15 '@types/estree@1.0.5': {} + '@types/istanbul-lib-coverage@2.0.6': {} + + '@types/istanbul-lib-report@3.0.3': + dependencies: + '@types/istanbul-lib-coverage': 2.0.6 + + '@types/istanbul-reports@3.0.4': + dependencies: + '@types/istanbul-lib-report': 3.0.3 + + '@types/jest-axe@3.5.9': + dependencies: + '@types/jest': 29.5.12 + axe-core: 3.5.6 + + '@types/jest@29.5.12': + dependencies: + expect: 29.7.0 + pretty-format: 29.7.0 + '@types/json-schema@7.0.15': {} + '@types/mdast@3.0.15': + dependencies: + '@types/unist': 2.0.10 + '@types/minimist@1.2.5': {} + '@types/node-forge@1.3.11': + dependencies: + '@types/node': 20.14.14 + '@types/node@12.20.55': {} - '@types/node@20.10.5': + '@types/node@20.14.14': dependencies: undici-types: 5.26.5 '@types/normalize-package-data@2.4.4': {} - '@types/pug@2.0.10': {} + '@types/resize-observer-browser@0.1.11': {} '@types/semver@7.5.6': {} - '@typescript-eslint/eslint-plugin@6.16.0(@typescript-eslint/parser@6.16.0)(eslint@8.56.0)(typescript@5.3.3)': + '@types/stack-utils@2.0.3': {} + + '@types/testing-library__jest-dom@5.14.9': + dependencies: + '@types/jest': 29.5.12 + + '@types/unist@2.0.10': {} + + '@types/yargs-parser@21.0.3': {} + + '@types/yargs@17.0.32': + dependencies: + '@types/yargs-parser': 21.0.3 + + '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.16.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 6.16.0 - '@typescript-eslint/type-utils': 6.16.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.16.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.16.0 - debug: 4.3.4 - eslint: 8.56.0 + '@typescript-eslint/parser': 7.18.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 7.18.0 + '@typescript-eslint/type-utils': 7.18.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/utils': 7.18.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 7.18.0 + eslint: 9.8.0 graphemer: 1.4.0 - ignore: 5.3.0 + ignore: 5.3.1 natural-compare: 1.4.0 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/eslint-plugin@8.0.0(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)': + dependencies: + '@eslint-community/regexpp': 4.10.0 + '@typescript-eslint/parser': 7.18.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/type-utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.0.0 + eslint: 9.8.0 + graphemer: 1.4.0 + ignore: 5.3.1 + natural-compare: 1.4.0 + ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@6.16.0(eslint@8.56.0)(typescript@5.3.3)': + '@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/scope-manager': 6.16.0 - '@typescript-eslint/types': 6.16.0 - '@typescript-eslint/typescript-estree': 6.16.0(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.16.0 + '@typescript-eslint/scope-manager': 7.18.0 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 7.18.0 debug: 4.3.4 - eslint: 8.56.0 - typescript: 5.3.3 + eslint: 9.8.0 + optionalDependencies: + typescript: 5.5.4 transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@6.16.0': + '@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 6.16.0 - '@typescript-eslint/visitor-keys': 6.16.0 + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/typescript-estree': 8.0.0(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.0.0 + debug: 4.3.6 + eslint: 9.8.0 + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - supports-color - '@typescript-eslint/type-utils@6.16.0(eslint@8.56.0)(typescript@5.3.3)': + '@typescript-eslint/scope-manager@7.18.0': dependencies: - '@typescript-eslint/typescript-estree': 6.16.0(typescript@5.3.3) - '@typescript-eslint/utils': 6.16.0(eslint@8.56.0)(typescript@5.3.3) - debug: 4.3.4 - eslint: 8.56.0 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/visitor-keys': 7.18.0 + + '@typescript-eslint/scope-manager@8.0.0': + dependencies: + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/visitor-keys': 8.0.0 + + '@typescript-eslint/type-utils@7.18.0(eslint@9.8.0)(typescript@5.5.4)': + dependencies: + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) + '@typescript-eslint/utils': 7.18.0(eslint@9.8.0)(typescript@5.5.4) + debug: 4.3.6 + eslint: 9.8.0 + ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/type-utils@8.0.0(eslint@9.8.0)(typescript@5.5.4)': + dependencies: + '@typescript-eslint/typescript-estree': 8.0.0(typescript@5.5.4) + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + debug: 4.3.6 + ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 transitivePeerDependencies: + - eslint - supports-color - '@typescript-eslint/types@6.16.0': {} + '@typescript-eslint/types@7.18.0': {} + + '@typescript-eslint/types@8.0.0': {} - '@typescript-eslint/typescript-estree@6.16.0(typescript@5.3.3)': + '@typescript-eslint/typescript-estree@7.18.0(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 6.16.0 - '@typescript-eslint/visitor-keys': 6.16.0 - debug: 4.3.4 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/visitor-keys': 7.18.0 + debug: 4.3.6 globby: 11.1.0 is-glob: 4.0.3 - minimatch: 9.0.3 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@6.16.0(eslint@8.56.0)(typescript@5.3.3)': + '@typescript-eslint/typescript-estree@8.0.0(typescript@5.5.4)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.6 - '@typescript-eslint/scope-manager': 6.16.0 - '@typescript-eslint/types': 6.16.0 - '@typescript-eslint/typescript-estree': 6.16.0(typescript@5.3.3) - eslint: 8.56.0 - semver: 7.5.4 + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/visitor-keys': 8.0.0 + debug: 4.3.6 + globby: 11.1.0 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/utils@7.18.0(eslint@9.8.0)(typescript@5.5.4)': + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0) + '@typescript-eslint/scope-manager': 7.18.0 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) + eslint: 9.8.0 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@6.16.0': + '@typescript-eslint/utils@8.0.0(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 6.16.0 + '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/typescript-estree': 8.0.0(typescript@5.5.4) + eslint: 9.8.0 + transitivePeerDependencies: + - supports-color + - typescript + + '@typescript-eslint/visitor-keys@7.18.0': + dependencies: + '@typescript-eslint/types': 7.18.0 eslint-visitor-keys: 3.4.3 - '@ungap/structured-clone@1.2.0': {} + '@typescript-eslint/visitor-keys@8.0.0': + dependencies: + '@typescript-eslint/types': 8.0.0 + eslint-visitor-keys: 3.4.3 - '@vercel/nft@0.26.0': + '@vitest/expect@2.1.1': dependencies: - '@mapbox/node-pre-gyp': 1.0.11 - '@rollup/pluginutils': 4.2.1 - acorn: 8.11.3 - acorn-import-attributes: 1.9.2(acorn@8.11.3) - async-sema: 3.1.1 - bindings: 1.5.0 - estree-walker: 2.0.2 - glob: 7.2.3 - graceful-fs: 4.2.11 - micromatch: 4.0.5 - node-gyp-build: 4.7.1 - resolve-from: 5.0.0 - transitivePeerDependencies: - - encoding - - supports-color + '@vitest/spy': 2.1.1 + '@vitest/utils': 2.1.1 + chai: 5.1.1 + tinyrainbow: 1.2.0 + + '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.8(@types/node@20.14.14))': + dependencies: + '@vitest/spy': 2.1.1 + estree-walker: 3.0.3 + magic-string: 0.30.11 + optionalDependencies: + vite: 5.4.8(@types/node@20.14.14) - '@vitest/expect@1.1.0': + '@vitest/pretty-format@2.1.1': dependencies: - '@vitest/spy': 1.1.0 - '@vitest/utils': 1.1.0 - chai: 4.3.10 + tinyrainbow: 1.2.0 - '@vitest/runner@1.1.0': + '@vitest/runner@2.1.1': dependencies: - '@vitest/utils': 1.1.0 - p-limit: 5.0.0 - pathe: 1.1.1 + '@vitest/utils': 2.1.1 + pathe: 1.1.2 - '@vitest/snapshot@1.1.0': + '@vitest/snapshot@2.1.1': dependencies: - magic-string: 0.30.5 - pathe: 1.1.1 - pretty-format: 29.7.0 + '@vitest/pretty-format': 2.1.1 + magic-string: 0.30.11 + pathe: 1.1.2 - '@vitest/spy@1.1.0': + '@vitest/spy@2.1.1': dependencies: - tinyspy: 2.2.0 + tinyspy: 3.0.0 - '@vitest/utils@1.1.0': + '@vitest/utils@2.1.1': dependencies: - diff-sequences: 29.6.3 - loupe: 2.3.7 - pretty-format: 29.7.0 + '@vitest/pretty-format': 2.1.1 + loupe: 3.1.1 + tinyrainbow: 1.2.0 + + '@vue/compiler-core@3.4.35': + dependencies: + '@babel/parser': 7.25.3 + '@vue/shared': 3.4.35 + entities: 4.5.0 + estree-walker: 2.0.2 + source-map-js: 1.2.1 - abbrev@1.1.1: {} + '@vue/compiler-dom@3.4.35': + dependencies: + '@vue/compiler-core': 3.4.35 + '@vue/shared': 3.4.35 - acorn-import-attributes@1.9.2(acorn@8.11.3): + '@vue/compiler-sfc@3.4.35': dependencies: - acorn: 8.11.3 + '@babel/parser': 7.25.3 + '@vue/compiler-core': 3.4.35 + '@vue/compiler-dom': 3.4.35 + '@vue/compiler-ssr': 3.4.35 + '@vue/shared': 3.4.35 + estree-walker: 2.0.2 + magic-string: 0.30.12 + postcss: 8.4.47 + source-map-js: 1.2.1 - acorn-jsx@5.3.2(acorn@8.11.3): + '@vue/compiler-ssr@3.4.35': dependencies: - acorn: 8.11.3 + '@vue/compiler-dom': 3.4.35 + '@vue/shared': 3.4.35 - acorn-walk@8.3.1: {} + '@vue/shared@3.4.35': {} - acorn@8.11.3: {} + acorn-jsx@5.3.2(acorn@8.12.1): + dependencies: + acorn: 8.12.1 - agent-base@6.0.2: + acorn-typescript@1.4.13(acorn@8.12.1): dependencies: - debug: 4.3.4 - transitivePeerDependencies: - - supports-color + acorn: 8.12.1 + + acorn-walk@8.3.1: {} + + acorn@8.12.1: {} agent-base@7.1.0: dependencies: - debug: 4.3.4 + debug: 4.3.6 transitivePeerDependencies: - supports-color @@ -3787,12 +5144,7 @@ snapshots: normalize-path: 3.0.0 picomatch: 2.3.1 - aproba@2.0.0: {} - - are-we-there-yet@2.0.0: - dependencies: - delegates: 1.0.0 - readable-stream: 3.6.2 + are-docs-informative@0.0.2: {} arg@5.0.2: {} @@ -3802,14 +5154,12 @@ snapshots: argparse@2.0.1: {} - aria-query@5.1.3: - dependencies: - deep-equal: 2.2.3 - aria-query@5.3.0: dependencies: dequal: 2.0.3 + aria-query@5.3.2: {} + array-buffer-byte-length@1.0.0: dependencies: call-bind: 1.0.5 @@ -3836,27 +5186,39 @@ snapshots: arrify@1.0.1: {} - assertion-error@1.1.0: {} + as-table@1.0.55: + dependencies: + printable-characters: 1.0.42 - async-sema@3.1.1: {} + assertion-error@2.0.1: {} asynckit@0.4.0: {} - autoprefixer@10.4.16(postcss@8.4.32): + autoprefixer@10.4.20(postcss@8.4.40): + dependencies: + browserslist: 4.23.3 + caniuse-lite: 1.0.30001647 + fraction.js: 4.3.7 + normalize-range: 0.1.2 + picocolors: 1.0.1 + postcss: 8.4.40 + postcss-value-parser: 4.2.0 + + autoprefixer@10.4.20(postcss@8.4.47): dependencies: - browserslist: 4.22.2 - caniuse-lite: 1.0.30001572 + browserslist: 4.23.3 + caniuse-lite: 1.0.30001647 fraction.js: 4.3.7 normalize-range: 0.1.2 - picocolors: 1.0.0 - postcss: 8.4.32 + picocolors: 1.0.1 + postcss: 8.4.47 postcss-value-parser: 4.2.0 available-typed-arrays@1.0.5: {} - axobject-query@3.2.1: - dependencies: - dequal: 2.0.3 + axe-core@3.5.6: {} + + axobject-query@4.1.0: {} balanced-match@1.0.2: {} @@ -3866,16 +5228,29 @@ snapshots: binary-extensions@2.2.0: {} - bindings@1.5.0: + bits-ui@1.0.0-next.28(svelte@5.1.3): dependencies: - file-uri-to-path: 1.0.0 + '@floating-ui/core': 1.6.5 + '@floating-ui/dom': 1.6.8 + '@internationalized/date': 3.5.6 + esm-env: 1.0.0 + runed: 0.15.2(svelte@5.1.3) + svelte: 5.1.3 + svelte-toolbelt: 0.4.4(svelte@5.1.3) - bits-ui@0.21.7(svelte@4.2.8): + bits-ui@1.0.0-next.41(svelte@5.1.3): dependencies: - '@internationalized/date': 3.5.1 - '@melt-ui/svelte': 0.76.2(svelte@4.2.8) - nanoid: 5.0.5 - svelte: 4.2.8 + '@floating-ui/core': 1.6.5 + '@floating-ui/dom': 1.6.8 + '@internationalized/date': 3.5.6 + esm-env: 1.1.4 + runed: 0.15.2(svelte@5.1.3) + svelte: 5.1.3 + svelte-toolbelt: 0.4.4(svelte@5.1.3) + + blake3-wasm@2.1.5: {} + + boolbase@1.0.0: {} brace-expansion@1.1.11: dependencies: @@ -3894,14 +5269,14 @@ snapshots: dependencies: wcwidth: 1.0.1 - browserslist@4.22.2: + browserslist@4.23.3: dependencies: - caniuse-lite: 1.0.30001572 - electron-to-chromium: 1.4.616 - node-releases: 2.0.14 - update-browserslist-db: 1.0.13(browserslist@4.22.2) + caniuse-lite: 1.0.30001647 + electron-to-chromium: 1.5.4 + node-releases: 2.0.18 + update-browserslist-db: 1.1.0(browserslist@4.23.3) - buffer-crc32@0.2.13: {} + builtin-modules@3.3.0: {} cac@6.7.14: {} @@ -3911,6 +5286,8 @@ snapshots: get-intrinsic: 1.2.2 set-function-length: 1.1.1 + call-me-maybe@1.0.2: {} + callsites@3.1.0: {} camelcase-css@2.0.1: {} @@ -3923,17 +5300,22 @@ snapshots: camelcase@5.3.1: {} - caniuse-lite@1.0.30001572: {} + caniuse-lite@1.0.30001647: {} - chai@4.3.10: + capnp-ts@0.7.0: dependencies: - assertion-error: 1.1.0 - check-error: 1.0.3 - deep-eql: 4.1.3 - get-func-name: 2.0.2 - loupe: 2.3.7 - pathval: 1.1.1 - type-detect: 4.0.8 + debug: 4.3.6 + tslib: 2.6.3 + transitivePeerDependencies: + - supports-color + + chai@5.1.1: + dependencies: + assertion-error: 2.0.1 + check-error: 2.1.1 + deep-eql: 5.0.2 + loupe: 3.1.1 + pathval: 2.0.0 chalk@2.4.2: dependencies: @@ -3941,6 +5323,11 @@ snapshots: escape-string-regexp: 1.0.5 supports-color: 5.5.0 + chalk@3.0.0: + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + chalk@4.1.2: dependencies: ansi-styles: 4.3.0 @@ -3948,11 +5335,15 @@ snapshots: chalk@5.3.0: {} + character-entities-legacy@1.1.4: {} + + character-entities@1.2.4: {} + + character-reference-invalid@1.1.4: {} + chardet@0.7.0: {} - check-error@1.0.3: - dependencies: - get-func-name: 2.0.2 + check-error@2.1.1: {} chokidar@3.5.3: dependencies: @@ -3966,10 +5357,30 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - chownr@2.0.0: {} + chokidar@3.6.0: + dependencies: + anymatch: 3.1.3 + braces: 3.0.2 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.3 + + chokidar@4.0.1: + dependencies: + readdirp: 4.0.1 ci-info@3.9.0: {} + ci-info@4.0.0: {} + + clean-regexp@1.0.0: + dependencies: + escape-string-regexp: 1.0.5 + cliui@6.0.0: dependencies: string-width: 4.2.3 @@ -3984,15 +5395,7 @@ snapshots: clone@1.0.4: {} - clsx@2.1.0: {} - - code-red@1.0.4: - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - '@types/estree': 1.0.5 - acorn: 8.11.3 - estree-walker: 3.0.3 - periscopic: 3.1.0 + clsx@2.1.1: {} color-convert@1.9.3: dependencies: @@ -4006,20 +5409,26 @@ snapshots: color-name@1.1.4: {} - color-support@1.1.3: {} - combined-stream@1.0.8: dependencies: delayed-stream: 1.0.0 commander@4.1.1: {} + comment-parser@1.4.1: {} + concat-map@0.0.1: {} - console-control-strings@1.1.0: {} + consola@3.2.3: {} + + cookie@0.5.0: {} cookie@0.6.0: {} + core-js-compat@3.37.1: + dependencies: + browserslist: 4.23.3 + cross-spawn@5.1.0: dependencies: lru-cache: 4.1.5 @@ -4032,16 +5441,11 @@ 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.0.2 - css.escape@1.5.1: {} cssesc@3.0.0: {} - cssstyle@3.0.0: + cssstyle@4.0.1: dependencies: rrweb-cssom: 0.6.0 @@ -4058,6 +5462,8 @@ snapshots: csv-stringify: 5.6.5 stream-transform: 2.1.3 + data-uri-to-buffer@2.0.2: {} + data-urls@5.0.0: dependencies: whatwg-mimetype: 4.0.0 @@ -4065,10 +5471,24 @@ snapshots: dataloader@1.4.0: {} + date-fns@3.6.0: {} + + debug@3.2.7: + dependencies: + ms: 2.1.2 + debug@4.3.4: dependencies: ms: 2.1.2 + debug@4.3.6: + dependencies: + ms: 2.1.2 + + debug@4.3.7: + dependencies: + ms: 2.1.3 + decamelize-keys@1.1.1: dependencies: decamelize: 1.2.0 @@ -4080,30 +5500,7 @@ snapshots: dedent-js@1.0.1: {} - deep-eql@4.1.3: - dependencies: - type-detect: 4.0.8 - - deep-equal@2.2.3: - dependencies: - array-buffer-byte-length: 1.0.0 - call-bind: 1.0.5 - es-get-iterator: 1.1.3 - get-intrinsic: 1.2.2 - is-arguments: 1.1.1 - is-array-buffer: 3.0.2 - is-date-object: 1.0.5 - is-regex: 1.1.4 - is-shared-array-buffer: 1.0.2 - isarray: 2.0.5 - object-is: 1.1.5 - object-keys: 1.1.1 - object.assign: 4.1.5 - regexp.prototype.flags: 1.5.1 - side-channel: 1.0.4 - which-boxed-primitive: 1.0.2 - which-collection: 1.0.1 - which-typed-array: 1.1.13 + deep-eql@5.0.2: {} deep-is@0.1.4: {} @@ -4125,17 +5522,15 @@ snapshots: has-property-descriptors: 1.0.1 object-keys: 1.1.1 - delayed-stream@1.0.0: {} + defu@6.1.4: {} - delegates@1.0.0: {} + delayed-stream@1.0.0: {} dequal@2.0.3: {} detect-indent@6.1.0: {} - detect-libc@2.0.2: {} - - devalue@4.3.2: {} + devalue@5.1.1: {} didyoumean@1.2.2: {} @@ -4159,12 +5554,17 @@ snapshots: eastasianwidth@0.2.0: {} - electron-to-chromium@1.4.616: {} + electron-to-chromium@1.5.4: {} emoji-regex@8.0.0: {} emoji-regex@9.2.2: {} + enhanced-resolve@5.17.1: + dependencies: + graceful-fs: 4.2.11 + tapable: 2.2.1 + enquirer@2.4.1: dependencies: ansi-colors: 4.1.3 @@ -4218,17 +5618,7 @@ snapshots: unbox-primitive: 1.0.2 which-typed-array: 1.1.13 - es-get-iterator@1.1.3: - dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - has-symbols: 1.0.3 - is-arguments: 1.1.1 - is-map: 2.0.2 - is-set: 2.0.2 - is-string: 1.0.7 - isarray: 2.0.5 - stop-iteration-iterator: 1.0.0 + es-module-lexer@1.5.4: {} es-set-tostringtag@2.0.2: dependencies: @@ -4246,107 +5636,355 @@ snapshots: is-date-object: 1.0.5 is-symbol: 1.0.4 - es6-promise@3.3.1: {} - - esbuild@0.19.11: + esbuild@0.17.19: + optionalDependencies: + '@esbuild/android-arm': 0.17.19 + '@esbuild/android-arm64': 0.17.19 + '@esbuild/android-x64': 0.17.19 + '@esbuild/darwin-arm64': 0.17.19 + '@esbuild/darwin-x64': 0.17.19 + '@esbuild/freebsd-arm64': 0.17.19 + '@esbuild/freebsd-x64': 0.17.19 + '@esbuild/linux-arm': 0.17.19 + '@esbuild/linux-arm64': 0.17.19 + '@esbuild/linux-ia32': 0.17.19 + '@esbuild/linux-loong64': 0.17.19 + '@esbuild/linux-mips64el': 0.17.19 + '@esbuild/linux-ppc64': 0.17.19 + '@esbuild/linux-riscv64': 0.17.19 + '@esbuild/linux-s390x': 0.17.19 + '@esbuild/linux-x64': 0.17.19 + '@esbuild/netbsd-x64': 0.17.19 + '@esbuild/openbsd-x64': 0.17.19 + '@esbuild/sunos-x64': 0.17.19 + '@esbuild/win32-arm64': 0.17.19 + '@esbuild/win32-ia32': 0.17.19 + '@esbuild/win32-x64': 0.17.19 + + esbuild@0.21.5: optionalDependencies: - '@esbuild/aix-ppc64': 0.19.11 - '@esbuild/android-arm': 0.19.11 - '@esbuild/android-arm64': 0.19.11 - '@esbuild/android-x64': 0.19.11 - '@esbuild/darwin-arm64': 0.19.11 - '@esbuild/darwin-x64': 0.19.11 - '@esbuild/freebsd-arm64': 0.19.11 - '@esbuild/freebsd-x64': 0.19.11 - '@esbuild/linux-arm': 0.19.11 - '@esbuild/linux-arm64': 0.19.11 - '@esbuild/linux-ia32': 0.19.11 - '@esbuild/linux-loong64': 0.19.11 - '@esbuild/linux-mips64el': 0.19.11 - '@esbuild/linux-ppc64': 0.19.11 - '@esbuild/linux-riscv64': 0.19.11 - '@esbuild/linux-s390x': 0.19.11 - '@esbuild/linux-x64': 0.19.11 - '@esbuild/netbsd-x64': 0.19.11 - '@esbuild/openbsd-x64': 0.19.11 - '@esbuild/sunos-x64': 0.19.11 - '@esbuild/win32-arm64': 0.19.11 - '@esbuild/win32-ia32': 0.19.11 - '@esbuild/win32-x64': 0.19.11 + '@esbuild/aix-ppc64': 0.21.5 + '@esbuild/android-arm': 0.21.5 + '@esbuild/android-arm64': 0.21.5 + '@esbuild/android-x64': 0.21.5 + '@esbuild/darwin-arm64': 0.21.5 + '@esbuild/darwin-x64': 0.21.5 + '@esbuild/freebsd-arm64': 0.21.5 + '@esbuild/freebsd-x64': 0.21.5 + '@esbuild/linux-arm': 0.21.5 + '@esbuild/linux-arm64': 0.21.5 + '@esbuild/linux-ia32': 0.21.5 + '@esbuild/linux-loong64': 0.21.5 + '@esbuild/linux-mips64el': 0.21.5 + '@esbuild/linux-ppc64': 0.21.5 + '@esbuild/linux-riscv64': 0.21.5 + '@esbuild/linux-s390x': 0.21.5 + '@esbuild/linux-x64': 0.21.5 + '@esbuild/netbsd-x64': 0.21.5 + '@esbuild/openbsd-x64': 0.21.5 + '@esbuild/sunos-x64': 0.21.5 + '@esbuild/win32-arm64': 0.21.5 + '@esbuild/win32-ia32': 0.21.5 + '@esbuild/win32-x64': 0.21.5 escalade@3.1.1: {} + escalade@3.1.2: {} + escape-string-regexp@1.0.5: {} + escape-string-regexp@2.0.0: {} + escape-string-regexp@4.0.0: {} - eslint-compat-utils@0.1.2(eslint@8.56.0): + eslint-compat-utils@0.5.1(eslint@9.8.0): dependencies: - eslint: 8.56.0 + eslint: 9.8.0 + semver: 7.6.3 - eslint-config-prettier@9.1.0(eslint@8.56.0): + eslint-config-flat-gitignore@0.1.8: dependencies: - eslint: 8.56.0 + find-up-simple: 1.0.0 + parse-gitignore: 2.0.0 - eslint-plugin-svelte@2.35.1(eslint@8.56.0)(svelte@4.2.8): + eslint-flat-config-utils@0.2.5: dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) - '@jridgewell/sourcemap-codec': 1.4.15 - debug: 4.3.4 - eslint: 8.56.0 - eslint-compat-utils: 0.1.2(eslint@8.56.0) - esutils: 2.0.3 - known-css-properties: 0.29.0 - postcss: 8.4.32 - postcss-load-config: 3.1.4(postcss@8.4.32) - postcss-safe-parser: 6.0.0(postcss@8.4.32) - postcss-selector-parser: 6.0.15 - semver: 7.5.4 - svelte: 4.2.8 - svelte-eslint-parser: 0.33.1(svelte@4.2.8) + '@types/eslint': 8.56.11 + pathe: 1.1.2 + + eslint-flat-config-utils@0.3.0: + dependencies: + '@types/eslint': 9.6.0 + pathe: 1.1.2 + + eslint-import-resolver-node@0.3.9: + dependencies: + debug: 3.2.7 + is-core-module: 2.13.1 + resolve: 1.22.8 + transitivePeerDependencies: + - supports-color + + eslint-merge-processors@0.1.0(eslint@9.8.0): + dependencies: + eslint: 9.8.0 + + eslint-plugin-antfu@2.3.4(eslint@9.8.0): + dependencies: + '@antfu/utils': 0.7.10 + eslint: 9.8.0 + + eslint-plugin-command@0.2.3(eslint@9.8.0): + dependencies: + '@es-joy/jsdoccomment': 0.43.1 + eslint: 9.8.0 + + eslint-plugin-es-x@7.8.0(eslint@9.8.0): + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0) + '@eslint-community/regexpp': 4.11.0 + eslint: 9.8.0 + eslint-compat-utils: 0.5.1(eslint@9.8.0) + + eslint-plugin-eslint-comments@3.2.0(eslint@9.8.0): + dependencies: + escape-string-regexp: 1.0.5 + eslint: 9.8.0 + ignore: 5.3.0 + + eslint-plugin-import-x@3.1.0(eslint@9.8.0)(typescript@5.5.4): + dependencies: + '@typescript-eslint/utils': 7.18.0(eslint@9.8.0)(typescript@5.5.4) + debug: 4.3.6 + doctrine: 3.0.0 + eslint: 9.8.0 + eslint-import-resolver-node: 0.3.9 + get-tsconfig: 4.7.6 + is-glob: 4.0.3 + minimatch: 9.0.3 + semver: 7.6.3 + stable-hash: 0.0.4 + tslib: 2.6.3 + transitivePeerDependencies: + - supports-color + - typescript + + eslint-plugin-jsdoc@48.11.0(eslint@9.8.0): + dependencies: + '@es-joy/jsdoccomment': 0.46.0 + are-docs-informative: 0.0.2 + comment-parser: 1.4.1 + debug: 4.3.6 + escape-string-regexp: 4.0.0 + eslint: 9.8.0 + espree: 10.1.0 + esquery: 1.6.0 + parse-imports: 2.1.1 + semver: 7.6.3 + spdx-expression-parse: 4.0.0 + synckit: 0.9.1 + transitivePeerDependencies: + - supports-color + + eslint-plugin-jsonc@2.16.0(eslint@9.8.0): + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0) + eslint: 9.8.0 + eslint-compat-utils: 0.5.1(eslint@9.8.0) + espree: 9.6.1 + graphemer: 1.4.0 + jsonc-eslint-parser: 2.4.0 + natural-compare: 1.4.0 + synckit: 0.6.2 + + eslint-plugin-markdown@5.1.0(eslint@9.8.0): + dependencies: + eslint: 9.8.0 + mdast-util-from-markdown: 0.8.5 + transitivePeerDependencies: + - supports-color + + eslint-plugin-n@17.10.1(eslint@9.8.0): + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0) + enhanced-resolve: 5.17.1 + eslint: 9.8.0 + eslint-plugin-es-x: 7.8.0(eslint@9.8.0) + get-tsconfig: 4.7.6 + globals: 15.9.0 + ignore: 5.3.0 + minimatch: 9.0.5 + semver: 7.6.3 + + eslint-plugin-no-only-tests@3.1.0: {} + + eslint-plugin-perfectionist@3.1.0(eslint@9.8.0)(svelte-eslint-parser@0.41.1(svelte@5.1.3))(svelte@5.1.3)(typescript@5.5.4)(vue-eslint-parser@9.4.3(eslint@9.8.0)): + dependencies: + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4) + eslint: 9.8.0 + minimatch: 10.0.1 + natural-compare-lite: 1.4.0 + optionalDependencies: + svelte: 5.1.3 + svelte-eslint-parser: 0.41.1(svelte@5.1.3) + vue-eslint-parser: 9.4.3(eslint@9.8.0) transitivePeerDependencies: - supports-color + - typescript + + eslint-plugin-regexp@2.6.0(eslint@9.8.0): + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0) + '@eslint-community/regexpp': 4.10.0 + comment-parser: 1.4.1 + eslint: 9.8.0 + jsdoc-type-pratt-parser: 4.0.0 + refa: 0.12.1 + regexp-ast-analysis: 0.7.1 + scslre: 0.3.0 + + eslint-plugin-svelte@2.44.1(eslint@9.8.0)(svelte@5.1.3): + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0) + '@jridgewell/sourcemap-codec': 1.5.0 + eslint: 9.8.0 + eslint-compat-utils: 0.5.1(eslint@9.8.0) + esutils: 2.0.3 + known-css-properties: 0.34.0 + postcss: 8.4.40 + postcss-load-config: 3.1.4(postcss@8.4.40) + postcss-safe-parser: 6.0.0(postcss@8.4.40) + postcss-selector-parser: 6.1.1 + semver: 7.6.3 + svelte-eslint-parser: 0.41.1(svelte@5.1.3) + optionalDependencies: + svelte: 5.1.3 + transitivePeerDependencies: - ts-node + eslint-plugin-toml@0.11.1(eslint@9.8.0): + dependencies: + debug: 4.3.6 + eslint: 9.8.0 + eslint-compat-utils: 0.5.1(eslint@9.8.0) + lodash: 4.17.21 + toml-eslint-parser: 0.10.0 + transitivePeerDependencies: + - supports-color + + eslint-plugin-unicorn@55.0.0(eslint@9.8.0): + dependencies: + '@babel/helper-validator-identifier': 7.24.7 + '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0) + ci-info: 4.0.0 + clean-regexp: 1.0.0 + core-js-compat: 3.37.1 + eslint: 9.8.0 + esquery: 1.5.0 + globals: 15.9.0 + indent-string: 4.0.0 + is-builtin-module: 3.2.1 + jsesc: 3.0.2 + pluralize: 8.0.0 + read-pkg-up: 7.0.1 + regexp-tree: 0.1.27 + regjsparser: 0.10.0 + semver: 7.6.3 + strip-indent: 3.0.0 + + eslint-plugin-unused-imports@4.0.1(@typescript-eslint/eslint-plugin@8.0.0(@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0): + dependencies: + eslint: 9.8.0 + eslint-rule-composer: 0.3.0 + optionalDependencies: + '@typescript-eslint/eslint-plugin': 8.0.0(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4) + + eslint-plugin-vitest@0.5.4(@typescript-eslint/eslint-plugin@8.0.0(@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)(vitest@2.1.1): + dependencies: + '@typescript-eslint/utils': 7.18.0(eslint@9.8.0)(typescript@5.5.4) + eslint: 9.8.0 + optionalDependencies: + '@typescript-eslint/eslint-plugin': 8.0.0(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4) + vitest: 2.1.1(@types/node@20.14.14)(jsdom@24.1.1) + transitivePeerDependencies: + - supports-color + - typescript + + eslint-plugin-vue@9.27.0(eslint@9.8.0): + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0) + eslint: 9.8.0 + globals: 13.24.0 + natural-compare: 1.4.0 + nth-check: 2.1.1 + postcss-selector-parser: 6.1.1 + semver: 7.6.3 + vue-eslint-parser: 9.4.3(eslint@9.8.0) + xml-name-validator: 4.0.0 + transitivePeerDependencies: + - supports-color + + eslint-plugin-yml@1.14.0(eslint@9.8.0): + dependencies: + debug: 4.3.6 + eslint: 9.8.0 + eslint-compat-utils: 0.5.1(eslint@9.8.0) + lodash: 4.17.21 + natural-compare: 1.4.0 + yaml-eslint-parser: 1.2.3 + transitivePeerDependencies: + - supports-color + + eslint-processor-vue-blocks@0.1.2(@vue/compiler-sfc@3.4.35)(eslint@9.8.0): + dependencies: + '@vue/compiler-sfc': 3.4.35 + eslint: 9.8.0 + + eslint-rule-composer@0.3.0: {} + eslint-scope@7.2.2: dependencies: esrecurse: 4.3.0 estraverse: 5.3.0 + eslint-scope@8.0.2: + dependencies: + esrecurse: 4.3.0 + estraverse: 5.3.0 + eslint-visitor-keys@3.4.3: {} - eslint@8.56.0: + eslint-visitor-keys@4.0.0: {} + + eslint@9.8.0: dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) - '@eslint-community/regexpp': 4.10.0 - '@eslint/eslintrc': 2.1.4 - '@eslint/js': 8.56.0 - '@humanwhocodes/config-array': 0.11.13 + '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0) + '@eslint-community/regexpp': 4.11.0 + '@eslint/config-array': 0.17.1 + '@eslint/eslintrc': 3.1.0 + '@eslint/js': 9.8.0 '@humanwhocodes/module-importer': 1.0.1 + '@humanwhocodes/retry': 0.3.0 '@nodelib/fs.walk': 1.2.8 - '@ungap/structured-clone': 1.2.0 ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 debug: 4.3.4 - doctrine: 3.0.0 escape-string-regexp: 4.0.0 - eslint-scope: 7.2.2 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 + eslint-scope: 8.0.2 + eslint-visitor-keys: 4.0.0 + espree: 10.1.0 esquery: 1.5.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 + file-entry-cache: 8.0.0 find-up: 5.0.0 glob-parent: 6.0.2 - globals: 13.24.0 - graphemer: 1.4.0 ignore: 5.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 is-path-inside: 3.0.3 - js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 lodash.merge: 4.6.2 @@ -4360,10 +5998,18 @@ snapshots: esm-env@1.0.0: {} + esm-env@1.1.4: {} + + espree@10.1.0: + dependencies: + acorn: 8.12.1 + acorn-jsx: 5.3.2(acorn@8.12.1) + eslint-visitor-keys: 4.0.0 + espree@9.6.1: dependencies: - acorn: 8.11.3 - acorn-jsx: 5.3.2(acorn@8.11.3) + acorn: 8.12.1 + acorn-jsx: 5.3.2(acorn@8.12.1) eslint-visitor-keys: 3.4.3 esprima@4.0.1: {} @@ -4372,12 +6018,23 @@ snapshots: dependencies: estraverse: 5.3.0 + esquery@1.6.0: + dependencies: + estraverse: 5.3.0 + + esrap@1.2.2: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + '@types/estree': 1.0.5 + esrecurse@4.3.0: dependencies: estraverse: 5.3.0 estraverse@5.3.0: {} + estree-walker@0.6.1: {} + estree-walker@2.0.2: {} estree-walker@3.0.3: @@ -4386,17 +6043,15 @@ snapshots: esutils@2.0.3: {} - execa@8.0.1: + exit-hook@2.2.1: {} + + expect@29.7.0: dependencies: - cross-spawn: 7.0.3 - get-stream: 8.0.1 - human-signals: 5.0.0 - is-stream: 3.0.0 - merge-stream: 2.0.0 - npm-run-path: 5.2.0 - onetime: 6.0.0 - signal-exit: 4.1.0 - strip-final-newline: 3.0.0 + '@jest/expect-utils': 29.7.0 + jest-get-type: 29.6.3 + jest-matcher-utils: 29.7.0 + jest-message-util: 29.7.0 + jest-util: 29.7.0 extendable-error@0.1.7: {} @@ -4424,16 +6079,20 @@ snapshots: dependencies: reusify: 1.0.4 - file-entry-cache@6.0.1: - dependencies: - flat-cache: 3.2.0 + fdir@6.4.0(picomatch@4.0.2): + optionalDependencies: + picomatch: 4.0.2 - file-uri-to-path@1.0.0: {} + file-entry-cache@8.0.0: + dependencies: + flat-cache: 4.0.1 fill-range@7.0.1: dependencies: to-regex-range: 5.0.1 + find-up-simple@1.0.0: {} + find-up@4.1.0: dependencies: locate-path: 5.0.0 @@ -4449,18 +6108,13 @@ snapshots: micromatch: 4.0.5 pkg-dir: 4.2.0 - flat-cache@3.2.0: + flat-cache@4.0.1: dependencies: flatted: 3.2.9 keyv: 4.5.4 - rimraf: 3.0.2 flatted@3.2.9: {} - focus-trap@7.5.4: - dependencies: - tabbable: 6.2.0 - for-each@0.3.3: dependencies: is-callable: 1.2.7 @@ -4490,15 +6144,8 @@ snapshots: jsonfile: 4.0.0 universalify: 0.1.2 - fs-minipass@2.1.0: - dependencies: - minipass: 3.3.6 - fs.realpath@1.0.0: {} - fsevents@2.3.2: - optional: true - fsevents@2.3.3: optional: true @@ -4513,18 +6160,6 @@ snapshots: functions-have-names@1.2.3: {} - gauge@3.0.2: - dependencies: - aproba: 2.0.0 - color-support: 1.1.3 - console-control-strings: 1.1.0 - has-unicode: 2.0.1 - object-assign: 4.1.1 - signal-exit: 3.0.7 - string-width: 4.2.3 - strip-ansi: 6.0.1 - wide-align: 1.1.5 - get-caller-file@2.0.5: {} get-func-name@2.0.2: {} @@ -4536,13 +6171,20 @@ snapshots: has-symbols: 1.0.3 hasown: 2.0.0 - get-stream@8.0.1: {} + get-source@2.0.12: + dependencies: + data-uri-to-buffer: 2.0.2 + source-map: 0.6.1 get-symbol-description@1.0.0: dependencies: call-bind: 1.0.5 get-intrinsic: 1.2.2 + get-tsconfig@4.7.6: + dependencies: + resolve-pkg-maps: 1.0.0 + glob-parent@5.1.2: dependencies: is-glob: 4.0.3 @@ -4551,23 +6193,16 @@ snapshots: dependencies: is-glob: 4.0.3 + glob-to-regexp@0.4.1: {} + glob@10.3.10: dependencies: foreground-child: 3.1.1 jackspeak: 2.3.6 - minimatch: 9.0.3 + minimatch: 9.0.5 minipass: 7.0.4 path-scurry: 1.10.1 - glob@7.2.3: - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - glob@8.1.0: dependencies: fs.realpath: 1.0.0 @@ -4580,6 +6215,10 @@ snapshots: dependencies: type-fest: 0.20.2 + globals@14.0.0: {} + + globals@15.9.0: {} + globalthis@1.0.3: dependencies: define-properties: 1.2.1 @@ -4627,8 +6266,6 @@ snapshots: dependencies: has-symbols: 1.0.3 - has-unicode@2.0.1: {} - hasown@2.0.0: dependencies: function-bind: 1.1.2 @@ -4639,31 +6276,22 @@ snapshots: dependencies: whatwg-encoding: 3.1.1 - http-proxy-agent@7.0.0: + http-proxy-agent@7.0.2: dependencies: agent-base: 7.1.0 - debug: 4.3.4 - transitivePeerDependencies: - - supports-color - - https-proxy-agent@5.0.1: - dependencies: - agent-base: 6.0.2 - debug: 4.3.4 + debug: 4.3.6 transitivePeerDependencies: - supports-color - https-proxy-agent@7.0.2: + https-proxy-agent@7.0.5: dependencies: agent-base: 7.1.0 - debug: 4.3.4 + debug: 4.3.6 transitivePeerDependencies: - supports-color human-id@1.0.2: {} - human-signals@5.0.0: {} - iconv-lite@0.4.24: dependencies: safer-buffer: 2.1.2 @@ -4678,11 +6306,15 @@ snapshots: ignore@5.3.0: {} + ignore@5.3.1: {} + import-fresh@3.3.0: dependencies: parent-module: 1.0.1 resolve-from: 4.0.0 + import-meta-resolve@4.1.0: {} + imurmurhash@0.1.4: {} indent-string@4.0.0: {} @@ -4696,16 +6328,20 @@ snapshots: inherits@2.0.4: {} + inline-style-parser@0.2.4: {} + internal-slot@1.0.6: dependencies: get-intrinsic: 1.2.2 hasown: 2.0.0 side-channel: 1.0.4 - is-arguments@1.1.1: - dependencies: - call-bind: 1.0.5 - has-tostringtag: 1.0.0 + is-alphabetical@1.0.4: {} + + is-alphanumerical@1.0.4: + dependencies: + is-alphabetical: 1.0.4 + is-decimal: 1.0.4 is-array-buffer@3.0.2: dependencies: @@ -4728,6 +6364,10 @@ snapshots: call-bind: 1.0.5 has-tostringtag: 1.0.0 + is-builtin-module@3.2.1: + dependencies: + builtin-modules: 3.3.0 + is-callable@1.2.7: {} is-core-module@2.13.1: @@ -4738,6 +6378,8 @@ snapshots: dependencies: has-tostringtag: 1.0.0 + is-decimal@1.0.4: {} + is-extglob@2.1.1: {} is-fullwidth-code-point@3.0.0: {} @@ -4746,7 +6388,7 @@ snapshots: dependencies: is-extglob: 2.1.1 - is-map@2.0.2: {} + is-hexadecimal@1.0.4: {} is-negative-zero@2.0.2: {} @@ -4771,14 +6413,10 @@ snapshots: call-bind: 1.0.5 has-tostringtag: 1.0.0 - is-set@2.0.2: {} - is-shared-array-buffer@1.0.2: dependencies: call-bind: 1.0.5 - is-stream@3.0.0: {} - is-string@1.0.7: dependencies: has-tostringtag: 1.0.0 @@ -4795,17 +6433,10 @@ snapshots: dependencies: which-typed-array: 1.1.13 - is-weakmap@2.0.1: {} - is-weakref@1.0.2: dependencies: call-bind: 1.0.5 - is-weakset@2.0.2: - dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - is-windows@1.0.2: {} isarray@2.0.5: {} @@ -4818,6 +6449,43 @@ snapshots: optionalDependencies: '@pkgjs/parseargs': 0.11.0 + jest-diff@29.7.0: + dependencies: + chalk: 4.1.2 + diff-sequences: 29.6.3 + jest-get-type: 29.6.3 + pretty-format: 29.7.0 + + jest-get-type@29.6.3: {} + + jest-matcher-utils@29.7.0: + dependencies: + chalk: 4.1.2 + jest-diff: 29.7.0 + jest-get-type: 29.6.3 + pretty-format: 29.7.0 + + jest-message-util@29.7.0: + dependencies: + '@babel/code-frame': 7.23.5 + '@jest/types': 29.6.3 + '@types/stack-utils': 2.0.3 + chalk: 4.1.2 + graceful-fs: 4.2.11 + micromatch: 4.0.5 + pretty-format: 29.7.0 + slash: 3.0.0 + stack-utils: 2.0.6 + + jest-util@29.7.0: + dependencies: + '@jest/types': 29.6.3 + '@types/node': 20.14.14 + chalk: 4.1.2 + ci-info: 3.9.0 + graceful-fs: 4.2.11 + picomatch: 2.3.1 + jiti@1.21.0: {} js-tokens@4.0.0: {} @@ -4831,34 +6499,40 @@ snapshots: dependencies: argparse: 2.0.1 - jsdom@23.0.1: + jsdoc-type-pratt-parser@4.0.0: {} + + jsdom@24.1.1: dependencies: - cssstyle: 3.0.0 + cssstyle: 4.0.1 data-urls: 5.0.0 decimal.js: 10.4.3 form-data: 4.0.0 html-encoding-sniffer: 4.0.0 - http-proxy-agent: 7.0.0 - https-proxy-agent: 7.0.2 + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.5 is-potential-custom-element-name: 1.0.1 - nwsapi: 2.2.7 + nwsapi: 2.2.12 parse5: 7.1.2 - rrweb-cssom: 0.6.0 + rrweb-cssom: 0.7.1 saxes: 6.0.0 symbol-tree: 3.2.4 - tough-cookie: 4.1.3 + tough-cookie: 4.1.4 w3c-xmlserializer: 5.0.0 webidl-conversions: 7.0.0 whatwg-encoding: 3.1.1 whatwg-mimetype: 4.0.0 whatwg-url: 14.0.0 - ws: 8.16.0 + ws: 8.18.0 xml-name-validator: 5.0.0 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate + jsesc@0.5.0: {} + + jsesc@3.0.2: {} + json-buffer@3.0.1: {} json-parse-even-better-errors@2.3.1: {} @@ -4867,6 +6541,13 @@ snapshots: json-stable-stringify-without-jsonify@1.0.1: {} + jsonc-eslint-parser@2.4.0: + dependencies: + acorn: 8.12.1 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + semver: 7.6.3 + jsonc-parser@3.2.0: {} jsonfile@4.0.0: @@ -4881,7 +6562,7 @@ snapshots: kleur@4.1.5: {} - known-css-properties@0.29.0: {} + known-css-properties@0.34.0: {} levn@0.4.1: dependencies: @@ -4922,13 +6603,15 @@ snapshots: lodash.startcase@4.4.0: {} - loupe@2.3.7: + lodash@4.17.21: {} + + loupe@3.1.1: dependencies: get-func-name: 2.0.2 lower-case@2.0.2: dependencies: - tslib: 2.6.2 + tslib: 2.6.3 lru-cache@10.1.0: {} @@ -4943,19 +6626,33 @@ snapshots: lz-string@1.5.0: {} - magic-string@0.30.5: + magic-string@0.25.9: dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 + sourcemap-codec: 1.4.8 - make-dir@3.1.0: + magic-string@0.30.11: dependencies: - semver: 6.3.1 + '@jridgewell/sourcemap-codec': 1.5.0 + + magic-string@0.30.12: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 map-obj@1.0.1: {} map-obj@4.3.0: {} - mdn-data@2.0.30: {} + mdast-util-from-markdown@0.8.5: + dependencies: + '@types/mdast': 3.0.15 + mdast-util-to-string: 2.0.0 + micromark: 2.11.4 + parse-entities: 2.0.0 + unist-util-stringify-position: 2.0.3 + transitivePeerDependencies: + - supports-color + + mdast-util-to-string@2.0.0: {} meow@6.1.1: dependencies: @@ -4971,10 +6668,15 @@ snapshots: type-fest: 0.13.1 yargs-parser: 18.1.3 - merge-stream@2.0.0: {} - merge2@1.4.1: {} + micromark@2.11.4: + dependencies: + debug: 4.3.6 + parse-entities: 2.0.0 + transitivePeerDependencies: + - supports-color + micromatch@4.0.5: dependencies: braces: 3.0.2 @@ -4986,10 +6688,33 @@ snapshots: dependencies: mime-db: 1.52.0 - mimic-fn@4.0.0: {} + mime@3.0.0: {} min-indent@1.0.1: {} + miniflare@3.20240725.0: + dependencies: + '@cspotcode/source-map-support': 0.8.1 + acorn: 8.12.1 + acorn-walk: 8.3.1 + capnp-ts: 0.7.0 + exit-hook: 2.2.1 + glob-to-regexp: 0.4.1 + stoppable: 1.1.0 + undici: 5.28.4 + workerd: 1.20240725.0 + ws: 8.18.0 + youch: 3.3.3 + zod: 3.23.8 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + minimatch@10.0.1: + dependencies: + brace-expansion: 2.0.1 + minimatch@3.1.2: dependencies: brace-expansion: 1.1.11 @@ -5002,39 +6727,24 @@ snapshots: dependencies: brace-expansion: 2.0.1 + minimatch@9.0.5: + dependencies: + brace-expansion: 2.0.1 + minimist-options@4.1.0: dependencies: arrify: 1.0.1 is-plain-obj: 1.1.0 kind-of: 6.0.3 - minimist@1.2.8: {} - - minipass@3.3.6: - dependencies: - yallist: 4.0.0 - - minipass@5.0.0: {} - minipass@7.0.4: {} - minizlib@2.1.2: - dependencies: - minipass: 3.3.6 - yallist: 4.0.0 - mixme@0.5.10: {} - mkdirp@0.5.6: - dependencies: - minimist: 1.2.8 - - mkdirp@1.0.4: {} - mlly@1.4.2: dependencies: - acorn: 8.11.3 - pathe: 1.1.1 + acorn: 8.12.1 + pathe: 1.1.2 pkg-types: 1.0.3 ufo: 1.3.2 @@ -5044,6 +6754,10 @@ snapshots: ms@2.1.2: {} + ms@2.1.3: {} + + mustache@4.2.0: {} + mz@2.7.0: dependencies: any-promise: 1.3.0 @@ -5052,26 +6766,24 @@ snapshots: nanoid@3.3.7: {} - nanoid@5.0.5: {} + natural-compare-lite@1.4.0: {} natural-compare@1.4.0: {} no-case@3.0.4: dependencies: lower-case: 2.0.2 - tslib: 2.6.2 + tslib: 2.6.3 + + node-fetch-native@1.6.4: {} node-fetch@2.7.0: dependencies: whatwg-url: 5.0.0 - node-gyp-build@4.7.1: {} + node-forge@1.3.1: {} - node-releases@2.0.14: {} - - nopt@5.0.0: - dependencies: - abbrev: 1.1.1 + node-releases@2.0.18: {} normalize-package-data@2.5.0: dependencies: @@ -5097,18 +6809,11 @@ snapshots: npm-bundled: 2.0.1 npm-normalize-package-bin: 2.0.0 - npm-run-path@5.2.0: + nth-check@2.1.1: dependencies: - path-key: 4.0.0 + boolbase: 1.0.0 - npmlog@5.0.1: - dependencies: - are-we-there-yet: 2.0.0 - console-control-strings: 1.1.0 - gauge: 3.0.2 - set-blocking: 2.0.0 - - nwsapi@2.2.7: {} + nwsapi@2.2.12: {} object-assign@4.1.1: {} @@ -5116,11 +6821,6 @@ snapshots: object-inspect@1.13.1: {} - object-is@1.1.5: - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - object-keys@1.1.1: {} object.assign@4.1.5: @@ -5134,10 +6834,6 @@ snapshots: dependencies: wrappy: 1.0.2 - onetime@6.0.0: - dependencies: - mimic-fn: 4.0.0 - optionator@0.9.3: dependencies: '@aashutoshrathi/word-wrap': 1.2.6 @@ -5163,10 +6859,6 @@ snapshots: dependencies: yocto-queue: 0.1.0 - p-limit@5.0.0: - dependencies: - yocto-queue: 1.0.0 - p-locate@4.1.0: dependencies: p-limit: 2.3.0 @@ -5183,6 +6875,22 @@ snapshots: dependencies: callsites: 3.1.0 + parse-entities@2.0.0: + dependencies: + character-entities: 1.2.4 + character-entities-legacy: 1.1.4 + character-reference-invalid: 1.1.4 + is-alphanumerical: 1.0.4 + is-decimal: 1.0.4 + is-hexadecimal: 1.0.4 + + parse-gitignore@2.0.0: {} + + parse-imports@2.1.1: + dependencies: + es-module-lexer: 1.5.4 + slashes: 3.0.12 + parse-json@5.2.0: dependencies: '@babel/code-frame': 7.23.5 @@ -5197,16 +6905,12 @@ snapshots: pascal-case@3.1.2: dependencies: no-case: 3.0.4 - tslib: 2.6.2 + tslib: 2.6.3 path-exists@4.0.0: {} - path-is-absolute@1.0.1: {} - path-key@3.1.1: {} - path-key@4.0.0: {} - path-parse@1.0.7: {} path-scurry@1.10.1: @@ -5214,22 +6918,22 @@ snapshots: lru-cache: 10.1.0 minipass: 7.0.4 + path-to-regexp@6.2.2: {} + path-type@4.0.0: {} - pathe@1.1.1: {} + pathe@1.1.2: {} - pathval@1.1.1: {} + pathval@2.0.0: {} - periscopic@3.1.0: - dependencies: - '@types/estree': 1.0.5 - estree-walker: 3.0.3 - is-reference: 3.0.2 + picocolors@1.0.1: {} - picocolors@1.0.0: {} + picocolors@1.1.0: {} picomatch@2.3.1: {} + picomatch@4.0.2: {} + pify@2.3.0: {} pify@4.0.1: {} @@ -5244,71 +6948,75 @@ snapshots: dependencies: jsonc-parser: 3.2.0 mlly: 1.4.2 - pathe: 1.1.1 + pathe: 1.1.2 - playwright-core@1.40.1: {} + pluralize@8.0.0: {} - playwright@1.40.1: + postcss-import@15.1.0(postcss@8.4.47): dependencies: - playwright-core: 1.40.1 - optionalDependencies: - fsevents: 2.3.2 - - postcss-import@15.1.0(postcss@8.4.32): - dependencies: - postcss: 8.4.32 + postcss: 8.4.47 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.8 - postcss-js@4.0.1(postcss@8.4.32): + postcss-js@4.0.1(postcss@8.4.47): dependencies: camelcase-css: 2.0.1 - postcss: 8.4.32 + postcss: 8.4.47 - postcss-load-config@3.1.4(postcss@8.4.32): + postcss-load-config@3.1.4(postcss@8.4.40): dependencies: lilconfig: 2.1.0 - postcss: 8.4.32 yaml: 1.10.2 + optionalDependencies: + postcss: 8.4.40 - postcss-load-config@4.0.2(postcss@8.4.32): + postcss-load-config@4.0.2(postcss@8.4.47): dependencies: lilconfig: 3.0.0 - postcss: 8.4.32 yaml: 2.3.4 + optionalDependencies: + postcss: 8.4.47 - postcss-load-config@5.0.2(postcss@8.4.32): + postcss-load-config@5.0.2(jiti@1.21.0)(postcss@8.4.40): dependencies: lilconfig: 3.0.0 - postcss: 8.4.32 yaml: 2.3.4 + optionalDependencies: + jiti: 1.21.0 + postcss: 8.4.40 - postcss-nested@6.0.1(postcss@8.4.32): + postcss-nested@6.0.1(postcss@8.4.47): dependencies: - postcss: 8.4.32 - postcss-selector-parser: 6.0.15 + postcss: 8.4.47 + postcss-selector-parser: 6.1.1 - postcss-safe-parser@6.0.0(postcss@8.4.32): + postcss-safe-parser@6.0.0(postcss@8.4.40): dependencies: - postcss: 8.4.32 + postcss: 8.4.40 - postcss-scss@4.0.9(postcss@8.4.32): + postcss-scss@4.0.9(postcss@8.4.40): dependencies: - postcss: 8.4.32 + postcss: 8.4.40 - postcss-selector-parser@6.0.15: + postcss-selector-parser@6.1.1: dependencies: cssesc: 3.0.0 util-deprecate: 1.0.2 postcss-value-parser@4.2.0: {} - postcss@8.4.32: + postcss@8.4.40: + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.1 + source-map-js: 1.2.0 + + postcss@8.4.47: dependencies: nanoid: 3.3.7 - picocolors: 1.0.0 - source-map-js: 1.0.2 + picocolors: 1.1.0 + source-map-js: 1.2.1 preferred-pm@3.1.2: dependencies: @@ -5319,19 +7027,20 @@ snapshots: prelude-ls@1.2.1: {} - prettier-plugin-svelte@3.1.2(prettier@3.1.1)(svelte@4.2.8): + prettier-plugin-svelte@3.2.7(prettier@3.3.3)(svelte@5.1.3): dependencies: - prettier: 3.1.1 - svelte: 4.2.8 + prettier: 3.3.3 + svelte: 5.1.3 - prettier-plugin-tailwindcss@0.5.10(prettier-plugin-svelte@3.1.2)(prettier@3.1.1): + prettier-plugin-tailwindcss@0.6.8(prettier-plugin-svelte@3.2.7(prettier@3.3.3)(svelte@5.1.3))(prettier@3.3.3): dependencies: - prettier: 3.1.1 - prettier-plugin-svelte: 3.1.2(prettier@3.1.1)(svelte@4.2.8) + prettier: 3.3.3 + optionalDependencies: + prettier-plugin-svelte: 3.2.7(prettier@3.3.3)(svelte@5.1.3) prettier@2.8.8: {} - prettier@3.1.1: {} + prettier@3.3.3: {} pretty-format@27.5.1: dependencies: @@ -5345,14 +7054,16 @@ snapshots: ansi-styles: 5.2.0 react-is: 18.2.0 + printable-characters@1.0.42: {} + pseudomap@1.0.2: {} psl@1.9.0: {} - publint@0.1.16: + publint@0.2.9: dependencies: npm-packlist: 5.1.3 - picocolors: 1.0.0 + picocolors: 1.0.1 sade: 1.8.1 punycode@2.3.1: {} @@ -5391,16 +7102,12 @@ snapshots: pify: 4.0.1 strip-bom: 3.0.0 - readable-stream@3.6.2: - dependencies: - inherits: 2.0.4 - string_decoder: 1.3.0 - util-deprecate: 1.0.2 - readdirp@3.6.0: dependencies: picomatch: 2.3.1 + readdirp@4.0.1: {} + redent@3.0.0: dependencies: indent-string: 4.0.0 @@ -5411,14 +7118,31 @@ snapshots: indent-string: 5.0.0 strip-indent: 4.0.0 + refa@0.12.1: + dependencies: + '@eslint-community/regexpp': 4.10.0 + regenerator-runtime@0.14.1: {} + regexp-ast-analysis@0.7.1: + dependencies: + '@eslint-community/regexpp': 4.10.0 + refa: 0.12.1 + + regexp-tree@0.1.27: {} + regexp.prototype.flags@1.5.1: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 set-function-name: 2.0.1 + regexparam@3.0.0: {} + + regjsparser@0.10.0: + dependencies: + jsesc: 0.5.0 + require-directory@2.1.1: {} require-main-filename@2.0.0: {} @@ -5429,6 +7153,10 @@ snapshots: resolve-from@5.0.0: {} + resolve-pkg-maps@1.0.0: {} + + resolve.exports@2.0.2: {} + resolve@1.22.8: dependencies: is-core-module: 2.13.1 @@ -5437,37 +7165,55 @@ snapshots: reusify@1.0.4: {} - rimraf@2.7.1: + rollup-plugin-inject@3.0.2: + dependencies: + estree-walker: 0.6.1 + magic-string: 0.25.9 + rollup-pluginutils: 2.8.2 + + rollup-plugin-node-polyfills@0.2.1: dependencies: - glob: 7.2.3 + rollup-plugin-inject: 3.0.2 - rimraf@3.0.2: + rollup-pluginutils@2.8.2: dependencies: - glob: 7.2.3 + estree-walker: 0.6.1 - rollup@4.9.1: + rollup@4.20.0: + dependencies: + '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.9.1 - '@rollup/rollup-android-arm64': 4.9.1 - '@rollup/rollup-darwin-arm64': 4.9.1 - '@rollup/rollup-darwin-x64': 4.9.1 - '@rollup/rollup-linux-arm-gnueabihf': 4.9.1 - '@rollup/rollup-linux-arm64-gnu': 4.9.1 - '@rollup/rollup-linux-arm64-musl': 4.9.1 - '@rollup/rollup-linux-riscv64-gnu': 4.9.1 - '@rollup/rollup-linux-x64-gnu': 4.9.1 - '@rollup/rollup-linux-x64-musl': 4.9.1 - '@rollup/rollup-win32-arm64-msvc': 4.9.1 - '@rollup/rollup-win32-ia32-msvc': 4.9.1 - '@rollup/rollup-win32-x64-msvc': 4.9.1 + '@rollup/rollup-android-arm-eabi': 4.20.0 + '@rollup/rollup-android-arm64': 4.20.0 + '@rollup/rollup-darwin-arm64': 4.20.0 + '@rollup/rollup-darwin-x64': 4.20.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.20.0 + '@rollup/rollup-linux-arm-musleabihf': 4.20.0 + '@rollup/rollup-linux-arm64-gnu': 4.20.0 + '@rollup/rollup-linux-arm64-musl': 4.20.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.20.0 + '@rollup/rollup-linux-riscv64-gnu': 4.20.0 + '@rollup/rollup-linux-s390x-gnu': 4.20.0 + '@rollup/rollup-linux-x64-gnu': 4.20.0 + '@rollup/rollup-linux-x64-musl': 4.20.0 + '@rollup/rollup-win32-arm64-msvc': 4.20.0 + '@rollup/rollup-win32-ia32-msvc': 4.20.0 + '@rollup/rollup-win32-x64-msvc': 4.20.0 fsevents: 2.3.3 rrweb-cssom@0.6.0: {} + rrweb-cssom@0.7.1: {} + run-parallel@1.2.0: dependencies: queue-microtask: 1.2.3 + runed@0.15.2(svelte@5.1.3): + dependencies: + esm-env: 1.0.0 + svelte: 5.1.3 + sade@1.8.1: dependencies: mri: 1.2.0 @@ -5479,8 +7225,6 @@ snapshots: has-symbols: 1.0.3 isarray: 2.0.5 - safe-buffer@5.2.1: {} - safe-regex-test@1.0.0: dependencies: call-bind: 1.0.5 @@ -5489,25 +7233,29 @@ snapshots: safer-buffer@2.1.2: {} - sander@0.5.1: - dependencies: - es6-promise: 3.3.1 - graceful-fs: 4.2.11 - mkdirp: 0.5.6 - rimraf: 2.7.1 - saxes@6.0.0: dependencies: xmlchars: 2.2.0 - semver@5.7.2: {} + scslre@0.3.0: + dependencies: + '@eslint-community/regexpp': 4.10.0 + refa: 0.12.1 + regexp-ast-analysis: 0.7.1 - semver@6.3.1: {} + selfsigned@2.4.1: + dependencies: + '@types/node-forge': 1.3.11 + node-forge: 1.3.1 + + semver@5.7.2: {} semver@7.5.4: dependencies: lru-cache: 6.0.0 + semver@7.6.3: {} + set-blocking@2.0.0: {} set-cookie-parser@2.6.0: {} @@ -5555,8 +7303,12 @@ snapshots: mrmime: 2.0.0 totalist: 3.0.1 + sisteransi@1.0.5: {} + slash@3.0.0: {} + slashes@3.0.12: {} + smartwrap@2.0.2: dependencies: array.prototype.flat: 1.3.2 @@ -5566,14 +7318,13 @@ snapshots: wcwidth: 1.0.1 yargs: 15.4.1 - 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.0: {} + + source-map-js@1.2.1: {} - source-map-js@1.0.2: {} + source-map@0.6.1: {} + + sourcemap-codec@1.4.8: {} spawndamnit@2.0.0: dependencies: @@ -5592,22 +7343,38 @@ snapshots: spdx-exceptions: 2.3.0 spdx-license-ids: 3.0.16 + spdx-expression-parse@4.0.0: + dependencies: + spdx-exceptions: 2.3.0 + spdx-license-ids: 3.0.16 + spdx-license-ids@3.0.16: {} sprintf-js@1.0.3: {} + stable-hash@0.0.4: {} + + stack-utils@2.0.6: + dependencies: + escape-string-regexp: 2.0.0 + stackback@0.0.2: {} + stacktracey@2.1.8: + dependencies: + as-table: 1.0.55 + get-source: 2.0.12 + std-env@3.7.0: {} - stop-iteration-iterator@1.0.0: - dependencies: - internal-slot: 1.0.6 + stoppable@1.1.0: {} stream-transform@2.1.3: dependencies: mixme: 0.5.10 + string-argv@0.3.2: {} + string-width@4.2.3: dependencies: emoji-regex: 8.0.0 @@ -5638,10 +7405,6 @@ snapshots: define-properties: 1.2.1 es-abstract: 1.22.3 - string_decoder@1.3.0: - dependencies: - safe-buffer: 5.2.1 - strip-ansi@6.0.1: dependencies: ansi-regex: 5.0.1 @@ -5652,8 +7415,6 @@ snapshots: strip-bom@3.0.0: {} - strip-final-newline@3.0.0: {} - strip-indent@3.0.0: dependencies: min-indent: 1.0.1 @@ -5664,13 +7425,13 @@ snapshots: strip-json-comments@3.1.1: {} - strip-literal@1.3.0: + style-to-object@1.0.8: dependencies: - acorn: 8.11.3 + inline-style-parser: 0.2.4 sucrase@3.35.0: dependencies: - '@jridgewell/gen-mapping': 0.3.3 + '@jridgewell/gen-mapping': 0.3.5 commander: 4.1.1 glob: 10.3.10 lines-and-columns: 1.2.4 @@ -5688,85 +7449,73 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - svelte-check@3.6.2(postcss-load-config@5.0.2)(postcss@8.4.32)(svelte@4.2.8): + svelte-check@4.0.4(picomatch@4.0.2)(svelte@5.1.3)(typescript@5.5.4): dependencies: - '@jridgewell/trace-mapping': 0.3.20 - chokidar: 3.5.3 - fast-glob: 3.3.2 - import-fresh: 3.3.0 - picocolors: 1.0.0 + '@jridgewell/trace-mapping': 0.3.25 + chokidar: 4.0.1 + fdir: 6.4.0(picomatch@4.0.2) + picocolors: 1.0.1 sade: 1.8.1 - svelte: 4.2.8 - svelte-preprocess: 5.1.3(postcss-load-config@5.0.2)(postcss@8.4.32)(svelte@4.2.8)(typescript@5.3.3) - typescript: 5.3.3 + svelte: 5.1.3 + typescript: 5.5.4 transitivePeerDependencies: - - '@babel/core' - - coffeescript - - less - - postcss - - postcss-load-config - - pug - - sass - - stylus - - sugarss + - picomatch - svelte-eslint-parser@0.33.1(svelte@4.2.8): + svelte-eslint-parser@0.41.1(svelte@5.1.3): dependencies: eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 espree: 9.6.1 - postcss: 8.4.32 - postcss-scss: 4.0.9(postcss@8.4.32) - svelte: 4.2.8 - - svelte-hmr@0.15.3(svelte@4.2.8): - dependencies: - svelte: 4.2.8 + postcss: 8.4.40 + postcss-scss: 4.0.9(postcss@8.4.40) + optionalDependencies: + svelte: 5.1.3 - svelte-preprocess@5.1.3(postcss-load-config@5.0.2)(postcss@8.4.32)(svelte@4.2.8)(typescript@5.3.3): + svelte-toolbelt@0.4.4(svelte@5.1.3): dependencies: - '@types/pug': 2.0.10 - detect-indent: 6.1.0 - magic-string: 0.30.5 - postcss: 8.4.32 - postcss-load-config: 5.0.2(postcss@8.4.32) - sorcery: 0.11.0 - strip-indent: 3.0.0 - svelte: 4.2.8 - typescript: 5.3.3 + clsx: 2.1.1 + style-to-object: 1.0.8 + svelte: 5.1.3 - svelte2tsx@0.6.27(svelte@4.2.8)(typescript@5.3.3): + svelte2tsx@0.7.21(svelte@5.1.3)(typescript@5.5.4): dependencies: dedent-js: 1.0.1 pascal-case: 3.1.2 - svelte: 4.2.8 - typescript: 5.3.3 + svelte: 5.1.3 + typescript: 5.5.4 - svelte@4.2.8: + svelte@5.1.3: dependencies: - '@ampproject/remapping': 2.2.1 - '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.20 - acorn: 8.11.3 - aria-query: 5.3.0 - axobject-query: 3.2.1 - code-red: 1.0.4 - css-tree: 2.3.1 - estree-walker: 3.0.3 + '@ampproject/remapping': 2.3.0 + '@jridgewell/sourcemap-codec': 1.5.0 + '@types/estree': 1.0.5 + acorn: 8.12.1 + acorn-typescript: 1.4.13(acorn@8.12.1) + 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.5 - periscopic: 3.1.0 + magic-string: 0.30.11 + zimmerframe: 1.1.2 symbol-tree@3.2.4: {} - tabbable@6.2.0: {} + synckit@0.6.2: + dependencies: + tslib: 2.6.3 + + synckit@0.9.1: + dependencies: + '@pkgr/core': 0.1.1 + tslib: 2.6.3 - tailwindcss@3.4.0: + tailwindcss@3.4.13: dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 - chokidar: 3.5.3 + chokidar: 3.6.0 didyoumean: 1.2.2 dlv: 1.1.3 fast-glob: 3.3.2 @@ -5777,26 +7526,19 @@ snapshots: micromatch: 4.0.5 normalize-path: 3.0.0 object-hash: 3.0.0 - picocolors: 1.0.0 - postcss: 8.4.32 - postcss-import: 15.1.0(postcss@8.4.32) - postcss-js: 4.0.1(postcss@8.4.32) - postcss-load-config: 4.0.2(postcss@8.4.32) - postcss-nested: 6.0.1(postcss@8.4.32) - postcss-selector-parser: 6.0.15 + picocolors: 1.1.0 + postcss: 8.4.47 + postcss-import: 15.1.0(postcss@8.4.47) + postcss-js: 4.0.1(postcss@8.4.47) + postcss-load-config: 4.0.2(postcss@8.4.47) + postcss-nested: 6.0.1(postcss@8.4.47) + postcss-selector-parser: 6.1.1 resolve: 1.22.8 sucrase: 3.35.0 transitivePeerDependencies: - ts-node - tar@6.2.0: - dependencies: - chownr: 2.0.0 - fs-minipass: 2.1.0 - minipass: 5.0.0 - minizlib: 2.1.2 - mkdirp: 1.0.4 - yallist: 4.0.0 + tapable@2.2.1: {} term-size@2.2.1: {} @@ -5815,23 +7557,33 @@ snapshots: globalyzer: 0.1.0 globrex: 0.1.2 - tinybench@2.5.1: {} + tinybench@2.9.0: {} + + tinyexec@0.3.0: {} + + tinypool@1.0.0: {} - tinypool@0.8.1: {} + tinyrainbow@1.2.0: {} - tinyspy@2.2.0: {} + tinyspy@3.0.0: {} tmp@0.0.33: dependencies: os-tmpdir: 1.0.2 + to-fast-properties@2.0.0: {} + to-regex-range@5.0.1: dependencies: is-number: 7.0.0 + toml-eslint-parser@0.10.0: + dependencies: + eslint-visitor-keys: 3.4.3 + totalist@3.0.1: {} - tough-cookie@4.1.3: + tough-cookie@4.1.4: dependencies: psl: 1.9.0 punycode: 2.3.1 @@ -5846,13 +7598,13 @@ snapshots: trim-newlines@3.0.1: {} - ts-api-utils@1.0.3(typescript@5.3.3): + ts-api-utils@1.3.0(typescript@5.5.4): dependencies: - typescript: 5.3.3 + typescript: 5.5.4 ts-interface-checker@0.1.13: {} - tslib@2.6.2: {} + tslib@2.6.3: {} tty-table@4.2.3: dependencies: @@ -5905,10 +7657,12 @@ snapshots: for-each: 0.3.3 is-typed-array: 1.1.12 - typescript@5.3.3: {} + typescript@5.5.4: {} ufo@1.3.2: {} + ufo@1.5.4: {} + unbox-primitive@1.0.2: dependencies: call-bind: 1.0.5 @@ -5918,15 +7672,32 @@ snapshots: undici-types@5.26.5: {} + undici@5.28.4: + dependencies: + '@fastify/busboy': 2.1.1 + + unenv-nightly@1.10.0-1717606461.a117952: + dependencies: + consola: 3.2.3 + defu: 6.1.4 + mime: 3.0.0 + node-fetch-native: 1.6.4 + pathe: 1.1.2 + ufo: 1.5.4 + + unist-util-stringify-position@2.0.3: + dependencies: + '@types/unist': 2.0.10 + universalify@0.1.2: {} universalify@0.2.0: {} - update-browserslist-db@1.0.13(browserslist@4.22.2): + update-browserslist-db@1.1.0(browserslist@4.23.3): dependencies: - browserslist: 4.22.2 - escalade: 3.1.1 - picocolors: 1.0.0 + browserslist: 4.23.3 + escalade: 3.1.2 + picocolors: 1.1.0 uri-js@4.4.1: dependencies: @@ -5944,37 +7715,37 @@ snapshots: spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 - vite-node@1.1.0(@types/node@20.10.5): + vite-node@2.1.1(@types/node@20.14.14): dependencies: cac: 6.7.14 - debug: 4.3.4 - pathe: 1.1.1 - picocolors: 1.0.0 - vite: 5.0.10(@types/node@20.10.5) + debug: 4.3.6 + pathe: 1.1.2 + vite: 5.4.8(@types/node@20.14.14) transitivePeerDependencies: - '@types/node' - less - lightningcss - sass + - sass-embedded - stylus - sugarss - supports-color - terser - vite@5.0.10(@types/node@20.10.5): + vite@5.4.8(@types/node@20.14.14): dependencies: - '@types/node': 20.10.5 - esbuild: 0.19.11 - postcss: 8.4.32 - rollup: 4.9.1 + esbuild: 0.21.5 + postcss: 8.4.47 + rollup: 4.20.0 optionalDependencies: + '@types/node': 20.14.14 fsevents: 2.3.3 - vitefu@0.2.5(vite@5.0.10): - dependencies: - vite: 5.0.10(@types/node@20.10.5) + vitefu@1.0.3(vite@5.4.8(@types/node@20.14.14)): + optionalDependencies: + vite: 5.4.8(@types/node@20.14.14) - vitest-dom@0.1.1(vitest@1.1.0): + vitest-dom@0.1.1(vitest@2.1.1(@types/node@20.14.14)(jsdom@24.1.1)): dependencies: aria-query: 5.3.0 chalk: 5.3.0 @@ -5982,42 +7753,56 @@ snapshots: dom-accessibility-api: 0.6.3 lodash-es: 4.17.21 redent: 4.0.0 - vitest: 1.1.0(@types/node@20.10.5)(jsdom@23.0.1) - - vitest@1.1.0(@types/node@20.10.5)(jsdom@23.0.1): - dependencies: - '@types/node': 20.10.5 - '@vitest/expect': 1.1.0 - '@vitest/runner': 1.1.0 - '@vitest/snapshot': 1.1.0 - '@vitest/spy': 1.1.0 - '@vitest/utils': 1.1.0 - acorn-walk: 8.3.1 - cac: 6.7.14 - chai: 4.3.10 - debug: 4.3.4 - execa: 8.0.1 - jsdom: 23.0.1 - local-pkg: 0.5.0 - magic-string: 0.30.5 - pathe: 1.1.1 - picocolors: 1.0.0 + vitest: 2.1.1(@types/node@20.14.14)(jsdom@24.1.1) + + vitest@2.1.1(@types/node@20.14.14)(jsdom@24.1.1): + dependencies: + '@vitest/expect': 2.1.1 + '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.8(@types/node@20.14.14)) + '@vitest/pretty-format': 2.1.1 + '@vitest/runner': 2.1.1 + '@vitest/snapshot': 2.1.1 + '@vitest/spy': 2.1.1 + '@vitest/utils': 2.1.1 + chai: 5.1.1 + debug: 4.3.6 + magic-string: 0.30.11 + pathe: 1.1.2 std-env: 3.7.0 - strip-literal: 1.3.0 - tinybench: 2.5.1 - tinypool: 0.8.1 - vite: 5.0.10(@types/node@20.10.5) - vite-node: 1.1.0(@types/node@20.10.5) - why-is-node-running: 2.2.2 + tinybench: 2.9.0 + tinyexec: 0.3.0 + tinypool: 1.0.0 + tinyrainbow: 1.2.0 + vite: 5.4.8(@types/node@20.14.14) + vite-node: 2.1.1(@types/node@20.14.14) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 20.14.14 + jsdom: 24.1.1 transitivePeerDependencies: - less - lightningcss + - msw - sass + - sass-embedded - stylus - sugarss - supports-color - terser + vue-eslint-parser@9.4.3(eslint@9.8.0): + dependencies: + debug: 4.3.6 + eslint: 9.8.0 + eslint-scope: 7.2.2 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + esquery: 1.5.0 + lodash: 4.17.21 + semver: 7.6.3 + transitivePeerDependencies: + - supports-color + w3c-xmlserializer@5.0.0: dependencies: xml-name-validator: 5.0.0 @@ -6054,13 +7839,6 @@ snapshots: is-string: 1.0.7 is-symbol: 1.0.4 - which-collection@1.0.1: - dependencies: - is-map: 2.0.2 - is-set: 2.0.2 - is-weakmap: 2.0.1 - is-weakset: 2.0.2 - which-module@2.0.1: {} which-pm@2.0.0: @@ -6084,14 +7862,50 @@ snapshots: dependencies: isexe: 2.0.0 - why-is-node-running@2.2.2: + why-is-node-running@2.3.0: dependencies: siginfo: 2.0.0 stackback: 0.0.2 - wide-align@1.1.5: + workerd@1.20240725.0: + optionalDependencies: + '@cloudflare/workerd-darwin-64': 1.20240725.0 + '@cloudflare/workerd-darwin-arm64': 1.20240725.0 + '@cloudflare/workerd-linux-64': 1.20240725.0 + '@cloudflare/workerd-linux-arm64': 1.20240725.0 + '@cloudflare/workerd-windows-64': 1.20240725.0 + + worktop@0.8.0-next.18: dependencies: - string-width: 4.2.3 + mrmime: 2.0.0 + regexparam: 3.0.0 + + wrangler@3.68.0(@cloudflare/workers-types@4.20240729.0): + dependencies: + '@cloudflare/kv-asset-handler': 0.3.4 + '@esbuild-plugins/node-globals-polyfill': 0.2.3(esbuild@0.17.19) + '@esbuild-plugins/node-modules-polyfill': 0.2.2(esbuild@0.17.19) + blake3-wasm: 2.1.5 + chokidar: 3.5.3 + date-fns: 3.6.0 + esbuild: 0.17.19 + miniflare: 3.20240725.0 + nanoid: 3.3.7 + path-to-regexp: 6.2.2 + resolve: 1.22.8 + resolve.exports: 2.0.2 + selfsigned: 2.4.1 + source-map: 0.6.1 + unenv: unenv-nightly@1.10.0-1717606461.a117952 + workerd: 1.20240725.0 + xxhash-wasm: 1.0.2 + optionalDependencies: + '@cloudflare/workers-types': 4.20240729.0 + fsevents: 2.3.3 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate wrap-ansi@6.2.0: dependencies: @@ -6113,12 +7927,16 @@ snapshots: wrappy@1.0.2: {} - ws@8.16.0: {} + ws@8.18.0: {} + + xml-name-validator@4.0.0: {} xml-name-validator@5.0.0: {} xmlchars@2.2.0: {} + xxhash-wasm@1.0.2: {} + y18n@4.0.3: {} y18n@5.0.8: {} @@ -6127,6 +7945,12 @@ snapshots: yallist@4.0.0: {} + yaml-eslint-parser@1.2.3: + dependencies: + eslint-visitor-keys: 3.4.3 + lodash: 4.17.21 + yaml: 2.3.4 + yaml@1.10.2: {} yaml@2.3.4: {} @@ -6164,4 +7988,12 @@ snapshots: yocto-queue@0.1.0: {} - yocto-queue@1.0.0: {} + youch@3.3.3: + dependencies: + cookie: 0.5.0 + mustache: 4.2.0 + stacktracey: 2.1.8 + + zimmerframe@1.1.2: {} + + zod@3.23.8: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..51853af --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - "packages/*" + - "sites/*" diff --git a/sites/docs/.gitignore b/sites/docs/.gitignore new file mode 100644 index 0000000..79518f7 --- /dev/null +++ b/sites/docs/.gitignore @@ -0,0 +1,21 @@ +node_modules + +# Output +.output +.vercel +/.svelte-kit +/build + +# OS +.DS_Store +Thumbs.db + +# Env +.env +.env.* +!.env.example +!.env.test + +# Vite +vite.config.js.timestamp-* +vite.config.ts.timestamp-* diff --git a/sites/docs/.npmrc b/sites/docs/.npmrc new file mode 100644 index 0000000..b6f27f1 --- /dev/null +++ b/sites/docs/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/sites/docs/README.md b/sites/docs/README.md new file mode 100644 index 0000000..5ce6766 --- /dev/null +++ b/sites/docs/README.md @@ -0,0 +1,38 @@ +# create-svelte + +Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte). + +## Creating a project + +If you're seeing this, you've probably already done this step. Congrats! + +```bash +# create a new project in the current directory +npm create svelte@latest + +# create a new project in my-app +npm create svelte@latest my-app +``` + +## Developing + +Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: + +```bash +npm run dev + +# or start the server and open the app in a new browser tab +npm run dev -- --open +``` + +## Building + +To create a production version of your app: + +```bash +npm run build +``` + +You can preview the production build with `npm run preview`. + +> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. diff --git a/sites/docs/package.json b/sites/docs/package.json new file mode 100644 index 0000000..5888407 --- /dev/null +++ b/sites/docs/package.json @@ -0,0 +1,32 @@ +{ + "name": "docs", + "version": "0.0.0", + "description": "Documentation for vaul-svelte", + "private": true, + "scripts": { + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch" + }, + "devDependencies": { + "@sveltejs/adapter-cloudflare": "^4.7.2", + "@sveltejs/kit": "^2.6.1", + "@sveltejs/vite-plugin-svelte": "4.0.0", + "autoprefixer": "^10.4.17", + "postcss": "^8.4.33", + "postcss-load-config": "^5.0.2", + "svelte": "^5.0.0", + "svelte-check": "^4.0.4", + "tailwindcss": "^3.4.13", + "typescript": "^5.5.4", + "vite": "^5.4.8" + }, + "dependencies": { + "bits-ui": "1.0.0-next.28", + "clsx": "^2.1.1", + "vaul-svelte": "workspace:*" + }, + "type": "module" +} diff --git a/sites/docs/pnpm-lock.yaml b/sites/docs/pnpm-lock.yaml new file mode 100644 index 0000000..7aa02d0 --- /dev/null +++ b/sites/docs/pnpm-lock.yaml @@ -0,0 +1,1205 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + devDependencies: + '@sveltejs/adapter-auto': + specifier: ^3.0.0 + version: 3.2.2(@sveltejs/kit@2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5)) + '@sveltejs/kit': + specifier: ^2.0.0 + version: 2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5) + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.1.1(svelte@5.0.0-next.208)(vite@5.3.5) + svelte: + specifier: ^5.0.0-next.1 + version: 5.0.0-next.208 + svelte-check: + specifier: ^3.6.0 + version: 3.8.5(postcss@8.4.40)(svelte@5.0.0-next.208) + typescript: + specifier: ^5.0.0 + version: 5.5.4 + vite: + specifier: ^5.0.3 + version: 5.3.5 + +packages: + + '@ampproject/remapping@2.3.0': + resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} + engines: {node: '>=6.0.0'} + + '@esbuild/aix-ppc64@0.21.5': + resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.21.5': + resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.21.5': + resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.21.5': + resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.21.5': + resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.21.5': + resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.21.5': + resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.21.5': + resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.21.5': + resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.21.5': + resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.21.5': + resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.21.5': + resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.21.5': + resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.21.5': + resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.21.5': + resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.21.5': + resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.21.5': + resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-x64@0.21.5': + resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-x64@0.21.5': + resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/sunos-x64@0.21.5': + resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.21.5': + resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.21.5': + resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.21.5': + resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + + '@jridgewell/gen-mapping@0.3.5': + resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} + engines: {node: '>=6.0.0'} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + 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.5.0': + resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + + '@jridgewell/trace-mapping@0.3.25': + resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + + '@polka/url@1.0.0-next.25': + resolution: {integrity: sha512-j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==} + + '@rollup/rollup-android-arm-eabi@4.20.0': + resolution: {integrity: sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.20.0': + resolution: {integrity: sha512-u00Ro/nok7oGzVuh/FMYfNoGqxU5CPWz1mxV85S2w9LxHR8OoMQBuSk+3BKVIDYgkpeOET5yXkx90OYFc+ytpQ==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.20.0': + resolution: {integrity: sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.20.0': + resolution: {integrity: sha512-xbrMDdlev53vNXexEa6l0LffojxhqDTBeL+VUxuuIXys4x6xyvbKq5XqTXBCEUA8ty8iEJblHvFaWRJTk/icAQ==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-linux-arm-gnueabihf@4.20.0': + resolution: {integrity: sha512-jMYvxZwGmoHFBTbr12Xc6wOdc2xA5tF5F2q6t7Rcfab68TT0n+r7dgawD4qhPEvasDsVpQi+MgDzj2faOLsZjA==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm-musleabihf@4.20.0': + resolution: {integrity: sha512-1asSTl4HKuIHIB1GcdFHNNZhxAYEdqML/MW4QmPS4G0ivbEcBr1JKlFLKsIRqjSwOBkdItn3/ZDlyvZ/N6KPlw==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm64-gnu@4.20.0': + resolution: {integrity: sha512-COBb8Bkx56KldOYJfMf6wKeYJrtJ9vEgBRAOkfw6Ens0tnmzPqvlpjZiLgkhg6cA3DGzCmLmmd319pmHvKWWlQ==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-arm64-musl@4.20.0': + resolution: {integrity: sha512-+it+mBSyMslVQa8wSPvBx53fYuZK/oLTu5RJoXogjk6x7Q7sz1GNRsXWjn6SwyJm8E/oMjNVwPhmNdIjwP135Q==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': + resolution: {integrity: sha512-yAMvqhPfGKsAxHN8I4+jE0CpLWD8cv4z7CK7BMmhjDuz606Q2tFKkWRY8bHR9JQXYcoLfopo5TTqzxgPUjUMfw==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.20.0': + resolution: {integrity: sha512-qmuxFpfmi/2SUkAw95TtNq/w/I7Gpjurx609OOOV7U4vhvUhBcftcmXwl3rqAek+ADBwSjIC4IVNLiszoj3dPA==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-s390x-gnu@4.20.0': + resolution: {integrity: sha512-I0BtGXddHSHjV1mqTNkgUZLnS3WtsqebAXv11D5BZE/gfw5KoyXSAXVqyJximQXNvNzUo4GKlCK/dIwXlz+jlg==} + cpu: [s390x] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.20.0': + resolution: {integrity: sha512-y+eoL2I3iphUg9tN9GB6ku1FA8kOfmF4oUEWhztDJ4KXJy1agk/9+pejOuZkNFhRwHAOxMsBPLbXPd6mJiCwew==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-linux-x64-musl@4.20.0': + resolution: {integrity: sha512-hM3nhW40kBNYUkZb/r9k2FKK+/MnKglX7UYd4ZUy5DJs8/sMsIbqWK2piZtVGE3kcXVNj3B2IrUYROJMMCikNg==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-win32-arm64-msvc@4.20.0': + resolution: {integrity: sha512-psegMvP+Ik/Bg7QRJbv8w8PAytPA7Uo8fpFjXyCRHWm6Nt42L+JtoqH8eDQ5hRP7/XW2UiIriy1Z46jf0Oa1kA==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.20.0': + resolution: {integrity: sha512-GabekH3w4lgAJpVxkk7hUzUf2hICSQO0a/BLFA11/RMxQT92MabKAqyubzDZmMOC/hcJNlc+rrypzNzYl4Dx7A==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.20.0': + resolution: {integrity: sha512-aJ1EJSuTdGnM6qbVC4B5DSmozPTqIag9fSzXRNNo+humQLG89XpPgdt16Ia56ORD7s+H8Pmyx44uczDQ0yDzpg==} + cpu: [x64] + os: [win32] + + '@sveltejs/adapter-auto@3.2.2': + resolution: {integrity: sha512-Mso5xPCA8zgcKrv+QioVlqMZkyUQ5MjDJiEPuG/Z7cV/5tmwV7LmcVWk5tZ+H0NCOV1x12AsoSpt/CwFwuVXMA==} + peerDependencies: + '@sveltejs/kit': ^2.0.0 + + '@sveltejs/kit@2.5.20': + resolution: {integrity: sha512-47rJ5BoYwURE/Rp7FNMLp3NzdbWC9DQ/PmKd0mebxT2D/PrPxZxcLImcD3zsWdX2iS6oJk8ITJbO/N2lWnnUqA==} + engines: {node: '>=18.13'} + hasBin: true + peerDependencies: + '@sveltejs/vite-plugin-svelte': ^3.0.0 + 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} + peerDependencies: + '@sveltejs/vite-plugin-svelte': ^3.0.0 + svelte: ^4.0.0 || ^5.0.0-next.0 + vite: ^5.0.0 + + '@sveltejs/vite-plugin-svelte@3.1.1': + resolution: {integrity: sha512-rimpFEAboBBHIlzISibg94iP09k/KYdHgVhJlcsTfn7KMBhc70jFX/GRWkRdFCc2fdnk+4+Bdfej23cMDnJS6A==} + engines: {node: ^18.0.0 || >=20} + peerDependencies: + svelte: ^4.0.0 || ^5.0.0-next.0 + vite: ^5.0.0 + + '@types/cookie@0.6.0': + resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==} + + '@types/estree@1.0.5': + resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + + '@types/pug@2.0.10': + resolution: {integrity: sha512-Sk/uYFOBAB7mb74XcpizmH0KOR2Pv3D2Hmrh1Dmy5BmK3MpdSa5kqZcg6EKBdklU0bFXX9gCfzvpnyUehrPIuA==} + + acorn-typescript@1.4.13: + resolution: {integrity: sha512-xsc9Xv0xlVfwp2o7sQ+GCQ1PgbkdcpWdTzrwXxO3xDMTAywVS3oXVOcOHuRjAPkS4P9b+yc/qNF15460v+jp4Q==} + peerDependencies: + acorn: '>=8.9.0' + + acorn@8.12.1: + resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} + engines: {node: '>=0.4.0'} + hasBin: true + + anymatch@3.1.3: + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} + engines: {node: '>= 8'} + + aria-query@5.3.0: + resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} + + 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==} + + binary-extensions@2.3.0: + resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} + engines: {node: '>=8'} + + brace-expansion@1.1.11: + resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} + + braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} + engines: {node: '>=8'} + + buffer-crc32@1.0.0: + resolution: {integrity: sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==} + engines: {node: '>=8.0.0'} + + chokidar@3.6.0: + resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} + engines: {node: '>= 8.10.0'} + + concat-map@0.0.1: + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + + cookie@0.6.0: + resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} + engines: {node: '>= 0.6'} + + debug@4.3.6: + resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + deepmerge@4.3.1: + 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.0.0: + resolution: {integrity: sha512-gO+/OMXF7488D+u3ue+G7Y4AA3ZmUnB3eHJXmBTgNHvr4ZNzl36A0ZtG+XCRNYCkYx/bFmw4qtkoFLa+wSrwAA==} + + 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'} + hasBin: true + + esm-env@1.0.0: + resolution: {integrity: sha512-Cf6VksWPsTuW01vU9Mk/3vRue91Zevka5SjyNf3nEpokFRuqt/KjUQoGAwq9qMmhpLTHmXzSIrFRw8zxWzmFBA==} + + esrap@1.2.2: + resolution: {integrity: sha512-F2pSJklxx1BlQIQgooczXCPHmcWpn6EsP5oo73LQfonG9fIlIENQ8vMmfGXeojP9MrkzUNAfyU5vdFlR9shHAw==} + + fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} + engines: {node: '>=8'} + + fs.realpath@1.0.0: + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + glob-parent@5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + + glob@7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported + + globalyzer@0.1.0: + resolution: {integrity: sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==} + + 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==} + + import-meta-resolve@4.1.0: + resolution: {integrity: sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==} + + inflight@1.0.6: + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. + + inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + + is-binary-path@2.1.0: + resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} + engines: {node: '>=8'} + + is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + + is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + + is-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + + is-reference@3.0.2: + resolution: {integrity: sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==} + + kleur@4.1.5: + resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} + engines: {node: '>=6'} + + locate-character@3.0.0: + resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==} + + magic-string@0.30.11: + resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} + + 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==} + + 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'} + + mrmime@2.0.0: + resolution: {integrity: sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==} + engines: {node: '>=10'} + + ms@2.1.2: + resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + + nanoid@3.3.7: + resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + normalize-path@3.0.0: + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} + + once@1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + + path-is-absolute@1.0.1: + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} + + picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + + picomatch@2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + + postcss@8.4.40: + resolution: {integrity: sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==} + engines: {node: ^10 || ^12 || >=14} + + readdirp@3.6.0: + resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} + engines: {node: '>=8.10.0'} + + rimraf@2.7.1: + resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} + deprecated: Rimraf versions prior to v4 are no longer supported + hasBin: true + + rollup@4.20.0: + resolution: {integrity: sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + sade@1.8.1: + resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} + engines: {node: '>=6'} + + sander@0.5.1: + resolution: {integrity: sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA==} + + set-cookie-parser@2.7.0: + resolution: {integrity: sha512-lXLOiqpkUumhRdFF3k1osNXCy9akgx/dyPZ5p8qAg9seJzXr5ZrlqZuWIMuY6ejOsVLE6flJ5/h3lsn57fQ/PQ==} + + sirv@2.0.4: + resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} + engines: {node: '>= 10'} + + sorcery@0.11.1: + resolution: {integrity: sha512-o7npfeJE6wi6J9l0/5LKshFzZ2rMatRiCDwYeDQaOzqdzRJwALhX7mk/A/ecg6wjMu7wdZbmXfD2S/vpOg0bdQ==} + hasBin: true + + source-map-js@1.2.0: + resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} + engines: {node: '>=0.10.0'} + + strip-indent@3.0.0: + resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} + engines: {node: '>=8'} + + svelte-check@3.8.5: + resolution: {integrity: sha512-3OGGgr9+bJ/+1nbPgsvulkLC48xBsqsgtc8Wam281H4G9F5v3mYGa2bHRsPuwHC5brKl4AxJH95QF73kmfihGQ==} + hasBin: true + peerDependencies: + svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0 + + 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.4: + resolution: {integrity: sha512-IvnbQ6D6Ao3Gg6ftiM5tdbR6aAETwjhHV+UKGf5bHGYR69RQvF1ho0JKPcbUON4vy4R7zom13jPjgdOWCQ5hDA==} + engines: {node: '>= 16.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@5.0.0-next.208: + resolution: {integrity: sha512-gYABb68367fGnY/GIpb/j3DD5DUqhVWi6EodEBVpiRA9wLQTpY8QmuPg04xut/0EHqlFU3a40wbpjJKmpL3Y/g==} + engines: {node: '>=18'} + + tiny-glob@0.2.9: + resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==} + + to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + + totalist@3.0.1: + resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} + engines: {node: '>=6'} + + typescript@5.5.4: + resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} + engines: {node: '>=14.17'} + hasBin: true + + vite@5.3.5: + resolution: {integrity: sha512-MdjglKR6AQXQb9JGiS7Rc2wC6uMjcm7Go/NHNO63EwiJXfuk9PgqiP/n5IDJCziMkfw9n4Ubp7lttNwz+8ZVKA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + + vitefu@0.2.5: + resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} + peerDependencies: + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 + peerDependenciesMeta: + vite: + optional: true + + wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + + zimmerframe@1.1.2: + resolution: {integrity: sha512-rAbqEGa8ovJy4pyBxZM70hg4pE6gDgaQ0Sl9M3enG3I0d6H4XSAM3GeNGLKnsBpuijUow064sf7ww1nutC5/3w==} + +snapshots: + + '@ampproject/remapping@2.3.0': + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + + '@esbuild/aix-ppc64@0.21.5': + optional: true + + '@esbuild/android-arm64@0.21.5': + optional: true + + '@esbuild/android-arm@0.21.5': + optional: true + + '@esbuild/android-x64@0.21.5': + optional: true + + '@esbuild/darwin-arm64@0.21.5': + optional: true + + '@esbuild/darwin-x64@0.21.5': + optional: true + + '@esbuild/freebsd-arm64@0.21.5': + optional: true + + '@esbuild/freebsd-x64@0.21.5': + optional: true + + '@esbuild/linux-arm64@0.21.5': + optional: true + + '@esbuild/linux-arm@0.21.5': + optional: true + + '@esbuild/linux-ia32@0.21.5': + optional: true + + '@esbuild/linux-loong64@0.21.5': + optional: true + + '@esbuild/linux-mips64el@0.21.5': + optional: true + + '@esbuild/linux-ppc64@0.21.5': + optional: true + + '@esbuild/linux-riscv64@0.21.5': + optional: true + + '@esbuild/linux-s390x@0.21.5': + optional: true + + '@esbuild/linux-x64@0.21.5': + optional: true + + '@esbuild/netbsd-x64@0.21.5': + optional: true + + '@esbuild/openbsd-x64@0.21.5': + optional: true + + '@esbuild/sunos-x64@0.21.5': + optional: true + + '@esbuild/win32-arm64@0.21.5': + optional: true + + '@esbuild/win32-ia32@0.21.5': + optional: true + + '@esbuild/win32-x64@0.21.5': + optional: true + + '@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.2': {} + + '@jridgewell/set-array@1.2.1': {} + + '@jridgewell/sourcemap-codec@1.5.0': {} + + '@jridgewell/trace-mapping@0.3.25': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.0 + + '@polka/url@1.0.0-next.25': {} + + '@rollup/rollup-android-arm-eabi@4.20.0': + optional: true + + '@rollup/rollup-android-arm64@4.20.0': + optional: true + + '@rollup/rollup-darwin-arm64@4.20.0': + optional: true + + '@rollup/rollup-darwin-x64@4.20.0': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.20.0': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.20.0': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.20.0': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.20.0': + optional: true + + '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.20.0': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.20.0': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.20.0': + optional: true + + '@rollup/rollup-linux-x64-musl@4.20.0': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.20.0': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.20.0': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.20.0': + optional: true + + '@sveltejs/adapter-auto@3.2.2(@sveltejs/kit@2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5))': + dependencies: + '@sveltejs/kit': 2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5) + import-meta-resolve: 4.1.0 + + '@sveltejs/kit@2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5)': + dependencies: + '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@5.0.0-next.208)(vite@5.3.5) + '@types/cookie': 0.6.0 + cookie: 0.6.0 + devalue: 5.0.0 + esm-env: 1.0.0 + import-meta-resolve: 4.1.0 + kleur: 4.1.5 + magic-string: 0.30.11 + mrmime: 2.0.0 + sade: 1.8.1 + set-cookie-parser: 2.7.0 + sirv: 2.0.4 + svelte: 5.0.0-next.208 + tiny-glob: 0.2.9 + vite: 5.3.5 + + '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5)': + dependencies: + '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@5.0.0-next.208)(vite@5.3.5) + debug: 4.3.6 + svelte: 5.0.0-next.208 + vite: 5.3.5 + transitivePeerDependencies: + - supports-color + + '@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5)': + dependencies: + '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5) + debug: 4.3.6 + deepmerge: 4.3.1 + kleur: 4.1.5 + magic-string: 0.30.11 + svelte: 5.0.0-next.208 + svelte-hmr: 0.16.0(svelte@5.0.0-next.208) + vite: 5.3.5 + vitefu: 0.2.5(vite@5.3.5) + transitivePeerDependencies: + - supports-color + + '@types/cookie@0.6.0': {} + + '@types/estree@1.0.5': {} + + '@types/pug@2.0.10': {} + + acorn-typescript@1.4.13(acorn@8.12.1): + dependencies: + acorn: 8.12.1 + + acorn@8.12.1: {} + + anymatch@3.1.3: + dependencies: + normalize-path: 3.0.0 + picomatch: 2.3.1 + + aria-query@5.3.0: + dependencies: + dequal: 2.0.3 + + axobject-query@4.1.0: {} + + balanced-match@1.0.2: {} + + binary-extensions@2.3.0: {} + + brace-expansion@1.1.11: + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + + braces@3.0.3: + dependencies: + fill-range: 7.1.1 + + buffer-crc32@1.0.0: {} + + chokidar@3.6.0: + dependencies: + anymatch: 3.1.3 + braces: 3.0.3 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.3 + + concat-map@0.0.1: {} + + cookie@0.6.0: {} + + debug@4.3.6: + dependencies: + ms: 2.1.2 + + deepmerge@4.3.1: {} + + dequal@2.0.3: {} + + detect-indent@6.1.0: {} + + devalue@5.0.0: {} + + es6-promise@3.3.1: {} + + esbuild@0.21.5: + optionalDependencies: + '@esbuild/aix-ppc64': 0.21.5 + '@esbuild/android-arm': 0.21.5 + '@esbuild/android-arm64': 0.21.5 + '@esbuild/android-x64': 0.21.5 + '@esbuild/darwin-arm64': 0.21.5 + '@esbuild/darwin-x64': 0.21.5 + '@esbuild/freebsd-arm64': 0.21.5 + '@esbuild/freebsd-x64': 0.21.5 + '@esbuild/linux-arm': 0.21.5 + '@esbuild/linux-arm64': 0.21.5 + '@esbuild/linux-ia32': 0.21.5 + '@esbuild/linux-loong64': 0.21.5 + '@esbuild/linux-mips64el': 0.21.5 + '@esbuild/linux-ppc64': 0.21.5 + '@esbuild/linux-riscv64': 0.21.5 + '@esbuild/linux-s390x': 0.21.5 + '@esbuild/linux-x64': 0.21.5 + '@esbuild/netbsd-x64': 0.21.5 + '@esbuild/openbsd-x64': 0.21.5 + '@esbuild/sunos-x64': 0.21.5 + '@esbuild/win32-arm64': 0.21.5 + '@esbuild/win32-ia32': 0.21.5 + '@esbuild/win32-x64': 0.21.5 + + esm-env@1.0.0: {} + + esrap@1.2.2: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + '@types/estree': 1.0.5 + + fill-range@7.1.1: + dependencies: + to-regex-range: 5.0.1 + + fs.realpath@1.0.0: {} + + fsevents@2.3.3: + optional: true + + glob-parent@5.1.2: + dependencies: + is-glob: 4.0.3 + + glob@7.2.3: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + + globalyzer@0.1.0: {} + + globrex@0.1.2: {} + + graceful-fs@4.2.11: {} + + import-meta-resolve@4.1.0: {} + + inflight@1.0.6: + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + + inherits@2.0.4: {} + + is-binary-path@2.1.0: + dependencies: + binary-extensions: 2.3.0 + + is-extglob@2.1.1: {} + + is-glob@4.0.3: + dependencies: + is-extglob: 2.1.1 + + is-number@7.0.0: {} + + is-reference@3.0.2: + dependencies: + '@types/estree': 1.0.5 + + kleur@4.1.5: {} + + locate-character@3.0.0: {} + + magic-string@0.30.11: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + + min-indent@1.0.1: {} + + minimatch@3.1.2: + dependencies: + brace-expansion: 1.1.11 + + 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: {} + + nanoid@3.3.7: {} + + normalize-path@3.0.0: {} + + once@1.4.0: + dependencies: + wrappy: 1.0.2 + + path-is-absolute@1.0.1: {} + + picocolors@1.0.1: {} + + picomatch@2.3.1: {} + + postcss@8.4.40: + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.1 + source-map-js: 1.2.0 + + readdirp@3.6.0: + dependencies: + picomatch: 2.3.1 + + rimraf@2.7.1: + dependencies: + glob: 7.2.3 + + rollup@4.20.0: + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.20.0 + '@rollup/rollup-android-arm64': 4.20.0 + '@rollup/rollup-darwin-arm64': 4.20.0 + '@rollup/rollup-darwin-x64': 4.20.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.20.0 + '@rollup/rollup-linux-arm-musleabihf': 4.20.0 + '@rollup/rollup-linux-arm64-gnu': 4.20.0 + '@rollup/rollup-linux-arm64-musl': 4.20.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.20.0 + '@rollup/rollup-linux-riscv64-gnu': 4.20.0 + '@rollup/rollup-linux-s390x-gnu': 4.20.0 + '@rollup/rollup-linux-x64-gnu': 4.20.0 + '@rollup/rollup-linux-x64-musl': 4.20.0 + '@rollup/rollup-win32-arm64-msvc': 4.20.0 + '@rollup/rollup-win32-ia32-msvc': 4.20.0 + '@rollup/rollup-win32-x64-msvc': 4.20.0 + fsevents: 2.3.3 + + sade@1.8.1: + dependencies: + mri: 1.2.0 + + sander@0.5.1: + dependencies: + es6-promise: 3.3.1 + graceful-fs: 4.2.11 + mkdirp: 0.5.6 + rimraf: 2.7.1 + + set-cookie-parser@2.7.0: {} + + sirv@2.0.4: + dependencies: + '@polka/url': 1.0.0-next.25 + mrmime: 2.0.0 + totalist: 3.0.1 + + sorcery@0.11.1: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + buffer-crc32: 1.0.0 + minimist: 1.2.8 + sander: 0.5.1 + + source-map-js@1.2.0: {} + + strip-indent@3.0.0: + dependencies: + min-indent: 1.0.1 + + svelte-check@3.8.5(postcss@8.4.40)(svelte@5.0.0-next.208): + dependencies: + '@jridgewell/trace-mapping': 0.3.25 + chokidar: 3.6.0 + picocolors: 1.0.1 + sade: 1.8.1 + svelte: 5.0.0-next.208 + svelte-preprocess: 5.1.4(postcss@8.4.40)(svelte@5.0.0-next.208)(typescript@5.5.4) + typescript: 5.5.4 + transitivePeerDependencies: + - '@babel/core' + - coffeescript + - less + - postcss + - postcss-load-config + - pug + - sass + - stylus + - sugarss + + svelte-hmr@0.16.0(svelte@5.0.0-next.208): + dependencies: + svelte: 5.0.0-next.208 + + svelte-preprocess@5.1.4(postcss@8.4.40)(svelte@5.0.0-next.208)(typescript@5.5.4): + dependencies: + '@types/pug': 2.0.10 + detect-indent: 6.1.0 + magic-string: 0.30.11 + sorcery: 0.11.1 + strip-indent: 3.0.0 + svelte: 5.0.0-next.208 + optionalDependencies: + postcss: 8.4.40 + typescript: 5.5.4 + + svelte@5.0.0-next.208: + dependencies: + '@ampproject/remapping': 2.3.0 + '@jridgewell/sourcemap-codec': 1.5.0 + '@types/estree': 1.0.5 + acorn: 8.12.1 + acorn-typescript: 1.4.13(acorn@8.12.1) + aria-query: 5.3.0 + 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.11 + zimmerframe: 1.1.2 + + tiny-glob@0.2.9: + dependencies: + globalyzer: 0.1.0 + globrex: 0.1.2 + + to-regex-range@5.0.1: + dependencies: + is-number: 7.0.0 + + totalist@3.0.1: {} + + typescript@5.5.4: {} + + vite@5.3.5: + dependencies: + esbuild: 0.21.5 + postcss: 8.4.40 + rollup: 4.20.0 + optionalDependencies: + fsevents: 2.3.3 + + vitefu@0.2.5(vite@5.3.5): + optionalDependencies: + vite: 5.3.5 + + wrappy@1.0.2: {} + + zimmerframe@1.1.2: {} diff --git a/postcss.config.cjs b/sites/docs/postcss.config.cjs similarity index 62% rename from postcss.config.cjs rename to sites/docs/postcss.config.cjs index e68d4de..4627aca 100644 --- a/postcss.config.cjs +++ b/sites/docs/postcss.config.cjs @@ -1,10 +1,13 @@ +const path = require("node:path"); const tailwindcss = require("tailwindcss"); +const tailwindNesting = require("tailwindcss/nesting"); const autoprefixer = require("autoprefixer"); const config = { plugins: [ + tailwindNesting, //Some plugins, like tailwindcss/nesting, need to run before Tailwind, - tailwindcss(), + tailwindcss(path.resolve(__dirname, "./tailwind.config.js")), //But others, like autoprefixer, need to run after, autoprefixer, ], diff --git a/sites/docs/src/app.d.ts b/sites/docs/src/app.d.ts new file mode 100644 index 0000000..743f07b --- /dev/null +++ b/sites/docs/src/app.d.ts @@ -0,0 +1,13 @@ +// See https://kit.svelte.dev/docs/types#app +// for information about these interfaces +declare global { + namespace App { + // interface Error {} + // interface Locals {} + // interface PageData {} + // interface PageState {} + // interface Platform {} + } +} + +export {}; diff --git a/src/app.html b/sites/docs/src/app.html similarity index 63% rename from src/app.html rename to sites/docs/src/app.html index ed34458..7f63b9a 100644 --- a/src/app.html +++ b/sites/docs/src/app.html @@ -1,14 +1,14 @@ - + %sveltekit.head%
%sveltekit.body%
diff --git a/src/app.pcss b/sites/docs/src/app.pcss similarity index 95% rename from src/app.pcss rename to sites/docs/src/app.pcss index d191b8a..0e233ef 100644 --- a/src/app.pcss +++ b/sites/docs/src/app.pcss @@ -10,7 +10,7 @@ html, body { - overflow: hidden; + /* overflow: hidden; */ } body, diff --git a/src/routes/(components)/centered-content.svelte b/sites/docs/src/lib/components/centered-content.svelte similarity index 85% rename from src/routes/(components)/centered-content.svelte rename to sites/docs/src/lib/components/centered-content.svelte index 3deb8c9..a33dbed 100644 --- a/src/routes/(components)/centered-content.svelte +++ b/sites/docs/src/lib/components/centered-content.svelte @@ -1,5 +1,7 @@
@@ -28,5 +30,5 @@ this tweet.

- + {@render children?.()}
diff --git a/src/routes/(components)/direction-drawer.svelte b/sites/docs/src/lib/components/direction-drawer.svelte similarity index 68% rename from src/routes/(components)/direction-drawer.svelte rename to sites/docs/src/lib/components/direction-drawer.svelte index 72f80f8..a013cf1 100644 --- a/src/routes/(components)/direction-drawer.svelte +++ b/sites/docs/src/lib/components/direction-drawer.svelte @@ -1,7 +1,8 @@ diff --git a/src/routes/(components)/drawer-content.svelte b/sites/docs/src/lib/components/drawer-content-wrapper.svelte similarity index 83% rename from src/routes/(components)/drawer-content.svelte rename to sites/docs/src/lib/components/drawer-content-wrapper.svelte index 5f354b4..58dd450 100644 --- a/src/routes/(components)/drawer-content.svelte +++ b/sites/docs/src/lib/components/drawer-content-wrapper.svelte @@ -1,9 +1,11 @@ + >
- + {@render children?.()}
diff --git a/src/routes/hero.svelte b/sites/docs/src/lib/components/hero.svelte similarity index 81% rename from src/routes/hero.svelte rename to sites/docs/src/lib/components/hero.svelte index 480a9ac..e75c332 100644 --- a/src/routes/hero.svelte +++ b/sites/docs/src/lib/components/hero.svelte @@ -1,17 +1,17 @@
+ >
-
+

Vaul Svelte

Drawer component for Svelte.

- - - + + + Open Drawer @@ -60,7 +56,7 @@ class="fixed bottom-0 left-0 right-0 mt-24 flex h-full max-h-[96%] flex-col rounded-t-[10px] bg-gray-100" >
-
+

Here are @@ -89,7 +85,9 @@ aria-hidden="true" class="ml-1 h-3 w-3" > - + @@ -112,7 +110,9 @@ aria-hidden="true" class="ml-1 h-3 w-3" > - + diff --git a/src/routes/metadata.svelte b/sites/docs/src/lib/components/metadata.svelte similarity index 93% rename from src/routes/metadata.svelte rename to sites/docs/src/lib/components/metadata.svelte index 96138cd..c32b7e3 100644 --- a/src/routes/metadata.svelte +++ b/sites/docs/src/lib/components/metadata.svelte @@ -1,8 +1,8 @@ diff --git a/src/config/site.ts b/sites/docs/src/lib/config.ts similarity index 100% rename from src/config/site.ts rename to sites/docs/src/lib/config.ts diff --git a/sites/docs/src/lib/index.ts b/sites/docs/src/lib/index.ts new file mode 100644 index 0000000..856f2b6 --- /dev/null +++ b/sites/docs/src/lib/index.ts @@ -0,0 +1 @@ +// place files you want to import through the `$lib` alias in this folder. diff --git a/src/routes/+layout.svelte b/sites/docs/src/routes/+layout.svelte similarity index 67% rename from src/routes/+layout.svelte rename to sites/docs/src/routes/+layout.svelte index a94b247..7a5b215 100644 --- a/src/routes/+layout.svelte +++ b/sites/docs/src/routes/+layout.svelte @@ -1,6 +1,6 @@ diff --git a/sites/docs/src/routes/+page.svelte b/sites/docs/src/routes/+page.svelte new file mode 100644 index 0000000..ee3dbe5 --- /dev/null +++ b/sites/docs/src/routes/+page.svelte @@ -0,0 +1,5 @@ + + + diff --git a/src/routes/examples/+page.svelte b/sites/docs/src/routes/examples/+page.svelte similarity index 93% rename from src/routes/examples/+page.svelte rename to sites/docs/src/routes/examples/+page.svelte index f908b47..20fe174 100644 --- a/src/routes/examples/+page.svelte +++ b/sites/docs/src/routes/examples/+page.svelte @@ -1,9 +1,9 @@ diff --git a/src/routes/examples/nested-drawer.svelte b/sites/docs/src/routes/examples/nested-drawer.svelte similarity index 87% rename from src/routes/examples/nested-drawer.svelte rename to sites/docs/src/routes/examples/nested-drawer.svelte index 499d98a..d981028 100644 --- a/src/routes/examples/nested-drawer.svelte +++ b/sites/docs/src/routes/examples/nested-drawer.svelte @@ -1,5 +1,5 @@ @@ -14,13 +14,16 @@ class="fixed bottom-0 left-0 right-0 mt-24 flex h-full max-h-[96%] flex-col rounded-t-[10px] bg-gray-100" >

-
+
Drawer for Svelte.

- This component can be used as a Dialog replacement on mobile and tablet devices. + This component can be used as a Dialog replacement on mobile and tablet + devices. +

+

+ It comes unstyled and has gesture-driven animations.

-

It comes unstyled and has gesture-driven animations.

It uses

-
+
- This drawer is nested. + This drawer is nested.

Place a - `Drawer.NestedRoot` - inside another drawer and it will be nested automatically for you. + + `Drawer.NestedRoot` + + inside another drawer and it will be nested automatically + for you.

You can view more examples @@ -92,7 +102,9 @@ aria-hidden="true" class="ml-1 h-3 w-3" > - + @@ -115,7 +127,9 @@ aria-hidden="true" class="ml-1 h-3 w-3" > - + diff --git a/src/routes/examples/non-draggable-drawer.svelte b/sites/docs/src/routes/examples/non-draggable-drawer.svelte similarity index 95% rename from src/routes/examples/non-draggable-drawer.svelte rename to sites/docs/src/routes/examples/non-draggable-drawer.svelte index 8825332..14bef6e 100644 --- a/src/routes/examples/non-draggable-drawer.svelte +++ b/sites/docs/src/routes/examples/non-draggable-drawer.svelte @@ -1,6 +1,6 @@ @@ -15,7 +15,7 @@ class="fixed bottom-0 left-0 right-0 mt-24 flex h-full max-h-[96%] flex-col rounded-t-[10px] bg-gray-100" >

-
+

Here are diff --git a/sites/docs/src/routes/examples/scrollable-drawer.svelte b/sites/docs/src/routes/examples/scrollable-drawer.svelte new file mode 100644 index 0000000..8fab31d --- /dev/null +++ b/sites/docs/src/routes/examples/scrollable-drawer.svelte @@ -0,0 +1,53 @@ + + + + + Open Scrollable Drawer + + + + +

+ +

+ But I must explain to you how all this mistaken idea of denouncing pleasure and + praising pain was born and I will give you a complete account of the system, and + expound the actual teachings of the great explorer of the truth, the + master-builder of human happiness. No one rejects, dislikes, or avoids pleasure + itself, because it is pleasure, but because those who do not know how to pursue + pleasure rationally encounter consequences that are extremely painful. Nor again + is there anyone who loves or pursues or desires to obtain pain of itself, + because it is pain, but because occasionally circumstances occur in which toil + and pain can procure him some great pleasure. To take a trivial example, which + of us ever undertakes laborious physical exercise, except to obtain some + advantage from it? But who has any right to find fault with a man who chooses to + enjoy a pleasure that has no annoying consequences, or one who avoids a pain + that produces no resultant pleasure? +

+ +

+ On the other hand, we denounce with righteous indignation and dislike men who + are so beguiled and demoralized by the charms of pleasure of the moment, so + blinded by desire, that they cannot foresee the pain and trouble that are bound + to ensue; and equal blame belongs to those who fail in their duty through + weakness of will, which is the same as saying through shrinking from toil and + pain. These cases are perfectly simple and easy to distinguish. In a free hour, + when our power of choice is untrammelled and when nothing prevents our being + able to do what we like best, every pleasure is to be welcomed and every pain + avoided. But in certain circumstances and owing to the claims of duty or the + obligations of business it will frequently occur that pleasures have to be + repudiated and annoyances accepted. The wise man therefore always holds in these + matters to this principle of selection: he rejects pleasures to secure other + greater pleasures, or else he endures pains to avoid worse pains. +

+ +
+ + + diff --git a/src/routes/examples/snap-point-drawer.svelte b/sites/docs/src/routes/examples/snap-point-drawer.svelte similarity index 85% rename from src/routes/examples/snap-point-drawer.svelte rename to sites/docs/src/routes/examples/snap-point-drawer.svelte index ae8a469..0e55ec8 100644 --- a/src/routes/examples/snap-point-drawer.svelte +++ b/sites/docs/src/routes/examples/snap-point-drawer.svelte @@ -1,9 +1,9 @@ @@ -89,11 +89,13 @@

The Hidden Details

2 modules, 27 hours of video

- The world of user interface design is an intricate landscape filled with hidden details - and nuance. In this course, you will learn something cool. To the untrained eye, a - beautifully designed UI. + The world of user interface design is an intricate landscape filled with hidden + details and nuance. In this course, you will learn something cool. To the + untrained eye, a beautifully designed UI.

-
@@ -101,7 +103,9 @@
Layers of UI - A basic introduction to Layers of Design. + A basic introduction to Layers of Design.
Typography @@ -109,18 +113,23 @@
UI Animations - Going through the right easings and durations. + Going through the right easings and durations.
- “I especially loved the hidden details video. That was so useful, learned a lot by - just reading it. Can’t wait for more course content!” + “I especially loved the hidden details video. That was so useful, + learned a lot by just reading it. Can’t wait for more course + content!”
- Yvonne Ray, Frontend Developer + Yvonne Ray, Frontend Developer
@@ -133,7 +142,9 @@
User Insight - Find out what users think and fine-tune. + Find out what users think and fine-tune.
Putting it all together diff --git a/sites/docs/static/favicon.png b/sites/docs/static/favicon.png new file mode 100644 index 0000000..825b9e6 Binary files /dev/null and b/sites/docs/static/favicon.png differ diff --git a/sites/docs/svelte.config.js b/sites/docs/svelte.config.js new file mode 100644 index 0000000..d1e90b0 --- /dev/null +++ b/sites/docs/svelte.config.js @@ -0,0 +1,23 @@ +import path from "node:path"; +import url from "node:url"; +import adapter from "@sveltejs/adapter-cloudflare"; +import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"; + +const __dirname = path.dirname(url.fileURLToPath(import.meta.url)); + +/** @type {import('@sveltejs/kit').Config} */ +const config = { + preprocess: vitePreprocess({ + style: { + css: { + postcss: path.join(__dirname, "postcss.config.cjs"), + }, + }, + }), + + kit: { + adapter: adapter(), + }, +}; + +export default config; diff --git a/tailwind.config.cjs b/sites/docs/tailwind.config.js similarity index 51% rename from tailwind.config.cjs rename to sites/docs/tailwind.config.js index 5373ea1..b4829f3 100644 --- a/tailwind.config.cjs +++ b/sites/docs/tailwind.config.js @@ -1,5 +1,5 @@ -/** @type {import('tailwindcss').Config}*/ -const config = { +/** @type {import('tailwindcss').Config} */ +export default { content: ["./src/**/*.{html,js,svelte,ts}"], theme: { @@ -8,5 +8,3 @@ const config = { plugins: [], }; - -module.exports = config; diff --git a/sites/docs/tsconfig.json b/sites/docs/tsconfig.json new file mode 100644 index 0000000..fc93cbd --- /dev/null +++ b/sites/docs/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "./.svelte-kit/tsconfig.json", + "compilerOptions": { + "allowJs": true, + "checkJs": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "skipLibCheck": true, + "sourceMap": true, + "strict": true, + "moduleResolution": "bundler" + } + // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias + // except $lib which is handled by https://kit.svelte.dev/docs/configuration#files + // + // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes + // from the referenced tsconfig.json - TypeScript does not merge them in +} diff --git a/sites/docs/vite.config.ts b/sites/docs/vite.config.ts new file mode 100644 index 0000000..6b9eb5d --- /dev/null +++ b/sites/docs/vite.config.ts @@ -0,0 +1,6 @@ +import { sveltekit } from "@sveltejs/kit/vite"; +import { defineConfig } from "vite"; + +export default defineConfig({ + plugins: [sveltekit()], +}); diff --git a/src/lib/index.ts b/src/lib/index.ts deleted file mode 100644 index 3015bcf..0000000 --- a/src/lib/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./vaul/index.js"; diff --git a/src/lib/internal/constants.ts b/src/lib/internal/constants.ts deleted file mode 100644 index 0ef43e5..0000000 --- a/src/lib/internal/constants.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const TRANSITIONS = { - DURATION: 0.5, - EASE: [0.32, 0.72, 0, 1], -}; - -export const VELOCITY_THRESHOLD = 0.4; diff --git a/src/lib/internal/escape-keydown.ts b/src/lib/internal/escape-keydown.ts deleted file mode 100644 index 85d897a..0000000 --- a/src/lib/internal/escape-keydown.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { readable } from "svelte/store"; -import { addEventListener } from "./helpers/event-listener.js"; -import { chain } from "$lib/internal/helpers/index.js"; -import { noop } from "$lib/internal/helpers/index.js"; - -/** - * Creates a readable store that tracks the latest Escape Keydown that occurred on the document. - * - * @returns A function to unsubscribe from the event listener and stop tracking keydown events. - */ -const documentEscapeKeyStore = readable( - undefined, - (set): (() => void) => { - /** - * Event handler for keydown events on the document. - * Updates the store's value with the latest Escape Keydown event and then resets it to undefined. - */ - function keydown(event: KeyboardEvent | undefined) { - if (event && event.key === "Escape") { - set(event); - } - - // New subscriptions will not trigger immediately - set(undefined); - } - - // Adds a keydown event listener to the document, calling the keydown function when triggered. - const unsubscribe = addEventListener(document, "keydown", keydown, { - passive: false, - }); - - // Returns a function to unsubscribe from the event listener and stop tracking keydown events. - return unsubscribe; - } -); - -export function handleEscapeKeydown(node: HTMLElement, handler: (e: KeyboardEvent) => void) { - let unsub = noop; - function update(handler: (e: KeyboardEvent) => void) { - // unsubscribe from the previous config/listeners if they exist - unsub(); - - unsub = chain( - // Handle escape keydowns - documentEscapeKeyStore.subscribe((e) => { - if (!e) return; - const target = e.target; - - if (!isHTMLElement(target) || target.closest("[data-escapee]") !== node) { - return; - } - - // preventDefault here to prevent exiting fullscreen for mac - e.preventDefault(); - - handler(e); - }) - ); - - // to remain compatible with nested Bits/Melt components, we set a data - // attribute to indicate that this element is handling escape keydowns - // so we only handle the highest level escapee - node.setAttribute("data-escapee", ""); - } - - update(handler); - - return () => { - unsub(); - node.removeAttribute("data-escapee"); - }; -} - -function isHTMLElement(el: unknown): el is HTMLElement { - return el instanceof HTMLElement; -} diff --git a/src/lib/internal/helpers/chain.ts b/src/lib/internal/helpers/chain.ts deleted file mode 100644 index 71dfa2f..0000000 --- a/src/lib/internal/helpers/chain.ts +++ /dev/null @@ -1,11 +0,0 @@ -// eslint-disable-next-line @typescript-eslint/no-explicit-any -export function chain(...callbacks: any[]): (...args: any[]) => void { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - return (...args: any[]) => { - for (const callback of callbacks) { - if (typeof callback === "function") { - callback(...args); - } - } - }; -} diff --git a/src/lib/internal/helpers/event-listener.ts b/src/lib/internal/helpers/event-listener.ts deleted file mode 100644 index 67e354c..0000000 --- a/src/lib/internal/helpers/event-listener.ts +++ /dev/null @@ -1,57 +0,0 @@ -import type { Arrayable } from "$lib/internal/types.js"; -/** - * A type alias for a general event listener function. - * - * @template E - The type of event to listen for - * @param evt - The event object - * @returns The return value of the event listener function - */ -export type GeneralEventListener = (evt: E) => unknown; - -/** - * Overloaded function signatures for addEventListener - */ -export function addEventListener( - target: Window, - event: E, - handler: (this: Window, ev: HTMLElementEventMap[E]) => unknown, - options?: boolean | AddEventListenerOptions -): VoidFunction; - -export function addEventListener( - target: Document, - event: E, - handler: (this: Document, ev: HTMLElementEventMap[E]) => unknown, - options?: boolean | AddEventListenerOptions -): VoidFunction; - -export function addEventListener( - target: EventTarget, - event: E, - handler: GeneralEventListener, - options?: boolean | AddEventListenerOptions -): VoidFunction; -/** - * Adds an event listener to the specified target element(s) for the given event(s), and returns a function to remove it. - * @param target The target element(s) to add the event listener to. - * @param event The event(s) to listen for. - * @param handler The function to be called when the event is triggered. - * @param options An optional object that specifies characteristics about the event listener. - * @returns A function that removes the event listener from the target element(s). - */ -export function addEventListener( - target: Window | Document | EventTarget, - event: Arrayable, - handler: EventListenerOrEventListenerObject, - options?: boolean | AddEventListenerOptions -) { - const events = Array.isArray(event) ? event : [event]; - - // Add the event listener to each specified event for the target element(s). - events.forEach((_event) => target.addEventListener(_event, handler, options)); - - // Return a function that removes the event listener from the target element(s). - return () => { - events.forEach((_event) => target.removeEventListener(_event, handler, options)); - }; -} diff --git a/src/lib/internal/helpers/index.ts b/src/lib/internal/helpers/index.ts deleted file mode 100644 index d0aeacc..0000000 --- a/src/lib/internal/helpers/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -export * from "./store.js"; -export * from "./object.js"; -export * from "./style.js"; -export * from "./noop.js"; -export * from "./event-listener.js"; -export * from "./is.js"; -export * from "./chain.js"; -export * from "./sleep.js"; diff --git a/src/lib/internal/helpers/object.ts b/src/lib/internal/helpers/object.ts deleted file mode 100644 index ad06848..0000000 --- a/src/lib/internal/helpers/object.ts +++ /dev/null @@ -1,25 +0,0 @@ -export type ValueOf = T[keyof T]; - -export function omit, K extends keyof T>( - obj: T, - ...keys: K[] -): Omit { - const result = {} as Omit; - for (const key of Object.keys(obj)) { - if (!keys.includes(key as unknown as K)) { - result[key as keyof Omit] = obj[key] as ValueOf>; - } - } - return result; -} - -export function removeUndefined(obj: T): T { - const result = {} as T; - for (const key in obj) { - const value = obj[key]; - if (value !== undefined) { - result[key] = value; - } - } - return result; -} diff --git a/src/lib/internal/helpers/options.ts b/src/lib/internal/helpers/options.ts deleted file mode 100644 index 33dee27..0000000 --- a/src/lib/internal/helpers/options.ts +++ /dev/null @@ -1,16 +0,0 @@ -import type { StoresValues, Writable } from "svelte/store"; - -type Options = Record>; - -export function getOptionUpdater(options: Options) { - return function < - K extends keyof typeof options, - V extends StoresValues<(typeof options)[keyof typeof options]>, - >(key: K, value: V | undefined) { - if (value === undefined) return; - const store = options[key]; - if (store) { - store.set(value as never); - } - }; -} diff --git a/src/lib/internal/helpers/sleep.ts b/src/lib/internal/helpers/sleep.ts deleted file mode 100644 index 2df63d3..0000000 --- a/src/lib/internal/helpers/sleep.ts +++ /dev/null @@ -1,3 +0,0 @@ -export function sleep(ms: number) { - return new Promise((resolve) => setTimeout(resolve, ms)); -} diff --git a/src/lib/internal/helpers/store.ts b/src/lib/internal/helpers/store.ts deleted file mode 100644 index 8c85e02..0000000 --- a/src/lib/internal/helpers/store.ts +++ /dev/null @@ -1,150 +0,0 @@ -import type { Readable, Stores, StoresValues, Updater, Writable } from "svelte/store"; -import { derived, writable } from "svelte/store"; -import { onDestroy, onMount } from "svelte"; - -/** - * A utility function that creates an effect from a set of stores and a function. - * The effect is automatically cleaned up when the component is destroyed. - * - * @template S - The type of the stores object - * @param stores - The stores object to derive from - * @param fn - The function to run when the stores change - * @returns A function that can be used to unsubscribe the effect - */ -export function effect( - stores: S, - fn: (values: StoresValues) => (() => void) | void -): () => void { - if (typeof document === "undefined") { - return () => {}; - } - // Create a derived store that contains the stores object and an onUnsubscribe function - const unsub = derivedWithUnsubscribe(stores, (stores, onUnsubscribe) => { - return { - stores, - onUnsubscribe, - }; - }).subscribe(({ stores, onUnsubscribe }) => { - const returned = fn(stores); - // If the function returns a cleanup function, call it when the effect is unsubscribed - if (returned) { - onUnsubscribe(returned); - } - }); - - // Automatically unsubscribe the effect when the component is destroyed - safeOnDestroy(unsub); - return unsub; -} - -/** - * A utility function that creates a derived store that automatically - * unsubscribes from its dependencies. - * - * @template S - The type of the stores object - * @template T - The type of the derived store - * @param stores - The stores object to derive from - * @param fn - The function to derive the store from - * @returns A derived store that automatically unsubscribes from its dependencies - */ -export function derivedWithUnsubscribe( - stores: S, - fn: (values: StoresValues, onUnsubscribe: (cb: () => void) => void) => T -): Readable { - let unsubscribers: (() => void)[] = []; - const onUnsubscribe = (cb: () => void) => { - unsubscribers.push(cb); - }; - - const unsubscribe = () => { - // Call all of the unsubscribe functions from the previous run of the function - unsubscribers.forEach((fn) => fn()); - // Clear the list of unsubscribe functions - unsubscribers = []; - }; - - const derivedStore = derived(stores, ($storeValues) => { - unsubscribe(); - return fn($storeValues, onUnsubscribe); - }); - - safeOnDestroy(unsubscribe); - - const subscribe: typeof derivedStore.subscribe = (...args) => { - const unsub = derivedStore.subscribe(...args); - return () => { - unsub(); - unsubscribe(); - }; - }; - - return { - ...derivedStore, - subscribe, - }; -} - -export const safeOnMount = (fn: (...args: unknown[]) => unknown) => { - try { - onMount(fn); - } catch { - return fn(); - } -}; - -export const safeOnDestroy = (fn: (...args: unknown[]) => unknown) => { - try { - onDestroy(fn); - } catch { - return fn(); - } -}; - -export type ChangeFn = (args: { curr: T; next: T }) => T; - -export const overridable = (store: Writable, onChange?: ChangeFn) => { - const update = (updater: Updater, sideEffect?: (newValue: T) => void) => { - store.update((curr) => { - const next = updater(curr); - let res: T = next; - if (onChange) { - res = onChange({ curr, next }); - } - - sideEffect?.(res); - return res; - }); - }; - - const set: typeof store.set = (curr) => { - update(() => curr); - }; - - return { - ...store, - update, - set, - }; -}; - -export type ToWritableStores> = { - [K in keyof T]: Writable; -}; - -/** - * Given an object of properties, returns an object of writable stores - * with the same properties and values. - */ -export function toWritableStores>( - properties: T -): ToWritableStores { - const result = {} as { [K in keyof T]: Writable }; - - Object.keys(properties).forEach((key) => { - const propertyKey = key as keyof T; - const value = properties[propertyKey]; - result[propertyKey] = writable(value); - }); - - return result; -} diff --git a/src/lib/internal/helpers/style.ts b/src/lib/internal/helpers/style.ts deleted file mode 100644 index 08b4f91..0000000 --- a/src/lib/internal/helpers/style.ts +++ /dev/null @@ -1,71 +0,0 @@ -import type { DrawerDirection } from "../types.js"; -import { isVertical } from "./index.js"; - -interface Style { - [key: string]: string; -} - -const cache = new WeakMap(); - -export function set(el?: Element | HTMLElement | null, styles?: Style, ignoreCache = false) { - if (!el || !(el instanceof HTMLElement) || !styles) return; - - const originalStyles: Style = {}; - - Object.entries(styles).forEach(([key, value]: [string, string]) => { - if (key.startsWith("--")) { - el.style.setProperty(key, value); - return; - } - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - originalStyles[key] = (el.style as any)[key]; - // eslint-disable-next-line @typescript-eslint/no-explicit-any - (el.style as any)[key] = value; - }); - - if (ignoreCache) return; - - cache.set(el, originalStyles); -} - -export function reset(el: Element | HTMLElement | null, prop?: string) { - if (!el || !(el instanceof HTMLElement)) return; - const originalStyles = cache.get(el); - - if (!originalStyles) { - return; - } - - if (prop) { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - (el.style as any)[prop] = originalStyles[prop]; - } else { - Object.entries(originalStyles).forEach(([key, value]) => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - (el.style as any)[key] = value; - }); - } -} - -export function getTranslate(element: HTMLElement, direction: DrawerDirection): number | null { - const style = window.getComputedStyle(element); - const transform = - // @ts-expect-error - vendor prefix - style.transform || style.webkitTransform || style.mozTransform; - let mat = transform.match(/^matrix3d\((.+)\)$/); - if (mat) { - // https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/matrix3d - return parseFloat(mat[1].split(", ")[isVertical(direction) ? 13 : 12]); - } - // https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/matrix - mat = transform.match(/^matrix\((.+)\)$/); - return mat ? parseFloat(mat[1].split(", ")[isVertical(direction) ? 5 : 4]) : null; -} - -export function styleToString(style: Record): string { - return Object.keys(style).reduce((str, key) => { - if (style[key] === undefined) return str; - return str + `${key}:${style[key]};`; - }, ""); -} diff --git a/src/lib/internal/index.ts b/src/lib/internal/index.ts deleted file mode 100644 index 994626d..0000000 --- a/src/lib/internal/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./types.js"; -export * from "./vaul.js"; diff --git a/src/lib/internal/position-fixed.ts b/src/lib/internal/position-fixed.ts deleted file mode 100644 index 108f9f0..0000000 --- a/src/lib/internal/position-fixed.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { onMount } from "svelte"; -import { writable, get, type Writable } from "svelte/store"; -import { effect, addEventListener } from "./helpers/index.js"; - -let previousBodyPosition: Record | null = null; - -export function handlePositionFixed({ - isOpen, - modal, - nested, - hasBeenOpened, -}: { - isOpen: Writable; - modal: Writable; - nested: Writable; - hasBeenOpened: Writable; -}) { - const activeUrl = writable(typeof window !== "undefined" ? window.location.href : ""); - let scrollPos = 0; - - function setPositionFixed(open: boolean) { - // If previousBodyPosition is already set, don't set it again. - if (!(previousBodyPosition === null && open)) return; - - previousBodyPosition = { - position: document.body.style.position, - top: document.body.style.top, - left: document.body.style.left, - height: document.body.style.height, - }; - - // Update the dom inside an animation frame - const { scrollX, innerHeight } = window; - - document.body.style.setProperty("position", "fixed", "important"); - document.body.style.top = `${-scrollPos}px`; - document.body.style.left = `${-scrollX}px`; - document.body.style.right = "0px"; - document.body.style.height = "auto"; - - setTimeout( - () => - requestAnimationFrame(() => { - // Attempt to check if the bottom bar appeared due to the position change - const bottomBarHeight = innerHeight - window.innerHeight; - if (bottomBarHeight && scrollPos >= innerHeight) { - // Move the content further up so that the bottom bar doesn't hide it - document.body.style.top = `${-(scrollPos + bottomBarHeight)}px`; - } - }), - 300 - ); - } - - function restorePositionSetting() { - if (previousBodyPosition === null) return; - const $activeUrl = get(activeUrl); - // Convert the position from "px" to Int - const y = -parseInt(document.body.style.top, 10); - const x = -parseInt(document.body.style.left, 10); - - // Restore styles - document.body.style.position = previousBodyPosition.position; - document.body.style.top = previousBodyPosition.top; - document.body.style.left = previousBodyPosition.left; - document.body.style.height = previousBodyPosition.height; - document.body.style.right = "unset"; - - requestAnimationFrame(() => { - if ($activeUrl !== window.location.href) { - activeUrl.set(window.location.href); - return; - } - - window.scrollTo(x, y); - }); - - previousBodyPosition = null; - } - - onMount(() => { - function onScroll() { - scrollPos = window.scrollY; - } - - onScroll(); - - const removeListener = addEventListener(window, "scroll", onScroll); - - return () => { - removeListener; - }; - }); - - effect([isOpen, activeUrl], ([$isOpen, _]) => { - if (typeof document === "undefined") return; - if (get(nested) || !get(hasBeenOpened)) return; - // This is needed to force Safari toolbar to show **before** the drawer starts animating to prevent a gnarly shift from happening - if ($isOpen) { - setPositionFixed($isOpen); - - if (!get(modal)) { - setTimeout(() => { - restorePositionSetting(); - }, 500); - } - } else { - restorePositionSetting(); - } - }); - - return { restorePositionSetting }; -} diff --git a/src/lib/internal/prevent-scroll.ts b/src/lib/internal/prevent-scroll.ts deleted file mode 100644 index 23de5dd..0000000 --- a/src/lib/internal/prevent-scroll.ts +++ /dev/null @@ -1,305 +0,0 @@ -// This code comes from https://github.com/adobe/react-spectrum/blob/main/packages/%40react-aria/overlays/src/usePreventScroll.ts - -import { addEventListener, chain, isInput } from "$lib/internal/helpers/index.js"; - -function isMac(): boolean | undefined { - return testPlatform(/^Mac/); -} - -function isIPhone(): boolean | undefined { - return testPlatform(/^iPhone/); -} - -export function isSafari(): boolean | undefined { - return /^((?!chrome|android).)*safari/i.test(navigator.userAgent); -} - -function isIPad(): boolean | undefined { - return ( - testPlatform(/^iPad/) || - // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support. - (isMac() && navigator.maxTouchPoints > 1) - ); -} - -export function isIOS(): boolean | undefined { - return isIPhone() || isIPad(); -} - -function testPlatform(re: RegExp): boolean | undefined { - return typeof window !== "undefined" && window.navigator != null - ? re.test(window.navigator.platform) - : undefined; -} - -const visualViewport = typeof document !== "undefined" && window.visualViewport; - -export function isScrollable(node: Element): boolean { - const style = window.getComputedStyle(node); - return /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY); -} - -export function getScrollParent(node: Element): Element { - if (isScrollable(node)) { - node = node.parentElement as HTMLElement; - } - - while (node && !isScrollable(node)) { - node = node.parentElement as HTMLElement; - } - - return node || document.scrollingElement || document.documentElement; -} - -// The number of active usePreventScroll calls. Used to determine whether to revert back to the original page style/scroll position -let preventScrollCount = 0; -let restore: () => void; - -/** - * Prevents scrolling on the document body on mount, and - * restores it on unmount. Also ensures that content does not - * shift due to the scrollbars disappearing. - */ -export function preventScroll() { - if (typeof document === "undefined") return () => {}; - - preventScrollCount++; - if (preventScrollCount === 1) { - if (isIOS()) { - restore = preventScrollMobileSafari(); - } else { - restore = preventScrollStandard(); - } - } - - return () => { - preventScrollCount--; - if (preventScrollCount === 0) { - restore(); - } - }; -} - -function getPaddingProperty(documentElement: HTMLElement) { - // RTL scrollbar - const documentLeft = documentElement.getBoundingClientRect().left; - const scrollbarX = Math.round(documentLeft) + documentElement.scrollLeft; - return scrollbarX ? "paddingLeft" : "paddingRight"; -} - -function setCSSProperty(el: HTMLElement | null | undefined, property: string, value: string) { - if (!el) return; - const previousValue = el.style.getPropertyValue(property); - el.style.setProperty(property, value); - return () => { - if (previousValue) { - el.style.setProperty(property, previousValue); - } else { - el.style.removeProperty(property); - } - }; -} - -// For most browsers, all we need to do is set `overflow: hidden` on the root element, and -// add some padding to prevent the page from shifting when the scrollbar is hidden. -function preventScrollStandard() { - if (typeof document === "undefined") return () => {}; - const win = document.defaultView ?? window; - - const { documentElement, body } = document; - const scrollbarWidth = win.innerWidth - documentElement.clientWidth; - const setScrollbarWidthProperty = () => - setCSSProperty(documentElement, "--scrollbar-width", `${scrollbarWidth}px`); - const paddingProperty = getPaddingProperty(documentElement); - const scrollbarSidePadding = win.getComputedStyle(body)[paddingProperty]; - - return chain( - setScrollbarWidthProperty(), - setStyle(body, paddingProperty, `calc(${scrollbarSidePadding} + ${scrollbarWidth}px)`), - setStyle(body, "overflow", "hidden") - ); -} - -// Mobile Safari is a whole different beast. Even with overflow: hidden, -// it still scrolls the page in many situations: -// -// 1. When the bottom toolbar and address bar are collapsed, page scrolling is always allowed. -// 2. When the keyboard is visible, the viewport does not resize. Instead, the keyboard covers part of -// it, so it becomes scrollable. -// 3. When tapping on an input, the page always scrolls so that the input is centered in the visual viewport. -// This may cause even fixed position elements to scroll off the screen. -// 4. When using the next/previous buttons in the keyboard to navigate between inputs, the whole page always -// scrolls, even if the input is inside a nested scrollable element that could be scrolled instead. -// -// In order to work around these cases, and prevent scrolling without jankiness, we do a few things: -// -// 1. Prevent default on `touchmove` events that are not in a scrollable element. This prevents touch scrolling -// on the window. -// 2. Prevent default on `touchmove` events inside a scrollable element when the scroll position is at the -// top or bottom. This avoids the whole page scrolling instead, but does prevent overscrolling. -// 3. Prevent default on `touchend` events on input elements and handle focusing the element ourselves. -// 4. When focusing an input, apply a transform to trick Safari into thinking the input is at the top -// of the page, which prevents it from scrolling the page. After the input is focused, scroll the element -// into view ourselves, without scrolling the whole page. -// 5. Offset the body by the scroll position using a negative margin and scroll to the top. This should appear the -// same visually, but makes the actual scroll position always zero. This is required to make all of the -// above work or Safari will still try to scroll the page when focusing an input. -// 6. As a last resort, handle window scroll events, and scroll back to the top. This can happen when attempting -// to navigate to an input with the next/previous buttons that's outside a modal. -function preventScrollMobileSafari() { - let scrollable: Element; - let lastY = 0; - const { documentElement, body, activeElement } = document; - - function onTouchStart(e: TouchEvent) { - // Store the nearest scrollable parent element from the element that the user touched. - scrollable = getScrollParent(e.target as Element); - if (scrollable === documentElement && scrollable === body) return; - - lastY = e.changedTouches[0].pageY; - } - - function onTouchMove(e: TouchEvent) { - // Prevent scrolling the window. - if (!scrollable || scrollable === documentElement || scrollable === body) { - e.preventDefault(); - return; - } - - // Prevent scrolling up when at the top and scrolling down when at the bottom - // of a nested scrollable area, otherwise mobile Safari will start scrolling - // the window instead. Unfortunately, this disables bounce scrolling when at - // the top but it's the best we can do. - const y = e.changedTouches[0].pageY; - const scrollTop = scrollable.scrollTop; - const bottom = scrollable.scrollHeight - scrollable.clientHeight; - - if (bottom === 0) return; - - if ((scrollTop <= 0 && y > lastY) || (scrollTop >= bottom && y < lastY)) { - e.preventDefault(); - } - - lastY = y; - } - - function onTouchEnd(e: TouchEvent) { - const target = e.target as HTMLElement; - if (!(isInput(target) && target !== activeElement)) return; - // Apply this change if we're not already focused on the target element - e.preventDefault(); - - // Apply a transform to trick Safari into thinking the input is at the top of the page - // so it doesn't try to scroll it into view. When tapping on an input, this needs to - // be done before the "focus" event, so we have to focus the element ourselves. - target.style.transform = "translateY(-2000px)"; - target.focus(); - requestAnimationFrame(() => { - target.style.transform = ""; - }); - } - - function onFocus(e: FocusEvent) { - const target = e.target as HTMLElement; - if (!isInput(target)) return; - - // Transform also needs to be applied in the focus event in cases where focus moves - // other than tapping on an input directly, e.g. the next/previous buttons in the - // software keyboard. In these cases, it seems applying the transform in the focus event - // is good enough, whereas when tapping an input, it must be done before the focus event. 🤷‍♂️ - target.style.transform = "translateY(-2000px)"; - requestAnimationFrame(() => { - target.style.transform = ""; - - // This will have prevented the browser from scrolling the focused element into view, - // so we need to do this ourselves in a way that doesn't cause the whole page to scroll. - if (visualViewport) { - if (visualViewport.height < window.innerHeight) { - // If the keyboard is already visible, do this after one additional frame - // to wait for the transform to be removed. - requestAnimationFrame(() => { - scrollIntoView(target); - }); - } else { - // Otherwise, wait for the visual viewport to resize before scrolling so we can - // measure the correct position to scroll to. - visualViewport.addEventListener("resize", () => scrollIntoView(target), { once: true }); - } - } - }); - } - - function onWindowScroll() { - // Last resort. If the window scrolled, scroll it back to the top. - // It should always be at the top because the body will have a negative margin (see below). - window.scrollTo(0, 0); - } - - // Record the original scroll position so we can restore it. - // Then apply a negative margin to the body to offset it by the scroll position. This will - // enable us to scroll the window to the top, which is required for the rest of this to work. - const scrollX = window.pageXOffset; - const scrollY = window.pageYOffset; - - const restoreStyles = chain( - setStyle( - documentElement, - "paddingRight", - `${window.innerWidth - documentElement.clientWidth}px` - ), - setStyle(documentElement, "overflow", "hidden") - // setStyle(document.body, 'marginTop', `-${scrollY}px`), - ); - - // Scroll to the top. The negative margin on the body will make this appear the same. - window.scrollTo(0, 0); - - const removeEvents = chain( - addEventListener(document, "touchstart", onTouchStart, { passive: false, capture: true }), - addEventListener(document, "touchmove", onTouchMove, { passive: false, capture: true }), - addEventListener(document, "touchend", onTouchEnd, { passive: false, capture: true }), - addEventListener(document, "focus", onFocus, true), - addEventListener(window, "scroll", onWindowScroll) - ); - - return () => { - // Restore styles and scroll the page back to where it was. - restoreStyles(); - removeEvents(); - window.scrollTo(scrollX, scrollY); - }; -} - -// Sets a CSS property on an element, and returns a function to revert it to the previous value. -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function setStyle(element: HTMLElement, style: any, value: string) { - const cur = element.style[style]; - element.style[style] = value; - - return () => { - element.style[style] = cur; - }; -} - -function scrollIntoView(target: Element) { - const { documentElement, body, scrollingElement } = document; - - const root = scrollingElement || documentElement; - while (target && target !== root) { - // Find the parent scrollable element and adjust the scroll position if the target is not already in view. - const scrollable = getScrollParent(target); - if (scrollable !== documentElement && scrollable !== body && scrollable !== target) { - const scrollableTop = scrollable.getBoundingClientRect().top; - const targetTop = target.getBoundingClientRect().top; - const targetBottom = target.getBoundingClientRect().bottom; - const keyboardHeight = scrollable.getBoundingClientRect().bottom; - - if (targetBottom > keyboardHeight) { - scrollable.scrollTop += targetTop - scrollableTop; - } - } - - //@ts-expect-error - target is not root so it must have a parentElement - target = scrollable.parentElement; - } -} diff --git a/src/lib/internal/snap-points.ts b/src/lib/internal/snap-points.ts deleted file mode 100644 index 4fdbd11..0000000 --- a/src/lib/internal/snap-points.ts +++ /dev/null @@ -1,323 +0,0 @@ -import { tick } from "svelte"; -import { derived, get, type Writable } from "svelte/store"; -import { TRANSITIONS, VELOCITY_THRESHOLD } from "./constants.js"; -import { effect, set, isVertical, isBottomOrRight } from "./helpers/index.js"; -import type { DrawerDirection } from "./types.js"; - -export function handleSnapPoints({ - activeSnapPoint, - snapPoints, - drawerRef, - overlayRef, - fadeFromIndex, - openTime, - direction, -}: { - activeSnapPoint: Writable; - snapPoints: Writable<(number | string)[] | undefined>; - fadeFromIndex: Writable; - drawerRef: Writable; - overlayRef: Writable; - openTime: Writable; - direction: Writable; -}) { - const isLastSnapPoint = derived( - [snapPoints, activeSnapPoint], - ([$snapPoints, $activeSnapPoint]) => { - return $activeSnapPoint === $snapPoints?.[$snapPoints.length - 1]; - } - ); - - const shouldFade = derived( - [snapPoints, fadeFromIndex, activeSnapPoint], - ([$snapPoints, $fadeFromIndex, $activeSnapPoint]) => { - return ( - ($snapPoints && - $snapPoints.length > 0 && - ($fadeFromIndex || $fadeFromIndex === 0) && - !Number.isNaN($fadeFromIndex) && - $snapPoints[$fadeFromIndex] === $activeSnapPoint) || - !$snapPoints - ); - } - ); - - const activeSnapPointIndex = derived( - [snapPoints, activeSnapPoint], - ([$snapPoints, $activeSnapPoint]) => - $snapPoints?.findIndex((snapPoint) => snapPoint === $activeSnapPoint) ?? null - ); - - const snapPointsOffset = derived(snapPoints, ($snapPoints) => { - if ($snapPoints) { - return $snapPoints.map((snapPoint) => { - const hasWindow = typeof window !== "undefined"; - const isPx = typeof snapPoint === "string"; - let snapPointAsNumber = 0; - - if (isPx) { - snapPointAsNumber = parseInt(snapPoint, 10); - } - const $direction = get(direction); - - if (isVertical($direction)) { - const height = isPx ? snapPointAsNumber : hasWindow ? snapPoint * window.innerHeight : 0; - - if (hasWindow) { - return $direction === "bottom" - ? window.innerHeight - height - : window.innerHeight + height; - } - - return height; - } - - const width = isPx ? snapPointAsNumber : hasWindow ? snapPoint * window.innerWidth : 0; - - if (hasWindow) { - return $direction === "right" ? window.innerWidth - width : window.innerWidth + width; - } - - return width; - }); - } - return []; - }); - - const activeSnapPointOffset = derived( - [snapPointsOffset, activeSnapPointIndex], - ([$snapPointsOffset, $activeSnapPointIndex]) => - $activeSnapPointIndex !== null ? $snapPointsOffset?.[$activeSnapPointIndex] : null - ); - - effect([activeSnapPoint, drawerRef], ([$activeSnapPoint, $drawerRef]) => { - if ($activeSnapPoint && $drawerRef) { - const $snapPoints = get(snapPoints); - const $snapPointsOffset = get(snapPointsOffset); - const newIndex = $snapPoints?.findIndex((snapPoint) => snapPoint === $activeSnapPoint) ?? -1; - if ($snapPointsOffset && newIndex !== -1 && typeof $snapPointsOffset[newIndex] === "number") { - snapToPoint($snapPointsOffset[newIndex] as number); - } - } - }); - - function snapToPoint(dimension: number) { - tick().then(() => { - const $snapPointsOffset = get(snapPointsOffset); - const newSnapPointIndex = - $snapPointsOffset?.findIndex((snapPointDim) => snapPointDim === dimension) ?? null; - - const $drawerRef = get(drawerRef); - const $direction = get(direction); - - onSnapPointChange(newSnapPointIndex); - - set($drawerRef, { - transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join( - "," - )})`, - transform: isVertical($direction) - ? `translate3d(0, ${dimension}px, 0)` - : `translate3d(${dimension}px, 0, 0)`, - }); - - const $fadeFromIndex = get(fadeFromIndex); - const $overlayRef = get(overlayRef); - - if ( - snapPointsOffset && - newSnapPointIndex !== $snapPointsOffset.length - 1 && - newSnapPointIndex !== $fadeFromIndex - ) { - set($overlayRef, { - transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join( - "," - )})`, - opacity: "0", - }); - } else { - set($overlayRef, { - transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join( - "," - )})`, - opacity: "1", - }); - } - activeSnapPoint.update(() => { - const $snapPoints = get(snapPoints); - if (newSnapPointIndex === null || !$snapPoints) return null; - return $snapPoints[newSnapPointIndex]; - }); - }); - } - - function onRelease({ - draggedDistance, - closeDrawer, - velocity, - dismissible, - }: { - draggedDistance: number; - closeDrawer: () => void; - velocity: number; - dismissible: boolean; - }) { - const $fadeFromIndex = get(fadeFromIndex); - if ($fadeFromIndex === undefined) return; - const $activeSnapPointOffset = get(activeSnapPointOffset); - const $activeSnapPointIndex = get(activeSnapPointIndex); - const $overlayRef = get(overlayRef); - const $snapPointsOffset = get(snapPointsOffset); - const $snapPoints = get(snapPoints); - const $direction = get(direction); - - const currentPosition = - $direction === "bottom" || $direction === "right" - ? ($activeSnapPointOffset ?? 0) - draggedDistance - : ($activeSnapPointOffset ?? 0) + draggedDistance; - - const isOverlaySnapPoint = $activeSnapPointIndex === $fadeFromIndex - 1; - const isFirst = $activeSnapPointIndex === 0; - const hasDraggedUp = draggedDistance > 0; - - if (isOverlaySnapPoint) { - set($overlayRef, { - transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, - }); - } - - if (velocity > 2 && !hasDraggedUp) { - if (dismissible) closeDrawer(); - else snapToPoint($snapPointsOffset[0]); // snap to initial point - return; - } - - if (velocity > 2 && hasDraggedUp && $snapPointsOffset && $snapPoints) { - snapToPoint($snapPointsOffset[$snapPoints.length - 1] as number); - return; - } - - // Find the closest snap point to the current position - const closestSnapPoint = $snapPointsOffset?.reduce((prev, curr) => { - if (typeof prev !== "number" || typeof curr !== "number") return prev; - - return Math.abs(curr - currentPosition) < Math.abs(prev - currentPosition) ? curr : prev; - }); - - const dim = isVertical($direction) ? window.innerHeight : window.innerWidth; - - if (velocity > VELOCITY_THRESHOLD && Math.abs(draggedDistance) < dim * 0.4) { - const dragDirection = hasDraggedUp ? 1 : -1; // 1 = up, -1 = down - - // Don't do anything if we swipe upwards while being on the last snap point - if (dragDirection > 0 && get(isLastSnapPoint) && $snapPoints) { - snapToPoint($snapPointsOffset[$snapPoints.length - 1]); - return; - } - - if (isFirst && dragDirection < 0 && dismissible) { - closeDrawer(); - } - - if ($activeSnapPointIndex === null) return; - - snapToPoint($snapPointsOffset[$activeSnapPointIndex + dragDirection]); - return; - } - - snapToPoint(closestSnapPoint); - } - - function onDrag({ draggedDistance }: { draggedDistance: number }) { - const $drawerRef = get(drawerRef); - const $activeSnapPointOffset = get(activeSnapPointOffset); - if ($activeSnapPointOffset === null) return; - const $snapPointsOffset = get(snapPointsOffset); - const $direction = get(direction); - - const newValue = - $direction === "bottom" || $direction === "right" - ? $activeSnapPointOffset - draggedDistance - : $activeSnapPointOffset + draggedDistance; - - const lastSnapPoint = $snapPointsOffset[$snapPointsOffset.length - 1]; - - // Don't do anything if we exceed the last(biggest) snap point - if (isBottomOrRight($direction) && newValue < lastSnapPoint) { - return; - } - - if (!isBottomOrRight($direction) && newValue > lastSnapPoint) { - return; - } - - set($drawerRef, { - transform: isVertical($direction) - ? `translate3d(0, ${newValue}px, 0)` - : `translate3d(${newValue}px, 0, 0)`, - }); - } - - function getPercentageDragged(absDraggedDistance: number, isDraggingDown: boolean) { - const $activeSnapPointIndex = get(activeSnapPointIndex); - const $snapPointsOffset = get(snapPointsOffset); - const $snapPoints = get(snapPoints); - const $fadeFromIndex = get(fadeFromIndex); - if ( - !$snapPoints || - typeof $activeSnapPointIndex !== "number" || - !$snapPointsOffset || - $fadeFromIndex === undefined - ) - return null; - - // If this is true we are dragging to a snap point that is supposed to have an overlay - const isOverlaySnapPoint = $activeSnapPointIndex === $fadeFromIndex - 1; - const isOverlaySnapPointOrHigher = $activeSnapPointIndex >= $fadeFromIndex; - - if (isOverlaySnapPointOrHigher && isDraggingDown) { - return 0; - } - - // Don't animate, but still use this one if we are dragging away from the overlaySnapPoint - if (isOverlaySnapPoint && !isDraggingDown) return 1; - if (!get(shouldFade) && !isOverlaySnapPoint) return null; - - // Either fadeFrom index or the one before - const targetSnapPointIndex = isOverlaySnapPoint - ? $activeSnapPointIndex + 1 - : $activeSnapPointIndex - 1; - - // Get the distance from overlaySnapPoint to the one before or vice-versa to calculate the opacity percentage accordingly - const snapPointDistance = isOverlaySnapPoint - ? $snapPointsOffset[targetSnapPointIndex] - $snapPointsOffset[targetSnapPointIndex - 1] - : $snapPointsOffset[targetSnapPointIndex + 1] - $snapPointsOffset[targetSnapPointIndex]; - - const percentageDragged = absDraggedDistance / Math.abs(snapPointDistance); - - if (isOverlaySnapPoint) { - return 1 - percentageDragged; - } else { - return percentageDragged; - } - } - - function onSnapPointChange(activeSnapPointIndex: number) { - // Change openTime ref when we reach the last snap point to prevent dragging for 500ms incase it's scrollable. - const $snapPoints = get(snapPoints); - const $snapPointsOffset = get(snapPointsOffset); - if ($snapPoints && activeSnapPointIndex === $snapPointsOffset.length - 1) { - openTime.set(new Date()); - } - } - - return { - isLastSnapPoint, - shouldFade, - getPercentageDragged, - activeSnapPointIndex, - onRelease, - onDrag, - snapPointsOffset, - }; -} diff --git a/src/lib/internal/types.ts b/src/lib/internal/types.ts deleted file mode 100644 index c8b8661..0000000 --- a/src/lib/internal/types.ts +++ /dev/null @@ -1,29 +0,0 @@ -import type { Action } from "svelte/action"; - -export type SvelteEvent = T & { - currentTarget: EventTarget & U; -}; - -export type OnChangeFn = (value: T) => void; - -export type Arrayable = T | T[]; - -export type Expand = T extends object - ? T extends infer O - ? { [K in keyof O]: O[K] } - : never - : T; - -export type Builder< - // eslint-disable-next-line @typescript-eslint/no-explicit-any - Element = any, - // eslint-disable-next-line @typescript-eslint/no-explicit-any - Param = any, - // eslint-disable-next-line @typescript-eslint/no-explicit-any - Attributes extends Record = Record, - // eslint-disable-next-line @typescript-eslint/no-explicit-any -> = Record & { - action: Action; -}; - -export type DrawerDirection = "left" | "right" | "top" | "bottom"; diff --git a/src/lib/internal/vaul.ts b/src/lib/internal/vaul.ts deleted file mode 100644 index d0b538b..0000000 --- a/src/lib/internal/vaul.ts +++ /dev/null @@ -1,958 +0,0 @@ -import { derived, get, writable, type Readable } from "svelte/store"; -import type { DrawerDirection, SvelteEvent } from "./types.js"; -import { handleSnapPoints } from "./snap-points.js"; -import { - overridable, - toWritableStores, - omit, - type ChangeFn, - getTranslate, - isVertical, - set, - reset, - effect, - removeUndefined, - styleToString, - isInput, - sleep, - noop, - addEventListener, - isBrowser, -} from "$lib/internal/helpers/index.js"; -import { isIOS, preventScroll } from "./prevent-scroll.js"; -import { TRANSITIONS, VELOCITY_THRESHOLD } from "./constants.js"; -import { handleEscapeKeydown } from "./escape-keydown.js"; -import { handlePositionFixed } from "./position-fixed.js"; - -const CLOSE_THRESHOLD = 0.25; - -const SCROLL_LOCK_TIMEOUT = 100; - -const BORDER_RADIUS = 8; - -const NESTED_DISPLACEMENT = 16; - -const WINDOW_TOP_OFFSET = 26; - -const DRAG_CLASS = "vaul-dragging"; - -const openDrawerIds = writable([]); - -type WithFadeFromProps = { - snapPoints: (number | string)[]; - fadeFromIndex: number; -}; - -type WithoutFadeFromProps = { - snapPoints?: (number | string)[]; - fadeFromIndex?: never; -}; - -export type CreateVaulProps = { - defaultActiveSnapPoint?: number | string | null; - onActiveSnapPointChange?: ChangeFn; - defaultOpen?: boolean; - onOpenChange?: ChangeFn; - closeThreshold?: number; - shouldScaleBackground?: boolean; - backgroundColor?: string; - scrollLockTimeout?: number; - fixed?: boolean; - dismissible?: boolean; - direction?: DrawerDirection; - onDrag?: ( - event: SvelteEvent, - percentageDragged: number - ) => void; - onRelease?: ( - event: SvelteEvent, - open: boolean - ) => void; - modal?: boolean; - nested?: boolean; - onClose?: () => void; -} & (WithFadeFromProps | WithoutFadeFromProps); - -const defaultProps = { - closeThreshold: CLOSE_THRESHOLD, - shouldScaleBackground: true, - scrollLockTimeout: SCROLL_LOCK_TIMEOUT, - onDrag: undefined, - onRelease: undefined, - snapPoints: undefined, - fadeFromIndex: undefined, - defaultActiveSnapPoint: undefined, - onActiveSnapPointChange: undefined, - defaultOpen: false, - onOpenChange: undefined, - fixed: undefined, - dismissible: true, - modal: true, - nested: false, - onClose: undefined, - direction: "bottom" as const, -}; - -const omittedOptions = [ - "defaultOpen", - "onOpenChange", - "defaultActiveSnapPoint", - "onActiveSnapPointChange", - "onDrag", - "onRelease", - "onClose", -] as const; - -export function createVaul(props: CreateVaulProps) { - const { - snapPoints: snapPointsProp, - fadeFromIndex: fadeFromIndexProp = snapPointsProp && snapPointsProp.length - 1, - ...withDefaults - } = { ...defaultProps, ...removeUndefined(props) } satisfies CreateVaulProps; - - const options = toWritableStores( - omit( - { - ...withDefaults, - snapPoints: snapPointsProp, - fadeFromIndex: fadeFromIndexProp, - }, - ...omittedOptions - ) - ); - - // keep a reference to the trigger element so we can refocus when it closes via the keyboard - const triggerRef = writable(undefined); - - const { onDrag: onDragProp, onRelease: onReleaseProp, onClose, onOpenChange } = withDefaults; - - const { - snapPoints, - fadeFromIndex, - fixed, - dismissible, - modal, - nested, - shouldScaleBackground, - scrollLockTimeout, - closeThreshold, - direction, - } = options; - - const openStore = writable(withDefaults.defaultOpen); - const isOpen = overridable(openStore, withDefaults.onOpenChange); - const hasBeenOpened = writable(false); - const visible = writable(false); - const justReleased = writable(false); - const overlayRef = writable(undefined); - const openTime = writable(null); - const keyboardIsOpen = writable(false); - const drawerRef = writable(undefined); - const drawerId = writable(undefined); - - let isDragging = false; - let dragStartTime: Date | null = null; - let isClosing = false; - let pointerStart = 0; - let dragEndTime: Date | null = null; - let lastTimeDragPrevented: Date | null = null; - let isAllowedToDrag = false; - let drawerHeightRef = get(drawerRef)?.getBoundingClientRect().height || 0; - let previousDiffFromInitial = 0; - let initialDrawerHeight = 0; - let nestedOpenChangeTimer: NodeJS.Timeout | null = null; - - const activeSnapPoint = overridable( - writable(withDefaults.defaultActiveSnapPoint), - withDefaults.onActiveSnapPointChange - ); - - const { - activeSnapPointIndex, - getPercentageDragged: getSnapPointsPercentageDragged, - onDrag: onDragSnapPoints, - onRelease: onReleaseSnapPoints, - shouldFade, - snapPointsOffset, - } = handleSnapPoints({ - snapPoints, - activeSnapPoint, - drawerRef, - fadeFromIndex, - overlayRef, - openTime, - direction, - }); - - const getContentStyle: Readable<(style?: string | null) => string> = derived( - [snapPointsOffset], - ([$snapPointsOffset]) => { - return (style: string | null = "") => { - if ($snapPointsOffset && $snapPointsOffset.length > 0) { - const styleProp = styleToString({ - "--snap-point-height": `${$snapPointsOffset[0]}px`, - }); - return style + styleProp; - } - - return style; - }; - } - ); - - effect([drawerRef], ([$drawerRef]) => { - if ($drawerRef) { - drawerId.set($drawerRef.id); - } - }); - - effect([isOpen], ([$open]) => { - // Prevent double clicks from closing multiple dialogs - sleep(100).then(() => { - const id = get(drawerId); - if ($open && id) { - openDrawerIds.update((prev) => { - if (prev.includes(id)) { - return prev; - } - prev.push(id); - return prev; - }); - } else { - openDrawerIds.update((prev) => prev.filter((id) => id !== id)); - } - }); - }); - - effect([isOpen], ([$isOpen]) => { - if (!$isOpen && get(shouldScaleBackground)) { - const id = setTimeout(() => { - reset(document.body, "background"); - }, 200); - - return () => clearTimeout(id); - } - }); - - // prevent scroll when the drawer is open - effect([isOpen], ([$isOpen]) => { - let unsub = () => {}; - - if ($isOpen) { - unsub = preventScroll(); - } - - return unsub; - }); - - const { restorePositionSetting } = handlePositionFixed({ isOpen, modal, nested, hasBeenOpened }); - - // Close the drawer on escape keydown - effect([drawerRef], ([$drawerRef]) => { - let unsub = noop; - - if ($drawerRef) { - unsub = handleEscapeKeydown($drawerRef, () => { - closeDrawer(true); - }); - } - - return () => { - unsub(); - }; - }); - - function openDrawer() { - if (isClosing) return; - hasBeenOpened.set(true); - isOpen.set(true); - } - - function onPress(event: SvelteEvent) { - const $drawerRef = get(drawerRef); - - if (!get(dismissible) && !get(snapPoints)) return; - if ($drawerRef && !$drawerRef.contains(event.target as Node)) return; - drawerHeightRef = $drawerRef?.getBoundingClientRect().height || 0; - - isDragging = true; - - dragStartTime = new Date(); - - // iOS doesn't trigger mouseUp after scrolling so we need to listen to touched in order to disallow dragging - if (isIOS()) { - window.addEventListener("touchend", () => (isAllowedToDrag = false), { once: true }); - } - // Ensure we maintain correct pointer capture even when going outside of the drawer - (event.target as HTMLElement).setPointerCapture(event.pointerId); - - pointerStart = isVertical(get(direction)) ? event.screenY : event.screenX; - } - - function shouldDrag(el: EventTarget, isDraggingInDirection: boolean) { - const $drawerRef = get(drawerRef); - let element = el as HTMLElement; - const highlightedText = window.getSelection()?.toString(); - const $direction = get(direction); - const swipeAmount = $drawerRef ? getTranslate($drawerRef, $direction) : null; - const date = new Date(); - - // Don't drag if the element has the `data-vaul-no-drag` attribute - if (element.hasAttribute("data-vaul-no-drag") || element.closest("[data-vaul-no-drag]")) { - return false; - } - - // Allow scrolling when animating - const $openTime = get(openTime); - - if ($openTime && date.getTime() - $openTime.getTime() < 500) { - return false; - } - - if (swipeAmount !== null) { - if ($direction === "bottom" || $direction === "right" ? swipeAmount > 0 : swipeAmount < 0) { - return true; - } - } - - if (swipeAmount !== null && swipeAmount > 0) { - return true; - } - - // Don't drag if there's highlighted text - if (highlightedText && highlightedText.length > 0) { - return false; - } - - const $scrollLockTimeout = get(scrollLockTimeout); - // Disallow dragging if drawer was scrolled within `scrollLockTimeout` - if ( - lastTimeDragPrevented && - date.getTime() - lastTimeDragPrevented.getTime() < $scrollLockTimeout && - swipeAmount === 0 - ) { - lastTimeDragPrevented = date; - return false; - } - - if (isDraggingInDirection) { - lastTimeDragPrevented = date; - - // We are dragging down so we should allow scrolling - return false; - } - - // Keep climbing up the DOM tree as long as there's a parent - while (element) { - // Check if the element is scrollable - if (element.scrollHeight > element.clientHeight) { - if (element.scrollTop !== 0) { - lastTimeDragPrevented = new Date(); - - // The element is scrollable and not scrolled to the top, so don't drag - return false; - } - - if (element.getAttribute("role") === "dialog") { - return true; - } - } - - // Move up to the parent element - element = element.parentNode as HTMLElement; - } - - // No scrollable parents not scrolled to the top found, so drag - return true; - } - - function onDrag(event: SvelteEvent) { - const $drawerRef = get(drawerRef); - if (!$drawerRef || !isDragging) return; - // We need to know how much of the drawer has been dragged in percentages so that we can transform background accordingly - const $direction = get(direction); - - const directionMultiplier = getDirectionMultiplier($direction); - - const draggedDistance = getDistanceMoved(pointerStart, $direction, event) * directionMultiplier; - const isDraggingInDirection = draggedDistance > 0; - - const $activeSnapPointIndex = get(activeSnapPointIndex); - const $snapPoints = get(snapPoints); - - // Disallow dragging down to close when first snap point is the active one and dismissible prop is set to false. - if ($snapPoints && $activeSnapPointIndex === 0 && !get(dismissible)) return; - if (!isAllowedToDrag && !shouldDrag(event.target as HTMLElement, isDraggingInDirection)) { - return; - } - - $drawerRef.classList.add(DRAG_CLASS); - // If shouldDrag gave true once after pressing down on the drawer, we set isAllowedToDrag to true and it will remain true until we let go, there's no reason to disable dragging mid way, ever, and that's the solution to it - isAllowedToDrag = true; - - set($drawerRef, { - transition: "none", - }); - - const $overlayRef = get(overlayRef); - - set($overlayRef, { - transition: "none", - }); - - if ($snapPoints) { - onDragSnapPoints({ draggedDistance }); - } - - // Run this only if snapPoints are not defined or if we are at the last snap point (highest one) - if (isDraggingInDirection && !$snapPoints) { - const dampenedDraggedDistance = dampenValue(draggedDistance); - - const translateValue = Math.min(dampenedDraggedDistance * -1, 0) * directionMultiplier; - - set($drawerRef, { - transform: isVertical($direction) - ? `translate3d(0, ${translateValue}px, 0)` - : `translate3d(${translateValue}px, 0, 0)`, - }); - return; - } - - // We need to capture last time when drag with scroll was triggered and have a timeout between - const absDraggedDistance = Math.abs(draggedDistance); - - let percentageDragged = absDraggedDistance / drawerHeightRef; - const snapPointPercentageDragged = getSnapPointsPercentageDragged( - absDraggedDistance, - isDraggingInDirection - ); - - if (snapPointPercentageDragged !== null) { - percentageDragged = snapPointPercentageDragged; - } - - const opacityValue = 1 - percentageDragged; - - const $fadeFromIndex = get(fadeFromIndex); - const $shouldFade = get(shouldFade); - - if ($shouldFade || ($fadeFromIndex && $activeSnapPointIndex === $fadeFromIndex - 1)) { - onDragProp?.(event, percentageDragged); - - set( - $overlayRef, - { - opacity: `${opacityValue}`, - transition: "none", - }, - true - ); - } - const wrapper = document.querySelector("[data-vaul-drawer-wrapper]"); - - if (wrapper && $overlayRef && get(shouldScaleBackground)) { - // Calculate percentageDragged as a fraction (0 to 1) - const scaleValue = Math.min(getScale() + percentageDragged * (1 - getScale()), 1); - const borderRadiusValue = 8 - percentageDragged * 8; - - const translateValue = Math.max(0, 14 - percentageDragged * 14); - - set( - wrapper, - { - borderRadius: `${borderRadiusValue}px`, - transform: isVertical($direction) - ? `scale(${scaleValue}) translate3d(0, ${translateValue}px, 0)` - : `scale(${scaleValue}) translate3d(${translateValue}px, 0, 0)`, - transition: "none", - }, - true - ); - } - - if (!$snapPoints) { - const translateValue = absDraggedDistance * directionMultiplier; - set($drawerRef, { - transform: isVertical($direction) - ? `translate3d(0, ${translateValue}px, 0)` - : `translate3d(${translateValue}px, 0, 0)`, - }); - } - } - - function scaleBackground(open: boolean, backgroundColor: string | undefined = "black") { - const wrapper = document.querySelector("[data-vaul-drawer-wrapper]"); - - if (!wrapper || !get(shouldScaleBackground)) return; - const $direction = get(direction); - - if (open) { - // setting original styles initially - set(document.body, { - background: document.body.style.backgroundColor || document.body.style.background, - }); - - // setting body styles, with cache ignored, so that we can get correct original styles in reset - set( - document.body, - { - background: backgroundColor, - }, - true - ); - - set(wrapper, { - borderRadius: `${BORDER_RADIUS}px`, - overflow: "hidden", - ...(isVertical($direction) - ? { - transform: `scale(${getScale()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`, - transformOrigin: "top", - } - : { - transform: `scale(${getScale()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`, - transformOrigin: "left", - }), - transitionProperty: "transform, border-radius", - transitionDuration: `${TRANSITIONS.DURATION}s`, - transitionTimingFunction: `cubic-bezier(${TRANSITIONS.EASE.join(",")})`, - }); - } else { - // Exit - reset(wrapper, "overflow"); - reset(wrapper, "transform"); - reset(wrapper, "borderRadius"); - set(wrapper, { - transitionProperty: "transform, border-radius", - transitionDuration: `${TRANSITIONS.DURATION}s`, - transitionTimingFunction: `cubic-bezier(${TRANSITIONS.EASE.join(",")})`, - }); - } - } - - effect( - [activeSnapPointIndex, snapPoints, snapPointsOffset], - ([$activeSnapPointIndex, $snapPoints, $snapPointsOffset]) => { - function onVisualViewportChange() { - const $drawerRef = get(drawerRef); - if (!$drawerRef) return; - const $keyboardIsOpen = get(keyboardIsOpen); - - const focusedElement = document.activeElement as HTMLElement; - if (isInput(focusedElement) || $keyboardIsOpen) { - const visualViewportHeight = window.visualViewport?.height || 0; - // This is the height of the keyboard - let diffFromInitial = window.innerHeight - visualViewportHeight; - const drawerHeight = $drawerRef.getBoundingClientRect().height || 0; - if (!initialDrawerHeight) { - initialDrawerHeight = drawerHeight; - } - const offsetFromTop = $drawerRef.getBoundingClientRect().top; - - // visualViewport height may change due to some subtle changes to the keyboard. Checking if the height changed by 60 or more will make sure that they keyboard really changed its open state. - if (Math.abs(previousDiffFromInitial - diffFromInitial) > 60) { - keyboardIsOpen.set(!$keyboardIsOpen); - } - - if ($snapPoints && $snapPoints.length > 0 && $snapPointsOffset && $activeSnapPointIndex) { - const activeSnapPointHeight = $snapPointsOffset[$activeSnapPointIndex] || 0; - diffFromInitial += activeSnapPointHeight; - } - - previousDiffFromInitial = diffFromInitial; - - // We don't have to change the height if the input is in view, when we are here we are in the opened keyboard state so we can correctly check if the input is in view - if (drawerHeight > visualViewportHeight || $keyboardIsOpen) { - const height = $drawerRef.getBoundingClientRect().height; - let newDrawerHeight = height; - - if (height > visualViewportHeight) { - newDrawerHeight = visualViewportHeight - WINDOW_TOP_OFFSET; - } - // When fixed, don't move the drawer upwards if there's space, but rather only change it's height so it's fully scrollable when the keyboard is open - if (get(fixed)) { - $drawerRef.style.height = `${height - Math.max(diffFromInitial, 0)}px`; - } else { - $drawerRef.style.height = `${Math.max( - newDrawerHeight, - visualViewportHeight - offsetFromTop - )}px`; - } - } else { - $drawerRef.style.height = `${initialDrawerHeight}px`; - } - - if ($snapPoints && $snapPoints.length > 0 && !$keyboardIsOpen) { - $drawerRef.style.bottom = `0px`; - } else { - // Negative bottom value would never make sense - $drawerRef.style.bottom = `${Math.max(diffFromInitial, 0)}px`; - } - } - } - - let removeListener = noop; - - if (window.visualViewport) { - removeListener = addEventListener(window.visualViewport, "resize", onVisualViewportChange); - } - - return () => { - removeListener(); - }; - } - ); - - function closeDrawer(withKeyboard: boolean = false) { - if (isClosing) return; - - const $drawerRef = get(drawerRef); - if (!$drawerRef) return; - const $direction = get(direction); - - onClose?.(); - set($drawerRef, { - transform: isVertical($direction) - ? `translate3d(0, ${$direction === "bottom" ? "100%" : "-100%"}, 0)` - : `translate3d(${$direction === "right" ? "100%" : "-100%"}, 0, 0)`, - transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, - }); - - set(get(overlayRef), { - opacity: "0", - transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, - }); - - scaleBackground(false); - - isClosing = true; - setTimeout(() => { - visible.set(false); - isOpen.set(false); - isClosing = false; - if (withKeyboard) { - get(triggerRef)?.focus(); - } - }, 300); - - const $snapPoints = get(snapPoints); - - setTimeout(() => { - reset(document.documentElement, "scrollBehavior"); - if ($snapPoints) { - activeSnapPoint.set($snapPoints[0]); - } - }, TRANSITIONS.DURATION * 1000); // seconds to ms - } - - // This can be done much better - - effect([isOpen], ([$isOpen]) => { - if ($isOpen) { - hasBeenOpened.set(true); - } else { - closeDrawer(); - } - }); - - function resetDrawer() { - const $drawerRef = get(drawerRef); - if (!$drawerRef) return; - const $overlayRef = get(overlayRef); - const wrapper = document.querySelector("[data-vaul-drawer-wrapper]"); - const $direction = get(direction); - const currentSwipeAmount = getTranslate($drawerRef, $direction); - - set($drawerRef, { - transform: "translate3d(0, 0, 0)", - transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, - }); - - set($overlayRef, { - transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, - opacity: "1", - }); - - const $shouldScaleBackground = get(shouldScaleBackground); - const $isOpen = get(isOpen); - - // Don't reset background if swiped upwards - if ($shouldScaleBackground && currentSwipeAmount && currentSwipeAmount > 0 && $isOpen) { - set( - wrapper, - { - borderRadius: `${BORDER_RADIUS}px`, - overflow: "hidden", - ...(isVertical($direction) - ? { - transform: `scale(${getScale()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`, - transformOrigin: "top", - } - : { - transform: `scale(${getScale()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`, - transformOrigin: "left", - }), - transitionProperty: "transform, border-radius", - transitionDuration: `${TRANSITIONS.DURATION}s`, - transitionTimingFunction: `cubic-bezier(${TRANSITIONS.EASE.join(",")})`, - }, - true - ); - } - } - - function onRelease(event: SvelteEvent) { - const $drawerRef = get(drawerRef); - if (!isDragging || !$drawerRef) return; - - if (isAllowedToDrag && isInput(event.target as HTMLElement)) { - // If we were just dragging, prevent focusing on inputs etc. on release - (event.target as HTMLInputElement).blur(); - } - $drawerRef.classList.remove(DRAG_CLASS); - isAllowedToDrag = false; - isDragging = false; - - dragEndTime = new Date(); - const $direction = get(direction); - const swipeAmount = getTranslate($drawerRef, $direction); - - if ( - (event.target && !shouldDrag(event.target, false)) || - !swipeAmount || - Number.isNaN(swipeAmount) - ) - return; - - if (dragStartTime === null) return; - - const timeTaken = dragEndTime.getTime() - dragStartTime.getTime(); - const distMoved = getDistanceMoved(pointerStart, $direction, event); - const velocity = Math.abs(distMoved) / timeTaken; - - if (velocity > 0.05) { - // `justReleased` is needed to prevent the drawer from focusing on an input when the drag ends, as it's not the intent most of the time. - justReleased.set(true); - - setTimeout(() => { - justReleased.set(false); - }, 200); - } - - if (get(snapPoints)) { - onReleaseSnapPoints({ - draggedDistance: distMoved * getDirectionMultiplier($direction), - closeDrawer, - velocity, - dismissible: get(dismissible), - }); - onReleaseProp?.(event, true); - return; - } - - // Moved upwards, don't do anything - if ($direction === "bottom" || $direction === "right" ? distMoved > 0 : distMoved < 0) { - resetDrawer(); - onReleaseProp?.(event, true); - return; - } - - if (velocity > VELOCITY_THRESHOLD) { - closeDrawer(); - onReleaseProp?.(event, false); - return; - } - - const visibleDrawerHeight = Math.min( - get(drawerRef)?.getBoundingClientRect().height ?? 0, - window.innerHeight - ); - - if (swipeAmount >= visibleDrawerHeight * get(closeThreshold)) { - closeDrawer(); - onReleaseProp?.(event, false); - return; - } - - onReleaseProp?.(event, true); - resetDrawer(); - } - - effect([isOpen], ([$isOpen]) => { - // Trigger enter animation without using CSS animation - if (!$isOpen) return; - if (isBrowser) { - set(document.documentElement, { - scrollBehavior: "auto", - }); - } - openTime.set(new Date()); - scaleBackground(true, props.backgroundColor); - }); - - effect([visible], ([$visible]) => { - if (!$visible) return; - - // Find all scrollable elements inside our drawer and assign a class to it so that we can disable overflow when dragging to prevent pointermove not being captured - const $drawerRef = get(drawerRef); - if (!$drawerRef) return; - - const children = $drawerRef.querySelectorAll("*"); - children.forEach((child: Element) => { - const htmlChild = child as HTMLElement; - if ( - htmlChild.scrollHeight > htmlChild.clientHeight || - htmlChild.scrollWidth > htmlChild.clientWidth - ) { - htmlChild.classList.add("vaul-scrollable"); - } - }); - }); - - function onNestedOpenChange(o: boolean) { - const $drawerRef = get(drawerRef); - const scale = o ? (window.innerWidth - NESTED_DISPLACEMENT) / window.innerWidth : 1; - const y = o ? -NESTED_DISPLACEMENT : 0; - - if (nestedOpenChangeTimer) { - window.clearTimeout(nestedOpenChangeTimer); - } - - set($drawerRef, { - transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`, - transform: `scale(${scale}) translate3d(0, ${y}px, 0)`, - }); - - if (!o && $drawerRef) { - nestedOpenChangeTimer = setTimeout(() => { - const $direction = get(direction); - const translateValue = getTranslate($drawerRef, $direction); - set($drawerRef, { - transition: "none", - transform: isVertical($direction) - ? `translate3d(0, ${translateValue}px, 0)` - : `translate3d(${translateValue}px, 0, 0)`, - }); - }, 500); - } - } - - function onNestedDrag( - _: SvelteEvent, - percentageDragged: number - ) { - if (percentageDragged < 0) return; - const initialScale = (window.innerWidth - NESTED_DISPLACEMENT) / window.innerWidth; - const newScale = initialScale + percentageDragged * (1 - initialScale); - const newTranslate = -NESTED_DISPLACEMENT + percentageDragged * NESTED_DISPLACEMENT; - const $direction = get(direction); - - set(get(drawerRef), { - transform: isVertical($direction) - ? `scale(${newScale}) translate3d(0, ${newTranslate}px, 0)` - : `scale(${newScale}) translate3d(${newTranslate}px, 0, 0)`, - transition: "none", - }); - } - - function onNestedRelease( - _: SvelteEvent, - o: boolean - ) { - const $direction = get(direction); - const dim = isVertical($direction) ? window.innerHeight : window.innerWidth; - const scale = o ? (dim - NESTED_DISPLACEMENT) / dim : 1; - const translate = o ? -NESTED_DISPLACEMENT : 0; - - if (o) { - set(get(drawerRef), { - transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join( - "," - )})`, - transform: isVertical($direction) - ? `scale(${scale}) translate3d(0, ${translate}px, 0)` - : `scale(${scale}) translate3d(${translate}px, 0, 0)`, - }); - } - } - - return { - states: { - isOpen, - hasBeenOpened, - snapPoints, - activeSnapPoint, - snapPointsOffset, - keyboardIsOpen, - shouldFade, - visible, - drawerId, - openDrawerIds, - }, - helpers: { - getContentStyle, - }, - methods: { - closeDrawer, - onOpenChange, - onPress, - onRelease, - onDrag, - scaleBackground, - onNestedDrag, - onNestedOpenChange, - onNestedRelease, - restorePositionSetting, - openDrawer, - }, - refs: { - drawerRef, - overlayRef, - triggerRef, - }, - options, - }; -} - -export function dampenValue(v: number) { - return 8 * (Math.log(v + 1) - 2); -} - -function getScale() { - return (window.innerWidth - WINDOW_TOP_OFFSET) / window.innerWidth; -} - -function getDistanceMoved( - pointerStart: number, - direction: DrawerDirection, - event: SvelteEvent -) { - if (event.type.startsWith("touch")) { - return getDistanceMovedForTouch(pointerStart, direction, event as TouchEvent); - } else { - return getDistanceMovedForPointer(pointerStart, direction, event as PointerEvent); - } -} - -function getDistanceMovedForPointer( - pointerStart: number, - direction: DrawerDirection, - event: PointerEvent | MouseEvent -) { - return pointerStart - (isVertical(direction) ? event.screenY : event.screenX); -} - -function getDistanceMovedForTouch( - pointerStart: number, - direction: DrawerDirection, - event: TouchEvent -) { - return ( - pointerStart - - (isVertical(direction) ? event.changedTouches[0].screenY : event.changedTouches[0].screenX) - ); -} - -function getDirectionMultiplier(direction: DrawerDirection) { - return direction === "bottom" || direction === "right" ? 1 : -1; -} diff --git a/src/lib/vaul/components/close-wrapper.svelte b/src/lib/vaul/components/close-wrapper.svelte deleted file mode 100644 index e28a560..0000000 --- a/src/lib/vaul/components/close-wrapper.svelte +++ /dev/null @@ -1,45 +0,0 @@ - - - diff --git a/src/lib/vaul/components/close.svelte b/src/lib/vaul/components/close.svelte deleted file mode 100644 index 57e4c0f..0000000 --- a/src/lib/vaul/components/close.svelte +++ /dev/null @@ -1,57 +0,0 @@ - - -{#if asChild} - { - e.preventDefault(); - closeDrawer(); - }} - on:keydown={(e) => { - if (e.detail.originalEvent.key === "Enter" || e.detail.originalEvent.key === " ") { - e.preventDefault(); - closeDrawer(true); - } - }} - {...$$restProps} - {asChild} - let:builder - > - - - - -{:else} - { - e.preventDefault(); - closeDrawer(); - }} - on:keydown={(e) => { - if (e.detail.originalEvent.key === "Enter" || e.detail.originalEvent.key === " ") { - e.preventDefault(); - closeDrawer(true); - } - }} - {...$$restProps} - {asChild} - let:builder - > - - -{/if} diff --git a/src/lib/vaul/components/content.svelte b/src/lib/vaul/components/content.svelte deleted file mode 100644 index 1c6c8ec..0000000 --- a/src/lib/vaul/components/content.svelte +++ /dev/null @@ -1,46 +0,0 @@ - - - { - onPress(e); - }} - on:pointerup={(e) => { - onRelease(e); - }} - on:pointermove={(e) => { - onDrag(e); - }} - on:touchend={(e) => { - onRelease(e); - }} - on:touchmove={(e) => { - onDrag(e); - }} - data-vaul-drawer="" - data-vaul-drawer-direction={$direction} - data-vaul-drawer-visible={$visible ? "true" : "false"} - {...$$restProps} -> - - - diff --git a/src/lib/vaul/components/index.ts b/src/lib/vaul/components/index.ts deleted file mode 100644 index fbbd63e..0000000 --- a/src/lib/vaul/components/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Dialog as DialogPrimitive } from "bits-ui"; -export { default as Root } from "./root.svelte"; -export { default as Content } from "./content.svelte"; -export { default as Overlay } from "./overlay.svelte"; -export { default as NestedRoot } from "./nested-root.svelte"; -export { default as Close } from "./close.svelte"; -export { default as Trigger } from "./trigger.svelte"; - -const Portal = DialogPrimitive.Portal; -const Title = DialogPrimitive.Title; -const Description = DialogPrimitive.Description; - -export { Portal, Title, Description }; - -export * from "./types.js"; diff --git a/src/lib/vaul/components/nested-root.svelte b/src/lib/vaul/components/nested-root.svelte deleted file mode 100644 index e191510..0000000 --- a/src/lib/vaul/components/nested-root.svelte +++ /dev/null @@ -1,41 +0,0 @@ - - - { - onNestedOpenChange(false); - }} - onDrag={(e, p) => { - onNestedDrag(e, p); - onDrag?.(e, p); - }} - onOpenChange={(o) => { - if (o) { - onNestedOpenChange(o); - } - onOpenChange?.(o); - }} - onRelease={onNestedRelease} - {...$$restProps} -> - - diff --git a/src/lib/vaul/components/overlay.svelte b/src/lib/vaul/components/overlay.svelte deleted file mode 100644 index 1e5658e..0000000 --- a/src/lib/vaul/components/overlay.svelte +++ /dev/null @@ -1,26 +0,0 @@ - - - diff --git a/src/lib/vaul/components/root.svelte b/src/lib/vaul/components/root.svelte deleted file mode 100644 index 183876a..0000000 --- a/src/lib/vaul/components/root.svelte +++ /dev/null @@ -1,267 +0,0 @@ - - - { - onOpenChange?.(o); - if (!o) { - closeDrawer(); - } else if (o) { - openDrawer(); - } - }} - onOutsideClick={(e) => { - if (!closeOnOutsideClick) return; - - onOutsideClick?.(e); - - if (e?.defaultPrevented) return; - - if ($keyboardIsOpen) { - keyboardIsOpen.set(false); - } - e.preventDefault(); - if (!$localDismissible) { - return; - } - const $openDialogIds = get(openDrawerIds); - const isLast = $openDialogIds[$openDialogIds.length - 1] === get(drawerId); - if (isLast) { - onOpenChange?.(false); - closeDrawer(); - } - }} - {...$$restProps} -> - - - - diff --git a/src/lib/vaul/components/trigger-wrapper.svelte b/src/lib/vaul/components/trigger-wrapper.svelte deleted file mode 100644 index 9812eb2..0000000 --- a/src/lib/vaul/components/trigger-wrapper.svelte +++ /dev/null @@ -1,29 +0,0 @@ - - - diff --git a/src/lib/vaul/components/trigger.svelte b/src/lib/vaul/components/trigger.svelte deleted file mode 100644 index daa85cf..0000000 --- a/src/lib/vaul/components/trigger.svelte +++ /dev/null @@ -1,31 +0,0 @@ - - -{#if asChild} - - - - - -{:else} - - - -{/if} diff --git a/src/lib/vaul/components/types.ts b/src/lib/vaul/components/types.ts deleted file mode 100644 index 30b17cd..0000000 --- a/src/lib/vaul/components/types.ts +++ /dev/null @@ -1,122 +0,0 @@ -import type { Dialog as DialogPrimitive } from "bits-ui"; -import type { CreateVaulProps } from "$lib/internal/vaul.js"; -import type { DrawerDirection, OnChangeFn } from "$lib/internal/types.js"; - -export type Props = { - /** - * The open state of the Drawer. You can bind to this value - * to programatically open/close the Drawer. - * - * @default false - */ - open?: CreateVaulProps["defaultOpen"] & {}; - - /** - * A function called when the open state of the Drawer changes. - */ - onOpenChange?: OnChangeFn; - - /** - * Number between 0 and 1 that determines when the drawer should be closed. - * - * Example: threshold of 0.5 would close the drawer if the user swiped for - * 50% of the height of the drawer or more. - */ - closeThreshold?: CreateVaulProps["closeThreshold"] & {}; - - /** - * Duration in ms for which the drawer is not draggable after - * scrolling content inside of the drawer. - * - * @default 500 - */ - scrollLockTimeout?: CreateVaulProps["scrollLockTimeout"] & {}; - - /** - * Array of numbers from 0 to 100 that corresponds to % of the screen a given - * snap point should take up. Should go from least visible. - * - * Example [0.2, 0.5, 0.8]. You can also use px values, which doesn't take - * screen height into account. - */ - snapPoints?: CreateVaulProps["snapPoints"] & {}; - - /** - * Index of a `snapPoint` from which the overlay fade should be applied. - * - * @default snapPoints[snapPoints.length - 1] (last snap point) - */ - fadeFromIndex?: CreateVaulProps["fadeFromIndex"] & {}; - - /** - * A callback function that is called when the drawer is dragged - */ - onDrag?: CreateVaulProps["onDrag"] & {}; - - /** - * A callback function that is called when the drawer is released - */ - onRelease?: CreateVaulProps["onRelease"] & {}; - - /** - * Whether this drawer is nested inside another drawer. - * - * @default false - */ - nested?: CreateVaulProps["nested"] & {}; - - /** - * A callback function that is called when the drawer is - * about to close. - */ - onClose?: CreateVaulProps["onClose"] & {}; - - /** - * Whether the background should scale down when the drawer is open. - * - * @default false - */ - shouldScaleBackground?: CreateVaulProps["shouldScaleBackground"] & {}; - - /** - * The background color of the body when the drawer is open and `shouldScaleBackground` is true. - * - * @default "black" - */ - backgroundColor?: CreateVaulProps["backgroundColor"] & {}; - - /** - * The active snap point of the drawer. You can bind to this value to - * programatically change the active snap point. - */ - activeSnapPoint?: CreateVaulProps["defaultActiveSnapPoint"]; - - /** - * A function called when the active snap point of the Drawer changes. - */ - onActiveSnapPointChange?: OnChangeFn; - - /** - * Whether the drawer is able to be dismissed naturally. - * If `true` the user can swipe or press outside the drawer to close it, - * if `false` you must provide another way to close the drawer, via - * programmatic control. - * - * @default true - */ - dismissible?: boolean; - - /** - * The direction from which the drawer should open. - * - * @default 'bottom' - * - */ - direction?: DrawerDirection; -} & DialogPrimitive.Props; - -export type OverlayProps = DialogPrimitive.OverlayProps; -export type ContentProps = DialogPrimitive.ContentProps; -export type TitleProps = DialogPrimitive.TitleProps; -export type DescriptionProps = DialogPrimitive.DescriptionProps; -export type CloseProps = DialogPrimitive.CloseProps; diff --git a/src/lib/vaul/components/visible.svelte b/src/lib/vaul/components/visible.svelte deleted file mode 100644 index 8249067..0000000 --- a/src/lib/vaul/components/visible.svelte +++ /dev/null @@ -1,21 +0,0 @@ - diff --git a/src/lib/vaul/ctx.ts b/src/lib/vaul/ctx.ts deleted file mode 100644 index 0ec9437..0000000 --- a/src/lib/vaul/ctx.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { getOptionUpdater } from "$lib/internal/helpers/options.js"; -import { createVaul, type CreateVaulProps } from "$lib/internal/vaul.js"; -import { getContext, setContext } from "svelte"; - -const VAUL_ROOT = Symbol("VAUL_ROOT"); - -export function setCtx(props: CreateVaulProps = {}) { - const vaul = createVaul(props); - const updateOption = getOptionUpdater(vaul.options); - - setContext(VAUL_ROOT, { ...vaul, updateOption }); - - return { - ...vaul, - updateOption, - }; -} - -export function getCtx() { - return getContext>(VAUL_ROOT); -} diff --git a/src/lib/vaul/index.ts b/src/lib/vaul/index.ts deleted file mode 100644 index d9b2266..0000000 --- a/src/lib/vaul/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type { DrawerDirection } from "../internal/types.js"; -export * as Drawer from "./components/index.js"; -export type { DrawerDirection }; diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte deleted file mode 100644 index d7ce593..0000000 --- a/src/routes/+page.svelte +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/routes/examples/scrollable-drawer.svelte b/src/routes/examples/scrollable-drawer.svelte deleted file mode 100644 index 9596b97..0000000 --- a/src/routes/examples/scrollable-drawer.svelte +++ /dev/null @@ -1,50 +0,0 @@ - - - - - Open Scrollable Drawer - - - - -
- -

- But I must explain to you how all this mistaken idea of denouncing pleasure and praising - pain was born and I will give you a complete account of the system, and expound the actual - teachings of the great explorer of the truth, the master-builder of human happiness. No - one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because - those who do not know how to pursue pleasure rationally encounter consequences that are - extremely painful. Nor again is there anyone who loves or pursues or desires to obtain - pain of itself, because it is pain, but because occasionally circumstances occur in which - toil and pain can procure him some great pleasure. To take a trivial example, which of us - ever undertakes laborious physical exercise, except to obtain some advantage from it? But - who has any right to find fault with a man who chooses to enjoy a pleasure that has no - annoying consequences, or one who avoids a pain that produces no resultant pleasure? -

- -

- On the other hand, we denounce with righteous indignation and dislike men who are so - beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, - that they cannot foresee the pain and trouble that are bound to ensue; and equal blame - belongs to those who fail in their duty through weakness of will, which is the same as - saying through shrinking from toil and pain. These cases are perfectly simple and easy to - distinguish. In a free hour, when our power of choice is untrammelled and when nothing - prevents our being able to do what we like best, every pleasure is to be welcomed and - every pain avoided. But in certain circumstances and owing to the claims of duty or the - obligations of business it will frequently occur that pleasures have to be repudiated and - annoyances accepted. The wise man therefore always holds in these matters to this - principle of selection: he rejects pleasures to secure other greater pleasures, or else he - endures pains to avoid worse pains. -

- -
-
-
-
diff --git a/static/favicon.svg b/static/favicon.svg deleted file mode 100644 index 00f22b5..0000000 --- a/static/favicon.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/static/og.jpg b/static/og.jpg deleted file mode 100644 index cc6f740..0000000 Binary files a/static/og.jpg and /dev/null differ