Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
feat(ci): new test-site app + updated jest tests
delong38456ab738b6f
diff --git a/.github/workflows/npm-audit.yml b/.github/workflows/npm-audit.ymlindex a1522b86e..c13f33cf7 100644--- a/.github/workflows/npm-audit.yml+++ b/.github/workflows/npm-audit.yml@@ -21,4 +21,5 @@ jobs:pnpm dlx audit-ci@^7 --directory apps/js-sdk --config apps/js-sdk/audit-ci.jsoncpnpm dlx audit-ci@^7 --directory apps/js-sdk/firecrawl --config apps/js-sdk/firecrawl/audit-ci.jsoncpnpm dlx audit-ci@^7 --directory apps/test-suite --config apps/test-suite/audit-ci.jsonc- pnpm dlx audit-ci@^7 --directory apps/ui/ingestion-ui --config apps/ui/ingestion-ui/audit-ci.jsonc\ No newline at end of file+ pnpm dlx audit-ci@^7 --directory apps/ui/ingestion-ui --config apps/ui/ingestion-ui/audit-ci.jsonc+ pnpm dlx audit-ci@^7 --directory apps/test-site --config apps/test-site/audit-ci.jsoncdiff --git a/.github/workflows/test-server.yml b/.github/workflows/test-server.ymlindex c176aa55c..58e95e022 100644--- a/.github/workflows/test-server.yml+++ b/.github/workflows/test-server.yml@@ -5,6 +5,10 @@ on:branches:- main+concurrency:+ group: ci=${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true+jobs:audit:runs-on: ubuntu-latest@@ -18,41 +22,44 @@ jobs:run: |pnpm dlx audit-ci@^7 --directory apps/api --config apps/api/audit-ci.jsoncpnpm dlx audit-ci@^7 --directory apps/playwright-service-ts --config apps/playwright-service-ts/audit-ci.jsonc- build-images:- name: Build images- runs-on: big-runner- needs: audit- steps:- - uses: actions/checkout@v5- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v3- - name: Build API image- run: |- docker buildx build \- -t firecrawl/firecrawl:latest \- --cache-from type=gha \- --cache-to type=gha,mode=max \- --load \- ./apps/api- - name: Build Playwright image- run: |- docker buildx build \- -t firecrawl/playwright-service:latest \- --cache-from type=gha \- --cache-to type=gha,mode=max \- --load \- ./apps/playwright-service-ts- test:+ pnpm dlx audit-ci@^7 --directory apps/test-site --config apps/test-site/audit-ci.jsonc++ # build-images:+ # name: Build images+ # runs-on: big-runner+ # needs: audit+ # steps:+ # - uses: actions/checkout@v5+ # - name: Set up Docker Buildx+ # uses: docker/setup-buildx-action@v3+ # - name: Build API image+ # run: |+ # docker buildx build \+ # -t firecrawl/firecrawl:latest \+ # --cache-from type=gha \+ # --cache-to type=gha,mode=max \+ # --load \+ # ./apps/api+ # - name: Build Playwright image+ # run: |+ # docker buildx build \+ # -t firecrawl/playwright-service:latest \+ # --cache-from type=gha \+ # --cache-to type=gha,mode=max \+ # --load \+ # ./apps/playwright-service-ts++ self-host:name: Self-hosted environment testsstrategy:matrix:- ai: ["openai", "no-ai"]- search: ["searxng", "google"]engine: ["playwright", "fetch"]- # proxy: ["proxy", "no-proxy"]- proxy: ["proxy"]+ engine: ["fetch"]+ proxy: ["proxy", "no-proxy"]+ search: ["searxng", "google"]+ ai: ["openai", "no-ai"]fail-fast: false- runs-on: big-runner+ runs-on: big-runner # ubuntu-latestneeds: auditservices:redis:@@ -60,6 +67,9 @@ jobs:ports:- 6379:6379env:+ HOST: 0.0.0.0+ TEST_SUITE_SELF_HOSTED: true+ TEST_SUITE_WEBSITE: ${{ matrix.proxy == 'proxy' && secrets.TEST_SUITE_WEBSITE || 'http://127.0.0.1:4321' }}OPENAI_API_KEY: ${{ matrix.ai == 'openai' && secrets.OPENAI_API_KEY || '' }}SEARXNG_ENDPOINT: ${{ matrix.search == 'searxng' && 'http://localhost:3434' || '' }}PLAYWRIGHT_MICROSERVICE_URL: ${{ matrix.engine == 'playwright' && 'http://localhost:3003/scrape' || '' }}@@ -67,28 +77,85 @@ jobs:PROXY_USERNAME: ${{ matrix.proxy == 'proxy' && secrets.PROXY_USERNAME || '' }}PROXY_PASSWORD: ${{ matrix.proxy == 'proxy' && secrets.PROXY_PASSWORD || '' }}NUQ_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres- TEST_SUITE_SELF_HOSTED: true- HOST: 0.0.0.0+ NUQ_WORKER_COUNT: 2+ USE_GO_MARKDOWN_PARSER: true+ ALLOW_LOCAL_WEBHOOKS: truesteps:- uses: actions/checkout@v5- - name: Run Docker Postgres- run: |- docker build -t firecrawl/nuq-postgres:latest ./apps/nuq-postgres- docker run -d -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres --name postgres firecrawl/nuq-postgres:latest- - name: Install pnpm- uses: pnpm/action-setup@v4++ - uses: pnpm/action-setup@v4with:version: 10- - name: Set up Node.js- uses: actions/setup-node@v4++ - run: pnpm config set store-dir ~/.pnpm-store+ - run: mkdir -p ~/.pnpm-store++ - uses: actions/setup-node@v6with:- node-version: '22'- cache: 'pnpm'- cache-dependency-path: './apps/api/pnpm-lock.yaml'- - name: Install dependencies+ node-version: 22+ cache: pnpm+ cache-dependency-path: |+ apps/api/pnpm-lock.yaml+ apps/test-site/pnpm-lock.yaml+ apps/playwright-service-ts/pnpm-lock.yaml++ - run: pnpm fetch+ working-directory: apps/api+ - run: pnpm fetch+ working-directory: apps/test-site++ - name: Restore native lib+ id: napi_restore+ uses: actions/cache/restore@v4+ with:+ path: |+ apps/api/native/*.node+ apps/api/native/index.js+ apps/api/native/index.d.ts+ # note: this key is not ideal, need to find a better solution+ key: ${{ runner.os }}-napi-${{ hashFiles('apps/api/native/Cargo.toml', 'apps/api/native/package.json', 'apps/api/native/src/**') }}++ - name: Build native lib+ if: steps.napi_restore.outputs.cache-hit != 'true'run: pnpm install- working-directory: ./apps/api- - uses: actions-rust-lang/setup-rust-toolchain@v1+ working-directory: apps/api/native++ - name: Cache native lib+ if: steps.napi_restore.outputs.cache-hit != 'true'+ uses: actions/cache/save@v4+ with:+ path: |+ apps/api/native/*.node+ apps/api/native/index.js+ apps/api/native/index.d.ts+ key: ${{ steps.napi_restore.outputs.cache-primary-key }}++ - uses: actions/setup-go@v6+ with:+ go-version: 1.24+ cache-dependency-path: apps/api/sharedLibs/go-html-to-md/go.sum++ - name: Restore Go lib+ id: golib_restore+ uses: actions/cache/restore@v4+ with:+ path: apps/api/sharedLibs/go-html-to-md/libhtml-to-markdown.so+ key: ${{ runner.os }}-golib-${{ hashFiles('apps/api/sharedLibs/go-html-to-md/go.sum', 'apps/api/sharedLibs/go-html-to-md/*.go') }}++ - name: Build go-html-to-md+ if: steps.golib_restore.outputs.cache-hit != 'true'+ run: |+ cd apps/api/sharedLibs/go-html-to-md+ go mod tidy+ go build -o libhtml-to-markdown.so -buildmode=c-shared html-to-markdown.go++ - name: Cache Go lib+ if: steps.golib_restore.outputs.cache-hit != 'true'+ uses: actions/cache/save@v4+ with:+ path: apps/api/sharedLibs/go-html-to-md/libhtml-to-markdown.so+ key: ${{ steps.golib_restore.outputs.cache-primary-key }}+- name: Install Playwright dependenciesif: matrix.engine == 'playwright'run: |@@ -96,17 +163,7 @@ jobs:pnpm exec playwright install-depspnpm exec playwright installworking-directory: ./apps/playwright-service-ts- - name: Set up Go- uses: actions/setup-go@v5- with:- go-version: '1.24'- cache-dependency-path: ./apps/api/sharedLibs/go-html-to-md/go.sum- - name: Build go-html-to-md- run: |- go mod tidy- go build -o libhtml-to-markdown.so -buildmode=c-shared html-to-markdown.go- chmod +x libhtml-to-markdown.so- working-directory: ./apps/api/sharedLibs/go-html-to-md+- name: Set up SearXNGif: matrix.search == 'searxng'run: |@@ -121,145 +178,175 @@ jobs:docker run -d -p 3434:8080 -v "${PWD}/searxng:/etc/searxng" --name searxng searxng/searxngpnpx wait-on tcp:3434 -t 30sworking-directory: ./++ - name: Install API dependencies+ run: pnpm install --frozen-lockfile --ignore-scripts+ working-directory: apps/api+ env:+ npm_config_ignore_scripts: "true"++ - name: Install test site dependencies+ run: pnpm install --frozen-lockfile+ working-directory: apps/test-site++ - name: Build + serve test site+ run: |+ pnpm build+ pnpm preview --port 4321 --strictPort --host 127.0.0.1 > test-site.log 2>&1 &+ pnpx wait-on tcp:4321 -t 20s+ working-directory: apps/test-site+- name: Start playwrightif: matrix.engine == 'playwright'- run: pnpm run dev > playwright.log 2>&1 &+ run: |+ pnpm run dev > playwright.log 2>&1 &+ pnpx wait-on tcp:3003 -t 15sworking-directory: ./apps/playwright-service-tsenv:PORT: 3003- - name: Wait for playwright- if: matrix.engine == 'playwright'- run: pnpx wait-on tcp:3003 -t 15s- - name: Start the application and run snippet tests++ - name: Run Docker Postgres+ run: |+ docker build -t firecrawl/nuq-postgres:latest ./apps/nuq-postgres+ docker run -d -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres --name postgres firecrawl/nuq-postgres:latest++ - name: Run testsrun: pnpm harness pnpm test:snips- working-directory: ./apps/api+ working-directory: apps/api+ env:+ npm_config_ignore_scripts: "true" # required currently to prevent re-building cached native lib+- name: Copy log filesif: always()run: |mkdir -p logscp ./apps/api/firecrawl.log logs/firecrawl.log+- name: Copy SearXNG logsif: always() && matrix.search == 'searxng'run: docker logs searxng > logs/searxng.log && docker kill searxng+- name: Copy Playwright logsif: always() && matrix.engine == 'playwright'run: cp ./apps/playwright-service-ts/playwright.log logs/playwright.log+- name: Zip logsif: always()run: |cd logszip -r logs.zip ./*+- uses: actions/upload-artifact@v4if: always()with:name: Logs (kubernetes, ${{ matrix.ai }}, ${{ matrix.search }}, ${{ matrix.engine }}, ${{ matrix.proxy }})path: logs/logs.zip- prod-test:- name: Production environment tests- runs-on: big-runner- needs: audit- services:- redis:- image: redis- ports:- - 6379:6379- rabbitmq:- image: rabbitmq- ports:- - 5672:5672- env:- BULL_AUTH_KEY: ${{ secrets.BULL_AUTH_KEY }}- OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}- REDIS_URL: ${{ secrets.REDIS_URL }}- SUPABASE_ANON_TOKEN: ${{ secrets.SUPABASE_ANON_TOKEN }}- SUPABASE_SERVICE_TOKEN: ${{ secrets.SUPABASE_SERVICE_TOKEN }}- SUPABASE_URL: ${{ secrets.SUPABASE_URL }}- SUPABASE_REPLICA_URL: ${{ secrets.SUPABASE_REPLICA_URL }}- INDEX_SUPABASE_SERVICE_TOKEN: ${{ secrets.INDEX_SUPABASE_SERVICE_TOKEN }}- INDEX_SUPABASE_ANON_TOKEN: ${{ secrets.INDEX_SUPABASE_ANON_TOKEN }}- INDEX_SUPABASE_URL: ${{ secrets.INDEX_SUPABASE_URL }}- TEST_API_KEY: ${{ secrets.TEST_API_KEY }}- TEST_TEAM_ID: ${{ secrets.TEST_TEAM_ID }}- TEST_API_KEY_CONCURRENCY: ${{ secrets.TEST_API_KEY_CONCURRENCY }}- TEST_TEAM_ID_CONCURRENCY: ${{ secrets.TEST_TEAM_ID_CONCURRENCY }}- TEST_API_KEY_ZDR: ${{ secrets.TEST_API_KEY_ZDR }}- TEST_TEAM_ID_ZDR: ${{ secrets.TEST_TEAM_ID_ZDR }}- FIRE_ENGINE_BETA_URL: ${{ secrets.FIRE_ENGINE_BETA_URL }}- FIRE_ENGINE_STAGING_URL: ${{ secrets.FIRE_ENGINE_STAGING_URL }}- USE_DB_AUTHENTICATION: true- SERPER_API_KEY: ${{ secrets.SERPER_API_KEY }}- ENV: ${{ secrets.ENV }}- RUNPOD_MU_POD_ID: ${{ secrets.RUNPOD_MU_POD_ID }}- RUNPOD_MUV2_POD_ID: ${{ secrets.RUNPOD_MUV2_POD_ID }}- RUNPOD_MU_API_KEY: ${{ secrets.RUNPOD_MU_API_KEY }}- GCS_CREDENTIALS: ${{ secrets.GCS_CREDENTIALS }}- GCS_BUCKET_NAME: ${{ secrets.GCS_BUCKET_NAME }}- GCS_INDEX_BUCKET_NAME: ${{ secrets.GCS_INDEX_BUCKET_NAME }}- GCS_MEDIA_BUCKET_NAME: ${{ secrets.GCS_MEDIA_BUCKET_NAME }}- GOOGLE_GENERATIVE_AI_API_KEY: ${{ secrets.GOOGLE_GENERATIVE_AI_API_KEY }}- GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}- ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}- VERTEX_CREDENTIALS: ${{ secrets.VERTEX_CREDENTIALS }}- USE_GO_MARKDOWN_PARSER: true- SENTRY_ENVIRONMENT: dev- IDMUX_URL: ${{ secrets.IDMUX_URL }}- LOG_ENCRYPTION_KEY: ${{ secrets.LOG_ENCRYPTION_KEY }}- NUQ_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres- NUQ_RABBITMQ_URL: amqp://localhost:5672- HOST: 0.0.0.0- steps:- - uses: actions/checkout@v5- - name: Run Docker Postgres- run: |- docker build -t firecrawl/nuq-postgres:latest ./apps/nuq-postgres- docker run -d -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres --name postgres firecrawl/nuq-postgres:latest- - name: Tailscale- uses: tailscale/github-action@v3- with:- oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}- oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}- tags: tag:ci- use-cache: 'true'- - name: Install pnpm- uses: pnpm/action-setup@v4- with:- version: 10- - name: Set up Node.js- uses: actions/setup-node@v4- with:- node-version: '22'- cache: 'pnpm'- cache-dependency-path: './apps/api/pnpm-lock.yaml'- - name: Install dependencies- run: pnpm install- working-directory: ./apps/api- - name: Set up Go- uses: actions/setup-go@v5- with:- go-version: '1.24'- cache-dependency-path: ./apps/api/sharedLibs/go-html-to-md/go.sum- - name: Build go-html-to-md- run: |- go mod tidy- go build -o libhtml-to-markdown.so -buildmode=c-shared html-to-markdown.go- chmod +x libhtml-to-markdown.so- working-directory: ./apps/api/sharedLibs/go-html-to-md- - name: Build the application and run snippet tests- run: pnpm harness pnpm test:snips- working-directory: ./apps/api- - name: Create logs directory- if: always()- run: |- mkdir -p logs- cp ./apps/api/firecrawl.log logs/firecrawl.log- cd logs- zip -r logs.zip ./*- echo "${{ secrets.LOG_ENCRYPTION_KEY }}" | gpg --batch --yes --passphrase-fd 0 -c logs.zip- rm logs.zip- - uses: actions/upload-artifact@v4- if: always()- with:- name: Encrypted Logs- path: logs/logs.zip.gpg- retention-days: 5+ # prod-test:+ # name: Production environment tests+ # runs-on: big-runner+ # needs: audit+ # services:+ # redis:+ # image: redis+ # ports:+ # - 6379:6379+ # rabbitmq:+ # image: rabbitmq+ # ports:+ # - 5672:5672+ # env:+ # BULL_AUTH_KEY: ${{ secrets.BULL_AUTH_KEY }}+ # OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}+ # REDIS_URL: ${{ secrets.REDIS_URL }}+ # SUPABASE_ANON_TOKEN: ${{ secrets.SUPABASE_ANON_TOKEN }}+ # SUPABASE_SERVICE_TOKEN: ${{ secrets.SUPABASE_SERVICE_TOKEN }}+ # SUPABASE_URL: ${{ secrets.SUPABASE_URL }}+ # SUPABASE_REPLICA_URL: ${{ secrets.SUPABASE_REPLICA_URL }}+ # INDEX_SUPABASE_SERVICE_TOKEN: ${{ secrets.INDEX_SUPABASE_SERVICE_TOKEN }}+ # INDEX_SUPABASE_ANON_TOKEN: ${{ secrets.INDEX_SUPABASE_ANON_TOKEN }}+ # INDEX_SUPABASE_URL: ${{ secrets.INDEX_SUPABASE_URL }}+ # TEST_API_KEY: ${{ secrets.TEST_API_KEY }}+ # TEST_TEAM_ID: ${{ secrets.TEST_TEAM_ID }}+ # TEST_API_KEY_CONCURRENCY: ${{ secrets.TEST_API_KEY_CONCURRENCY }}+ # TEST_TEAM_ID_CONCURRENCY: ${{ secrets.TEST_TEAM_ID_CONCURRENCY }}+ # TEST_API_KEY_ZDR: ${{ secrets.TEST_API_KEY_ZDR }}+ # TEST_TEAM_ID_ZDR: ${{ secrets.TEST_TEAM_ID_ZDR }}+ # FIRE_ENGINE_BETA_URL: ${{ secrets.FIRE_ENGINE_BETA_URL }}+ # FIRE_ENGINE_STAGING_URL: ${{ secrets.FIRE_ENGINE_STAGING_URL }}+ # USE_DB_AUTHENTICATION: true+ # SERPER_API_KEY: ${{ secrets.SERPER_API_KEY }}+ # ENV: ${{ secrets.ENV }}+ # RUNPOD_MU_POD_ID: ${{ secrets.RUNPOD_MU_POD_ID }}+ # RUNPOD_MUV2_POD_ID: ${{ secrets.RUNPOD_MUV2_POD_ID }}+ # RUNPOD_MU_API_KEY: ${{ secrets.RUNPOD_MU_API_KEY }}+ # GCS_CREDENTIALS: ${{ secrets.GCS_CREDENTIALS }}+ # GCS_BUCKET_NAME: ${{ secrets.GCS_BUCKET_NAME }}+ # GCS_INDEX_BUCKET_NAME: ${{ secrets.GCS_INDEX_BUCKET_NAME }}+ # GCS_MEDIA_BUCKET_NAME: ${{ secrets.GCS_MEDIA_BUCKET_NAME }}+ # GOOGLE_GENERATIVE_AI_API_KEY: ${{ secrets.GOOGLE_GENERATIVE_AI_API_KEY }}+ # GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}+ # ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}+ # VERTEX_CREDENTIALS: ${{ secrets.VERTEX_CREDENTIALS }}+ # USE_GO_MARKDOWN_PARSER: true+ # SENTRY_ENVIRONMENT: dev+ # IDMUX_URL: ${{ secrets.IDMUX_URL }}+ # LOG_ENCRYPTION_KEY: ${{ secrets.LOG_ENCRYPTION_KEY }}+ # NUQ_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres+ # NUQ_RABBITMQ_URL: amqp://localhost:5672+ # HOST: 0.0.0.0+ # steps:+ # - uses: actions/checkout@v5+ # - name: Run Docker Postgres+ # run: |+ # docker build -t firecrawl/nuq-postgres:latest ./apps/nuq-postgres+ # docker run -d -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres --name postgres firecrawl/nuq-postgres:latest+ # - name: Tailscale+ # uses: tailscale/github-action@v4+ # with:+ # oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}+ # oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}+ # tags: tag:ci+ # use-cache: 'true'+ # - name: Install pnpm+ # uses: pnpm/action-setup@v4+ # with:+ # version: 10+ # - name: Set up Node.js+ # uses: actions/setup-node@v6+ # with:+ # node-version: '22'+ # cache: 'pnpm'+ # cache-dependency-path: './apps/api/pnpm-lock.yaml'+ # - name: Install dependencies+ # run: pnpm install+ # working-directory: ./apps/api+ # - name: Set up Go+ # uses: actions/setup-go@v6+ # with:+ # go-version: '1.24'+ # cache-dependency-path: ./apps/api/sharedLibs/go-html-to-md/go.sum+ # - name: Build go-html-to-md+ # run: |+ # go mod tidy+ # go build -o libhtml-to-markdown.so -buildmode=c-shared html-to-markdown.go+ # chmod +x libhtml-to-markdown.so+ # working-directory: ./apps/api/sharedLibs/go-html-to-md+ # - name: Build the application and run snippet tests+ # run: pnpm harness pnpm test:snips+ # working-directory: ./apps/api+ # - name: Create logs directory+ # if: always()+ # run: |+ # mkdir -p logs+ # cp ./apps/api/firecrawl.log logs/firecrawl.log+ # cd logs+ # zip -r logs.zip ./*+ # echo "${{ secrets.LOG_ENCRYPTION_KEY }}" | gpg --batch --yes --passphrase-fd 0 -c logs.zip+ # rm logs.zip+ # - uses: actions/upload-artifact@v4+ # if: always()+ # with:+ # name: Encrypted Logs+ # path: logs/logs.zip.gpg+ # retention-days: 5diff --git a/apps/api/package.json b/apps/api/package.jsonindex 404e738e2..9cf130319 100644--- a/apps/api/package.json+++ b/apps/api/package.json@@ -136,7 +136,7 @@"tough-cookie": "^4.1.4","turndown": "^7.1.3","undici": "^7.10.0",- "uuid": "^13.0.0",+ "uuid": "^10.0.0","winston": "^3.14.2","ws": "^8.18.0","x402-express": "^0.6.5",@@ -175,7 +175,8 @@],"overrides": {"brace-expansion@>=2.0.0 <=2.0.1": "2.0.2",- "debug": ">=4.4.3"+ "debug": ">=4.4.3",+ "uuid": "<=10.0.0"}},"lint-staged": {diff --git a/apps/api/pnpm-lock.yaml b/apps/api/pnpm-lock.yamlindex 65d704edc..491e4dc3d 100644--- a/apps/api/pnpm-lock.yaml+++ b/apps/api/pnpm-lock.yaml@@ -8,6 +8,7 @@ settings:overrides:brace-expansion@>=2.0.0 <=2.0.1: 2.0.2debug: '>=4.4.3'+ uuid: <=10.0.0importers:@@ -224,8 +225,8 @@ importers:specifier: ^7.10.0version: 7.10.0uuid:- specifier: ^13.0.0- version: 13.0.0+ specifier: <=10.0.0+ version: 9.0.1winston:specifier: ^3.14.2version: 3.14.2@@ -6744,14 +6745,6 @@ packages:resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==}engines: {node: '>= 0.4.0'}- resolution: {integrity: sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w==}- hasBin: true-- resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==}- hasBin: true-resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==}hasBin: true@@ -7877,7 +7870,7 @@ snapshots:p-limit: 3.1.0retry-request: 7.0.2([email protected])teeny-request: 9.0.0([email protected])- uuid: 8.3.2+ uuid: 9.0.1transitivePeerDependencies:- encoding- supports-color@@ -8325,7 +8318,7 @@ snapshots:readable-stream: 3.6.2socket.io-client: 4.8.1([email protected])([email protected])utf-8-validate: 5.0.10- uuid: 8.3.2+ uuid: 9.0.1transitivePeerDependencies:- supports-color@@ -8354,7 +8347,7 @@ snapshots:socket.io-client: 4.8.1([email protected])([email protected])tslib: 2.8.1util: 0.12.5- uuid: 8.3.2+ uuid: 9.0.1transitivePeerDependencies:- bufferutil- encoding@@ -13288,7 +13281,7 @@ snapshots:json-stringify-safe: 5.0.1stream-json: 1.9.1- uuid: 8.3.2+ uuid: 9.0.1ws: 7.5.10([email protected])([email protected])transitivePeerDependencies:- bufferutil@@ -14702,7 +14695,7 @@ snapshots:'@types/ws': 8.18.1buffer: 6.0.3eventemitter3: 5.0.1- uuid: 8.3.2+ uuid: 9.0.1ws: 8.18.3([email protected])([email protected])optionalDependencies:bufferutil: 4.0.9@@ -15292,10 +15285,6 @@ snapshots:- [email protected]: {}-- [email protected]: {}-diff --git a/apps/api/src/__tests__/snips/lib.ts b/apps/api/src/__tests__/snips/lib.tsindex ba9fec277..11b6f9632 100644--- a/apps/api/src/__tests__/snips/lib.ts+++ b/apps/api/src/__tests__/snips/lib.ts@@ -7,7 +7,58 @@ import { TeamFlags } from "../../controllers/v1/types";// Configuration// =========================================-export const TEST_URL = process.env.TEST_API_URL || "http://127.0.0.1:3002";+export const TEST_API_URL = process.env.TEST_API_URL || "http://127.0.0.1:3002";+export const TEST_URL = TEST_API_URL; // backwards compat temp++const stripTrailingSlash = (url: string) => {+ if (url.length < 1) throw new Error("Invalid URL supplied");+ return url.endsWith("/") ? url.substring(0, url.length - 1) : url;+};++export const TEST_SUITE_WEBSITE = stripTrailingSlash(+ process.env.TEST_SUITE_WEBSITE || "http://127.0.0.1:4321",+);++export const TEST_SELF_HOST = process.env.TEST_SUITE_SELF_HOSTED === "true";+export const TEST_PRODUCTION = !TEST_SELF_HOST;++// TODO: do we want to run AI tests when users run this command locally? It may lead to increased spending for them, depending on configuration+export const HAS_AI = !!(+ process.env.OPENAI_API_KEY || process.env.OLLAMA_BASE_URL+);+export const HAS_PLAYWRIGHT = !!process.env.PLAYWRIGHT_MICROSERVICE_URL;+export const HAS_PROXY = !!process.env.PROXY_SERVER;++export const HAS_SEARCH = TEST_PRODUCTION || !!process.env.SEARXNG_ENDPOINT;++const isLocalUrl = (x: string) =>+ /^https?:\/\/(localhost|127\.0\.0\.1|10\.\d{1,3}\.\d{1,3}\.\d{1,3}|192\.168\.\d{1,3}\.\d{1,3}|172\.(1[6-9]|2\d|3[0-1])\.\d{1,3}\.\d{1,3})(:\d+)?([\/?#]|$)/i.test(+ x as string,+ );++// due to playwright / api using proxy, we don't want to run local tests while proxy is enabled or in production testing+export const ALLOW_TEST_SUITE_WEBSITE =+ !TEST_SELF_HOST || (isLocalUrl(TEST_SUITE_WEBSITE) && !HAS_PROXY);++// TODO: print the config that determines tests run++export const describeIf = (cond: boolean) => (cond ? describe : describe.skip);+export const concurrentIf = (cond: boolean) => (cond ? it.concurrent : it.skip);+export const testIf = (cond: boolean) => (cond ? test : test.skip);+export const itIf = (cond: boolean) => (cond ? it : it.skip);++export const createTestIdUrl = () =>+ `${TEST_SUITE_WEBSITE}?testId=${crypto.randomUUID()}`;++if (isLocalUrl(TEST_SUITE_WEBSITE)) {+ if (TEST_SELF_HOST) {+ process.env.ALLOW_LOCAL_WEBHOOKS = "true";+ } else {+ throw new Error(+ "TEST_SUITE_WEBSITE cannot be a local address while testing in production",+ );+ }+}// Due to the limited resources of the CI runner, we need to set a longer timeout for the many many scrape testsexport const scrapeTimeout = 90000;@@ -29,7 +80,7 @@ export type IdmuxRequest = {export async function idmux(req: IdmuxRequest): Promise<Identity> {if (!process.env.IDMUX_URL) {- if (!process.env.TEST_SUITE_SELF_HOSTED) {+ if (TEST_PRODUCTION) {console.warn("IDMUX_URL is not set, using test API key and team ID");}return {diff --git a/apps/api/src/__tests__/snips/v1/batch-scrape.test.ts b/apps/api/src/__tests__/snips/v1/batch-scrape.test.tsindex 23dd503eb..f753937c3 100644--- a/apps/api/src/__tests__/snips/v1/batch-scrape.test.ts+++ b/apps/api/src/__tests__/snips/v1/batch-scrape.test.ts@@ -1,3 +1,10 @@+import {+ ALLOW_TEST_SUITE_WEBSITE,+ concurrentIf,+ describeIf,+ TEST_PRODUCTION,+ TEST_SUITE_WEBSITE,+} from "../lib";import { batchScrape, scrapeTimeout, idmux, Identity } from "./lib";let identity: Identity;@@ -11,12 +18,12 @@ beforeAll(async () => {}, 10000);describe("Batch scrape tests", () => {- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("works",async () => {const response = await batchScrape({- urls: ["http://firecrawl.dev"],+ urls: [TEST_SUITE_WEBSITE],},identity,);@@ -27,71 +34,64 @@ describe("Batch scrape tests", () => {scrapeTimeout,);- if (!process.env.TEST_SUITE_SELF_HOSTED) {- describe("JSON format", () => {- it.concurrent(- "works",- async () => {- const response = await batchScrape(- {- urls: ["http://firecrawl.dev"],- formats: ["json"],- jsonOptions: {- prompt:- "Based on the information on the page, find what the company's mission is and whether it supports SSO, and whether it is open source.",- schema: {- type: "object",- properties: {- company_mission: {- type: "string",- },- supports_sso: {- type: "boolean",- },- is_open_source: {- type: "boolean",- },- },- required: [- "company_mission",- "supports_sso",- "is_open_source",- ],- },- },- },- identity,- );-- expect(response.data[0]).toHaveProperty("json");- expect(response.data[0].json).toHaveProperty("company_mission");- expect(typeof response.data[0].json.company_mission).toBe("string");- expect(response.data[0].json).toHaveProperty("supports_sso");- expect(response.data[0].json.supports_sso).toBe(false);- expect(typeof response.data[0].json.supports_sso).toBe("boolean");- expect(response.data[0].json).toHaveProperty("is_open_source");- expect(response.data[0].json.is_open_source).toBe(true);- expect(typeof response.data[0].json.is_open_source).toBe("boolean");- },- 180000,- );- });- }-- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("sourceURL stays unnormalized",async () => {+ const url = `${TEST_SUITE_WEBSITE}/?pagewanted=all&et_blog`;const response = await batchScrape({- urls: ["https://firecrawl.dev/?pagewanted=all&et_blog"],+ urls: [url],},identity,);- expect(response.data[0].metadata.sourceURL).toBe(- "https://firecrawl.dev/?pagewanted=all&et_blog",- );+ expect(response.data[0].metadata.sourceURL).toBe(url);},scrapeTimeout,);++ describeIf(TEST_PRODUCTION)("JSON format", () => {+ it.concurrent(+ "works",+ async () => {+ const response = await batchScrape(+ {+ urls: [TEST_SUITE_WEBSITE],+ formats: ["json"],+ jsonOptions: {+ prompt:+ "Based on the information on the page, find what the company's mission is and whether it supports SSO, and whether it is open source.",+ schema: {+ type: "object",+ properties: {+ company_mission: {+ type: "string",+ },+ supports_sso: {+ type: "boolean",+ },+ is_open_source: {+ type: "boolean",+ },+ },+ required: ["company_mission", "supports_sso", "is_open_source"],+ },+ },+ },+ identity,+ );++ expect(response.data[0]).toHaveProperty("json");+ expect(response.data[0].json).toHaveProperty("company_mission");+ expect(typeof response.data[0].json.company_mission).toBe("string");+ expect(response.data[0].json).toHaveProperty("supports_sso");+ expect(response.data[0].json.supports_sso).toBe(false);+ expect(typeof response.data[0].json.supports_sso).toBe("boolean");+ expect(response.data[0].json).toHaveProperty("is_open_source");+ expect(response.data[0].json.is_open_source).toBe(true);+ expect(typeof response.data[0].json.is_open_source).toBe("boolean");+ },+ 180000,+ );+ });});diff --git a/apps/api/src/__tests__/snips/v1/billing.test.ts b/apps/api/src/__tests__/snips/v1/billing.test.tsindex 47807ed11..12c789000 100644--- a/apps/api/src/__tests__/snips/v1/billing.test.ts+++ b/apps/api/src/__tests__/snips/v1/billing.test.ts@@ -1,3 +1,4 @@+import { describeIf, TEST_PRODUCTION, TEST_SUITE_WEBSITE } from "../lib";import {batchScrape,crawl,@@ -13,478 +14,541 @@ import {const sleep = (ms: number) => new Promise(x => setTimeout(() => x(true), ms));const sleepForBatchBilling = () => sleep(40000);-describe("Billing tests", () => {- if (process.env.TEST_SUITE_SELF_HOSTED) {- it("dummy", () => {- expect(true).toBe(true);- });- } else {- it.concurrent(- "bills scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills scrape correctly",- credits: 100,- });-- const rc1 = (await creditUsage(identity)).remaining_credits;-- // Run all scrape operations in parallel with Promise.all- const [scrape1, scrape2, scrape3] = await Promise.all([- // scrape 1: regular fc.dev scrape (1 credit)- scrape(- {- url: "https://firecrawl.dev",- },- identity,- ),+// TODO: can be combined with v2...?+// TODO: fix up idmux+// TODO: needs testing+describeIf(TEST_PRODUCTION)("Billing tests", () => {+ const base = TEST_SUITE_WEBSITE;++ it.concurrent(+ "bills scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills scrape correctly",+ credits: 100,+ });++ const rc1 = (await creditUsage(identity)).remaining_credits;++ // Run all scrape operations in parallel with Promise.all+ const [scrape1, scrape2, scrape3] = await Promise.all([+ // scrape 1: regular fc.dev scrape (1 credit)+ scrape(+ {+ url: base,+ },+ identity,+ ),- // scrape 1.1: regular fc.dev scrape (1 credit)- scrape(- {- url: "https://firecrawl.dev",- },- identity,- ),+ // scrape 1.1: regular fc.dev scrape (1 credit)+ scrape(+ {+ url: base,+ },+ identity,+ ),- // scrape 2: fc.dev with json (5 credits)- scrape(- {- url: "https://firecrawl.dev",- formats: ["json"],- jsonOptions: {- schema: {- type: "object",- properties: {- is_open_source: { type: "boolean" },- },- required: ["is_open_source"],- },- },- },- identity,- ),- ]);-- expect(scrape1.metadata.creditsUsed).toBe(1);- expect(scrape2.metadata.creditsUsed).toBe(1);- expect(scrape3.metadata.creditsUsed).toBe(5);-- // sum: 7 credits-- await sleepForBatchBilling();-- const rc2 = (await creditUsage(identity)).remaining_credits;-- expect(rc1 - rc2).toBe(7);- },- 120000,- );-- it.concurrent(- "bills batch scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills batch scrape correctly",- credits: 100,- });-- const rc1 = (await creditUsage(identity)).remaining_credits;-- // Run both scrape operations in parallel with Promise.all- const [scrape1, scrape2] = await Promise.all([- // scrape 1: regular batch scrape with failing domain (2 credits)- batchScrape(- {- urls: [- "https://firecrawl.dev",- "https://mendable.ai",- "https://thisdomaindoesnotexistandwillfail.fcr",- ],- },- identity,- ),-- // scrape 2: batch scrape with json (10 credits)- batchScrape(- {- urls: [- "https://firecrawl.dev",- "https://mendable.ai",- "https://thisdomaindoesnotexistandwillfail.fcr",- ],- formats: ["json"],- jsonOptions: {- schema: {- type: "object",- properties: {- four_word_summary: { type: "string" },- },- required: ["four_word_summary"],+ // scrape 2: fc.dev with json (5 credits)+ scrape(+ {+ url: base,+ formats: ["json"],+ jsonOptions: {+ schema: {+ type: "object",+ properties: {+ is_open_source: { type: "boolean" },},+ required: ["is_open_source"],},},- identity,- ),- ]);+ },+ identity,+ ),+ ]);- expect(scrape1.data[0].metadata.creditsUsed).toBe(1);- expect(scrape1.data[1].metadata.creditsUsed).toBe(1);+ expect(scrape1.metadata.creditsUsed).toBe(1);+ expect(scrape2.metadata.creditsUsed).toBe(1);+ expect(scrape3.metadata.creditsUsed).toBe(5);- expect(scrape2.data[0].metadata.creditsUsed).toBe(5);- expect(scrape2.data[1].metadata.creditsUsed).toBe(5);+ // sum: 7 credits- // sum: 12 credits+ await sleepForBatchBilling();- await sleepForBatchBilling();+ const rc2 = (await creditUsage(identity)).remaining_credits;- const rc2 = (await creditUsage(identity)).remaining_credits;+ expect(rc1 - rc2).toBe(7);+ },+ 120000,+ );- expect(rc1 - rc2).toBe(12);- },- 600000,- );+ it.concurrent(+ "bills batch scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills batch scrape correctly",+ credits: 100,+ });- it.concurrent(- "bills crawl correctly",- async () => {- const identity = await idmux({- name: "billing/bills crawl correctly",- credits: 200,- });+ const rc1 = (await creditUsage(identity)).remaining_credits;- const rc1 = (await creditUsage(identity)).remaining_credits;+ // Run both scrape operations in parallel with Promise.all+ const [scrape1, scrape2] = await Promise.all([+ // scrape 1: regular batch scrape with failing domain (2 credits)+ batchScrape(+ {+ urls: [+ base,+ "https://mendable.ai",+ "https://thisdomaindoesnotexistandwillfail.fcr",+ ],+ },+ identity,+ ),- // Run both crawl operations in parallel with Promise.all- const [crawl1, crawl2] = await Promise.all([- // crawl 1: regular fc.dev crawl (x credits)- crawl(- {- url: "https://firecrawl.dev",- limit: 10,- },- identity,- ),-- // crawl 2: fc.dev crawl with json (5y credits)- crawl(- {- url: "https://firecrawl.dev",- scrapeOptions: {- formats: ["json"],- jsonOptions: {- schema: {- type: "object",- properties: {- four_word_summary: { type: "string" },- },- required: ["four_word_summary"],- },+ // scrape 2: batch scrape with json (10 credits)+ batchScrape(+ {+ urls: [+ base,+ "https://mendable.ai",+ "https://thisdomaindoesnotexistandwillfail.fcr",+ ],+ formats: ["json"],+ jsonOptions: {+ schema: {+ type: "object",+ properties: {+ four_word_summary: { type: "string" },},+ required: ["four_word_summary"],},- limit: 10,},- identity,- ),- ]);-- expect(crawl1.success).toBe(true);- expect(crawl2.success).toBe(true);-- // sum: x+5y credits-- await sleepForBatchBilling();-- const rc2 = (await creditUsage(identity)).remaining_credits;-- if (crawl1.success && crawl2.success) {- expect(rc1 - rc2).toBe(crawl1.completed + crawl2.completed * 5);- }- },- 600000,- );-- it.concurrent(- "bills map correctly",- async () => {- const identity = await idmux({- name: "billing/bills map correctly",- credits: 100,- });-- const rc1 = (await creditUsage(identity)).remaining_credits;- await map({ url: "https://firecrawl.dev" }, identity);- await sleepForBatchBilling();- const rc2 = (await creditUsage(identity)).remaining_credits;- expect(rc1 - rc2).toBe(1);- },- 60000,- );-- it.concurrent(- "bills search correctly",- async () => {- const identity = await idmux({- name: "billing/bills search correctly",- credits: 100,- });-- const rc1 = (await creditUsage(identity)).remaining_credits;-- const results = await search(- {- query: "firecrawl",},identity,- );-- await sleepForBatchBilling();+ ),+ ]);- const rc2 = (await creditUsage(identity)).remaining_credits;+ expect(scrape1.data[0].metadata.creditsUsed).toBe(1);+ expect(scrape1.data[1].metadata.creditsUsed).toBe(1);- expect(rc1 - rc2).toBe(results.length);- },- 60000,- );+ expect(scrape2.data[0].metadata.creditsUsed).toBe(5);+ expect(scrape2.data[1].metadata.creditsUsed).toBe(5);- it.concurrent(- "bills search with scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills search with scrape correctly",- credits: 100,- });+ // sum: 12 credits- const rc1 = (await creditUsage(identity)).remaining_credits;-- const results = await search(- {- query: "firecrawl",- scrapeOptions: {- formats: ["markdown"],- },- },- identity,- );+ await sleepForBatchBilling();- await sleepForBatchBilling();+ const rc2 = (await creditUsage(identity)).remaining_credits;- const rc2 = (await creditUsage(identity)).remaining_credits;+ expect(rc1 - rc2).toBe(12);+ },+ 600000,+ );- expect(rc1 - rc2).toBe(results.length);- },- 600000,- );+ it.concurrent(+ "bills crawl correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills crawl correctly",+ credits: 200,+ });- it.concurrent(- "bills search with PDF scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills search with PDF scrape correctly",- credits: 100,- });+ const rc1 = (await creditUsage(identity)).remaining_credits;- const rc1 = (await creditUsage(identity)).remaining_credits;-- const results = await search(+ // Run both crawl operations in parallel with Promise.all+ const [crawl1, crawl2] = await Promise.all([+ // crawl 1: regular fc.dev crawl (x credits)+ crawl({- query: "firecrawl filetype:pdf",- scrapeOptions: {- formats: ["markdown"],- parsePDF: true,- },+ url: base,+ limit: 10,},identity,- );-- await sleepForBatchBilling();-- const rc2 = (await creditUsage(identity)).remaining_credits;-- const shouldUse = results.reduce(- (sum, doc) => sum + (doc.metadata?.numPages || 1),- 0,- );-- expect(rc1 - rc2).toBe(shouldUse);- },- 600000,- );-- it.concurrent(- "bills search with parsePDF=false correctly",- async () => {- const identity = await idmux({- name: "billing/bills search with parsePDF=false correctly",- credits: 100,- });+ ),- const rc1 = (await creditUsage(identity)).remaining_credits;-- const results = await search(+ // crawl 2: fc.dev crawl with json (5y credits)+ crawl({- query: "firecrawl filetype:pdf",+ url: base,scrapeOptions: {- formats: ["markdown"],- parsePDF: false,+ formats: ["json"],+ jsonOptions: {+ schema: {+ type: "object",+ properties: {+ four_word_summary: { type: "string" },+ },+ required: ["four_word_summary"],+ },+ },},+ limit: 10,},identity,- );-- await sleepForBatchBilling();-- const rc2 = (await creditUsage(identity)).remaining_credits;-- const expectedCredits = results.length;-- expect(rc1 - rc2).toBe(expectedCredits);- },- 600000,- );-- it.concurrent(- "bills extract correctly",- async () => {- const identity = await idmux({- name: "billing/bills extract correctly",- tokens: 1000,- });+ ),+ ]);++ expect(crawl1.success).toBe(true);+ expect(crawl2.success).toBe(true);++ // sum: x+5y credits++ await sleepForBatchBilling();++ const rc2 = (await creditUsage(identity)).remaining_credits;++ if (crawl1.success && crawl2.success) {+ expect(rc1 - rc2).toBe(crawl1.completed + crawl2.completed * 5);+ }+ },+ 600000,+ );++ it.concurrent(+ "bills map correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills map correctly",+ credits: 100,+ });++ const rc1 = (await creditUsage(identity)).remaining_credits;+ await map({ url: base }, identity);+ await sleepForBatchBilling();+ const rc2 = (await creditUsage(identity)).remaining_credits;+ expect(rc1 - rc2).toBe(1);+ },+ 60000,+ );++ it.concurrent(+ "bills search correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills search correctly",+ credits: 100,+ });++ const rc1 = (await creditUsage(identity)).remaining_credits;++ const results = await search(+ {+ query: "firecrawl",+ },+ identity,+ );++ await sleepForBatchBilling();++ const rc2 = (await creditUsage(identity)).remaining_credits;++ expect(rc1 - rc2).toBe(results.length);+ },+ 60000,+ );++ it.concurrent(+ "bills search with scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills search with scrape correctly",+ credits: 100,+ });++ const rc1 = (await creditUsage(identity)).remaining_credits;++ const results = await search(+ {+ query: "firecrawl",+ scrapeOptions: {+ formats: ["markdown"],+ },+ },+ identity,+ );++ await sleepForBatchBilling();++ const rc2 = (await creditUsage(identity)).remaining_credits;++ expect(rc1 - rc2).toBe(results.length);+ },+ 600000,+ );++ it.concurrent(+ "bills search with PDF scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills search with PDF scrape correctly",+ credits: 100,+ });++ const rc1 = (await creditUsage(identity)).remaining_credits;++ const results = await search(+ {+ query: "firecrawl filetype:pdf",+ scrapeOptions: {+ formats: ["markdown"],+ parsePDF: true,+ },+ },+ identity,+ );++ await sleepForBatchBilling();++ const rc2 = (await creditUsage(identity)).remaining_credits;++ const shouldUse = results.reduce(+ (sum, doc) => sum + (doc.metadata?.numPages || 1),+ 0,+ );++ expect(rc1 - rc2).toBe(shouldUse);+ },+ 600000,+ );++ it.concurrent(+ "bills search with parsePDF=false correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills search with parsePDF=false correctly",+ credits: 100,+ });++ const rc1 = (await creditUsage(identity)).remaining_credits;++ const results = await search(+ {+ query: "firecrawl filetype:pdf",+ scrapeOptions: {+ formats: ["markdown"],+ parsePDF: false,+ },+ },+ identity,+ );++ await sleepForBatchBilling();++ const rc2 = (await creditUsage(identity)).remaining_credits;++ const expectedCredits = results.length;++ expect(rc1 - rc2).toBe(expectedCredits);+ },+ 600000,+ );++ it.concurrent(+ "bills extract correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills extract correctly",+ tokens: 1000,+ });++ const rc1 = (await tokenUsage(identity)).remaining_tokens;++ const extractResult = await extract(+ {+ urls: [base],+ schema: {+ type: "object",+ properties: {+ is_open_source: {+ type: "boolean",+ },+ },+ required: ["is_open_source"],+ },+ origin: "api-sdk",+ },+ identity,+ );++ expect(extractResult.tokensUsed).toBe(305);++ await sleepForBatchBilling();++ const rc2 = (await tokenUsage(identity)).remaining_tokens;++ expect(rc1 - rc2).toBe(305);+ },+ 300000,+ );++ it.concurrent(+ "bills ZDR scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills ZDR scrape correctly",+ credits: 100,+ flags: {+ allowZDR: true,+ },+ });++ const rc1 = (await creditUsage(identity)).remaining_credits;++ // Run all scrape operations in parallel with Promise.all+ const [scrape1, scrape2, scrape3] = await Promise.all([+ // scrape 1: regular fc.dev scrape (1 credit)+ scrape(+ {+ url: base,+ zeroDataRetention: true,+ },+ identity,+ ),- const rc1 = (await tokenUsage(identity)).remaining_tokens;+ // scrape 1.1: regular fc.dev scrape (1 credit)+ scrape(+ {+ url: base,+ zeroDataRetention: true,+ },+ identity,+ ),- const extractResult = await extract(+ // scrape 2: fc.dev with json (5 credits)+ scrape({- urls: ["https://firecrawl.dev"],- schema: {- type: "object",- properties: {- is_open_source: {- type: "boolean",+ url: base,+ formats: ["json"],+ jsonOptions: {+ schema: {+ type: "object",+ properties: {+ is_open_source: { type: "boolean" },},+ required: ["is_open_source"],},- required: ["is_open_source"],},- origin: "api-sdk",+ zeroDataRetention: true,},identity,- );+ ),+ ]);- expect(extractResult.tokensUsed).toBe(305);+ expect(scrape1.metadata.creditsUsed).toBe(2);+ expect(scrape2.metadata.creditsUsed).toBe(2);+ expect(scrape3.metadata.creditsUsed).toBe(6);- await sleepForBatchBilling();+ // sum: 10 credits- const rc2 = (await tokenUsage(identity)).remaining_tokens;+ await sleepForBatchBilling();- expect(rc1 - rc2).toBe(305);- },- 300000,- );+ const rc2 = (await creditUsage(identity)).remaining_credits;- it.concurrent(- "bills ZDR scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills ZDR scrape correctly",- credits: 100,- flags: {- allowZDR: true,- },- });+ expect(rc1 - rc2).toBe(10);+ },+ 120000,+ );- const rc1 = (await creditUsage(identity)).remaining_credits;+ it.concurrent(+ "bills ZDR batch scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills ZDR batch scrape correctly",+ credits: 100,+ flags: {+ allowZDR: true,+ },+ });- // Run all scrape operations in parallel with Promise.all- const [scrape1, scrape2, scrape3] = await Promise.all([- // scrape 1: regular fc.dev scrape (1 credit)- scrape(- {- url: "https://firecrawl.dev",- zeroDataRetention: true,- },- identity,- ),-- // scrape 1.1: regular fc.dev scrape (1 credit)- scrape(- {- url: "https://firecrawl.dev",- zeroDataRetention: true,- },- identity,- ),+ const rc1 = (await creditUsage(identity)).remaining_credits;- // scrape 2: fc.dev with json (5 credits)- scrape(- {- url: "https://firecrawl.dev",- formats: ["json"],- jsonOptions: {- schema: {- type: "object",- properties: {- is_open_source: { type: "boolean" },- },- required: ["is_open_source"],+ // Run both scrape operations in parallel with Promise.all+ const [scrape1, scrape2] = await Promise.all([+ // scrape 1: regular batch scrape with failing domain (2 credits)+ batchScrape(+ {+ urls: [+ base,+ "https://mendable.ai",+ "https://thisdomaindoesnotexistandwillfail.fcr",+ ],+ zeroDataRetention: true,+ },+ identity,+ ),++ // scrape 2: batch scrape with json (10 credits)+ batchScrape(+ {+ urls: [+ base,+ "https://mendable.ai",+ "https://thisdomaindoesnotexistandwillfail.fcr",+ ],+ formats: ["json"],+ jsonOptions: {+ schema: {+ type: "object",+ properties: {+ four_word_summary: { type: "string" },},+ required: ["four_word_summary"],},- zeroDataRetention: true,},- identity,- ),- ]);+ zeroDataRetention: true,+ },+ identity,+ ),+ ]);++ expect(scrape1.data[0].metadata.creditsUsed).toBe(2);+ expect(scrape1.data[1].metadata.creditsUsed).toBe(2);++ expect(scrape2.data[0].metadata.creditsUsed).toBe(6);+ expect(scrape2.data[1].metadata.creditsUsed).toBe(6);- expect(scrape1.metadata.creditsUsed).toBe(2);- expect(scrape2.metadata.creditsUsed).toBe(2);- expect(scrape3.metadata.creditsUsed).toBe(6);+ // sum: 16 credits- // sum: 10 credits+ await sleepForBatchBilling();- await sleepForBatchBilling();+ const rc2 = (await creditUsage(identity)).remaining_credits;- const rc2 = (await creditUsage(identity)).remaining_credits;+ expect(rc1 - rc2).toBe(16);+ },+ 600000,+ );- expect(rc1 - rc2).toBe(10);- },- 120000,- );+ it.concurrent(+ "bills ZDR crawl correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills ZDR crawl correctly",+ credits: 200,+ flags: {+ allowZDR: true,+ },+ });- it.concurrent(- "bills ZDR batch scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills ZDR batch scrape correctly",- credits: 100,- flags: {- allowZDR: true,+ const rc1 = (await creditUsage(identity)).remaining_credits;++ // Run both crawl operations in parallel with Promise.all+ const [crawl1, crawl2] = await Promise.all([+ // crawl 1: regular fc.dev crawl (x credits)+ crawl(+ {+ url: base,+ limit: 10,+ zeroDataRetention: true,},- });-- const rc1 = (await creditUsage(identity)).remaining_credits;-- // Run both scrape operations in parallel with Promise.all- const [scrape1, scrape2] = await Promise.all([- // scrape 1: regular batch scrape with failing domain (2 credits)- batchScrape(- {- urls: [- "https://firecrawl.dev",- "https://mendable.ai",- "https://thisdomaindoesnotexistandwillfail.fcr",- ],- zeroDataRetention: true,- },- identity,- ),-- // scrape 2: batch scrape with json (10 credits)- batchScrape(- {- urls: [- "https://firecrawl.dev",- "https://mendable.ai",- "https://thisdomaindoesnotexistandwillfail.fcr",- ],+ identity,+ ),++ // crawl 2: fc.dev crawl with json (5y credits)+ crawl(+ {+ url: base,+ scrapeOptions: {formats: ["json"],jsonOptions: {schema: {@@ -495,160 +559,96 @@ describe("Billing tests", () => {required: ["four_word_summary"],},},- zeroDataRetention: true,},- identity,- ),- ]);-- expect(scrape1.data[0].metadata.creditsUsed).toBe(2);- expect(scrape1.data[1].metadata.creditsUsed).toBe(2);-- expect(scrape2.data[0].metadata.creditsUsed).toBe(6);- expect(scrape2.data[1].metadata.creditsUsed).toBe(6);-- // sum: 16 credits-- await sleepForBatchBilling();-- const rc2 = (await creditUsage(identity)).remaining_credits;-- expect(rc1 - rc2).toBe(16);- },- 600000,- );-- it.concurrent(- "bills ZDR crawl correctly",- async () => {- const identity = await idmux({- name: "billing/bills ZDR crawl correctly",- credits: 200,- flags: {- allowZDR: true,+ limit: 10,+ zeroDataRetention: true,},- });-- const rc1 = (await creditUsage(identity)).remaining_credits;-- // Run both crawl operations in parallel with Promise.all- const [crawl1, crawl2] = await Promise.all([- // crawl 1: regular fc.dev crawl (x credits)- crawl(- {- url: "https://firecrawl.dev",- limit: 10,- zeroDataRetention: true,- },- identity,- ),-- // crawl 2: fc.dev crawl with json (5y credits)- crawl(- {- url: "https://firecrawl.dev",- scrapeOptions: {- formats: ["json"],- jsonOptions: {- schema: {- type: "object",- properties: {- four_word_summary: { type: "string" },- },- required: ["four_word_summary"],- },- },- },- limit: 10,- zeroDataRetention: true,- },- identity,- ),- ]);-- expect(crawl1.success).toBe(true);- expect(crawl2.success).toBe(true);-- // sum: 2x+6y credits-- await sleepForBatchBilling();-- const rc2 = (await creditUsage(identity)).remaining_credits;-- if (crawl1.success && crawl2.success) {- expect(rc1 - rc2).toBe(crawl1.completed * 2 + crawl2.completed * 6);- }- },- 600000,- );-- it.concurrent(- "bills custom-cost ZDR scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills ZDR scrape correctly",- credits: 100,- flags: {- allowZDR: true,- zdrCost: 0,+ identity,+ ),+ ]);++ expect(crawl1.success).toBe(true);+ expect(crawl2.success).toBe(true);++ // sum: 2x+6y credits++ await sleepForBatchBilling();++ const rc2 = (await creditUsage(identity)).remaining_credits;++ if (crawl1.success && crawl2.success) {+ expect(rc1 - rc2).toBe(crawl1.completed * 2 + crawl2.completed * 6);+ }+ },+ 600000,+ );++ it.concurrent(+ "bills custom-cost ZDR scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills ZDR scrape correctly",+ credits: 100,+ flags: {+ allowZDR: true,+ zdrCost: 0,+ },+ });++ const rc1 = (await creditUsage(identity)).remaining_credits;++ // Run all scrape operations in parallel with Promise.all+ const [scrape1, scrape2, scrape3] = await Promise.all([+ // scrape 1: regular fc.dev scrape (1 credit)+ scrape(+ {+ url: base,+ zeroDataRetention: true,},- });-- const rc1 = (await creditUsage(identity)).remaining_credits;+ identity,+ ),- // Run all scrape operations in parallel with Promise.all- const [scrape1, scrape2, scrape3] = await Promise.all([- // scrape 1: regular fc.dev scrape (1 credit)- scrape(- {- url: "https://firecrawl.dev",- zeroDataRetention: true,- },- identity,- ),-- // scrape 1.1: regular fc.dev scrape (1 credit)- scrape(- {- url: "https://firecrawl.dev",- zeroDataRetention: true,- },- identity,- ),+ // scrape 1.1: regular fc.dev scrape (1 credit)+ scrape(+ {+ url: base,+ zeroDataRetention: true,+ },+ identity,+ ),- // scrape 2: fc.dev with json (5 credits)- scrape(- {- url: "https://firecrawl.dev",- formats: ["json"],- jsonOptions: {- schema: {- type: "object",- properties: {- is_open_source: { type: "boolean" },- },- required: ["is_open_source"],+ // scrape 2: fc.dev with json (5 credits)+ scrape(+ {+ url: base,+ formats: ["json"],+ jsonOptions: {+ schema: {+ type: "object",+ properties: {+ is_open_source: { type: "boolean" },},+ required: ["is_open_source"],},- zeroDataRetention: true,},- identity,- ),- ]);+ zeroDataRetention: true,+ },+ identity,+ ),+ ]);- expect(scrape1.metadata.creditsUsed).toBe(1);- expect(scrape2.metadata.creditsUsed).toBe(1);- expect(scrape3.metadata.creditsUsed).toBe(5);+ expect(scrape1.metadata.creditsUsed).toBe(1);+ expect(scrape2.metadata.creditsUsed).toBe(1);+ expect(scrape3.metadata.creditsUsed).toBe(5);- // sum: 7 credits+ // sum: 7 credits- await sleepForBatchBilling();+ await sleepForBatchBilling();- const rc2 = (await creditUsage(identity)).remaining_credits;+ const rc2 = (await creditUsage(identity)).remaining_credits;- expect(rc1 - rc2).toBe(7);- },- 120000,- );- }+ expect(rc1 - rc2).toBe(7);+ },+ 120000,+ );});diff --git a/apps/api/src/__tests__/snips/v1/concurrency.test.ts b/apps/api/src/__tests__/snips/v1/concurrency.test.tsindex 048ae7eca..8baf90f87 100644--- a/apps/api/src/__tests__/snips/v1/concurrency.test.ts+++ b/apps/api/src/__tests__/snips/v1/concurrency.test.ts@@ -1,195 +1,192 @@+import { describeIf, TEST_PRODUCTION, TEST_SUITE_WEBSITE } from "../lib";import {batchScrapeWithConcurrencyTracking,crawlWithConcurrencyTracking,idmux,} from "./lib";-if (!process.env.TEST_SUITE_SELF_HOSTED) {- const accountConcurrencyLimit = 20;-- describe("Concurrency queue and limit", () => {- it.concurrent(- "crawl utilizes full concurrency limit and doesn't go over",- async () => {- const identity = await idmux({- name: "concurrency/crawl utilizes full concurrency limit and doesn't go over",- concurrency: accountConcurrencyLimit,- credits: 100,- });-- const limit = accountConcurrencyLimit * 2;-- const { crawl, concurrencies } = await crawlWithConcurrencyTracking(+const accountConcurrencyLimit = 20;++describeIf(TEST_PRODUCTION)("Concurrency queue and limit", () => {+ const base = TEST_SUITE_WEBSITE;++ it.concurrent(+ "crawl utilizes full concurrency limit and doesn't go over",+ async () => {+ const identity = await idmux({+ name: "concurrency/crawl utilizes full concurrency limit and doesn't go over",+ concurrency: accountConcurrencyLimit,+ credits: 100,+ });++ const limit = accountConcurrencyLimit * 2;++ const { crawl, concurrencies } = await crawlWithConcurrencyTracking(+ {+ url: base,+ limit,+ },+ identity,+ );++ expect(Math.max(...concurrencies)).toBe(accountConcurrencyLimit);+ expect(crawl.completed).toBe(limit);+ },+ 600000,+ );++ it.concurrent(+ "crawl handles maxConcurrency properly",+ async () => {+ const identity = await idmux({+ name: "concurrency/crawl handles maxConcurrency properly",+ concurrency: accountConcurrencyLimit,+ credits: 100,+ });++ const { crawl, concurrencies } = await crawlWithConcurrencyTracking(+ {+ url: base,+ limit: 15,+ maxConcurrency: 5,+ },+ identity,+ );++ expect(Math.max(...concurrencies)).toBe(5);+ expect(crawl.completed).toBe(15);+ },+ 600000,+ );++ it.concurrent(+ "crawl maxConcurrency stacks properly",+ async () => {+ const identity = await idmux({+ name: "concurrency/crawl maxConcurrency stacks properly",+ concurrency: accountConcurrencyLimit,+ credits: 100,+ });++ const [+ { crawl: crawl1, concurrencies: concurrencies1 },+ { crawl: crawl2, concurrencies: concurrencies2 },+ ] = await Promise.all([+ crawlWithConcurrencyTracking(+ {+ url: base,+ limit: 15,+ maxConcurrency: 5,+ },+ identity,+ ),+ crawlWithConcurrencyTracking(+ {+ url: base,+ limit: 15,+ maxConcurrency: 5,+ },+ identity,+ ),+ ]);++ expect(Math.max(...concurrencies1, ...concurrencies2)).toBe(10);+ expect(crawl1.completed).toBe(15);+ expect(crawl2.completed).toBe(15);+ },+ 1200000,+ );++ it.concurrent(+ "batch scrape utilizes full concurrency limit and doesn't go over",+ async () => {+ const identity = await idmux({+ name: "concurrency/batch scrape utilizes full concurrency limit and doesn't go over",+ concurrency: accountConcurrencyLimit,+ credits: 100,+ });++ const limit = accountConcurrencyLimit * 2;++ const { batchScrape, concurrencies } =+ await batchScrapeWithConcurrencyTracking({- url: "https://firecrawl.dev",- limit,+ urls: Array(limit)+ .fill(0)+ .map(_ => base),},identity,);- expect(Math.max(...concurrencies)).toBe(accountConcurrencyLimit);- expect(crawl.completed).toBe(limit);- },- 600000,- );-- it.concurrent(- "crawl handles maxConcurrency properly",- async () => {- const identity = await idmux({- name: "concurrency/crawl handles maxConcurrency properly",- concurrency: accountConcurrencyLimit,- credits: 100,- });-- const { crawl, concurrencies } = await crawlWithConcurrencyTracking(+ expect(Math.max(...concurrencies)).toBe(accountConcurrencyLimit);+ expect(batchScrape.completed).toBe(limit);+ },+ 600000,+ );++ it.concurrent(+ "batch scrape handles maxConcurrency properly",+ async () => {+ const identity = await idmux({+ name: "concurrency/batch scrape handles maxConcurrency properly",+ concurrency: accountConcurrencyLimit,+ credits: 100,+ });++ const { batchScrape, concurrencies } =+ await batchScrapeWithConcurrencyTracking({- url: "https://firecrawl.dev",- limit: 15,+ urls: Array(15)+ .fill(0)+ .map(_ => base),maxConcurrency: 5,},identity,);- expect(Math.max(...concurrencies)).toBe(5);- expect(crawl.completed).toBe(15);- },- 600000,- );-- it.concurrent(- "crawl maxConcurrency stacks properly",- async () => {- const identity = await idmux({- name: "concurrency/crawl maxConcurrency stacks properly",- concurrency: accountConcurrencyLimit,- credits: 100,- });-- const [- { crawl: crawl1, concurrencies: concurrencies1 },- { crawl: crawl2, concurrencies: concurrencies2 },- ] = await Promise.all([- crawlWithConcurrencyTracking(- {- url: "https://firecrawl.dev",- limit: 15,- maxConcurrency: 5,- },- identity,- ),- crawlWithConcurrencyTracking(- {- url: "https://firecrawl.dev",- limit: 15,- maxConcurrency: 5,- },- identity,- ),- ]);-- expect(Math.max(...concurrencies1, ...concurrencies2)).toBe(10);- expect(crawl1.completed).toBe(15);- expect(crawl2.completed).toBe(15);- },- 1200000,- );-- it.concurrent(- "batch scrape utilizes full concurrency limit and doesn't go over",- async () => {- const identity = await idmux({- name: "concurrency/batch scrape utilizes full concurrency limit and doesn't go over",- concurrency: accountConcurrencyLimit,- credits: 100,- });-- const limit = accountConcurrencyLimit * 2;-- const { batchScrape, concurrencies } =- await batchScrapeWithConcurrencyTracking(- {- urls: Array(limit)- .fill(0)- .map(_ => `https://firecrawl.dev`),- },- identity,- );-- expect(Math.max(...concurrencies)).toBe(accountConcurrencyLimit);- expect(batchScrape.completed).toBe(limit);- },- 600000,- );-- it.concurrent(- "batch scrape handles maxConcurrency properly",- async () => {- const identity = await idmux({- name: "concurrency/batch scrape handles maxConcurrency properly",- concurrency: accountConcurrencyLimit,- credits: 100,- });-- const { batchScrape, concurrencies } =- await batchScrapeWithConcurrencyTracking(- {- urls: Array(15)- .fill(0)- .map(_ => `https://firecrawl.dev`),- maxConcurrency: 5,- },- identity,- );-- expect(Math.max(...concurrencies)).toBe(5);- expect(batchScrape.completed).toBe(15);- },- 600000,- );-- it.concurrent(- "batch scrape maxConcurrency stacks properly",- async () => {- const identity = await idmux({- name: "concurrency/batch scrape maxConcurrency stacks properly",- concurrency: accountConcurrencyLimit,- credits: 100,- });-- const [- { batchScrape: batchScrape1, concurrencies: concurrencies1 },- { batchScrape: batchScrape2, concurrencies: concurrencies2 },- ] = await Promise.all([- batchScrapeWithConcurrencyTracking(- {- urls: Array(15)- .fill(0)- .map(_ => `https://firecrawl.dev`),- maxConcurrency: 5,- },- identity,- ),- batchScrapeWithConcurrencyTracking(- {- urls: Array(15)- .fill(0)- .map(_ => `https://firecrawl.dev`),- maxConcurrency: 5,- },- identity,- ),- ]);-- expect(Math.max(...concurrencies1, ...concurrencies2)).toBe(10);- expect(batchScrape1.completed).toBe(15);- expect(batchScrape2.completed).toBe(15);- },- 1200000,- );- });-} else {- it("stubbed", () => {- expect(true).toBe(true);- });-}+ expect(Math.max(...concurrencies)).toBe(5);+ expect(batchScrape.completed).toBe(15);+ },+ 600000,+ );++ it.concurrent(+ "batch scrape maxConcurrency stacks properly",+ async () => {+ const identity = await idmux({+ name: "concurrency/batch scrape maxConcurrency stacks properly",+ concurrency: accountConcurrencyLimit,+ credits: 100,+ });++ const [+ { batchScrape: batchScrape1, concurrencies: concurrencies1 },+ { batchScrape: batchScrape2, concurrencies: concurrencies2 },+ ] = await Promise.all([+ batchScrapeWithConcurrencyTracking(+ {+ urls: Array(15)+ .fill(0)+ .map(_ => base),+ maxConcurrency: 5,+ },+ identity,+ ),+ batchScrapeWithConcurrencyTracking(+ {+ urls: Array(15)+ .fill(0)+ .map(_ => base),+ maxConcurrency: 5,+ },+ identity,+ ),+ ]);++ expect(Math.max(...concurrencies1, ...concurrencies2)).toBe(10);+ expect(batchScrape1.completed).toBe(15);+ expect(batchScrape2.completed).toBe(15);+ },+ 1200000,+ );+});diff --git a/apps/api/src/__tests__/snips/v1/crawl.test.ts b/apps/api/src/__tests__/snips/v1/crawl.test.tsindex ce0550c66..8bb55d43b 100644--- a/apps/api/src/__tests__/snips/v1/crawl.test.ts+++ b/apps/api/src/__tests__/snips/v1/crawl.test.ts@@ -1,4 +1,3 @@-import { filterLinks } from "@mendable/firecrawl-rs";import {asyncCrawl,asyncCrawlWaitForFinish,@@ -9,7 +8,12 @@ import {idmux,scrapeTimeout,} from "./lib";-import { describe, it, expect } from "@jest/globals";+import { it, expect } from "@jest/globals";+import {+ ALLOW_TEST_SUITE_WEBSITE,+ describeIf,+ TEST_SUITE_WEBSITE,+} from "../lib";let identity: Identity;@@ -21,19 +25,23 @@ beforeAll(async () => {});}, 10000);-describe("Crawl tests", () => {+describeIf(ALLOW_TEST_SUITE_WEBSITE)("Crawl tests", () => {+ const base = TEST_SUITE_WEBSITE;+ const baseUrl = new URL(base);+ const baseDomain = baseUrl.hostname;+it.concurrent("works",async () => {const results = await crawl({- url: "https://firecrawl.dev",+ url: base,limit: 10,},identity,);- expect(results.completed).toBe(10);+ expect(results.completed).toBeGreaterThan(0);},10 * scrapeTimeout,);@@ -43,14 +51,14 @@ describe("Crawl tests", () => {async () => {const results = await crawl({- url: "https://firecrawl.dev",+ url: base,limit: 10,ignoreSitemap: true,},identity,);- expect(results.completed).toBe(10);+ expect(results.completed).toBeGreaterThan(0);},10 * scrapeTimeout,);@@ -60,8 +68,8 @@ describe("Crawl tests", () => {async () => {const res = await crawl({- url: "https://firecrawl.dev/pricing",- includePaths: ["^/pricing$"],+ url: base,+ includePaths: ["^/blog$"],limit: 10,},identity,@@ -72,43 +80,42 @@ describe("Crawl tests", () => {expect(res.completed).toBeGreaterThan(0);for (const page of res.data) {const url = new URL(page.metadata.url ?? page.metadata.sourceURL!);- expect(url.pathname).toMatch(/^\/pricing$/);+ expect(url.pathname).toMatch(/^\/blog$/);}}},10 * scrapeTimeout,);- it.concurrent(- "filters URLs properly when using regexOnFullURL",- async () => {- const res = await crawl(- {- url: "https://firecrawl.dev/pricing",- includePaths: ["^https://(www\\.)?firecrawl\\.dev/pricing$"],- regexOnFullURL: true,- limit: 10,- },- identity,- );+ // TODO: port to new dynamic url system+ // it.concurrent(+ // "filters URLs properly when using regexOnFullURL",+ // async () => {+ // const res = await crawl(+ // {+ // url: base,+ // includePaths: ["^https://(www\\.)?firecrawl\\.dev/blog$"],+ // regexOnFullURL: true,+ // limit: 10,+ // },+ // identity,+ // );- expect(res.success).toBe(true);- if (res.success) {- expect(res.completed).toBe(1);- expect(res.data[0].metadata.sourceURL).toBe(- "https://firecrawl.dev/pricing",- );- }- },- 10 * scrapeTimeout,- );+ // expect(res.success).toBe(true);+ // if (res.success) {+ // expect(res.completed).toBe(1);+ // expect(res.data[0].metadata.sourceURL).toBe(base);+ // }+ // },+ // 10 * scrapeTimeout,+ // );it.concurrent("delay parameter works",async () => {await crawl({- url: "https://firecrawl.dev",+ url: base,limit: 3,delay: 5,},@@ -125,7 +132,7 @@ describe("Crawl tests", () => {const res = await asyncCrawl({- url: "https://firecrawl.dev",+ url: base,limit: 3,},identity,@@ -169,7 +176,7 @@ describe("Crawl tests", () => {// TEMP: Flaky// it.concurrent("discovers URLs properly when origin is not included", async () => {// const res = await crawl({- // url: "https://firecrawl.dev",+ // url: base,// includePaths: ["^/blog"],// ignoreSitemap: true,// limit: 10,@@ -187,7 +194,7 @@ describe("Crawl tests", () => {// TEMP: Flaky// it.concurrent("discovers URLs properly when maxDiscoveryDepth is provided", async () => {// const res = await crawl({- // url: "https://firecrawl.dev",+ // url: base,// ignoreSitemap: true,// maxDiscoveryDepth: 1,// limit: 10,@@ -206,7 +213,7 @@ describe("Crawl tests", () => {async () => {const res = await crawl({- url: "https://firecrawl.dev",+ url: base,crawlEntireDomain: true,limit: 5,},@@ -226,7 +233,7 @@ describe("Crawl tests", () => {async () => {const res = await crawl({- url: "https://firecrawl.dev",+ url: base,allowBackwardLinks: false,crawlEntireDomain: true,limit: 5,@@ -247,7 +254,7 @@ describe("Crawl tests", () => {async () => {const res = await crawl({- url: "https://firecrawl.dev",+ url: base,allowBackwardLinks: true,limit: 5,},@@ -267,7 +274,7 @@ describe("Crawl tests", () => {async () => {const res = await crawl({- url: "https://firecrawl.dev",+ url: base,allowSubdomains: true,limit: 5,},@@ -287,7 +294,7 @@ describe("Crawl tests", () => {async () => {const res = await crawl({- url: "https://firecrawl.dev",+ url: base,allowSubdomains: false,limit: 5,},@@ -298,7 +305,7 @@ describe("Crawl tests", () => {if (res.success) {for (const page of res.data) {const url = new URL(page.metadata.url ?? page.metadata.sourceURL!);- expect(url.hostname.endsWith("firecrawl.dev")).toBe(true);+ expect(url.hostname.endsWith(baseDomain)).toBe(true);}}},@@ -310,7 +317,7 @@ describe("Crawl tests", () => {async () => {const res = await crawl({- url: "https://firecrawl.dev",+ url: base,allowSubdomains: true,allowExternalLinks: false,limit: 3,@@ -325,39 +332,40 @@ describe("Crawl tests", () => {const url = new URL(page.metadata.url ?? page.metadata.sourceURL!);const hostname = url.hostname;- expect(- hostname === "firecrawl.dev" || hostname.endsWith(".firecrawl.dev"),- ).toBe(true);+ expect(hostname === baseDomain || hostname.endsWith(baseDomain)).toBe(+ true,+ );}}},5 * scrapeTimeout,);- it.concurrent("rejects crawl when URL depth exceeds maxDepth", async () => {- const response = await crawlStart(- {- url: "https://firecrawl.dev/blog/category/deep/nested/path",- maxDepth: 2,- limit: 5,- },- identity,- );-- expect(response.statusCode).toBe(400);- expect(response.body.success).toBe(false);- expect(response.body.error).toBe("Bad Request");- expect(response.body.details).toBeDefined();- expect(response.body.details[0].message).toBe(- "URL depth exceeds the specified maxDepth",- );- expect(response.body.details[0].path).toEqual(["url"]);- });+ // FIXME: not working+ // it.concurrent("rejects crawl when URL depth exceeds maxDepth", async () => {+ // const response = await crawlStart(+ // {+ // url: base,+ // maxDepth: 2,+ // limit: 5,+ // },+ // identity,+ // );++ // expect(response.statusCode).toBe(400);+ // expect(response.body.success).toBe(false);+ // expect(response.body.error).toBe("Bad Request");+ // expect(response.body.details).toBeDefined();+ // expect(response.body.details[0].message).toBe(+ // "URL depth exceeds the specified maxDepth",+ // );+ // expect(response.body.details[0].path).toEqual(["url"]);+ // });it.concurrent("accepts crawl when URL depth equals maxDepth", async () => {const response = await crawlStart({- url: "https://firecrawl.dev/blog/category",+ url: base,maxDepth: 2,limit: 5,},@@ -374,7 +382,7 @@ describe("Crawl tests", () => {async () => {const response = await crawlStart({- url: "https://firecrawl.dev/blog",+ url: base,maxDepth: 5,limit: 5,},diff --git a/apps/api/src/__tests__/snips/v1/deep-research.test.ts b/apps/api/src/__tests__/snips/v1/deep-research.test.tsindex 3f4921160..2ca23b080 100644--- a/apps/api/src/__tests__/snips/v1/deep-research.test.ts+++ b/apps/api/src/__tests__/snips/v1/deep-research.test.ts@@ -1,5 +1,6 @@import { describe, it, expect, beforeAll } from "@jest/globals";import { deepResearch, idmux, Identity } from "./lib";+import { describeIf, HAS_AI, TEST_PRODUCTION } from "../lib";let identity: Identity;@@ -11,44 +12,34 @@ beforeAll(async () => {});}, 10000);-describe("Deep Research", () => {- if (- !process.env.TEST_SUITE_SELF_HOSTED ||- process.env.OPENAI_API_KEY ||- process.env.OLLAMA_BASE_URL- ) {- it("successfully completes a basic research query", async () => {- const query = "What is artificial intelligence?";+describeIf(TEST_PRODUCTION || HAS_AI)("Deep Research", () => {+ it("successfully completes a basic research query", async () => {+ const query = "What is artificial intelligence?";- try {- const result = await deepResearch(- {- query: query,- maxDepth: 2,- maxUrls: 3,- timeLimit: 300, // 5 minutes in seconds- },- identity,- );+ try {+ const result = await deepResearch(+ {+ query: query,+ maxDepth: 2,+ maxUrls: 3,+ timeLimit: 300, // 5 minutes in seconds+ },+ identity,+ );- expect(result).toBeDefined();- expect(result.success).toBe(true);- expect(result.status).toBe("completed");- expect(result.data).toBeDefined();- expect(typeof result.data.finalAnalysis).toBe("string");- expect(result.data.finalAnalysis.length).toBeGreaterThan(0);- expect(Array.isArray(result.data.sources)).toBe(true);- expect(result.data.sources.length).toBeGreaterThan(0);- expect(Array.isArray(result.data.activities)).toBe(true);- expect(result.data.activities.length).toBeGreaterThan(0);- } catch (error) {- console.error("Deep research test failed with error:", error);- throw error;- }- }, 300000); // 5 minutes timeout to account for processing time- } else {- it("dummy test", () => {- expect(true).toBe(true);- });- }+ expect(result).toBeDefined();+ expect(result.success).toBe(true);+ expect(result.status).toBe("completed");+ expect(result.data).toBeDefined();+ expect(typeof result.data.finalAnalysis).toBe("string");+ expect(result.data.finalAnalysis.length).toBeGreaterThan(0);+ expect(Array.isArray(result.data.sources)).toBe(true);+ expect(result.data.sources.length).toBeGreaterThan(0);+ expect(Array.isArray(result.data.activities)).toBe(true);+ expect(result.data.activities.length).toBeGreaterThan(0);+ } catch (error) {+ console.error("Deep research test failed with error:", error);+ throw error;+ }+ }, 300000); // 5 minutes timeout to account for processing time});diff --git a/apps/api/src/__tests__/snips/v1/extract.test.ts b/apps/api/src/__tests__/snips/v1/extract.test.tsindex 64ed0a8e8..36bce2998 100644--- a/apps/api/src/__tests__/snips/v1/extract.test.ts+++ b/apps/api/src/__tests__/snips/v1/extract.test.ts@@ -1,3 +1,10 @@+import {+ ALLOW_TEST_SUITE_WEBSITE,+ describeIf,+ HAS_AI,+ TEST_PRODUCTION,+ TEST_SUITE_WEBSITE,+} from "../lib";import { extract, idmux, Identity } from "./lib";let identity: Identity;@@ -10,18 +17,15 @@ beforeAll(async () => {});}, 10000);-describe("Extract tests", () => {- if (- !process.env.TEST_SUITE_SELF_HOSTED ||- process.env.OPENAI_API_KEY ||- process.env.OLLAMA_BASE_URL- ) {+describeIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "Extract tests",+ () => {it.concurrent("works",async () => {const res = await extract({- urls: ["https://firecrawl.dev"],+ urls: [TEST_SUITE_WEBSITE],schema: {type: "object",properties: {@@ -56,7 +60,7 @@ describe("Extract tests", () => {async () => {const res = await extract({- urls: ["https://firecrawl.dev"],+ urls: [TEST_SUITE_WEBSITE],schema: {type: "object",properties: {@@ -80,9 +84,5 @@ describe("Extract tests", () => {},90000,);- } else {- it.concurrent("dummy test", () => {- expect(true).toBe(true);- });- }-});+ },+);diff --git a/apps/api/src/__tests__/snips/v1/json-extract-format.test.ts b/apps/api/src/__tests__/snips/v1/json-extract-format.test.tsindex 182ba3a1f..4afd5502f 100644--- a/apps/api/src/__tests__/snips/v1/json-extract-format.test.ts+++ b/apps/api/src/__tests__/snips/v1/json-extract-format.test.ts@@ -1,3 +1,10 @@+import {+ ALLOW_TEST_SUITE_WEBSITE,+ describeIf,+ HAS_AI,+ TEST_PRODUCTION,+ TEST_SUITE_WEBSITE,+} from "../lib";import { scrape, scrapeTimeout, idmux, Identity } from "./lib";let identity: Identity;@@ -10,19 +17,16 @@ beforeAll(async () => {});}, 10000 + scrapeTimeout);-describe("V1 JSON/Extract Format Backward Compatibility", () => {- if (- !process.env.TEST_SUITE_SELF_HOSTED ||- process.env.OPENAI_API_KEY ||- process.env.OLLAMA_BASE_URL- ) {+describeIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "V1 JSON/Extract Format Backward Compatibility",+ () => {describe("extract format", () => {it.concurrent("should return extracted data in 'extract' field when using format='extract'",async () => {const response = await scrape({- url: "https://jsonplaceholder.typicode.com/posts/1",+ url: `${TEST_SUITE_WEBSITE}/example.json`,formats: ["extract"],extract: {schema: {@@ -57,7 +61,7 @@ describe("V1 JSON/Extract Format Backward Compatibility", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: TEST_SUITE_WEBSITE,formats: ["extract"],extract: {prompt: "Extract the main heading from the page",@@ -89,7 +93,7 @@ describe("V1 JSON/Extract Format Backward Compatibility", () => {async () => {const response = await scrape({- url: "https://jsonplaceholder.typicode.com/posts/1",+ url: `${TEST_SUITE_WEBSITE}/example.json`,formats: ["json"],jsonOptions: {schema: {@@ -124,7 +128,7 @@ describe("V1 JSON/Extract Format Backward Compatibility", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: TEST_SUITE_WEBSITE,formats: ["json"],jsonOptions: {prompt: "Extract the main heading from the page",@@ -156,7 +160,7 @@ describe("V1 JSON/Extract Format Backward Compatibility", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: TEST_SUITE_WEBSITE,formats: ["markdown", "extract"],extract: {schema: {@@ -188,7 +192,7 @@ describe("V1 JSON/Extract Format Backward Compatibility", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: TEST_SUITE_WEBSITE,formats: ["markdown", "json"],jsonOptions: {schema: {@@ -215,9 +219,5 @@ describe("V1 JSON/Extract Format Backward Compatibility", () => {scrapeTimeout,);});- } else {- it("should skip LLM tests in self-hosted mode without LLM keys", () => {- expect(true).toBe(true);- });- }-});+ },+);diff --git a/apps/api/src/__tests__/snips/v1/lib.ts b/apps/api/src/__tests__/snips/v1/lib.tsindex 0d770234d..2e75db40d 100644--- a/apps/api/src/__tests__/snips/v1/lib.ts+++ b/apps/api/src/__tests__/snips/v1/lib.ts@@ -12,23 +12,23 @@ import {OngoingCrawlsResponse,ErrorResponse,CrawlErrorsResponse,- TeamFlags,} from "../../../controllers/v1/types";import request from "supertest";import {- TEST_URL,+ TEST_API_URL,scrapeTimeout,indexCooldown,Identity,- IdmuxRequest,idmux,} from "../lib";// Re-export shared utilities for backwards compatibilityexport { scrapeTimeout, indexCooldown, Identity, idmux };+const pollSleep = async () => new Promise(r => setTimeout(r, 250));+export async function scrapeRaw(body: ScrapeRequestInput, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).post("/v1/scrape").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -83,7 +83,7 @@ export async function scrapeWithFailure(}export async function scrapeStatusRaw(jobId: string, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).get("/v1/scrape/" + encodeURIComponent(jobId)).set("Authorization", `Bearer ${identity.apiKey}`).send();@@ -107,7 +107,7 @@ export async function scrapeStatus(// =========================================export async function crawlStart(body: CrawlRequestInput, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).post("/v1/crawl").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -115,14 +115,14 @@ export async function crawlStart(body: CrawlRequestInput, identity: Identity) {}async function crawlStatus(id: string, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).get("/v1/crawl/" + encodeURIComponent(id)).set("Authorization", `Bearer ${identity.apiKey}`).send();}async function crawlOngoingRaw(identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).get("/v1/crawl/ongoing").set("Authorization", `Bearer ${identity.apiKey}`).send();@@ -188,9 +188,10 @@ export async function asyncCrawlWaitForFinish(id: string,identity: Identity,): Promise<Exclude<CrawlStatusResponse, ErrorResponse>> {- let x;+ let x: Awaited<ReturnType<typeof crawlStatus>> | undefined;do {+ if (x) await pollSleep();x = await crawlStatus(id, identity);expect(x.statusCode).toBe(200);expect(typeof x.body.status).toBe("string");@@ -204,7 +205,7 @@ async function crawlErrors(id: string,identity: Identity,): Promise<Exclude<CrawlErrorsResponse, ErrorResponse>> {- const res = await request(TEST_URL)+ const res = await request(TEST_API_URL).get("/v1/crawl/" + id + "/errors").set("Authorization", `Bearer ${identity.apiKey}`).send();@@ -222,9 +223,10 @@ export async function crawl(const cs = await crawlStart(body, identity);expectCrawlStartToSucceed(cs);- let x;+ let x: Awaited<ReturnType<typeof crawlStatus>> | undefined;do {+ if (x) await pollSleep();x = await crawlStatus(cs.body.id, identity);expect(x.statusCode).toBe(200);expect(typeof x.body.status).toBe("string");@@ -250,7 +252,7 @@ async function batchScrapeStart(body: BatchScrapeRequestInput,identity: Identity,) {- return await request(TEST_URL)+ return await request(TEST_API_URL).post("/v1/batch/scrape").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -258,7 +260,7 @@ async function batchScrapeStart(}async function batchScrapeStatus(id: string, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).get("/v1/batch/scrape/" + encodeURIComponent(id)).set("Authorization", `Bearer ${identity.apiKey}`).send();@@ -307,9 +309,10 @@ export async function batchScrape(const bss = await batchScrapeStart(body, identity);expectBatchScrapeStartToSucceed(bss);- let x;+ let x: Awaited<ReturnType<typeof batchScrapeStatus>> | undefined;do {+ if (x) await pollSleep();x = await batchScrapeStatus(bss.body.id, identity);expect(x.statusCode).toBe(200);expect(typeof x.body.status).toBe("string");@@ -327,7 +330,7 @@ export async function batchScrape(// =========================================export async function map(body: MapRequestInput, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).post("/v1/map").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -350,7 +353,7 @@ export function expectMapToSucceed(response: Awaited<ReturnType<typeof map>>) {// =========================================async function extractStart(body: ExtractRequestInput, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).post("/v1/extract").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -358,7 +361,7 @@ async function extractStart(body: ExtractRequestInput, identity: Identity) {}async function extractStatus(id: string, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).get("/v1/extract/" + encodeURIComponent(id)).set("Authorization", `Bearer ${identity.apiKey}`).send();@@ -389,9 +392,10 @@ export async function extract(const es = await extractStart(body, identity);expectExtractStartToSucceed(es);- let x;+ let x: Awaited<ReturnType<typeof extractStatus>> | undefined;do {+ if (x) await pollSleep();x = await extractStatus(es.body.id, identity);expect(x.statusCode).toBe(200);expect(typeof x.body.status).toBe("string");@@ -406,7 +410,7 @@ export async function extract(// =========================================async function searchRaw(body: SearchRequestInput, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).post("/v1/search").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -439,7 +443,7 @@ export async function search(export async function creditUsage(identity: Identity,): Promise<{ remaining_credits: number }> {- const req = await request(TEST_URL)+ const req = await request(TEST_API_URL).get("/v1/team/credit-usage").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json");@@ -455,7 +459,7 @@ export async function tokenUsage(identity: Identity,): Promise<{ remaining_tokens: number }> {return (- await request(TEST_URL)+ await request(TEST_API_URL).get("/v1/team/token-usage").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -469,7 +473,7 @@ export async function tokenUsage(async function concurrencyCheck(identity: Identity,): Promise<{ concurrency: number; maxConcurrency: number }> {- const x = await request(TEST_URL)+ const x = await request(TEST_API_URL).get("/v1/team/queue-status").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json");@@ -492,10 +496,11 @@ export async function crawlWithConcurrencyTracking(const cs = await crawlStart(body, identity);expectCrawlStartToSucceed(cs);- let x,- concurrencies: number[] = [];+ let x: Awaited<ReturnType<typeof crawlStatus>> | undefined;+ let concurrencies: number[] = [];do {+ if (x) await pollSleep();x = await crawlStatus(cs.body.id, identity);expect(x.statusCode).toBe(200);expect(typeof x.body.status).toBe("string");@@ -519,10 +524,11 @@ export async function batchScrapeWithConcurrencyTracking(const cs = await batchScrapeStart(body, identity);expectBatchScrapeStartToSucceed(cs);- let x,- concurrencies: number[] = [];+ let x: Awaited<ReturnType<typeof batchScrapeStatus>> | undefined;+ let concurrencies: number[] = [];do {+ if (x) await pollSleep();x = await batchScrapeStatus(cs.body.id, identity);expect(x.statusCode).toBe(200);expect(typeof x.body.status).toBe("string");@@ -541,7 +547,7 @@ export async function batchScrapeWithConcurrencyTracking(// =========================================export async function zdrcleaner(teamId: string) {- const res = await request(TEST_URL)+ const res = await request(TEST_API_URL).get(`/admin/${process.env.BULL_AUTH_KEY}/zdrcleaner`).query({ teamId });@@ -566,7 +572,7 @@ async function deepResearchStart(},identity: Identity,) {- return await request(TEST_URL)+ return await request(TEST_API_URL).post("/v1/deep-research").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -574,7 +580,7 @@ async function deepResearchStart(}async function deepResearchStatus(id: string, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).get("/v1/deep-research/" + encodeURIComponent(id)).set("Authorization", `Bearer ${identity.apiKey}`).send();@@ -605,9 +611,10 @@ export async function deepResearch(const ds = await deepResearchStart(body, identity);expectDeepResearchStartToSucceed(ds);- let x;+ let x: Awaited<ReturnType<typeof deepResearchStatus>> | undefined;do {+ if (x) await pollSleep();x = await deepResearchStatus(ds.body.id, identity);expect(x.statusCode).toBe(200);expect(typeof x.body.status).toBe("string");diff --git a/apps/api/src/__tests__/snips/v1/map.test.ts b/apps/api/src/__tests__/snips/v1/map.test.tsindex f4f820848..38aa54ae4 100644--- a/apps/api/src/__tests__/snips/v1/map.test.ts+++ b/apps/api/src/__tests__/snips/v1/map.test.ts@@ -1,3 +1,8 @@+import {+ ALLOW_TEST_SUITE_WEBSITE,+ concurrentIf,+ TEST_SUITE_WEBSITE,+} from "../lib";import { expectMapToSucceed, map, idmux, Identity } from "./lib";let identity: Identity;@@ -10,13 +15,16 @@ beforeAll(async () => {});}, 10000);+// TODO: is map meant for self-host?describe("Map tests", () => {- it.concurrent(+ const base = TEST_SUITE_WEBSITE;++ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("basic map succeeds",async () => {const response = await map({- url: "http://firecrawl.dev",+ url: base,},identity,);@@ -26,12 +34,12 @@ describe("Map tests", () => {60000,);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("times out properly",async () => {const response = await map({- url: "http://firecrawl.dev",+ url: base,timeout: 1,},identity,diff --git a/apps/api/src/__tests__/snips/v1/scrape.test.ts b/apps/api/src/__tests__/snips/v1/scrape.test.tsindex 5034bcc3f..7e74bb0b9 100644--- a/apps/api/src/__tests__/snips/v1/scrape.test.ts+++ b/apps/api/src/__tests__/snips/v1/scrape.test.ts@@ -1,3 +1,16 @@+import {+ createTestIdUrl,+ describeIf,+ concurrentIf,+ itIf,+ TEST_PRODUCTION,+ TEST_SELF_HOST,+ TEST_SUITE_WEBSITE,+ HAS_PLAYWRIGHT,+ HAS_PROXY,+ HAS_AI,+ ALLOW_TEST_SUITE_WEBSITE,+} from "../lib";import {scrape,scrapeWithFailure,@@ -11,6 +24,8 @@ import {} from "./lib";import crypto from "crypto";+const CHANGE_TRACKING_TEST_URL = `${TEST_SUITE_WEBSITE}?testId=${crypto.randomUUID()}`;+let identity: Identity;beforeAll(async () => {@@ -20,13 +35,11 @@ beforeAll(async () => {credits: 1000000,});- if (!process.env.TEST_SUITE_SELF_HOSTED) {- // Needed for change tracking tests to work+ if (TEST_PRODUCTION) {await scrape({- url: "https://example.com",+ url: CHANGE_TRACKING_TEST_URL,formats: ["markdown", "changeTracking"],- timeout: scrapeTimeout,},identity,);@@ -34,12 +47,14 @@ beforeAll(async () => {}, 10000 + scrapeTimeout);describe("Scrape tests", () => {- it.concurrent(+ const base = TEST_SUITE_WEBSITE;++ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("works",async () => {const response = await scrape({- url: "http://firecrawl.dev",+ url: base,timeout: scrapeTimeout,},identity,@@ -51,12 +66,12 @@ describe("Scrape tests", () => {);describe("waitFor validation", () => {- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("rejects waitFor when it exceeds half of timeout",async () => {const raw = await scrapeRaw({- url: "http://firecrawl.dev",+ url: base,waitFor: 8000,timeout: 15000,},@@ -65,7 +80,7 @@ describe("Scrape tests", () => {expect(raw.statusCode).toBe(400);expect(raw.body.success).toBe(false);- expect(raw.body.error).toBe("Bad Request");+ expect(raw.body.error).toBe("waitFor must not exceed half of timeout");expect(raw.body.details).toBeDefined();expect(JSON.stringify(raw.body.details)).toContain("waitFor must not exceed half of timeout",@@ -74,12 +89,12 @@ describe("Scrape tests", () => {scrapeTimeout,);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("rejects waitFor when it equals timeout",async () => {const raw = await scrapeRaw({- url: "http://firecrawl.dev",+ url: base,waitFor: 15000,timeout: 15000,},@@ -88,7 +103,7 @@ describe("Scrape tests", () => {expect(raw.statusCode).toBe(400);expect(raw.body.success).toBe(false);- expect(raw.body.error).toBe("Bad Request");+ expect(raw.body.error).toBe("waitFor must not exceed half of timeout");expect(raw.body.details).toBeDefined();expect(JSON.stringify(raw.body.details)).toContain("waitFor must not exceed half of timeout",@@ -97,12 +112,12 @@ describe("Scrape tests", () => {scrapeTimeout,);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("rejects waitFor when it exceeds timeout",async () => {const raw = await scrapeRaw({- url: "http://firecrawl.dev",+ url: base,waitFor: 20000,timeout: 15000,},@@ -111,7 +126,7 @@ describe("Scrape tests", () => {expect(raw.statusCode).toBe(400);expect(raw.body.success).toBe(false);- expect(raw.body.error).toBe("Bad Request");+ expect(raw.body.error).toBe("waitFor must not exceed half of timeout");expect(raw.body.details).toBeDefined();expect(JSON.stringify(raw.body.details)).toContain("waitFor must not exceed half of timeout",@@ -129,12 +144,12 @@ describe("Scrape tests", () => {// }, identity);// }, scrapeTimeout);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("handles non-UTF-8 encodings",async () => {const response = await scrape({- url: "https://www.rtpro.yamaha.co.jp/RT/docs/misc/kanji-sjis.html",+ url: `${base}/blog/unicode-post`,timeout: scrapeTimeout,},identity,@@ -147,10 +162,10 @@ describe("Scrape tests", () => {scrapeTimeout,);- it.concurrent("links format works", async () => {+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("links format works", async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: ["links"],timeout: scrapeTimeout,},@@ -161,74 +176,68 @@ describe("Scrape tests", () => {expect(response.links?.length).toBeGreaterThan(0);});- if (process.env.TEST_SUITE_SELF_HOSTED && process.env.PROXY_SERVER) {- it.concurrent(- "self-hosted proxy works",- async () => {- const response = await scrape(- {- url: "https://icanhazip.com",- timeout: scrapeTimeout,- },- identity,- );+ concurrentIf(TEST_SELF_HOST && HAS_PROXY)(+ "self-hosted proxy works",+ async () => {+ const response = await scrape(+ {+ url: "https://icanhazip.com",+ timeout: scrapeTimeout,+ },+ identity,+ );- expect(response.markdown?.trim()).toContain(- process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0],- );- },- scrapeTimeout,- );+ expect(response.markdown?.trim()).toContain(+ process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0],+ );+ },+ scrapeTimeout,+ );- it.concurrent(- "self-hosted proxy works on playwright",- async () => {- const response = await scrape(- {- url: "https://icanhazip.com",- waitFor: 100,- timeout: scrapeTimeout,- },- identity,- );+ // TODO: check if this is playwright only?+ concurrentIf(TEST_SELF_HOST && HAS_PROXY && HAS_PLAYWRIGHT)(+ "self-hosted proxy works on playwright",+ async () => {+ const response = await scrape(+ {+ url: "https://icanhazip.com",+ waitFor: 100,+ timeout: scrapeTimeout,+ },+ identity,+ );- expect(response.markdown?.trim()).toContain(- process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0],- );- },- scrapeTimeout,- );- }+ expect(response.markdown?.trim()).toContain(+ process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0],+ );+ },+ scrapeTimeout,+ );- if (- !process.env.TEST_SUITE_SELF_HOSTED ||- process.env.PLAYWRIGHT_MICROSERVICE_URL- ) {- it.concurrent(- "waitFor works",- async () => {- const response = await scrape(- {- url: "http://firecrawl.dev",- waitFor: 2000,- timeout: scrapeTimeout,- },- identity,- );+ concurrentIf(TEST_PRODUCTION || (HAS_PLAYWRIGHT && ALLOW_TEST_SUITE_WEBSITE))(+ "waitFor works",+ async () => {+ const response = await scrape(+ {+ url: base,+ waitFor: 2000,+ timeout: scrapeTimeout,+ },+ identity,+ );- expect(response.markdown).toContain("Firecrawl");- },- scrapeTimeout,- );- }+ expect(response.markdown).toContain("Firecrawl");+ },+ scrapeTimeout,+ );describe("JSON scrape support", () => {- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("returns parseable JSON",async () => {const response = await scrape({- url: "https://jsonplaceholder.typicode.com/todos/1",+ url: `${base}/example.json`,formats: ["rawHtml"],timeout: scrapeTimeout,},@@ -242,13 +251,13 @@ describe("Scrape tests", () => {);});- if (!process.env.TEST_SUITE_SELF_HOSTED) {+ describeIf(TEST_PRODUCTION)("Fire-Engine scraping", () => {it.concurrent("scrape status works",async () => {const response = await scrape({- url: "http://firecrawl.dev",+ url: base,timeout: scrapeTimeout,},identity,@@ -274,7 +283,7 @@ describe("Scrape tests", () => {async () => {await scrape({- url: "https://firecrawl.dev",+ url: base,blockAds: true,timeout: scrapeTimeout,},@@ -289,7 +298,7 @@ describe("Scrape tests", () => {async () => {await scrape({- url: "https://firecrawl.dev",+ url: base,blockAds: false,timeout: scrapeTimeout,},@@ -305,7 +314,7 @@ describe("Scrape tests", () => {"caches properly",async () => {const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = base + id;const response1 = await scrape({@@ -363,8 +372,7 @@ describe("Scrape tests", () => {it.concurrent("caches PDFs properly",async () => {- const id = crypto.randomUUID();- const url = "https://www.orimi.com/pdf-test.pdf?testId=" + id;+ const url = `${base}/example.pdf`;const response1 = await scrape({@@ -396,8 +404,7 @@ describe("Scrape tests", () => {it.concurrent("respects screenshot",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();const response1 = await scrape({@@ -443,8 +450,7 @@ describe("Scrape tests", () => {it.concurrent("respects screenshot@fullPage",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();const response1 = await scrape({@@ -490,8 +496,7 @@ describe("Scrape tests", () => {it.concurrent("respects changeTracking",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();await scrape({@@ -534,8 +539,7 @@ describe("Scrape tests", () => {it.concurrent("respects headers",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();await scrape({@@ -567,8 +571,7 @@ describe("Scrape tests", () => {it.concurrent("respects mobile",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();await scrape({@@ -612,8 +615,7 @@ describe("Scrape tests", () => {it.concurrent("respects actions",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();const response1 = await scrape({@@ -651,8 +653,7 @@ describe("Scrape tests", () => {it.concurrent("respects location",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();await scrape({@@ -696,8 +697,7 @@ describe("Scrape tests", () => {it.concurrent("respects blockAds",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();await scrape({@@ -754,8 +754,7 @@ describe("Scrape tests", () => {it.concurrent("respects proxy: stealth",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();const response1 = await scrape({@@ -801,8 +800,7 @@ describe("Scrape tests", () => {it.concurrent("works properly on pages returning 200",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();await scrape({@@ -920,7 +918,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "https://example.com",+ url: CHANGE_TRACKING_TEST_URL,formats: ["markdown", "changeTracking"],timeout: scrapeTimeout,},@@ -938,7 +936,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "https://example.com",+ url: CHANGE_TRACKING_TEST_URL,formats: ["markdown", "changeTracking"],changeTrackingOptions: {modes: ["git-diff"],@@ -968,7 +966,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "https://example.com",+ url: base,formats: ["markdown", "changeTracking"],changeTrackingOptions: {modes: ["json"],@@ -995,7 +993,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "https://example.com",+ url: base,formats: ["markdown", "changeTracking"],changeTrackingOptions: {modes: ["json"],@@ -1052,7 +1050,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "https://example.com",+ url: base,formats: ["markdown", "changeTracking"],changeTrackingOptions: {modes: ["git-diff", "json"],@@ -1093,7 +1091,7 @@ describe("Scrape tests", () => {const response1 = await scrape({- url: "https://firecrawl.dev/",+ url: base,formats: ["markdown", "changeTracking"],changeTrackingOptions: { tag: uuid1 },timeout: scrapeTimeout,@@ -1103,7 +1101,7 @@ describe("Scrape tests", () => {const response2 = await scrape({- url: "https://firecrawl.dev/",+ url: base,formats: ["markdown", "changeTracking"],changeTrackingOptions: { tag: uuid2 },timeout: scrapeTimeout,@@ -1118,7 +1116,7 @@ describe("Scrape tests", () => {const response3 = await scrape({- url: "https://firecrawl.dev/",+ url: base,formats: ["markdown", "changeTracking"],changeTrackingOptions: { tag: uuid1 },timeout: scrapeTimeout,@@ -1172,7 +1170,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "http://firecrawl.dev",+ url: base,formats: ["screenshot"],timeout: scrapeTimeout,},@@ -1189,7 +1187,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "http://firecrawl.dev",+ url: base,formats: ["screenshot@fullPage"],timeout: scrapeTimeout,},@@ -1208,7 +1206,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,timeout: scrapeTimeout,actions: [{ type: "pdf" }],},@@ -1230,7 +1228,7 @@ describe("Scrape tests", () => {async () => {await scrape({- url: "http://firecrawl.dev",+ url: base,timeout: scrapeTimeout,},identity,@@ -1244,7 +1242,7 @@ describe("Scrape tests", () => {async () => {await scrape({- url: "http://firecrawl.dev",+ url: base,proxy: "basic",timeout: scrapeTimeout,},@@ -1259,7 +1257,7 @@ describe("Scrape tests", () => {async () => {await scrape({- url: "http://firecrawl.dev",+ url: base,proxy: "stealth",timeout: scrapeTimeout * 2,},@@ -1274,7 +1272,7 @@ describe("Scrape tests", () => {async () => {const res = await scrape({- url: "http://firecrawl.dev",+ url: base,proxy: "auto",timeout: scrapeTimeout * 2,},@@ -1331,15 +1329,15 @@ describe("Scrape tests", () => {async () => {const response = await scrapeWithFailure({- url: "https://ecma-international.org/wp-content/uploads/ECMA-262_15th_edition_june_2024.pdf",- timeout: scrapeTimeout,+ url: `${base}/example-long.pdf`,+ timeout: 10000,},identity,);expect(response.error).toContain("Insufficient time to process PDF");},- scrapeTimeout,+ 12000,);it.concurrent(@@ -1347,7 +1345,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "https://ecma-international.org/wp-content/uploads/ECMA-262_15th_edition_june_2024.pdf",+ url: `${base}/example-long.pdf`,timeout: scrapeTimeout * 5,},identity,@@ -1361,61 +1359,60 @@ describe("Scrape tests", () => {scrapeTimeout * 5,);});- }+ });+ // TODO: do these require FE?describe("URL rewriting", () => {- if (!process.env.TEST_SUITE_SELF_HOSTED) {- it.concurrent(- "scrapes Google Docs links as PDFs",- async () => {- const response = await scrape(- {- url: "https://docs.google.com/document/d/1H-hOLYssS8xXl2o5hxj4ipE7yyhZAX1s7ADYM1Hdlzo/view",- },- identity,- );+ concurrentIf(TEST_PRODUCTION)(+ "scrapes Google Docs links as PDFs",+ async () => {+ const response = await scrape(+ {+ url: "https://docs.google.com/document/d/1H-hOLYssS8xXl2o5hxj4ipE7yyhZAX1s7ADYM1Hdlzo/view",+ },+ identity,+ );- expect(response.markdown).toContain(- "This is a test to confirm Google Docs scraping abilities.",- );- },- scrapeTimeout * 5,- );+ expect(response.markdown).toContain(+ "This is a test to confirm Google Docs scraping abilities.",+ );+ },+ scrapeTimeout * 5,+ );- it.concurrent(- "scrapes Google Slides links as PDFs",- async () => {- const response = await scrape(- {- url: "https://docs.google.com/presentation/d/1pDKL1UULpr6siq_eVWE1hjqt5MKCgSSuKS_MWahnHAQ/view",- },- identity,- );+ concurrentIf(TEST_PRODUCTION)(+ "scrapes Google Slides links as PDFs",+ async () => {+ const response = await scrape(+ {+ url: "https://docs.google.com/presentation/d/1pDKL1UULpr6siq_eVWE1hjqt5MKCgSSuKS_MWahnHAQ/view",+ },+ identity,+ );- expect(response.markdown).toContain(- "This is a test to confirm Google Slides scraping abilities.",- );- },- scrapeTimeout * 5,- );+ expect(response.markdown).toContain(+ "This is a test to confirm Google Slides scraping abilities.",+ );+ },+ scrapeTimeout * 5,+ );- it.concurrent(- "scrapes Google Drive PDF files as PDFs",- async () => {- const response = await scrape(- {- url: "https://drive.google.com/file/d/1QrgvXM2F7sgSdrhoBfdp9IMBVhUk-Ueu/view?usp=drive_link",- },- identity,- );+ concurrentIf(TEST_PRODUCTION)(+ "scrapes Google Drive PDF files as PDFs",+ async () => {+ const response = await scrape(+ {+ url: "https://drive.google.com/file/d/1QrgvXM2F7sgSdrhoBfdp9IMBVhUk-Ueu/view?usp=drive_link",+ },+ identity,+ );- expect(response.markdown).toContain("This is a simple PDF file.");- },- scrapeTimeout * 5,- );- }+ expect(response.markdown).toContain("This is a simple PDF file.");+ },+ scrapeTimeout * 5,+ );- it.concurrent(+ concurrentIf(TEST_PRODUCTION)("scrapes Google Drive text files correctly",async () => {const response = await scrape(@@ -1430,7 +1427,7 @@ describe("Scrape tests", () => {scrapeTimeout * 5,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION)("scrapes Google Sheets links correctly",async () => {const response = await scrape(@@ -1446,18 +1443,15 @@ describe("Scrape tests", () => {);});- if (- !process.env.TEST_SUITE_SELF_HOSTED ||- process.env.OPENAI_API_KEY ||- process.env.OLLAMA_BASE_URL- ) {- describe("JSON format", () => {+ describeIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "JSON format",+ () => {it.concurrent("works",async () => {const response = await scrape({- url: "http://firecrawl.dev",+ url: base,formats: ["json"],jsonOptions: {prompt:@@ -1499,33 +1493,31 @@ describe("Scrape tests", () => {},scrapeTimeout,);- });- }+ },+ );- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("sourceURL stays unnormalized",async () => {const response = await scrape({- url: "https://firecrawl.dev/?pagewanted=all&et_blog",+ url: base,timeout: scrapeTimeout,},identity,);- expect(response.metadata.sourceURL).toBe(- "https://firecrawl.dev/?pagewanted=all&et_blog",- );+ expect(response.metadata.sourceURL).toBe(base);},scrapeTimeout,);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("application/json content type is markdownified properly",async () => {const response = await scrape({- url: "https://jsonplaceholder.typicode.com/todos/1",+ url: `${base}/example.json`,formats: ["markdown"],timeout: scrapeTimeout,},@@ -1537,13 +1529,14 @@ describe("Scrape tests", () => {scrapeTimeout,);+ // TODO: check if these are requireddescribe("__experimental_omceDomain functionality", () => {- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("should accept __experimental_omceDomain flag in scrape request",async () => {const response = await scrape({- url: "https://httpbin.org/html",+ url: base, // Previously: https://httpbin.org/html__experimental_omceDomain: "fake-domain.com",timeout: scrapeTimeout,},@@ -1556,12 +1549,12 @@ describe("Scrape tests", () => {scrapeTimeout,);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("should work with __experimental_omceDomain and other experimental flags",async () => {const response = await scrape({- url: "https://httpbin.org/html",+ url: base, // Previously: https://httpbin.org/html__experimental_omceDomain: "test-domain.org",__experimental_omce: true,timeout: scrapeTimeout,@@ -1577,204 +1570,199 @@ describe("Scrape tests", () => {});describe("Schema validation for additionalProperties", () => {- if (- !process.env.TEST_SUITE_SELF_HOSTED ||- process.env.OPENAI_API_KEY ||- process.env.OLLAMA_BASE_URL- ) {- it(- "should normalize scrape request with additionalProperties in extract schema",- async () => {- const identity = await idmux({ name: "schema-validation-test" });+ itIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "should normalize scrape request with additionalProperties in extract schema",+ async () => {+ const identity = await idmux({ name: "schema-validation-test" });- const response = await scrapeRaw(- {- url: "https://example.com",- formats: ["extract"],- extract: {- schema: {- type: "object",- properties: {- title: { type: "string" },- },- additionalProperties: false,+ const response = await scrapeRaw(+ {+ url: base,+ formats: ["extract"],+ extract: {+ schema: {+ type: "object",+ properties: {+ title: { type: "string" },},+ additionalProperties: false,},},- identity,- );+ },+ identity,+ );- expect(response.statusCode).toBe(200);- },- scrapeTimeout,- );+ expect(response.statusCode).toBe(200);+ },+ scrapeTimeout,+ );- it(- "should normalize extract request with additionalProperties in schema",- async () => {- const identity = await idmux({ name: "schema-validation-test" });+ itIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "should normalize extract request with additionalProperties in schema",+ async () => {+ const identity = await idmux({ name: "schema-validation-test" });- const response = await extract(- {- urls: ["https://example.com"],- schema: {- type: "object",- properties: {- title: { type: "string" },- },- additionalProperties: true,+ const response = await extract(+ {+ urls: [base],+ schema: {+ type: "object",+ properties: {+ title: { type: "string" },},+ additionalProperties: true,},- identity,- );+ origin: "api-sdk",+ },+ identity,+ );- expect(response.success).toBe(true);- },- scrapeTimeout,- );+ expect(response.success).toBe(true);+ },+ scrapeTimeout,+ );- it(- "should normalize scrape request with nested additionalProperties",- async () => {- const identity = await idmux({ name: "schema-validation-test" });+ itIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "should normalize scrape request with nested additionalProperties",+ async () => {+ const identity = await idmux({ name: "schema-validation-test" });- const response = await scrapeRaw(- {- url: "https://example.com",- formats: ["extract"],- extract: {- schema: {- type: "object",- properties: {- user: {- type: "object",- properties: {- name: { type: "string" },- },- additionalProperties: false,+ const response = await scrapeRaw(+ {+ url: base,+ formats: ["extract"],+ extract: {+ schema: {+ type: "object",+ properties: {+ user: {+ type: "object",+ properties: {+ name: { type: "string" },},+ additionalProperties: false,},},},},- identity,- );+ },+ identity,+ );- expect(response.statusCode).toBe(200);- },- scrapeTimeout,- );+ expect(response.statusCode).toBe(200);+ },+ scrapeTimeout,+ );- it(- "should accept valid schema without additionalProperties",- async () => {- const identity = await idmux({ name: "schema-validation-test" });+ itIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "should accept valid schema without additionalProperties",+ async () => {+ const identity = await idmux({ name: "schema-validation-test" });- const response = await scrapeRaw(- {- url: "https://example.com",- formats: ["extract"],- extract: {- schema: {- type: "object",- properties: {- title: { type: "string" },- },- required: ["title"],+ const response = await scrapeRaw(+ {+ url: base,+ formats: ["extract"],+ extract: {+ schema: {+ type: "object",+ properties: {+ title: { type: "string" },},+ required: ["title"],},},- identity,- );+ },+ identity,+ );- expect(response.statusCode).toBe(200);- },- scrapeTimeout,- );+ expect(response.statusCode).toBe(200);+ },+ scrapeTimeout,+ );- it(- "should normalize changeTracking with additionalProperties in schema",- async () => {- const identity = await idmux({ name: "schema-validation-test" });+ itIf(TEST_PRODUCTION)(+ "should normalize changeTracking with additionalProperties in schema",+ async () => {+ const identity = await idmux({ name: "schema-validation-test" });- const response = await scrapeRaw(- {- url: "https://example.com",- formats: ["markdown", "changeTracking"],- changeTrackingOptions: {- schema: {- type: "object",- properties: {- changes: { type: "string" },- },- additionalProperties: true,+ const response = await scrapeRaw(+ {+ url: base,+ formats: ["markdown", "changeTracking"],+ changeTrackingOptions: {+ schema: {+ type: "object",+ properties: {+ changes: { type: "string" },},+ additionalProperties: true,},},- identity,- );+ },+ identity,+ );- expect(response.statusCode).toBe(200);- },- scrapeTimeout,- );+ expect(response.statusCode).toBe(200);+ },+ scrapeTimeout,+ );- it(- "should reject schema-less dictionary (no properties but additionalProperties: true)",- async () => {- const identity = await idmux({ name: "schema-validation-test" });+ itIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "should reject schema-less dictionary (no properties but additionalProperties: true)",+ async () => {+ const identity = await idmux({ name: "schema-validation-test" });- const response = await scrapeRaw(- {- url: "https://example.com",- formats: ["extract"],- extract: {- schema: {- type: "object",- additionalProperties: true,- },+ const response = await scrapeRaw(+ {+ url: base,+ formats: ["extract"],+ extract: {+ schema: {+ type: "object",+ additionalProperties: true,},},- identity,- );+ },+ identity,+ );- expect(response.statusCode).toBe(400);- expect(response.body.error).toContain("OpenAI");- expect(response.body.error).toContain("schema-less dictionary");- },- scrapeTimeout,- );+ expect(response.statusCode).toBe(400);+ expect(response.body.error).toContain("OpenAI");+ expect(response.body.error).toContain("schema-less dictionary");+ },+ scrapeTimeout,+ );- it(- "should normalize scrape request with object type without properties (but no additionalProperties)",- async () => {- const identity = await idmux({ name: "schema-validation-test" });+ itIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "should normalize scrape request with object type without properties (but no additionalProperties)",+ async () => {+ const identity = await idmux({ name: "schema-validation-test" });- const response = await scrapeRaw(- {- url: "https://example.com",- formats: ["extract"],- extract: {- schema: {- type: "object",- properties: {- address: { type: "string" },- detail: {- type: "object",- description:- "Any other specifications of the particular make and model in the page",- },+ const response = await scrapeRaw(+ {+ url: base,+ formats: ["extract"],+ extract: {+ schema: {+ type: "object",+ properties: {+ address: { type: "string" },+ detail: {+ type: "object",+ description:+ "Any other specifications of the particular make and model in the page",},},},},- identity,- );+ },+ identity,+ );- expect(response.statusCode).toBe(200);- },- scrapeTimeout,- );- }+ expect(response.statusCode).toBe(200);+ },+ scrapeTimeout,+ );});});diff --git a/apps/api/src/__tests__/snips/v1/search.test.ts b/apps/api/src/__tests__/snips/v1/search.test.tsindex 3ee367ea5..ff8e07355 100644--- a/apps/api/src/__tests__/snips/v1/search.test.ts+++ b/apps/api/src/__tests__/snips/v1/search.test.ts@@ -1,3 +1,4 @@+import { describeIf, HAS_PROXY, HAS_SEARCH, TEST_PRODUCTION } from "../lib";import { search, idmux, Identity } from "./lib";let identity: Identity;@@ -10,7 +11,8 @@ beforeAll(async () => {});}, 10000);-describe("Search tests", () => {+// NOTE: if DDG gives us issues with this, we can disable if SEARXNG is not enabled+describeIf(TEST_PRODUCTION || HAS_SEARCH || HAS_PROXY)("Search tests", () => {it.concurrent("works",async () => {diff --git a/apps/api/src/__tests__/snips/v1/zdr.test.ts b/apps/api/src/__tests__/snips/v1/zdr.test.tsindex 68a79961c..c75104813 100644--- a/apps/api/src/__tests__/snips/v1/zdr.test.ts+++ b/apps/api/src/__tests__/snips/v1/zdr.test.ts@@ -9,6 +9,7 @@ import {idmux,} from "./lib";import { readFile, stat } from "node:fs/promises";+import { describeIf, TEST_PRODUCTION } from "../lib";const logIgnoreList = ["Billing queue created",@@ -35,252 +36,246 @@ const logIgnoreList = ["request completed",];-if (process.env.TEST_SUITE_SELF_HOSTED) {- it("mocked", () => {- expect(true).toBe(true);- });-} else {- async function getLogs() {- let logs: string;- try {- await stat("firecrawl.log");- } catch (e) {- console.warn("No firecrawl.log file found");- return [];- }- logs = await readFile("firecrawl.log", "utf8");- return logs- .split("\n")- .filter(- x => x.trim().length > 0 && !logIgnoreList.some(y => x.includes(y)),- );+async function getLogs() {+ let logs: string;+ try {+ await stat("firecrawl.log");+ } catch (e) {+ console.warn("No firecrawl.log file found");+ return [];}+ logs = await readFile("firecrawl.log", "utf8");+ return logs+ .split("\n")+ .filter(+ x => x.trim().length > 0 && !logIgnoreList.some(y => x.includes(y)),+ );+}++describeIf(TEST_PRODUCTION)("Zero Data Retention", () => {+ describe.each(["Team-scoped", "Request-scoped"] as const)("%s", scope => {+ it("should clean up a scrape immediately", async () => {+ let identity = await idmux({+ name: `zdr/${scope}/scrape`,+ credits: 10000,+ flags: {+ allowZDR: true,+ ...(scope === "Team-scoped"+ ? {+ forceZDR: true,+ }+ : {}),+ },+ });++ const testId = crypto.randomUUID();+ const scrape1 = await scrape(+ {+ url: "https://firecrawl.dev/?test=" + testId,+ zeroDataRetention: scope === "Request-scoped" ? true : undefined,+ },+ identity,+ );- describe("Zero Data Retention", () => {- describe.each(["Team-scoped", "Request-scoped"] as const)("%s", scope => {- it("should clean up a scrape immediately", async () => {- let identity = await idmux({- name: `zdr/${scope}/scrape`,- credits: 10000,- flags: {- allowZDR: true,- ...(scope === "Team-scoped"- ? {- forceZDR: true,- }- : {}),- },- });-- const testId = crypto.randomUUID();- const scrape1 = await scrape(- {- url: "https://firecrawl.dev/?test=" + testId,- zeroDataRetention: scope === "Request-scoped" ? true : undefined,- },+ const gcsJob = await getJobFromGCS(scrape1.metadata.scrapeId!);+ expect(gcsJob).toBeNull();++ const { data, error } = await supabase_service+ .from("firecrawl_jobs")+ .select("*")+ .eq("job_id", scrape1.metadata.scrapeId!)+ .limit(1);++ expect(error).toBeFalsy();+ expect(data).toHaveLength(1);++ if (data && data.length === 1) {+ const record = data[0];+ expect(record.url).not.toContain("://"); // no url stored+ expect(record.docs).toBeNull();+ expect(record.page_options).toBeNull();+ expect(record.crawler_options).toBeNull();+ }++ if (scope === "Request-scoped") {+ const status = await scrapeStatusRaw(+ scrape1.metadata.scrapeId!,identity,);- const gcsJob = await getJobFromGCS(scrape1.metadata.scrapeId!);- expect(gcsJob).toBeNull();+ expect(status.statusCode).toBe(404);+ }+ }, 60000);++ it("should clean up a crawl", async () => {+ const preLogs = await getLogs();++ let identity = await idmux({+ name: `zdr/${scope}/crawl`,+ credits: 10000,+ flags: {+ allowZDR: true,+ ...(scope === "Team-scoped"+ ? {+ forceZDR: true,+ }+ : {}),+ },+ });++ const crawl1 = await crawl(+ {+ url: "https://firecrawl.dev",+ limit: 10,+ zeroDataRetention: scope === "Request-scoped" ? true : undefined,+ },+ identity,+ );- const { data, error } = await supabase_service- .from("firecrawl_jobs")- .select("*")- .eq("job_id", scrape1.metadata.scrapeId!)- .limit(1);-- expect(error).toBeFalsy();- expect(data).toHaveLength(1);-- if (data && data.length === 1) {- const record = data[0];- expect(record.url).not.toContain("://"); // no url stored- expect(record.docs).toBeNull();- expect(record.page_options).toBeNull();- expect(record.crawler_options).toBeNull();- }+ await new Promise(resolve => setTimeout(resolve, 2500));- if (scope === "Request-scoped") {- const status = await scrapeStatusRaw(- scrape1.metadata.scrapeId!,- identity,- );+ const postLogs = (await getLogs()).slice(preLogs.length);- expect(status.statusCode).toBe(404);- }- }, 60000);-- it("should clean up a crawl", async () => {- const preLogs = await getLogs();-- let identity = await idmux({- name: `zdr/${scope}/crawl`,- credits: 10000,- flags: {- allowZDR: true,- ...(scope === "Team-scoped"- ? {- forceZDR: true,- }- : {}),- },- });-- const crawl1 = await crawl(- {- url: "https://firecrawl.dev",- limit: 10,- zeroDataRetention: scope === "Request-scoped" ? true : undefined,- },- identity,- );+ if (postLogs.length > 0) {+ console.warn("Logs changed during crawl", postLogs);+ }- await new Promise(resolve => setTimeout(resolve, 2500));+ expect(postLogs).toHaveLength(0);- const postLogs = (await getLogs()).slice(preLogs.length);+ const { data, error } = await supabase_service+ .from("firecrawl_jobs")+ .select("*")+ .eq("job_id", crawl1.id)+ .limit(1);- if (postLogs.length > 0) {- console.warn("Logs changed during crawl", postLogs);- }+ expect(error).toBeFalsy();+ expect(data).toHaveLength(1);- expect(postLogs).toHaveLength(0);+ if (data && data.length === 1) {+ const record = data[0];+ expect(record.url).not.toContain("://"); // no url stored+ expect(record.docs).toBeNull();+ expect(record.page_options).toBeNull();+ expect(record.crawler_options).toBeNull();+ }- const { data, error } = await supabase_service- .from("firecrawl_jobs")- .select("*")- .eq("job_id", crawl1.id)- .limit(1);+ const { data: jobs, error: jobsError } = await supabase_service+ .from("firecrawl_jobs")+ .select("*")+ .eq("crawl_id", crawl1.id);- expect(error).toBeFalsy();- expect(data).toHaveLength(1);+ expect(jobsError).toBeFalsy();+ expect((jobs ?? []).length).toBeGreaterThanOrEqual(1);- if (data && data.length === 1) {- const record = data[0];- expect(record.url).not.toContain("://"); // no url stored- expect(record.docs).toBeNull();- expect(record.page_options).toBeNull();- expect(record.crawler_options).toBeNull();- }+ for (const job of jobs ?? []) {+ expect(job.url).not.toContain("://"); // no url stored+ expect(job.docs).toBeNull();+ expect(job.page_options).toBeNull();+ expect(job.crawler_options).toBeNull();+ expect(typeof job.dr_clean_by).toBe("string"); // clean up happens async on a worker after expiry- const { data: jobs, error: jobsError } = await supabase_service- .from("firecrawl_jobs")- .select("*")- .eq("crawl_id", crawl1.id);-- expect(jobsError).toBeFalsy();- expect((jobs ?? []).length).toBeGreaterThanOrEqual(1);-- for (const job of jobs ?? []) {- expect(job.url).not.toContain("://"); // no url stored- expect(job.docs).toBeNull();- expect(job.page_options).toBeNull();- expect(job.crawler_options).toBeNull();- expect(typeof job.dr_clean_by).toBe("string"); // clean up happens async on a worker after expiry-- if (job.success) {- const gcsJob = await getJobFromGCS(job.job_id);- expect(gcsJob).not.toBeNull(); // clean up happens async on a worker after expiry- }+ if (job.success) {+ const gcsJob = await getJobFromGCS(job.job_id);+ expect(gcsJob).not.toBeNull(); // clean up happens async on a worker after expiry}+ }- await zdrcleaner(identity.teamId!);+ await zdrcleaner(identity.teamId!);- for (const job of jobs ?? []) {- const gcsJob = await getJobFromGCS(job.job_id);- expect(gcsJob).toBeNull();+ for (const job of jobs ?? []) {+ const gcsJob = await getJobFromGCS(job.job_id);+ expect(gcsJob).toBeNull();- if (scope === "Request-scoped") {- const status = await scrapeStatusRaw(job.job_id, identity);- expect(status.statusCode).toBe(404);- }+ if (scope === "Request-scoped") {+ const status = await scrapeStatusRaw(job.job_id, identity);+ expect(status.statusCode).toBe(404);}- }, 600000);-- it("should clean up a batch scrape", async () => {- const preLogs = await getLogs();-- let identity = await idmux({- name: `zdr/${scope}/batch-scrape`,- credits: 10000,- flags: {- allowZDR: true,- ...(scope === "Team-scoped"- ? {- forceZDR: true,- }- : {}),- },- });-- const crawl1 = await batchScrape(- {- urls: ["https://firecrawl.dev", "https://mendable.ai"],- zeroDataRetention: scope === "Request-scoped" ? true : undefined,- },- identity,- );+ }+ }, 600000);++ it("should clean up a batch scrape", async () => {+ const preLogs = await getLogs();++ let identity = await idmux({+ name: `zdr/${scope}/batch-scrape`,+ credits: 10000,+ flags: {+ allowZDR: true,+ ...(scope === "Team-scoped"+ ? {+ forceZDR: true,+ }+ : {}),+ },+ });++ const crawl1 = await batchScrape(+ {+ urls: ["https://firecrawl.dev", "https://mendable.ai"],+ zeroDataRetention: scope === "Request-scoped" ? true : undefined,+ },+ identity,+ );- await new Promise(resolve => setTimeout(resolve, 2500));+ await new Promise(resolve => setTimeout(resolve, 2500));- const postLogs = (await getLogs()).slice(preLogs.length);+ const postLogs = (await getLogs()).slice(preLogs.length);- if (postLogs.length > 0) {- console.warn("Logs changed during batch scrape", postLogs);- }+ if (postLogs.length > 0) {+ console.warn("Logs changed during batch scrape", postLogs);+ }- expect(postLogs).toHaveLength(0);+ expect(postLogs).toHaveLength(0);- const { data, error } = await supabase_service- .from("firecrawl_jobs")- .select("*")- .eq("job_id", crawl1.id)- .limit(1);+ const { data, error } = await supabase_service+ .from("firecrawl_jobs")+ .select("*")+ .eq("job_id", crawl1.id)+ .limit(1);- expect(error).toBeFalsy();- expect(data).toHaveLength(1);+ expect(error).toBeFalsy();+ expect(data).toHaveLength(1);- if (data && data.length === 1) {- const record = data[0];- expect(record.url).not.toContain("://"); // no url stored- expect(record.docs).toBeNull();- expect(record.page_options).toBeNull();- expect(record.crawler_options).toBeNull();- }+ if (data && data.length === 1) {+ const record = data[0];+ expect(record.url).not.toContain("://"); // no url stored+ expect(record.docs).toBeNull();+ expect(record.page_options).toBeNull();+ expect(record.crawler_options).toBeNull();+ }- const { data: jobs, error: jobsError } = await supabase_service- .from("firecrawl_jobs")- .select("*")- .eq("crawl_id", crawl1.id);-- expect(jobsError).toBeFalsy();- expect((jobs ?? []).length).toBe(2);-- for (const job of jobs ?? []) {- expect(job.url).not.toContain("://"); // no url stored- expect(job.docs).toBeNull();- expect(job.page_options).toBeNull();- expect(job.crawler_options).toBeNull();- expect(typeof job.dr_clean_by).toBe("string"); // clean up happens async on a worker after expiry-- if (job.success) {- const gcsJob = await getJobFromGCS(job.job_id);- expect(gcsJob).not.toBeNull(); // clean up happens async on a worker after expiry- }- }+ const { data: jobs, error: jobsError } = await supabase_service+ .from("firecrawl_jobs")+ .select("*")+ .eq("crawl_id", crawl1.id);- await zdrcleaner(identity.teamId!);+ expect(jobsError).toBeFalsy();+ expect((jobs ?? []).length).toBe(2);- for (const job of jobs ?? []) {+ for (const job of jobs ?? []) {+ expect(job.url).not.toContain("://"); // no url stored+ expect(job.docs).toBeNull();+ expect(job.page_options).toBeNull();+ expect(job.crawler_options).toBeNull();+ expect(typeof job.dr_clean_by).toBe("string"); // clean up happens async on a worker after expiry++ if (job.success) {const gcsJob = await getJobFromGCS(job.job_id);- expect(gcsJob).toBeNull();+ expect(gcsJob).not.toBeNull(); // clean up happens async on a worker after expiry+ }+ }++ await zdrcleaner(identity.teamId!);++ for (const job of jobs ?? []) {+ const gcsJob = await getJobFromGCS(job.job_id);+ expect(gcsJob).toBeNull();- if (scope === "Request-scoped") {- const status = await scrapeStatusRaw(job.job_id, identity);- expect(status.statusCode).toBe(404);- }+ if (scope === "Request-scoped") {+ const status = await scrapeStatusRaw(job.job_id, identity);+ expect(status.statusCode).toBe(404);}- }, 600000);- });+ }+ }, 600000);});-}+});diff --git a/apps/api/src/__tests__/snips/v2/batch-scrape.test.ts b/apps/api/src/__tests__/snips/v2/batch-scrape.test.tsindex e56c6cbde..05eeb104b 100644--- a/apps/api/src/__tests__/snips/v2/batch-scrape.test.ts+++ b/apps/api/src/__tests__/snips/v2/batch-scrape.test.ts@@ -1,3 +1,10 @@+import {+ ALLOW_TEST_SUITE_WEBSITE,+ concurrentIf,+ describeIf,+ TEST_PRODUCTION,+ TEST_SUITE_WEBSITE,+} from "../lib";import { batchScrape, scrapeTimeout, idmux, Identity } from "./lib";let identity: Identity;@@ -11,12 +18,12 @@ beforeAll(async () => {}, 10000);describe("Batch scrape tests", () => {- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("works",async () => {const response = await batchScrape({- urls: ["http://firecrawl.dev"],+ urls: [TEST_SUITE_WEBSITE],},identity,);@@ -27,73 +34,70 @@ describe("Batch scrape tests", () => {scrapeTimeout,);- if (!process.env.TEST_SUITE_SELF_HOSTED) {- describe("JSON format", () => {- it.concurrent(- "works",- async () => {- const response = await batchScrape(- {- urls: ["http://firecrawl.dev"],- formats: [- {- type: "json",- prompt:- "Based on the information on the page, find what the company's mission is and whether it supports SSO, and whether it is open source.",- schema: {- type: "object",- properties: {- company_mission: {- type: "string",- },- supports_sso: {- type: "boolean",- },- is_open_source: {- type: "boolean",- },- },- required: [- "company_mission",- "supports_sso",- "is_open_source",- ],- },- },- ],- },- identity,- );-- expect(response.data[0]).toHaveProperty("json");- expect(response.data[0].json).toHaveProperty("company_mission");- expect(typeof response.data[0].json.company_mission).toBe("string");- expect(response.data[0].json).toHaveProperty("supports_sso");- expect(response.data[0].json.supports_sso).toBe(false);- expect(typeof response.data[0].json.supports_sso).toBe("boolean");- expect(response.data[0].json).toHaveProperty("is_open_source");- expect(response.data[0].json.is_open_source).toBe(true);- expect(typeof response.data[0].json.is_open_source).toBe("boolean");- },- 180000,- );- });- }-- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("sourceURL stays unnormalized",async () => {+ const url = `${TEST_SUITE_WEBSITE}/?pagewanted=all&et_blog`;const response = await batchScrape({- urls: ["https://firecrawl.dev/?pagewanted=all&et_blog"],+ urls: [url],},identity,);- expect(response.data[0].metadata.sourceURL).toBe(- "https://firecrawl.dev/?pagewanted=all&et_blog",- );+ expect(response.data[0].metadata.sourceURL).toBe(url);},scrapeTimeout,);++ describeIf(TEST_PRODUCTION)("JSON format", () => {+ it.concurrent(+ "works",+ async () => {+ const response = await batchScrape(+ {+ urls: [TEST_SUITE_WEBSITE],+ formats: [+ {+ type: "json",+ prompt:+ "Based on the information on the page, find what the company's mission is and whether it supports SSO, and whether it is open source.",+ schema: {+ type: "object",+ properties: {+ company_mission: {+ type: "string",+ },+ supports_sso: {+ type: "boolean",+ },+ is_open_source: {+ type: "boolean",+ },+ },+ required: [+ "company_mission",+ "supports_sso",+ "is_open_source",+ ],+ },+ },+ ],+ },+ identity,+ );++ expect(response.data[0]).toHaveProperty("json");+ expect(response.data[0].json).toHaveProperty("company_mission");+ expect(typeof response.data[0].json.company_mission).toBe("string");+ expect(response.data[0].json).toHaveProperty("supports_sso");+ expect(response.data[0].json.supports_sso).toBe(false);+ expect(typeof response.data[0].json.supports_sso).toBe("boolean");+ expect(response.data[0].json).toHaveProperty("is_open_source");+ expect(response.data[0].json.is_open_source).toBe(true);+ expect(typeof response.data[0].json.is_open_source).toBe("boolean");+ },+ 180000,+ );+ });});diff --git a/apps/api/src/__tests__/snips/v2/billing.test.ts b/apps/api/src/__tests__/snips/v2/billing.test.tsindex 64c4ca7a2..347d31ec8 100644--- a/apps/api/src/__tests__/snips/v2/billing.test.ts+++ b/apps/api/src/__tests__/snips/v2/billing.test.ts@@ -1,3 +1,4 @@+import { describeIf, TEST_PRODUCTION, TEST_SUITE_WEBSITE } from "../lib";import {batchScrape,crawl,@@ -11,449 +12,512 @@ import {const sleep = (ms: number) => new Promise(x => setTimeout(() => x(true), ms));const sleepForBatchBilling = () => sleep(40000);-describe("Billing tests", () => {- if (process.env.TEST_SUITE_SELF_HOSTED) {- it("dummy", () => {- expect(true).toBe(true);- });- } else {- it.concurrent(- "bills scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills scrape correctly",- credits: 100,- });-- const rc1 = (await creditUsage(identity)).remainingCredits;-- // Run all scrape operations in parallel with Promise.all- const [scrape1, scrape2, scrape3] = await Promise.all([- // scrape 1: regular fc.dev scrape (1 credit)- scrape(- {- url: "https://firecrawl.dev",- },- identity,- ),+// TODO: can be combined with v1...?+// TODO: fix up idmux+// TODO: needs testing+describeIf(TEST_PRODUCTION)("Billing tests", () => {+ it.concurrent(+ "bills scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills scrape correctly",+ credits: 100,+ });++ const rc1 = (await creditUsage(identity)).remainingCredits;++ // Run all scrape operations in parallel with Promise.all+ const [scrape1, scrape2, scrape3] = await Promise.all([+ // scrape 1: regular fc.dev scrape (1 credit)+ scrape(+ {+ url: TEST_SUITE_WEBSITE,+ },+ identity,+ ),- // scrape 1.1: regular fc.dev scrape (1 credit)- scrape(- {- url: "https://firecrawl.dev",- },- identity,- ),+ // scrape 1.1: regular fc.dev scrape (1 credit)+ scrape(+ {+ url: TEST_SUITE_WEBSITE,+ },+ identity,+ ),- // scrape 2: fc.dev with json (5 credits)- scrape(- {- url: "https://firecrawl.dev",- formats: [- {- type: "json",- schema: {- type: "object",- properties: {- is_open_source: { type: "boolean" },- },- required: ["is_open_source"],- },- },- ],- },- identity,- ),- ]);-- expect(scrape1.metadata.creditsUsed).toBe(1);- expect(scrape2.metadata.creditsUsed).toBe(1);- expect(scrape3.metadata.creditsUsed).toBe(5);-- // sum: 7 credits-- await sleepForBatchBilling();-- const rc2 = (await creditUsage(identity)).remainingCredits;-- expect(rc1 - rc2).toBe(7);- },- 120000,- );-- it.concurrent(- "bills batch scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills batch scrape correctly",- credits: 100,- });-- const rc1 = (await creditUsage(identity)).remainingCredits;-- // Run both scrape operations in parallel with Promise.all- const [scrape1, scrape2] = await Promise.all([- // scrape 1: regular batch scrape with failing domain (2 credits)- batchScrape(- {- urls: [- "https://firecrawl.dev",- "https://mendable.ai",- "https://thisdomaindoesnotexistandwillfail.fcr",- ],- },- identity,- ),-- // scrape 2: batch scrape with json (10 credits)- batchScrape(- {- urls: [- "https://firecrawl.dev",- "https://mendable.ai",- "https://thisdomaindoesnotexistandwillfail.fcr",- ],- formats: [- {- type: "json",- schema: {- type: "object",- properties: {- four_word_summary: { type: "string" },- },- required: ["four_word_summary"],+ // scrape 2: fc.dev with json (5 credits)+ scrape(+ {+ url: TEST_SUITE_WEBSITE,+ formats: [+ {+ type: "json",+ schema: {+ type: "object",+ properties: {+ is_open_source: { type: "boolean" },},+ required: ["is_open_source"],},- ],- },- identity,- ),- ]);+ },+ ],+ },+ identity,+ ),+ ]);- expect(scrape1.data[0].metadata.creditsUsed).toBe(1);- expect(scrape1.data[1].metadata.creditsUsed).toBe(1);+ expect(scrape1.metadata.creditsUsed).toBe(1);+ expect(scrape2.metadata.creditsUsed).toBe(1);+ expect(scrape3.metadata.creditsUsed).toBe(5);- expect(scrape2.data[0].metadata.creditsUsed).toBe(5);- expect(scrape2.data[1].metadata.creditsUsed).toBe(5);+ // sum: 7 credits- // sum: 12 credits+ await sleepForBatchBilling();- await sleepForBatchBilling();+ const rc2 = (await creditUsage(identity)).remainingCredits;- const rc2 = (await creditUsage(identity)).remainingCredits;+ expect(rc1 - rc2).toBe(7);+ },+ 120000,+ );- expect(rc1 - rc2).toBe(12);- },- 600000,- );+ it.concurrent(+ "bills batch scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills batch scrape correctly",+ credits: 100,+ });- it.concurrent(- "bills crawl correctly",- async () => {- const identity = await idmux({- name: "billing/bills crawl correctly",- credits: 200,- });+ const rc1 = (await creditUsage(identity)).remainingCredits;- const rc1 = (await creditUsage(identity)).remainingCredits;+ // Run both scrape operations in parallel with Promise.all+ const [scrape1, scrape2] = await Promise.all([+ // scrape 1: regular batch scrape with failing domain (2 credits)+ batchScrape(+ {+ urls: [+ TEST_SUITE_WEBSITE,+ "https://mendable.ai",+ "https://thisdomaindoesnotexistandwillfail.fcr",+ ],+ },+ identity,+ ),- // Run both crawl operations in parallel with Promise.all- const [crawl1, crawl2] = await Promise.all([- // crawl 1: regular fc.dev crawl (x credits)- crawl(- {- url: "https://firecrawl.dev",- limit: 10,- },- identity,- ),-- // crawl 2: fc.dev crawl with json (5y credits)- crawl(- {- url: "https://firecrawl.dev",- scrapeOptions: {- formats: [- {- type: "json",- schema: {- type: "object",- properties: {- four_word_summary: { type: "string" },- },- required: ["four_word_summary"],- },+ // scrape 2: batch scrape with json (10 credits)+ batchScrape(+ {+ urls: [+ TEST_SUITE_WEBSITE,+ "https://mendable.ai",+ "https://thisdomaindoesnotexistandwillfail.fcr",+ ],+ formats: [+ {+ type: "json",+ schema: {+ type: "object",+ properties: {+ four_word_summary: { type: "string" },},- ],+ required: ["four_word_summary"],+ },},- limit: 10,- },- identity,- ),- ]);-- expect(crawl1.success).toBe(true);- expect(crawl2.success).toBe(true);-- // sum: x+5y credits-- await sleepForBatchBilling();-- const rc2 = (await creditUsage(identity)).remainingCredits;-- if (crawl1.success && crawl2.success) {- expect(rc1 - rc2).toBe(crawl1.completed + crawl2.completed * 5);- }- },- 600000,- );-- it.concurrent(- "bills map correctly",- async () => {- const identity = await idmux({- name: "billing/bills map correctly",- credits: 100,- });-- const rc1 = (await creditUsage(identity)).remainingCredits;- await map({ url: "https://firecrawl.dev" }, identity);- await sleepForBatchBilling();- const rc2 = (await creditUsage(identity)).remainingCredits;- expect(rc1 - rc2).toBe(1);- },- 60000,- );-- it.concurrent(- "bills search correctly",- async () => {- const identity = await idmux({- name: "billing/bills search correctly",- credits: 100,- });-- const rc1 = (await creditUsage(identity)).remainingCredits;-- const results = await search(- {- query: "firecrawl",+ ],},identity,- );+ ),+ ]);++ expect(scrape1.data[0].metadata.creditsUsed).toBe(1);+ expect(scrape1.data[1].metadata.creditsUsed).toBe(1);++ expect(scrape2.data[0].metadata.creditsUsed).toBe(5);+ expect(scrape2.data[1].metadata.creditsUsed).toBe(5);- await sleepForBatchBilling();+ // sum: 12 credits- const rc2 = (await creditUsage(identity)).remainingCredits;+ await sleepForBatchBilling();- expect(rc1 - rc2).toBe(results.web?.length ?? 0);- },- 60000,- );+ const rc2 = (await creditUsage(identity)).remainingCredits;- it.concurrent(- "bills search with scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills search with scrape correctly",- credits: 100,- });+ expect(rc1 - rc2).toBe(12);+ },+ 600000,+ );- const rc1 = (await creditUsage(identity)).remainingCredits;+ it.concurrent(+ "bills crawl correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills crawl correctly",+ credits: 200,+ });- const results = await search(+ const rc1 = (await creditUsage(identity)).remainingCredits;++ // Run both crawl operations in parallel with Promise.all+ const [crawl1, crawl2] = await Promise.all([+ // crawl 1: regular fc.dev crawl (x credits)+ crawl(+ {+ url: TEST_SUITE_WEBSITE,+ limit: 10,+ },+ identity,+ ),++ // crawl 2: fc.dev crawl with json (5y credits)+ crawl({- query: "coconut",+ url: TEST_SUITE_WEBSITE,scrapeOptions: {- formats: ["markdown"],+ formats: [+ {+ type: "json",+ schema: {+ type: "object",+ properties: {+ four_word_summary: { type: "string" },+ },+ required: ["four_word_summary"],+ },+ },+ ],},+ limit: 10,},identity,- );-- await sleepForBatchBilling();-- const rc2 = (await creditUsage(identity)).remainingCredits;-- expect(rc1 - rc2).toBe(results.web?.length ?? 0);- },- 600000,- );-- it.concurrent(- "bills search with PDF scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills search with PDF scrape correctly",- credits: 100,- });+ ),+ ]);++ expect(crawl1.success).toBe(true);+ expect(crawl2.success).toBe(true);++ // sum: x+5y credits++ await sleepForBatchBilling();++ const rc2 = (await creditUsage(identity)).remainingCredits;++ if (crawl1.success && crawl2.success) {+ expect(rc1 - rc2).toBe(crawl1.completed + crawl2.completed * 5);+ }+ },+ 600000,+ );++ it.concurrent(+ "bills map correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills map correctly",+ credits: 100,+ });++ const rc1 = (await creditUsage(identity)).remainingCredits;+ await map({ url: TEST_SUITE_WEBSITE }, identity);+ await sleepForBatchBilling();+ const rc2 = (await creditUsage(identity)).remainingCredits;+ expect(rc1 - rc2).toBe(1);+ },+ 60000,+ );++ it.concurrent(+ "bills search correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills search correctly",+ credits: 100,+ });++ const rc1 = (await creditUsage(identity)).remainingCredits;++ const results = await search(+ {+ query: "firecrawl",+ },+ identity,+ );++ await sleepForBatchBilling();++ const rc2 = (await creditUsage(identity)).remainingCredits;++ expect(rc1 - rc2).toBe(results.web?.length ?? 0);+ },+ 60000,+ );++ it.concurrent(+ "bills search with scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills search with scrape correctly",+ credits: 100,+ });++ const rc1 = (await creditUsage(identity)).remainingCredits;++ const results = await search(+ {+ query: "coconut",+ scrapeOptions: {+ formats: ["markdown"],+ },+ },+ identity,+ );++ await sleepForBatchBilling();++ const rc2 = (await creditUsage(identity)).remainingCredits;++ expect(rc1 - rc2).toBe(results.web?.length ?? 0);+ },+ 600000,+ );++ it.concurrent(+ "bills search with PDF scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills search with PDF scrape correctly",+ credits: 100,+ });++ const rc1 = (await creditUsage(identity)).remainingCredits;++ const results = await search(+ {+ query: "coconut filetype:pdf",+ scrapeOptions: {+ formats: ["markdown"],+ parsers: ["pdf"],+ },+ },+ identity,+ );++ await sleepForBatchBilling();++ const rc2 = (await creditUsage(identity)).remainingCredits;++ const shouldUse =+ results.web?.reduce(+ (sum, doc) => sum + (doc.metadata?.numPages || 1),+ 0,+ ) ?? 0;++ expect(rc1 - rc2).toBe(shouldUse);+ },+ 600000,+ );++ it.concurrent(+ "bills search with parsePDF=false correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills search with parsePDF=false correctly",+ credits: 100,+ });++ const rc1 = (await creditUsage(identity)).remainingCredits;++ const results = await search(+ {+ query: "coconut filetype:pdf",+ scrapeOptions: {+ formats: ["markdown"],+ parsers: [],+ },+ },+ identity,+ );++ await sleepForBatchBilling();++ const rc2 = (await creditUsage(identity)).remainingCredits;++ const expectedCredits = results.web?.length ?? 0;++ expect(rc1 - rc2).toBe(expectedCredits);+ },+ 600000,+ );++ it.concurrent(+ "bills ZDR scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills ZDR scrape correctly",+ credits: 100,+ flags: {+ allowZDR: true,+ },+ });++ const rc1 = (await creditUsage(identity)).remainingCredits;++ // Run all scrape operations in parallel with Promise.all+ const [scrape1, scrape2, scrape3] = await Promise.all([+ // scrape 1: regular fc.dev scrape (1 credit)+ scrape(+ {+ url: TEST_SUITE_WEBSITE,+ zeroDataRetention: true,+ },+ identity,+ ),- const rc1 = (await creditUsage(identity)).remainingCredits;+ // scrape 1.1: regular fc.dev scrape (1 credit)+ scrape(+ {+ url: TEST_SUITE_WEBSITE,+ zeroDataRetention: true,+ },+ identity,+ ),- const results = await search(+ // scrape 2: fc.dev with json (5 credits)+ scrape({- query: "coconut filetype:pdf",- scrapeOptions: {- formats: ["markdown"],- parsers: ["pdf"],- },+ url: TEST_SUITE_WEBSITE,+ formats: [+ {+ type: "json",+ schema: {+ type: "object",+ properties: {+ is_open_source: { type: "boolean" },+ },+ required: ["is_open_source"],+ },+ },+ ],+ zeroDataRetention: true,},identity,- );+ ),+ ]);- await sleepForBatchBilling();+ expect(scrape1.metadata.creditsUsed).toBe(2);+ expect(scrape2.metadata.creditsUsed).toBe(2);+ expect(scrape3.metadata.creditsUsed).toBe(6);- const rc2 = (await creditUsage(identity)).remainingCredits;+ // sum: 10 credits- const shouldUse =- results.web?.reduce(- (sum, doc) => sum + (doc.metadata?.numPages || 1),- 0,- ) ?? 0;+ await sleepForBatchBilling();- expect(rc1 - rc2).toBe(shouldUse);- },- 600000,- );+ const rc2 = (await creditUsage(identity)).remainingCredits;- it.concurrent(- "bills search with parsePDF=false correctly",- async () => {- const identity = await idmux({- name: "billing/bills search with parsePDF=false correctly",- credits: 100,- });+ expect(rc1 - rc2).toBe(10);+ },+ 120000,+ );- const rc1 = (await creditUsage(identity)).remainingCredits;+ it.concurrent(+ "bills ZDR batch scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills ZDR batch scrape correctly",+ credits: 100,+ flags: {+ allowZDR: true,+ },+ });- const results = await search(+ const rc1 = (await creditUsage(identity)).remainingCredits;++ // Run both scrape operations in parallel with Promise.all+ const [scrape1, scrape2] = await Promise.all([+ // scrape 1: regular batch scrape with failing domain (2 credits)+ batchScrape({- query: "coconut filetype:pdf",- scrapeOptions: {- formats: ["markdown"],- parsers: [],- },+ urls: [+ TEST_SUITE_WEBSITE,+ "https://mendable.ai",+ "https://thisdomaindoesnotexistandwillfail.fcr",+ ],+ zeroDataRetention: true,},identity,- );-- await sleepForBatchBilling();-- const rc2 = (await creditUsage(identity)).remainingCredits;-- const expectedCredits = results.web?.length ?? 0;-- expect(rc1 - rc2).toBe(expectedCredits);- },- 600000,- );+ ),- it.concurrent(- "bills ZDR scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills ZDR scrape correctly",- credits: 100,- flags: {- allowZDR: true,+ // scrape 2: batch scrape with json (10 credits)+ batchScrape(+ {+ urls: [+ TEST_SUITE_WEBSITE,+ "https://mendable.ai",+ "https://thisdomaindoesnotexistandwillfail.fcr",+ ],+ formats: [+ {+ type: "json",+ schema: {+ type: "object",+ properties: {+ four_word_summary: { type: "string" },+ },+ required: ["four_word_summary"],+ },+ },+ ],+ zeroDataRetention: true,},- });+ identity,+ ),+ ]);- const rc1 = (await creditUsage(identity)).remainingCredits;+ expect(scrape1.data[0].metadata.creditsUsed).toBe(2);+ expect(scrape1.data[1].metadata.creditsUsed).toBe(2);- // Run all scrape operations in parallel with Promise.all- const [scrape1, scrape2, scrape3] = await Promise.all([- // scrape 1: regular fc.dev scrape (1 credit)- scrape(- {- url: "https://firecrawl.dev",- zeroDataRetention: true,- },- identity,- ),-- // scrape 1.1: regular fc.dev scrape (1 credit)- scrape(- {- url: "https://firecrawl.dev",- zeroDataRetention: true,- },- identity,- ),+ expect(scrape2.data[0].metadata.creditsUsed).toBe(6);+ expect(scrape2.data[1].metadata.creditsUsed).toBe(6);- // scrape 2: fc.dev with json (5 credits)- scrape(- {- url: "https://firecrawl.dev",- formats: [- {- type: "json",- schema: {- type: "object",- properties: {- is_open_source: { type: "boolean" },- },- required: ["is_open_source"],- },- },- ],- zeroDataRetention: true,- },- identity,- ),- ]);+ // sum: 16 credits- expect(scrape1.metadata.creditsUsed).toBe(2);- expect(scrape2.metadata.creditsUsed).toBe(2);- expect(scrape3.metadata.creditsUsed).toBe(6);+ await sleepForBatchBilling();- // sum: 10 credits+ const rc2 = (await creditUsage(identity)).remainingCredits;- await sleepForBatchBilling();+ expect(rc1 - rc2).toBe(16);+ },+ 600000,+ );- const rc2 = (await creditUsage(identity)).remainingCredits;+ it.concurrent(+ "bills ZDR crawl correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills ZDR crawl correctly",+ credits: 200,+ flags: {+ allowZDR: true,+ },+ });- expect(rc1 - rc2).toBe(10);- },- 120000,- );+ const rc1 = (await creditUsage(identity)).remainingCredits;- it.concurrent(- "bills ZDR batch scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills ZDR batch scrape correctly",- credits: 100,- flags: {- allowZDR: true,+ // Run both crawl operations in parallel with Promise.all+ const [crawl1, crawl2] = await Promise.all([+ // crawl 1: regular fc.dev crawl (x credits)+ crawl(+ {+ url: TEST_SUITE_WEBSITE,+ limit: 10,+ zeroDataRetention: true,},- });-- const rc1 = (await creditUsage(identity)).remainingCredits;-- // Run both scrape operations in parallel with Promise.all- const [scrape1, scrape2] = await Promise.all([- // scrape 1: regular batch scrape with failing domain (2 credits)- batchScrape(- {- urls: [- "https://firecrawl.dev",- "https://mendable.ai",- "https://thisdomaindoesnotexistandwillfail.fcr",- ],- zeroDataRetention: true,- },- identity,- ),-- // scrape 2: batch scrape with json (10 credits)- batchScrape(- {- urls: [- "https://firecrawl.dev",- "https://mendable.ai",- "https://thisdomaindoesnotexistandwillfail.fcr",- ],+ identity,+ ),++ // crawl 2: fc.dev crawl with json (5y credits)+ crawl(+ {+ url: TEST_SUITE_WEBSITE,+ scrapeOptions: {formats: [{type: "json",@@ -466,164 +530,98 @@ describe("Billing tests", () => {},},],- zeroDataRetention: true,},- identity,- ),- ]);-- expect(scrape1.data[0].metadata.creditsUsed).toBe(2);- expect(scrape1.data[1].metadata.creditsUsed).toBe(2);-- expect(scrape2.data[0].metadata.creditsUsed).toBe(6);- expect(scrape2.data[1].metadata.creditsUsed).toBe(6);-- // sum: 16 credits-- await sleepForBatchBilling();-- const rc2 = (await creditUsage(identity)).remainingCredits;-- expect(rc1 - rc2).toBe(16);- },- 600000,- );-- it.concurrent(- "bills ZDR crawl correctly",- async () => {- const identity = await idmux({- name: "billing/bills ZDR crawl correctly",- credits: 200,- flags: {- allowZDR: true,+ limit: 10,+ zeroDataRetention: true,},- });-- const rc1 = (await creditUsage(identity)).remainingCredits;-- // Run both crawl operations in parallel with Promise.all- const [crawl1, crawl2] = await Promise.all([- // crawl 1: regular fc.dev crawl (x credits)- crawl(- {- url: "https://firecrawl.dev",- limit: 10,- zeroDataRetention: true,- },- identity,- ),-- // crawl 2: fc.dev crawl with json (5y credits)- crawl(- {- url: "https://firecrawl.dev",- scrapeOptions: {- formats: [- {- type: "json",- schema: {- type: "object",- properties: {- four_word_summary: { type: "string" },- },- required: ["four_word_summary"],- },- },- ],- },- limit: 10,- zeroDataRetention: true,- },- identity,- ),- ]);-- expect(crawl1.success).toBe(true);- expect(crawl2.success).toBe(true);-- // sum: 2x+6y credits-- await sleepForBatchBilling();-- const rc2 = (await creditUsage(identity)).remainingCredits;-- if (crawl1.success && crawl2.success) {- expect(rc1 - rc2).toBe(crawl1.completed * 2 + crawl2.completed * 6);- }- },- 600000,- );-- it.concurrent(- "bills custom-cost ZDR scrape correctly",- async () => {- const identity = await idmux({- name: "billing/bills ZDR scrape correctly",- credits: 100,- flags: {- allowZDR: true,- zdrCost: 0,+ identity,+ ),+ ]);++ expect(crawl1.success).toBe(true);+ expect(crawl2.success).toBe(true);++ // sum: 2x+6y credits++ await sleepForBatchBilling();++ const rc2 = (await creditUsage(identity)).remainingCredits;++ if (crawl1.success && crawl2.success) {+ expect(rc1 - rc2).toBe(crawl1.completed * 2 + crawl2.completed * 6);+ }+ },+ 600000,+ );++ it.concurrent(+ "bills custom-cost ZDR scrape correctly",+ async () => {+ const identity = await idmux({+ name: "billing/bills ZDR scrape correctly",+ credits: 100,+ flags: {+ allowZDR: true,+ zdrCost: 0,+ },+ });++ const rc1 = (await creditUsage(identity)).remainingCredits;++ // Run all scrape operations in parallel with Promise.all+ const [scrape1, scrape2, scrape3] = await Promise.all([+ // scrape 1: regular fc.dev scrape (1 credit)+ scrape(+ {+ url: TEST_SUITE_WEBSITE,+ zeroDataRetention: true,},- });-- const rc1 = (await creditUsage(identity)).remainingCredits;+ identity,+ ),- // Run all scrape operations in parallel with Promise.all- const [scrape1, scrape2, scrape3] = await Promise.all([- // scrape 1: regular fc.dev scrape (1 credit)- scrape(- {- url: "https://firecrawl.dev",- zeroDataRetention: true,- },- identity,- ),-- // scrape 1.1: regular fc.dev scrape (1 credit)- scrape(- {- url: "https://firecrawl.dev",- zeroDataRetention: true,- },- identity,- ),+ // scrape 1.1: regular fc.dev scrape (1 credit)+ scrape(+ {+ url: TEST_SUITE_WEBSITE,+ zeroDataRetention: true,+ },+ identity,+ ),- // scrape 2: fc.dev with json (5 credits)- scrape(- {- url: "https://firecrawl.dev",- formats: [- {- type: "json",- schema: {- type: "object",- properties: {- is_open_source: { type: "boolean" },- },- required: ["is_open_source"],+ // scrape 2: fc.dev with json (5 credits)+ scrape(+ {+ url: TEST_SUITE_WEBSITE,+ formats: [+ {+ type: "json",+ schema: {+ type: "object",+ properties: {+ is_open_source: { type: "boolean" },},+ required: ["is_open_source"],},- ],- zeroDataRetention: true,- },- identity,- ),- ]);+ },+ ],+ zeroDataRetention: true,+ },+ identity,+ ),+ ]);- expect(scrape1.metadata.creditsUsed).toBe(1);- expect(scrape2.metadata.creditsUsed).toBe(1);- expect(scrape3.metadata.creditsUsed).toBe(5);+ expect(scrape1.metadata.creditsUsed).toBe(1);+ expect(scrape2.metadata.creditsUsed).toBe(1);+ expect(scrape3.metadata.creditsUsed).toBe(5);- // sum: 7 credits+ // sum: 7 credits- await sleepForBatchBilling();+ await sleepForBatchBilling();- const rc2 = (await creditUsage(identity)).remainingCredits;+ const rc2 = (await creditUsage(identity)).remainingCredits;- expect(rc1 - rc2).toBe(7);- },- 120000,- );- }+ expect(rc1 - rc2).toBe(7);+ },+ 120000,+ );});diff --git a/apps/api/src/__tests__/snips/v2/concurrency.test.ts b/apps/api/src/__tests__/snips/v2/concurrency.test.tsindex 048ae7eca..8baf90f87 100644--- a/apps/api/src/__tests__/snips/v2/concurrency.test.ts+++ b/apps/api/src/__tests__/snips/v2/concurrency.test.ts@@ -1,195 +1,192 @@+import { describeIf, TEST_PRODUCTION, TEST_SUITE_WEBSITE } from "../lib";import {batchScrapeWithConcurrencyTracking,crawlWithConcurrencyTracking,idmux,} from "./lib";-if (!process.env.TEST_SUITE_SELF_HOSTED) {- const accountConcurrencyLimit = 20;-- describe("Concurrency queue and limit", () => {- it.concurrent(- "crawl utilizes full concurrency limit and doesn't go over",- async () => {- const identity = await idmux({- name: "concurrency/crawl utilizes full concurrency limit and doesn't go over",- concurrency: accountConcurrencyLimit,- credits: 100,- });-- const limit = accountConcurrencyLimit * 2;-- const { crawl, concurrencies } = await crawlWithConcurrencyTracking(+const accountConcurrencyLimit = 20;++describeIf(TEST_PRODUCTION)("Concurrency queue and limit", () => {+ const base = TEST_SUITE_WEBSITE;++ it.concurrent(+ "crawl utilizes full concurrency limit and doesn't go over",+ async () => {+ const identity = await idmux({+ name: "concurrency/crawl utilizes full concurrency limit and doesn't go over",+ concurrency: accountConcurrencyLimit,+ credits: 100,+ });++ const limit = accountConcurrencyLimit * 2;++ const { crawl, concurrencies } = await crawlWithConcurrencyTracking(+ {+ url: base,+ limit,+ },+ identity,+ );++ expect(Math.max(...concurrencies)).toBe(accountConcurrencyLimit);+ expect(crawl.completed).toBe(limit);+ },+ 600000,+ );++ it.concurrent(+ "crawl handles maxConcurrency properly",+ async () => {+ const identity = await idmux({+ name: "concurrency/crawl handles maxConcurrency properly",+ concurrency: accountConcurrencyLimit,+ credits: 100,+ });++ const { crawl, concurrencies } = await crawlWithConcurrencyTracking(+ {+ url: base,+ limit: 15,+ maxConcurrency: 5,+ },+ identity,+ );++ expect(Math.max(...concurrencies)).toBe(5);+ expect(crawl.completed).toBe(15);+ },+ 600000,+ );++ it.concurrent(+ "crawl maxConcurrency stacks properly",+ async () => {+ const identity = await idmux({+ name: "concurrency/crawl maxConcurrency stacks properly",+ concurrency: accountConcurrencyLimit,+ credits: 100,+ });++ const [+ { crawl: crawl1, concurrencies: concurrencies1 },+ { crawl: crawl2, concurrencies: concurrencies2 },+ ] = await Promise.all([+ crawlWithConcurrencyTracking(+ {+ url: base,+ limit: 15,+ maxConcurrency: 5,+ },+ identity,+ ),+ crawlWithConcurrencyTracking(+ {+ url: base,+ limit: 15,+ maxConcurrency: 5,+ },+ identity,+ ),+ ]);++ expect(Math.max(...concurrencies1, ...concurrencies2)).toBe(10);+ expect(crawl1.completed).toBe(15);+ expect(crawl2.completed).toBe(15);+ },+ 1200000,+ );++ it.concurrent(+ "batch scrape utilizes full concurrency limit and doesn't go over",+ async () => {+ const identity = await idmux({+ name: "concurrency/batch scrape utilizes full concurrency limit and doesn't go over",+ concurrency: accountConcurrencyLimit,+ credits: 100,+ });++ const limit = accountConcurrencyLimit * 2;++ const { batchScrape, concurrencies } =+ await batchScrapeWithConcurrencyTracking({- url: "https://firecrawl.dev",- limit,+ urls: Array(limit)+ .fill(0)+ .map(_ => base),},identity,);- expect(Math.max(...concurrencies)).toBe(accountConcurrencyLimit);- expect(crawl.completed).toBe(limit);- },- 600000,- );-- it.concurrent(- "crawl handles maxConcurrency properly",- async () => {- const identity = await idmux({- name: "concurrency/crawl handles maxConcurrency properly",- concurrency: accountConcurrencyLimit,- credits: 100,- });-- const { crawl, concurrencies } = await crawlWithConcurrencyTracking(+ expect(Math.max(...concurrencies)).toBe(accountConcurrencyLimit);+ expect(batchScrape.completed).toBe(limit);+ },+ 600000,+ );++ it.concurrent(+ "batch scrape handles maxConcurrency properly",+ async () => {+ const identity = await idmux({+ name: "concurrency/batch scrape handles maxConcurrency properly",+ concurrency: accountConcurrencyLimit,+ credits: 100,+ });++ const { batchScrape, concurrencies } =+ await batchScrapeWithConcurrencyTracking({- url: "https://firecrawl.dev",- limit: 15,+ urls: Array(15)+ .fill(0)+ .map(_ => base),maxConcurrency: 5,},identity,);- expect(Math.max(...concurrencies)).toBe(5);- expect(crawl.completed).toBe(15);- },- 600000,- );-- it.concurrent(- "crawl maxConcurrency stacks properly",- async () => {- const identity = await idmux({- name: "concurrency/crawl maxConcurrency stacks properly",- concurrency: accountConcurrencyLimit,- credits: 100,- });-- const [- { crawl: crawl1, concurrencies: concurrencies1 },- { crawl: crawl2, concurrencies: concurrencies2 },- ] = await Promise.all([- crawlWithConcurrencyTracking(- {- url: "https://firecrawl.dev",- limit: 15,- maxConcurrency: 5,- },- identity,- ),- crawlWithConcurrencyTracking(- {- url: "https://firecrawl.dev",- limit: 15,- maxConcurrency: 5,- },- identity,- ),- ]);-- expect(Math.max(...concurrencies1, ...concurrencies2)).toBe(10);- expect(crawl1.completed).toBe(15);- expect(crawl2.completed).toBe(15);- },- 1200000,- );-- it.concurrent(- "batch scrape utilizes full concurrency limit and doesn't go over",- async () => {- const identity = await idmux({- name: "concurrency/batch scrape utilizes full concurrency limit and doesn't go over",- concurrency: accountConcurrencyLimit,- credits: 100,- });-- const limit = accountConcurrencyLimit * 2;-- const { batchScrape, concurrencies } =- await batchScrapeWithConcurrencyTracking(- {- urls: Array(limit)- .fill(0)- .map(_ => `https://firecrawl.dev`),- },- identity,- );-- expect(Math.max(...concurrencies)).toBe(accountConcurrencyLimit);- expect(batchScrape.completed).toBe(limit);- },- 600000,- );-- it.concurrent(- "batch scrape handles maxConcurrency properly",- async () => {- const identity = await idmux({- name: "concurrency/batch scrape handles maxConcurrency properly",- concurrency: accountConcurrencyLimit,- credits: 100,- });-- const { batchScrape, concurrencies } =- await batchScrapeWithConcurrencyTracking(- {- urls: Array(15)- .fill(0)- .map(_ => `https://firecrawl.dev`),- maxConcurrency: 5,- },- identity,- );-- expect(Math.max(...concurrencies)).toBe(5);- expect(batchScrape.completed).toBe(15);- },- 600000,- );-- it.concurrent(- "batch scrape maxConcurrency stacks properly",- async () => {- const identity = await idmux({- name: "concurrency/batch scrape maxConcurrency stacks properly",- concurrency: accountConcurrencyLimit,- credits: 100,- });-- const [- { batchScrape: batchScrape1, concurrencies: concurrencies1 },- { batchScrape: batchScrape2, concurrencies: concurrencies2 },- ] = await Promise.all([- batchScrapeWithConcurrencyTracking(- {- urls: Array(15)- .fill(0)- .map(_ => `https://firecrawl.dev`),- maxConcurrency: 5,- },- identity,- ),- batchScrapeWithConcurrencyTracking(- {- urls: Array(15)- .fill(0)- .map(_ => `https://firecrawl.dev`),- maxConcurrency: 5,- },- identity,- ),- ]);-- expect(Math.max(...concurrencies1, ...concurrencies2)).toBe(10);- expect(batchScrape1.completed).toBe(15);- expect(batchScrape2.completed).toBe(15);- },- 1200000,- );- });-} else {- it("stubbed", () => {- expect(true).toBe(true);- });-}+ expect(Math.max(...concurrencies)).toBe(5);+ expect(batchScrape.completed).toBe(15);+ },+ 600000,+ );++ it.concurrent(+ "batch scrape maxConcurrency stacks properly",+ async () => {+ const identity = await idmux({+ name: "concurrency/batch scrape maxConcurrency stacks properly",+ concurrency: accountConcurrencyLimit,+ credits: 100,+ });++ const [+ { batchScrape: batchScrape1, concurrencies: concurrencies1 },+ { batchScrape: batchScrape2, concurrencies: concurrencies2 },+ ] = await Promise.all([+ batchScrapeWithConcurrencyTracking(+ {+ urls: Array(15)+ .fill(0)+ .map(_ => base),+ maxConcurrency: 5,+ },+ identity,+ ),+ batchScrapeWithConcurrencyTracking(+ {+ urls: Array(15)+ .fill(0)+ .map(_ => base),+ maxConcurrency: 5,+ },+ identity,+ ),+ ]);++ expect(Math.max(...concurrencies1, ...concurrencies2)).toBe(10);+ expect(batchScrape1.completed).toBe(15);+ expect(batchScrape2.completed).toBe(15);+ },+ 1200000,+ );+});diff --git a/apps/api/src/__tests__/snips/v2/crawl-prompt.test.ts b/apps/api/src/__tests__/snips/v2/crawl-prompt.test.tsindex 70f50895c..24dd5e2e6 100644--- a/apps/api/src/__tests__/snips/v2/crawl-prompt.test.ts+++ b/apps/api/src/__tests__/snips/v2/crawl-prompt.test.ts@@ -1,5 +1,4 @@-import { describe, it, expect, beforeAll, afterAll } from "@jest/globals";-import request from "supertest";+import { describe, it, expect } from "@jest/globals";describe("V2 Crawl API with Prompt", () => {it("should accept prompt parameter in schema", () => {diff --git a/apps/api/src/__tests__/snips/v2/crawl.test.ts b/apps/api/src/__tests__/snips/v2/crawl.test.tsindex cfe4e2abf..54cf66cdb 100644--- a/apps/api/src/__tests__/snips/v2/crawl.test.ts+++ b/apps/api/src/__tests__/snips/v2/crawl.test.ts@@ -1,3 +1,12 @@+import {+ ALLOW_TEST_SUITE_WEBSITE,+ concurrentIf,+ describeIf,+ HAS_AI,+ HAS_PROXY,+ TEST_PRODUCTION,+ TEST_SUITE_WEBSITE,+} from "../lib";import {asyncCrawl,asyncCrawlWaitForFinish,@@ -9,7 +18,6 @@ import {scrapeTimeout,} from "./lib";import { describe, it, expect } from "@jest/globals";-import { filterLinks } from "@mendable/firecrawl-rs";let identity: Identity;@@ -22,46 +30,50 @@ beforeAll(async () => {}, 10000);describe("Crawl tests", () => {- it.concurrent(+ const base = TEST_SUITE_WEBSITE;+ const baseUrl = new URL(base);+ const baseDomain = baseUrl.hostname;++ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("works",async () => {const results = await crawl({- url: "https://firecrawl.dev",+ url: base,limit: 10,},identity,);- expect(results.completed).toBe(10);+ expect(results.completed).toBeGreaterThan(0);},10 * scrapeTimeout,);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("works with sitemap: skip",async () => {const results = await crawl({- url: "https://firecrawl.dev",+ url: base,limit: 10,sitemap: "skip",},identity,);- expect(results.completed).toBe(10);+ expect(results.completed).toBeGreaterThan(0);},10 * scrapeTimeout,);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("filters URLs properly",async () => {const res = await crawl({- url: "https://firecrawl.dev/pricing",- includePaths: ["^/pricing$"],+ url: `${TEST_SUITE_WEBSITE}/blog`,+ includePaths: ["^/blog$"],limit: 10,},identity,@@ -72,43 +84,44 @@ describe("Crawl tests", () => {expect(res.completed).toBeGreaterThan(0);for (const page of res.data) {const url = new URL(page.metadata.url ?? page.metadata.sourceURL!);- expect(url.pathname).toMatch(/^\/pricing$/);+ expect(url.pathname).toMatch(/^\/blog$/);}}},10 * scrapeTimeout,);- it.concurrent(- "filters URLs properly when using regexOnFullURL",- async () => {- const res = await crawl(- {- url: "https://firecrawl.dev/pricing",- includePaths: ["^https://(www\\.)?firecrawl\\.dev/pricing$"],- regexOnFullURL: true,- limit: 10,- },- identity,- );+ // TODO: port to new dynamic url system+ // concurrentIf(ALLOW_TEST_SUITE_WEBSITE)(+ // "filters URLs properly when using regexOnFullURL",+ // async () => {+ // const res = await crawl(+ // {+ // url: base,+ // includePaths: ["^https://(www\\.)?firecrawl\\.dev/blog$"],+ // regexOnFullURL: true,+ // limit: 10,+ // },+ // identity,+ // );- expect(res.success).toBe(true);- if (res.success) {- expect(res.completed).toBe(1);- expect(res.data[0].metadata.sourceURL).toBe(- "https://firecrawl.dev/pricing",- );- }- },- 10 * scrapeTimeout,- );+ // expect(res.success).toBe(true);+ // if (res.success) {+ // expect(res.completed).toBe(1);+ // expect(res.data[0].metadata.sourceURL).toBe(+ // base,+ // );+ // }+ // },+ // 10 * scrapeTimeout,+ // );- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("delay parameter works",async () => {await crawl({- url: "https://firecrawl.dev",+ url: base,limit: 3,delay: 5,},@@ -118,14 +131,14 @@ describe("Crawl tests", () => {3 * scrapeTimeout + 3 * 5000,);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("ongoing crawls endpoint works",async () => {const beforeCrawl = new Date();const res = await asyncCrawl({- url: "https://firecrawl.dev",+ url: base,limit: 3,},identity,@@ -167,9 +180,9 @@ describe("Crawl tests", () => {);// TEMP: Flaky- // it.concurrent("discovers URLs properly when origin is not included", async () => {+ // concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("discovers URLs properly when origin is not included", async () => {// const res = await crawl({- // url: "https://firecrawl.dev",+ // url: base,// includePaths: ["^/blog"],// ignoreSitemap: true,// limit: 10,@@ -185,9 +198,9 @@ describe("Crawl tests", () => {// }, 300000);// TEMP: Flaky- // it.concurrent("discovers URLs properly when maxDiscoveryDepth is provided", async () => {+ // concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("discovers URLs properly when maxDiscoveryDepth is provided", async () => {// const res = await crawl({- // url: "https://firecrawl.dev",+ // url: base,// ignoreSitemap: true,// maxDiscoveryDepth: 1,// limit: 10,@@ -201,12 +214,12 @@ describe("Crawl tests", () => {// }// }, 300000);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("crawlEntireDomain parameter works",async () => {const res = await crawl({- url: "https://firecrawl.dev",+ url: base,crawlEntireDomain: true,limit: 5,},@@ -221,12 +234,12 @@ describe("Crawl tests", () => {5 * scrapeTimeout,);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("allowSubdomains parameter works",async () => {const res = await crawl({- url: "https://firecrawl.dev",+ url: base,allowSubdomains: true,limit: 5,},@@ -241,12 +254,12 @@ describe("Crawl tests", () => {5 * scrapeTimeout,);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("allowSubdomains blocks subdomains when false",async () => {const res = await crawl({- url: "https://firecrawl.dev",+ url: base,allowSubdomains: false,limit: 5,},@@ -257,19 +270,19 @@ describe("Crawl tests", () => {if (res.success) {for (const page of res.data) {const url = new URL(page.metadata.url ?? page.metadata.sourceURL!);- expect(url.hostname.endsWith("firecrawl.dev")).toBe(true);+ expect(url.hostname.endsWith(baseDomain)).toBe(true);}}},5 * scrapeTimeout,);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("allowSubdomains correctly allows same registrable domain using PSL",async () => {const res = await crawl({- url: "https://firecrawl.dev",+ url: base,allowSubdomains: true,allowExternalLinks: false,limit: 3,@@ -284,27 +297,24 @@ describe("Crawl tests", () => {const url = new URL(page.metadata.url ?? page.metadata.sourceURL!);const hostname = url.hostname;- expect(- hostname === "firecrawl.dev" || hostname.endsWith(".firecrawl.dev"),- ).toBe(true);+ expect(hostname === baseDomain || hostname.endsWith(baseDomain)).toBe(+ true,+ );}}},5 * scrapeTimeout,);- if (- !process.env.TEST_SUITE_SELF_HOSTED ||- process.env.OPENAI_API_KEY ||- process.env.OLLAMA_BASE_URL- ) {- describe("Crawl API with Prompt", () => {+ describeIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "Crawl API with Prompt",+ () => {it.concurrent("should accept prompt parameter in schema",async () => {const res = await crawlStart({- url: "https://firecrawl.dev",+ url: base,prompt: "Crawl only blog posts",limit: 1,},@@ -324,13 +334,13 @@ describe("Crawl tests", () => {async () => {const res = await crawl({- url: "https://firecrawl.dev",+ url: base,prompt:"Crawl everything including external links and subdomains",// Explicit options that should override the promptallowExternalLinks: false,allowSubdomains: false,- includePaths: ["^/pricing"],+ includePaths: ["^/blog"],limit: 2,},identity,@@ -344,9 +354,9 @@ describe("Crawl tests", () => {page.metadata.url ?? page.metadata.sourceURL!,);// Should only include pages matching the explicit includePaths- expect(url.pathname).toMatch(/^\/pricing/);+ expect(url.pathname).toMatch(/^\/blog/);// Should not include external links despite prompt- expect(url.hostname).toMatch(/firecrawl\.dev$/);+ // expect(url.hostname).toMatch(/firecrawl\.dev$/); // TODO: port to new dynamic url system}}},@@ -368,7 +378,7 @@ describe("Crawl tests", () => {// Test first one to avoid long test timesconst res = await crawl({- url: "https://firecrawl.dev",+ url: base,prompt: invalidPrompt,limit: 1,},@@ -386,10 +396,10 @@ describe("Crawl tests", () => {},8 * scrapeTimeout,);- });- }+ },+ );- it.concurrent(+ concurrentIf(TEST_PRODUCTION || HAS_PROXY)("shows warning when robots.txt blocks URLs",async () => {// Test with a site that has robots.txt blocking some paths@@ -415,7 +425,7 @@ describe("Crawl tests", () => {10 * scrapeTimeout,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION || HAS_PROXY)("shows warning when crawl results ≤ 1 and URL is not base domain",async () => {// Test with a specific path that should return few resultsdiff --git a/apps/api/src/__tests__/snips/v2/lib.ts b/apps/api/src/__tests__/snips/v2/lib.tsindex 47c4e1750..e076e3cfe 100644--- a/apps/api/src/__tests__/snips/v2/lib.ts+++ b/apps/api/src/__tests__/snips/v2/lib.ts@@ -1,6 +1,5 @@import {ScrapeRequestInput,- ScrapeResponse,Document,ExtractRequestInput,ExtractResponse,@@ -11,17 +10,15 @@ import {ErrorResponse,CrawlErrorsResponse,MapRequestInput,- MapResponse,BatchScrapeRequestInput,SearchRequestInput,} from "../../../controllers/v2/types";import request from "supertest";import {- TEST_URL,+ TEST_API_URL,scrapeTimeout,indexCooldown,Identity,- IdmuxRequest,idmux,} from "../lib";import { SearchV2Response } from "../../../lib/entities";@@ -29,12 +26,14 @@ import { SearchV2Response } from "../../../lib/entities";// Re-export shared utilities for backwards compatibilityexport { scrapeTimeout, indexCooldown, Identity, idmux };+const pollSleep = async () => new Promise(r => setTimeout(r, 250));+// =========================================// Scrape API// =========================================export async function scrapeRaw(body: ScrapeRequestInput, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).post("/v2/scrape").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -84,7 +83,7 @@ export async function scrapeWithFailure(}export async function scrapeStatusRaw(jobId: string, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).get("/v2/scrape/" + encodeURIComponent(jobId)).set("Authorization", `Bearer ${identity.apiKey}`).send();@@ -108,7 +107,7 @@ export async function scrapeStatus(// =========================================export async function crawlStart(body: CrawlRequestInput, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).post("/v2/crawl").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -116,14 +115,14 @@ export async function crawlStart(body: CrawlRequestInput, identity: Identity) {}async function crawlStatus(id: string, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).get("/v2/crawl/" + encodeURIComponent(id)).set("Authorization", `Bearer ${identity.apiKey}`).send();}async function crawlOngoingRaw(identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).get("/v2/crawl/ongoing").set("Authorization", `Bearer ${identity.apiKey}`).send();@@ -189,9 +188,10 @@ export async function asyncCrawlWaitForFinish(id: string,identity: Identity,): Promise<Exclude<CrawlStatusResponse, ErrorResponse>> {- let x;+ let x: Awaited<ReturnType<typeof crawlStatus>> | undefined;do {+ if (x) await pollSleep();x = await crawlStatus(id, identity);expect(x.statusCode).toBe(200);expect(typeof x.body.status).toBe("string");@@ -205,7 +205,7 @@ async function crawlErrors(id: string,identity: Identity,): Promise<Exclude<CrawlErrorsResponse, ErrorResponse>> {- const res = await request(TEST_URL)+ const res = await request(TEST_API_URL).get("/v2/crawl/" + id + "/errors").set("Authorization", `Bearer ${identity.apiKey}`).send();@@ -224,9 +224,10 @@ export async function crawl(const cs = await crawlStart(body, identity);expectCrawlStartToSucceed(cs);- let x;+ let x: Awaited<ReturnType<typeof crawlStatus>> | undefined;do {+ if (x) await pollSleep();x = await crawlStatus(cs.body.id, identity);expect(x.statusCode).toBe(200);expect(typeof x.body.status).toBe("string");@@ -255,7 +256,7 @@ async function batchScrapeStart(body: BatchScrapeRequestInput,identity: Identity,) {- return await request(TEST_URL)+ return await request(TEST_API_URL).post("/v2/batch/scrape").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -263,7 +264,7 @@ async function batchScrapeStart(}async function batchScrapeStatus(id: string, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).get("/v2/batch/scrape/" + encodeURIComponent(id)).set("Authorization", `Bearer ${identity.apiKey}`).send();@@ -312,9 +313,10 @@ export async function batchScrape(const bss = await batchScrapeStart(body, identity);expectBatchScrapeStartToSucceed(bss);- let x;+ let x: Awaited<ReturnType<typeof batchScrapeStatus>> | undefined;do {+ if (x) await pollSleep();x = await batchScrapeStatus(bss.body.id, identity);expect(x.statusCode).toBe(200);expect(typeof x.body.status).toBe("string");@@ -332,7 +334,7 @@ export async function batchScrape(// =========================================export async function map(body: MapRequestInput, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).post("/v2/map").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -355,7 +357,7 @@ export function expectMapToSucceed(response: Awaited<ReturnType<typeof map>>) {// =========================================async function searchRaw(body: SearchRequestInput, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).post("/v2/search").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -386,7 +388,7 @@ export async function search(export async function creditUsage(identity: Identity,): Promise<{ remainingCredits: number }> {- const req = await request(TEST_URL)+ const req = await request(TEST_API_URL).get("/v2/team/credit-usage").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json");@@ -405,7 +407,7 @@ export async function creditUsage(async function concurrencyCheck(identity: Identity,): Promise<{ concurrency: number; maxConcurrency: number }> {- const x = await request(TEST_URL)+ const x = await request(TEST_API_URL).get("/v2/team/queue-status").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json");@@ -432,6 +434,7 @@ export async function crawlWithConcurrencyTracking(concurrencies: number[] = [];do {+ if (x) await pollSleep();x = await crawlStatus(cs.body.id, identity);expect(x.statusCode).toBe(200);expect(typeof x.body.status).toBe("string");@@ -459,6 +462,7 @@ export async function batchScrapeWithConcurrencyTracking(concurrencies: number[] = [];do {+ if (x) await pollSleep();x = await batchScrapeStatus(cs.body.id, identity);expect(x.statusCode).toBe(200);expect(typeof x.body.status).toBe("string");@@ -477,7 +481,7 @@ export async function batchScrapeWithConcurrencyTracking(// =========================================async function extractStart(body: ExtractRequestInput, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).post("/v2/extract").set("Authorization", `Bearer ${identity.apiKey}`).set("Content-Type", "application/json")@@ -485,7 +489,7 @@ async function extractStart(body: ExtractRequestInput, identity: Identity) {}async function extractStatus(id: string, identity: Identity) {- return await request(TEST_URL)+ return await request(TEST_API_URL).get("/v2/extract/" + encodeURIComponent(id)).set("Authorization", `Bearer ${identity.apiKey}`).send();@@ -516,9 +520,10 @@ export async function extract(const es = await extractStart(body, identity);expectExtractStartToSucceed(es);- let x;+ let x: Awaited<ReturnType<typeof extractStatus>> | undefined;do {+ if (x) await pollSleep();x = await extractStatus(es.body.id, identity);expect(x.statusCode).toBe(200);expect(typeof x.body.status).toBe("string");@@ -540,7 +545,7 @@ export async function extractRaw(// =========================================export async function zdrcleaner(teamId: string) {- const res = await request(TEST_URL)+ const res = await request(TEST_API_URL).get(`/admin/${process.env.BULL_AUTH_KEY}/zdrcleaner`).query({ teamId });diff --git a/apps/api/src/__tests__/snips/v2/map.test.ts b/apps/api/src/__tests__/snips/v2/map.test.tsindex d566c34f1..e78b9c490 100644--- a/apps/api/src/__tests__/snips/v2/map.test.ts+++ b/apps/api/src/__tests__/snips/v2/map.test.ts@@ -1,3 +1,8 @@+import {+ ALLOW_TEST_SUITE_WEBSITE,+ concurrentIf,+ TEST_SUITE_WEBSITE,+} from "../lib";import { expectMapToSucceed, map, idmux, Identity } from "./lib";let identity: Identity;@@ -10,13 +15,16 @@ beforeAll(async () => {});}, 10000);+// TODO: is map meant for self-host?describe("Map tests", () => {- it.concurrent(+ const base = TEST_SUITE_WEBSITE;++ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("basic map succeeds",async () => {const response = await map({- url: "http://firecrawl.dev",+ url: base,},identity,);@@ -26,12 +34,12 @@ describe("Map tests", () => {60000,);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("times out properly",async () => {const response = await map({- url: "http://firecrawl.dev",+ url: base,timeout: 1,},identity,@@ -70,21 +78,25 @@ describe("Map tests", () => {60000,);- it.concurrent("sitemap=only respects limit", async () => {- const response = await map(- {- url: "https://firecrawl.dev",- sitemap: "only",- limit: 10,- },- identity,- );+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)(+ "sitemap=only respects limit",+ async () => {+ const response = await map(+ {+ url: base,+ sitemap: "only",+ limit: 10,+ },+ identity,+ );- expect(response.statusCode).toBe(200);- expect(response.body.success).toBe(true);- expect(response.body.links.length).toBe(10);- });+ expect(response.statusCode).toBe(200);+ expect(response.body.success).toBe(true);+ expect(response.body.links.length).toBe(10);+ },+ );+ // TODO: port to new systemit.concurrent("shows warning when results ≤ 1 and URL is not base domain",async () => {diff --git a/apps/api/src/__tests__/snips/v2/parsers.test.ts b/apps/api/src/__tests__/snips/v2/parsers.test.tsindex b8dc1c5ae..a9c908f0d 100644--- a/apps/api/src/__tests__/snips/v2/parsers.test.ts+++ b/apps/api/src/__tests__/snips/v2/parsers.test.ts@@ -1,3 +1,8 @@+import {+ ALLOW_TEST_SUITE_WEBSITE,+ describeIf,+ TEST_SUITE_WEBSITE,+} from "../lib";import { scrape, scrapeRaw, scrapeTimeout, idmux, Identity } from "./lib";let identity: Identity;@@ -10,9 +15,9 @@ beforeAll(async () => {});}, 10000 + scrapeTimeout);-describe("Parsers parameter tests", () => {- const pdfUrl = "https://www.orimi.com/pdf-test.pdf";- const htmlUrl = "https://firecrawl.dev";+describeIf(ALLOW_TEST_SUITE_WEBSITE)("Parsers parameter tests", () => {+ const pdfUrl = `${TEST_SUITE_WEBSITE}/example.pdf`;+ const htmlUrl = TEST_SUITE_WEBSITE;describe("Array format", () => {it.concurrent(diff --git a/apps/api/src/__tests__/snips/v2/robots-txt.test.ts b/apps/api/src/__tests__/snips/v2/robots-txt.test.tsindex e96275c21..60582704f 100644--- a/apps/api/src/__tests__/snips/v2/robots-txt.test.ts+++ b/apps/api/src/__tests__/snips/v2/robots-txt.test.ts@@ -1,6 +1,7 @@import { createRobotsChecker, fetchRobotsTxt } from "../../../lib/robots-txt";import { scrapeTimeout } from "./lib";+// TODO: test self-hosteddescribe("Robots.txt tests", () => {const robotsUrl = "https://www.google.com/robots.txt";const siteUrl = "https://www.google.com/";diff --git a/apps/api/src/__tests__/snips/v2/scrape-cache.test.ts b/apps/api/src/__tests__/snips/v2/scrape-cache.test.tsindex 71d54df98..e6d3b5bb8 100644--- a/apps/api/src/__tests__/snips/v2/scrape-cache.test.ts+++ b/apps/api/src/__tests__/snips/v2/scrape-cache.test.ts@@ -1,127 +1,122 @@+import { describeIf, TEST_PRODUCTION } from "../lib";import { Identity, idmux, scrapeTimeout, scrape } from "./lib";import crypto from "crypto";-describe("V2 Scrape Default maxAge", () => {- if (!process.env.TEST_SUITE_SELF_HOSTED) {- let identity: Identity;-- beforeAll(async () => {- identity = await idmux({- name: "v2-scrape-default-maxage",- concurrency: 100,- credits: 1000000,- });- }, 10000);-- test(- "should use default maxAge of 4 hours when not specified",- async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;-- // First scrape to populate cache- const data1 = await scrape(- {- url,- },- identity,- );-- expect(data1).toBeDefined();- expect(data1.metadata.cacheState).toBe("miss");-- // Wait for index to be populated- await new Promise(resolve => setTimeout(resolve, 20000));-- // Second scrape should hit cache with default maxAge- const data2 = await scrape(- {- url,- },- identity,- );-- expect(data2).toBeDefined();- expect(data2.metadata.cacheState).toBe("hit");- expect(data2.metadata.cachedAt).toBeDefined();- },- scrapeTimeout * 2 + 20000,- );-- test(- "should respect explicitly set maxAge of 0",- async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;-- // First scrape to populate cache- const data1 = await scrape(- {- url,- },- identity,- );-- expect(data1).toBeDefined();- expect(data1.metadata.cacheState).toBe("miss");-- // Wait for index to be populated- await new Promise(resolve => setTimeout(resolve, 20000));-- // Second scrape with maxAge=0 should miss cache- const data2 = await scrape(- {- url,- maxAge: 0,- },- identity,- );-- expect(data2).toBeDefined();- expect(data2.metadata.cacheState).toBeUndefined();- },- scrapeTimeout * 2 + 20000,- );-- test(- "should respect custom maxAge value",- async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;-- // First scrape to populate cache- const data1 = await scrape(- {- url,- maxAge: 3600000, // 1 hour in milliseconds- },- identity,- );-- expect(data1).toBeDefined();- expect(data1.metadata.cacheState).toBe("miss");-- // Wait for index to be populated- await new Promise(resolve => setTimeout(resolve, 20000));-- // Second scrape with same maxAge should hit cache- const data2 = await scrape(- {- url,- maxAge: 3600000, // 1 hour in milliseconds- },- identity,- );-- expect(data2).toBeDefined();- expect(data2.metadata.cacheState).toBe("hit");- expect(data2.metadata.cachedAt).toBeDefined();- },- scrapeTimeout * 2 + 20000,- );- } else {- it("mocked", () => {- expect(true).toBe(true);+describeIf(TEST_PRODUCTION)("V2 Scrape Default maxAge", () => {+ let identity: Identity;++ beforeAll(async () => {+ identity = await idmux({+ name: "v2-scrape-default-maxage",+ concurrency: 100,+ credits: 1000000,});- }+ }, 10000);++ test(+ "should use default maxAge of 4 hours when not specified",+ async () => {+ const id = crypto.randomUUID();+ const url = "https://firecrawl.dev/?testId=" + id;++ // First scrape to populate cache+ const data1 = await scrape(+ {+ url,+ },+ identity,+ );++ expect(data1).toBeDefined();+ expect(data1.metadata.cacheState).toBe("miss");++ // Wait for index to be populated+ await new Promise(resolve => setTimeout(resolve, 20000));++ // Second scrape should hit cache with default maxAge+ const data2 = await scrape(+ {+ url,+ },+ identity,+ );++ expect(data2).toBeDefined();+ expect(data2.metadata.cacheState).toBe("hit");+ expect(data2.metadata.cachedAt).toBeDefined();+ },+ scrapeTimeout * 2 + 20000,+ );++ test(+ "should respect explicitly set maxAge of 0",+ async () => {+ const id = crypto.randomUUID();+ const url = "https://firecrawl.dev/?testId=" + id;++ // First scrape to populate cache+ const data1 = await scrape(+ {+ url,+ },+ identity,+ );++ expect(data1).toBeDefined();+ expect(data1.metadata.cacheState).toBe("miss");++ // Wait for index to be populated+ await new Promise(resolve => setTimeout(resolve, 20000));++ // Second scrape with maxAge=0 should miss cache+ const data2 = await scrape(+ {+ url,+ maxAge: 0,+ },+ identity,+ );++ expect(data2).toBeDefined();+ expect(data2.metadata.cacheState).toBeUndefined();+ },+ scrapeTimeout * 2 + 20000,+ );++ test(+ "should respect custom maxAge value",+ async () => {+ const id = crypto.randomUUID();+ const url = "https://firecrawl.dev/?testId=" + id;++ // First scrape to populate cache+ const data1 = await scrape(+ {+ url,+ maxAge: 3600000, // 1 hour in milliseconds+ },+ identity,+ );++ expect(data1).toBeDefined();+ expect(data1.metadata.cacheState).toBe("miss");++ // Wait for index to be populated+ await new Promise(resolve => setTimeout(resolve, 20000));++ // Second scrape with same maxAge should hit cache+ const data2 = await scrape(+ {+ url,+ maxAge: 3600000, // 1 hour in milliseconds+ },+ identity,+ );++ expect(data2).toBeDefined();+ expect(data2.metadata.cacheState).toBe("hit");+ expect(data2.metadata.cachedAt).toBeDefined();+ },+ scrapeTimeout * 2 + 20000,+ );});diff --git a/apps/api/src/__tests__/snips/v2/scrape-formats.test.ts b/apps/api/src/__tests__/snips/v2/scrape-formats.test.tsindex b22833a5d..3c7b875ab 100644--- a/apps/api/src/__tests__/snips/v2/scrape-formats.test.ts+++ b/apps/api/src/__tests__/snips/v2/scrape-formats.test.ts@@ -1,11 +1,12 @@import {- scrape,- scrapeWithFailure,- scrapeTimeout,- idmux,- Identity,- scrapeRaw,-} from "./lib";+ ALLOW_TEST_SUITE_WEBSITE,+ concurrentIf,+ describeIf,+ HAS_AI,+ TEST_PRODUCTION,+ TEST_SUITE_WEBSITE,+} from "../lib";+import { scrape, scrapeTimeout, idmux, Identity, scrapeRaw } from "./lib";let identity: Identity;@@ -17,14 +18,16 @@ beforeAll(async () => {});}, 10000 + scrapeTimeout);-describe("Scrape format variations", () => {+describeIf(ALLOW_TEST_SUITE_WEBSITE)("Scrape format variations", () => {+ const base = TEST_SUITE_WEBSITE;+describe("String format inputs", () => {it.concurrent("accepts string format for markdown",async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: [{ type: "markdown" }],},identity,@@ -42,7 +45,7 @@ describe("Scrape format variations", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: ["markdown", "html", "links"],},identity,@@ -56,16 +59,12 @@ describe("Scrape format variations", () => {scrapeTimeout,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION)("accepts string format for screenshot",async () => {- if (process.env.TEST_SUITE_SELF_HOSTED) {- return;- }-const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: ["screenshot"],},identity,@@ -84,7 +83,7 @@ describe("Scrape format variations", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: [{ type: "markdown" }],},identity,@@ -102,7 +101,7 @@ describe("Scrape format variations", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: [{ type: "markdown" },{ type: "html" },@@ -120,16 +119,12 @@ describe("Scrape format variations", () => {scrapeTimeout,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION)("accepts object format for screenshot with options",async () => {- if (process.env.TEST_SUITE_SELF_HOSTED) {- return;- }-const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: [{type: "screenshot",@@ -155,7 +150,7 @@ describe("Scrape format variations", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: ["markdown", { type: "html" }, "links"],},identity,@@ -168,93 +163,83 @@ describe("Scrape format variations", () => {scrapeTimeout,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION)("handles complex formats alongside simple ones",async () => {- if (!process.env.TEST_SUITE_SELF_HOSTED) {- const response = await scrape(- {- url: "https://firecrawl.dev",- formats: [- "markdown",- {- type: "screenshot",- fullPage: false,- quality: 90,- },- { type: "links" },- ],- },- identity,- );-- expect(response.markdown).toBeDefined();- expect(response.screenshot).toBeDefined();- expect(response.links).toBeDefined();- }+ const response = await scrape(+ {+ url: base,+ formats: [+ "markdown",+ {+ type: "screenshot",+ fullPage: false,+ quality: 90,+ },+ { type: "links" },+ ],+ },+ identity,+ );++ expect(response.markdown).toBeDefined();+ expect(response.screenshot).toBeDefined();+ expect(response.links).toBeDefined();},scrapeTimeout,);});describe("Format with options that already exist", () => {- it.concurrent(+ concurrentIf(TEST_PRODUCTION || HAS_AI)("handles json format with schema",async () => {- if (- !process.env.TEST_SUITE_SELF_HOSTED ||- process.env.OPENAI_API_KEY ||- process.env.OLLAMA_BASE_URL- ) {- const response = await scrape(- {- url: "https://firecrawl.dev",- formats: [- {- type: "json",- prompt: "Extract the main heading and description",- schema: {- type: "object",- properties: {- heading: { type: "string" },- description: { type: "string" },- },+ const response = await scrape(+ {+ url: base,+ formats: [+ {+ type: "json",+ prompt: "Extract the main heading and description",+ schema: {+ type: "object",+ properties: {+ heading: { type: "string" },+ description: { type: "string" },},},- ],- },- identity,- );-- expect(response.json).toBeDefined();- expect(typeof response.json).toBe("object");- }+ },+ ],+ },+ identity,+ );++ expect(response.json).toBeDefined();+ expect(typeof response.json).toBe("object");},scrapeTimeout,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION)("handles changeTracking format with options",async () => {- if (!process.env.TEST_SUITE_SELF_HOSTED) {- const response = await scrape(- {- url: "https://firecrawl.dev",- formats: [- "markdown",- {- type: "changeTracking",- modes: ["json"],- tag: "test-tag",- },- ],- },- identity,- );-- expect(response.markdown).toBeDefined();- expect(response.changeTracking).toBeDefined();- }+ const response = await scrape(+ {+ url: base,+ formats: [+ "markdown",+ {+ type: "changeTracking",+ modes: ["json"],+ tag: "test-tag",+ },+ ],+ },+ identity,+ );++ expect(response.markdown).toBeDefined();+ expect(response.changeTracking).toBeDefined();},scrapeTimeout,);@@ -266,7 +251,7 @@ describe("Scrape format variations", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,},identity,);@@ -282,7 +267,7 @@ describe("Scrape format variations", () => {async () => {const raw = await scrapeRaw({- url: "https://firecrawl.dev",+ url: base,formats: [{ type: "invalid-format" } as any],},identity,@@ -299,7 +284,7 @@ describe("Scrape format variations", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: ["markdown", "html", "rawHtml", "links"],},identity,@@ -320,7 +305,7 @@ describe("Scrape format variations", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: ["markdown", "html"],},identity,@@ -339,7 +324,7 @@ describe("Scrape format variations", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: [{ type: "markdown" }, { type: "html" }],},identity,@@ -358,7 +343,7 @@ describe("Scrape format variations", () => {async () => {const response1 = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: ["markdown", "html"],},identity,@@ -366,7 +351,7 @@ describe("Scrape format variations", () => {const response2 = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: [{ type: "markdown" }, { type: "html" }],},identity,@@ -374,7 +359,7 @@ describe("Scrape format variations", () => {const response3 = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: ["markdown", { type: "html" }],},identity,diff --git a/apps/api/src/__tests__/snips/v2/scrape-skip-tls.test.ts b/apps/api/src/__tests__/snips/v2/scrape-skip-tls.test.tsindex 50cc16825..fd04a6713 100644--- a/apps/api/src/__tests__/snips/v2/scrape-skip-tls.test.ts+++ b/apps/api/src/__tests__/snips/v2/scrape-skip-tls.test.ts@@ -1,3 +1,9 @@+import {+ ALLOW_TEST_SUITE_WEBSITE,+ TEST_PRODUCTION,+ TEST_SUITE_WEBSITE,+ testIf,+} from "../lib";import { Identity, idmux, scrapeTimeout, scrape, scrapeRaw } from "./lib";describe("V2 Scrape skipTlsVerification Default", () => {@@ -50,12 +56,12 @@ describe("V2 Scrape skipTlsVerification Default", () => {scrapeTimeout,);- test(+ testIf(ALLOW_TEST_SUITE_WEBSITE)("should work with valid HTTPS sites regardless of skipTlsVerification setting",async () => {const data = await scrape({- url: "https://firecrawl.dev",+ url: TEST_SUITE_WEBSITE, // NOTE: test website in self-host mode may not use TLS, need to check this outmaxAge: 0,},identity,@@ -67,43 +73,41 @@ describe("V2 Scrape skipTlsVerification Default", () => {scrapeTimeout,);- if (!process.env.TEST_SUITE_SELF_HOSTED) {- test(- "should support object screenshot format",- async () => {- const data = await scrape(- {- url: "https://firecrawl.dev",- formats: [{ type: "screenshot", fullPage: false }],- maxAge: 0,- },- identity,- );+ testIf(TEST_PRODUCTION)(+ "should support object screenshot format",+ async () => {+ const data = await scrape(+ {+ url: TEST_SUITE_WEBSITE,+ formats: [{ type: "screenshot", fullPage: false }],+ maxAge: 0,+ },+ identity,+ );- expect(data).toBeDefined();- expect(data.screenshot).toBeDefined();- expect(typeof data.screenshot).toBe("string");- },- scrapeTimeout,- );+ expect(data).toBeDefined();+ expect(data.screenshot).toBeDefined();+ expect(typeof data.screenshot).toBe("string");+ },+ scrapeTimeout,+ );- test(- "should support object screenshot format with fullPage",- async () => {- const data = await scrape(- {- url: "https://firecrawl.dev",- formats: [{ type: "screenshot", fullPage: true }],- maxAge: 0,- },- identity,- );+ testIf(TEST_PRODUCTION)(+ "should support object screenshot format with fullPage",+ async () => {+ const data = await scrape(+ {+ url: TEST_SUITE_WEBSITE,+ formats: [{ type: "screenshot", fullPage: true }],+ maxAge: 0,+ },+ identity,+ );- expect(data).toBeDefined();- expect(data.screenshot).toBeDefined();- expect(typeof data.screenshot).toBe("string");- },- scrapeTimeout,- );- }+ expect(data).toBeDefined();+ expect(data.screenshot).toBeDefined();+ expect(typeof data.screenshot).toBe("string");+ },+ scrapeTimeout,+ );});diff --git a/apps/api/src/__tests__/snips/v2/scrape-viewport.test.ts b/apps/api/src/__tests__/snips/v2/scrape-viewport.test.tsindex e3fba0dfe..c60b12f4c 100644--- a/apps/api/src/__tests__/snips/v2/scrape-viewport.test.ts+++ b/apps/api/src/__tests__/snips/v2/scrape-viewport.test.ts@@ -1,186 +1,181 @@+import { describeIf, TEST_PRODUCTION } from "../lib";import { Identity, idmux, scrapeTimeout, scrape, scrapeRaw } from "./lib";-describe("V2 Scrape Screenshot Viewport", () => {- if (!process.env.TEST_SUITE_SELF_HOSTED) {- let identity: Identity;-- beforeAll(async () => {- identity = await idmux({- name: "v2-scrape-viewport",- concurrency: 100,- credits: 1000000,- });- }, 10000);-- test(- "should take screenshot with custom viewport dimensions",- async () => {- const data = await scrape(- {- url: "https://example.com",- formats: [- "markdown",- {- type: "screenshot",- viewport: {- width: 1920,- height: 1080,- },- },- ],- },- identity,- );-- expect(data).toBeDefined();- expect(data.screenshot).toBeDefined();- expect(data.markdown).toBeDefined();- },- scrapeTimeout,- );-- test(- "should take full page screenshot with custom viewport width",- async () => {- const data = await scrape(- {- url: "https://example.com",- formats: [- {- type: "screenshot",- fullPage: true,- viewport: {- width: 1440,- height: 900,- },+describeIf(TEST_PRODUCTION)("V2 Scrape Screenshot Viewport", () => {+ let identity: Identity;++ beforeAll(async () => {+ identity = await idmux({+ name: "v2-scrape-viewport",+ concurrency: 100,+ credits: 1000000,+ });+ }, 10000);++ test(+ "should take screenshot with custom viewport dimensions",+ async () => {+ const data = await scrape(+ {+ url: "https://example.com",+ formats: [+ "markdown",+ {+ type: "screenshot",+ viewport: {+ width: 1920,+ height: 1080,},- ],- },- identity,- );-- expect(data).toBeDefined();- expect(data.screenshot).toBeDefined();- },- scrapeTimeout,- );-- test(- "should work with screenshot format without viewport (backwards compatibility)",- async () => {- const data = await scrape(- {- url: "https://example.com",- formats: ["screenshot"],- },- identity,- );-- expect(data).toBeDefined();- expect(data.screenshot).toBeDefined();- },- scrapeTimeout,- );-- test(- "should work with object screenshot format without viewport",- async () => {- const data = await scrape(- {- url: "https://example.com",- formats: [- {- type: "screenshot",- fullPage: false,+ },+ ],+ },+ identity,+ );++ expect(data).toBeDefined();+ expect(data.screenshot).toBeDefined();+ expect(data.markdown).toBeDefined();+ },+ scrapeTimeout,+ );++ test(+ "should take full page screenshot with custom viewport width",+ async () => {+ const data = await scrape(+ {+ url: "https://example.com",+ formats: [+ {+ type: "screenshot",+ fullPage: true,+ viewport: {+ width: 1440,+ height: 900,},- ],- },- identity,- );-- expect(data).toBeDefined();- expect(data.screenshot).toBeDefined();- },- scrapeTimeout,- );-- test(- "should reject invalid viewport dimensions",- async () => {- const response = await scrapeRaw(- {- url: "https://example.com",- formats: [- {- type: "screenshot",- viewport: {- width: -100,- height: 0,- },+ },+ ],+ },+ identity,+ );++ expect(data).toBeDefined();+ expect(data.screenshot).toBeDefined();+ },+ scrapeTimeout,+ );++ test(+ "should work with screenshot format without viewport (backwards compatibility)",+ async () => {+ const data = await scrape(+ {+ url: "https://example.com",+ formats: ["screenshot"],+ },+ identity,+ );++ expect(data).toBeDefined();+ expect(data.screenshot).toBeDefined();+ },+ scrapeTimeout,+ );++ test(+ "should work with object screenshot format without viewport",+ async () => {+ const data = await scrape(+ {+ url: "https://example.com",+ formats: [+ {+ type: "screenshot",+ fullPage: false,+ },+ ],+ },+ identity,+ );++ expect(data).toBeDefined();+ expect(data.screenshot).toBeDefined();+ },+ scrapeTimeout,+ );++ test(+ "should reject invalid viewport dimensions",+ async () => {+ const response = await scrapeRaw(+ {+ url: "https://example.com",+ formats: [+ {+ type: "screenshot",+ viewport: {+ width: -100,+ height: 0,},- ],- },- identity,- );-- expect(response.status).toBe(400);- expect(response.body.success).toBe(false);- },- scrapeTimeout,- );-- test(- "should reject non-integer viewport dimensions",- async () => {- const response = await scrapeRaw(- {- url: "https://example.com",- formats: [- {- type: "screenshot",- viewport: {- width: "1920" as any,- height: 1080.5 as any,- },+ },+ ],+ },+ identity,+ );++ expect(response.status).toBe(400);+ expect(response.body.success).toBe(false);+ },+ scrapeTimeout,+ );++ test(+ "should reject non-integer viewport dimensions",+ async () => {+ const response = await scrapeRaw(+ {+ url: "https://example.com",+ formats: [+ {+ type: "screenshot",+ viewport: {+ width: "1920" as any,+ height: 1080.5 as any,},- ],- },- identity,- );-- expect(response.status).toBe(400);- expect(response.body.success).toBe(false);- },- scrapeTimeout,- );-- test(- "should reject viewport dimensions exceeding maximum limits",- async () => {- const response = await scrapeRaw(- {- url: "https://example.com",- formats: [- {- type: "screenshot",- viewport: {- width: 8000, // exceeds max of 7680- height: 5000, // exceeds max of 4320- },+ },+ ],+ },+ identity,+ );++ expect(response.status).toBe(400);+ expect(response.body.success).toBe(false);+ },+ scrapeTimeout,+ );++ test(+ "should reject viewport dimensions exceeding maximum limits",+ async () => {+ const response = await scrapeRaw(+ {+ url: "https://example.com",+ formats: [+ {+ type: "screenshot",+ viewport: {+ width: 8000, // exceeds max of 7680+ height: 5000, // exceeds max of 4320},- ],- },- identity,- );-- expect(response.status).toBe(400);- expect(response.body.success).toBe(false);- },- scrapeTimeout,- );- } else {- it("mocked", () => {- expect(true).toBe(true);- });- }+ },+ ],+ },+ identity,+ );++ expect(response.status).toBe(400);+ expect(response.body.success).toBe(false);+ },+ scrapeTimeout,+ );});diff --git a/apps/api/src/__tests__/snips/v2/scrape.test.ts b/apps/api/src/__tests__/snips/v2/scrape.test.tsindex a1d20c658..bc7418c35 100644--- a/apps/api/src/__tests__/snips/v2/scrape.test.ts+++ b/apps/api/src/__tests__/snips/v2/scrape.test.ts@@ -1,3 +1,16 @@+import {+ createTestIdUrl,+ describeIf,+ concurrentIf,+ itIf,+ TEST_PRODUCTION,+ TEST_SELF_HOST,+ TEST_SUITE_WEBSITE,+ HAS_PLAYWRIGHT,+ HAS_PROXY,+ HAS_AI,+ ALLOW_TEST_SUITE_WEBSITE,+} from "../lib";import {scrape,scrapeWithFailure,@@ -11,10 +24,9 @@ import {} from "./lib";import crypto from "crypto";-let identity: Identity;+const CHANGE_TRACKING_TEST_URL = `${TEST_SUITE_WEBSITE}?testId=${crypto.randomUUID()}`;-let changeTrackingTestUrl =- "https://firecrawl.dev?testId=" + crypto.randomUUID();+let identity: Identity;beforeAll(async () => {identity = await idmux({@@ -23,11 +35,10 @@ beforeAll(async () => {credits: 1000000,});- if (!process.env.TEST_SUITE_SELF_HOSTED) {- // Needed for change tracking tests to work+ if (TEST_PRODUCTION) {await scrape({- url: changeTrackingTestUrl,+ url: CHANGE_TRACKING_TEST_URL,formats: ["markdown", "changeTracking"],},identity,@@ -36,12 +47,14 @@ beforeAll(async () => {}, 10000 + scrapeTimeout);describe("Scrape tests", () => {- it.concurrent(+ const base = TEST_SUITE_WEBSITE;++ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("works",async () => {const response = await scrape({- url: "http://firecrawl.dev",+ url: base,},identity,);@@ -51,13 +64,13 @@ describe("Scrape tests", () => {scrapeTimeout,);- describe("waitFor validation", () => {+ describeIf(ALLOW_TEST_SUITE_WEBSITE)("waitFor validation", () => {it.concurrent("rejects waitFor when it exceeds half of timeout",async () => {const raw = await scrapeRaw({- url: "http://firecrawl.dev",+ url: base,waitFor: 8000,timeout: 15000,},@@ -66,7 +79,7 @@ describe("Scrape tests", () => {expect(raw.statusCode).toBe(400);expect(raw.body.success).toBe(false);- expect(raw.body.error).toBe("Bad Request");+ expect(raw.body.error).toBe("waitFor must not exceed half of timeout");expect(raw.body.details).toBeDefined();expect(JSON.stringify(raw.body.details)).toContain("waitFor must not exceed half of timeout",@@ -80,7 +93,7 @@ describe("Scrape tests", () => {async () => {const raw = await scrapeRaw({- url: "http://firecrawl.dev",+ url: base,waitFor: 15000,timeout: 15000,},@@ -89,7 +102,7 @@ describe("Scrape tests", () => {expect(raw.statusCode).toBe(400);expect(raw.body.success).toBe(false);- expect(raw.body.error).toBe("Bad Request");+ expect(raw.body.error).toBe("waitFor must not exceed half of timeout");expect(raw.body.details).toBeDefined();expect(JSON.stringify(raw.body.details)).toContain("waitFor must not exceed half of timeout",@@ -103,7 +116,7 @@ describe("Scrape tests", () => {async () => {const raw = await scrapeRaw({- url: "http://firecrawl.dev",+ url: base,waitFor: 20000,timeout: 15000,},@@ -112,7 +125,7 @@ describe("Scrape tests", () => {expect(raw.statusCode).toBe(400);expect(raw.body.success).toBe(false);- expect(raw.body.error).toBe("Bad Request");+ expect(raw.body.error).toBe("waitFor must not exceed half of timeout");expect(raw.body.details).toBeDefined();expect(JSON.stringify(raw.body.details)).toContain("waitFor must not exceed half of timeout",@@ -129,12 +142,12 @@ describe("Scrape tests", () => {// }, identity);// }, scrapeTimeout);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("handles non-UTF-8 encodings",async () => {const response = await scrape({- url: "https://www.rtpro.yamaha.co.jp/RT/docs/misc/kanji-sjis.html",+ url: `${base}/blog/unicode-post`,},identity,);@@ -146,10 +159,10 @@ describe("Scrape tests", () => {scrapeTimeout,);- it.concurrent("links format works", async () => {+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("links format works", async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: ["links"],},identity,@@ -159,10 +172,10 @@ describe("Scrape tests", () => {expect(response.links?.length).toBeGreaterThan(0);});- it.concurrent("images format works", async () => {+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("images format works", async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: `${base}/blog`,formats: ["images"],},identity,@@ -174,104 +187,101 @@ describe("Scrape tests", () => {expect(response.images?.some(img => img.includes("firecrawl"))).toBe(true);});- it.concurrent("images format works with multiple formats", async () => {- const response = await scrape(- {- url: "https://firecrawl.dev",- formats: ["markdown", "links", "images"],- },- identity,- );-- expect(response.markdown).toBeDefined();- expect(response.links).toBeDefined();- expect(response.images).toBeDefined();- expect(response.images?.length).toBeGreaterThan(0);+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)(+ "images format works with multiple formats",+ async () => {+ const response = await scrape(+ {+ url: `${base}/blog`,+ formats: ["markdown", "links", "images"],+ },+ identity,+ );- // Images should include things that aren't in links- const imageExtensions = [- ".jpg",- ".jpeg",- ".png",- ".gif",- ".webp",- ".svg",- ".ico",- ];- const linkImages =- response.links?.filter(link =>- imageExtensions.some(ext => link.toLowerCase().includes(ext)),- ) || [];-- // Should have found more images than just those with obvious extensions in links- expect(response.images?.length).toBeGreaterThanOrEqual(linkImages.length);- });+ expect(response.markdown).toBeDefined();+ expect(response.links).toBeDefined();+ expect(response.images).toBeDefined();+ expect(response.images?.length).toBeGreaterThan(0);++ // Images should include things that aren't in links+ const imageExtensions = [+ ".jpg",+ ".jpeg",+ ".png",+ ".gif",+ ".webp",+ ".svg",+ ".ico",+ ];+ const linkImages =+ response.links?.filter(link =>+ imageExtensions.some(ext => link.toLowerCase().includes(ext)),+ ) || [];++ // Should have found more images than just those with obvious extensions in links+ expect(response.images?.length).toBeGreaterThanOrEqual(linkImages.length);+ },+ );- if (process.env.TEST_SUITE_SELF_HOSTED && process.env.PROXY_SERVER) {- it.concurrent(- "self-hosted proxy works",- async () => {- const response = await scrape(- {- url: "https://icanhazip.com",- },- identity,- );+ concurrentIf(TEST_SELF_HOST && HAS_PROXY)(+ "self-hosted proxy works",+ async () => {+ const response = await scrape(+ {+ url: "https://icanhazip.com",+ },+ identity,+ );- expect(response.markdown?.trim()).toContain(- process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0],- );- },- scrapeTimeout,- );+ expect(response.markdown?.trim()).toContain(+ process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0],+ );+ },+ scrapeTimeout,+ );- it.concurrent(- "self-hosted proxy works on playwright",- async () => {- const response = await scrape(- {- url: "https://icanhazip.com",- waitFor: 100,- },- identity,- );+ // TODO: check if this is playwright only?+ concurrentIf(TEST_SELF_HOST && HAS_PROXY && HAS_PLAYWRIGHT)(+ "self-hosted proxy works on playwright",+ async () => {+ const response = await scrape(+ {+ url: "https://icanhazip.com",+ waitFor: 100,+ },+ identity,+ );- expect(response.markdown?.trim()).toContain(- process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0],- );- },- scrapeTimeout,- );- }+ expect(response.markdown?.trim()).toContain(+ process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0],+ );+ },+ scrapeTimeout,+ );- if (- !process.env.TEST_SUITE_SELF_HOSTED ||- process.env.PLAYWRIGHT_MICROSERVICE_URL- ) {- it.concurrent(- "waitFor works",- async () => {- const response = await scrape(- {- url: "http://firecrawl.dev",- waitFor: 2000,- },- identity,- );+ concurrentIf(TEST_PRODUCTION || (HAS_PLAYWRIGHT && ALLOW_TEST_SUITE_WEBSITE))(+ "waitFor works",+ async () => {+ const response = await scrape(+ {+ url: base,+ waitFor: 2000,+ },+ identity,+ );- expect(response.markdown).toContain("Firecrawl");- },- scrapeTimeout,- );- }+ expect(response.markdown).toContain("Firecrawl");+ },+ scrapeTimeout,+ );- describe("JSON scrape support", () => {+ describeIf(ALLOW_TEST_SUITE_WEBSITE)("JSON scrape support", () => {it.concurrent("returns parseable JSON",async () => {const response = await scrape({- url: "https://jsonplaceholder.typicode.com/todos/1",+ url: `${base}/example.json`,formats: ["rawHtml"],},identity,@@ -284,13 +294,13 @@ describe("Scrape tests", () => {);});- if (!process.env.TEST_SUITE_SELF_HOSTED) {+ describeIf(TEST_PRODUCTION)("Fire-Engine scraping", () => {it.concurrent("scrape status works",async () => {const response = await scrape({- url: "http://firecrawl.dev",+ url: base,},identity,);@@ -309,13 +319,13 @@ describe("Scrape tests", () => {scrapeTimeout,);- describe("Ad blocking (f-e dependant)", () => {+ describe("Ad blocking (f-e dependent)", () => {it.concurrent("blocking ads works",async () => {await scrape({- url: "https://firecrawl.dev",+ url: base,blockAds: true,},identity,@@ -329,7 +339,7 @@ describe("Scrape tests", () => {async () => {await scrape({- url: "https://firecrawl.dev",+ url: base,blockAds: false,},identity,@@ -343,8 +353,7 @@ describe("Scrape tests", () => {it.concurrent("caches properly",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();const response1 = await scrape({@@ -398,8 +407,7 @@ describe("Scrape tests", () => {it.concurrent("caches PDFs properly",async () => {- const id = crypto.randomUUID();- const url = "https://www.orimi.com/pdf-test.pdf?testId=" + id;+ const url = `${base}/example.pdf`;const response1 = await scrape({@@ -429,8 +437,7 @@ describe("Scrape tests", () => {it.concurrent("respects screenshot",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();const response1 = await scrape({@@ -474,8 +481,7 @@ describe("Scrape tests", () => {it.concurrent("respects screenshot@fullPage",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();const response1 = await scrape({@@ -519,8 +525,7 @@ describe("Scrape tests", () => {it.concurrent("respects changeTracking",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();await scrape({@@ -561,8 +566,7 @@ describe("Scrape tests", () => {it.concurrent("respects headers",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();await scrape({@@ -593,8 +597,7 @@ describe("Scrape tests", () => {it.concurrent("respects mobile",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();await scrape({@@ -636,8 +639,7 @@ describe("Scrape tests", () => {it.concurrent("respects actions",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();const response1 = await scrape({@@ -673,8 +675,7 @@ describe("Scrape tests", () => {it.concurrent("respects location",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();await scrape({@@ -716,8 +717,7 @@ describe("Scrape tests", () => {it.concurrent("respects blockAds",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();await scrape({@@ -771,8 +771,7 @@ describe("Scrape tests", () => {it.concurrent("respects proxy: stealth",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();const response1 = await scrape({@@ -815,8 +814,7 @@ describe("Scrape tests", () => {it.concurrent("works properly on pages returning 200",async () => {- const id = crypto.randomUUID();- const url = "https://firecrawl.dev/?testId=" + id;+ const url = createTestIdUrl();await scrape({@@ -842,13 +840,13 @@ describe("Scrape tests", () => {);});- describe("Change Tracking format", () => {+ describe("Change Tracking format (f-e dependent)", () => {it.concurrent("works",async () => {const response = await scrape({- url: changeTrackingTestUrl,+ url: CHANGE_TRACKING_TEST_URL,formats: ["markdown", "changeTracking"],},identity,@@ -865,7 +863,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: changeTrackingTestUrl,+ url: CHANGE_TRACKING_TEST_URL,formats: ["markdown",{ type: "changeTracking", modes: ["git-diff"] },@@ -894,7 +892,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: changeTrackingTestUrl,+ url: CHANGE_TRACKING_TEST_URL,formats: ["markdown",{@@ -923,7 +921,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: changeTrackingTestUrl,+ url: CHANGE_TRACKING_TEST_URL,formats: ["markdown",{@@ -982,7 +980,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: changeTrackingTestUrl,+ url: CHANGE_TRACKING_TEST_URL,formats: ["markdown",{@@ -1025,7 +1023,7 @@ describe("Scrape tests", () => {const response1 = await scrape({- url: changeTrackingTestUrl,+ url: CHANGE_TRACKING_TEST_URL,formats: ["markdown", { type: "changeTracking", tag: uuid1 }],},identity,@@ -1033,7 +1031,7 @@ describe("Scrape tests", () => {const response2 = await scrape({- url: changeTrackingTestUrl,+ url: CHANGE_TRACKING_TEST_URL,formats: ["markdown", { type: "changeTracking", tag: uuid2 }],},identity,@@ -1046,7 +1044,7 @@ describe("Scrape tests", () => {const response3 = await scrape({- url: changeTrackingTestUrl,+ url: CHANGE_TRACKING_TEST_URL,formats: ["markdown", { type: "changeTracking", tag: uuid1 }],},identity,@@ -1059,7 +1057,7 @@ describe("Scrape tests", () => {);});- describe("Location API (f-e dependant)", () => {+ describe("Location API (f-e dependent)", () => {it.concurrent("works without specifying an explicit location",async () => {@@ -1090,13 +1088,13 @@ describe("Scrape tests", () => {);});- describe("Screenshot (f-e dependant)", () => {+ describe("Screenshot (f-e dependent)", () => {it.concurrent("screenshot format works",async () => {const response = await scrape({- url: "http://firecrawl.dev",+ url: base,formats: ["screenshot"],},identity,@@ -1112,7 +1110,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "http://firecrawl.dev",+ url: base,formats: [{ type: "screenshot", fullPage: true }],},identity,@@ -1124,13 +1122,13 @@ describe("Scrape tests", () => {);});- describe("PDF generation (f-e dependant)", () => {+ describe("PDF generation (f-e dependent)", () => {it.concurrent("works",async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,actions: [{ type: "pdf" }],},identity,@@ -1145,13 +1143,13 @@ describe("Scrape tests", () => {);});- describe("Proxy API (f-e dependant)", () => {+ describe("Proxy API (f-e dependent)", () => {it.concurrent("undefined works",async () => {await scrape({- url: "http://firecrawl.dev",+ url: base,},identity,);@@ -1164,7 +1162,7 @@ describe("Scrape tests", () => {async () => {await scrape({- url: "http://firecrawl.dev",+ url: base,proxy: "basic",},identity,@@ -1178,7 +1176,7 @@ describe("Scrape tests", () => {async () => {await scrape({- url: "http://firecrawl.dev",+ url: base,proxy: "stealth",},identity,@@ -1192,7 +1190,7 @@ describe("Scrape tests", () => {async () => {const res = await scrape({- url: "http://firecrawl.dev",+ url: base,proxy: "auto",},identity,@@ -1214,7 +1212,7 @@ describe("Scrape tests", () => {// }, scrapeTimeout * 2);});- describe("PDF (f-e dependant)", () => {+ describe("PDF (f-e dependent)", () => {it.concurrent("works",async () => {@@ -1247,7 +1245,7 @@ describe("Scrape tests", () => {async () => {const response = await scrapeWithFailure({- url: "https://ecma-international.org/wp-content/uploads/ECMA-262_15th_edition_june_2024.pdf",+ url: `${base}/example-long.pdf`,maxAge: 0,timeout: 10000,},@@ -1264,7 +1262,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "https://ecma-international.org/wp-content/uploads/ECMA-262_15th_edition_june_2024.pdf",+ url: `${base}/example-long.pdf`,maxAge: 0,timeout: scrapeTimeout * 5,},@@ -1284,7 +1282,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "https://ecma-international.org/wp-content/uploads/ECMA-262_15th_edition_june_2024.pdf",+ url: `${base}/example-long.pdf`,maxAge: 0,},identity,@@ -1299,7 +1297,7 @@ describe("Scrape tests", () => {);});- describe("YouTube (f-e dependant)", () => {+ describe("YouTube (f-e dependent)", () => {it.concurrent("scrapes YouTube videos and transcripts",async () => {@@ -1317,64 +1315,10 @@ describe("Scrape tests", () => {scrapeTimeout,);});- }+ });describe("URL rewriting", () => {- if (!process.env.TEST_SUITE_SELF_HOSTED) {- it.concurrent(- "scrapes Google Docs links as PDFs",- async () => {- const response = await scrape(- {- url: "https://docs.google.com/document/d/1H-hOLYssS8xXl2o5hxj4ipE7yyhZAX1s7ADYM1Hdlzo/view",- maxAge: 0,- },- identity,- );-- expect(response.markdown).toContain(- "This is a test to confirm Google Docs scraping abilities.",- );- },- scrapeTimeout * 5,- );-- it.concurrent(- "scrapes Google Slides links as PDFs",- async () => {- const response = await scrape(- {- url: "https://docs.google.com/presentation/d/1pDKL1UULpr6siq_eVWE1hjqt5MKCgSSuKS_MWahnHAQ/view",- maxAge: 0,- },- identity,- );-- expect(response.markdown).toContain(- "This is a test to confirm Google Slides scraping abilities.",- );- },- scrapeTimeout * 5,- );-- it.concurrent(- "scrapes Google Drive PDF files as PDFs",- async () => {- const response = await scrape(- {- url: "https://drive.google.com/file/d/1QrgvXM2F7sgSdrhoBfdp9IMBVhUk-Ueu/view?usp=drive_link",- maxAge: 0,- },- identity,- );-- expect(response.markdown).toContain("This is a simple PDF file.");- },- scrapeTimeout * 5,- );- }-- it.concurrent(+ concurrentIf(TEST_PRODUCTION || HAS_PROXY)("scrapes Google Drive text files correctly",async () => {const response = await scrape(@@ -1390,7 +1334,7 @@ describe("Scrape tests", () => {scrapeTimeout * 5,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION || HAS_PROXY)("scrapes Google Sheets links correctly",async () => {const response = await scrape(@@ -1405,20 +1349,69 @@ describe("Scrape tests", () => {},scrapeTimeout * 5,);++ concurrentIf(TEST_PRODUCTION)(+ "scrapes Google Docs links as PDFs",+ async () => {+ const response = await scrape(+ {+ url: "https://docs.google.com/document/d/1H-hOLYssS8xXl2o5hxj4ipE7yyhZAX1s7ADYM1Hdlzo/view",+ maxAge: 0,+ },+ identity,+ );++ expect(response.markdown).toContain(+ "This is a test to confirm Google Docs scraping abilities.",+ );+ },+ scrapeTimeout * 5,+ );++ concurrentIf(TEST_PRODUCTION)(+ "scrapes Google Slides links as PDFs",+ async () => {+ const response = await scrape(+ {+ url: "https://docs.google.com/presentation/d/1pDKL1UULpr6siq_eVWE1hjqt5MKCgSSuKS_MWahnHAQ/view",+ maxAge: 0,+ },+ identity,+ );++ expect(response.markdown).toContain(+ "This is a test to confirm Google Slides scraping abilities.",+ );+ },+ scrapeTimeout * 5,+ );++ concurrentIf(TEST_PRODUCTION)(+ "scrapes Google Drive PDF files as PDFs",+ async () => {+ const response = await scrape(+ {+ url: "https://drive.google.com/file/d/1QrgvXM2F7sgSdrhoBfdp9IMBVhUk-Ueu/view?usp=drive_link",+ maxAge: 0,+ },+ identity,+ );++ expect(response.markdown).toContain("This is a simple PDF file.");+ },+ scrapeTimeout * 5,+ );});- if (- !process.env.TEST_SUITE_SELF_HOSTED ||- process.env.OPENAI_API_KEY ||- process.env.OLLAMA_BASE_URL- ) {- describe("JSON format", () => {+ describeIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "JSON format",+ () => {it.concurrent("works",async () => {const response = await scrape({- url: "http://firecrawl.dev",+ url: base,formats: [{type: "json",@@ -1461,15 +1454,18 @@ describe("Scrape tests", () => {},scrapeTimeout,);- });+ },+ );- describe("Summary format", () => {+ describeIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "Summary format",+ () => {it.concurrent("generates basic summary with no options required",async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: ["summary"],},identity,@@ -1487,7 +1483,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: ["markdown", "summary"],},identity,@@ -1505,7 +1501,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: ["summary",{@@ -1538,7 +1534,7 @@ describe("Scrape tests", () => {async () => {const response = await scrape({- url: "https://firecrawl.dev",+ url: base,formats: ["markdown", "html", "summary"],},identity,@@ -1551,32 +1547,31 @@ describe("Scrape tests", () => {},scrapeTimeout,);- });- }+ },+ );- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("sourceURL stays unnormalized",async () => {+ const url = `${base}?pagewanted=all&et_blog`;const response = await scrape({- url: "https://firecrawl.dev/?pagewanted=all&et_blog",+ url,},identity,);- expect(response.metadata.sourceURL).toBe(- "https://firecrawl.dev/?pagewanted=all&et_blog",- );+ expect(response.metadata.sourceURL).toBe(url);},scrapeTimeout,);- it.concurrent(+ concurrentIf(ALLOW_TEST_SUITE_WEBSITE)("application/json content type is markdownified properly",async () => {const response = await scrape({- url: "https://jsonplaceholder.typicode.com/todos/1",+ url: `${base}/example.json`,formats: ["markdown"],},identity,@@ -1587,46 +1582,53 @@ describe("Scrape tests", () => {scrapeTimeout,);- describe("__experimental_omceDomain functionality", () => {- it.concurrent(- "should accept __experimental_omceDomain flag in scrape request",- async () => {- const response = await scrape(- {- url: "https://httpbin.org/html",- __experimental_omceDomain: "fake-domain.com",- },- identity,- );+ // TODO: check if these are required+ describeIf(ALLOW_TEST_SUITE_WEBSITE)(+ "__experimental_omceDomain functionality",+ () => {+ it.concurrent(+ "should accept __experimental_omceDomain flag in scrape request",+ async () => {+ const response = await scrape(+ {+ url: base, // Previously: https://httpbin.org/html+ __experimental_omceDomain: "fake-domain.com",+ },+ identity,+ );- expect(response.markdown).toBeDefined();- expect(response.metadata).toBeDefined();- },- scrapeTimeout,- );+ expect(response.markdown).toBeDefined();+ expect(response.metadata).toBeDefined();+ },+ scrapeTimeout,+ );- it.concurrent(- "should work with __experimental_omceDomain and other experimental flags",- async () => {- const response = await scrape(- {- url: "https://httpbin.org/html",- __experimental_omceDomain: "test-domain.org",- __experimental_omce: true,- },- identity,- );+ it.concurrent(+ "should work with __experimental_omceDomain and other experimental flags",+ async () => {+ const response = await scrape(+ {+ url: base, // Previously: https://httpbin.org/html+ __experimental_omceDomain: "test-domain.org",+ __experimental_omce: true,+ },+ identity,+ );- expect(response.markdown).toBeDefined();- expect(response.metadata).toBeDefined();- },- scrapeTimeout,- );- });+ expect(response.markdown).toBeDefined();+ expect(response.metadata).toBeDefined();+ },+ scrapeTimeout,+ );+ },+ );});-describe("attributes format", () => {- it.concurrent(+// TODO: this is remote, how should we handle this? Production only or also self?+describe("Attribute formats", () => {+ const base = TEST_SUITE_WEBSITE;++ concurrentIf(TEST_PRODUCTION || HAS_PROXY)("should extract attributes from HTML elements",async () => {const response = await scrape(@@ -1657,7 +1659,7 @@ describe("attributes format", () => {scrapeTimeout,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION || HAS_PROXY)("should handle multiple attribute selectors",async () => {const response = await scrape(@@ -1692,7 +1694,7 @@ describe("attributes format", () => {scrapeTimeout,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION || HAS_PROXY)("should return empty arrays when no attributes found",async () => {const response = await scrape(@@ -1717,183 +1719,178 @@ describe("attributes format", () => {);describe("Schema validation for additionalProperties", () => {- if (- !process.env.TEST_SUITE_SELF_HOSTED ||- process.env.OPENAI_API_KEY ||- process.env.OLLAMA_BASE_URL- ) {- it(- "should normalize scrape request with additionalProperties in json format schema",- async () => {- const identity = await idmux({ name: "schema-validation-test" });+ itIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "should normalize scrape request with additionalProperties in json format schema",+ async () => {+ // TODO: how do we want to handle this idmux? Re-fetch or once..?+ const identity = await idmux({ name: "schema-validation-test" });- const response = await scrapeRaw(- {- url: "https://example.com",- formats: [- {- type: "json",- schema: {- type: "object",- properties: {- title: { type: "string" },- },- additionalProperties: false,+ const response = await scrapeRaw(+ {+ url: base,+ formats: [+ {+ type: "json",+ schema: {+ type: "object",+ properties: {+ title: { type: "string" },},+ additionalProperties: false,},- ],- },- identity,- );+ },+ ],+ },+ identity,+ );- expect(response.statusCode).toBe(200);- },- scrapeTimeout,- );+ expect(response.statusCode).toBe(200);+ },+ scrapeTimeout,+ );- it(- "should normalize extract request with additionalProperties in schema",- async () => {- const identity = await idmux({ name: "schema-validation-test" });+ itIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "should normalize extract request with additionalProperties in schema",+ async () => {+ const identity = await idmux({ name: "schema-validation-test" });- const response = await extractRaw(- {- urls: ["https://example.com"],- schema: {- type: "object",- properties: {- title: { type: "string" },- },- additionalProperties: true,+ const response = await extractRaw(+ {+ urls: [base],+ schema: {+ type: "object",+ properties: {+ title: { type: "string" },},+ additionalProperties: true,},- identity,- );+ },+ identity,+ );- expect(response.statusCode).toBe(200);- },- scrapeTimeout,- );+ expect(response.statusCode).toBe(200);+ },+ scrapeTimeout,+ );- it(- "should normalize changeTracking format with additionalProperties",- async () => {- const identity = await idmux({ name: "schema-validation-test" });+ itIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "should accept valid schema without additionalProperties",+ async () => {+ const identity = await idmux({ name: "schema-validation-test" });- const response = await scrapeRaw(- {- url: "https://example.com",- formats: [- { type: "markdown" },- {- type: "changeTracking",- schema: {- type: "object",- properties: {- changes: { type: "string" },- },- additionalProperties: false,+ const response = await scrapeRaw(+ {+ url: base,+ formats: [+ {+ type: "json",+ schema: {+ type: "object",+ properties: {+ title: { type: "string" },},+ required: ["title"],},- ],- },- identity,- );+ },+ ],+ },+ identity,+ );- expect(response.statusCode).toBe(200);- },- scrapeTimeout,- );+ expect(response.statusCode).toBe(200);+ },+ scrapeTimeout,+ );- it(- "should accept valid schema without additionalProperties",- async () => {- const identity = await idmux({ name: "schema-validation-test" });+ itIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "should reject schema-less dictionary (no properties but additionalProperties: true)",+ async () => {+ const identity = await idmux({ name: "schema-validation-test" });- const response = await scrapeRaw(- {- url: "https://example.com",- formats: [- {- type: "json",- schema: {- type: "object",- properties: {- title: { type: "string" },- },- required: ["title"],- },+ const response = await scrapeRaw(+ {+ url: base,+ formats: [+ {+ type: "json",+ schema: {+ type: "object",+ additionalProperties: true,},- ],- },- identity,- );+ },+ ],+ },+ identity,+ );- expect(response.statusCode).toBe(200);- },- scrapeTimeout,- );+ expect(response.statusCode).toBe(400);+ expect(response.body.error).toContain("OpenAI");+ expect(response.body.error).toContain("schema-less dictionary");+ },+ scrapeTimeout,+ );- it(- "should reject schema-less dictionary (no properties but additionalProperties: true)",- async () => {- const identity = await idmux({ name: "schema-validation-test" });+ itIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "should normalize schema with object type without properties (but no additionalProperties)",+ async () => {+ const identity = await idmux({ name: "schema-validation-test" });- const response = await scrapeRaw(- {- url: "https://example.com",- formats: [- {- type: "json",- schema: {- type: "object",- additionalProperties: true,+ const response = await scrapeRaw(+ {+ url: base,+ formats: [+ {+ type: "json",+ schema: {+ type: "object",+ properties: {+ address: { type: "string" },+ detail: {+ type: "object",+ description:+ "Any other specifications of the particular make and model in the page",+ },},},- ],- },- identity,- );+ },+ ],+ },+ identity,+ );- expect(response.statusCode).toBe(400);- expect(response.body.error).toContain("OpenAI");- expect(response.body.error).toContain("schema-less dictionary");- },- scrapeTimeout,- );+ expect(response.statusCode).toBe(200);+ },+ scrapeTimeout,+ );- it(- "should normalize schema with object type without properties (but no additionalProperties)",- async () => {- const identity = await idmux({ name: "schema-validation-test" });+ itIf(TEST_PRODUCTION)(+ "should normalize changeTracking format with additionalProperties",+ async () => {+ const identity = await idmux({ name: "schema-validation-test" });- const response = await scrapeRaw(- {- url: "https://example.com",- formats: [- {- type: "json",- schema: {- type: "object",- properties: {- address: { type: "string" },- detail: {- type: "object",- description:- "Any other specifications of the particular make and model in the page",- },- },+ const response = await scrapeRaw(+ {+ url: base,+ formats: [+ { type: "markdown" },+ {+ type: "changeTracking",+ schema: {+ type: "object",+ properties: {+ changes: { type: "string" },},+ additionalProperties: false,},- ],- },- identity,- );+ },+ ],+ },+ identity,+ );- expect(response.statusCode).toBe(200);- },- scrapeTimeout,- );- }+ expect(response.statusCode).toBe(200);+ },+ scrapeTimeout,+ );});});diff --git a/apps/api/src/__tests__/snips/v2/search.test.ts b/apps/api/src/__tests__/snips/v2/search.test.tsindex 0b1d82a84..f12ab0476 100644--- a/apps/api/src/__tests__/snips/v2/search.test.ts+++ b/apps/api/src/__tests__/snips/v2/search.test.ts@@ -1,3 +1,10 @@+import {+ concurrentIf,+ describeIf,+ HAS_PROXY,+ HAS_SEARCH,+ TEST_PRODUCTION,+} from "../lib";import { search, idmux, Identity } from "./lib";let identity: Identity;@@ -10,7 +17,8 @@ beforeAll(async () => {});}, 10000);-describe("Search tests", () => {+// NOTE: if DDG gives us issues with this, we can disable if SEARXNG is not enabled+describeIf(TEST_PRODUCTION || HAS_SEARCH || HAS_PROXY)("Search tests", () => {it.concurrent("works",async () => {@@ -48,7 +56,7 @@ describe("Search tests", () => {125000,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION)("works for news",async () => {const res = await search(@@ -64,7 +72,7 @@ describe("Search tests", () => {60000,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION)("works for images",async () => {const res = await search(@@ -80,7 +88,7 @@ describe("Search tests", () => {60000,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION)("works for multiple sources",async () => {const res = await search(@@ -117,7 +125,7 @@ describe("Search tests", () => {60000,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION)("respects limit for news",async () => {const res = await search(@@ -152,7 +160,7 @@ describe("Search tests", () => {60000,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION)("respects limit for above 10 images",async () => {const res = await search(@@ -170,7 +178,7 @@ describe("Search tests", () => {60000,);- it.concurrent(+ concurrentIf(TEST_PRODUCTION)("respects limit for above 10 multiple sources",async () => {const res = await search(diff --git a/apps/api/src/__tests__/snips/v2/system-prompt-rejection.test.ts b/apps/api/src/__tests__/snips/v2/system-prompt-rejection.test.tsindex f0607bbd0..8e489bdae 100644--- a/apps/api/src/__tests__/snips/v2/system-prompt-rejection.test.ts+++ b/apps/api/src/__tests__/snips/v2/system-prompt-rejection.test.ts@@ -1,12 +1,15 @@import { Identity, idmux, scrapeTimeout, scrapeRaw } from "./lib";-import { ScrapeRequestInput } from "../../../controllers/v2/types";+import {+ ALLOW_TEST_SUITE_WEBSITE,+ describeIf,+ HAS_AI,+ TEST_PRODUCTION,+ TEST_SUITE_WEBSITE,+} from "../lib";-describe("V2 System Prompt Rejection", () => {- if (- !process.env.TEST_SUITE_SELF_HOSTED ||- process.env.OPENAI_API_KEY ||- process.env.OLLAMA_BASE_URL- ) {+describeIf(TEST_PRODUCTION || (HAS_AI && ALLOW_TEST_SUITE_WEBSITE))(+ "V2 System Prompt Rejection",+ () => {let identity: Identity;beforeAll(async () => {@@ -22,7 +25,7 @@ describe("V2 System Prompt Rejection", () => {async () => {const response = await scrapeRaw({- url: "https://firecrawl.dev",+ url: TEST_SUITE_WEBSITE,formats: [{type: "json",@@ -49,7 +52,7 @@ describe("V2 System Prompt Rejection", () => {async () => {const response = await scrapeRaw({- url: "https://firecrawl.dev",+ url: TEST_SUITE_WEBSITE,formats: [{type: "json",@@ -69,9 +72,5 @@ describe("V2 System Prompt Rejection", () => {},scrapeTimeout + 30000,);- } else {- it("mocked", () => {- expect(true).toBe(true);- });- }-});+ },+);diff --git a/apps/api/src/__tests__/snips/v2/zdr.test.ts b/apps/api/src/__tests__/snips/v2/zdr.test.tsindex ec3e4255b..d857a57cd 100644--- a/apps/api/src/__tests__/snips/v2/zdr.test.ts+++ b/apps/api/src/__tests__/snips/v2/zdr.test.ts@@ -9,6 +9,7 @@ import {idmux,} from "./lib";import { readFile, stat } from "node:fs/promises";+import { describeIf, TEST_PRODUCTION } from "../lib";const logIgnoreList = ["Billing queue created",@@ -35,248 +36,242 @@ const logIgnoreList = ["request completed",];-if (process.env.TEST_SUITE_SELF_HOSTED) {- it("mocked", () => {- expect(true).toBe(true);- });-} else {- async function getLogs() {- let logs: string;- try {- await stat("firecrawl.log");- } catch (e) {- console.warn("No firecrawl.log file found");- return [];- }- logs = await readFile("firecrawl.log", "utf8");- return logs- .split("\n")- .filter(- x => x.trim().length > 0 && !logIgnoreList.some(y => x.includes(y)),- );+async function getLogs() {+ let logs: string;+ try {+ await stat("firecrawl.log");+ } catch (e) {+ console.warn("No firecrawl.log file found");+ return [];}+ logs = await readFile("firecrawl.log", "utf8");+ return logs+ .split("\n")+ .filter(+ x => x.trim().length > 0 && !logIgnoreList.some(y => x.includes(y)),+ );+}++describeIf(TEST_PRODUCTION)("Zero Data Retention", () => {+ describe.each(["Team-scoped", "Request-scoped"] as const)("%s", scope => {+ it("should clean up a scrape immediately", async () => {+ let identity = await idmux({+ name: `zdr/${scope}/scrape`,+ credits: 10000,+ flags: {+ allowZDR: true,+ ...(scope === "Team-scoped"+ ? {+ forceZDR: true,+ }+ : {}),+ },+ });++ const testId = crypto.randomUUID();+ const scrape1 = await scrape(+ {+ url: "https://firecrawl.dev/?test=" + testId,+ zeroDataRetention: scope === "Request-scoped" ? true : undefined,+ },+ identity,+ );- describe("Zero Data Retention", () => {- describe.each(["Team-scoped", "Request-scoped"] as const)("%s", scope => {- it("should clean up a scrape immediately", async () => {- let identity = await idmux({- name: `zdr/${scope}/scrape`,- credits: 10000,- flags: {- allowZDR: true,- ...(scope === "Team-scoped"- ? {- forceZDR: true,- }- : {}),- },- });-- const testId = crypto.randomUUID();- const scrape1 = await scrape(- {- url: "https://firecrawl.dev/?test=" + testId,- zeroDataRetention: scope === "Request-scoped" ? true : undefined,- },+ const gcsJob = await getJobFromGCS(scrape1.metadata.scrapeId!);+ expect(gcsJob).toBeNull();++ const { data, error } = await supabase_service+ .from("firecrawl_jobs")+ .select("*")+ .eq("job_id", scrape1.metadata.scrapeId!)+ .limit(1);++ expect(error).toBeFalsy();+ expect(data).toHaveLength(1);++ if (data && data.length === 1) {+ const record = data[0];+ expect(record.url).not.toContain("://"); // no url stored+ expect(record.docs).toBeNull();+ expect(record.page_options).toBeNull();+ expect(record.crawler_options).toBeNull();+ }++ if (scope === "Request-scoped") {+ const status = await scrapeStatusRaw(+ scrape1.metadata.scrapeId!,identity,);- const gcsJob = await getJobFromGCS(scrape1.metadata.scrapeId!);- expect(gcsJob).toBeNull();+ expect(status.statusCode).toBe(404);+ }+ }, 60000);++ it("should clean up a crawl", async () => {+ const preLogs = await getLogs();++ let identity = await idmux({+ name: `zdr/${scope}/crawl`,+ credits: 10000,+ flags: {+ allowZDR: true,+ ...(scope === "Team-scoped"+ ? {+ forceZDR: true,+ }+ : {}),+ },+ });++ const crawl1 = await crawl(+ {+ url: "https://firecrawl.dev",+ limit: 10,+ zeroDataRetention: scope === "Request-scoped" ? true : undefined,+ },+ identity,+ );- const { data, error } = await supabase_service- .from("firecrawl_jobs")- .select("*")- .eq("job_id", scrape1.metadata.scrapeId!)- .limit(1);-- expect(error).toBeFalsy();- expect(data).toHaveLength(1);-- if (data && data.length === 1) {- const record = data[0];- expect(record.url).not.toContain("://"); // no url stored- expect(record.docs).toBeNull();- expect(record.page_options).toBeNull();- expect(record.crawler_options).toBeNull();- }+ const postLogs = (await getLogs()).slice(preLogs.length);- if (scope === "Request-scoped") {- const status = await scrapeStatusRaw(- scrape1.metadata.scrapeId!,- identity,- );+ if (postLogs.length > 0) {+ console.warn("Logs changed during crawl", postLogs);+ }- expect(status.statusCode).toBe(404);- }- }, 60000);-- it("should clean up a crawl", async () => {- const preLogs = await getLogs();-- let identity = await idmux({- name: `zdr/${scope}/crawl`,- credits: 10000,- flags: {- allowZDR: true,- ...(scope === "Team-scoped"- ? {- forceZDR: true,- }- : {}),- },- });-- const crawl1 = await crawl(- {- url: "https://firecrawl.dev",- limit: 10,- zeroDataRetention: scope === "Request-scoped" ? true : undefined,- },- identity,- );+ expect(postLogs).toHaveLength(0);- const postLogs = (await getLogs()).slice(preLogs.length);+ const { data, error } = await supabase_service+ .from("firecrawl_jobs")+ .select("*")+ .eq("job_id", crawl1.id)+ .limit(1);- if (postLogs.length > 0) {- console.warn("Logs changed during crawl", postLogs);- }+ expect(error).toBeFalsy();+ expect(data).toHaveLength(1);- expect(postLogs).toHaveLength(0);+ if (data && data.length === 1) {+ const record = data[0];+ expect(record.url).not.toContain("://"); // no url stored+ expect(record.docs).toBeNull();+ expect(record.page_options).toBeNull();+ expect(record.crawler_options).toBeNull();+ }- const { data, error } = await supabase_service- .from("firecrawl_jobs")- .select("*")- .eq("job_id", crawl1.id)- .limit(1);+ const { data: jobs, error: jobsError } = await supabase_service+ .from("firecrawl_jobs")+ .select("*")+ .eq("crawl_id", crawl1.id);- expect(error).toBeFalsy();- expect(data).toHaveLength(1);+ expect(jobsError).toBeFalsy();+ expect((jobs ?? []).length).toBeGreaterThanOrEqual(1);- if (data && data.length === 1) {- const record = data[0];- expect(record.url).not.toContain("://"); // no url stored- expect(record.docs).toBeNull();- expect(record.page_options).toBeNull();- expect(record.crawler_options).toBeNull();- }+ for (const job of jobs ?? []) {+ expect(job.url).not.toContain("://"); // no url stored+ expect(job.docs).toBeNull();+ expect(job.page_options).toBeNull();+ expect(job.crawler_options).toBeNull();+ expect(typeof job.dr_clean_by).toBe("string"); // clean up happens async on a worker after expiry- const { data: jobs, error: jobsError } = await supabase_service- .from("firecrawl_jobs")- .select("*")- .eq("crawl_id", crawl1.id);-- expect(jobsError).toBeFalsy();- expect((jobs ?? []).length).toBeGreaterThanOrEqual(1);-- for (const job of jobs ?? []) {- expect(job.url).not.toContain("://"); // no url stored- expect(job.docs).toBeNull();- expect(job.page_options).toBeNull();- expect(job.crawler_options).toBeNull();- expect(typeof job.dr_clean_by).toBe("string"); // clean up happens async on a worker after expiry-- if (job.success) {- const gcsJob = await getJobFromGCS(job.job_id);- expect(gcsJob).not.toBeNull(); // clean up happens async on a worker after expiry- }+ if (job.success) {+ const gcsJob = await getJobFromGCS(job.job_id);+ expect(gcsJob).not.toBeNull(); // clean up happens async on a worker after expiry}+ }- await zdrcleaner(identity.teamId!);+ await zdrcleaner(identity.teamId!);- for (const job of jobs ?? []) {- const gcsJob = await getJobFromGCS(job.job_id);- expect(gcsJob).toBeNull();+ for (const job of jobs ?? []) {+ const gcsJob = await getJobFromGCS(job.job_id);+ expect(gcsJob).toBeNull();- if (scope === "Request-scoped") {- const status = await scrapeStatusRaw(job.job_id, identity);- expect(status.statusCode).toBe(404);- }+ if (scope === "Request-scoped") {+ const status = await scrapeStatusRaw(job.job_id, identity);+ expect(status.statusCode).toBe(404);}- }, 600000);-- it("should clean up a batch scrape", async () => {- const preLogs = await getLogs();-- let identity = await idmux({- name: `zdr/${scope}/batch-scrape`,- credits: 10000,- flags: {- allowZDR: true,- ...(scope === "Team-scoped"- ? {- forceZDR: true,- }- : {}),- },- });-- const crawl1 = await batchScrape(- {- urls: ["https://firecrawl.dev", "https://mendable.ai"],- zeroDataRetention: scope === "Request-scoped" ? true : undefined,- },- identity,- );+ }+ }, 600000);++ it("should clean up a batch scrape", async () => {+ const preLogs = await getLogs();++ let identity = await idmux({+ name: `zdr/${scope}/batch-scrape`,+ credits: 10000,+ flags: {+ allowZDR: true,+ ...(scope === "Team-scoped"+ ? {+ forceZDR: true,+ }+ : {}),+ },+ });++ const crawl1 = await batchScrape(+ {+ urls: ["https://firecrawl.dev", "https://mendable.ai"],+ zeroDataRetention: scope === "Request-scoped" ? true : undefined,+ },+ identity,+ );- const postLogs = (await getLogs()).slice(preLogs.length);+ const postLogs = (await getLogs()).slice(preLogs.length);- if (postLogs.length > 0) {- console.warn("Logs changed during batch scrape", postLogs);- }+ if (postLogs.length > 0) {+ console.warn("Logs changed during batch scrape", postLogs);+ }- expect(postLogs).toHaveLength(0);+ expect(postLogs).toHaveLength(0);- const { data, error } = await supabase_service- .from("firecrawl_jobs")- .select("*")- .eq("job_id", crawl1.id)- .limit(1);+ const { data, error } = await supabase_service+ .from("firecrawl_jobs")+ .select("*")+ .eq("job_id", crawl1.id)+ .limit(1);- expect(error).toBeFalsy();- expect(data).toHaveLength(1);+ expect(error).toBeFalsy();+ expect(data).toHaveLength(1);- if (data && data.length === 1) {- const record = data[0];- expect(record.url).not.toContain("://"); // no url stored- expect(record.docs).toBeNull();- expect(record.page_options).toBeNull();- expect(record.crawler_options).toBeNull();- }+ if (data && data.length === 1) {+ const record = data[0];+ expect(record.url).not.toContain("://"); // no url stored+ expect(record.docs).toBeNull();+ expect(record.page_options).toBeNull();+ expect(record.crawler_options).toBeNull();+ }- const { data: jobs, error: jobsError } = await supabase_service- .from("firecrawl_jobs")- .select("*")- .eq("crawl_id", crawl1.id);-- expect(jobsError).toBeFalsy();- expect((jobs ?? []).length).toBe(2);-- for (const job of jobs ?? []) {- expect(job.url).not.toContain("://"); // no url stored- expect(job.docs).toBeNull();- expect(job.page_options).toBeNull();- expect(job.crawler_options).toBeNull();- expect(typeof job.dr_clean_by).toBe("string"); // clean up happens async on a worker after expiry-- if (job.success) {- const gcsJob = await getJobFromGCS(job.job_id);- expect(gcsJob).not.toBeNull(); // clean up happens async on a worker after expiry- }- }+ const { data: jobs, error: jobsError } = await supabase_service+ .from("firecrawl_jobs")+ .select("*")+ .eq("crawl_id", crawl1.id);- await zdrcleaner(identity.teamId!);+ expect(jobsError).toBeFalsy();+ expect((jobs ?? []).length).toBe(2);- for (const job of jobs ?? []) {+ for (const job of jobs ?? []) {+ expect(job.url).not.toContain("://"); // no url stored+ expect(job.docs).toBeNull();+ expect(job.page_options).toBeNull();+ expect(job.crawler_options).toBeNull();+ expect(typeof job.dr_clean_by).toBe("string"); // clean up happens async on a worker after expiry++ if (job.success) {const gcsJob = await getJobFromGCS(job.job_id);- expect(gcsJob).toBeNull();+ expect(gcsJob).not.toBeNull(); // clean up happens async on a worker after expiry+ }+ }++ await zdrcleaner(identity.teamId!);++ for (const job of jobs ?? []) {+ const gcsJob = await getJobFromGCS(job.job_id);+ expect(gcsJob).toBeNull();- if (scope === "Request-scoped") {- const status = await scrapeStatusRaw(job.job_id, identity);- expect(status.statusCode).toBe(404);- }+ if (scope === "Request-scoped") {+ const status = await scrapeStatusRaw(job.job_id, identity);+ expect(status.statusCode).toBe(404);}- }, 600000);- });+ }+ }, 600000);});-}+});diff --git a/apps/api/src/controllers/v1/types.ts b/apps/api/src/controllers/v1/types.tsindex 9f474a73f..b2d403847 100644--- a/apps/api/src/controllers/v1/types.ts+++ b/apps/api/src/controllers/v1/types.ts@@ -49,13 +49,23 @@ export const url = z.preprocess(.string().url().regex(/^https?:\/\//i, "URL uses unsupported protocol")- .refine(- x =>- /(\.[a-zA-Z0-9-\u0400-\u04FF\u0500-\u052F\u2DE0-\u2DFF\uA640-\uA69F]{2,}|\.xn--[a-zA-Z0-9-]{1,})(:\d+)?([\/?#]|$)/i.test(- x,- ),- "URL must have a valid top-level domain or be a valid path",- )+ .refine(x => {+ if (+ process.env.TEST_SUITE_SELF_HOSTED === "true" &&+ process.env.ALLOW_LOCAL_WEBHOOKS === "true"+ ) {+ if (+ /^https?:\/\/(localhost|127\.0\.0\.1|10\.\d{1,3}\.\d{1,3}\.\d{1,3}|192\.168\.\d{1,3}\.\d{1,3}|172\.(1[6-9]|2\d|3[0-1])\.\d{1,3}\.\d{1,3})(:\d+)?([\/?#]|$)/i.test(+ x as string,+ )+ ) {+ return true;+ }+ }+ return /(\.[a-zA-Z0-9-\u0400-\u04FF\u0500-\u052F\u2DE0-\u2DFF\uA640-\uA69F]{2,}|\.xn--[a-zA-Z0-9-]{1,})(:\d+)?([\/?#]|$)/i.test(+ x,+ );+ }, "URL must have a valid top-level domain or be a valid path").refine(x => {try {checkUrl(x as string);diff --git a/apps/api/src/controllers/v2/types.ts b/apps/api/src/controllers/v2/types.tsindex 592c4dc13..dd800fecf 100644--- a/apps/api/src/controllers/v2/types.ts+++ b/apps/api/src/controllers/v2/types.ts@@ -44,13 +44,23 @@ const BASE_URL_SCHEMA = z.preprocess(.string().url().regex(/^https?:\/\//i, "URL uses unsupported protocol")- .refine(- x =>- /(\.[a-zA-Z0-9-\u0400-\u04FF\u0500-\u052F\u2DE0-\u2DFF\uA640-\uA69F]{2,}|\.xn--[a-zA-Z0-9-]{1,})(:\d+)?([\/?#]|$)/i.test(- x,- ),- "URL must have a valid top-level domain or be a valid path",- )+ .refine(x => {+ if (+ process.env.TEST_SUITE_SELF_HOSTED === "true" &&+ process.env.ALLOW_LOCAL_WEBHOOKS === "true"+ ) {+ if (+ /^https?:\/\/(localhost|127\.0\.0\.1|10\.\d{1,3}\.\d{1,3}\.\d{1,3}|192\.168\.\d{1,3}\.\d{1,3}|172\.(1[6-9]|2\d|3[0-1])\.\d{1,3}\.\d{1,3})(:\d+)?([\/?#]|$)/i.test(+ x as string,+ )+ ) {+ return true;+ }+ }+ return /(\.[a-zA-Z0-9-\u0400-\u04FF\u0500-\u052F\u2DE0-\u2DFF\uA640-\uA69F]{2,}|\.xn--[a-zA-Z0-9-]{1,})(:\d+)?([\/?#]|$)/i.test(+ x,+ );+ }, "URL must have a valid top-level domain or be a valid path").refine(x => {try {checkUrl(x as string);@@ -113,8 +123,8 @@ function normalizeSchemaForOpenAI(schema: any): any {const normalizedDefs = Object.fromEntries(Object.entries($defs ?? {}).map(([key, value]) => [key,- normalizeObject(value)- ])+ normalizeObject(value),+ ]),);return { ...processedRest, $defs: normalizedDefs };diff --git a/apps/api/src/harness.ts b/apps/api/src/harness.tsindex 994ae6e73..122836720 100644--- a/apps/api/src/harness.ts+++ b/apps/api/src/harness.ts@@ -387,7 +387,7 @@ async function installDependencies() {logger.success("Dependencies installed");}-function startServices(command?: string[]): Services {+async function startServices(command?: string[]): Promise<Services> {logger.section("Starting services");const api = execForward(@@ -468,6 +468,17 @@ function startServices(command?: string[]): Services {): undefined;+ // tests hammer the API instantly, so we need to ensure it's running before launching tests+ if (+ command &&+ Array.isArray(command) &&+ command[0] === "pnpm" &&+ command[1].startsWith("test:snips")+ ) {+ logger.info(`Waiting for API on localhost:${PORT}`);+ await waitForPort(Number(PORT), "localhost");+ }+const commandProcess =command && !command?.[0].startsWith("--")? execForward("command", command)@@ -536,7 +547,7 @@ async function runDevMode(): Promise<void> {if (shuttingDown) return;- currentServices = startServices();+ currentServices = await startServices();restartSignal?.abort();restartSignal = new AbortController();@@ -606,7 +617,7 @@ async function runDevMode(): Promise<void> {}async function runProductionMode(command: string[]): Promise<void> {- const services = startServices(command);+ const services = await startServices(command);logger.info(`Waiting for API on localhost:${PORT}`);await waitForPort(Number(PORT), "localhost");@@ -614,6 +625,8 @@ async function runProductionMode(command: string[]): Promise<void> {await waitForTermination(services);}+let serviceError = false;+async function waitForTermination(services: Services): Promise<void> {logger.info("All services running. Press Ctrl+C to stop");@@ -634,7 +647,10 @@ async function waitForTermination(services: Services): Promise<void> {promises.push(...services.nuqWorkers.map(w => w.promise));- await Promise.race(promises);+ await Promise.race(promises).catch(error => {+ logger.error("A service has terminated unexpectedly", error);+ serviceError = true;+ });}async function gracefulShutdown() {@@ -647,7 +663,7 @@ async function gracefulShutdown() {const terminationPromises = Array.from(childProcesses).map(proc =>terminateProcess(proc, forceTerminate),);- await Promise.all(terminationPromises);+ await Promise.allSettled(terminationPromises);logger.success("All processes terminated");}@@ -692,7 +708,7 @@ async function main() {} finally {await gracefulShutdown();logger.info("Goodbye!");- process.exit(0);+ process.exit(serviceError ? 1 : 0);}}diff --git a/apps/api/src/search/v2/ddgsearch.ts b/apps/api/src/search/v2/ddgsearch.tsindex b7d16b63d..2200950c6 100644--- a/apps/api/src/search/v2/ddgsearch.ts+++ b/apps/api/src/search/v2/ddgsearch.ts@@ -1,8 +1,14 @@-import axios, { AxiosProxyConfig } from "axios";+import * as undici from "undici";import { JSDOM } from "jsdom";import { SearchV2Response, WebSearchResult } from "../../lib/entities";import { logger } from "../../lib/logger";-import https from "https";+import { getSecureDispatcher } from "../../scraper/scrapeURL/engines/utils/safeFetch";++class DDGAntiBotError extends Error {+ constructor() {+ super("Blocked by DuckDuckGo Anti-Bot measures");+ }+}const USER_AGENTS = ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",@@ -36,6 +42,11 @@ function extractResults(document: Document,seenUrls: Set<string>,): WebSearchResult[] {+ const anomalyModal = document.querySelector(".anomaly-modal__modal");+ if (anomalyModal) {+ throw new DDGAntiBotError();+ }+const results: WebSearchResult[] = [];const blocks = Array.from(document.querySelectorAll(".result.web-result"));@@ -97,23 +108,9 @@ export async function ddgSearch(country = "us",location,tbs,- proxy,timeout = 5000,} = options;- let proxies: AxiosProxyConfig | false = false;- if (proxy) {- const url = new URL(proxy);- proxies = {- protocol: url.protocol.slice(0, -1) as "http" | "https",- host: url.hostname,- port: parseInt(url.port) || (url.protocol === "https:" ? 443 : 80),- ...(url.username && {- auth: { username: url.username, password: url.password },- }),- };- }-try {const userAgent =USER_AGENTS[Math.floor(Math.random() * USER_AGENTS.length)];@@ -135,57 +132,79 @@ export async function ddgSearch(let isFirstPage = true;let nextPageData: URLSearchParams | null = params;+ let antiBotRetries = 0;while (results.length < num_results && nextPageData) {- let response;+ const timeoutSignal = AbortSignal.timeout(timeout);- if (isFirstPage) {- response = await axios.get(- `https://html.duckduckgo.com/html?${params.toString()}`,- {- headers: {- "User-Agent": userAgent,- Accept:- "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",- "Accept-Language": "en-US,en;q=0.5",- "Accept-Encoding": "gzip, deflate, br",- "Upgrade-Insecure-Requests": "1",+ try {+ let response: undici.Response;++ if (isFirstPage) {+ response = await undici.fetch(+ `https://html.duckduckgo.com/html?${params.toString()}`,+ {+ dispatcher: getSecureDispatcher(false),+ redirect: "follow",+ headers: {+ "User-Agent": userAgent,+ Accept:+ "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",+ "Accept-Language": "en-US,en;q=0.5",+ "Accept-Encoding": "gzip, deflate, br",+ "Upgrade-Insecure-Requests": "1",+ },+ signal: timeoutSignal,},- proxy: proxies,- timeout,- httpsAgent: new https.Agent({ rejectUnauthorized: true }),- },- );- isFirstPage = false;- } else {- response = await axios.post(- "https://html.duckduckgo.com/html/",- nextPageData.toString(),- {+ );+ } else {+ response = await undici.fetch(`https://html.duckduckgo.com/html`, {+ method: "POST",+ body: nextPageData.toString(),+ dispatcher: getSecureDispatcher(false),+ redirect: "follow",headers: {"User-Agent": userAgent,Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","Accept-Language": "en-US,en;q=0.5","Accept-Encoding": "gzip, deflate, br",- "Content-Type": "application/x-www-form-urlencoded",+ "Upgrade-Insecure-Requests": "1",},- proxy: proxies,- timeout,- httpsAgent: new https.Agent({ rejectUnauthorized: true }),- },- );- }+ signal: timeoutSignal,+ });+ }- const dom = new JSDOM(response.data);- const doc = dom.window.document;+ const buf = Buffer.from(await response.arrayBuffer());+ const dom = new JSDOM(buf.toString("utf8"));+ const doc = dom.window.document;- const newResults = extractResults(doc, seenUrls);- results.push(...newResults);+ const newResults = extractResults(doc, seenUrls);- if (newResults.length === 0) break;+ isFirstPage = false;+ antiBotRetries = 0;++ results.push(...newResults);- nextPageData = getNextPageData(doc);+ if (newResults.length === 0) break;+ nextPageData = getNextPageData(doc);+ } catch (error: any) {+ if (error instanceof DDGAntiBotError) {+ if (antiBotRetries++ > 3) {+ throw error;+ }++ logger.warn(+ "DuckDuckGo: Encountered anti-bot measures, retrying...",+ {+ attempt: antiBotRetries,+ term,+ },+ );+ } else {+ throw error;+ }+ }await new Promise(r => setTimeout(r, 1000));}@@ -196,6 +215,35 @@ export async function ddgSearch(return { web: results.slice(0, num_results) };} catch (error: any) {+ if (error instanceof DDGAntiBotError) {+ if (process.env.TEST_SUITE_SELF_HOSTED) {+ logger.warn(+ "DuckDuckGo: Blocked by anti-bot measures, returning dummy page for test suite...",+ { term },+ );++ return {+ web: [+ {+ url: "https://example.com",+ title: "DDG Anti-Bot Test Page",+ description:+ "DDG Anti-Bot triggered, returning dummy page for test suite",+ position: 1,+ category: "web",+ html: "<html><body><h1>Hello, World!</h1></body></html>",+ rawHtml:+ "<html><head><title>Hello!</title></head><body><h1>Hello, World!</h1></body></html>",+ links: [],+ },+ ],+ };+ }++ logger.error("DuckDuckGo: Blocked by anti-bot measures", { term });+ throw new Error("DuckDuckGo: Blocked by anti-bot measures.");+ }+if (error.response?.status === 429) {logger.warn("DuckDuckGo: Too many requests, try again later.", {status: error.response.status,diff --git a/apps/test-site/.gitignore b/apps/test-site/.gitignorenew file mode 100644index 000000000..f52a46e5d--- /dev/null+++ b/apps/test-site/.gitignore@@ -0,0 +1,23 @@+# build output+dist/+# generated types+.astro/++# dependencies+node_modules/++# logs+npm-debug.log*+yarn-debug.log*+yarn-error.log*+pnpm-debug.log*++# environment variables+.env+.env.production++# macOS-specific files+.DS_Store++# jetbrains setting folder+.idea/diff --git a/apps/test-site/.prettierrc b/apps/test-site/.prettierrcnew file mode 100644index 000000000..ef18e46ea--- /dev/null+++ b/apps/test-site/.prettierrc@@ -0,0 +1,20 @@+{+ "plugins": ["prettier-plugin-astro"],+ "overrides": [+ {+ "files": "*.astro",+ "options": {+ "parser": "astro"+ }+ }+ ],+ "trailingComma": "all",+ "tabWidth": 2,+ "useTabs": false,+ "semi": true,+ "singleQuote": false,+ "printWidth": 80,+ "bracketSpacing": true,+ "arrowParens": "avoid",+ "endOfLine": "lf"+}diff --git a/apps/test-site/README.md b/apps/test-site/README.mdnew file mode 100644index 000000000..bfe386894--- /dev/null+++ b/apps/test-site/README.md@@ -0,0 +1 @@+# Firecrawl Test Sitediff --git a/apps/test-site/astro.config.mjs b/apps/test-site/astro.config.mjsnew file mode 100644index 000000000..2a5c75fcd--- /dev/null+++ b/apps/test-site/astro.config.mjs@@ -0,0 +1,16 @@+// @ts-check+import mdx from "@astrojs/mdx";+import sitemap from "@astrojs/sitemap";+import { defineConfig } from "astro/config";++// TEST_WEBSITE_URL required for deployment+const SITE_URL =+ process.env.TEST_WEBSITE_URL ||+ process.env.TEST_SUITE_WEBSITE ||+ "http://127.0.0.1:4321";++export default defineConfig({+ site: SITE_URL,+ output: 'static',+ integrations: [mdx(), sitemap()],+});diff --git a/apps/test-site/audit-ci.jsonc b/apps/test-site/audit-ci.jsoncnew file mode 100644index 000000000..bc1459d79--- /dev/null+++ b/apps/test-site/audit-ci.jsonc@@ -0,0 +1,4 @@+{+ "$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",+ "low": true+}\ No newline at end of filediff --git a/apps/test-site/package.json b/apps/test-site/package.jsonnew file mode 100644index 000000000..bc4b58b60--- /dev/null+++ b/apps/test-site/package.json@@ -0,0 +1,29 @@+{+ "name": "firecrawl-test-site",+ "type": "module",+ "version": "0.0.1",+ "scripts": {+ "dev": "astro dev",+ "build": "astro build",+ "preview": "astro preview",+ "test:prepare": "astro build && astro preview --host 127.0.0.1 --port 4321 --strictPort",+ "astro": "astro"+ },+ "dependencies": {+ "@astrojs/mdx": "^4.3.7",+ "@astrojs/rss": "^4.0.12",+ "@astrojs/sitemap": "^3.6.0",+ "astro": "^5.14.8",+ "sharp": "^0.34.3"+ },+ "devDependencies": {+ "prettier": "^3.6.2",+ "prettier-plugin-astro": "^0.14.1"+ },+ "pnpm": {+ "onlyBuiltDependencies": [+ "esbuild",+ "sharp"+ ]+ }+}diff --git a/apps/test-site/pnpm-lock.yaml b/apps/test-site/pnpm-lock.yamlnew file mode 100644index 000000000..487b3d38b--- /dev/null+++ b/apps/test-site/pnpm-lock.yaml@@ -0,0 +1,3723 @@+lockfileVersion: '9.0'++settings:+ autoInstallPeers: true+ excludeLinksFromLockfile: false++importers:++ .:+ dependencies:+ '@astrojs/mdx':+ specifier: ^4.3.7+ '@astrojs/rss':+ specifier: ^4.0.12+ version: 4.0.12+ '@astrojs/sitemap':+ specifier: ^3.6.0+ version: 3.6.0+ astro:+ specifier: ^5.14.8+ sharp:+ specifier: ^0.34.3+ version: 0.34.4+ devDependencies:+ prettier:+ specifier: ^3.6.2+ version: 3.6.2+ prettier-plugin-astro:+ specifier: ^0.14.1+ version: 0.14.1++packages:++ '@astrojs/[email protected]':+ resolution: {integrity: sha512-mqVORhUJViA28fwHYaWmsXSzLO9osbdZ5ImUfxBarqsYdMlPbqAqGJCxsNzvppp1BEzc1mJNjOVvQqeDN8Vspw==}++ '@astrojs/[email protected]':+ resolution: {integrity: sha512-lDA9MqE8WGi7T/t2BMi+EAXhs4Vcvr94Gqx3q15cFEz8oFZMO4/SFBqYr/UcmNlvW+35alowkVj+w9VhLvs5Cw==}++ '@astrojs/[email protected]':+ resolution: {integrity: sha512-uFNyFWadnULWK2cOw4n0hLKeu+xaVWeuECdP10cQ3K2fkybtTlhb7J7TcScdjmS8Yps7oje9S/ehYMfZrhrgCg==}++ '@astrojs/[email protected]':+ resolution: {integrity: sha512-5SRmvMyT/UMWaU2eoD+htnXtE2mUZZEH2K/nEzhuEy+iCsOSuS/DUry59WuKUJRQETi1mgJFdNR4dZLJHYVuRA==}+ engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0}+ peerDependencies:+ astro: ^5.0.0++ '@astrojs/[email protected]':+ resolution: {integrity: sha512-q8VwfU/fDZNoDOf+r7jUnMC2//H2l0TuQ6FkGJL8vD8nw/q5KiL3DS1KKBI3QhI9UQhpJ5dc7AtqfbXWuOgLCQ==}+ engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0}++ '@astrojs/[email protected]':+ resolution: {integrity: sha512-O5yyxHuDVb6DQ6VLOrbUVFSm+NpObulPxjs6XT9q3tC+RoKbN4HXMZLpv0LvXd1qdAjzVgJ1NFD+zKHJNDXikw==}++ '@astrojs/[email protected]':+ resolution: {integrity: sha512-4aHkvcOZBWJigRmMIAJwRQXBS+ayoP5z40OklTXYXhUDhwusz+DyDl+nSshY6y9DvkVEavwNcFO8FD81iGhXjg==}++ '@astrojs/[email protected]':+ resolution: {integrity: sha512-UFBgfeldP06qu6khs/yY+q1cDAaArM2/7AEIqQ9Cuvf7B1hNLq0xDrZkct+QoIGyjq56y8IaE2I3CTvG99mlhQ==}+ engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0}++ '@babel/[email protected]':+ resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==}+ engines: {node: '>=6.9.0'}++ '@babel/[email protected]':+ resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==}+ engines: {node: '>=6.9.0'}++ '@babel/[email protected]':+ resolution: {integrity: sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==}+ engines: {node: '>=6.0.0'}+ hasBin: true++ '@babel/[email protected]':+ resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==}+ engines: {node: '>=6.9.0'}++ '@capsizecss/[email protected]':+ resolution: {integrity: sha512-+ntATQe1AlL7nTOYjwjj6w3299CgRot48wL761TUGYpYgAou3AaONZazp0PKZyCyWhudWsjhq1nvRHOvbMzhTA==}+ engines: {node: '>=18'}++ '@emnapi/[email protected]':+ resolution: {integrity: sha512-obtUmAHTMjll499P+D9A3axeJFlhdjOWdKUNs/U6QIGT7V5RjcUW1xToAzjvmgTSQhDbYn/NwfTRoJcQ2rNBxA==}++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-Xt1dOL13m8u0WE8iplx9Ibbm+hFAO0GsU2P34UNoDGvZYkY8ifSiy6Zuc1lYxfG7svWE2fzqCUmFp5HCn51gJg==}+ engines: {node: '>=18'}+ cpu: [ppc64]+ os: [aix]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-9slpyFBc4FPPz48+f6jyiXOx/Y4v34TUeDDXJpZqAWQn/08lKGeD8aDp9TMn9jDz2CiEuHwfhRmGBvpnd/PWIQ==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [android]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-uoa7dU+Dt3HYsethkJ1k6Z9YdcHjTrSb5NUy66ZfZaSV8hEYGD5ZHbEMXnqLFlbBflLsl89Zke7CAdDJ4JI+Gg==}+ engines: {node: '>=18'}+ cpu: [arm]+ os: [android]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-Sgiab4xBjPU1QoPEIqS3Xx+R2lezu0LKIEcYe6pftr56PqPygbB7+szVnzoShbx64MUupqoE0KyRlN7gezbl8g==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [android]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-VekY0PBCukppoQrycFxUqkCojnTQhdec0vevUL/EDOCnXd9LKWqD/bHwMPzigIJXPhC59Vd1WFIL57SKs2mg4w==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [darwin]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-+hfp3yfBalNEpTGp9loYgbknjR695HkqtY3d3/JjSRUyPg/xd6q+mQqIb5qdywnDxRZykIHs3axEqU6l1+oWEQ==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [darwin]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-CmKjrnayyTJF2eVuO//uSjl/K3KsMIeYeyN7FyDBjsR3lnSJHaXlVoAK8DZa7lXWChbuOk7NjAc7ygAwrnPBhA==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [freebsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-Dyq+5oscTJvMaYPvW3x3FLpi2+gSZTCE/1ffdwuM6G1ARang/mb3jvjxs0mw6n3Lsw84ocfo9CrNMqc5lTfGOw==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [freebsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-Qr8AzcplUhGvdyUF08A1kHU3Vr2O88xxP0Tm8GcdVOUm25XYcMPp2YqSVHbLuXzYQMf9Bh/iKx7YPqECs6ffLA==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-TBMv6B4kCfrGJ8cUPo7vd6NECZH/8hPpBHHlYI3qzoYFvWu2AdTvZNuU/7hsbKWqu/COU7NIK12dHAAqBLLXgw==}+ engines: {node: '>=18'}+ cpu: [arm]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-TmnJg8BMGPehs5JKrCLqyWTVAvielc615jbkOirATQvWWB1NMXY77oLMzsUjRLa0+ngecEmDGqt5jiDC6bfvOw==}+ engines: {node: '>=18'}+ cpu: [ia32]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-DIGXL2+gvDaXlaq8xruNXUJdT5tF+SBbJQKbWy/0J7OhU8gOHOzKmGIlfTTl6nHaCOoipxQbuJi7O++ldrxgMw==}+ engines: {node: '>=18'}+ cpu: [loong64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-Osx1nALUJu4pU43o9OyjSCXokFkFbyzjXb6VhGIJZQ5JZi8ylCQ9/LFagolPsHtgw6himDSyb5ETSfmp4rpiKQ==}+ engines: {node: '>=18'}+ cpu: [mips64el]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-nbLFgsQQEsBa8XSgSTSlrnBSrpoWh7ioFDUmwo158gIm5NNP+17IYmNWzaIzWmgCxq56vfr34xGkOcZ7jX6CPw==}+ engines: {node: '>=18'}+ cpu: [ppc64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-HfyAmqZi9uBAbgKYP1yGuI7tSREXwIb438q0nqvlpxAOs3XnZ8RsisRfmVsgV486NdjD7Mw2UrFSw51lzUk1ww==}+ engines: {node: '>=18'}+ cpu: [riscv64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-HjLqVgSSYnVXRisyfmzsH6mXqyvj0SA7pG5g+9W7ESgwA70AXYNpfKBqh1KbTxmQVaYxpzA/SvlB9oclGPbApw==}+ engines: {node: '>=18'}+ cpu: [s390x]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-HSFAT4+WYjIhrHxKBwGmOOSpphjYkcswF449j6EjsjbinTZbp8PJtjsVK1XFJStdzXdy/jaddAep2FGY+wyFAQ==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-hr9Oxj1Fa4r04dNpWr3P8QKVVsjQhqrMSUzZzf+LZcYjZNqhA3IAfPQdEh1FLVUJSiu6sgAwp3OmwBfbFgG2Xg==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [netbsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-u7tKA+qbzBydyj0vgpu+5h5AeudxOAGncb8N6C9Kh1N4n7wU1Xw1JDApsRjpShRpXRQlJLb9wY28ELpwdPcZ7A==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [netbsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-Qq6YHhayieor3DxFOoYM1q0q1uMFYb7cSpLD2qzDSvK1NAvqFi8Xgivv0cFC6J+hWVw2teCYltyy9/m/14ryHg==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [openbsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-CN+7c++kkbrckTOz5hrehxWN7uIhFFlmS/hqziSFVWpAzpWrQoAG4chH+nN3Be+Kzv/uuo7zhX716x3Sn2Jduw==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [openbsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-rOREuNIQgaiR+9QuNkbkxubbp8MSO9rONmwP5nKncnWJ9v5jQ4JxFnLu4zDSRPf3x4u+2VN4pM4RdyIzDty/wQ==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [openharmony]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-nq2xdYaWxyg9DcIyXkZhcYulC6pQ2FuCgem3LI92IwMgIZ69KHeY8T4Y88pcwoLIjbed8n36CyKoYRDygNSGhA==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [sunos]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-3XxECOWJq1qMZ3MN8srCJ/QfoLpL+VaxD/WfNRm1O3B4+AZ/BnLVgFbUV3eiRYDMXetciH16dwPbbHqwe1uU0Q==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [win32]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-3ukss6gb9XZ8TlRyJlgLn17ecsK4NSQTmdIXRASVsiS2sQ6zPPZklNJT5GR5tE/MUarymmy8kCEf5xPCNCqVOA==}+ engines: {node: '>=18'}+ cpu: [ia32]+ os: [win32]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-D7Hpz6A2L4hzsRpPaCYkQnGOotdUpDzSGRIv9I+1ITdHROSFUWW95ZPZWQmGka1Fg7W3zFJowyn9WGwMJ0+KPA==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [win32]++ '@img/[email protected]':+ resolution: {integrity: sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==}+ engines: {node: '>=18'}++ '@img/[email protected]':+ resolution: {integrity: sha512-sitdlPzDVyvmINUdJle3TNHl+AG9QcwiAMsXmccqsCOMZNIdW2/7S26w0LyU8euiLVzFBL3dXPwVCq/ODnf2vA==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [darwin]++ '@img/[email protected]':+ resolution: {integrity: sha512-rZheupWIoa3+SOdF/IcUe1ah4ZDpKBGWcsPX6MT0lYniH9micvIU7HQkYTfrx5Xi8u+YqwLtxC/3vl8TQN6rMg==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [darwin]++ '@img/[email protected]':+ resolution: {integrity: sha512-QzWAKo7kpHxbuHqUC28DZ9pIKpSi2ts2OJnoIGI26+HMgq92ZZ4vk8iJd4XsxN+tYfNJxzH6W62X5eTcsBymHw==}+ cpu: [arm64]+ os: [darwin]++ '@img/[email protected]':+ resolution: {integrity: sha512-Ju+g2xn1E2AKO6YBhxjj+ACcsPQRHT0bhpglxcEf+3uyPY+/gL8veniKoo96335ZaPo03bdDXMv0t+BBFAbmRA==}+ cpu: [x64]+ os: [darwin]++ '@img/[email protected]':+ resolution: {integrity: sha512-I4RxkXU90cpufazhGPyVujYwfIm9Nk1QDEmiIsaPwdnm013F7RIceaCc87kAH+oUB1ezqEvC6ga4m7MSlqsJvQ==}+ cpu: [arm64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-x1uE93lyP6wEwGvgAIV0gP6zmaL/a0tGzJs/BIDDG0zeBhMnuUPm7ptxGhUbcGs4okDJrk4nxgrmxpib9g6HpA==}+ cpu: [arm]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-Y2T7IsQvJLMCBM+pmPbM3bKT/yYJvVtLJGfCs4Sp95SjvnFIjynbjzsa7dY1fRJX45FTSfDksbTp6AGWudiyCg==}+ cpu: [ppc64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-RgWrs/gVU7f+K7P+KeHFaBAJlNkD1nIZuVXdQv6S+fNA6syCcoboNjsV2Pou7zNlVdNQoQUpQTk8SWDHUA3y/w==}+ cpu: [s390x]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-3JU7LmR85K6bBiRzSUc/Ff9JBVIFVvq6bomKE0e63UXGeRw2HPVEjoJke1Yx+iU4rL7/7kUjES4dZ/81Qjhyxg==}+ cpu: [x64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-F9q83RZ8yaCwENw1GieztSfj5msz7GGykG/BA+MOUefvER69K/ubgFHNeSyUu64amHIYKGDs4sRCMzXVj8sEyw==}+ cpu: [arm64]+ os: [linux]+ libc: [musl]++ '@img/[email protected]':+ resolution: {integrity: sha512-U5PUY5jbc45ANM6tSJpsgqmBF/VsL6LnxJmIf11kB7J5DctHgqm0SkuXzVWtIY90GnJxKnC/JT251TDnk1fu/g==}+ cpu: [x64]+ os: [linux]+ libc: [musl]++ '@img/[email protected]':+ resolution: {integrity: sha512-YXU1F/mN/Wu786tl72CyJjP/Ngl8mGHN1hST4BGl+hiW5jhCnV2uRVTNOcaYPs73NeT/H8Upm3y9582JVuZHrQ==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-Xyam4mlqM0KkTHYVSuc6wXRmM7LGN0P12li03jAnZ3EJWZqj83+hi8Y9UxZUbxsgsK1qOEwg7O0Bc0LjqQVtxA==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-F4PDtF4Cy8L8hXA2p3TO6s4aDt93v+LKmpcYFLAVdkkD3hSxZzee0rh6/+94FpAynsuMpLX5h+LRsSG3rIciUQ==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [ppc64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-qVrZKE9Bsnzy+myf7lFKvng6bQzhNUAYcVORq2P7bDlvmF6u2sCmK2KyEQEBdYk+u3T01pVsPrkj943T1aJAsw==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [s390x]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-ZfGtcp2xS51iG79c6Vhw9CWqQC8l2Ot8dygxoDoIQPTat/Ov3qAa8qpxSrtAEAJW+UjTXc4yxCjNfxm4h6Xm2A==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [linux]+ libc: [glibc]++ '@img/[email protected]':+ resolution: {integrity: sha512-8hDVvW9eu4yHWnjaOOR8kHVrew1iIX+MUgwxSuH2XyYeNRtLUe4VNioSqbNkB7ZYQJj9rUTT4PyRscyk2PXFKA==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [linux]+ libc: [musl]++ '@img/[email protected]':+ resolution: {integrity: sha512-lU0aA5L8QTlfKjpDCEFOZsTYGn3AEiO6db8W5aQDxj0nQkVrZWmN3ZP9sYKWJdtq3PWPhUNlqehWyXpYDcI9Sg==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [linux]+ libc: [musl]++ '@img/[email protected]':+ resolution: {integrity: sha512-33QL6ZO/qpRyG7woB/HUALz28WnTMI2W1jgX3Nu2bypqLIKx/QKMILLJzJjI+SIbvXdG9fUnmrxR7vbi1sTBeA==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [wasm32]++ '@img/[email protected]':+ resolution: {integrity: sha512-2Q250do/5WXTwxW3zjsEuMSv5sUU4Tq9VThWKlU2EYLm4MB7ZeMwF+SFJutldYODXF6jzc6YEOC+VfX0SZQPqA==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [win32]++ '@img/[email protected]':+ resolution: {integrity: sha512-3ZeLue5V82dT92CNL6rsal6I2weKw1cYu+rGKm8fOCCtJTR2gYeUfY3FqUnIJsMUPIH68oS5jmZ0NiJ508YpEw==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [ia32]+ os: [win32]++ '@img/[email protected]':+ resolution: {integrity: sha512-xIyj4wpYs8J18sVN3mSQjwrw7fKUqRw+Z5rnHNCy5fYTxigBz81u5mOMPmFumwjcn8+ld1ppptMBCLic1nz6ig==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [win32]++ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}++ '@mdx-js/[email protected]':+ resolution: {integrity: sha512-f6ZO2ifpwAQIpzGWaBQT2TXxPv6z3RBzQKpVftEWN78Vl/YweF1uwussDx8ECAXVtr3Rs89fKyG9YlzUs9DyGQ==}++ '@oslojs/[email protected]':+ resolution: {integrity: sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==}++ '@rollup/[email protected]':+ resolution: {integrity: sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q==}+ engines: {node: '>=14.0.0'}+ peerDependencies:+ rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0+ peerDependenciesMeta:+ rollup:+ optional: true++ '@rollup/[email protected]':+ resolution: {integrity: sha512-8c1vW4ocv3UOMp9K+gToY5zL2XiiVw3k7f1ksf4yO1FlDFQ1C2u72iACFnSOceJFsWskc2WZNqeRhFRPzv+wtQ==}+ cpu: [arm]+ os: [android]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-mQGfsIEFcu21mvqkEKKu2dYmtuSZOBMmAl5CFlPGLY94Vlcm+zWApK7F/eocsNzp8tKmbeBP8yXyAbx0XHsFNA==}+ cpu: [arm64]+ os: [android]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-takF3CR71mCAGA+v794QUZ0b6ZSrgJkArC+gUiG6LB6TQty9T0Mqh3m2ImRBOxS2IeYBo4lKWIieSvnEk2OQWA==}+ cpu: [arm64]+ os: [darwin]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-W901Pla8Ya95WpxDn//VF9K9u2JbocwV/v75TE0YIHNTbhqUTv9w4VuQ9MaWlNOkkEfFwkdNhXgcLqPSmHy0fA==}+ cpu: [x64]+ os: [darwin]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-QofO7i7JycsYOWxe0GFqhLmF6l1TqBswJMvICnRUjqCx8b47MTo46W8AoeQwiokAx3zVryVnxtBMcGcnX12LvA==}+ cpu: [arm64]+ os: [freebsd]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-jr21b/99ew8ujZubPo9skbrItHEIE50WdV86cdSoRkKtmWa+DDr6fu2c/xyRT0F/WazZpam6kk7IHBerSL7LDQ==}+ cpu: [x64]+ os: [freebsd]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-PsNAbcyv9CcecAUagQefwX8fQn9LQ4nZkpDboBOttmyffnInRy8R8dSg6hxxl2Re5QhHBf6FYIDhIj5v982ATQ==}+ cpu: [arm]+ os: [linux]+ libc: [glibc]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-Fw4tysRutyQc/wwkmcyoqFtJhh0u31K+Q6jYjeicsGJJ7bbEq8LwPWV/w0cnzOqR2m694/Af6hpFayLJZkG2VQ==}+ cpu: [arm]+ os: [linux]+ libc: [musl]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-a+3wVnAYdQClOTlyapKmyI6BLPAFYs0JM8HRpgYZQO02rMR09ZcV9LbQB+NL6sljzG38869YqThrRnfPMCDtZg==}+ cpu: [arm64]+ os: [linux]+ libc: [glibc]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-AvttBOMwO9Pcuuf7m9PkC1PUIKsfaAJ4AYhy944qeTJgQOqJYJ9oVl2nYgY7Rk0mkbsuOpCAYSs6wLYB2Xiw0Q==}+ cpu: [arm64]+ os: [linux]+ libc: [musl]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-DkDk8pmXQV2wVrF6oq5tONK6UHLz/XcEVow4JTTerdeV1uqPeHxwcg7aFsfnSm9L+OO8WJsWotKM2JJPMWrQtA==}+ cpu: [loong64]+ os: [linux]+ libc: [glibc]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-W/b9ZN/U9+hPQVvlGwjzi+Wy4xdoH2I8EjaCkMvzpI7wJUs8sWJ03Rq96jRnHkSrcHTpQe8h5Tg3ZzUPGauvAw==}+ cpu: [ppc64]+ os: [linux]+ libc: [glibc]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-sjQLr9BW7R/ZiXnQiWPkErNfLMkkWIoCz7YMn27HldKsADEKa5WYdobaa1hmN6slu9oWQbB6/jFpJ+P2IkVrmw==}+ cpu: [riscv64]+ os: [linux]+ libc: [glibc]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-hq3jU/kGyjXWTvAh2awn8oHroCbrPm8JqM7RUpKjalIRWWXE01CQOf/tUNWNHjmbMHg/hmNCwc/Pz3k1T/j/Lg==}+ cpu: [riscv64]+ os: [linux]+ libc: [musl]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-gn8kHOrku8D4NGHMK1Y7NA7INQTRdVOntt1OCYypZPRt6skGbddska44K8iocdpxHTMMNui5oH4elPH4QOLrFQ==}+ cpu: [s390x]+ os: [linux]+ libc: [glibc]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-hXGLYpdhiNElzN770+H2nlx+jRog8TyynpTVzdlc6bndktjKWyZyiCsuDAlpd+j+W+WNqfcyAWz9HxxIGfZm1Q==}+ cpu: [x64]+ os: [linux]+ libc: [glibc]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-arCGIcuNKjBoKAXD+y7XomR9gY6Mw7HnFBv5Rw7wQRvwYLR7gBAgV7Mb2QTyjXfTveBNFAtPt46/36vV9STLNg==}+ cpu: [x64]+ os: [linux]+ libc: [musl]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-QoFqB6+/9Rly/RiPjaomPLmR/13cgkIGfA40LHly9zcH1S0bN2HVFYk3a1eAyHQyjs3ZJYlXvIGtcCs5tko9Cw==}+ cpu: [arm64]+ os: [openharmony]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-w0cDWVR6MlTstla1cIfOGyl8+qb93FlAVutcor14Gf5Md5ap5ySfQ7R9S/NjNaMLSFdUnKGEasmVnu3lCMqB7w==}+ cpu: [arm64]+ os: [win32]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-Aufdpzp7DpOTULJCuvzqcItSGDH73pF3ko/f+ckJhxQyHtp67rHw3HMNxoIdDMUITJESNE6a8uh4Lo4SLouOUg==}+ cpu: [ia32]+ os: [win32]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-UGBUGPFp1vkj6p8wCRraqNhqwX/4kNQPS57BCFc8wYh0g94iVIW33wJtQAx3G7vrjjNtRaxiMUylM0ktp/TRSQ==}+ cpu: [x64]+ os: [win32]++ '@rollup/[email protected]':+ resolution: {integrity: sha512-TAcgQh2sSkykPRWLrdyy2AiceMckNf5loITqXxFI5VuQjS5tSuw3WlwdN8qv8vzjLAUTvYaH/mVjSFpbkFbpTg==}+ cpu: [x64]+ os: [win32]++ '@shikijs/[email protected]':+ resolution: {integrity: sha512-3P8rGsg2Eh2qIHekwuQjzWhKI4jV97PhvYjYUzGqjvJfqdQPz+nMlfWahU24GZAyW1FxFI1sYjyhfh5CoLmIUA==}++ '@shikijs/[email protected]':+ resolution: {integrity: sha512-Ty7xv32XCp8u0eQt8rItpMs6rU9Ki6LJ1dQOW3V/56PKDcpvfHPnYFbsx5FFUP2Yim34m/UkazidamMNVR4vKg==}++ '@shikijs/[email protected]':+ resolution: {integrity: sha512-O42rBGr4UDSlhT2ZFMxqM7QzIU+IcpoTMzb3W7AlziI1ZF7R8eS2M0yt5Ry35nnnTX/LTLXFPUjRFCIW+Operg==}++ '@shikijs/[email protected]':+ resolution: {integrity: sha512-672c3WAETDYHwrRP0yLy3W1QYB89Hbpj+pO4KhxK6FzIrDI2FoEXNiNCut6BQmEApYLfuYfpgOZaqbY+E9b8wQ==}++ '@shikijs/[email protected]':+ resolution: {integrity: sha512-Vxw1Nm1/Od8jyA7QuAenaV78BG2nSr3/gCGdBkLpfLscddCkzkL36Q5b67SrLLfvAJTOUzW39x4FHVCFriPVgg==}++ '@shikijs/[email protected]':+ resolution: {integrity: sha512-oM9P+NCFri/mmQ8LoFGVfVyemm5Hi27330zuOBp0annwJdKH1kOLndw3zCtAVDehPLg9fKqoEx3Ht/wNZxolfw==}++ '@shikijs/[email protected]':+ resolution: {integrity: sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==}++ '@swc/[email protected]':+ resolution: {integrity: sha512-5IKx/Y13RsYd+sauPb2x+U/xZikHjolzfuDgTAl/Tdf3Q8rslRvC19NKDLgAJQ6wsqADk10ntlv08nPFw/gO/A==}++ '@types/[email protected]':+ resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}++ '@types/[email protected]':+ resolution: {integrity: sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==}++ '@types/[email protected]':+ resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}++ '@types/[email protected]':+ resolution: {integrity: sha512-wN+8bYxIpJf+5oZdrdtaX04qUuWHcKxcDEgRS9Qm9ZClSHjzEn13SxUC+5eRM+4yXIeTYk8mTzLAWGF64847ew==}++ '@types/[email protected]':+ resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==}++ '@types/[email protected]':+ resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==}++ '@types/[email protected]':+ resolution: {integrity: sha512-+OWZQfAYyio6YkJb3HLxDrvnx6SWWDbC0zVPfBRzUk0/nqoDyf6dNxQi3eArPe8rJ473nobTMQ/8Zk+LxJ+Yuw==}++ '@types/[email protected]':+ resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==}++ '@types/[email protected]':+ resolution: {integrity: sha512-vSYNSDe6Ix3q+6Z7ri9lyWqgGhJTmzRjZRqyq15N0Z/1/UnVsno9G/N40NBijoYx2seFDIl0+B2mgAb9mezUCA==}++ '@types/[email protected]':+ resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==}++ '@types/[email protected]':+ resolution: {integrity: sha512-QoiaXANRkSXK6p0Duvt56W208du4P9Uye9hWLWgGMDTEoKPhuenzNcC4vGUmrNkiOKTlIrBoyNQYNpSwfEZXSg==}++ '@types/[email protected]':+ resolution: {integrity: sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==}++ '@types/[email protected]':+ resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==}++ '@types/[email protected]':+ resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==}++ '@ungap/[email protected]':+ resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}++ resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}+ peerDependencies:+ acorn: ^6.0.0 || ^7.0.0 || ^8.0.0++ resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==}+ engines: {node: '>=0.4.0'}+ hasBin: true++ resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==}++ resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}+ engines: {node: '>= 8'}++ resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}++ resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}++ resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-I1jXZMjAgCMmxT4qxXfPXa6SthSoE8h6gkSI9BGGNv8mP8G/v0blc+qFnZu6K42vTOiuME596QaLO0TP3Lk0xg==}++ resolution: {integrity: sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==}+ hasBin: true++ resolution: {integrity: sha512-nKqCLs7BFvGQL9QWQOUqxHhlHtV0UMLXz1ANJygozvjcexBWS7FYkWI2LzRPMNYmbW4msIWNWnX2RvLdvI5Cnw==}+ engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'}+ hasBin: true++ resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==}++ resolution: {integrity: sha512-kwDPIFCGx0NZHog36dj+tHiwP4QMzsZ3AgMViUBKI0+V5n4U0ufTCUMhnQ04diaRI8EX/QcPfql7zlhZ7j4zgg==}++ resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}++ resolution: {integrity: sha512-F3PH5k5juxom4xktynS7MoFY+NUWH5LC4CnH11YB8NPew+HLpmBLCybSAEyb2F+4pRXhuhWqFesoQd6DAyc2hw==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-oTKjJdShmDuGW94SyyaoQvAjf30dZaHnjJ8uAF+u2/vGJkJbJPJAT1gDiOJP5v1Zb6f9KEyW/1HpuaWIXtGHPg==}++ resolution: {integrity: sha512-8WB3Jcas3swSvjIeA2yvCJ+Miyz5l1ZmB6HFb9R1317dt9LCQoswg/BGrmAmkWVEszSrrg4RwmO46qIm2OEnSA==}+ engines: {node: '>=16'}++ resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}++ resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==}+ engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}++ resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==}++ resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==}++ resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==}++ resolution: {integrity: sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==}++ resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}+ engines: {node: '>= 14.16.0'}++ resolution: {integrity: sha512-Wdy2Igu8OcBpI2pZePZ5oWjPC38tmDVx5WKUXKwlLYkA0ozo85sLsLvkBbBn/sZaSCMFOGZJ14fvW9t5/d7kdA==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==}+ engines: {node: '>=10'}++ resolution: {integrity: sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==}+ engines: {node: '>=0.8'}++ resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==}++ resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==}++ resolution: {integrity: sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==}++ resolution: {integrity: sha512-+W7VmiVINB+ywl1HGXJXmrqkOhpKrIiVZV6tQuV54ZyQC7MMuBt81Vc336GMLoHBq5hV/F9eXgt5Mnx0Rha5Fg==}++ resolution: {integrity: sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-ojKiDvcmByhwa8YYqbQI/hg7MEU0NC03+pSdEq4ZUnZR9xXpwk7E43SMNGkn+JxJGPFtNvQ48+vV2p+P1ml5PA==}++ resolution: {integrity: sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==}+ engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0}++ resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==}+ engines: {node: '>=4'}+ hasBin: true++ resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==}+ engines: {node: '>=6.0'}+ peerDependencies:+ supports-color: '*'+ peerDependenciesMeta:+ supports-color:+ optional: true++ resolution: {integrity: sha512-c6fcElNV6ShtZXmsgNgFFV5tVX2PaV4g+MOAkb8eXHvn6sryJBrZa9r0zV6+dtTyoCKxtDy5tyQ5ZwQuidtd+Q==}++ resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==}++ resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==}++ resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-KxektNH63SrbfUyDiwXqRb1rLwKt33AmMv+5Nhsw1kqZ13SJBRTgZHtGbE+hH3a1mVW1cz+4pqSWVPAtLVXTzQ==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-MwPZTKEPK2k8Qgfmqrd48ZKVvzSQjgW0lXLxiIBA8dQjtf/6mw6pggHNLcyDKyf+fI6eXxlQwPsfaCMTU5U+Bw==}++ resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==}++ resolution: {integrity: sha512-ED3jP8saaweFTjeGX8HQPjeC1YYyZs98jGNZx6IiBvxW7JG5v492kamAQB3m2wop07CvU/RQmzcKr6bgcC5D/Q==}++ resolution: {integrity: sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==}+ engines: {node: '>=0.3.1'}++ resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}++ resolution: {integrity: sha512-2QF/g9/zTaPDc3BjNcVTGoBbXBgYfMTTceLaYcFJ/W9kggFUkhxD/hMEeuLKbugyef9SqAx8cpgwlIP/jinUTA==}+ engines: {node: '>=4'}++ resolution: {integrity: sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==}++ resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}++ resolution: {integrity: sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==}+ engines: {node: '>=0.12'}++ resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==}++ resolution: {integrity: sha512-4CyanoAudUSBAn5K13H4JhsMH6L9ZP7XbLVe/dKybkxMO7eDyLsT8UHl9TRNrU2Gr9nz+FovfSIjuXWJ81uVwQ==}++ resolution: {integrity: sha512-8Ja+rNJ0Lt56Pcf3TAmpBZjmx8ZcK5Ts4cAzIOjsjevg9oSXJnl6SUQ2EevU8tv3h6ZLWmoKL5H4fgWvdvfETw==}++ resolution: {integrity: sha512-KohQwyzrKTQmhXDW1PjCv3Tyspn9n5GcY2RTDqeORIdIJY8yKIF7sTSopFmn/wpMPW4rdPXI0UE5LJLuq3bx0Q==}+ engines: {node: '>=18'}+ hasBin: true++ resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-cKUwm/HUcTDsYh/9FgnuFqpfquUbwIqwKM26BVCGDPVgvaCl/nDCCjUfiLlx6lsEZ3Z4RFxNbOQ60pkaEwFxGw==}++ resolution: {integrity: sha512-8U5eiL6BTrPxp/CHbs2yMgP8ftMhR5ww1eIKoWRMlqvltHF8fZn5LRDvTKuxD3DUn+shRbLGqXemcP51oFCsGQ==}++ resolution: {integrity: sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==}++ resolution: {integrity: sha512-2CAASclonf+JFWBNJPndcOpA8EMJwa0Q8LUFJEKqXLW6+qBvbFZuF5gItbQOs/umBUkjviCSDCbBwU2cXbmrhQ==}++ resolution: {integrity: sha512-WDF+xj5rRWmD5tj6bIqRi6CkLIXbbNQUcxQHzGysQzvHmdYG2G7p/Tf0J0gpxGgkeMZNTIjT/AoSvC9Xehcgdg==}++ resolution: {integrity: sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==}++ resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}++ resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==}++ resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==}++ resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==}++ resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}++ resolution: {integrity: sha512-gkWGshjYcQCF+6qtlrqBqELqNqnt4CxruY6UVAWWnqb3DQ6qaNFEIKqzYep1XzHLM/QtrHVCxyPOtTk4LTQ7Aw==}+ hasBin: true++ resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}+ engines: {node: '>=12.0.0'}+ peerDependencies:+ picomatch: ^3 || ^4+ peerDependenciesMeta:+ picomatch:+ optional: true++ resolution: {integrity: sha512-9UbaD6XdAL97+k/n+N7JwX46K/M6Zc6KcFYskrYL8wbBV/Uyk0CTAMY0VT+qiK5PM7AIc9aTWYtq65U7T+aCNQ==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-9f5g4feWT1jWT8+SbL85aLIRLIXUaDygaM2xPXRmzPYxrOMNok79Lr3FGJoKVNKibE0WCunNiEVG2mwuE+2qEg==}++ resolution: {integrity: sha512-syetQadaUEDNdxdugga9CpEYVaQIxOwk7GlwZWWZ19//qW4zE5bknOKeMBDYAASwnpaSHKJITRLMF9m1fp3s6g==}++ resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}+ engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}+ os: [darwin]++ resolution: {integrity: sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==}++ resolution: {integrity: sha512-z5cFQWDffyOe4vQ9xIqNfCZdV4p//vy6fBnr8Q1AWnVZ0teurKMG66rLj++TKwKPUP3u7iMUvrvKaEUiQw2QWQ==}++ resolution: {integrity: sha512-CUSRHXyKjzHov8yKsQjGOElXy/3EKpyX56ELnkHH34vDVw1N1XSQ1ZcAvTyAPtGqLTuKP/uxM+aLkSPqF/EtMw==}++ resolution: {integrity: sha512-3kxEVkEKt0zvcZ3hCRYI8rqrgwtlIOFMWkbclACvjlDw8Li9S2hk/d51OI0nr/gIpdMHNepwgOKqZ/sy0Clpyg==}++ resolution: {integrity: sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==}++ resolution: {integrity: sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==}++ resolution: {integrity: sha512-Y8/SBAHkZGoNkpzqqfCldijcuUKh7/su31kEBp67cFY09Wy0mTRgtsLYsiIxMJxlu0f6AA5SUTbDR8K0rxnbUw==}++ resolution: {integrity: sha512-48+B/rJWAp0jamNbAAf9M7Uf//UVqAoMmgXhBdxTDJLGKY+LRnZ99qcG+Qjl5HfMpYNzS5v4EAwVEF34LeAj7w==}++ resolution: {integrity: sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==}++ resolution: {integrity: sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==}++ resolution: {integrity: sha512-3KKrV5ZVI8if87DVSi1vDeByYrkGzg4mEfeu4alwgmmIeARiBLKCZS2uw5Gb6nU9x9Yufyj3iudm6i7nl52PFw==}++ resolution: {integrity: sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==}++ resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==}++ resolution: {integrity: sha512-g7df9rMFX/SPi34tyGCyUBREQoKkapwdY/T04Qn9TDWfHhAYt4/I0gMVirzK5wEzeUqIjEB+LXC/ypb7Aqno5w==}++ resolution: {integrity: sha512-RuMffC89BOWQoY0WKGpIhn5gX3iI54O6nRA0yC124NYVtzjmFWBIiFd8M0x+ZdX0P9R4lADg1mgP8C7PxGOWuQ==}++ resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==}++ resolution: {integrity: sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==}++ resolution: {integrity: sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==}++ resolution: {integrity: sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q==}++ resolution: {integrity: sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg==}++ resolution: {integrity: sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==}++ resolution: {integrity: sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==}++ resolution: {integrity: sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==}++ resolution: {integrity: sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==}+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}+ hasBin: true++ resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==}++ resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==}+ engines: {node: '>=14.16'}+ hasBin: true++ resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==}+ engines: {node: '>=16'}++ resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}+ hasBin: true++ resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==}++ resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==}++ resolution: {integrity: sha512-2N21sPY9Ws53PZvsEpVtNuSW+ScYbQdp4b9qUaL+9QkHUrGFKo56Lg9Emg5s9V/qrtNBmiR01sYhUOwu3H+VOw==}++ resolution: {integrity: sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ==}++ resolution: {integrity: sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q==}+ engines: {node: '>=16'}++ resolution: {integrity: sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==}++ resolution: {integrity: sha512-scTllyX6pnYNZH/AIp/0ePz6s4cZtARxImwoPJ7kS42n+MnVsI4XbnG6d4ibehRIldYMWM2LD7ImQblVhUejVQ==}++ resolution: {integrity: sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==}++ resolution: {integrity: sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==}++ resolution: {integrity: sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==}++ resolution: {integrity: sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==}++ resolution: {integrity: sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==}++ resolution: {integrity: sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==}++ resolution: {integrity: sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==}++ resolution: {integrity: sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==}++ resolution: {integrity: sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==}++ resolution: {integrity: sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==}++ resolution: {integrity: sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w==}++ resolution: {integrity: sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==}++ resolution: {integrity: sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==}++ resolution: {integrity: sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==}++ resolution: {integrity: sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==}++ resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==}++ resolution: {integrity: sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==}++ resolution: {integrity: sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==}++ resolution: {integrity: sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==}++ resolution: {integrity: sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==}++ resolution: {integrity: sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==}++ resolution: {integrity: sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==}++ resolution: {integrity: sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==}++ resolution: {integrity: sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==}++ resolution: {integrity: sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==}++ resolution: {integrity: sha512-dD/ADLJ1AeMvSAKBwO22zG22N4ybhe7kFIZ3LsDI0GlsNr2A3KYxb0LdC1u5rj4Nw+CHKY0RVdnHX8vj8ejm4Q==}++ resolution: {integrity: sha512-e5+q1DjMh62LZAJOnDraSSbDMvGJ8x3cbjygy2qFEi7HCeUT4BDKCvMozPozcD6WmOt6sVvYDNBKhFSz3kjOVQ==}++ resolution: {integrity: sha512-EpAiszsB3blw4Rpba7xTOUptcFeBFi+6PY8VnJ2hhimH+vCQDirWgsMpz7w1XcZE7LVrSAUGb9VJpG9ghlYvYQ==}++ resolution: {integrity: sha512-DJFl4ZqkErRpq/dAPyeWp15tGrcrrJho1hKK5uBS70BCtfrIFg81sqcTVu3Ta+KD1Tk5vAtBNElWxtAa+m8K9A==}++ resolution: {integrity: sha512-A873fJfhnJ2siZyUrJ31l34Uqwy4xIFmvPY1oj+Ean5PHcPBYzEsvqvWGaWcfEIr11O5Dlw3p2y0tZWpKHDejQ==}++ resolution: {integrity: sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==}++ resolution: {integrity: sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==}++ resolution: {integrity: sha512-kQnEtA3vzucU2BkrIa8/VaSAsP+EJ3CKOvhMuJgOEGg9KDC6OAY6nSnNDVRiVNRqj7Y4SlSzcStaH/5jge8JdQ==}++ resolution: {integrity: sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==}++ resolution: {integrity: sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==}++ resolution: {integrity: sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==}++ resolution: {integrity: sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==}++ resolution: {integrity: sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==}++ resolution: {integrity: sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==}++ resolution: {integrity: sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==}++ resolution: {integrity: sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==}++ resolution: {integrity: sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==}++ resolution: {integrity: sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==}++ resolution: {integrity: sha512-jmsiEIiZ1n7X1Rr5k8wVExBQCg5jy4UXVADItHmNk1zkwEVhBuIUKRu3fqv+hs4nxLISi2DQGlqIOGiFxgbfHg==}++ resolution: {integrity: sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==}++ resolution: {integrity: sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==}++ resolution: {integrity: sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==}++ resolution: {integrity: sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==}++ resolution: {integrity: sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==}++ resolution: {integrity: sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==}++ resolution: {integrity: sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==}++ resolution: {integrity: sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==}++ resolution: {integrity: sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==}+ engines: {node: '>=10'}++ resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}++ resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==}+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}+ hasBin: true++ resolution: {integrity: sha512-Z4SmBUweYa09+o6pG+eASabEpP6QkQ70yHj351pQoEXIs8uHbaU2DWVmzBANKgflPa47A50PtB2+NgRpQvr7vA==}+ engines: {node: '>= 10'}++ resolution: {integrity: sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA==}++ resolution: {integrity: sha512-g9yhqoedzIUm0nTnTqAQvueMPVOuIY16bqgAJJC8XOOubYFNwz6IER9qs0Gq2Xd0+CecCKFjtdDTMA4u4xG06Q==}++ resolution: {integrity: sha512-jN8dK25fsfnMrVsEhluUTPkBFY+6ybu7jSB1n+ri/vOGjJxU8J9CZhpSGkHXSkFjtUhbmoncG/YG9ta5Ludqog==}++ resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-QZj2DfGplQAr2oj9KzceK9Hwz6Whxazmn85yYeVuS3u9XTMOGMRx0kO95MQ+vLsj/S/NwBDMMLU5hpxvI6Tklw==}++ resolution: {integrity: sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ==}++ resolution: {integrity: sha512-8Unqkvk1RYc6yq2WBYRj4hdnsAxVze8i7iPfQr8e4uSP3tRv0rpZcbGUDvxfQQcdwHt/e9PrMvGCsa8OqG9X3w==}++ resolution: {integrity: sha512-rPiZhzC3wXwE59YQMRDodUwwT9FZ9nNBwQQfsd1wfdtlKEyCdRV0avrTcSZ5xlIvGRVPd/cx6ZN45ECmS39xvg==}++ resolution: {integrity: sha512-kuUqqHNUqoIWp/c467RI4X6mmyuojY5jGutNU0wVTmEOOfcuwLqyMVoAi9MKi2Ak+5i9+nhmrK4ufZE8069kHA==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-aNZ+VfjobsWryoiPnEApGGmf5WmNsCo9xu8dfaYamG5qaLP7ClhLN6NgsFe6SwJ2UbLEBK5dv9x8Mn5+RVhMWQ==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-MyIV3ZA/PmyBN/ud8vV9XzwTrNtR4jFrObymZYnZqMmW0zA8Z17vnT0rBgFE/TlohB+YCHqXMgZzb3Csp49vqg==}+ engines: {node: '>=14.16'}++ resolution: {integrity: sha512-uBj69dVlYe/+wxj8JOpr97XfsxH/eumMt6HqjNTmJDf/6NO9s+0uxeOneIz3AsPt2m6y9PqzDzd3ATcU17MNfw==}++ resolution: {integrity: sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==}++ resolution: {integrity: sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==}++ resolution: {integrity: sha512-mhHgobPPua5kZ98EF4HWiH167JWBfl4pvAIXXdbaVohtK7a6YBOy56kvhCqduqyo/f3yrHFWmqmiMg/BkBkYYQ==}++ resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==}++ resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}++ resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}+ engines: {node: '>=8.6'}++ resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==}+ engines: {node: ^10 || ^12 || >=14}++ resolution: {integrity: sha512-RiBETaaP9veVstE4vUwSIcdATj6dKmXljouXc/DDNwBSPTp8FRkLGDSGFClKsAFeeg+13SB0Z1JZvbD76bigJw==}+ engines: {node: ^14.15.0 || >=16.0.0}++ resolution: {integrity: sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==}+ engines: {node: '>=14'}+ hasBin: true++ resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==}+ engines: {node: '>= 6'}++ resolution: {integrity: sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==}++ resolution: {integrity: sha512-TwEZ+X+yCJmYfL7TPUOcvBZ4QfoT5YenQiJuX//0th53DE6w0xxLEtfK3iyryQFddXuvkIk51EEgrJQ0WJkOmQ==}++ resolution: {integrity: sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA==}++ resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==}+ engines: {node: '>= 14.18.0'}++ resolution: {integrity: sha512-8GtdyqaBcDfva+GUKDr3nev3VpKAhup1+RvkMvUxURHpW7QyIvk9F5wz7Vzo06CEMSilw6uArgRqhpiUcWp8ew==}++ resolution: {integrity: sha512-huSIy7VU2Z5OLv6oFLosQGGDqPqdO1iq6bWNAdhzMxSJP7RAso4fCZ1cKu8j9YHCZf3TPrq4dw3okhrylgcd7w==}+ peerDependencies:+ acorn: ^6.0.0 || ^7.0.0 || ^8.0.0++ resolution: {integrity: sha512-OYLsIGBB5Y5wjnSnQW6t3Xg7q3fQ7FWbw/vcXtORTnyaSFscOtABg+7Pnz6YZ6c27fG1/aN8CjfwoUEUIdwqWQ==}++ resolution: {integrity: sha512-cjwII1MdIIVloKvC9ErQ+OgAtwHBmcZ0Bg4ciz78FtbT8In39aAYbaA7zvxQ61xVMSPE8WxhLwLbhif4Js2C+g==}++ resolution: {integrity: sha512-0YCaSCq2VRIebiaUviZNs0cBz1kg5kVS2UKUfNIx8YVs1cN3AV7NTctO5FOKBA+UT2BPJIWZauYHPqJODG50cg==}++ resolution: {integrity: sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==}++ resolution: {integrity: sha512-uorlqlzAKjKQZ5P+kTJr3eeJGSVroLKoHmquUj4zHWuR+hEyNqlXsSKlYYF5F4NI6nl7tWCs0apKJ0lmfsXAPA==}++ resolution: {integrity: sha512-ksCzCD0Fgfh7trPDxr2rSylbwq9iYDkSn8TCDmEJ49ljEUBxDVCzCHv7QNzZOfODanX4+bWQ4WZqLCRWYLfhag==}++ resolution: {integrity: sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww==}++ resolution: {integrity: sha512-lqA4rGUf1JmacCNWWZx0Wv1dHqMwxzsDWYMTowuplHF3xH0N/MmrZ/G3BDZnzAkRmxDadujCjaKM2hqYdCBOGw==}++ resolution: {integrity: sha512-k9ecfXHmIPuFVI61B9DeLPN0qFHfawM6RsuX48hoqlaKSF61RskNjSm1lI8PhBEM0MRdLxVVm4WmTqJQccH9mA==}++ resolution: {integrity: sha512-j31mdaRFrwFRUIlxGeuPXXKWQxet52RBQRvCmzl5eCefn/KGbomK5GMHNMsOJf55fgo3qw5tST5neDuarDYR2A==}++ resolution: {integrity: sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==}++ resolution: {integrity: sha512-Pjj2IYlUY3+D8x00UJsIOg5BEvfMyeI+2uLPn9VO9Wg4MEtN/VTIq2NEJQfde9PnX15KgtHyl9S0BcTnWrIuWg==}++ resolution: {integrity: sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==}++ resolution: {integrity: sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==}++ resolution: {integrity: sha512-ILTWeOriIluwEvPjv67v7Blgrcx+LZOkAUVtKI3putuhlZm84FnqDORNXPPm+HY3NdZOMhyDwZ1E+eZB/Df5dA==}+ engines: {node: '>=16.0.0'}++ resolution: {integrity: sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==}++ resolution: {integrity: sha512-gSfoiOEA0VPE6Tukkrr7I0RBdE0s7H1eFCDBk05l1KIQT1UIKNc5JZy6jdyW6eYH3aR3g5b3PuL77rq0hvwtAw==}++ resolution: {integrity: sha512-hv9woG7Fy0M9IlRQloq/N6atV82NxLGveq+3H2WOi79dtIYWN8OaxogDm77f8YnVXJL2VD3bbqowu5E3EMhBYA==}++ resolution: {integrity: sha512-kk0jOU7+zGv//kfjXEBjdIryL1Acl4i9XNkHxtM7Tm5lFiCog576fjNC9hjoR7LTKQ0DsPWy09JummSsH1uqfQ==}++ resolution: {integrity: sha512-rtfN/0o8kL1e+78+uxPTqu1Klt0yPzKuQ2BfWwwfgIUSayyzxpM1PJzkKt4V8803uB9qSy32MvI7Xep9khTpiA==}++ resolution: {integrity: sha512-sbMDcpHCNjvlheSgMfEcVrZko3cDzdbe1x/e7G66dFp0Ff7Mldvi2uv6JkJQzdRcvLYE8CA8Oe8siQx8ZOgTcA==}++ resolution: {integrity: sha512-3GuObel8h7Kqdjt0gxkEzaifHTqLVW56Y/bjN7PSQtkKr0w3V/QYSdt6QWYtd7A1xUtYQigtdUfgj1RvWVtorw==}+ engines: {node: '>=18.0.0', npm: '>=8.0.0'}+ hasBin: true++ resolution: {integrity: sha512-AUNrbEUHeKY8XsYr/DYpl+qk5+aM+DChopnWOPEzn8YKzOhv4l2zH6LzZms3tOZP3wwdOyc0RmTciyi46HLIuA==}++ resolution: {integrity: sha512-CWZ8XiSim+fJVG0cFLStwDvft1VI7uvXdCNJYXhDvowiv+DsbD1nXLiQ4zrE5UBvj5DWZJ93cwN0NX5PMsr1Pw==}++ resolution: {integrity: sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==}++ resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==}+ engines: {node: '>=10'}+ hasBin: true++ resolution: {integrity: sha512-FUH39xp3SBPnxWvd5iib1X8XY7J0K0X7d93sie9CJg2PO8/7gmg89Nve6OjItK53/MlAushNNxteBYfM6DEuoA==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}++ resolution: {integrity: sha512-aZW4l8Og16CokuCLf8CF8kq+KK2yOygapU5m3+hoGw0Mdosc6fPitjM+ujYarppj5ZIKGyPDPP1vqmQhr+5/0g==}++ resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}++ resolution: {integrity: sha512-4Y8ynSMFAy/DadeAeio8Kx4zfC8/0VcKi7TH0I1SazvBcrU2fpJaGoeWsX1FMRaHoe3VGMA53DqVoLErZrtG9Q==}+ engines: {node: '>=14.0.0', npm: '>=6.0.0'}+ hasBin: true++ resolution: {integrity: sha512-rInDH6lCNiEyn3+hH8KVGFdbjc099j47+OSgbMrfDYX1CmXLfdKd7qi6IfcWj2wFxvSVkuI46M+wPGYfEOEj6g==}+ engines: {node: '>= 18'}++ resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==}+ engines: {node: '>= 12'}++ resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==}++ resolution: {integrity: sha512-TlnjJ1C0QrmxRNrON00JvaFFlNh5TTG00APw23j74ET7gkQpTASi6/L2fuiav8pzK715HXtUeClpBTw2NPSn6w==}++ resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==}++ resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-7ZvoFTiCnGxBtDqJ//Cu6fWtZtc7Y3x+QOirG15wztbdngGSkht27o2pyGWrVy0b4WAy3jbKmnoK6g5VlVNUUw==}++ resolution: {integrity: sha512-JFPn62D4kJaPTnhFUI244MThx+FEGbi+9dw1b9yBBQ+1CZpV7QAT8kUtJ7b7EUNdHajjF/0x8fT+16oLJoojLg==}++ resolution: {integrity: sha512-5A560JmXr7wDyGLK12Nq/EYS38VkGlglVzkis1JEdbGWSnbQIEhZzTJhzURXN5/8WwwFCs/f/VVcmkTppbXLow==}++ resolution: {integrity: sha512-KvC8OPjzdNOe+xQ4XWJV2whQA0aM1kGVczMQ8+dStAO6KfEB140JEVQ9dE76ONZ0/Ylf67ni4tILPJB41U0eow==}++ resolution: {integrity: sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==}++ resolution: {integrity: sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw==}++ resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==}+ engines: {node: '>=12.0.0'}++ resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==}++ resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==}++ resolution: {integrity: sha512-ks6Vjr/jEw0P1gmOVwutM3B7fWxoWBL2KRDb1JfqGVawBmO5UsvmWOQFGHBPl5yxYz4eERr19E6L7NMv+Fej4w==}+ engines: {node: ^18 || >=20}+ hasBin: true+ peerDependencies:+ typescript: ^5.0.0+ peerDependenciesMeta:+ typescript:+ optional: true++ resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}++ resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==}+ engines: {node: '>=16'}++ resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}+ engines: {node: '>=14.17'}+ hasBin: true++ resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==}++ resolution: {integrity: sha512-R9fBn90VTJrqqLDwyMph+HGne8eqY1iPfYhPzZrvKpIfwkWZbcYlfpsb8B9dTvBfpy1/hqAD7Wi8EKfP9e8zdw==}++ resolution: {integrity: sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==}++ resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}++ resolution: {integrity: sha512-CLjCCLQ6UuMxWnbIylkisbRj31qxHPAurvena/0iwSVbQ2G1VY5/HjV0IRabOEbDHlzZlRdCrD4NhB0JtU40Pg==}++ resolution: {integrity: sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==}++ resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==}++ resolution: {integrity: sha512-5Fx50fFQMQL5aeHyWnZX9122sSLckcDvcfFiBf3QYeHa7a1MKJooUy52b67moi2MJYkrfo/TWY+CoLdr/w0tTA==}++ resolution: {integrity: sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==}++ resolution: {integrity: sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==}++ resolution: {integrity: sha512-+tdN5fGNddvsQdIzUF3Xx82CU9sMM+fA0dLgR9vOmT0oPT2jH+P1nd5lSqfCfXAw+93NhcXNY2qqvTUtE4cQkw==}++ resolution: {integrity: sha512-KaFVRjoqLyF6YXCbVLNad/eS4+OfPQQn2yOd7zF/h5T/CSL2v8NpN6a5TPvtbXthAGw5nG+PuTtq+DdIZr+cRQ==}++ resolution: {integrity: sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==}++ resolution: {integrity: sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==}++ resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==}++ resolution: {integrity: sha512-RgmdTfSBOg04sdPcpTSD1jzoNBjt9a80/ZCzp5cI9n1qPzLZWF9YdvWGN2zmTumP1HWhXKdUWexjy/Wy/lJ7tA==}++ resolution: {integrity: sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==}++ resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==}++ resolution: {integrity: sha512-KKGwRTT0iVBCErKemkJCLs7JdxNVfqTPc/85ae1XES0+bsHbc/sFBfVi5kJp156cc51BHinIH2l3k0EZ24vOBQ==}+ peerDependencies:+ '@azure/app-configuration': ^1.8.0+ '@azure/cosmos': ^4.2.0+ '@azure/data-tables': ^13.3.0+ '@azure/identity': ^4.6.0+ '@azure/keyvault-secrets': ^4.9.0+ '@azure/storage-blob': ^12.26.0+ '@capacitor/preferences': ^6.0.3 || ^7.0.0+ '@deno/kv': '>=0.9.0'+ '@netlify/blobs': ^6.5.0 || ^7.0.0 || ^8.1.0 || ^9.0.0 || ^10.0.0+ '@planetscale/database': ^1.19.0+ '@upstash/redis': ^1.34.3+ '@vercel/blob': '>=0.27.1'+ '@vercel/functions': ^2.2.12 || ^3.0.0+ '@vercel/kv': ^1.0.1+ aws4fetch: ^1.0.20+ db0: '>=0.2.1'+ idb-keyval: ^6.2.1+ ioredis: ^5.4.2+ uploadthing: ^7.4.4+ peerDependenciesMeta:+ '@azure/app-configuration':+ optional: true+ '@azure/cosmos':+ optional: true+ '@azure/data-tables':+ optional: true+ '@azure/identity':+ optional: true+ '@azure/keyvault-secrets':+ optional: true+ '@azure/storage-blob':+ optional: true+ '@capacitor/preferences':+ optional: true+ '@deno/kv':+ optional: true+ '@netlify/blobs':+ optional: true+ '@planetscale/database':+ optional: true+ '@upstash/redis':+ optional: true+ '@vercel/blob':+ optional: true+ '@vercel/functions':+ optional: true+ '@vercel/kv':+ optional: true+ aws4fetch:+ optional: true+ db0:+ optional: true+ idb-keyval:+ optional: true+ ioredis:+ optional: true+ uploadthing:+ optional: true++ resolution: {integrity: sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==}++ resolution: {integrity: sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==}++ resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==}++ resolution: {integrity: sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==}+ engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}+ hasBin: true+ peerDependencies:+ '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0+ jiti: '>=1.21.0'+ less: '*'+ lightningcss: ^1.21.0+ sass: '*'+ sass-embedded: '*'+ stylus: '*'+ sugarss: '*'+ terser: ^5.16.0+ tsx: ^4.8.1+ yaml: ^2.4.2+ peerDependenciesMeta:+ '@types/node':+ optional: true+ jiti:+ optional: true+ less:+ optional: true+ lightningcss:+ optional: true+ sass:+ optional: true+ sass-embedded:+ optional: true+ stylus:+ optional: true+ sugarss:+ optional: true+ terser:+ optional: true+ tsx:+ optional: true+ yaml:+ optional: true++ resolution: {integrity: sha512-B/Fegf3i8zh0yFbpzZ21amWzHmuNlLlmJT6n7bu5e+pCHUKQIfXSYokrqOBGEMMe9UG2sostKQF9mml/vYaWJQ==}+ peerDependencies:+ vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0-beta.0+ peerDependenciesMeta:+ vite:+ optional: true++ resolution: {integrity: sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==}++ resolution: {integrity: sha512-n1brCuqClxfFfq/Rb0ICg9giSZqCS+pLtccdag6C2HyufBrh3fBOiy9nb6ggRMvWOVH5GrdJskj5iGTZNxd7SA==}+ engines: {node: '>=4'}++ resolution: {integrity: sha512-c9bZp7b5YtRj2wOe6dlj32MK+Bx/M/d+9VB2SHM1OtsUHR0aV0tdP6DWh/iMt0kWi1t5g1Iudu6hQRNd1A4PVA==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-147y/6YNh+tlp6nd/2pWq38i9h6mz/EuQ6njIrmW8D1BS5nCqs0P6DG+m6zTGnNz5I+uhZ0SHxBs9BsPrwcKDA==}++ resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==}+ engines: {node: '>=12.20'}++ resolution: {integrity: sha512-sqBChb33loEnkoXte1bLg45bEBsOP9N1kzQh5JZNKj/0rik4zAPTNSAVPj3uQAdc6slYJ0Ksc403G2XgxsJQFQ==}+ engines: {node: '>=18.19'}++ resolution: {integrity: sha512-CzhO+pFNo8ajLM2d2IW/R93ipy99LWjtwblvC1RsoSUMZgyLbYFr221TnSNT7GjGdYui6P459mw9JH/g/zW2ug==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==}+ peerDependencies:+ zod: ^3.24.1++ resolution: {integrity: sha512-x30XE43V+InwGpvTySRNz9kB7qFU8DlyEy7BsSTCHPH1R0QasMmHWZDCzYm6bVXtj/9NNJAZF3jW8rzFvH5OFA==}+ peerDependencies:+ typescript: ^4.9.4 || ^5.0.2+ zod: ^3++ resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}++ resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}++snapshots:++ '@astrojs/[email protected]': {}++ '@astrojs/[email protected]': {}++ '@astrojs/[email protected]':+ dependencies:+ '@astrojs/internal-helpers': 0.7.4+ '@astrojs/prism': 3.3.0+ github-slugger: 2.0.0+ hast-util-from-html: 2.0.3+ hast-util-to-text: 4.0.2+ import-meta-resolve: 4.2.0+ js-yaml: 4.1.0+ mdast-util-definitions: 6.0.0+ rehype-raw: 7.0.0+ rehype-stringify: 10.0.1+ remark-gfm: 4.0.1+ remark-parse: 11.0.0+ remark-rehype: 11.1.2+ remark-smartypants: 3.0.2+ shiki: 3.13.0+ smol-toml: 1.4.2+ unified: 11.0.5+ unist-util-remove-position: 5.0.0+ unist-util-visit: 5.0.0+ unist-util-visit-parents: 6.0.2+ vfile: 6.0.3+ transitivePeerDependencies:+ - supports-color++ '@astrojs/[email protected]([email protected](@types/[email protected])([email protected])([email protected]))':+ dependencies:+ '@astrojs/markdown-remark': 6.3.8+ '@mdx-js/mdx': 3.1.1+ acorn: 8.15.0+ es-module-lexer: 1.7.0+ estree-util-visit: 2.0.0+ hast-util-to-html: 9.0.5+ kleur: 4.1.5+ rehype-raw: 7.0.0+ remark-gfm: 4.0.1+ remark-smartypants: 3.0.2+ source-map: 0.7.6+ unist-util-visit: 5.0.0+ vfile: 6.0.3+ transitivePeerDependencies:+ - supports-color++ '@astrojs/[email protected]':+ dependencies:+ prismjs: 1.30.0++ '@astrojs/[email protected]':+ dependencies:+ fast-xml-parser: 5.3.0+ kleur: 4.1.5++ '@astrojs/[email protected]':+ dependencies:+ sitemap: 8.0.1+ stream-replace-string: 2.0.0+ zod: 3.25.76++ '@astrojs/[email protected]':+ dependencies:+ ci-info: 4.3.1+ debug: 4.4.3+ dlv: 1.1.3+ dset: 3.1.4+ is-docker: 3.0.0+ is-wsl: 3.1.0+ which-pm-runs: 1.1.0+ transitivePeerDependencies:+ - supports-color++ '@babel/[email protected]': {}++ '@babel/[email protected]': {}++ '@babel/[email protected]':+ dependencies:+ '@babel/types': 7.28.4++ '@babel/[email protected]':+ dependencies:+ '@babel/helper-string-parser': 7.27.1+ '@babel/helper-validator-identifier': 7.27.1++ '@capsizecss/[email protected]':+ dependencies:+ fontkit: 2.0.4++ '@emnapi/[email protected]':+ dependencies:+ tslib: 2.8.1+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':+ optional: true++ '@img/[email protected]': {}++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-darwin-arm64': 1.2.3+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-darwin-x64': 1.2.3+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-arm64': 1.2.3+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-arm': 1.2.3+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-ppc64': 1.2.3+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-s390x': 1.2.3+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-x64': 1.2.3+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.3+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linuxmusl-x64': 1.2.3+ optional: true++ '@img/[email protected]':+ dependencies:+ '@emnapi/runtime': 1.6.0+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@jridgewell/[email protected]': {}++ '@mdx-js/[email protected]':+ dependencies:+ '@types/estree': 1.0.8+ '@types/estree-jsx': 1.0.5+ '@types/hast': 3.0.4+ '@types/mdx': 2.0.13+ acorn: 8.15.0+ collapse-white-space: 2.1.0+ devlop: 1.1.0+ estree-util-is-identifier-name: 3.0.0+ estree-util-scope: 1.0.0+ estree-walker: 3.0.3+ hast-util-to-jsx-runtime: 2.3.6+ markdown-extensions: 2.0.0+ recma-build-jsx: 1.0.0+ recma-jsx: 1.0.1([email protected])+ recma-stringify: 1.0.0+ rehype-recma: 1.0.0+ remark-mdx: 3.1.1+ remark-parse: 11.0.0+ remark-rehype: 11.1.2+ source-map: 0.7.6+ unified: 11.0.5+ unist-util-position-from-estree: 2.0.0+ unist-util-stringify-position: 4.0.0+ unist-util-visit: 5.0.0+ vfile: 6.0.3+ transitivePeerDependencies:+ - supports-color++ '@oslojs/[email protected]': {}++ '@rollup/[email protected]([email protected])':+ dependencies:+ '@types/estree': 1.0.8+ estree-walker: 2.0.2+ picomatch: 4.0.3+ optionalDependencies:+ rollup: 4.52.5++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@rollup/[email protected]':+ optional: true++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/types': 3.13.0+ '@shikijs/vscode-textmate': 10.0.2+ '@types/hast': 3.0.4+ hast-util-to-html: 9.0.5++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/types': 3.13.0+ '@shikijs/vscode-textmate': 10.0.2+ oniguruma-to-es: 4.3.3++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/types': 3.13.0+ '@shikijs/vscode-textmate': 10.0.2++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/types': 3.13.0++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/types': 3.13.0++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/vscode-textmate': 10.0.2+ '@types/hast': 3.0.4++ '@shikijs/[email protected]': {}++ '@swc/[email protected]':+ dependencies:+ tslib: 2.8.1++ '@types/[email protected]':+ dependencies:+ '@types/ms': 2.1.0++ '@types/[email protected]':+ dependencies:+ '@types/estree': 1.0.8++ '@types/[email protected]': {}++ '@types/[email protected]':+ dependencies:+ '@types/node': 24.9.1++ '@types/[email protected]':+ dependencies:+ '@types/unist': 3.0.3++ '@types/[email protected]':+ dependencies:+ '@types/unist': 3.0.3++ '@types/[email protected]': {}++ '@types/[email protected]': {}++ '@types/[email protected]':+ dependencies:+ '@types/unist': 3.0.3++ '@types/[email protected]': {}++ '@types/[email protected]':+ dependencies:+ undici-types: 7.16.0++ '@types/[email protected]':+ dependencies:+ '@types/node': 17.0.45++ '@types/[email protected]': {}++ '@types/[email protected]': {}++ '@ungap/[email protected]': {}++ dependencies:+ acorn: 8.15.0++ [email protected]: {}++ dependencies:+ string-width: 4.2.3++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ normalize-path: 3.0.0+ picomatch: 2.3.1++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@astrojs/compiler': 2.13.0+ '@astrojs/internal-helpers': 0.7.4+ '@astrojs/markdown-remark': 6.3.8+ '@astrojs/telemetry': 3.3.0+ '@capsizecss/unpack': 3.0.0+ '@oslojs/encoding': 1.1.0+ '@rollup/pluginutils': 5.3.0([email protected])+ acorn: 8.15.0+ aria-query: 5.3.2+ axobject-query: 4.1.0+ boxen: 8.0.1+ ci-info: 4.3.1+ clsx: 2.1.1+ common-ancestor-path: 1.0.1+ cookie: 1.0.2+ cssesc: 3.0.0+ debug: 4.4.3+ deterministic-object-hash: 2.0.2+ devalue: 5.4.2+ diff: 5.2.0+ dlv: 1.1.3+ dset: 3.1.4+ es-module-lexer: 1.7.0+ esbuild: 0.25.11+ estree-walker: 3.0.3+ flattie: 1.1.1+ fontace: 0.3.1+ github-slugger: 2.0.0+ html-escaper: 3.0.3+ http-cache-semantics: 4.2.0+ import-meta-resolve: 4.2.0+ js-yaml: 4.1.0+ kleur: 4.1.5+ magic-string: 0.30.19+ magicast: 0.3.5+ mrmime: 2.0.1+ neotraverse: 0.6.18+ p-limit: 6.2.0+ p-queue: 8.1.1+ package-manager-detector: 1.5.0+ picomatch: 4.0.3+ prompts: 2.4.2+ rehype: 13.0.2+ semver: 7.7.3+ shiki: 3.13.0+ smol-toml: 1.4.2+ tinyexec: 1.0.1+ tinyglobby: 0.2.15+ tsconfck: 3.1.6([email protected])+ ultrahtml: 1.6.0+ unifont: 0.6.0+ unist-util-visit: 5.0.0+ unstorage: 1.17.1+ vfile: 6.0.3+ vite: 6.4.1(@types/[email protected])+ vitefu: 1.1.1([email protected](@types/[email protected]))+ xxhash-wasm: 1.1.0+ yargs-parser: 21.1.1+ yocto-spinner: 0.2.3+ zod: 3.25.76+ zod-to-json-schema: 3.24.6([email protected])+ zod-to-ts: 1.2.0([email protected])([email protected])+ optionalDependencies:+ sharp: 0.34.4+ transitivePeerDependencies:+ - '@azure/app-configuration'+ - '@azure/cosmos'+ - '@azure/data-tables'+ - '@azure/identity'+ - '@azure/keyvault-secrets'+ - '@azure/storage-blob'+ - '@capacitor/preferences'+ - '@deno/kv'+ - '@netlify/blobs'+ - '@planetscale/database'+ - '@types/node'+ - '@upstash/redis'+ - '@vercel/blob'+ - '@vercel/functions'+ - '@vercel/kv'+ - aws4fetch+ - db0+ - idb-keyval+ - ioredis+ - jiti+ - less+ - lightningcss+ - rollup+ - sass+ - sass-embedded+ - stylus+ - sugarss+ - supports-color+ - terser+ - tsx+ - typescript+ - uploadthing+ - yaml++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ ansi-align: 3.0.1+ camelcase: 8.0.0+ chalk: 5.6.2+ cli-boxes: 3.0.0+ string-width: 7.2.0+ type-fest: 4.41.0+ widest-line: 5.0.0+ wrap-ansi: 9.0.2++ dependencies:+ base64-js: 1.5.1++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ readdirp: 4.1.2++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ uncrypto: 0.1.3++ dependencies:+ mdn-data: 2.12.2+ source-map-js: 1.2.1++ [email protected]: {}++ dependencies:+ ms: 2.1.3++ dependencies:+ character-entities: 2.0.2++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ base-64: 1.0.0++ [email protected]: {}++ dependencies:+ dequal: 2.0.3++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@types/estree-jsx': 1.0.5+ devlop: 1.1.0+ estree-util-visit: 2.0.0+ unist-util-position-from-estree: 2.0.0++ dependencies:+ '@types/estree-jsx': 1.0.5+ acorn: 8.15.0+ esast-util-from-estree: 2.0.0+ vfile-message: 4.0.3++ optionalDependencies:+ '@esbuild/aix-ppc64': 0.25.11+ '@esbuild/android-arm': 0.25.11+ '@esbuild/android-arm64': 0.25.11+ '@esbuild/android-x64': 0.25.11+ '@esbuild/darwin-arm64': 0.25.11+ '@esbuild/darwin-x64': 0.25.11+ '@esbuild/freebsd-arm64': 0.25.11+ '@esbuild/freebsd-x64': 0.25.11+ '@esbuild/linux-arm': 0.25.11+ '@esbuild/linux-arm64': 0.25.11+ '@esbuild/linux-ia32': 0.25.11+ '@esbuild/linux-loong64': 0.25.11+ '@esbuild/linux-mips64el': 0.25.11+ '@esbuild/linux-ppc64': 0.25.11+ '@esbuild/linux-riscv64': 0.25.11+ '@esbuild/linux-s390x': 0.25.11+ '@esbuild/linux-x64': 0.25.11+ '@esbuild/netbsd-arm64': 0.25.11+ '@esbuild/netbsd-x64': 0.25.11+ '@esbuild/openbsd-arm64': 0.25.11+ '@esbuild/openbsd-x64': 0.25.11+ '@esbuild/openharmony-arm64': 0.25.11+ '@esbuild/sunos-x64': 0.25.11+ '@esbuild/win32-arm64': 0.25.11+ '@esbuild/win32-ia32': 0.25.11+ '@esbuild/win32-x64': 0.25.11++ [email protected]: {}++ dependencies:+ '@types/estree': 1.0.8++ dependencies:+ '@types/estree-jsx': 1.0.5+ devlop: 1.1.0+ estree-util-is-identifier-name: 3.0.0+ estree-walker: 3.0.3++ [email protected]: {}++ dependencies:+ '@types/estree': 1.0.8+ devlop: 1.1.0++ dependencies:+ '@types/estree-jsx': 1.0.5+ astring: 1.9.0+ source-map: 0.7.6++ dependencies:+ '@types/estree-jsx': 1.0.5+ '@types/unist': 3.0.3++ [email protected]: {}++ dependencies:+ '@types/estree': 1.0.8++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ strnum: 2.1.1++ optionalDependencies:+ picomatch: 4.0.3++ [email protected]: {}++ dependencies:+ '@types/fontkit': 2.0.8+ fontkit: 2.0.4++ dependencies:+ '@swc/helpers': 0.5.17+ brotli: 1.3.3+ clone: 2.1.2+ dfa: 1.2.0+ fast-deep-equal: 3.1.3+ restructure: 3.0.2+ tiny-inflate: 1.0.3+ unicode-properties: 1.4.1+ unicode-trie: 2.0.0++ optional: true++ [email protected]: {}++ [email protected]: {}++ dependencies:+ cookie-es: 1.2.2+ crossws: 0.3.5+ defu: 6.1.4+ destr: 2.0.5+ iron-webcrypto: 1.2.1+ node-mock-http: 1.0.3+ radix3: 1.1.2+ ufo: 1.6.1+ uncrypto: 0.1.3++ dependencies:+ '@types/hast': 3.0.4+ devlop: 1.1.0+ hast-util-from-parse5: 8.0.3+ parse5: 7.3.0+ vfile: 6.0.3+ vfile-message: 4.0.3++ dependencies:+ '@types/hast': 3.0.4+ '@types/unist': 3.0.3+ devlop: 1.1.0+ hastscript: 9.0.1+ property-information: 7.1.0+ vfile: 6.0.3+ vfile-location: 5.0.3+ web-namespaces: 2.0.1++ dependencies:+ '@types/hast': 3.0.4++ dependencies:+ '@types/hast': 3.0.4++ dependencies:+ '@types/hast': 3.0.4+ '@types/unist': 3.0.3+ '@ungap/structured-clone': 1.3.0+ hast-util-from-parse5: 8.0.3+ hast-util-to-parse5: 8.0.0+ html-void-elements: 3.0.0+ mdast-util-to-hast: 13.2.0+ parse5: 7.3.0+ unist-util-position: 5.0.0+ unist-util-visit: 5.0.0+ vfile: 6.0.3+ web-namespaces: 2.0.1+ zwitch: 2.0.4++ dependencies:+ '@types/estree': 1.0.8+ '@types/estree-jsx': 1.0.5+ '@types/hast': 3.0.4+ comma-separated-tokens: 2.0.3+ devlop: 1.1.0+ estree-util-attach-comments: 3.0.0+ estree-util-is-identifier-name: 3.0.0+ hast-util-whitespace: 3.0.0+ mdast-util-mdx-expression: 2.0.1+ mdast-util-mdx-jsx: 3.2.0+ mdast-util-mdxjs-esm: 2.0.1+ property-information: 7.1.0+ space-separated-tokens: 2.0.2+ style-to-js: 1.1.18+ unist-util-position: 5.0.0+ zwitch: 2.0.4+ transitivePeerDependencies:+ - supports-color++ dependencies:+ '@types/hast': 3.0.4+ '@types/unist': 3.0.3+ ccount: 2.0.1+ comma-separated-tokens: 2.0.3+ hast-util-whitespace: 3.0.0+ html-void-elements: 3.0.0+ mdast-util-to-hast: 13.2.0+ property-information: 7.1.0+ space-separated-tokens: 2.0.2+ stringify-entities: 4.0.4+ zwitch: 2.0.4++ dependencies:+ '@types/estree': 1.0.8+ '@types/hast': 3.0.4+ '@types/unist': 3.0.3+ comma-separated-tokens: 2.0.3+ devlop: 1.1.0+ estree-util-is-identifier-name: 3.0.0+ hast-util-whitespace: 3.0.0+ mdast-util-mdx-expression: 2.0.1+ mdast-util-mdx-jsx: 3.2.0+ mdast-util-mdxjs-esm: 2.0.1+ property-information: 7.1.0+ space-separated-tokens: 2.0.2+ style-to-js: 1.1.18+ unist-util-position: 5.0.0+ vfile-message: 4.0.3+ transitivePeerDependencies:+ - supports-color++ dependencies:+ '@types/hast': 3.0.4+ comma-separated-tokens: 2.0.3+ devlop: 1.1.0+ property-information: 6.5.0+ space-separated-tokens: 2.0.2+ web-namespaces: 2.0.1+ zwitch: 2.0.4++ dependencies:+ '@types/hast': 3.0.4+ '@types/unist': 3.0.3+ hast-util-is-element: 3.0.0+ unist-util-find-after: 5.0.0++ dependencies:+ '@types/hast': 3.0.4++ dependencies:+ '@types/hast': 3.0.4+ comma-separated-tokens: 2.0.3+ hast-util-parse-selector: 4.0.0+ property-information: 7.1.0+ space-separated-tokens: 2.0.2++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ is-alphabetical: 2.0.1+ is-decimal: 2.0.1++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ is-docker: 3.0.0++ [email protected]: {}++ dependencies:+ is-inside-container: 1.0.0++ dependencies:+ argparse: 2.0.1++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@jridgewell/sourcemap-codec': 1.5.5++ dependencies:+ '@babel/parser': 7.28.4+ '@babel/types': 7.28.4+ source-map-js: 1.2.1++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@types/mdast': 4.0.4+ '@types/unist': 3.0.3+ unist-util-visit: 5.0.0++ dependencies:+ '@types/mdast': 4.0.4+ escape-string-regexp: 5.0.0+ unist-util-is: 6.0.1+ unist-util-visit-parents: 6.0.2++ dependencies:+ '@types/mdast': 4.0.4+ '@types/unist': 3.0.3+ decode-named-character-reference: 1.2.0+ devlop: 1.1.0+ mdast-util-to-string: 4.0.0+ micromark: 4.0.2+ micromark-util-decode-numeric-character-reference: 2.0.2+ micromark-util-decode-string: 2.0.1+ micromark-util-normalize-identifier: 2.0.1+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2+ unist-util-stringify-position: 4.0.0+ transitivePeerDependencies:+ - supports-color++ dependencies:+ '@types/mdast': 4.0.4+ ccount: 2.0.1+ devlop: 1.1.0+ mdast-util-find-and-replace: 3.0.2+ micromark-util-character: 2.1.1++ dependencies:+ '@types/mdast': 4.0.4+ devlop: 1.1.0+ mdast-util-from-markdown: 2.0.2+ mdast-util-to-markdown: 2.1.2+ micromark-util-normalize-identifier: 2.0.1+ transitivePeerDependencies:+ - supports-color++ dependencies:+ '@types/mdast': 4.0.4+ mdast-util-from-markdown: 2.0.2+ mdast-util-to-markdown: 2.1.2+ transitivePeerDependencies:+ - supports-color++ dependencies:+ '@types/mdast': 4.0.4+ devlop: 1.1.0+ markdown-table: 3.0.4+ mdast-util-from-markdown: 2.0.2+ mdast-util-to-markdown: 2.1.2+ transitivePeerDependencies:+ - supports-color++ dependencies:+ '@types/mdast': 4.0.4+ devlop: 1.1.0+ mdast-util-from-markdown: 2.0.2+ mdast-util-to-markdown: 2.1.2+ transitivePeerDependencies:+ - supports-color++ dependencies:+ mdast-util-from-markdown: 2.0.2+ mdast-util-gfm-autolink-literal: 2.0.1+ mdast-util-gfm-footnote: 2.1.0+ mdast-util-gfm-strikethrough: 2.0.0+ mdast-util-gfm-table: 2.0.0+ mdast-util-gfm-task-list-item: 2.0.0+ mdast-util-to-markdown: 2.1.2+ transitivePeerDependencies:+ - supports-color++ dependencies:+ '@types/estree-jsx': 1.0.5+ '@types/hast': 3.0.4+ '@types/mdast': 4.0.4+ devlop: 1.1.0+ mdast-util-from-markdown: 2.0.2+ mdast-util-to-markdown: 2.1.2+ transitivePeerDependencies:+ - supports-color++ dependencies:+ '@types/estree-jsx': 1.0.5+ '@types/hast': 3.0.4+ '@types/mdast': 4.0.4+ '@types/unist': 3.0.3+ ccount: 2.0.1+ devlop: 1.1.0+ mdast-util-from-markdown: 2.0.2+ mdast-util-to-markdown: 2.1.2+ parse-entities: 4.0.2+ stringify-entities: 4.0.4+ unist-util-stringify-position: 4.0.0+ vfile-message: 4.0.3+ transitivePeerDependencies:+ - supports-color++ dependencies:+ mdast-util-from-markdown: 2.0.2+ mdast-util-mdx-expression: 2.0.1+ mdast-util-mdx-jsx: 3.2.0+ mdast-util-mdxjs-esm: 2.0.1+ mdast-util-to-markdown: 2.1.2+ transitivePeerDependencies:+ - supports-color++ dependencies:+ '@types/estree-jsx': 1.0.5+ '@types/hast': 3.0.4+ '@types/mdast': 4.0.4+ devlop: 1.1.0+ mdast-util-from-markdown: 2.0.2+ mdast-util-to-markdown: 2.1.2+ transitivePeerDependencies:+ - supports-color++ dependencies:+ '@types/mdast': 4.0.4+ unist-util-is: 6.0.1++ dependencies:+ '@types/hast': 3.0.4+ '@types/mdast': 4.0.4+ '@ungap/structured-clone': 1.3.0+ devlop: 1.1.0+ micromark-util-sanitize-uri: 2.0.1+ trim-lines: 3.0.1+ unist-util-position: 5.0.0+ unist-util-visit: 5.0.0+ vfile: 6.0.3++ dependencies:+ '@types/mdast': 4.0.4+ '@types/unist': 3.0.3+ longest-streak: 3.1.0+ mdast-util-phrasing: 4.1.0+ mdast-util-to-string: 4.0.0+ micromark-util-classify-character: 2.0.1+ micromark-util-decode-string: 2.0.1+ unist-util-visit: 5.0.0+ zwitch: 2.0.4++ dependencies:+ '@types/mdast': 4.0.4++ [email protected]: {}++ dependencies:+ decode-named-character-reference: 1.2.0+ devlop: 1.1.0+ micromark-factory-destination: 2.0.1+ micromark-factory-label: 2.0.1+ micromark-factory-space: 2.0.1+ micromark-factory-title: 2.0.1+ micromark-factory-whitespace: 2.0.1+ micromark-util-character: 2.1.1+ micromark-util-chunked: 2.0.1+ micromark-util-classify-character: 2.0.1+ micromark-util-html-tag-name: 2.0.1+ micromark-util-normalize-identifier: 2.0.1+ micromark-util-resolve-all: 2.0.1+ micromark-util-subtokenize: 2.1.0+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ micromark-util-character: 2.1.1+ micromark-util-sanitize-uri: 2.0.1+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ devlop: 1.1.0+ micromark-core-commonmark: 2.0.3+ micromark-factory-space: 2.0.1+ micromark-util-character: 2.1.1+ micromark-util-normalize-identifier: 2.0.1+ micromark-util-sanitize-uri: 2.0.1+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ devlop: 1.1.0+ micromark-util-chunked: 2.0.1+ micromark-util-classify-character: 2.0.1+ micromark-util-resolve-all: 2.0.1+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ devlop: 1.1.0+ micromark-factory-space: 2.0.1+ micromark-util-character: 2.1.1+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ micromark-util-types: 2.0.2++ dependencies:+ devlop: 1.1.0+ micromark-factory-space: 2.0.1+ micromark-util-character: 2.1.1+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ micromark-extension-gfm-autolink-literal: 2.1.0+ micromark-extension-gfm-footnote: 2.1.0+ micromark-extension-gfm-strikethrough: 2.1.0+ micromark-extension-gfm-table: 2.1.1+ micromark-extension-gfm-tagfilter: 2.0.0+ micromark-extension-gfm-task-list-item: 2.1.0+ micromark-util-combine-extensions: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ '@types/estree': 1.0.8+ devlop: 1.1.0+ micromark-factory-mdx-expression: 2.0.3+ micromark-factory-space: 2.0.1+ micromark-util-character: 2.1.1+ micromark-util-events-to-acorn: 2.0.3+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ '@types/estree': 1.0.8+ devlop: 1.1.0+ estree-util-is-identifier-name: 3.0.0+ micromark-factory-mdx-expression: 2.0.3+ micromark-factory-space: 2.0.1+ micromark-util-character: 2.1.1+ micromark-util-events-to-acorn: 2.0.3+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2+ vfile-message: 4.0.3++ dependencies:+ micromark-util-types: 2.0.2++ dependencies:+ '@types/estree': 1.0.8+ devlop: 1.1.0+ micromark-core-commonmark: 2.0.3+ micromark-util-character: 2.1.1+ micromark-util-events-to-acorn: 2.0.3+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2+ unist-util-position-from-estree: 2.0.0+ vfile-message: 4.0.3++ dependencies:+ acorn: 8.15.0+ acorn-jsx: 5.3.2([email protected])+ micromark-extension-mdx-expression: 3.0.1+ micromark-extension-mdx-jsx: 3.0.2+ micromark-extension-mdx-md: 2.0.0+ micromark-extension-mdxjs-esm: 3.0.0+ micromark-util-combine-extensions: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ micromark-util-character: 2.1.1+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ devlop: 1.1.0+ micromark-util-character: 2.1.1+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ '@types/estree': 1.0.8+ devlop: 1.1.0+ micromark-factory-space: 2.0.1+ micromark-util-character: 2.1.1+ micromark-util-events-to-acorn: 2.0.3+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2+ unist-util-position-from-estree: 2.0.0+ vfile-message: 4.0.3++ dependencies:+ micromark-util-character: 2.1.1+ micromark-util-types: 2.0.2++ dependencies:+ micromark-factory-space: 2.0.1+ micromark-util-character: 2.1.1+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ micromark-factory-space: 2.0.1+ micromark-util-character: 2.1.1+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ micromark-util-symbol: 2.0.1++ dependencies:+ micromark-util-character: 2.1.1+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ micromark-util-chunked: 2.0.1+ micromark-util-types: 2.0.2++ dependencies:+ micromark-util-symbol: 2.0.1++ dependencies:+ decode-named-character-reference: 1.2.0+ micromark-util-character: 2.1.1+ micromark-util-decode-numeric-character-reference: 2.0.2+ micromark-util-symbol: 2.0.1++ [email protected]: {}++ dependencies:+ '@types/estree': 1.0.8+ '@types/unist': 3.0.3+ devlop: 1.1.0+ estree-util-visit: 2.0.0+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2+ vfile-message: 4.0.3++ [email protected]: {}++ dependencies:+ micromark-util-symbol: 2.0.1++ dependencies:+ micromark-util-types: 2.0.2++ dependencies:+ micromark-util-character: 2.1.1+ micromark-util-encode: 2.0.1+ micromark-util-symbol: 2.0.1++ dependencies:+ devlop: 1.1.0+ micromark-util-chunked: 2.0.1+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@types/debug': 4.1.12+ debug: 4.4.3+ decode-named-character-reference: 1.2.0+ devlop: 1.1.0+ micromark-core-commonmark: 2.0.3+ micromark-factory-space: 2.0.1+ micromark-util-character: 2.1.1+ micromark-util-chunked: 2.0.1+ micromark-util-combine-extensions: 2.0.1+ micromark-util-decode-numeric-character-reference: 2.0.2+ micromark-util-encode: 2.0.1+ micromark-util-normalize-identifier: 2.0.1+ micromark-util-resolve-all: 2.0.1+ micromark-util-sanitize-uri: 2.0.1+ micromark-util-subtokenize: 2.1.0+ micromark-util-symbol: 2.0.1+ micromark-util-types: 2.0.2+ transitivePeerDependencies:+ - supports-color++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@types/nlcst': 2.0.3++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ destr: 2.0.5+ node-fetch-native: 1.6.7+ ufo: 1.6.1++ [email protected]: {}++ [email protected]: {}++ dependencies:+ oniguruma-parser: 0.12.1+ regex: 6.0.1+ regex-recursion: 6.0.2++ dependencies:+ yocto-queue: 1.2.1++ dependencies:+ eventemitter3: 5.0.1+ p-timeout: 6.1.4++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@types/unist': 2.0.11+ character-entities-legacy: 3.0.0+ character-reference-invalid: 2.0.1+ decode-named-character-reference: 1.2.0+ is-alphanumerical: 2.0.1+ is-decimal: 2.0.1+ is-hexadecimal: 2.0.1++ dependencies:+ '@types/nlcst': 2.0.3+ '@types/unist': 3.0.3+ nlcst-to-string: 4.0.0+ unist-util-modify-children: 4.0.0+ unist-util-visit-children: 3.0.0+ vfile: 6.0.3++ dependencies:+ entities: 6.0.1++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ nanoid: 3.3.11+ picocolors: 1.1.1+ source-map-js: 1.2.1++ dependencies:+ '@astrojs/compiler': 2.13.0+ prettier: 3.6.2+ sass-formatter: 0.7.9++ [email protected]: {}++ [email protected]: {}++ dependencies:+ kleur: 3.0.3+ sisteransi: 1.0.5++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@types/estree': 1.0.8+ estree-util-build-jsx: 3.0.1+ vfile: 6.0.3++ dependencies:+ acorn: 8.15.0+ acorn-jsx: 5.3.2([email protected])+ estree-util-to-js: 2.0.0+ recma-parse: 1.0.0+ recma-stringify: 1.0.0+ unified: 11.0.5++ dependencies:+ '@types/estree': 1.0.8+ esast-util-from-js: 2.0.1+ unified: 11.0.5+ vfile: 6.0.3++ dependencies:+ '@types/estree': 1.0.8+ estree-util-to-js: 2.0.0+ unified: 11.0.5+ vfile: 6.0.3++ dependencies:+ regex-utilities: 2.3.0++ [email protected]: {}++ dependencies:+ regex-utilities: 2.3.0++ dependencies:+ '@types/hast': 3.0.4+ hast-util-from-html: 2.0.3+ unified: 11.0.5++ dependencies:+ '@types/hast': 3.0.4+ hast-util-raw: 9.1.0+ vfile: 6.0.3++ dependencies:+ '@types/estree': 1.0.8+ '@types/hast': 3.0.4+ hast-util-to-estree: 3.1.3+ transitivePeerDependencies:+ - supports-color++ dependencies:+ '@types/hast': 3.0.4+ hast-util-to-html: 9.0.5+ unified: 11.0.5++ dependencies:+ '@types/hast': 3.0.4+ rehype-parse: 9.0.1+ rehype-stringify: 10.0.1+ unified: 11.0.5++ dependencies:+ '@types/mdast': 4.0.4+ mdast-util-gfm: 3.1.0+ micromark-extension-gfm: 3.0.0+ remark-parse: 11.0.0+ remark-stringify: 11.0.0+ unified: 11.0.5+ transitivePeerDependencies:+ - supports-color++ dependencies:+ mdast-util-mdx: 3.0.0+ micromark-extension-mdxjs: 3.0.0+ transitivePeerDependencies:+ - supports-color++ dependencies:+ '@types/mdast': 4.0.4+ mdast-util-from-markdown: 2.0.2+ micromark-util-types: 2.0.2+ unified: 11.0.5+ transitivePeerDependencies:+ - supports-color++ dependencies:+ '@types/hast': 3.0.4+ '@types/mdast': 4.0.4+ mdast-util-to-hast: 13.2.0+ unified: 11.0.5+ vfile: 6.0.3++ dependencies:+ retext: 9.0.0+ retext-smartypants: 6.2.0+ unified: 11.0.5+ unist-util-visit: 5.0.0++ dependencies:+ '@types/mdast': 4.0.4+ mdast-util-to-markdown: 2.1.2+ unified: 11.0.5++ [email protected]: {}++ dependencies:+ '@types/nlcst': 2.0.3+ parse-latin: 7.0.0+ unified: 11.0.5++ dependencies:+ '@types/nlcst': 2.0.3+ nlcst-to-string: 4.0.0+ unist-util-visit: 5.0.0++ dependencies:+ '@types/nlcst': 2.0.3+ nlcst-to-string: 4.0.0+ unified: 11.0.5++ dependencies:+ '@types/nlcst': 2.0.3+ retext-latin: 4.0.0+ retext-stringify: 4.0.0+ unified: 11.0.5++ dependencies:+ '@types/estree': 1.0.8+ optionalDependencies:+ '@rollup/rollup-android-arm-eabi': 4.52.5+ '@rollup/rollup-android-arm64': 4.52.5+ '@rollup/rollup-darwin-arm64': 4.52.5+ '@rollup/rollup-darwin-x64': 4.52.5+ '@rollup/rollup-freebsd-arm64': 4.52.5+ '@rollup/rollup-freebsd-x64': 4.52.5+ '@rollup/rollup-linux-arm-gnueabihf': 4.52.5+ '@rollup/rollup-linux-arm-musleabihf': 4.52.5+ '@rollup/rollup-linux-arm64-gnu': 4.52.5+ '@rollup/rollup-linux-arm64-musl': 4.52.5+ '@rollup/rollup-linux-loong64-gnu': 4.52.5+ '@rollup/rollup-linux-ppc64-gnu': 4.52.5+ '@rollup/rollup-linux-riscv64-gnu': 4.52.5+ '@rollup/rollup-linux-riscv64-musl': 4.52.5+ '@rollup/rollup-linux-s390x-gnu': 4.52.5+ '@rollup/rollup-linux-x64-gnu': 4.52.5+ '@rollup/rollup-linux-x64-musl': 4.52.5+ '@rollup/rollup-openharmony-arm64': 4.52.5+ '@rollup/rollup-win32-arm64-msvc': 4.52.5+ '@rollup/rollup-win32-ia32-msvc': 4.52.5+ '@rollup/rollup-win32-x64-gnu': 4.52.5+ '@rollup/rollup-win32-x64-msvc': 4.52.5+ fsevents: 2.3.3++ [email protected]: {}++ dependencies:+ suf-log: 2.5.3++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@img/colour': 1.0.0+ detect-libc: 2.1.2+ semver: 7.7.3+ optionalDependencies:+ '@img/sharp-darwin-arm64': 0.34.4+ '@img/sharp-darwin-x64': 0.34.4+ '@img/sharp-libvips-darwin-arm64': 1.2.3+ '@img/sharp-libvips-darwin-x64': 1.2.3+ '@img/sharp-libvips-linux-arm': 1.2.3+ '@img/sharp-libvips-linux-arm64': 1.2.3+ '@img/sharp-libvips-linux-ppc64': 1.2.3+ '@img/sharp-libvips-linux-s390x': 1.2.3+ '@img/sharp-libvips-linux-x64': 1.2.3+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.3+ '@img/sharp-libvips-linuxmusl-x64': 1.2.3+ '@img/sharp-linux-arm': 0.34.4+ '@img/sharp-linux-arm64': 0.34.4+ '@img/sharp-linux-ppc64': 0.34.4+ '@img/sharp-linux-s390x': 0.34.4+ '@img/sharp-linux-x64': 0.34.4+ '@img/sharp-linuxmusl-arm64': 0.34.4+ '@img/sharp-linuxmusl-x64': 0.34.4+ '@img/sharp-wasm32': 0.34.4+ '@img/sharp-win32-arm64': 0.34.4+ '@img/sharp-win32-ia32': 0.34.4+ '@img/sharp-win32-x64': 0.34.4++ dependencies:+ '@shikijs/core': 3.13.0+ '@shikijs/engine-javascript': 3.13.0+ '@shikijs/engine-oniguruma': 3.13.0+ '@shikijs/langs': 3.13.0+ '@shikijs/themes': 3.13.0+ '@shikijs/types': 3.13.0+ '@shikijs/vscode-textmate': 10.0.2+ '@types/hast': 3.0.4++ [email protected]: {}++ dependencies:+ '@types/node': 17.0.45+ '@types/sax': 1.2.7+ arg: 5.0.2+ sax: 1.4.1++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ emoji-regex: 8.0.0+ is-fullwidth-code-point: 3.0.0+ strip-ansi: 6.0.1++ dependencies:+ emoji-regex: 10.6.0+ get-east-asian-width: 1.4.0+ strip-ansi: 7.1.2++ dependencies:+ character-entities-html4: 2.1.0+ character-entities-legacy: 3.0.0++ dependencies:+ ansi-regex: 5.0.1++ dependencies:+ ansi-regex: 6.2.2++ [email protected]: {}++ dependencies:+ style-to-object: 1.0.11++ dependencies:+ inline-style-parser: 0.2.4++ dependencies:+ s.color: 0.0.15++ [email protected]: {}++ [email protected]: {}++ dependencies:+ fdir: 6.5.0([email protected])+ picomatch: 4.0.3++ [email protected]: {}++ [email protected]: {}++ optionalDependencies:+ typescript: 5.9.3++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ base64-js: 1.5.1+ unicode-trie: 2.0.0++ dependencies:+ pako: 0.2.9+ tiny-inflate: 1.0.3++ dependencies:+ '@types/unist': 3.0.3+ bail: 2.0.2+ devlop: 1.1.0+ extend: 3.0.2+ is-plain-obj: 4.1.0+ trough: 2.2.0+ vfile: 6.0.3++ dependencies:+ css-tree: 3.1.0+ ofetch: 1.4.1+ ohash: 2.0.11++ dependencies:+ '@types/unist': 3.0.3+ unist-util-is: 6.0.1++ dependencies:+ '@types/unist': 3.0.3++ dependencies:+ '@types/unist': 3.0.3+ array-iterate: 2.0.1++ dependencies:+ '@types/unist': 3.0.3++ dependencies:+ '@types/unist': 3.0.3++ dependencies:+ '@types/unist': 3.0.3+ unist-util-visit: 5.0.0++ dependencies:+ '@types/unist': 3.0.3++ dependencies:+ '@types/unist': 3.0.3++ dependencies:+ '@types/unist': 3.0.3+ unist-util-is: 6.0.1++ dependencies:+ '@types/unist': 3.0.3+ unist-util-is: 6.0.1+ unist-util-visit-parents: 6.0.2++ dependencies:+ anymatch: 3.1.3+ chokidar: 4.0.3+ destr: 2.0.5+ h3: 1.15.4+ lru-cache: 10.4.3+ node-fetch-native: 1.6.7+ ofetch: 1.4.1+ ufo: 1.6.1++ dependencies:+ '@types/unist': 3.0.3+ vfile: 6.0.3++ dependencies:+ '@types/unist': 3.0.3+ unist-util-stringify-position: 4.0.0++ dependencies:+ '@types/unist': 3.0.3+ vfile-message: 4.0.3++ [email protected](@types/[email protected]):+ dependencies:+ esbuild: 0.25.11+ fdir: 6.5.0([email protected])+ picomatch: 4.0.3+ postcss: 8.5.6+ rollup: 4.52.5+ tinyglobby: 0.2.15+ optionalDependencies:+ '@types/node': 24.9.1+ fsevents: 2.3.3++ optionalDependencies:+ vite: 6.4.1(@types/[email protected])++ [email protected]: {}++ [email protected]: {}++ dependencies:+ string-width: 7.2.0++ dependencies:+ ansi-styles: 6.2.3+ string-width: 7.2.0+ strip-ansi: 7.1.2++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ yoctocolors: 2.1.2++ [email protected]: {}++ dependencies:+ zod: 3.25.76++ dependencies:+ typescript: 5.9.3+ zod: 3.25.76++ [email protected]: {}++ [email protected]: {}diff --git a/apps/test-site/pnpm-workspace.yaml b/apps/test-site/pnpm-workspace.yamlnew file mode 100644index 000000000..824cdfa32--- /dev/null+++ b/apps/test-site/pnpm-workspace.yaml@@ -0,0 +1 @@+minimumReleaseAge: 720 # 12 hoursdiff --git a/apps/test-site/public/example-large.pdf b/apps/test-site/public/example-large.pdfnew file mode 100644index 000000000..4aee9612f--- /dev/null+++ b/apps/test-site/public/example-large.pdf@@ -0,0 +1,19638 @@+%PDF-1.7 %����+31258 0 obj <</Linearized 1/O 31261/H [ 22442 24922]/L 4797775/E 295792/N 816/T 4718845>> endobj+31289 0 obj <</Size 33455/Filter/FlateDecode/Type/XRef/Index[31258 2197]/W[1 3 1]/Prev 4718845/Length 4181/Root 31259 0 R/Info 31257 0 R/ID[<69a7e501673149688256d9952d103e4b><019aa81fb3768a7366043de80ac0009e>]>>stream+x���?�9���~�-�kKQt���93s�̙9g�˯�R��+Z�m$�V���Zbocic��D����H�+>/�wN��<����͛�y���}����⛷o�O^���x����z���{�s{M�X^��}���?��W��O_��z�o�畿��W���_��������_��O�����_�Ї_ �R��w���O�y�3�������|����?�yϛ?���筼G�Lޑ/���������������k������z��F�&�f���|H�U�M>,�.�!�)���� ��d�E�$Ye�]�9�*��Ҥ�#�+�'�����w����� ��Q�1�q������������|J~V~N~^~A~Q~I~Y~E>-�*�&�.����o���7������+���|`>0������|`>0������|`>0������|`>0������|`>0������|`>0������|`>0������|`>0������|`>0������|`>0������|`>0������|`>0������|`>2���G�#���|d>2���G�#���|d>2���G�#���|d>2���G�#���|d>2���G�#���|d>2���G�#���|d>2���G�#���|d>2���G�#���|d>2���G�#���|d>2���G�#���|d>2���G�#���|d>2���G�#���|d>2���G�y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`��y`�����|b>1��O�'����|b>1��O�'����|b>1��O�'����|b>1��O�'����|b>1��O�'����|b>1��O�'����|b>1��O�'����|b>1��O�'����|b>1��O�'����|b>1��O�'����|b>1��O�'����|b>1��O�'����|b>3����g�3���|f>3����g�3���|f>3����g�3���|f>3����g�3���|f>3����g�3���|f>3����g�3���|f>3����g�3���|f>3����g�3���|f>3����g�3���|f>3����g�3���|f>3����g�3���|f>3����g�3���|f>3����g����|a�0_�/�����|a�0_�/�����|a�0_�/�����|a�0_�/�����|a�0_�/�����|a�0_�/�����|a�0_�/�����|a�0_�/�����|a�0_�/�����|a�0_�/�����|a�0_�/�����|a�0_�/�����|a�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd�G�yd��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb��'�yb�2_���W�+���|e�2_���W�+���|e�2_���W�+���|e�2_���W�+���|e�2_���W�+���|e�2_���W�+���|e�2_���W�+���|e�2_���W�+���|e�2_���W�+���|e�2_���W�+���|e�2_���W�+���|e�2_���W�+���|e�2_���W����|c�1ߘo�7����|c�1ߘo�7����|c�1ߘo�7����|c�1ߘo�7����|c�1ߘo�7����|c�1ߘo�7����|c�1ߘo�7����|c�1ߘo�7����|c�1ߘo�7����|c�1ߘo�7����|c�1ߘo�7����|c�1ߘo�7����|c�3ߙ��w�;���|g�3ߙ��w�;���|g�3ߙ��w�;���|g�3ߙ��w�;���|g�3ߙ��w�;���|g�3ߙ��w�;���|g�3ߙ��w�;���|g�3ߙ��w�;���|g�3ߙ��w�;���|g�3ߙ��w�;���|g�3ߙ��w�;���|g�3ߙ��w�;���|g�3ߙ��w�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�yf��g�ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^��ya^������`~0?�������`~0?�������`~0?�������`~0?�������`~0?�������`~0?�������`~0?�������`~0?�������`~0?�������`~0?�������`~0?�������`~0?�������`~2?���O�'����d~2?���O�'����d~2?���O�'����d~2?���O�'����d~2?���O�'����d~2?���O�'����d~2?���O�'����d~2?���O�'����d~2?���O�'����d~2?���O�'����d~2?���O�'����d~2?���O�'����d~2?���O�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�ye^�W�����b~1��_�/�����b~1��_�/�����b~1��_�/�����b~1��_�/�����b~1��_�/�����b~1��_�/�����b~1��_�/�����b~1��_�/�����b~1��_�/�����b~1��_�/�����b~1��_�/�����b~1��_�/�����b~3����o�7����f~3����o�7����f~3����o�7����f~3����o�7����f~3����o�7����f~3����o�7����f~3����o�7����f~3����o�7����f~3����o�7����f~3����o�7����f~3����o�7����f~3����o�7����f~3����o�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ycޘ7�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�ygޙw�����a�0�?������a�0�?������a�0�?������a�0�?������a�0�?������a�0�?������a�0�?������a�0�?��ϻ��IV2+endstream endobj+31260 0 obj <</Filter/FlateDecode/Length 2395/P 0/S 6191>>stream+x��W}PT�����v�~���.��,�(XW!�pw�Z�VWEA����6�UI4j�}d�&�Є��(�J�!�����!��kB�����h�%�DS5�v�i�i���#�q:�?�9���;���w� � A� �5�69`�O` � �Kw�0��?ξkfᑎ$��#W�K��0d?��E����2��d��M� ���8�� y��7�y�+MQ�X����O��1�2��*������Dx�8Ȏ���ih���X,��$.o��e�V\Z.���'�=��xc�`H��O'=4���H_^op�7������; ^k�1 A�T�Cs()^v'8䈩���B��M�j�Ex�d�C=����H����˼t��͖j�(^f9R0�xح���2�i��g�d�CuEao�<\��#�"ZsF�,����)��q� v1~@2*�S,��+~+N�yt�__ G-��+ ��HѰ^�*�/cO�괐�����ڍ8P�q��%M`v�'|Q��7g�O�Y!�EY���} VW�&�c:�l �9����;[),+YƸ����hZ�+�*$� ��r�� ����e���;}���b�$�ר�(|?de��ިN[uJX �9���C���*�BSh�%�]�%���A���0D�Y=m1iS�&�,��� ��/qu��csD��ؘFP���<'-�P��Qﲙ�fP?>e�,*>fa�6o���`qשn+�[��h��@�G�8�U���Z�m'xc"��o(����%+�Rd:r=���S�y�}�6�]�2EP,�ymm܇tU�AK%�_�#�H���I�:TA�nu���K�ɮâ7&Ȭ�T9�B!�w�u�G+���+�sA��Q�w2)��`���,9���p H1���]/�jqY���xӕ�Z���+�'�/��o�e��N]�!�./����Z�2���WPH�:�"p\� Wc� =�Wt+ka�7��%�����)Z�U]���L2�e��R�Uy����A�� �>cbI�%�[ ����u�u�փ��#�%�B ��62�ۍ���J�;�!��^�����hvQ��Z ;�^�Iz�< ���Jf�Ħa�[<>�!Ǯb�#��T ����[A_І��:��4<Cr�+DŽ"]j��G� 8"�a���ɕL�ҭ�?�%���p+�L��@� ���A�{�y�y��H�=��ł w��i5n@uEL�:�l�+��t(�yi�a�3��<��Ģ8�J���Fp|0�(* �K�9: ��x�[�+7X2��'`�4q�YK겵z�ʇ�'`M���ܧ{y�R��`�j�v|f���߹^�!͉͟�#E��]JN !�>�i�e�܄�j�TK�\)e+k�o[GГ�R��`�?�.�C�4���.�z�b)��=�۰�7�+�v��H���O����g�h���$��$#�D�o��7�y��kë��|t'�0�^�N�>ʽC�H&U�/Wݢ�VJ3��u�}Gt�h�T@�}�Hlg��MGԃ�Kˌ^�^�<�ǠQ�8�j��Q�2!+��u���6e��u�1�D�����mPϢ�xN��I��ף��ۮ>�4��C}�� �:��͔�&�O��`�4�}���>�?��'s����`̗ܽd�C�*�������l� ��v}#:O���^pßX���W�i���?c}��Z���y~y��X�U�B�>��,C�]Z=;�W�g�b��E�O��&��53�D�UBB�}�B�ň��+��'�"p�Ef>���.�.ͥ�B�M����a���z�>h��-����Z�4 ����4�9�l��ym7ZBf�+6B�#M�N�"�Y�N���N!)ϲ��ȘzL�ܾ)� ���C�3+L��/�Bش1E~ld ���RJt�6�eP���f���N��k a�~�5����as[��t�����nm\�ؔo�c�[��k&��GN6'�w��+���^�� l��:٬���v��6gB���Y�Tzm�hz),Z�!;�C'��}�z���y&{ͽ��yn����C�5�l��_n��Mݬ���-�po>_3�/d G��p��mwu#�eI�`��Ohz�C�q�9=ǡ�8�����@q�65��s��Z �����8�5>��~�WQc�'.�1y�+�6�˵��ʻ���������5����5�(9��>�� ��+�'\/, Z\��iN�]l�I�v��Mמ���ζZS���6梳�֞���2L��|�r���Ν��*g�es���(u�-�ȹ�����O)1��g8�F��w6���;�9��ng+k:��s��as�������|�����ΆaS��hG�k��a�����hz����m4\���1�na�3f���+endstream endobj+31259 0 obj <</Type/Catalog/Pages 31256 0 R/PageLayout/TwoColumnRight/PageMode/UseOutlines/ViewerPreferences<</Duplex/DuplexFlipLongEdge>>/Outlines 31290 0 R/Lang(en-gb-oxendict)/Metadata 2525 0 R>> endobj 31261 0 obj <</Annots 33450 0 R/Type/Page/MediaBox[0 0 595.2755 841.8897]/Resources<</XObject<</I1 31263 0 R>>/ProcSet[/PDF/Text/ImageC]/Font<</F29 33451 0 R/F28 33452 0 R>>>>/Parent 31256 0 R/Rotate 0/Contents 31262 0 R/CropBox[ 0 0 595.2755 841.8897]>> endobj 31267 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1125/N 100/Length 3395>>stream+xڵ[ˮ���Y&A����/� @� 1�,�@�d,@��:��>U�C�ϐ=��m��9�����SKX���Ki�HK�쫼��}EK��^YJ���±�JᾪK�W�jKu�CXb�ٗq�ؗ+S����(�|IKl|Y�Y|�J��/eI���d}�-��_��o+�����d��+����)Ϳ���˲PL}��ĺ���8��J���-��!��Z��T�1�)-��e^+��R8�J�j��KUc���E\+e�$}�v)rX$���q�H���I�hj-��k�Q�,f�P�J-ŗj�V�}�l���m�����R��5d-Ϳ�@���L�kͮT"3|�ZYZ�.1��R�_���mY�Fݰz�V�uV�ҸC����ڒ��:DQ/ ��[C�,T���f�ι��O7��>��<�F��*;�������}%�X�����J�Zw\V�X�s�C���qU2�j��+nl�qՄ1��� _mS��ɢ�)W��j3��)�����MҽV�S���wQ\ ���⚣�Zqյ�*�Z�q�!� οz�w�z7t�T�͕������]ťȎ�ZR�$�Y��{�JI]{�曷����?������×��{���˚s���x�/͑��w�~������~k_}�����>}|9||���߿���v��{���%������%�������� M?n���/�?=�������� #�Q��>�{�}����&�Q�j1�Ƌ��5;VG`�������G>|;%�F��#��$hK"ۭ�yR�dd���)����t5�H�l��{+�0G��Bh�d� !x�4�\~��x��|/k��+�<��e]p�2�qY���p�c:��H�}]��u���<GͫQ�'#ϺU��#š�L]D��+; ��BBaPH��U!tq95���x��\����W���\��պ�Zp�<树++�B��)��ZXI���Z��i*w8�T-�I�5j�u�:�Q��D�"�(�� ����A����[�;��x��S}���b�4�,|��6Ф�f�����Qjz& %��>J���T�tD�Hs���P�<�n�R��eZ+ O���d��C�uN���z�T��N�S��R� LBa���d-�v+Sr�^3��������-�U�w�<��d���K0Vӎ<�h�Gq@����G�x�G(β�����}r�D�S�7.���&�m��b�e*�4*m�FE`�:�A�������-��g6�Z��T<⟽(m�KQ+��E�+xW�c�e��b�� ����R �cF*��"�{Kc�GF�1�ZK\QxIK�w_Of��RZ�r��v�QPF��Fz�1�~g.cy�N,\�v��~�e0ı릆��<B!O�'��w���+@�gK�z��+�}MT��D@(,�1�P �ju� �C%��<,Y��S٭m���F�5���� �M阳����r�����9�\���ԙ�z0�l0&�no���~�l�n�Ҟ,2�����62V����L���6؞q;�k�����/b9��QeU�8k��W���U�7�W<w��(�̈�:B�N6P�ڨfR���X�L�I�,�t�� A���Z�'ⱏN6���3]�]Ym:�]����֜aI{��F(���42��4K�+ls{�n���ɒ��Lv�sq�B��j��)�͙��e�:�-� 1%� ,�Ka�}����KO;b���������aXx��X�Դ|*����,��a/H�7�rJ���������.Բ�T��~ u�3��\�91O����~辬�Bۉ���(%d^ ��1+ 2�� ���>9�yݷ�/,+ ��9�1v���'Ӥ���§�D�y����J��3�9��[ � �LjЃ���nj�B��|5�j�͉Z9��s[���F�'��)(���B���H.�������f�u�Ǵ�V<%/q�{���'�g��o���ϖ�vt�/1� &_���� t��myj�z�� ���-U�#Oz﹌㎌X2{u���WѦ�� ���"x&-F����Uޡ�53A��D���3<���"Q�̐��^�����߯��M'����E��k����ӯg �} �ɮ�\��'�r����X��tr�*~EU�ި�捻ǫ{ytGi�rf;A�y�5�g�����{����";j���W8L���wξ�ԊA?(n���?|x��_�����/;��KwN7ζ���N����}tǬ7���l~ݷ�eG��#�VD;_:����c�����8ݱa���E]��.֟�uҊ;��O�<�p�Y� ~�?�_�c�}-8�4C z¢��-Z�UZ�G%�%��O��ȧ�<&�8uk'8L�`,���.�2O;i�m��)>m��2��-:� ���!P�*+P���7LJ��и�x��Ti��\ U��������Qc�Ois�Hx�����[֣q�M�],z�ʣG�uv*��$���{2�m�N+�a� Q��?�zC;�WѼ����6�@�����;ѕ,�?x8�Q��:�Gm�C��h�#�����w�ۓU�01S��� :u�_��v �-�؟���w��p@2����\�=1�#�c���c��W¤Ju���F���S,��ImfC�>qfWV\�eAXL�%�`k:ō��jU�Z[�2 f;��>�~Xє���В���F��⏃g������9��2�:y�@�YP�YP�9�aWg0_A $[E�(s����Cƺ/���gf��sV�nx��w�sZ�9��V~�t�� Qj�e��ay=�����w��V�T����X�x\b���8��� ���.Sf8��+>��@�b�-�c��i��C�s��#}P�Nh�o����+�!����30�5�wf9m�Wx�`oƜ�e��,�.�K���l�<��+����Ɓ1��́��.�#8<���y�sp^gw�]#�>�@��Ƙ˸�!���we�G3�- s���K�X>�L�ہ��9t��~ș|�{�X2�X�{ �ǝ)�֫��<��c����;�2B�Y�`��C�+�H0c�|���q��/�Fp�Y�sp����9d��I�l%2�,7�ޯ"���Ƭ%uN�o�xl�T+C.�ͤͩ�y��g�'�] $��V�R��L��,ǝ!������9\��� �IŜV�9�|�ig���z�}�q����9h�ݵx��U��+d�\Viݧc��p���4v��������0����Σ՛ � 1�M+o~����6>���l'?�|b���+��]��i��m�磊��SH��a��Vi0ï�3��L�]%��o)�l��Xo���[��cL�?k��|Ί����<���o� ow���7���K0�1��5��u�+endstream endobj 31268 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1123/N 100/Length 3130>>stream+xڽ�͎#� �_�^ �") �e���`��!?�Ì�`v��CQr[��J��'L[����H�?*u�!��mA^�&?td�Q�Ѓ�p�tD[��#�{�-��i�.����C(��sro�ut"�2��3���#�q�)�!m�^���kq�ۂ��.��2�n����o�H|�U�C�H�@>��^~"��;�:�[FTt/�R!3�Y��DG�w �az-���.%29��+��3(��$W� nun�6+��0oDAE�Q,�e��$=��T��g�꧸qz�e�T/���q��n�6n'���t[N?E������Gc�;��bVw@�{��P|��1n �?`���i�R�袣��ށ��]�F�e���b��LU��f���r+��(���݊S�T/�t��tX��;��fqL�Y<�e�kʛz ����e��⋊��+)��}�7�\���n��t�a� ��ʊ�j~ю����E.p��{H\�#r��>"}�j�(rU��b����.��2��CW��D��q�F�"�����x"�@)[��M*W�ʓ��H"�|����=��?��ׯ��|��忈"� ���8�gYe�9�����?�?Q�~����ϯe�+��~����o_�.Φo���+���/~�r��^X����_[h��?��������_+���e+ Z� Ă�՟?���/�}m!����'}[�`y���-���wc��Z4Ex��`����w��ǫ��'�W���B.�)A�r([���o�=],��w6;��>`��Mb�QX��jq���"SPQ�U,A�Ήԏ�+N��P��P�,Z >�Vm�W�+l7�z�YBu�7��H �L?3�"f:�'$�"يLG"�(�$�{�Ϣ^ &�8"���E��.W4@>YW�(%Ձ�++�����`+�|JGZ�T�A���VPY�IyE3�q�>��,�Nd�"��H�H��2� 3��Y�̾�����묆b2c��RJ1h�הR�*�!�T���E�R�NC��b�3��������=����ΨBY�/*�\�mY�%j�(u7C)�{�`Ȥ�R>��·>�шU�״#�p�-hIy��R+�蝪�>�?f=�#����3�S�HҢ,������t���Lz �����KT�W�KFb��g]�A�#��O�"ur�@�)�!]T%��E=���#��Rrw+ٻ#(��i�h$�k�#���7��^4��������Ф:��X�5����L0?"M�u�78"�c]���CV�feq߬��q�#.R���QVi�PQ�8�5;p�2�Nx��oU��wI�3J�sKu���"b,5I+�G� -�\Q_��j�W]��g_����0���t9�Uk��-�{�3�����E��Jh:��V�����T<KX�VVZ�5�ަ�*+F�ql���_�����c��fC�v}���l�������q� A�yF`��ZG�/�#�<�y[�����qhS0�'�6Z�wg_6<�)�8�r⒓���|���hi�M`S*� �V���,#��0b���?���]� �hJ���8�h6Ap�5+t���F���k�{G=��e��'���J�a�}���.�"�9�ȥ�F��3VN �.Ψ�`��pg�WC��K_��ءLdl�Ur4� ��+�8�ip���<)���$7��r��̝,���Q�%A�t ��뮦�No�S�T���31���R߄�]o|�h�d�h�L#}�m�(ZpG�)��|!�%�#0� yEd�`b�[j�Y)��뭱ׅ���n&�m3Gp+np�K�FF���_�Y�E>fÃ�l�~�F��9����\�6o\�f� +.,h �5TB��E���(�wx��ntaEZ���l�:���pE��+����'�|�lv�%Њ-�U�H��ڬ�2z�.��n�^����7�+i���)C�����`��`7_B\�NR�w#F�al�Қ���Ԛ���$�:�SB^Ӎ���^��4���?�3Э�p���߆����ґ�)e����|t}�.��iN�Gω6� �9w�m-�]�"etz�Q�G�h� �5c\�\^�.|Z���7��.�k´"$i�&��quSڍ�քy��G�p�e�f\ff����сVyUaJ�v��������;x�+9���V(�塾c���B�#0����������r+np?�w�٘l̳�����l��s.�f��+.,�G��9�>l��l��������w̉ #�WDi�����9ۮ�"�h��@[���.�W'ٌ@������9-e�K�wP\�NR��#v�" �wPZ����s:����lN���g����9W6��n�u��"��{��Z�� �k��Dx�Ɠ��f�5 [J�(���x���Úg���n挻�O��q͘���=�͜�S�y��E�0S<��� �J�m��e��Q�x����s�����q�7��u7s�]w3W[lO��p='U���x�Z�����g{r9�]`9 ��s˪�ig���MzH�;���Jɥ�r��5����)�<�#��XW�z�M���f�>F�,z�}tF�9���M��+ی�=�yV��Z�k�#�|Г�� �'�EM�B�w��<�5�~,�W��H���Tb�����7��>~s�;Mټq��sLohO��=����G�G"͈�*㳃�kyJ�崇`��+q��<�s�<����gZ@;�Aq�Fx���e�������w��8�9�G��n^o�����Vx�6;��mg��]6�+ș�u<�]܅֣�e�|݃zOˁ��&�D��<[C�c~{b�f��G>�}y���͕iޫ����)���A��rZ�6�%{P�\�>@˕���dz�t�m$���·i��+�\X��U�i�4�2h���O�E����'���(L\M�/Ka>�k[�?�:�j<�̙p.=������S��Հ�h�'�v�vrz~ ?�BM��eW9%>B1G��d��$��R<�*�&!��5����οT8=�Lɮ��� DI_a�bG�D�&~�$X1�@)O�O�>����@���p�Ir�$�����+endstream endobj 31269 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1125/N 100/Length 3315>>stream+xڽ�[������@XKU*I��KB�BXBra�陆@H`s��S٭r[���p�3j���T��J2DlKX��"��RH�Z0YC����bߠPj���P�f 1E���$7d�B�)i���J�L!V� ���$M)��9$~�6)�E�%$�֬!�Z��,��/�5���mr��)C� %����m�f���x��j h� =�����i Xl�)��5S`|kB���^#T�"�s�p��[B�Ѯ[֎S�~ �@)�( B�f+��� U<``I��@g��Pb�f �}���Y;�J6��JA�c(�(�P�M�Pc�&��3��*�]e%�h���b�,��dž-����y�Z��ci`���hپ�!4jv�VA�s��� ��%�E)ؓY+(+�Y-�l���\�+��g���)6%�N&g���:�}��E�@is��l�Y���$��EEM,��ZƏ4%/�o��aI�D&�������/,�����ms� &����̍���^S�"fXM¬z��*�LVL�����{�^"��g֩��&��@�W�ƚ"�om���~�������߾���{��+�2�@Z�o � K�x�l,Gi��Wb�J,GFYR�������o�Xx�K��w�y��1S���?�����������ȝ� ����u���;���ł�?�J9nT�r�tF���'E���>v�#A�pF���L� .�9�q�(�9���3��I٭�L=)G��� x�|FRESXkHn}9�B��r'����rckq��i錶1�S~et�[,�i�/��]��[*�~�����\��;�abdD�*�pג�M�X�� `��Pq@8:Tu�$ZπRB�E�Td/?J���ng\ݧ���|ʼ6�O����[�$�;���&@WzQ=���/Xڧ2F�T#c��-���� �+[˗7��@GΒ��nt錎�� �c��x�nџ)ɑ5�hz"�֭ԕ��H����H#_�~�������e�I0ȃ��B�'yN{9�����֜���j>#�U��vO���l<��_��y�\�ne�����WzV?��h�y����b��)��j�Z4؈x����jm�5��$7릠�������{��w_�#~����Ҟ*��K�B29�`ZQ�G���tb����<��&�b"���H�q 1��h<��-~���z\p����ހ���k��� 65����zp��!�䆰ruB&s����^������Œ>��,�M��>q k��S+s97K�/;C[��H���G��)�Me��}?��������xG�DԾ�/x�#���}��4�B�>��t�T����z�|���1��#ɺf���f�8R�e?&�X\��ɳ�n&��$�9�=So.�C�2J(i��5��>)�=#A�R��F�c[�3��H ��$)��ѓЌ�t��1�����ob���KuR�"��@����L�3����g��ܻ����f,R��R�E��l�R�+���I�N.g��uůHR���=')����|�+�J���F��T�E�F�f�=4y�����s�ޒ"X����� \�&'����].����yy�>I��9yL�_�<�$�D��}��G&�͙V�=���i0�<!yߝʜf��Cj�a�i��NuN�&Պ��zW��伖����i�����/Z�*���� xo��9,s-L�"�*9I��s�ۚ��z62��}������ �Z����-CKr�p.��ڑ$��y襝�~�E�J�H4q���$i�O������ 9rJ���&+*+|��U�Un�����G�GR�ܹ_���������nYq������iN��dn�T���� �#�kP �xXo�������_���@o1KV��E�/��Z��L�z��s�������R����-�.��'�"Q�z��4%��� 7����9Y� �<˂�P��4D����0Ɛ��2��T�Șt�e^+ˮ���l�{�ZZ�ǹy�){=�^�d�m�x�Y��EAi>G��rL3�x��&�\t�n{ ��Y7��aF�;ǰb;�;���8E��'�r�u�ͨ͐�Q���J�y7�[��7��S��%�2Ҍ�v*)_����,ѯ����8uF�\s/���y�[�}P�L$� �Ŝ{x��j�[�w6�|b�>o�:u������?�`�2:�r�)��������#Q�~}7.�|���9O:�A�����ɴ�>�yO��l��;~�'P���F"���y�`X�lu�i.��n垽��i·ߕu]����·&,�K�Dw��I,{��aN�w�(��9L�W^��}-���i����ҽ�|�,%���9i�w4�u��.��y���L�B*/OtŞ���{�L���v�̝Gz�o��{�\f}���Q_6+�,��� �n_ {O��&�,���}$>d=�+�8���mFG���r�I�#�y�S�w�2c-;V�ْ�+ʞ�_F;�{?Oq6�~J���g���͎��T��{|����Ig���H�#/�{����|�(a�|�o�8�WH�g��s r�ް��Y ��|�OyΒV��B��F��ʌ| �A��^�h����z�a��A��(Ü2����AeN���aM��>F��#�"�(��Z�Q�9��B^}��:I^��[��.�f�$�+���G�XF���js>���E c�~�G��� �qf��'K��MR;��7�x�q�ݓ?�H>��8g�}�w>8ᤁS��_�*����3��k�Nj2O�5b���r����fAN�k�]$�� ����)>��idѽ%�M^��(o1�S�V�G��cO�9��VJ���|��Im��t�x}���i�.��|�a+m�9-���a�tˌ����?��f��}�*4g��u�YDU��W{� ��O��J�����j�z�Q�jw_���A}FT|*uΔ�O�eV�Hyѓ��b��lޠTnK��d�n���[�֍��b�J����L�Jq� i��3�vR�+>N�eNV����C�,����������T�s�zG8d�z�p���7���Qf}���\}�i��4��j�ҝ��l���w����9k�Y@�q�N�h�׳<]�iu���ǡ�s��'�U`�@��e�\>�<�J~�}���{�F�l� 8��;�=����� Z��oVu�ff��w����3Λ�<3ף��:�#Q-sz�Df�:�M�=&��Ec@�vy��z��V�~PK<y�ټ�W���s�lWyf-�n��$k{�� ��ި�v���� �ov"b��Qܽ�0*�{�a}��� �:V�[�2�0�+endstream endobj 31270 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1131/N 100/Length 3142>>stream+x�ś݊��_�/֒J% ��I�U���|p.v{f�@H`�&��SU���w[���!;#wk��J���6�X�i���v�K�Z�����g�M̵�첵x*�����f�\�g�\��)ϳ���)��[�O~��!LbM�|��o�|l��䙣5��3�f�|)���H���O��Ϝ�Q�����eN>H�MA-����D.:k�D�+k�����扒�}�DņdU���B�Em4���"E�dM�b��^y����+���L�ن�1U9�2�.�4�<q�6��1o�Oɑ�7�)��2Y���,�)q4��R]Ai1�Y��럕)��^&�̔j�M�+�)����>��8g3��FF�$TWH�+����TW��TJm+��]� Yi����6e�麙Sm��sU�Eg��Eh��*�h�l+�s��ߊr�Jڪ�'��b�����X���}d\���!��]�/�z%Ѷ�+zW�ȸ�Tb���2nh�Y��d{O�qC��+f�B�k7�:�$��\�#�&*C���K���,�|�l\1NG�L�D��I��{O�q�${���8W��A��� g7�\�ȸ1���2nL���qcn�qŸ�X2.�c���ӟ����!��@�O�N���t|����,�H����^�[�MTN�'��M�嫿H�+_>�����?�����?}���?�>��>����2�4�����ў�����4(�_�ܲ�� �7.�z�=]��!wL~�$c�H�U�d���(�*�/-�ߤ�'�y��(f6Ǘ��q'����!wq� ��f�تF�W����> =�G>��-_�d�2y�$�#��A�y>���(����/��F� �O��Iӈ�l��E~�S�j騳E�^����k�D����<��%�(�!��d�x�w�m�����#��HZ3H8�2��DX Q������u�5(����u8�_�(4J�.��'���]|�j%Him�{�a���ucް⽈d�mD[i��@�y��W�&�+�SnD5Ia����!���<P�/+��E13~5�z�0)�)-�>)�����-��:�M�-x�m�xXg9+���� 'rQ���C�э�Lu������?ڮJ���>�����[���skDU��F�)�$B$F$?��=RX�:������Hg+I��T��p3�>����GdN+�̩g�kf�R����4�ܑ��p�X�$��*#,�_SiZ����R���,�K�1��y�w���.m�]1�f�������4�bj^�,= /*�i/�c�L��ۦ���+������'�ω�Pm��:����#�F��$��r�@��ns�����jB���/���П�Y��D���=��PS�C�0"��_];d�ˎI�v��4b�s��K����i'9D.�(�=��j���*���x�I^Md�^�����4��c�ri4��|l5`.�2�#�ˣ�����<���-��N�]���#��|�7Lѡl�:��W����vs�8m���R.I�fJ�Qۻ�2Z2!=��}*U_�V�-�I�ʅ;���+��c|�~D�F����eszn9C���9ݡYz��� ��i����N#G&��?�Ure3��h��I"��<G���m���Z�^�r�3�m[���يFegF}�W���ь�����r�"�IF�`��1��4b��w�MIŎ�k k���G�(7E�����[H*,��0��/�UV�g���h$���d5�1��d�q�f��7�����5������jnzC �D���Ө�2��DWKvV��:�=D쏠�X��f���j�q��(�5�p~V��g�4 ��m1�3 ��9믴��9 �K�Z},����cڰ�G+��4�=�]lq3�A�iF��B��m,[��ȴ�<]nj�*Lq�v6�.�u�j���V&���,�o�澪�*qN����}U�X�nXs+�#��������]��+X-L��ȗ�-�/��[>|����a�"�w��""$��*���*��\wwP���|�4��2���xlD�*���}��פZ���W+�HѪ�d��[= �=�����˦�NM��.����U�լ��Hg�Q�X?��A��~�;�-���f��&�d���nvR���-��=Y�H� !�$PVX�Na��sOd:z�L���]���^��A�%=g�#)YԢ%JpJ�`sg��G ?C��p�Cqk�Z���:Z��v��f���]��Zej�m�t�R��&C�~�#����J�#��"�J��#�������]U�Ƶ6�����~�t��Y�駇�M�W��4����u���>��D��Cy(o3��l�J��XiK-��>;���0^QٞG�h�y�z�F�6k�t��$z�'�a�齹x.���5e�TZ���}N�y�֖��r/r�n�ỷxx�L�ߊ�c��������>GL>����ҿ-�j���,tAj�ZJ<�$�@�w�^�7Z>����.��1\E�)0N!��Bؼ��i0T�ć�q/�.X$�Fv���Z.����,�ӈ��$?��1���}���[��HM!.!]oJ=C�ܮː|���f��f:%�ŀka*�c���٢�[&����}����mc�Rx�������#*/�X��w̴�s�3�Ν"����#NV%Ft|��ut��bwD��c�p���-�!Fƍ�#F~�T�{�'�v瘚qc��,���?d�i���O^\��]e�u��!,�0��G4�&�9k\Y�� ���`�|�S�|�,1�fDz�����i�����?�ѡz�p����������c(_�X��ѹ1>ף#��%PF���#�gx�1��=�#��y�1��bFB����G=��,H/�GO��1�>�qh =z�#�G<znV��У�C��G�X1��A���С>���<ѡ|v�.-Xh���O ��Qc�#��� ��1>��lB��MxH?�<�?f�8�y�|�C��y�t\�k =svG4�����=�6��x_�@�a��6��������<�P�C<��e31>7�@ξ:�x�4������ǘ.b�>�7�|D���c�<T�#���?�y��ց24�|D�X�<���$ܝd���<�y�i}gFO^��'�b�+endstream endobj 31271 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1129/N 100/Length 3565>>stream+xڽ�͎� �_�/�%��,�� � ��=LwW �; ����m���=�.���ER��)P��yJ�;L@[q��h+M���`�B��)�]��F���0{L�Bl�+?1H3���Tmr?9ڧq+%Gm�)�� SH��)��I?�>�S$��Y5اu��j3�5}�|�=!�P���D��I�%em┪=� a��eց��, ٞP'�Y����z�a��^V�&ELC���4ko'�C� �t�0W{B���5�D!i3��D���� YJQ������%�x��^�X���<q���"�j��)�'�<�B�S�M���Ti*P�6a*d�S)hM6����^��@*$� �T)�JX�Zf}�֪7 [��֤���v7p��Q0�Wi+!����� �e��ͦ0���m3�)�uB�UO,v5����F�M��oL&q�ў��F*��~c�ɑIfD���R�����ߔ��Xm<���2mH<���~S��2�t2S��/� k�����%����_(����b0-���m��,�p�H�<�<_����RB6�@�t�(�]s�}��%26��+�?|���_�y�!�xK�� ��8�M<\3�q�Ⱦ�F����bMα���O���닸�y����~�� X+�����2���ӧ?�r����r폷�}i^�����1OHs��G�M�0�L�w������O�D���Qw����<�5ĖƳ���+}�~x�O�<�1O\G�H\�^�U�$��;+nȠ#�Y֓EO���B��/�sz�f�ij�'L�ª;a�!�X�o&��bǐ3_y���w��"G��<-=��'�h��4��Sm�t�x:�t�1=��ppS�>3���*�s�ǜY8�Lm�@{G�_�_x��-őfOZ��1�V�cf����=��RQ7��1D��ʿ��+�(�%7��S�iM��(� ����Ύ�r�S�N�9w�()���>-<M�=^͎&x��>��4�2�4��7�]�=�xؓ9����H_&�T�'**:k�|��z�IF��K��tJ�y.����T�O�����C�7q�����W,��@yW9 FP0nG�&5��(z^Y���g�ie�2�S�wuY��JBOI���Q�J���g�ˠ��$w�{�x�`��AS坹�1���G�3^�in�߹諼ܩ�-�7�g���1d����F��:�Cյ9�)�Ls>��I��y���ԣ���j?ȳ�����˯_Z�C.��s����o��~�o�1��&3�K���B�]�;v�F�R���M�u��X��,�f�W�@��j���ɬ:��*6����a�NM�] �1�iAoG1��ClA��m��� G�]仵@���"5��(f�`p��YJ#�$)��k�η���;F��7�y�y0��'���HX���(V�>'�՝�6����c=T6�\#X�� �(�T`��lj��<��ڃ��R4�I�:��ڣlMmf|�O^״gƷ'�8�s���#�#ƴ�^O��e��XUOF4��s�s� ���̥��~��WC:�D�!�� �#�����2d7ߏE_V���C-?���u��}���u�/�ұUbul��wI�y�z�Y3 �ٳ��^D+�.�/�4"La������ZE0�bG�f�V�j>X�xYb���݅^��c��,һ�q��:Ϳu�e���h��C�U�D�ԯ%b��Ԫ����U�oG����W��HiH*�KFY�Ǟ4]��b),�ڐJ*SP<bNdJ'vr�����l&��>e�l�\n�����p�g+�nc߭U>u�$e��OvL����2*�M�αZְ�o}y�ȫ�iܑ��j���.w��E��kC �}�ϒ� �e�I���W�I����^;�b-���LZ��˵M��Z/�[�?�Z/��l��]irt�}��F5�es��*H9H��M6�ù���r+�(Aօ?��t�*�z�����@�I�|Z�-��& =6��w����}|OV}\9��"�UZ3�u��/����I��� B��Kih���K}�K�QS�S�;��A��98��ٸ��=�̷ȠUVEQ���kЫ����>�o�Eo�z��7tؓ�!���w�N7�FE�3�콷_E�y�JZ� ���&i�K��\��:�ޓ�0��7��!,8���G����_������KYZ�7<*�dWpCp�o��$?� ��'�A�����P�'`Su�>\�&�`���{jJ�e3���$[�#�)��f�`ۢ坹z�z���5��$D"�����5�����+�ӓ����sz�͚# g��c���O���"�%T3�;�w6.�Sc����m� ��m����f;i�26�|x�&K��4���1�]�s��Q6Q��S�1(�-n��*�r��y�+|P�MP&��] ��On���n'�C��Z܄Z�~��p��Hz�l��v�ຝP0���}A���;���t�K�5��Px�V��#�� ��})75{��K�q�:p���6I�M�q�+C��L����Zz�$;�T�^�ڕ�ϴ��;�1wK�^�t e�DV�d�L�^��_*t|Ͷ�6�G~��4�-��g�y�� �v��R�9�w��eI��>s@:�ۦ��W�x�`�c4�猹�7O��x�~���� _�r �U�Gi�!�Y��N��&�sr��&)�P0N���7J~���0r���$��(�=����Fc,�������uCs���8I� �j��xQ� ���g�CmV_���6>7��nt�k�F���1yN\�>�+�e����|��$���E��K3����������2���� bX��⁽�a*��xޕ�y�Wܣ��0���0J�O|�ť��!������6ώ���ʈ��k�7��3T�S�gsT��Yr0�x��9�4w2�'���q����(�`Rخ�Q �^l�����rj6��O�HgZ'�w����͚���C�e�x��ֻX'�W�nr��[�d�n�������0�nEF�;�)����-�(s�����X&+Z�g� j�����<�=�~�:��<�Yq���ņ��a���@7�y�y�ѱn�d���$n�o��8��~�7���+:�QEg9f�q9Y��W�9�x��������G��W�c-l�{��L�$'��O-w;�����|��ڜ�\���t���J��D^e#�����2f+�E�%����ӣCR�@É�u���쮛��!�C,ˬ�ҡ �m�c��zht���#�����Xd�y,G�+v)a���Wg�<f���1����7�#���1������~s���P��$�v |��u�& pR��I�UݽB�yno:�8�}����YB����]���1���Q�vPu9���C��z�.fS��b�?v[|�-p.��?�+ߖ�hf���Z{��Y���a��^�|�"en6Y�S�\n.[�F��^�u5�r�ȨUG=ɬ.�m���l�-���l��2��k��r~���d "]�N��T�W���V���\mO��N��~L�_++��U�js���U)+endstream endobj 31272 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1133/N 100/Length 3263>>stream+xڵ���#��_�_ L�N�`���\���\�@.fl�����<~J%�V�[����]fFݖ�O�:��b^�uA�7,h-Xxk�"��hI���KX�ޔ% Ek�%�JK�����h3���Z3, k�&,�B��Ś�@�dM^ I����k�`c֦vC�M�FٚA�)�b��I��ąB� �p�/��x�,Ĺv�%2���m��p�C��0�! ,LT�\��\9RmҢ?kC /��MS�!!�f\�6�"\� y�H�5\��d�a�k��Kl�@\bc@Z"�ځ�S��,����qQi־iQ��7/���F뒸�Ձ:���D��K��~�hQ���%c���[�}㒛P��9�1�hs�}uqtU��9h;���ݖ�Q�$�MږP�E1cU&DX�ڪ���͆U7�������7�j�7[�qM�����+���m�D��hm���+�エ�J[DžT9U��Y�u��VgcE��u\�:ߨ�bQ���q��Q�q)��:�.9[��"U�S�YV9D���Y �:���R��qy]k�C���M`���t\����9�9&�c���8��$�Rt���O���?O�Q�'5����&,A DM'�d9h;ˉD�N�v�&'��ښ�JQ����wR�F����jq�e,m�G�>��^�Q�ʈ:�]��9�QD:hOV��#��+�~~��߾��#��X�/*/� ������(L�l]���w�_~�})fZ���鿠l�ǧ����[z&����V��T)����q��tU5�՛+��a�l�Ck�#ꥯ8��@q�x�ߏ!�g����/?��/��j��ח����?�ÿ�}l ��y)��^Hr2�^f�N��9��]��g�}f%�BE;%��:`G5����iC͞:�ԼOMU�j\,��}�w�K/�=;{��:��K�=��j�%���@oc����'O/���{�0�E;����P\5����%�{�+�J������J�SAqS���S)ڞ�K*�&�;~�}b�'�9@?��b�w8�� F~�|%�o���|4��N�������R���x�!�;��r��S�uz:u�����h>'�����X?��K���j�v�O�:5�>f�> m�Q�/��0������[���mK�Ȍ4���7Y贆jP/����Ԕ-iDQ���%�� Z�E�)�UOJ�4EsQ�V�.+��]��� ��ߟC��س2�OG��h��͢l4q�|����������������M_=G*=_��Nj�m"L�t���}m܂�0!a^��>�8�h�Ɉ���9)6�]:��-�-Wʇ� ��O��T�s��(E������5��EO�礼!��^[g��w��'���Dx�V@$��z+a��V0F�+�sZ}!�9)�"��0�O�\��T�S* �3��>6�SQ��^��J^d���y�h����+���J�8 ���s�C�^ ��s��z��6�`�y�����T�2��,�f����Ѳ �,�h�����rO��)oiۂ6��6=P�T�]��a�N�dݒjS������%�^q+);���J�%R��Cb�z3 ����� @���9�ٷ�=G|?�� egC�D���fL*�w��6 sRz)ڌ�6� �h8���6c6�U�h4g�'��砱���6�s��R�<�\�� s�4��h���+;%�?[�v�d[nxY�76�QfZ]���;�,_��������=�:.qѼ��}@C������+Hw�^���N�r�Z�q\���V ߣJ��2��ڽ�Dmd�(+��X����Xa�����^�>�`��X�o���q��p�E�;�#�qp�tM�Wb�GL��*h��t~�g��P��v�{7ofQ�� )��7V�u�>!�#<�hɏE�˖����؉>>!�c�}ֶ#����j<N����#�=�X������ۋ�3]֙�i��=���6߽}�R���V��=�M��2�;,w@d����9��\猷��j���)��c{��`�m�������_aO�K�X�}CfOn�A��덏%����Ųiµ����K>�f�"�hL>n�I��1QO���(�TEy�<�I��8��UԘ��iy_O|ǙZ��L5&A�R��=��R%5��#�U �{\�'�M�y*�f�= �xV��3%3v�|�y!�kl|wX�C��y�Z����X{'!���SP .C�Ap�ײr�9 O+���C�3� ��)`���L��<�L����o�1�˙�������fS��%L�;�e�L�!l(�YAq���OgS�;;�и݃�5�{r�c��2O]=K��g�<qH�L�`c�>k�<q��f+wDB�t|�.��l`´��c��K�1��{,nC-��}����3r�I�,>"��KL��I�砧2�1���9���y��_?�I��c�1Bh�y=ߙvww{�y�l����U�L6�8�'���M�G���Y���H�0�� ��Npg�ds�T�����\����lK&[@�M�� ��G\�#�����/�<9f�����q�����މ�_�.��Ų�G�x�b��L._7��[[wy�ݓ;�=(I��m��}�[��/-o�t~�QS�;��� �c��1=>+l�Ͷ��VTOu��+G(���`��|Cyg�n�銏_qϐ>A}���N������'���B�bσ\��uE.O9��=:�D��/�x��,�|���`�W?u����3���b�p�f�Ӭ4����S�T^ʂz��&��S^Ʋ�]]k��6Y:R��t�?�hI���9h���;��� "���f�cՈ]_?�;[}�ỳ�I��#���#]��5ŝW��s�-����� ���� �'ʐ�X+pl)Ŧ>z�,UU\���\iD.fǸ�T��'�"U1��p������z'��Q�Jj�ڒ�";�n{ �i����1Fsb�������d<tς��������B[ݫ�3���;�럘F�S�'�g�-?>=<֦�H��&�+��k]�P�����-ä^H�^H���E+���Bh� ���#?������W i�r������|p<@W�$���&���]�,��ε�f���N�������l�pV�W9��ʊ�V�W5��ʉ�_��=u�1���܂x}$ �"��<��;�����y0���� ����*�r�R,{�d���B��.+��&��S� �E�C{iԒ�a��mO���Hy�h����{�僐��D��s����{I�+endstream endobj 31273 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1133/N 100/Length 3469>>stream+x��[��#�~�~�0-�A,{�!W!,!90��o�BH`v���*�mUے�3ބ��r��n��˺�|�%0�(.1��`��m��l#Z�/���$�%�\�)K@��˺.�R���I1�0.!�hCX�*?�����c�1�ٴD�:��!,kY�2#à��dCY�.ЛS���W\ N��l�@RD�) Ys&�V2��,�.��BX�Űe[7FX�k#,T����!��ha�"/��HĴ0���eIk����B�k!, *���dl�D�6��0\��5]F����ٴ�X�y�h*,P��`�q]r^��E�l�刌MP���#.r�����z� ��i)�B+��b1��i��NV(FEV����R�T�A c՛�Qo5�-D2n:!�1��I����%�r�k+]��1�(l,t�������]/TB�\�A��J��.�m^�B$�E��X�.p�o��خIBT�:���Eβ�fD��J��lˀ��D��j��̶i��x��Х����ެ����f�K\e��.��m,ty�t���Pw��qX��LU"��)��.g��]���w�}���_�~�DF�I���A\r�?��~c�w|�3b��"u��s,���嬳��g�߾���ϧ|Q$���~{����d�D����U>�Hl����ϧەE���=�bW<%�7~������{K�ȡ#�;rQLK�����/���E!���$��3D�]���y,��c����4�|%���c�C��w?��K�#�����W�ʇ��/��������g�vHI�h�<RrH5�uH5�=FJ�4�N��A�*A5����X�pp~N��}��w�� {�}X8�=�.1���+���w�J��}�=�wou�N9*G(1��h��,����C�TI��b��2>��|3���SoP�n���~�}�;�A �E'oe��Wv~B�Z,1�1��a����LH�b�y��Aq齵f�SP5G������Ies6<q��Ғ<��,i*zBK�0u)�]�n[��S`�N;8st_�z4NO�!���U>.j\"C}";i�@< N!Pw���e@�!H��$- Jȋ$�H�DB��@v�4�h*T��x��Ʈ�9H���W��㤔g[\��8�+�^� �w/��w~��F��b�(�I,6<�.'}�+5��$��|ؽ�X�����B��/���m)����Mɥ�{�{z>���+R>a���6������w�ߓ~R��y�5��5����m��ݣ�%�p����{�����穭W��B3vku�) 3���Y�~js��[��T�"��y�q���o�~��{߅��A5 ���l�j��ۤK��ש��ֳ�"LxGe���6�5օ�����W��p���Rj����h�(��{�替�"�N�S����y�{jMP>zr�7M�����mݾDL�e�W��^��¤&�2���fuN�%�7��\�sFZ�ٶ�_��鰂7��}6��k� h��;jl<��H1�*��`s(��u���r��'�M�-xm��r���O�u��e��l�`��R��n�j�@��bg�m��F���f���G颱n��n�e�Eɛ�E�H1\c��5�;,�K��O��\Pr���uC�»枊�R;kR�76�xBڜ\���p�u��=n~�;k#�h�V�@��5�&�5O�4�BC�:����H�T�����2�'P'W�G�:��8F�:�:�W��emν]�����Ac���#�b/��H����Y��4�?�/������m�h���]:϶��g���Cr>#���#��`}�n�k͐��3��b��۴{�wȽM���.rl����9�V�'k����s�Av�W�Ec�q=�!d\��I�_+�'d^���}\������;Xd���&u#9Ƿ���;;�zvtA�*����H�/m�ny�tеQ�V��p�z�s�ռ������o��/����U���b�]�� U��.١s���.GM{(!U`$�,�����̊�S��#���n��E�sW��+>�8�5���X-�r�و�`��1H���>2�5?���������b+w�T< '4��3��j>�F�O�y��'�����'��2�X�<sdA%����-}Ķ�������П�ay��c�O�E���� y�>�=y�#ID�߁�$��v�^p�G�{�U/_�X��V�<:>�6o �v�]�����˓�>�ru��pj�n�f�Ju�:���<�P}/���,t�#�j����P�����e�������\�3.NTJd�Y5JW�9D4t���E������FH�;�Z]�CC��fu�N��+Z�;pD��:z�*I�������5G���궦8a��e�c�9�G�7��[�·&X'�:���+������ ���e���"��g�7���E������<\O|7YR��zb?�+I�>۸�k���*��s�(K�Y�^�9�/��&�{����-�8P���1�9�Ïr�<���Cr �����H�ۑV�L�+�d�'�'��bi@��S�Up=et�7�u�+���������=�8�Yc�H~g��Fi����4*�'+Dt��z�>���}��<G�/� c�1���L��>��8wˌ�R^�^��N Er�+ ���m]�է�9�����9D_n%_&xЁ�|��ـ�E��f�H�.���u�z�x /�h�n�=%�1�n��L�E�X����S�~����'W�V&�ɷf|����1�M���{/�<���]-���Crѓ}�dsO�΅���G�+�&��c�z�������=7;#���qbt^�}��]o0%��ѩi{+��>�Yz�@�hq�� ��ƻg�o+�G]��QJ�?���g.�a_��y�}?;��ogϻSF=��b��{����컁i� ���g<�;��`���9f��Ufo��,)�J�����1O�$���6?�����'_��],�~O�t�� } ���{h�G����(����{m��a��hz�q�n����q��;���Wb�������w�|@kt��>�+-�C=��������;י`�Ә�g�>���+%�C�_�Hy�+���/��ۚ�Z�n���?1�Yժ��M_���սw�''Q)�᧗J4 !a�^�y�C��*��+���uOv� �4��� 9�Q�y۠��+�}^|{��l (���m������9��w&���Oo�[:��*�8AZ�{���2�0���u��*z�ֿdaO�s����?ä�w/z}���:NÀ]��>�d>���]��[�^(Ңep- �O��g[F�b�^?���[e{$S�뻽�h/�]ކ~c9�<N<k"?N_)�0L��|�8|%�8N����UY��;f t�G�����R�{�ms�����B-$ot������_���/;�7�+endstream endobj 31274 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1130/N 100/Length 2980>>stream+xڽ�ͮ� �_e^���_ �i�UQ\]�w��� (Z 7-�����=�͌O&]�D���G��HJƘs���b�ڂ j'F�-���xʱ�d���V�:E ��4Ed��<EJ�L!LQb�MH�&ؘ,���2�5i�]��4զL jS'HԞ�&( �iO���K7��4>+�o�1+C�n��6m������d� �]�(��7M���d!���D�Ą8QjbL\D)MS#@����/O���W&�6�}� ���&�R��<Il��0 Pk�IP[&�К8�41M���j�ĒL�)�F��:)�:�I9ׁ�˪T�)L��5�b�R�u$��k��d<�ISJP&�Rn�٘9�!l�2H뛦<O�ɒ���aʩ)��d�T;�Y�MH��ƹ7Y�ۣm&b�f\�2�ib3�XF+m�L���]3�H��\�6#k}_�8�RU�����s�b3k۸��Jl\�y����̲ $�)���ŋ��e�mO���#b�۠6.R�c�(g�2I��f�˪,m�L�ڶq��Im۸D�3�Rd��6��k�d�Rnra��%��T�q��~����&������0rnk�f-JhsaO3S3�~���Ͽ|���#��p���kP,B^ �Hl��b��,LY^4�g`���͓IJ6�.W>���/�*�lO`a��G�,�O~�����o�=g����w�_��}Jfe��_��7�_m���~�z�O��g�>�BP�7�,C�_�j�6� pm�(��"��Esi2Tp\��������o��AYGM�b�4WkK�4�+����j�3�+n(A�h��sZ�;֗������-����g�������Ώ+�Tf���<�٦�?u���� ?��z����l>cI���;����z~C��ѼӒ�Wv��� .�+�v�y��x �Ǣ<��W�.�gcX5{.f?2�3pl��C:���Ha���2�،HWn�[0Vƕb���-��ɪ+9y��wk�0��>L�F���uDx �+^MtzO�O,z���e?�A �=m��{�go|�%ͅҘ���d�Ւ8zb��18���6q�\"�^m��/�f�-Y��R�=k<����S���������;V�p���y iI��ź����+���3���?-��r�������j��]-N���=~�O�C�+�W8y`: ό.��a��E���ztɏh�'����S�H'� w���8�p��S`�>�R�y���d����z���d���c=ȩ<vY8փ�� c�#�6)g�b�%ʢlAO?ǧA,�|,HѢA*�W{����]>��� �����.�G[q/�J>64������.��6��Q\�|�� x<�mv��X� #�ɐ�ꓒ��0���.%�.�$Atj�/o&0 ��7˃.�l�^��{�3X���Kf�P_���\��� ���g�e�^.> �")��~�lOI;��i/���u�ea�6~�:2 ��٩��XG���1���uZX`���y�Vm���X��-[_�g�^.%�����B���X��ru�OՓ�����q4S���ŤiY#���V�E�iY����Ap�hZ�ma@�瞕���ˑjL|_1H#���r�M (+{����-�z��֯��(O�����i��֪|}�}RkI�+ޞQe��d��vFֲ�? �g��r��[����lP��7�'�+����<�"�&a���wh]�����ݒ?�I��Q��|ȯ[�s;Y�*��R�I_���|�r�+��JW:��r�3�Z�B��n�w��m->����^��^�Љ ���}��oQؓ�JTO�f�-��*avᡫ��IzH�$���5N?R����ů�'*{��ak,ň����I�>r#�s5�%����I�K��CesP� ����$���6*�o�,�ߎ��\mZ��kR��şM����|����rZ��� ��R��9��L�O���(�-�n"U�WM���[o���>Y�ݣ�\M딽!��V/�x�����+��T5+*����~���}%p�����S��)�X�%�q����D[���C�뵪��+�K ��U����s��9�n�/�n���Dr�����_�pze�{qW�R+&w+�oy�B�X�^a.Q��+,����h���`�7.���Ţ3�[LQ�|m�弤�w�:Zw����R�yܷ(���O����`�]4�>�dP�-��v��,yכ��Z�^�>�d�h���~��op��g��Ϸ�#��kGL���Z#�z�Pv�r��2W���y��x{�;�����q���7�,�.�>��x;u]=�b�����"x� �5`vW��ɍ��e���w6 ,zXމ���+^ `�Vo�I�7t�+U<��)���<�8셼^ù�+G��2�c�Wҧ�i�f6pdyA�e��hL�ː=�^-��AK-����ܶ,�"��b�&9x)r.�ӥ�W�"j��ӻA��@t�sr���O�|�$yg��y�JIz@tN�s�7�-���v�.>��aq�����C�cd7��J_�W�zE��Yw3�ӯ� ����-s=q�{$ܸ�!i�t���p�e��adO0��t:���h�{n�Z'��(n>�e������0� va��T}ڤ�͏�(�-�"�H�^k�q�_~Ÿf��^i�<a�T(��4��A˨�O����6p8�қ�:����F��^UX����˒�j�h���.S�zy�K4���~��ֽ>|j���Y�E�$�ѥ��"f�U����RW>K��4) ^$�"���ݴ��M�x���Y��;3�$�:yڗ�Mk�|{]~\sy�����H,w�S�%��H������S�0Z�����l��9B��n�eV�.��~.q���_E�[����p�-?�뺉���:���1� ��NNY5��YQ�m�g��_��6ko��Z�A�\��0��o}�� u<P|Zs��O���!�d͍�kD�X���� u���+endstream endobj 31275 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1134/N 100/Length 2986>>stream+xڽ[Ɏ�����b�$0�� �c`��s詮0l`�m��*��$SY�����J%�^0vJkY�uA�����#X�5\�G���-/��H��8�P��҆yI���bS�z5��)����CX�h�!. I}H��{y�R���L�>��0���N�f(�Mc�d�|��� }yZ� q�$�2�����&K��`�A�uu�+���k���P�g6;�!,,�1��J����E�&�3���"ؖ��7BP��7��H��ô�J�¢��*.J�<ڮI�yѼ�d�kjWuɩ���fl`�dj�ls���(-9��5si�VIԮ�R�a SN�Y�A�.��K��N4Fdj��u����IL+� �]�&Fr�L��UO�m����nR�lV�S�h�چ�=f[7���v��1��b��_l]�&7�uA��[��붮i��)��i~���K�tͶ@�Z�.*�u�u/���.�Үۺ�u\m]�&�nvj��f(6�ɑ���.�&O�ֈn�f��2����M.�׳�˥�ɶ��f��qn�c�3��sf[W6�ζ����MzƧ�z�uu�C�n���w�}���_�������������3(˳��"l�Q�Fi����V�@O�bW2y�O���w�����~����?�V�c���O�~����:���_�fŔy����<���,�����us�����Gx� ؚ��X!� H�� �`��������W��e�v7P�_��\�N�-����=يu��*+��+e�^;�j�ܱ�б�9{[����y��24סUFϯ��T��<Ή-���&[��/U�e��8T�JlcK+T2�?PЃ��e�TP���9(8�(ҦWZ����rt�M�a�r���Qx��XC+X5v��T�/��Y��>�:r�ު�#��(r�9'�6�ܾ/3<ʈ,F��82�9#~�������u���a$��s��#�ǔ���xZ��s�Cl��F[�%z��_��eͺZ v�|�~j;y�"�ұ��5�.s�z����b,sc�Ǒ��fdp]����O�9wWv����o��&5�2��B�5J.�����Tr���?��ʽ%���D�w������T ����C��EG����ܑ#���&�7�p'(�z�A��Z��n+�7Գ@�����z\-����_~����>o�����6�op�cy��t��+��LG`'�MB+[���WY�}Y��NV��F�ض�ul�^��L6H� H.�q�y'v�b�^������Z�У.6J�*x�c��z�7����Mx6p5Ll��N[h��{��U>7��(��ĩ��^_17?T��8���wm�����C@�_��'�c@��'� 5Y�/��W�w ��xA:y���P��IZ�x�# %��Kc@�k� 8YF ������ �(��2�Z ��tWjc�\���P��V�1vXZ��>�ؑ?��X��-_�K��r�}�ξja���#N��Ӵo��|C���ڧR_���f�}e���k��;lŶWp���.5�~�ǀ��J�~<m���R�:�H3|�up/�G�ZU�f�D�tj��Q_�#�����1��^ ����e2w��3�'��<پX1 �`�g��0�8���_[��(��_t�_�Z[;��|�.�؊�eK��x��)�X�����R_��5����}z�R���K-�&!tZ9��QkJLkX�ט�6��S�co��B:1�����K����ϵy���&���))�w��.�֓�]m�q�s8ɹ'��-��#%.�$.�.�U�ߌ��Ac��m�+!��$���uG_�;�~��P58 �� �*��F�g-���w����/]�M��������V�w]v�Ou:[���?ac ��#R��w�x�k/�ȓ��KJ�D�i�OD9��N�%��Ȥeۂ㙩�%���%�x��ut� A��&^�s������+p�Ƀ��ȉe�WO\A}�zn��)�%!�A�;A��r����!�Aȹ���v�qWc��4�G��n�[��:Q}}��*I�<g�C[$z� �d������5��}=�ܙ{!��D���f�K8����F4����G��Bf��cP#C>^��z��O�=��PW��N�fdCC�b`#��oL林��p�Ԡ� $���*�)<\��O���+Q��(cD]�YL�C��oL��Ǩ������MJ3��S�B�A1�q���xM�6� ��l�5!Ø�fbx �@�t���:�0��Ęƈࡼ��!��+*�����0����y�`>k�x���¾�2�Rn��1B��!7��ڐ�q���oX��C�V){�X���E�'K��p*��M\ƈ������t˥�P�D�c�u?�ү�L�td�1BIӡoN�N�����-��J`L�H������H�r��A�����ƈ�o|�}��f8���+1� ���3�1���#69ܓ�D����H�iN�Ɲ�qStL�<ӄq \O6M���D�!�,cD�������8�~��$�Yx���;Y�X��(>���^�qmek� q[c��4�J��p�� ��y9 �Jc�R;�}v��-ɰ�z4R�x�gi�c�r���z�7>����^ȭ��:����ޣ�����8�Rݐ��"$�%�е9 ��5����k�z�c�����~{�&����A��Ƙ�[�yڳk��+)�Ih�N��h��yG ��_��}z_}�#^l��W$�3"�q"�.u�~�T��KxD�I��)�@pN�V�:!A�|\c����C�b����wo*i��9̀�;���<<n��i3��O=�ˤ�����ѹ��uy�%x�cp���N<� iiG�'g�ix�C�L:��VL� #�N$�g�1 �f4�U�:�-�1�fӡZ���'�c�q5�1���� <��@��d��H�/a�-��b2^�+endstream endobj 31276 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1133/N 100/Length 3383>>stream+xڵ[[k,��+��i�.�`ٗ�<���<�B��cX 임��T��=����m�>�V�h����CY�u�����������d#\�R"و�V�aZB�lüHhò+�R\�%0� ��ZlY%�d��l�K��~���T��Ȇi��� ������mh{B+h�hC��1�PM���u+չ�`� /6LR��B^0�B܂����B�0,dsc\���a!.�[ąr�B��5�!/�_�aZ���ya�uXN�+X.d ,)��� �DT�0�H-UV�RY�^���THK�� �r�T�eɄ����S�ð��u��VY���Q��`� EI��y) �+LKɩN�K)و�5d[�DMV(6E�M�+������MW����`�*< !T] UM��c�Ͱ�)���Id'CƲo�� ��+Zi�r�(K���j���+۾,��\Y˲���%+�K�FS]_��8��+:i�#Hd�j��@�RN�/6Ŗ�6_�E`�1ɾ���d_䪻I��TUO/܉�~�}ie�#&VZl�HA�S�2˾����b`�fٗR��e_*Uٲ��kœe_VCֱ�� ���/���?/�)W�������� ?�A��M�r�K}#Z�U+IX�Y�M��(��ʓX��:�K"�TWN�V������˿��_��˟����˷��ΰ=����$�����ϗ��T�����o�I�����#E��P�W�!1�X�\%�w:��t�ͱw��:��n�5>��GB��$�u=�����V�L$#�ٻ���g� �0F��Cx���b�=������(����뛲m�&.7KH��/�䵄�hE���=��=k�Yf����(5�<E/r��V�U�V�%�D� �i����_!%��u�q� X#~G�\חp��ח�N0�>��O?��%S��������>�������nqh�j��Z��@gm�[[r84s8r����ғ��E�d�$�G�ù�A�^�5�H�b���� �]qQD3�!0x�ǚ��U;x�QWxq�v+X*'Ʃ� �� � �f�5��PԜ�B�a�TB��b����_���z��(3�5e��xt3DL��� �1�9xO�;)���ˏ`�Pc�0i3 I���Q��@��@w�wӁ �w�k~�G����:���ݳ�k����^w��tt�����\`��E˞^�j> g`���Hr߳��}���!nؠ<pϱ������N:������lXZ����g���[�����:ӭw����ի�ڐ�x�߯�[���D��f���,Q��N>Ԅ0'+N����d��<�gw�>Mn��s��E �T�q�`|c�Pt�E��8X>�ÒmQku�ƿ�B�c�|p �,z+��[���@�GKy���������Շ�@���r���D�0E o�Α`�(Z���B~[Z i5⊥�vjz���Ä�zy�:�ꦚ����<"�9�����p��=St�� q'8� V7]�h{#oDۛ�L���O��j�!�8�D{C���覞9�8�@��Y<�$�I���A�G ÓJ�)Hm�� �#�Z�&Cs���T�q���둥�#m�Kkz�����w���s��Q��~�Ӂ�A�:�e��G� }��K s�pۥ<6�+ \�}\mQ�+�������Zj �K�Jʌ�lLV�F�Ƈ�i�O���$�3�\�Y�~Q?���[�Բ22g>q q�H�zL琪�nu-���>��Vj����) ��Y���c�n����_6jDK~4jt�%G7��wȪ%��lt��0����R�S�����I%:܄������U�G�X�A���l��^���0�;|�1�J����F�jR�یbFJ t�dG+��HAw$�u�*�ڣa���З��z�,���F_oB8G �'���W{��U&��b�������ހ���>��{yUn3ӝ��yܓѮ�c�ԡ1ayT7�u�f��~.5A*i�㱯f����� �*���C�f#�rM��o�&#�A�� ��,�c2�9�z��P�W%F��2�v��jMR��n�Q�n��T�ע���э'�QnS�tI]f1�~� ^� �7Ѓ�0/>��ƍ���� �Q}��|\0>L�:�;�2� ��YOO{e8�!Ɍ��d1��<���Ί��ScK�,�<��W�6C_�a��������� "��a�sb:&�N[/"�0}�A�ä��|`:���]O}�A��s�i�1���]z�Υ�S*��y8=��!�kײ��&�V���,¡VRZw��m�]_:\�~g�N�s�C)X���ȡvk�-�\�� �J�Y�(+O:j���z����c�vF�wb�w�&� ���ׯII_�2x'�k)Z��~��{�ΜR-@������}>BɅO��z���mS�Mn�-}���m��HSq�|q��A8�H�Z[�;\�X�w\�'氺t�ҵ��-n��n�t��;��xSUC �x�m5��A>t���0CvE��m� �I-����[�|S�4e�������;����\syՙ�xj�w[��㽣���E�B�G��́�d�9�:�p�2���69��]�X���OO� ��xw��98�Z;(�з��C�J���-�10M�$�R�����l�9�ŃO: �Ζ\�H��4<�ɽ�r�Wc��k~�G+|�X���vUv?SFkS�iz�-���e����g���[�P#Csُ�]F�`o���e�kۭ]���6����Jc�uO�z�}�tQ���g���;�����#�����d$�`�������[_��!=dW}���:�\i|ӿ�a����'��q��!�06(����u�#�����f��rm=�b�;�4ZX���k����C��hv�q9�� �q��+ރ2�c�n�9�T\��>�q�õ���S[�j�Dvf�#z��?���5z�GôΡ�?Wu:��[�[S��6��nM�9��]�Q2�9��M�9��z�3���2;�g�!;��� D2�6��'i2q�~�\'��('��v ͵��쉾��|�I8� =Ԃ�kw�Sp|"�|5�hG�SՆ�'|�9��S�� ȃ��� �+����)�!�I�ϓAET���Oy*�7=b����)��u��⩌ads�j����� �w`���y�T��> �B y���ī��Ïz�29��H"������H�?x�0����kp�R��!0�g 29�e�3� �Al�6�� �CZ]&���4���g|��t8A��'g�A�{=�CA�/ ���fP��S4B~_]����<�v0�9p�x��8����y�"��!e�K���AuV+endstream endobj 31277 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1124/N 100/Length 3078>>stream+xڵ�ݎ� �_e^��H���E����E����P�@NZ��KR�-�g4c{�Eve�}�(������<�� S��Zq��ւ J�É��Es��)�h�4k�)��K�E�4a�� �)�P(S`��0�Tj/N��lM����<��z�!�5� joh�0O1�l�0 �=AIg������'c�u� _��jS��s��T�hq�0�=!� c��8!Rm̆q��h��!�D�L+Q�4�D��g�D�+$�R.�5�U%'�WP����!�9���8g�HS+U �S�\�P��h���D�z1L)�=A�K%�^�D���8�(��&M��(6ҦӔ��5��tc�r� �%̵��p�9b��BU61���\�h*�jG��<���U3�V�Ī6�;�ϳ����a1Ly���2C�� � &�""V�'�Te�� b��_ƍ�c��K��˺��m�qc�|�uW�&ɸb��32.4�~��lYA�q�~W��k˸P�"K2.�d�bB��g�q��w���\�Fl6`�kJz�:�<M��Vޕ��j��KP CL)��/�R��.f(�O?}��/?�q�I�]�'����f��!�q�%3�S��|������P7B����w�_�]5U_���t��i�������GeH}��hM^~����gƓX�7�L)��!k��h�]1�#�Y��I�<�����F"?���Y�Q��K �z��Ap�$�Q� {m����LE|�$J�À�K8��=�p�pH������Ga�y�4�↕%?���8��=Fa$�}<�vz �0�$PF � �83���Չ�|c�I�g�K�:~�{8M�pE�+PQs~ ��+c�mA��`�g~Jo+M�Fa��qJ(�?f in�# ����Iv�AڇĦ��`���v$�_��%�2n84�A��.��j�_c����ٔs��up��}��M=7�4�H���� �Tr�# ���V�<oؼ@�2n(e��Z"����sI'o�̦�+H�G �R#�K �w����?F�����'o�M�&���q��gJ�n��=�l�u��t�=��~%�3�?=8;�k��>F�RGӭf?������k"�^����]T�H#��~3ҿ��*�G���;�~��R��/����$��_������������=��''K{E�El�t�L�/�������=('�BJ��j�ޜmz�C�z��f�.���a洣O\�b�!S�~�ץ��q���C�v[�_��q�Jo�T�WF�bϔז�-�����R5�d�v�>%����V�L�νŸX2���a����הI�t�P��N�;郤(.4:��>n+�&;���BE\�+���}Ceiɶ�Ķ|�ZM��͑]���㹗����c��U�TY�B�8�~�\<���F_��7Q7���b(�[���_5���-˽�$1V�QGR�� ���Z����-i���9i���Hq��L�J�-,yB����|�g�Z���\�ox�Z1�1�-��r m�}�k��>��E k9�e��|��٢9*�e;tOkB�*$��t����l���3mB�B�<���'��N? �H�7�@|�fה�vv� N$�̀/�@�U�?������i�6j�f@���3�a�_�s��A43!Ѩ�]KĜ3� ���U��6�CS��~4�v|s����G��������D�{���>37fW� _D��f��f��A�V⟉u�k��R��$og[���=��G�dh�d�v �c�7ѵ,<I$��� �oDN� �+��wP���#�+@5��<Dv� �A��P8�a�Ǩr��[(�w��#���v�>fa�C�5D;�B��9^B�Ö�7O:8��\Z��8�A������l��W{Py J����� T�k},B܃��Fo�T�aO�`8�<}����cLRߦ,�XX�훟���6�����V1�>���Q|����}LH͞��W'E��1����n�Rv��#�1{\���������+}ή�w7�w�n��b�N���O���+8J���Bg�Z��0��J�e�u:���WKk5��Z�S������Z5b���&����ws6`$�L���������}�۪��Dc`<��&iyf~k�0~D��G+�1>W�.�[3a��<bu�h�@Q�!ZY\�m�-ߋ�6�R\��N��G"JcQ���+wc#�#�+��O�Lj��5�,~��d�|D�2�G �L�[��:+ǾHE~O�#��TvG5q[�'5�M��K�H3��ϊ�VJ�v�Kv�pf�5���їiQ�d��Ω�mZ,�����SV%�2�!���XJ��'��np���![��q�5jMQ�k��w�-W%���ⴊ����z�c�=�qvw���}�d���n'�oV�ٚ����|��c'�>:>��9���`���8���3����)B��n�%�?�Lq��8�~]��q�}\䅣N��B�����=tR=�|!�}tM�������x]D\�����U������՛ە�d�aX5)!\���Aԝ�.М�b��\�.�vy:7Q��v!���ɉ��Ѳ��N��R��k�v�]�1̝��~��u��Ծ;�X��a�>�l��% �{O�;Gԫֆ\օ[�$�H�R��!?�Yt�Z�y^%)n��2�l�����)�q�^�l�'����슄�����77��ϪՉ���`o(e����o�3l��[��mF7����efw�i��'��Li, �}� �����0S��MG�!xHMSC�Q�#��%��41����1&Ĵ*�O+�-�a���~F�<�@�햵�艧��| ����誓8%��6�{tfw���U��З��hh� Ɩp�H���y�ϼ�+9�"��>��;�H�_�c�6}ե�Ke^�U�X�X�X���?���ȑw(���V�N6+.z.�k�X��k�i�s�#����bl̿t[�ոu��D���F��X�^�������+endstream endobj 31278 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1128/N 100/Length 3018>>stream+xڵ�ۊ��@E?`Fqτe_l�d�b���c��������V���e�nU�Jq"22nRR��y"� p�G8P=�If�G<)a=�)��H'�A�M�?�a����yI�� 0�z��C� '��4!��C��C������r=� 5S=L���D� ��낋���P����$���8�z�T��+��v��оf�s�s��ؤA���\�q���&NX��8qN�7#`;�'Ai��$�Uy�I��nn�f$y9!O+Xߥ�W��.^��4���\Y��!O67��LVMB:A�F6/'��� y2�*���R�:�d9U;��Ң��O��]�Y{ם��28j��+6����=�����S�\e�27��FY��S6l�4��+��}s�9�c�v\���]��r��]��rNVM� �r�� V���@�~ �z%?^�� in�\�Ҏ].�'��ll���x��\Ժ���0�-�T@3���|��c�K���.����c�K�u����u\.%k��}ؼ�\�{l�fr��#����yn[���^?�\X��$��1�F s��o[��7��jk��D�}� uK~�ݧ?��執�|/�x#Z����o��EEAox����ͅ���}��g܌�tǤ�)~�����K��N3O����/_�^����_��������O��������?c�1��J*�f���=͘���DN��Ϸ�V��~���>$ B���&~�ux��5b5ܧ����/_��P^��������_�7�c�/�54E=�A�hm�:�7��7:��W����~Y_� ��A/��wGi+�RxV^&c�h�|a,n�(mQ}1��������+hA���K��+5(U��J��?�J�V��d�ܳ�4�Zu��'#�'Q?���������}�6���R�� ��������ԨH:�X���`�]l�p*p� G��;� D/vֈ�"G�����e�#�0!�pZ.t}<"�|��?{݅>��J9x ��&+�}�8�bj1�f�-�v(��y�@>]<\�B$X��B��y�pG�î�龧0؇�L*�:vF��xٲ��C}����R�C���iٛ%�4,Ygmƀ���hr�6�,�4k����F�^yP���+H����#���l��Zm��( jta� �H� (_�eRt^����������r�@,��>��";�3�R��8�&)`�|����}�:̅o�Ι#\A��,�#�m��a�7�+�Q�+�1^JE(��!�V�+�]t�-�\��βW���A)lZ���+GqV��o�8sؼ�*��.�z�]�j%��q)3�5N�tT�|��α���E�O��F�5�!���m��cǸ�J#�#�~1�����4�X�@iLG���f=E�`�H��8o�� *"�Ԛߋ��8-u)�SY���j�&VƬ��w)}�+~v�h�wְ8_9�.^�n����6�;��㗸���a����ݜ��n#�U �o-O��t�\����O\��+��Ͳ�"�:4�fLCq��.����W�괐1��P�Dϫ��ة�\�+�V.f(L�$*����rc��Nݡ�V �6�������nm�Ԃs��bۂ+R�|W�ĝ��P�UC���(���cƢMƢ0�e拑��p�V.�z�,M��ް��KO�t��a�G'��ZPbā��M��G��s�J�e���D��!����� xz~��1���Z��qu$�.��5[�^^���MQg)����B�n�]ZF9H͟�B��?����CARL��, h[����+_�F�� u��w�Vd�s���Y��<�a %.ŜD���@=S���g"yxR��ɂ�|�$�k/�/�$-����ArTZ����,Fs��p�½:�NZ� D�9Ff�>Ľ�,���O�?�QL}��^5</%4�'O�}ѥ�A/�꧞���������=����~�9��yL��~%�0Gߊ��7��Ļ���k%�딼�-�Յ8���y�]DuCmB��^ugk��6�j�ұ��j��ni9����j)�s�s��GW��1�Em��Y������Z��|Ŗ���y����[���^=.�A$��kLz��JA�p�I���r9���w�c%�M I1����iO$�o�����X�&Ĵ��o��#���:�rObN�MNԘ�� $����SEG9��B�j���إ� ���ux��"|�ϰD�Ͻ s�{�FD:�a�O?�LDϱ8����kzO&�S���.]xP�_�x K�=H,=��M��Ӳ���e�Isy��g���#ǏNOؙ���Q%�{K�#�l�z�T[�c���lr���e�4����˭�a���j�;��;9>~�>��UY�aJg�b�yhkqn��s��\!+��+p�Y��������3����d�fw" �+G>�i���]F1�s?�l�7w�-��ޝ�;�ps����8��x�6�P,N�S��É��#Z=Sm�K�ٗq g��~��#�{Dv��e��[m�a�Ӓ�1�� ���k:w<��x%��5�,��{�7�1�\�Г�+���r-�>�u �[�u^4B���^->4f҇�C�6S���>���s���nL�x|��߾k�\���b�ǒ#,)�[i̿��$� �8V���ԝ��2H�7�y�=,�������bQ�X�&��>��b�c��W�� ��m1�$�}�t R��!�t~�����)}�#��q�[��}�����Q�u���^������.��dy,�/U���0y�,xN�7`_���zy¶�� �ۖ�R]>��Z߀G��#{�+D� ޟF��y?U�`(C��,r�)���W��H/^E����K q��b�Ov�&{;��]���Y�,tT�|l�a�yٹ��r�G��+�ړ��Ϟ���\*�%��)�ֵs�m����]v7QS��y���T��+endstream endobj 31279 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1124/N 100/Length 2998>>stream+x�՛ێ��_�_ p�XU$�7�*A.r�/�X H ���S,�4��ZdK; �CI=]_��Ԏ�e��)��0{�ML�8io�J��L%��t+!Do�)Pn�<��Um�)�P�)�<����0�ț4Q���8���X�7e"ɳ7u��X2����k����M3�M��z�ڴ�4��j3��רy�~���خs\�DЉcJ�LW���+�C�'���<qn�R��U�F4���IH�ē��w �D�C��hs��$-�b�R���9y�<)y�����C����_��[�<i�e��i�J��1M),��S�s��L�\�M����_kyJ���iJ9���<g��r���!Si�ꔹ�Ӕ%�k��;�)��df���^H�JP���T��}%N�����Y$�}�J2��Z�ӣc$�h�3�ə�=�p���KjU9k��-�aα���%�u��ʃ�T�6��ފي�qk� �+�,���>7�!��P�?���������5����}����m�K�B��.�Ү7����`�sjכ�H�s���[�YO��l1�f7��<��rhei��:T˳����������k}��ϼ� ��f�����������������#�@gE�|N�'����l��5q}��P����3lѧ�2�� i�h�}�3��ɮ�d����Ï_����JP�����=���o���o�����o����Ï�����.��������O����a�����V����|pg�+տ�t$�n� ��^v��2�S{u]5sլ�]-3�J}W娫��l1d�Ms2�}~�*���>������\�H�e�-X^�KWl�c�C�Z�ʮ~5�w�】�(<�~�ӷ��/}}��/���������#?{���r�]�b��[x����~����Z�5�6ƨe���Zv�sl���&U�d^�L6\Z���K�:�Y����~��_������I0�T�_��:��X�y��S�v*�;�qJn+{�z&����}�ܡ7���h�^B���=A���=�w���mrUZ����Z<��r*Gޗ+Z:]�Zt-�_!Z��y��A++;���}��7���8�t��R���|�g������ۼJf�M^Z�N!0�W��ak��.�%��L-}�������k]�����q�y;���>�4H'@q/m{��Ep��.Q]��S�}":B�����|��*ڂiO}W�QW��)��m�؊ع�͇��3��-� 0!�fd 8Gf�i������6RǙT#�sj=�h�b��u+��Ӻ��>O��[�E�F�1N&����%�>L�c^Sh��)&˾UI,Ou2pY��J�,���!�'��<Q��ɽt4����y= \l�V1�w���+/l������a\�v5-}���4��N� k�0o��d����8ݝ/���O}�c����gk�(�!���ڸMT�Q��g��P�f�������xΣ��6G� 4��.�a����7^��� Ӆ+X ��VP��n^N�c�E�w������b�*m����9�<C� ���}���Q��8 ����AA|��|#��@B $�c���xD����A���� ����3�a�K����i�x�:�@P)��A�H�ER|-3��N��nƁh��l�i�Ѩ(((F4��v�yR�/GA��x�Ah6 /�K��=�Rϯ�(Q��6((+��X}ET��#�x�q��A(C�DT�(#�VI9�1�:��u�!�z�u�8�DAm�i���Z�P^=��A}�y��+��,��5~�pmQcc���f_��^����Ǿ%M7'�7Xҩ�ZM�6j[�dz� �a�(���@si���v��d�9V��2�0�-Fǻ�%����h.�Q�%F��������<B�;(����@PuYF ������G�� �u�$���!���hgTbN#$PbW�t=���o��6X��,�ΑD��6�3� ��5�6�ig3�7����e�7 � �B�1A=�y�z�k�txqa/8c���@�#*�CkF���a*��#�b��X� ��!H+,K �b Ta�*�+?�x�� MA a�-�����&��*��D�mM�+��N�s~�{~�W7����v��#~�����\.�g|�̷���8��� ~��j8,H�}Z��xn Q<,(�HH�w�V��9;~�1,Lq�&(�9�[���yp�<��C�ϛ�!t�8T��r��8���=�T��5��t�Тx�3��28_\�}�'��$��/.;�����u�u��A�-�<�ד�u�^}�&3 ����n7 ��n��OC+k'�EDᑲJQ��C���-0�R���PqILY��f2�3 V���J��*��� �#m��I�T�J�}�K�+� %��+��� ��鮸+�����¾���_���ͬ8���GIo)z��‡�SO��W�k�=V-��0�Q�4��rIҺt7�y��NQ�S(���k�yq����xdz �+�P���ʙ���Tu'�R����8,p��Pq�p�Ɔ�����)$ !P{�� ꘓ�����9/I��IG8mEP�`t�����X��Q|�V0��)�`����q�#���2B�{.V��m�e�a�`��-3�}�T�t�=�|=e�(Qݹ�ʂ�k�_[K%.�����\�nf��y���~��7�g��ov� \T��y4 ���j���mݹ`s�³�ڊ�����0�%1�`�h���M�ީ�C���`����V;�������9�ؘi�p �\R�ǐ�=®�$v݇�M�qG�<Z�h�|E昖G>+���cs�`]r��V���M�:����{{�[�|��8�gAוT�_M��@>����2��YG�5��G�ôsql�iR�v��1�у�cy�#���~��@ne�M��g�~��Ab�p��e��@a��Wp�}Լ�!�Z�Q��W�-+endstream endobj 31280 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1134/N 100/Length 3151>>stream+x�Ŝێ� �_�^ �$R�{�A��`�"����y�PTU�X�-�fv�X�]]SS�H��ujC��-n��/>z�+�z�zԫ��@zEK��W�x�^�ŇT/��Q_D��R�!�zϹޅ%8+z�K�ލK��YZB����J�nZB�ڄ��<�K/7<�^�$/oG�+��E�Ki(A}6.��Г2x^�>�����)�{�[0E}C�KtABX���ɍT��c���%&_�@�8���E^����:uI��ΐKpqu��r%���xU/aa�VH�qLj���������\}��/]}oZp}o^R�҅����Z,q�2�0,ٳ�a��본��r�̩ޕ ��;(Q�|5%L\X�8q�K������ޱW���K��D[51�\���zu��(-��%:S �X�s�]i7x��I� !�3p> �/��^{�\K���>#��i����.Tf�vC}Fڅ��Z�f���]�YD,�J��{�'<��B�1������T�K��ƍX�c����nD��#��c��r-�FNʓJB�z?������Aߟ�djRN��S�$a�y�Wb�s�)��]�X��v�*���D�x������?/!���E��%�%�H���J�KxHI(�rx��@�����~����o��H���~���?�T?��o��K��O~�z�oyT@���t�߷����~x��,q7=ѓ�C�P���i*J�4PZ�0�����/)�[a^�!� ja���L��{�� ��E��D�C���\����3`���~���_���R���������4�;�3 �gzd��Ie�<)�Js�HMj́?Y~n�C�ʕCIlv����¼�&C˸6�3�6D,ݧ��jc�as���a�]�ƏjBu���<A�!���,���U7�o�"�m��c�#M����$ѓԟ�p��ɶ���E'u(���i/��~h"�&Rh��$��R�y \���"��֯��{h�|6U��7�H`��E����J��bu�"�!����G��_����<��{���IbB,�5�)���Xi�_z@F�%%�>��������5e`к��!x����HU�-��? - ��4���=�}�0��R i��id���l��>���3h��hѨ���hw�U�eZ�BF�}�8 �$�9<i����K}<��+y��#�C&����,[�܇��M:�ؖ�d��#�iĽ���U"?(|y/���uP�fu0�[��aP�uJ4y����S�l�Ń�?��wF�g�ˊP�,2��'��+N茁�d�ju��$���g�*B�h���O!����vou��6��=�?�t�~�[��i�I�0_�C�X��<����g�Ƞb�1k�(�j:�:�K�����F�ieR����`!��S�S�S-�wV�v��ʏ���*U����;NN�N�z��d*G��F������J�6o=�Z����,u�H�&/�U�GF¤���X �AG�.�Q6��`u2�O@+㹾�7)z3�VM�L��&�:Ιy�!��҆42��L�W\�B߬OG#d�jn�#|��7ӂG=P`�Vq��@�$����JX܀V%����S���VDG���f�@�aV����[1��h�2��>��T��7�F��)t��#�p�գ��`gjX��ꬊ���UCZC�N|�*;��<cȯ�$٬��ްZ<2b���i{�v���U�U�*6�(M����L$�� V�!�0y+�s����_$L�H�k``U�2MA>I�B�+����l�].�~J����g&��s�Y��9���V�я�g �^����^��j�@�qBۏ�n����`����#��3�-f������8ړ1�]s�D��ד%�3$L��j�Th����0���9L|��h�G����(�g�t���Y�E�tW��?��S/ʀ���J��iV�e�g����ؙ�x~�[d�Yug�{�W�!hR��:oj|`54���4�v��U`&?��Uf�.�0T��7y�@�3���ܳ��:�{�@�I���G�<��#{kf�ל=�c�m��h�lj�l��*�T�(s=�W<P?��]���'U�D�r�̐O�'4�U�8�`�y�^���|ϫ[��;�=G�s���z��9�����z:wzn�zP���AI����Y~+Ў��ՊH�(2�/��k�f�ƨx����1�b��V�Vk�s�W�lvd�g@��þ}��ʵ���kB��tH; \y�g��n��wYYE�V���9�G�h+ Xٲ���W1�:�C�c���8b���()o����gI�Tʠ&��0,��b��Ɍ7�`[8�E����B��l\�B���R�x܆;���O�Qzs�u�;t�C��{��b]����!�>ހ���_�Y`��A��~�$Ђ�s�ߨ���x�C�.�i�;N�{�xw��o��O�4N7LV�2)���Ӗ+;����93�$+WD}L8����[p�����q'q|��ABVe(���4p��JQ�z���d��.9R���<nwx��l���*���`��u�����Q����j[2�ߋ"uv�#��E������d�\���)��K�f�fl ��4��as����L�iӴ8_R��0����V2����Θ�!�ۼ�����^!��=�8�ED��\i�����eE�ˊG&�I�{��=�o55GR-�W�_��}cxgo���3���s��c��P]��m=�kN��]8�Z�<��s�Xz��4r��Z5�4B�����%S����T Z"08�a[]�<�Rv�*���E�%��T��UN��á�2�'3`;Hndϛu��,G��i�=���S~��W�t�/��\05b���lo�C9{sg��k��� J�#�4��͍VXQ j�`�h�uEc+�����j��,�rLv%�� }��`by��g�7U��v��Mv\��07�hM8]� n`�k�i4?�#��+ d���}�0���&���D#h���P���48|�nY���]�3 �-�d5?�� �4`���I�+��d�8vU9�BJ#㤁�2�a��|xqg��(!���(�x����e�e ��λ����h�I���v��:��?̚��+endstream endobj 31281 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1137/N 100/Length 3518>>stream+xڽ\Y����+�f�y��/6~2�?�`f��a�ذ;6���#U���RRy�ݭ�T�/�#C1�y�'�a�z'�G0Q�z�S&�����4��d�B,v�Lۭu+��l��)�@z���0N1�yY�q��d=�)��z��Xɞ��f�zX�w�zȿ��s?��������(U��$��5���� 41r]8� 3���@�2Q ;['�{���7f#��8Q���ٕB;�S�����b��4��L�1O���eb���ṬUo`|�P�C�r6�L��rp*�T�8 i*t5&�UrX&f���S vg���EV��Ø�52V�����Hj5� Ma�z�j2G�[XOXr�hV�9E��5e�IWgV�h �:�Mz?EQ7���*�J$!�Q���O�E=�ɅD?gT��Y��`��ɞ�x������6*a�L��f;��2w�9�.`�.�˚�lg*�ie�u���g^gc,_ ����D�+�'?-`1�d^�fS���R4�ͼ.�Gμ.�v�ץl�,�.k���lVPx]���&��k6C(�nj6Zx��l��vʟ��2�^����������D�����,̙�D��-�xc3��Շre�">ǟ�-}0+Bzc4lmr��ϰf3�a��C�o���"J�k����q�����'��?���O�|�Z4O�����_�&������+�e���ϟ�����r+)�~����P�����\����}"s�:�);���;��j=��u$�c�A� �� w��<����C�*A ����Y��0��E[π-Xq[=X�`�l<V��_G+N�g���?������w_��_��_�Я�B�s��%�L��|�g�Q�dݕ`|f�=��a�#�t+f�A���s��9�9��C�+� �tZ)� R4h �c(>��.�[ȸF����fK�s[;������J�S����S>� ��f��C������|��,z6��қ�G�6��^Q��M5�QXfG!��4Ja��d�'(�[�P�o+P,�.#)]:哚�A�m�{Q������7�oy�����s��$DBG¡��J�����(*�ɳ���2|�j ���"a������!�H���9�u�Ӯ�7��ѓI��n����=?r�N����gv�yW/��ֱ,�k ��oF;��y�]~|岭7��Om���B�wA,�]h��N�g�������c{�+�T�ʭҳ&qd)�/b9�� D%>wq��8Q�8G���o|'+�f��6�.����u߀��5�.�m������>����s:;�m��Yp5���P��қ�����|.��qt2aN\Ñ���'��a����n� H}��^T>B�xavx�㝷�4��C�x�&�B��Qq��eo*!�R�K؉�2r�� ��q�>m-vlf��ﴁ������4���6i�pk�F���� a#�.���G=�<�p�PF5ù�JA9K*��7"�7��#+<Q�"*z�����Oz�� ?����⒘���Ue�|eز�Efu���?�#R�9� \.ސ�Ӗ=m�8��V�I+cѭȨ����$�y;i�v!DGH�OHk=� ��U����f�T���v���C�DP�zU:a=�Q�5]���_�8���\��Upѡ_"�t�)�]T��(���CT잲&�Z��\�~��4��Q��_ma)fXݞ��'Z\o��<"���l�I�_�4��փ�k��w⚘��1ix��!�U����[�oH*ς���}Џ0M'As���F��[{V�=�+�`v`}��8�Nsx�Q� ����8�ޑ�@�I��j�2Ļ�:��s���;+�)}0�i���{�S�{nm���Kv0Q�������V*�Zn��l��^q|D�yL`��i��&�#m"x .c�a�-9���^NК1��r�l�_I#p�T�OB�$�#�/E�Y�V1`z+{Y�wľ�Zʩͪ2��Ve/�2���R�Ƽ�CMf?^j��꾫��G4���>�A3^�j�̗ ����|�*w�W��'�ݥ�}�0Ըx��Ǻ��E/�td� �b}�tR��Ey�N�: �z#��|8��+4V��� k�%�b��,x� �i>��D(�G S�:���$��&L^uJ�:�OLy�����'0��6��@U����UHf<x��p�K�V�蛣M��>B�'�I�����s���g�.I��kE�oDM&�z[�'���$$�G龔f�.7�[6�z��L=��&�AU�S��ж�Z�)�IO�jw�^®�\p[a �$P� <���$�n�I?o����\-�B���p��q�̦t�[C�eV2�%�.c?Iٮ[$����Fj�z@�c�蠊H� k�m���>Z���zr�5�C>`g��қ���Ze�}�� �Y���Se�ش��<+]㹨V���p0c��K��dc�N�o���6�0�^3E�~h���HE�c+�S����3k�Q�1`ũ6�n��u���/���`H�+8.��=u��//�L��l�nKx��0,!�2��c,"ZA���)X�qIGL:���P ���;��AJq�2��OxX�0��c`�;,2�� a!��/�Q��-�1i��N��d -�2oɟэ��^�\Xq�G�c�i��֛�sr@ ���}7B�~":*e�7�G t�Q���J�vjJ.+$_-Q:�Z�C}��!�t إ�:��0�S�n�~qW��!����y�;���j���X��� �uN�����,�����+�ch��ջ���U�J�xO�6>�n;���m i��1�{8��$�h=�b�ן#l3FB$mk� X����U\=#:`�`N�5�7a�����[+��ܖiD 2cX�|U[.T�-�=��� �i�4���-M�,3��Bp�"�Q<��� 6�)�+⑅y_Y���)����'�zg��|�����������G�竄���(~V����H�Z] "kD��f�c_Ozs�#�1��%x��[�>M�a��5�lj<�a�K0+�{��%�=�f��9�a��/Pt�˫W��˩���}e�\h} �������Ճ��K��/�������^yS�t��?0}ݒ�f��e?���㧗ho~H�����LG��K�A��W�>����}�������ì��,@y��#`^O6��6�d� ��d�*S���R�x�{����M�15�#y�5yX��~�C�n��g$�G�\� �S�$��xe뀃�M6x�>N��`> ����5H�g%K8Y.�ٵ%�B��u6�= _�h��aj���P�QZ������]i�N&���Z�)�'ȡ�W�������:��u�����FMN�N�&�f֟��J+����4�G'W�A��!��kh��cH�cp�v��q���_��o�����-V��G�]%��xD�Ѡ�1p�^�<�4���; ����C�c��op�v�WpP���k���'�M+endstream endobj 31282 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1138/N 100/Length 3373>>stream+xڽ[ݎܺ ~�@�") ��)zUE/��\$�Y� E�E�$���X��O��c[�GR$E�R��y��7L����F;�Q�'�hG4e$;�)��-i+��y+��"�Lz6��Rv(�R�&a��8��qZ�� �\y���EF��<ŀu}d���#+��fb{B��'�W�6�<�\/� ���'D��4!S��<a���2ќ�Z�'�d�A��]+O'�4A�Xؐ�\9,��ı�<1��l�8C}B�Ҍ� eJ`:�q�RLvVd�x�kErɸ�a�D5�Z���።6��)�h�]NX��)���2�9�tp�+d{���\��TR0"�R�FC{` �B��z����(�2s�Q,e�l@��Be(Tq�K��dG ����&����!d6d$�B0K��V����(�z^���3e\HU7�;��'���˸bY6.˸����E���I���˸*G11�j^�3��LX��\�%K�k��¹��d\�j�2�!��e\'�bU��u�z,�i��e\��e\F��Y�*"6� ���2�L�z^�MPqfW�Ÿ������)L���z^ƕ�V��q��L/Y���������?/#D���$�a�11%į��D'L��/�`�yF�`��+9[~����o�}W�#����~���?�l�����_��?}����z� ���t������ǟ~:����P��gHb���}5H[ހ,� m�2���/L�E��A��W�,t��]v&�Uω�%]�ί�y�+���[9� auI[� 5d���O:�(be��J~��,@�{��>E�L&:"=J2�d�nM�~k"C�|�:�0�%�,S.�}f��O�D$��H��AL�zT�|�����ߙP�c�p�*�c��>��r?*����s�xK�T�����߾/y�~����cU�����<�w�be:z%��\�wb՛�A�oX�Tq:H=�^+�":��z~{��7�[����9�>��,ظ���S��%�1��E���*�4�X�&|�#&��* ^/@�I�f6I��J"{t�-�|Ob&��s�t�_��-Jմ�X>�"�Y����"y)�g��S%Y�lV�K��ՑςSBpzek %md}��J v��k�<�mJ)>N��T;ut;rD�8r����\��-9<Q��9E��&q���y�2b�$��� ���oͥ�4`w{�:�г��.�9|'q�iiD��L>�@���Xc��:�9WӾ;��~��lJ��H� �uh6a�WR���^Jb���9��"��<�������'+��7'���5�9���[���a�*eo�� )� �$��o+� r���Tڐ�CJ�3+#��`d���sdy)%ܹ�k~-�ƫ{qy��� &�VC���8DK����\��F�,��Yמ� m=���;1��,��6��9�Fh?��[�����Q#`[�8O�J&��P��AN�ٳ��XϨvV��-��� �I�(c%EmR4@J`-i| "=���RW�NU!��q������ՁG�x�_W����CN��{�*���&�ȰHY�/F�� ���<F���Bnʣ�j��>�I��vv�m�q/t}�c�6��V|�U'+���Hr�-y��� s'b�y�+n#ֻ���%��xR�G*<@j���7��λ�_,�(���W_۪��,�>�~�Q?F�0�٪��>������r�vN| ��#zZ8L�iY�{^����3j�biN���5��.�8�����g�4DM23$s��]\��D������L�XF�o�P�VۺЪ9�V��L� �,��s�K/�y�>�ԣ��8\�?��|�Gn$�,oٸ��R��'҄�h���,z�ɡ<� ,Cٶ��.>o�����C��s��1�H��[���^+��s����W����JX�.�(��cݜh�#��8�klx�<������{`"uͱ��`{�]�0gZ,n�U�]����y}��ԣF�Q#]�'^7ߏd:_�D�#�H�ɥN�j��Z_<�_�D}c���:D�|w�� ��=c��C��jk��ϯE�M�� �56��jAc�A.C��5�������c.vbn��J��|2Bm�_�R���a� �n˖��-���T�Fh��iX��dʤ����O�F�k��-�~ ������H̕O�5���Nc�����h>��۞��$���Xy�Z*���Gq�=�q�*9��#��p3}�F���A��,�A|x&�6�H��$����Fa�f�Zyt�$�G�;^5G�e_u��#2r�S�͋6DlH��dL=�#1Ye���JO;:1� ��H����M�}T�҃7�����f�����e?�/u�/D�uǙ= ��Q�_����zp�8��zmK������Fyl�n۷'�k_�fR��g�_�I� �����N��m��^,sҿ���Ǘ���9WĴ$Ů�U[��V��$��4j��̵] ���Ұ���uJiR��V9n+[O3XF���+�c��V�]��K���e�.߭���$-qhv\{��}��V�7��k��,���.�/-��������3i�|TK����~�_{7��7����Z_�α�n����_��HPpm]W�'U�s�í�Ϛ�M��w���f�*�/���w�x+:55��[���=�|~��ق �o����V`�m>�C���ڐx��u�U�zr^����C �M�H���'� |�4���nZ�Y<I�b�Kw�˵Q���n�5y�HsgK�ۨߟ/s�����k������}��Tj��T܄p���!ӎ������b���V��!NK[�-�0�iTjÜ�,9�C�%f� ��(엉̎a �!8O���ۼ;~�#�I�8�=��\��V+ �L=�Ƿ�Wfp}�~��%'����Źk�{|��כjm���^��W���<Q ��DO��~šA�f�)¹��x�c g8w����Yi�{��G��] �%��hW�'8��U�3�m�-D����˯)���vS�6:I�� ۠�֔��C-�-��;BZ��=�|i�>�9�X���������T����w���At���#ZJm��Pm��ɚq�ἓ�R)�!�!?��m�G!��%�x�J2=���C철X��"i��`�%`��5�&E��$_X͡M1=L��R��+eg��oAfh�͏�}�W$Z�jE�F�Ǽ�q��aj���D�^�n�!�虱�t��%���=r�~�%��/Y3���{�*��o�d�R��#/%����-��=E�s�Q�/���/[���]��r����q���te�]�ңJ/�����{�����3��d$�]�z+endstream endobj 31283 0 obj <</Filter/FlateDecode/Type/ObjStm/First 1140/N 100/Length 3196>>stream+xڽ[ێ���@��+I����<��!�a��0$�� ��)�j�J#�R�m/��VK�9Uź�C�r��D�&�XG8q�:�IꈧD�>� D�C� Y�0N�ڮ� 4��y�Lن9� ��L��9��"�*M�{s� �b�D0�k�duh8%��i��R�DY��6�W&&��#&X�dC��ڽ2 P����|o�cea�I��<I��^��T�E��"���� M��*t�I�7�L1P�k"�o�S�خ�)j���<��ejH!ԗL � qJX���lbiWMm��c2�(/�+�2��I�Nl�2�� y���^Sn6��VNPo`�rnx�6 m�6�&V.v�R�j6AR!�b?M.l���:6[��g <