diff --git a/.github/workflows/lambda-do-release-runners.yml b/.github/workflows/lambda-do-release-runners.yml index 2f1d7de11b..0e70971a4b 100644 --- a/.github/workflows/lambda-do-release-runners.yml +++ b/.github/workflows/lambda-do-release-runners.yml @@ -146,11 +146,46 @@ jobs: tag: ${{ inputs.tag }} updateOnlyUnreleased: true + release-grafana-mcp: + name: Upload Release for grafana-mcp lambda + runs-on: ubuntu-latest + container: node:20 + permissions: + contents: write + env: + REF: ${{ inputs.tag }} + steps: + - name: Checkout code + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + ref: ${{ inputs.tag }} + + - name: Install dependencies + working-directory: aws/lambda/grafana-mcp + run: yarn install --production + + - name: Build deployment.zip + working-directory: aws/lambda/grafana-mcp + run: make deployment.zip + + - name: Copy deployment.zip to root + run: cp aws/lambda/grafana-mcp/deployment.zip grafana-mcp-lambda.zip + + - uses: ncipollo/release-action@440c8c1cb0ed28b9f43e4d1d670870f059653174 # v1.16.0 + with: + artifacts: "grafana-mcp-lambda.zip" + allowUpdates: true + draft: true + name: ${{ inputs.tag }} + tag: ${{ inputs.tag }} + updateOnlyUnreleased: true + finish-release: needs: - release-lambdas - release-ci-queue-pct - release-oss-ci-job-queue-time + - release-grafana-mcp name: Mark the release as final and publish it runs-on: ubuntu-latest permissions: diff --git a/aws/lambda/README.md b/aws/lambda/README.md index 48d0fc376f..5334bb19df 100644 --- a/aws/lambda/README.md +++ b/aws/lambda/README.md @@ -105,7 +105,7 @@ go to [pytorch-gha-infra](https://github.com/pytorch-labs/pytorch-gha-infra) - Update the release-tag and add your zip file name in [runners/common/Terrafile](https://github.com/pytorch-labs/pytorch-gha-infra/blob/main/runners/common/Terrafile) - During the deploy process, the workflow will download your file based on the Terrafile. - If you need clichouse account permission, you need ask pytorch dev infra teammate to create a clichouse role for your lambda. - - you need to add the clickhouse role secret to the repo secret, `bunnylol oss pytorch-labs/pytorch-gha-infra` and update it in settings-> secrets. + - you need to add the clickhouse role secret to the repo secret, `bunnylol oss pytorch-labs/pytorch-gha-infra` and update it in settings-> secrets. ### Deploy the lambda Once the pr is submitted, go to [Runners Do Terraform Release (apply)](https://github.com/pytorch-labs/pytorch-gha-infra/actions/workflows/runners-on-dispatch-release.yml), and click Run workflow. diff --git a/aws/lambda/grafana-mcp/.env.example b/aws/lambda/grafana-mcp/.env.example new file mode 100644 index 0000000000..1ec92ea6bb --- /dev/null +++ b/aws/lambda/grafana-mcp/.env.example @@ -0,0 +1,2 @@ +# Authentication token for Lambda +AUTH_TOKEN=your-secure-auth-token-here diff --git a/aws/lambda/grafana-mcp/CLAUDE.md b/aws/lambda/grafana-mcp/CLAUDE.md new file mode 100644 index 0000000000..205d077871 --- /dev/null +++ b/aws/lambda/grafana-mcp/CLAUDE.md @@ -0,0 +1,197 @@ +# Claude HUD Interface Instructions + +## Overview + +You have a set of MCP tools at your disposal, clickhouse_mcp to list tables and generate queries / test queries, and grafana_mcp to actually create a dashboard that's publicly accessible. + +## Before creating a dashboard + +- use Clickhouse mcp tools to research the schema of the data source +- IMPORTANT: always test the query using Clickhouse mcp +- make sure that the query returns the expected results in the recent (or requested) time range + +## notes + +- current folder is a temporary directory, nothing interesting here +- for best results, use concise, clear queries +- use ONLY macros like `$__timeFilter(date_time_column_or_expression)` to filter by time range, avoid hardcoding time ranges in the query + + + +# TorchCI ClickHouse Schema & Query Guide + +This guide provides an overview of the TorchCI ClickHouse database schema for generating dashboards and answering CI-related questions. It focuses on the main tables, their relationships, and efficient query patterns. + +## Key Tables and Schema + +### Workflow Jobs (`workflow_job`) + +Central table for CI job execution data with automatic access to workflow context via dictionaries: + +```sql +-- Key fields +id -- Unique job ID +name -- Job name from workflow YAML +run_id -- Reference to workflow_run.id +head_sha -- Commit SHA that matches workflow_run.head_commit.id +labels -- Array(String) with job labels +status, conclusion -- Current status and final result +started_at, completed_at -- Execution timestamps + +-- Linked workflow data (via dictionaries) +workflow_name -- Name of the workflow +repository_full_name -- Repository in owner/repo format +workflow_event -- Event type (push, pull_request, etc) +workflow_created_at -- When the workflow was created +``` + +Access workflow data directly from job records without joining: + +```sql +SELECT + j.name, + j.conclusion, + j.workflow_name, -- From workflow automatically + j.workflow_event, -- From workflow via dictionary + j.repository_full_name +FROM default.workflow_job AS j +WHERE j.workflow_event = 'push' +``` + +### Workflow Runs (`workflow_run`) + +Stores metadata for each CI pipeline execution: + +```sql +-- Key fields +id -- Unique workflow run ID +name -- Workflow name +event -- Trigger event (push, pull_request, schedule, etc) +head_sha -- Commit being tested +head_branch -- Branch name +head_commit -- Tuple with commit details including id, message, author +pull_requests -- Array with PR details when triggered by PR +repository -- Tuple with repository details +status, conclusion -- Overall run status and result +created_at, updated_at -- Workflow timestamps +``` + +### Pull Requests (`pull_request`) + +```sql +number -- PR number +title, body -- PR text content +state -- open/closed/merged +labels -- Array of label tuples with name, color, etc +head -- Tuple with source branch details including sha +base -- Tuple with target branch details +created_at, merged_at, closed_at -- Lifecycle timestamps +``` + +### Issues (`issues`) + +```sql +number -- Issue number +title, body -- Issue text content +state -- open/closed +labels -- Array of label tuples with name, color, etc +user -- Author details +created_at, updated_at, closed_at -- Lifecycle timestamps +``` + +### Additional Tables + +- `push`: Contains push events and commit details including timestamps +- `job_annotation`: Contains annotations for workflow jobs + +## Materialized Views + +TorchCI maintains materialized views for common access patterns: + +```sql +-- Optimize PR workflow lookups +materialized_views.workflow_run_by_pr_num (id, pr_number) + +-- Optimize commit lookups +materialized_views.push_by_sha (id, timestamp) +``` + +Example usage: +```sql +-- Look up all workflow runs for a specific PR +SELECT * FROM workflow_run +WHERE id IN ( + SELECT id FROM materialized_views.workflow_run_by_pr_num + WHERE pr_number = 154040 -- Much faster than filtering workflow_run directly +) +``` + +## Common Query Patterns + +### Working with Array Fields + +Two approaches for filtering arrays: + +1. **ArrayExists** (preferred for simple filtering): + +```sql +-- Find issues with specific label +SELECT issue.number, issue.title +FROM default.issues AS issue FINAL +WHERE arrayExists(x -> x.'name' = 'skipped', issue.labels) +``` + +2. **ARRAY JOIN** (for when you need to expand arrays): + +```sql +-- Expand label arrays to count issues per label +SELECT + label.name AS label_name, + count() AS issue_count +FROM default.issues AS iss FINAL +ARRAY JOIN iss.labels AS label +GROUP BY label_name +``` + +### Time-Series Aggregation + +```sql +SELECT + toStartOfDay(j.completed_at) AS day, + j.conclusion, + count() AS job_count +FROM default.workflow_job AS j +WHERE j.completed_at >= (now() - INTERVAL 30 DAY) +GROUP BY day, j.conclusion +ORDER BY day +``` + +### Window Functions for Pattern Detection + +ClickHouse supports powerful window functions for analyzing time-series patterns: + +```sql +-- Example: Detect green/red/green pattern (flaky jobs) +SELECT job_name, + FIRST_VALUE(conclusion) OVER( + PARTITION BY job_name + ORDER BY commit_timestamp DESC ROWS BETWEEN CURRENT ROW AND 2 FOLLOWING + ) = 0 /*success*/ + AND NTH_VALUE(conclusion, 2) OVER(...) = 1 /*failure*/ + AND LAST_VALUE(conclusion) OVER(...) = 0 /*success*/ AS is_flaky +FROM job_data +``` + +## Query Tips + +1. **Use `FINAL` with caution**: Only needed when you require the latest state of a record (tables use ReplacingMergeTree) + +2. **Filter early**: Always filter data before joins or expansions + +3. **Use dictionaries**: Access workflow data from job records when possible + +4. **Materialized views**: For common query patterns (PR lookups, commit history) + +5. **Dot notation for nested fields**: Use consistent quoting `x.'field_name'` when accessing nested fields + +6. **DateTime types**: Many timestamps use DateTime64(9) for nanosecond precision \ No newline at end of file diff --git a/aws/lambda/grafana-mcp/Makefile b/aws/lambda/grafana-mcp/Makefile new file mode 100644 index 0000000000..a541cba524 --- /dev/null +++ b/aws/lambda/grafana-mcp/Makefile @@ -0,0 +1,46 @@ +#!/usr/bin/make -f + + +# Clean build artifacts +clean: + rm -rf deployment.zip + +deployment.zip: + @echo "Building Lambda package..." + rm -rf deployment.zip + + @echo "Installing production dependencies..." + yarn install --production + + @echo "Creating bin directory for Claude CLI..." + mkdir -p bin + cp -f ./node_modules/.bin/claude bin/ + chmod +x bin/claude + + @echo "Creating Lambda deployment package..." + zip -r deployment.zip lambda_function.js package.json yarn.lock node_modules .env.example mcp.json CLAUDE.md bin/ + + @echo "Build complete!" + +# Test Lambda function locally +test: test-env + npm test + +# Test only environment setup +test-env: + npm run test:env + +# Test only MCP integration +test-mcp: + npm run test:mcp + +# Test only Lambda simulation +test-lambda: + npm run test:lambda + +# Install test dependencies +test-deps: + npm install + +.PHONY: create-deployment-package +create-deployment-package: deployment.zip diff --git a/aws/lambda/grafana-mcp/README.md b/aws/lambda/grafana-mcp/README.md new file mode 100644 index 0000000000..fe6540a7c5 --- /dev/null +++ b/aws/lambda/grafana-mcp/README.md @@ -0,0 +1,237 @@ +# Grafana MCP Lambda with Fargate Architecture & Session Management + +This project implements a Grafana MCP (Model Context Protocol) integration using AWS Lambda with Claude CLI and Python MCP servers, featuring persistent session management via S3. + +## Architecture Overview + +``` +TorchCI Frontend → Next.js API → Lambda Function (Node.js + Claude CLI) + ↓ ↓ + MCP Servers S3 Session Storage + (grafana_mcp + ↓ + clickhouse_mcp) /tmp/.claude ←────┘ +``` + +### Key Features + +- **Persistent Sessions**: User sessions stored in S3 with 30-day retention +- **Claude Local Storage**: Uses `/tmp/.claude` folder for Claude's local state +- **Session Isolation**: Each user UUID gets isolated session storage +- **Automatic Cleanup**: Prevents cross-contamination between requests +- **Streaming Responses**: Real-time response streaming from Claude +- **Claude CLI Integration**: Direct integration with Claude Code CLI for MCP execution + +## Session Management + +### How It Works + +1. **Session Restoration**: On each request, downloads user's session zip from S3 to `/tmp/.claude` +2. **Claude Context**: Claude maintains persistent context across requests using local storage +3. **Session Persistence**: After processing, uploads updated session back to S3 as zip +4. **Automatic Cleanup**: S3 lifecycle policy removes sessions after 30 days + +### API Usage + +```bash +POST +Content-Type: application/json + +{ + "query": "Create a dashboard showing CPU usage metrics from ClickHouse", + "userUuid": "user-123-456-789" +} +``` + +**Required Parameters:** + +- `query`: The user's request/question +- `userUuid`: Unique identifier for session management (recommend UUID v4) + +### Response Format + +The Lambda streams responses in real-time, similar to ChatGPT's interface. Each user maintains their own persistent context across sessions. + +## Directory Structure + +``` +├── docker/ +│ ├── grafana-mcp/ # Grafana FastMCP container with SSE +│ └── clickhouse-mcp/ # ClickHouse FastMCP container with SSE +├── test/ # Unit and integration tests +├── lambda_function.js # Main Lambda handler with session management +├── Makefile # make and release the package as zip file to be used and deployed by terraform +└── package.json # Node.js dependencies (includes S3 SDK & zip) + +``` + +## Prerequisites + +- AWS CLI configured with appropriate permissions +- Docker installed and running (for local testing) +- Node.js 20 + +## Deployment + +This project is deployed automatically through CI/CD in the pytorch-gha-infra repository. The infrastructure is managed as code in that repository, including: + +- AWS Lambda function with VPC access +- AWS Fargate cluster and services for MCP containers +- S3 bucket with 30-day lifecycle policy for session storage +- ECR repositories for Docker image builds +- VPC networking and security configurations + +### Local Development + +To develop and test locally: + +```bash +# Install dependencies +yarn install + +# Run tests +yarn test + +# Build the Lambda package +make deployment.zip +``` + +## Session Management Details + +### S3 Structure + +``` +s3://grafana-mcp-sessions-{random}/ +└── sessions/ + ├── user-123-456-789/ + │ └── session.zip # Contains .claude folder contents + ├── user-abc-def-ghi/ + │ └── session.zip + └── ... +``` + +### Lambda Environment + +- **Working Directory**: `/tmp` (Lambda requirement) +- **Claude Storage**: `/tmp/.claude` (automatically managed) +- **Session Lifecycle**: Download → Process → Upload → Cleanup + +### Automatic Features + +- **30-Day Retention**: S3 lifecycle policy automatically deletes old sessions +- **Encryption**: Sessions encrypted at rest in S3 +- **Versioning**: S3 versioning enabled for session recovery +- **Cross-Contamination Prevention**: Each request gets isolated temp directory + +## Available MCP Tools + +### Grafana Tools + +- `mcp__grafana-mcp__get_dashboard` +- `mcp__grafana-mcp__create_dashboard` +- `mcp__grafana-mcp__update_dashboard` +- `mcp__grafana-mcp__list_datasources` +- `mcp__grafana-mcp__create_datasource` + +### ClickHouse Tools + +- `mcp__clickhouse-pip__run_clickhouse_query` +- `mcp__clickhouse-pip__get_clickhouse_schema` +- `mcp__clickhouse-pip__get_clickhouse_tables` +- `mcp__clickhouse-pip__explain_clickhouse_query` +- And more... + +## Frontend Integration Example + +```javascript +// Example frontend integration +async function sendQuery(query, userUuid) { + const response = await fetch(LAMBDA_URL, { + method: "POST", + headers: { + "Content-Type": "application/json", + }, + body: JSON.stringify({ + query: query, + userUuid: userUuid, // Required for session management + }), + }); + + // Handle streaming response + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + + while (true) { + const { done, value } = await reader.read(); + if (done) break; + + const chunk = decoder.decode(value); + console.log("Received:", chunk); + // Update UI with streaming response + } +} + +// Usage +const userUuid = "user-" + crypto.randomUUID(); +sendQuery("Create a CPU usage dashboard", userUuid); +``` + +## Monitoring + +### Check S3 Sessions + +```bash +aws s3 ls s3://grafana-mcp-sessions-*/sessions/ --recursive +``` + +### Check Lambda Logs + +```bash +aws logs tail /aws/lambda/grafana-mcp-lambda --follow +``` + +### Check Fargate Status + +```bash +aws ecs list-services --cluster grafana-mcp-cluster --region us-east-1 +aws ecs describe-services --cluster grafana-mcp-cluster --services grafana-mcp clickhouse-mcp --region us-east-1 +``` + +## Troubleshooting + +### Common Issues + +1. **Session not persisting** + + - Check S3 bucket permissions + - Verify userUuid is being passed correctly + - Check Lambda logs for S3 errors + +2. **Lambda timeout on large sessions** + + - Increase Lambda timeout (current: 15 minutes) + - Consider session compression optimization + +3. **MCP containers not responding** + - Check Fargate service status + - Verify networking between Lambda and Fargate containers + - Check CloudWatch logs for container issues + +### Debug Commands + +```bash +# Check specific user session +aws s3 cp s3://grafana-mcp-sessions-*/sessions/user-123/session.zip ./debug-session.zip +unzip -l debug-session.zip + +# Test Lambda directly +aws lambda invoke --function-name grafana-mcp-lambda \ + --payload '{"body": "{\"query\": \"test\", \"userUuid\": \"test-user\"}"}' \ + response.json +``` + +## Security Features + +- **Encryption**: All session data encrypted at rest +- **Access Control**: IAM policies restrict S3 access to Lambda only +- **Network Isolation**: VPC security groups isolate Fargate container communication +- **Session Isolation**: Each user has completely isolated session storage diff --git a/aws/lambda/grafana-mcp/docker/clickhouse-mcp/Dockerfile b/aws/lambda/grafana-mcp/docker/clickhouse-mcp/Dockerfile new file mode 100644 index 0000000000..a22f58d1ca --- /dev/null +++ b/aws/lambda/grafana-mcp/docker/clickhouse-mcp/Dockerfile @@ -0,0 +1,27 @@ +FROM python:3.11-slim + +# Set working directory +WORKDIR /app + +# Install system dependencies +RUN apt-get update && apt-get install -y \ + git \ + curl \ + && rm -rf /var/lib/apt/lists/* + +# Install Python dependencies including FastMCP +RUN pip install --no-cache-dir \ + git+https://github.com/wouterdevriendt/clickhouse-mcp.git \ + mcp>=1.3.0 \ + fastmcp \ + uvicorn + +# Expose port for SSE +EXPOSE 8001 + +# Health check +HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ + CMD curl -f http://localhost:8001/health || exit 1 + +# Run the MCP server via FastMCP with SSE support +CMD ["python", "-m", "fastmcp", "clickhouse_mcp", "--host", "0.0.0.0", "--port", "8001", "--sse"] \ No newline at end of file diff --git a/aws/lambda/grafana-mcp/docker/grafana-mcp/Dockerfile b/aws/lambda/grafana-mcp/docker/grafana-mcp/Dockerfile new file mode 100644 index 0000000000..867c8a1546 --- /dev/null +++ b/aws/lambda/grafana-mcp/docker/grafana-mcp/Dockerfile @@ -0,0 +1,27 @@ +FROM python:3.11-slim + +# Set working directory +WORKDIR /app + +# Install system dependencies +RUN apt-get update && apt-get install -y \ + git \ + curl \ + && rm -rf /var/lib/apt/lists/* + +# Install Python dependencies including FastMCP +RUN pip install --no-cache-dir \ + git+https://github.com/wouterdevriendt/grafana-mcp.git \ + mcp>=1.3.0 \ + fastmcp \ + uvicorn + +# Expose port for SSE +EXPOSE 8000 + +# Health check +HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ + CMD curl -f http://localhost:8000/health || exit 1 + +# Run the MCP server via FastMCP with SSE support +CMD ["python", "-m", "fastmcp", "grafana_mcp", "--host", "0.0.0.0", "--port", "8000", "--sse"] \ No newline at end of file diff --git a/aws/lambda/grafana-mcp/example_usage.js b/aws/lambda/grafana-mcp/example_usage.js new file mode 100644 index 0000000000..edaa86baed --- /dev/null +++ b/aws/lambda/grafana-mcp/example_usage.js @@ -0,0 +1,201 @@ +#!/usr/bin/env node + +/** + * Example usage of the Grafana MCP Lambda with session management + * + * This demonstrates how to: + * 1. Send queries with user UUID for session management + * 2. Handle streaming responses + * 3. Maintain persistent context across requests + */ + +const https = require('https'); +const { URL } = require('url'); +const { randomUUID } = require('crypto'); + +// Replace with your actual Lambda function URL from terraform output +const LAMBDA_URL = 'https://your-lambda-url.lambda-url.us-east-1.on.aws/'; + +/** + * Send a query to the Lambda function with streaming response handling + */ +async function sendQuery(query, userUuid) { + return new Promise((resolve, reject) => { + const url = new URL(LAMBDA_URL); + const postData = JSON.stringify({ + query: query, + userUuid: userUuid + }); + + const options = { + hostname: url.hostname, + port: url.port || 443, + path: url.pathname, + method: 'POST', + headers: { + 'Content-Type': 'application/json', + 'Content-Length': Buffer.byteLength(postData) + } + }; + + console.log(`\n🚀 Sending query for user ${userUuid}:`); + console.log(`📝 Query: ${query}`); + console.log('\n📨 Response:'); + console.log('─'.repeat(50)); + + const req = https.request(options, (res) => { + let fullResponse = ''; + + // Handle streaming response + res.on('data', (chunk) => { + const chunkStr = chunk.toString(); + process.stdout.write(chunkStr); // Stream to console + fullResponse += chunkStr; + }); + + res.on('end', () => { + console.log('\n' + '─'.repeat(50)); + console.log('✅ Response complete\n'); + resolve(fullResponse); + }); + }); + + req.on('error', (error) => { + console.error('❌ Request error:', error); + reject(error); + }); + + req.write(postData); + req.end(); + }); +} + +/** + * Demonstrate session persistence across multiple requests + */ +async function demonstrateSessionPersistence() { + // Generate a unique user ID for this demonstration + const userUuid = randomUUID(); + + console.log('🎯 Grafana MCP Lambda Session Management Demo'); + console.log('=' .repeat(60)); + console.log(`👤 User UUID: ${userUuid}`); + + try { + // First request - establish context + await sendQuery( + "Hello! I'm working on monitoring dashboards. Can you help me understand what ClickHouse tables are available?", + userUuid + ); + + // Wait a moment between requests + await new Promise(resolve => setTimeout(resolve, 2000)); + + // Second request - should remember previous context + await sendQuery( + "Based on the tables you just showed me, can you create a Grafana dashboard that shows the top 10 most frequent queries?", + userUuid + ); + + // Wait a moment between requests + await new Promise(resolve => setTimeout(resolve, 2000)); + + // Third request - continue the conversation + await sendQuery( + "Now add a panel showing query execution time trends over the last 24 hours", + userUuid + ); + + } catch (error) { + console.error('❌ Demo failed:', error); + } +} + +/** + * Demonstrate multiple concurrent users with isolated sessions + */ +async function demonstrateConcurrentUsers() { + console.log('\n🔄 Testing Concurrent Users with Session Isolation'); + console.log('=' .repeat(60)); + + const user1 = randomUUID(); + const user2 = randomUUID(); + + // Start both users simultaneously + const promises = [ + sendQuery("I want to monitor CPU usage. What should I do first?", user1), + sendQuery("I need to track database query performance. Where do I start?", user2) + ]; + + try { + await Promise.all(promises); + console.log('✅ Both users completed successfully with isolated sessions'); + } catch (error) { + console.error('❌ Concurrent user test failed:', error); + } +} + +/** + * Test specific MCP tool functionality + */ +async function testMCPTools() { + const userUuid = randomUUID(); + + console.log('\n🛠️ Testing MCP Tool Integration'); + console.log('=' .repeat(60)); + + const queries = [ + "Show me the schema for the oss_ci_benchmark_v3 table", + "Run a query to get the top 5 most recent benchmark results", + "Create a simple Grafana dashboard with these results" + ]; + + for (const query of queries) { + try { + await sendQuery(query, userUuid); + await new Promise(resolve => setTimeout(resolve, 1500)); + } catch (error) { + console.error(`❌ Failed query: ${query}`, error); + } + } +} + +/** + * Main demo function + */ +async function main() { + if (LAMBDA_URL.includes('your-lambda-url')) { + console.error('❌ Please update LAMBDA_URL with your actual Lambda function URL'); + console.log('💡 Get it with: terraform output lambda_function_url'); + process.exit(1); + } + + console.log('🚀 Starting Grafana MCP Lambda Demo'); + console.log(`🔗 Lambda URL: ${LAMBDA_URL}`); + + // Run the demos + await demonstrateSessionPersistence(); + await demonstrateConcurrentUsers(); + await testMCPTools(); + + console.log('\n🎉 Demo completed!'); + console.log('\n📊 Check your S3 bucket for stored sessions:'); + console.log('aws s3 ls s3://$(terraform output -raw session_bucket_name)/sessions/ --recursive'); +} + +// Handle command line arguments +if (process.argv.length > 2) { + const query = process.argv.slice(2).join(' '); + const userUuid = process.env.USER_UUID || randomUUID(); + + sendQuery(query, userUuid).catch(console.error); +} else { + main().catch(console.error); +} + +module.exports = { + sendQuery, + demonstrateSessionPersistence, + demonstrateConcurrentUsers, + testMCPTools +}; \ No newline at end of file diff --git a/aws/lambda/grafana-mcp/jest.config.js b/aws/lambda/grafana-mcp/jest.config.js new file mode 100644 index 0000000000..ed67faed0e --- /dev/null +++ b/aws/lambda/grafana-mcp/jest.config.js @@ -0,0 +1,5 @@ +module.exports = { + testEnvironment: 'node', + testMatch: ['**/test/**/*.js'], + verbose: true +}; \ No newline at end of file diff --git a/aws/lambda/grafana-mcp/lambda_function.js b/aws/lambda/grafana-mcp/lambda_function.js new file mode 100644 index 0000000000..05073588f8 --- /dev/null +++ b/aws/lambda/grafana-mcp/lambda_function.js @@ -0,0 +1,448 @@ +const { spawn } = require("child_process"); +const { + S3Client, + GetObjectCommand, + PutObjectCommand, +} = require("@aws-sdk/client-s3"); +const AdmZip = require("adm-zip"); +const fs = require("fs"); +const path = require("path"); + +// Initialize AWS clients +const s3Client = new S3Client({ + region: process.env.AWS_REGION || "us-east-1", +}); + +// S3 configuration +const S3_BUCKET = process.env.SESSION_BUCKET_NAME || "grafana-mcp-sessions"; +const SESSION_PREFIX = "sessions/"; + +/** + * Download and extract session from S3 + */ +async function downloadSessionFromS3(userUuid, tempDir) { + const s3Key = `${SESSION_PREFIX}${userUuid}/session.zip`; + + try { + console.log(`Downloading session for user ${userUuid} from S3`); + + const command = new GetObjectCommand({ + Bucket: S3_BUCKET, + Key: s3Key, + }); + + const response = await s3Client.send(command); + + if (response.Body) { + // Convert stream to buffer + const chunks = []; + for await (const chunk of response.Body) { + chunks.push(chunk); + } + const zipBuffer = Buffer.concat(chunks); + + // Extract zip to temp directory + const zip = new AdmZip(zipBuffer); + zip.extractAllTo(tempDir, true); + + console.log(`Successfully restored session for user ${userUuid}`); + return true; + } + } catch (error) { + if (error.name === "NoSuchKey") { + console.log( + `No existing session found for user ${userUuid}, starting fresh` + ); + return false; + } + console.error(`Error downloading session for user ${userUuid}:`, error); + return false; + } +} + +/** + * Upload session to S3 as zip + */ +async function uploadSessionToS3(userUuid, tempDir) { + const s3Key = `${SESSION_PREFIX}${userUuid}/session.zip`; + + try { + console.log(`Uploading session for user ${userUuid} to S3`); + + // Create zip from entire temp directory + const zip = new AdmZip(); + + const addDirectory = (dirPath, zipPath = "") => { + if (!fs.existsSync(dirPath)) return; + + const files = fs.readdirSync(dirPath); + + for (const file of files) { + const fullPath = path.join(dirPath, file); + const zipFilePath = zipPath ? path.join(zipPath, file) : file; + + if (fs.statSync(fullPath).isDirectory()) { + addDirectory(fullPath, zipFilePath); + } else { + zip.addLocalFile(fullPath, zipPath); + } + } + }; + + addDirectory(tempDir); + const zipBuffer = zip.toBuffer(); + + const command = new PutObjectCommand({ + Bucket: S3_BUCKET, + Key: s3Key, + Body: zipBuffer, + ContentType: "application/zip", + Metadata: { + userUuid: userUuid, + uploadTimestamp: new Date().toISOString(), + }, + }); + + await s3Client.send(command); + console.log(`Successfully uploaded session for user ${userUuid}`); + } catch (error) { + console.error(`Error uploading session for user ${userUuid}:`, error); + } +} + +/** + * Lambda handler with streaming response - matches torchci implementation + */ +// Environment variables for authentication +const AUTH_TOKEN = process.env.AUTH_TOKEN || "default-secure-token"; + +exports.handler = awslambda.streamifyResponse( + async (event, responseStream, context) => { + console.log("Claude API endpoint called"); + + // Set CORS headers for streaming response + const headers = { + "Content-Type": "application/json", + "Cache-Control": "no-cache, no-store, must-revalidate", + Connection: "keep-alive", + "X-Accel-Buffering": "no", + "Transfer-Encoding": "chunked", + "Access-Control-Allow-Origin": "*", + "Access-Control-Allow-Methods": "POST, OPTIONS", + "Access-Control-Allow-Headers": "Content-Type, Authorization", + }; + + // Handle OPTIONS request for CORS + if ( + event.requestContext && + event.requestContext.http && + event.requestContext.http.method === "OPTIONS" + ) { + responseStream = awslambda.HttpResponseStream.from(responseStream, { + statusCode: 200, + headers, + }); + responseStream.end(); + return; + } + + // Write headers + responseStream = awslambda.HttpResponseStream.from(responseStream, { + statusCode: 200, + headers, + }); + + // Validate authorization token + const authHeader = + event.headers && + (event.headers.Authorization || event.headers.authorization); + if (!authHeader || !authHeader.startsWith("Bearer ")) { + console.log("Rejected: Missing or invalid authorization header"); + responseStream.write( + '{"error":"Missing or invalid authorization header"}\n' + ); + responseStream.end(); + return; + } + + const token = authHeader.split("Bearer ")[1]; + if (token !== AUTH_TOKEN) { + console.log("Rejected: Invalid token"); + responseStream.write('{"error":"Invalid authorization token"}\n'); + responseStream.end(); + return; + } + + // Parse the request body + let body; + try { + body = + typeof event.body === "string" ? JSON.parse(event.body) : event.body; + } catch (error) { + console.error("Error parsing request body:", error); + responseStream.write('{"error":"Invalid request body"}\n'); + responseStream.end(); + return; + } + + const { query, userUuid } = body; + + if (!query || typeof query !== "string") { + console.log("Rejected: Invalid query parameter"); + responseStream.write( + '{"error":"Query parameter is required and must be a string"}\n' + ); + responseStream.end(); + return; + } + + if (!userUuid) { + console.log("Rejected: userUuid parameter required"); + responseStream.write( + '{"error":"userUuid parameter is required for session management"}\n' + ); + responseStream.end(); + return; + } + + console.log( + `Processing query (${query.length} chars) for user ${userUuid}` + ); + + // Flag to track if the response has been ended + let isResponseEnded = false; + + // Create claudeProcess variable in outer scope + let claudeProcess = null; + + // Helper function to safely end response + const safeEndResponse = (message) => { + if (!isResponseEnded) { + if (message) { + responseStream.write(message); + } + responseStream.end(); + isResponseEnded = true; + console.log("Response ended"); + } + }; + + try { + // Setup a timeout (14.5 minutes to stay under Lambda's 15 min limit) + const timeout = setTimeout(() => { + console.log("Process timed out after 870 seconds"); + safeEndResponse('{"error":"Process timed out after 870 seconds"}\n'); + + if (claudeProcess && !claudeProcess.killed) { + console.log("Killing Claude process due to timeout"); + claudeProcess.kill(); + } + }, 870000); + + // Create unique temp directory with timestamp and random string + const timestamp = Date.now(); + const randomStr = Math.random().toString(36).substring(2, 10); + const sessionId = `${timestamp}_${randomStr}`; + const tempDir = path.join("/tmp", `claude_hud_${sessionId}`); + + // Create temp directory + try { + fs.mkdirSync(tempDir, { recursive: true }); + console.log(`Created temp directory: ${tempDir}`); + + // Download existing session if it exists + await downloadSessionFromS3(userUuid, tempDir); + + // Copy CLAUDE.md to temp directory + const claudeMdPath = path.join(__dirname, "CLAUDE.md"); + if (fs.existsSync(claudeMdPath)) { + fs.copyFileSync(claudeMdPath, path.join(tempDir, "CLAUDE.md")); + console.log("Copied CLAUDE.md to temp directory"); + } + + // No longer need to create .env file, as the MCP servers in Fargate + // have their own environment variables provided directly + + // Create mcp.json with remote SSE servers + const grafanaUrl = + process.env.GRAFANA_MCP_URL || + "http://grafana-mcp.grafana-mcp-lambda.local:8000"; + const clickhouseUrl = + process.env.CLICKHOUSE_MCP_URL || + "http://clickhouse-mcp.grafana-mcp-lambda.local:8001"; + + const mcpConfig = { + mcpServers: { + grafana: { + url: `${grafanaUrl}/sse`, + type: "sse", + }, + clickhouse: { + url: `${clickhouseUrl}/sse`, + type: "sse", + }, + }, + }; + + fs.writeFileSync( + path.join(tempDir, "mcp.json"), + JSON.stringify(mcpConfig, null, 2) + ); + console.log("Created mcp.json with remote SSE servers"); + } catch (err) { + console.error(`Error creating temp directory: ${err}`); + return safeEndResponse( + '{"error":"Failed to create temp environment"}\n' + ); + } + + // Environment variables + const env = { + ...process.env, + PATH: "/opt/bin:/opt/nodejs/node_modules/.bin:/opt/python/bin:/usr/local/bin:/usr/bin:/bin", + PYTHONPATH: "/opt/python:/opt/python/lib/python3.11/site-packages", + HOME: tempDir, + SHELL: "/bin/bash", + NODE_NO_BUFFERING: "1", // Ensure Node.js doesn't buffer output + CLAUDE_CODE_USE_BEDROCK: "1", // Use Bedrock for Claude code execution + ANTHROPIC_MODEL: "us.anthropic.claude-sonnet-4-20250514-v1:0", + }; + + // Set working directory to temp directory + const cwd = tempDir; + + // List of allowed MCP tools (matching torchci but with updated tool names) + const allowedTools = [ + "mcp__grafana-mcp__get_dashboard", + "mcp__grafana-mcp__create_dashboard", + "mcp__grafana-mcp__update_dashboard", + "mcp__grafana-mcp__list_datasources", + "mcp__grafana-mcp__create_datasource", + "mcp__clickhouse-pip__readme_howto_use_clickhouse_tools", + "mcp__clickhouse-pip__run_clickhouse_query", + "mcp__clickhouse-pip__get_clickhouse_schema", + "mcp__clickhouse-pip__get_clickhouse_tables", + "mcp__clickhouse-pip__semantic_search_docs", + "mcp__clickhouse-pip__lint_clickhouse_query", + ].join(","); + + console.log("Starting Claude process"); + + // Write initial message to start the stream + responseStream.write( + `{"status":"starting","tempDir":"${tempDir}","userUuid":"${userUuid}"}\n` + ); + + // Launch Claude process with bundled claude command + claudeProcess = spawn( + path.join(__dirname, "bin/claude"), + [ + "-p", + "Use TodoRead/TodoWrite to create a plan first (find tables, understand tables, create query, optimize query for Grafana, make Grafana dashboard). " + + query, + "--output-format", + "stream-json", + "--verbose", + "--allowedTools", + allowedTools, + "--mcp-config", + path.join(tempDir, "mcp.json"), + ], + { + env, + cwd, // Run from the temp directory + stdio: ["ignore", "pipe", "pipe"], + } + ); + + console.log(`Claude process started with PID: ${claudeProcess.pid}`); + + // Register error handler + claudeProcess.on("error", (error) => { + clearTimeout(timeout); + console.error(`Claude process error: ${error.message}`); + if (!isResponseEnded) { + responseStream.write( + `{"error":"${error.message.replace(/"/g, '\\"')}"}\n` + ); + } + safeEndResponse(); + }); + + // Stream stdout (Claude's JSON output) + claudeProcess.stdout.on("data", (data) => { + if (isResponseEnded) return; + + const output = data.toString(); + console.log(`Got output: ${output.length} bytes`); + + // Check if this output contains usage data for debugging + if (output.includes('"usage"') || output.includes('"total_tokens"')) { + console.log("Found token data in chunk:", output); + } + + // Send the chunk immediately + responseStream.write(output); + }); + + // Handle stderr + claudeProcess.stderr.on("data", (data) => { + const errorMsg = data.toString(); + console.error(`Claude stderr: ${errorMsg.trim()}`); + }); + + // Handle process completion + claudeProcess.on("close", (code) => { + clearTimeout(timeout); + console.log(`Claude process exited with code ${code}`); + + // Upload session to S3 before ending + uploadSessionToS3(userUuid, tempDir) + .then(() => { + console.log("Session uploaded to S3"); + + // Send final status message with token usage if available + if (!isResponseEnded) { + // Check if we can find any token usage information in the process output + const usageFilePath = path.join(tempDir, "usage.json"); + let tokenUsage = {}; + + try { + if (fs.existsSync(usageFilePath)) { + const usageData = fs.readFileSync(usageFilePath, "utf8"); + tokenUsage = JSON.parse(usageData); + console.log("Found token usage data:", tokenUsage); + } + } catch (error) { + console.error("Error reading token usage data:", error); + } + + responseStream.write( + `\n{"status":"complete","code":${ + code || 0 + },"tempDir":"${tempDir}","usage":${JSON.stringify( + tokenUsage + )}}\n` + ); + } + + safeEndResponse(); + }) + .catch((uploadError) => { + console.error("Error uploading session:", uploadError); + if (!isResponseEnded) { + responseStream.write( + `\n{"status":"complete","code":${code || 0},"uploadError":"${ + uploadError.message + }"}\n` + ); + } + safeEndResponse(); + }); + }); + } catch (error) { + console.error(`Unexpected error: ${error}`); + safeEndResponse(`{"error":"${String(error).replace(/"/g, '\\"')}"}\n`); + } + } +); diff --git a/aws/lambda/grafana-mcp/mcp.json b/aws/lambda/grafana-mcp/mcp.json new file mode 100644 index 0000000000..6253d7e912 --- /dev/null +++ b/aws/lambda/grafana-mcp/mcp.json @@ -0,0 +1,12 @@ +{ + "mcpServers": { + "grafana": { + "url": "http://grafana-mcp.grafana-mcp-lambda.local:8000/sse", + "type": "sse" + }, + "clickhouse": { + "url": "http://clickhouse-mcp.grafana-mcp-lambda.local:8001/sse", + "type": "sse" + } + } +} diff --git a/aws/lambda/grafana-mcp/package.json b/aws/lambda/grafana-mcp/package.json new file mode 100644 index 0000000000..92b3ee083b --- /dev/null +++ b/aws/lambda/grafana-mcp/package.json @@ -0,0 +1,37 @@ +{ + "name": "grafana-mcp-lambda", + "version": "1.0.0", + "description": "AWS Lambda function for Grafana MCP with ClickHouse integration", + "main": "lambda_function.js", + "scripts": { + "test": "jest", + "test:unit": "jest test/unit_tests.js", + "test:env": "node test/test_environment.js", + "test:session": "jest test_session_management.js", + "test:mcp": "jest test_mcp_integration.js", + "test:lambda": "jest test_lambda.js" + }, + "keywords": [ + "aws", + "lambda", + "grafana", + "mcp", + "clickhouse" + ], + "author": "", + "license": "MIT", + "dependencies": { + "@anthropic-ai/claude-code": "^1.0.17", + "@aws-sdk/client-s3": "^3.0.0", + "adm-zip": "^0.5.10", + "dotenv": "^16.0.0" + }, + "devDependencies": { + "aws-sdk-mock": "^5.9.0", + "jest": "^29.7.0", + "node-fetch": "^3.3.2" + }, + "engines": { + "node": ">=18.0.0" + } +} diff --git a/aws/lambda/grafana-mcp/test/run_all_tests.js b/aws/lambda/grafana-mcp/test/run_all_tests.js new file mode 100644 index 0000000000..dd67c46164 --- /dev/null +++ b/aws/lambda/grafana-mcp/test/run_all_tests.js @@ -0,0 +1,187 @@ +#!/usr/bin/env node + +/** + * Test Suite Runner for Grafana MCP Lambda + * + * Runs all test suites in sequence and provides comprehensive reporting + */ + +const { execSync, spawn } = require('child_process'); +const path = require('path'); + +class TestSuiteRunner { + constructor() { + this.testSuites = [ + { + name: 'Unit Tests', + script: 'yarn test:unit', + description: 'Core functionality and component tests' + }, + { + name: 'Session Management Tests', + script: 'test/test_session_management.js', + description: 'Session persistence and isolation tests' + } + ]; + this.results = []; + } + + async runTestSuite(suite) { + console.log(`\n🚀 Running ${suite.name}`); + console.log(`📝 ${suite.description}`); + console.log('─'.repeat(60)); + + return new Promise((resolve) => { + const testProcess = spawn('bash', ['-c', suite.script], { + stdio: 'inherit', + cwd: path.join(__dirname, '..') + }); + + testProcess.on('close', (code) => { + const success = code === 0; + this.results.push({ + name: suite.name, + success, + code + }); + + console.log(`\n${success ? '✅' : '❌'} ${suite.name} ${success ? 'PASSED' : 'FAILED'}`); + resolve(success); + }); + + testProcess.on('error', (error) => { + console.error(`❌ Failed to run ${suite.name}:`, error.message); + this.results.push({ + name: suite.name, + success: false, + error: error.message + }); + resolve(false); + }); + }); + } + + async runAll() { + console.log('🧪 Grafana MCP Lambda - Test Suite Runner'); + console.log('=' .repeat(60)); + console.log(`📊 Running ${this.testSuites.length} test suites`); + + // Check dependencies first + console.log('\n🔍 Checking dependencies...'); + try { + require('adm-zip'); + console.log('✅ adm-zip: Available'); + } catch (error) { + console.log('❌ adm-zip: Missing - run npm install'); + return false; + } + + // Run each test suite + for (const suite of this.testSuites) { + await this.runTestSuite(suite); + } + + // Generate final report + this.generateReport(); + + // Return overall success + return this.results.every(result => result.success); + } + + generateReport() { + console.log('\n' + '=' .repeat(60)); + console.log('📋 TEST SUITE SUMMARY'); + console.log('=' .repeat(60)); + + const passed = this.results.filter(r => r.success).length; + const failed = this.results.filter(r => !r.success).length; + + console.log(`📊 Overall Results: ${passed} passed, ${failed} failed`); + console.log(''); + + for (const result of this.results) { + const status = result.success ? '✅ PASS' : '❌ FAIL'; + console.log(`${status} ${result.name}`); + if (result.error) { + console.log(` Error: ${result.error}`); + } + } + + if (failed === 0) { + console.log('\n🎉 All test suites passed!'); + console.log('🚀 Your Grafana MCP Lambda is ready for deployment'); + console.log('\nNext steps:'); + console.log('1. Build the Lambda package: make deployment.zip'); + console.log('2. Deployment is handled by CI/CD in pytorch-gha-infra'); + } else { + console.log('\n💥 Some test suites failed'); + console.log('🔧 Please fix the failing tests before deployment'); + } + + console.log('=' .repeat(60)); + } +} + +// Add some system information +function displaySystemInfo() { + console.log('🖥️ System Information:'); + console.log(` Node.js: ${process.version}`); + console.log(` Platform: ${process.platform}`); + console.log(` Architecture: ${process.arch}`); + console.log(` Working Directory: ${process.cwd()}`); + + try { + const packageInfo = require('../package.json'); + console.log(` Project: ${packageInfo.name} v${packageInfo.version}`); + } catch (error) { + console.log(' Project: Unknown'); + } +} + +// Run individual test suite if specified +function runIndividualTest() { + const testName = process.argv[2]; + if (!testName) return false; + + const testMap = { + 'unit': 'yarn test:unit', + 'session': 'test/test_session_management.js' + }; + + if (testMap[testName]) { + console.log(`🎯 Running individual test: ${testName}`); + try { + execSync(`${testMap[testName]}`, { stdio: 'inherit' }); + return true; + } catch (error) { + console.error(`❌ Test failed: ${error.message}`); + process.exit(1); + } + } + + return false; +} + +// Main execution +async function main() { + // Check if running individual test + if (runIndividualTest()) { + return; + } + + displaySystemInfo(); + + const runner = new TestSuiteRunner(); + const success = await runner.runAll(); + + process.exit(success ? 0 : 1); +} + +if (require.main === module) { + main().catch((error) => { + console.error('❌ Test runner failed:', error); + process.exit(1); + }); +} + +module.exports = { TestSuiteRunner }; \ No newline at end of file diff --git a/aws/lambda/grafana-mcp/test/test_connectivity.js b/aws/lambda/grafana-mcp/test/test_connectivity.js new file mode 100644 index 0000000000..95f282f3aa --- /dev/null +++ b/aws/lambda/grafana-mcp/test/test_connectivity.js @@ -0,0 +1,103 @@ +#!/usr/bin/env node + +/** + * Test script to verify MCP server connectivity + * Run this after terraform deployment to test the complete pipeline + */ + +const { spawn } = require('child_process'); +const fs = require('fs'); +const path = require('path'); + +async function testMCPConnectivity() { + console.log('Testing MCP server connectivity...'); + + // Create a temporary directory + const tempDir = `/tmp/mcp_connectivity_test_${Date.now()}`; + fs.mkdirSync(tempDir, { recursive: true }); + + try { + // Get the service URLs (these would come from terraform outputs in real scenario) + const grafanaUrl = process.env.GRAFANA_MCP_URL || 'http://grafana-mcp-service.default.svc.cluster.local:8000'; + const clickhouseUrl = process.env.CLICKHOUSE_MCP_URL || 'http://clickhouse-mcp-service.default.svc.cluster.local:8001'; + + console.log(`Testing Grafana MCP at: ${grafanaUrl}`); + console.log(`Testing ClickHouse MCP at: ${clickhouseUrl}`); + + // Create mcp.json configuration + const mcpConfig = { + mcpServers: { + grafana: { + url: `${grafanaUrl}/sse`, + type: "sse" + }, + clickhouse: { + url: `${clickhouseUrl}/sse`, + type: "sse" + } + } + }; + + fs.writeFileSync(path.join(tempDir, 'mcp.json'), JSON.stringify(mcpConfig, null, 2)); + console.log('Created mcp.json configuration'); + + // Test simple Claude command with MCP + const testQuery = 'List available tools from both MCP servers'; + + console.log('Running Claude with MCP configuration...'); + + const claudeProcess = spawn('claude', [ + '-p', testQuery, + '--output-format', 'json', + '--mcp-config', path.join(tempDir, 'mcp.json'), + '--allowedTools', 'mcp__grafana-mcp__list_datasources,mcp__clickhouse-pip__get_clickhouse_tables' + ], { + cwd: tempDir, + stdio: ['ignore', 'pipe', 'pipe'] + }); + + let output = ''; + let error = ''; + + claudeProcess.stdout.on('data', (data) => { + output += data.toString(); + }); + + claudeProcess.stderr.on('data', (data) => { + error += data.toString(); + }); + + claudeProcess.on('close', (code) => { + console.log(`\nClaude process exited with code: ${code}`); + + if (output) { + console.log('Output:', output); + } + + if (error) { + console.log('Error:', error); + } + + if (code === 0) { + console.log('✅ MCP connectivity test passed'); + } else { + console.log('❌ MCP connectivity test failed'); + } + + // Cleanup + fs.rmSync(tempDir, { recursive: true, force: true }); + }); + + } catch (err) { + console.error('Test failed:', err); + // Cleanup + fs.rmSync(tempDir, { recursive: true, force: true }); + } +} + +// Run the test +if (require.main === module) { + testMCPConnectivity(); +} + +module.exports = { testMCPConnectivity }; \ No newline at end of file diff --git a/aws/lambda/grafana-mcp/test/test_environment.js b/aws/lambda/grafana-mcp/test/test_environment.js new file mode 100644 index 0000000000..c6a5842578 --- /dev/null +++ b/aws/lambda/grafana-mcp/test/test_environment.js @@ -0,0 +1,326 @@ +const { spawn } = require('child_process'); +const fs = require('fs'); +const path = require('path'); +require('dotenv').config({ path: path.join(__dirname, '../.env.local') }); + +// Environment validation tests +class EnvironmentTester { + constructor() { + this.results = []; + } + + async runTest(name, testFn) { + console.log(`Testing: ${name}`); + try { + const result = await testFn(); + this.results.push({ name, status: 'pass', result }); + console.log(`✅ ${name}: PASS`); + return result; + } catch (error) { + this.results.push({ name, status: 'fail', error: error.message }); + console.log(`❌ ${name}: FAIL - ${error.message}`); + return null; + } + } + + async testNodeVersion() { + return new Promise((resolve, reject) => { + const process = spawn('node', ['--version'], { stdio: 'pipe' }); + let output = ''; + + process.stdout.on('data', (data) => { + output += data.toString(); + }); + + process.on('close', (code) => { + if (code === 0) { + const version = output.trim(); + const majorVersion = parseInt(version.slice(1).split('.')[0]); + if (majorVersion >= 18) { + resolve(`Node.js ${version} (>= 18 required)`); + } else { + reject(new Error(`Node.js ${version} is too old. >= 18 required`)); + } + } else { + reject(new Error('Node.js not found')); + } + }); + }); + } + + async testPythonVersion() { + return new Promise((resolve, reject) => { + const process = spawn('python3', ['--version'], { stdio: 'pipe' }); + let output = ''; + + process.stdout.on('data', (data) => { + output += data.toString(); + }); + + process.on('close', (code) => { + if (code === 0) { + const version = output.trim(); + resolve(version); + } else { + reject(new Error('Python3 not found')); + } + }); + }); + } + + async testClaudeCLI() { + return new Promise((resolve, reject) => { + const process = spawn('claude', ['--version'], { stdio: 'pipe' }); + let output = ''; + + process.stdout.on('data', (data) => { + output += data.toString(); + }); + + process.on('close', (code) => { + if (code === 0) { + resolve(`Claude CLI ${output.trim()}`); + } else { + reject(new Error('Claude CLI not found. Install with: npm install -g @anthropic-ai/claude-code')); + } + }); + }); + } + + async testPythonMCP() { + return new Promise((resolve, reject) => { + const process = spawn('python3', ['-c', 'import mcp; print(f"MCP {mcp.__version__}")'], { stdio: 'pipe' }); + let output = ''; + let error = ''; + + process.stdout.on('data', (data) => { + output += data.toString(); + }); + + process.stderr.on('data', (data) => { + error += data.toString(); + }); + + process.on('close', (code) => { + if (code === 0) { + resolve(output.trim()); + } else { + reject(new Error('Python MCP not found. Install with: pip install mcp')); + } + }); + }); + } + + async testClickHouseMCP() { + return new Promise((resolve, reject) => { + const process = spawn('python3', ['-c', 'import clickhouse_mcp; print("ClickHouse MCP available")'], { stdio: 'pipe' }); + let output = ''; + + process.stdout.on('data', (data) => { + output += data.toString(); + }); + + process.on('close', (code) => { + if (code === 0) { + resolve(output.trim()); + } else { + reject(new Error('ClickHouse MCP not found. Install from GitHub repo')); + } + }); + }); + } + + async testGrafanaMCP() { + return new Promise((resolve, reject) => { + const process = spawn('python3', ['-c', 'import grafana_mcp; print("Grafana MCP available")'], { stdio: 'pipe' }); + let output = ''; + + process.stdout.on('data', (data) => { + output += data.toString(); + }); + + process.on('close', (code) => { + if (code === 0) { + resolve(output.trim()); + } else { + reject(new Error('Grafana MCP not found. Install from GitHub repo')); + } + }); + }); + } + + async testEnvironmentVariables() { + const required = [ + 'GRAFANA_URL', + 'GRAFANA_API_KEY', + 'CLICKHOUSE_HOST', + 'CLICKHOUSE_USER', + 'AWS_REGION' + ]; + + const missing = required.filter(name => !process.env[name]); + + if (missing.length > 0) { + throw new Error(`Missing environment variables: ${missing.join(', ')}`); + } + + const optional = [ + 'CLICKHOUSE_PASSWORD', + 'CLICKHOUSE_PORT', + 'CLICKHOUSE_DATABASE', + 'AWS_ACCESS_KEY_ID', + 'AWS_SECRET_ACCESS_KEY' + ]; + + const presentOptional = optional.filter(name => process.env[name]); + + return `Required: ${required.length}, Optional present: ${presentOptional.length}`; + } + + async testGrafanaConnection() { + const grafanaUrl = process.env.GRAFANA_URL; + const apiKey = process.env.GRAFANA_API_KEY; + + if (!grafanaUrl || !apiKey) { + throw new Error('Grafana URL or API key not configured'); + } + + // Test connection using curl (simple approach) + return new Promise((resolve, reject) => { + const process = spawn('curl', [ + '-H', `Authorization: Bearer ${apiKey}`, + '-H', 'Content-Type: application/json', + '--connect-timeout', '10', + '--max-time', '30', + `${grafanaUrl}/api/health` + ], { stdio: 'pipe' }); + + let output = ''; + let error = ''; + + process.stdout.on('data', (data) => { + output += data.toString(); + }); + + process.stderr.on('data', (data) => { + error += data.toString(); + }); + + process.on('close', (code) => { + if (code === 0) { + try { + const response = JSON.parse(output); + resolve(`Grafana health: ${response.database || 'OK'}`); + } catch { + resolve('Grafana connection successful'); + } + } else { + reject(new Error(`Grafana connection failed: ${error}`)); + } + }); + }); + } + + async testClickHouseConnection() { + const host = process.env.CLICKHOUSE_HOST; + const user = process.env.CLICKHOUSE_USER; + + if (!host || !user) { + throw new Error('ClickHouse host or user not configured'); + } + + // Simple connection test using python + const testScript = ` +import sys +try: + import clickhouse_connect + client = clickhouse_connect.get_client( + host='${host}', + port=${process.env.CLICKHOUSE_PORT || 8443}, + username='${user}', + password='${process.env.CLICKHOUSE_PASSWORD || ''}', + secure=True + ) + result = client.query('SELECT 1 as test') + print(f"ClickHouse connection successful: {result.result_rows[0][0]}") +except Exception as e: + print(f"ClickHouse connection failed: {e}", file=sys.stderr) + sys.exit(1) +`; + + return new Promise((resolve, reject) => { + const process = spawn('python3', ['-c', testScript], { stdio: 'pipe' }); + let output = ''; + let error = ''; + + process.stdout.on('data', (data) => { + output += data.toString(); + }); + + process.stderr.on('data', (data) => { + error += data.toString(); + }); + + process.on('close', (code) => { + if (code === 0) { + resolve(output.trim()); + } else { + reject(new Error(error.trim() || 'ClickHouse connection failed')); + } + }); + }); + } + + async runAllTests() { + console.log('=== Environment Tests ===\n'); + + // Core dependencies + await this.runTest('Node.js Version', () => this.testNodeVersion()); + await this.runTest('Python Version', () => this.testPythonVersion()); + await this.runTest('Claude CLI', () => this.testClaudeCLI()); + await this.runTest('Python MCP Framework', () => this.testPythonMCP()); + + // MCP packages + await this.runTest('ClickHouse MCP Package', () => this.testClickHouseMCP()); + await this.runTest('Grafana MCP Package', () => this.testGrafanaMCP()); + + // Configuration + await this.runTest('Environment Variables', () => this.testEnvironmentVariables()); + + // External connections + await this.runTest('Grafana Connection', () => this.testGrafanaConnection()); + await this.runTest('ClickHouse Connection', () => this.testClickHouseConnection()); + + // Summary + console.log('\n=== Environment Test Summary ==='); + const passed = this.results.filter(r => r.status === 'pass').length; + const failed = this.results.filter(r => r.status === 'fail').length; + + console.log(`Total tests: ${this.results.length}`); + console.log(`Passed: ${passed}`); + console.log(`Failed: ${failed}`); + + if (failed > 0) { + console.log('\n=== Failed Tests ==='); + this.results.filter(r => r.status === 'fail').forEach(result => { + console.log(`❌ ${result.name}: ${result.error}`); + }); + } + + return this.results; + } +} + +// Run tests if this file is executed directly +if (require.main === module) { + const tester = new EnvironmentTester(); + tester.runAllTests().then(results => { + const hasFailures = results.some(r => r.status !== 'pass'); + process.exit(hasFailures ? 1 : 0); + }).catch(error => { + console.error('Environment tests failed:', error); + process.exit(1); + }); +} + +module.exports = { EnvironmentTester }; \ No newline at end of file diff --git a/aws/lambda/grafana-mcp/test/test_lambda.js b/aws/lambda/grafana-mcp/test/test_lambda.js new file mode 100644 index 0000000000..4ec875ef8d --- /dev/null +++ b/aws/lambda/grafana-mcp/test/test_lambda.js @@ -0,0 +1,255 @@ +const { spawn } = require('child_process'); +const fs = require('fs'); +const path = require('path'); +const os = require('os'); +require('dotenv').config({ path: path.join(__dirname, '../.env.local') }); + +// Mock AWS Lambda context and response stream for local testing +class MockResponseStream { + constructor() { + this.chunks = []; + this.ended = false; + this.destroyed = false; + } + + write(chunk) { + if (!this.ended && !this.destroyed) { + this.chunks.push(chunk.toString()); + process.stdout.write(chunk); + } + } + + end() { + this.ended = true; + console.log('\n--- Response Stream Ended ---'); + } + + getOutput() { + return this.chunks.join(''); + } +} + +// Mock awslambda.streamifyResponse +global.awslambda = { + streamifyResponse: (handler) => handler, + HttpResponseStream: { + from: (stream, options) => { + console.log('Response headers:', options.headers); + return stream; + } + } +}; + +// Import our Lambda function +const lambdaFunction = require('../lambda_function'); + +// Test utilities +const createTestEvent = (query) => ({ + body: JSON.stringify({ query }), + headers: { + 'Content-Type': 'application/json' + } +}); + +const createMockContext = () => ({ + awsRequestId: 'test-request-id', + functionName: 'test-function', + functionVersion: '1', + getRemainingTimeInMillis: () => 300000 +}); + +// Test cases +const tests = [ + { + name: 'Basic Query Test', + query: 'Hello, can you help me?', + timeout: 30000 + }, + { + name: 'ClickHouse Tables Query', + query: 'What tables are available in ClickHouse?', + timeout: 60000 + }, + { + name: 'Simple Dashboard Request', + query: 'Create a simple dashboard with a text panel', + timeout: 120000 + }, + { + name: 'Complex Query Test', + query: 'Show me the schema of the default database in ClickHouse and create a dashboard with a query panel', + timeout: 180000 + } +]; + +// Test runner +async function runTest(test) { + console.log(`\n=== Running Test: ${test.name} ===`); + console.log(`Query: ${test.query}`); + console.log(`Timeout: ${test.timeout}ms`); + + const event = createTestEvent(test.query); + const context = createMockContext(); + const responseStream = new MockResponseStream(); + + return new Promise((resolve, reject) => { + const timer = setTimeout(() => { + console.log(`Test "${test.name}" timed out after ${test.timeout}ms`); + resolve({ + name: test.name, + status: 'timeout', + output: responseStream.getOutput(), + error: 'Test timed out' + }); + }, test.timeout); + + try { + // Run the Lambda handler + const result = lambdaFunction.handler(event, responseStream, context); + + if (result && typeof result.then === 'function') { + result.then(() => { + clearTimeout(timer); + resolve({ + name: test.name, + status: 'success', + output: responseStream.getOutput() + }); + }).catch((error) => { + clearTimeout(timer); + resolve({ + name: test.name, + status: 'error', + output: responseStream.getOutput(), + error: error.message + }); + }); + } else { + // If not a promise, wait a bit for streaming to complete + setTimeout(() => { + clearTimeout(timer); + resolve({ + name: test.name, + status: 'success', + output: responseStream.getOutput() + }); + }, 5000); + } + } catch (error) { + clearTimeout(timer); + resolve({ + name: test.name, + status: 'error', + output: responseStream.getOutput(), + error: error.message + }); + } + }); +} + +// Environment check +function checkEnvironment() { + console.log('=== Environment Check ==='); + + const requiredVars = [ + 'GRAFANA_URL', + 'GRAFANA_API_KEY', + 'CLICKHOUSE_HOST', + 'CLICKHOUSE_USER', + 'AWS_REGION' + ]; + + const missing = requiredVars.filter(var_name => !process.env[var_name]); + + if (missing.length > 0) { + console.error('Missing required environment variables:', missing); + console.error('Please copy .env.example to .env.local and fill in the values'); + return false; + } + + console.log('✅ All required environment variables are set'); + + // Check if Claude CLI is available + try { + const result = spawn('claude', ['--version'], { stdio: 'pipe' }); + console.log('✅ Claude CLI found'); + } catch (error) { + console.warn('⚠️ Claude CLI not found in PATH. Install with: npm install -g @anthropic-ai/claude-code'); + } + + // Check if Python MCP packages are available + try { + const result = spawn('python', ['-c', 'import mcp; print("MCP available")'], { stdio: 'pipe' }); + console.log('✅ Python MCP framework available'); + } catch (error) { + console.warn('⚠️ Python MCP not found. Run: pip install mcp'); + } + + return true; +} + +// Main test runner +async function runAllTests() { + console.log('Starting Lambda Function Tests\n'); + + if (!checkEnvironment()) { + process.exit(1); + } + + console.log(`\nRunning ${tests.length} tests...\n`); + + const results = []; + + for (const test of tests) { + const result = await runTest(test); + results.push(result); + + console.log(`\nTest "${result.name}" completed with status: ${result.status}`); + if (result.error) { + console.error(`Error: ${result.error}`); + } + + // Small delay between tests + await new Promise(resolve => setTimeout(resolve, 2000)); + } + + // Summary + console.log('\n=== Test Summary ==='); + const successful = results.filter(r => r.status === 'success').length; + const failed = results.filter(r => r.status === 'error').length; + const timedOut = results.filter(r => r.status === 'timeout').length; + + console.log(`Total tests: ${results.length}`); + console.log(`Successful: ${successful}`); + console.log(`Failed: ${failed}`); + console.log(`Timed out: ${timedOut}`); + + results.forEach(result => { + console.log(`\n${result.name}: ${result.status}`); + if (result.error) { + console.log(` Error: ${result.error}`); + } + }); + + return results; +} + +// Export for use in other test files +module.exports = { + runTest, + runAllTests, + createTestEvent, + createMockContext, + MockResponseStream +}; + +// Run tests if this file is executed directly +if (require.main === module) { + runAllTests().then(results => { + const hasFailures = results.some(r => r.status !== 'success'); + process.exit(hasFailures ? 1 : 0); + }).catch(error => { + console.error('Test runner failed:', error); + process.exit(1); + }); +} \ No newline at end of file diff --git a/aws/lambda/grafana-mcp/test/test_mcp_integration.js b/aws/lambda/grafana-mcp/test/test_mcp_integration.js new file mode 100644 index 0000000000..cfdb28d487 --- /dev/null +++ b/aws/lambda/grafana-mcp/test/test_mcp_integration.js @@ -0,0 +1,227 @@ +const { spawn } = require('child_process'); +const fs = require('fs'); +const path = require('path'); +const os = require('os'); +require('dotenv').config({ path: path.join(__dirname, '../.env.local') }); + +// Test MCP server connectivity independently +class MCPTester { + constructor() { + this.tempDir = null; + } + + async setup() { + // Create temporary directory + this.tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'mcp-test-')); + + // Create MCP config + const mcpConfig = { + mcpServers: { + grafana: { + command: "python", + args: ["-m", "grafana_mcp"], + env: {} + }, + clickhouse: { + command: "python", + args: ["-m", "clickhouse_mcp"], + env: {} + } + }, + allowedTools: [ + "mcp__grafana-mcp__*", + "mcp__clickhouse-pip__*" + ] + }; + + const mcpConfigPath = path.join(this.tempDir, 'mcp.json'); + fs.writeFileSync(mcpConfigPath, JSON.stringify(mcpConfig, null, 2)); + + // Create .env file + const envPath = path.join(this.tempDir, '.env'); + const envVars = Object.keys(process.env) + .filter(key => + key.startsWith('GRAFANA_') || + key.startsWith('CLICKHOUSE_') || + key.startsWith('AWS_') + ) + .map(key => `${key}=${process.env[key]}`) + .join('\n'); + fs.writeFileSync(envPath, envVars); + + return mcpConfigPath; + } + + async cleanup() { + if (this.tempDir && fs.existsSync(this.tempDir)) { + fs.rmSync(this.tempDir, { recursive: true, force: true }); + } + } + + async testMCPServer(serverName, testQueries) { + console.log(`\n=== Testing ${serverName} MCP Server ===`); + + const mcpConfigPath = await this.setup(); + + const results = []; + + for (const query of testQueries) { + console.log(`Testing query: ${query}`); + + try { + const result = await this.runClaudeQuery(mcpConfigPath, query); + results.push({ + query, + status: 'success', + output: result.output, + error: result.error + }); + console.log(`✅ Query successful`); + } catch (error) { + results.push({ + query, + status: 'error', + error: error.message + }); + console.log(`❌ Query failed: ${error.message}`); + } + } + + await this.cleanup(); + return results; + } + + async runClaudeQuery(mcpConfigPath, query) { + return new Promise((resolve, reject) => { + const claudeArgs = [ + '-p', mcpConfigPath, + '--model', 'claude-3-5-sonnet-20241022', + '--no-stream' // Easier for testing + ]; + + const claudeProcess = spawn('claude', claudeArgs, { + cwd: this.tempDir, + env: { + ...process.env, + PYTHONPATH: process.env.PYTHONPATH || '' + }, + stdio: ['pipe', 'pipe', 'pipe'] + }); + + let stdout = ''; + let stderr = ''; + + claudeProcess.stdout.on('data', (data) => { + stdout += data.toString(); + }); + + claudeProcess.stderr.on('data', (data) => { + stderr += data.toString(); + }); + + claudeProcess.on('close', (code) => { + if (code === 0) { + resolve({ output: stdout, error: stderr }); + } else { + reject(new Error(`Claude process exited with code ${code}: ${stderr}`)); + } + }); + + claudeProcess.on('error', (error) => { + reject(error); + }); + + // Send query and close stdin + claudeProcess.stdin.write(query); + claudeProcess.stdin.end(); + + // Timeout after 2 minutes + setTimeout(() => { + claudeProcess.kill('SIGTERM'); + reject(new Error('Query timeout')); + }, 120000); + }); + } +} + +// Test queries for different MCP servers +const clickhouseQueries = [ + 'List all available ClickHouse tables', + 'Show me the schema for the default database', + 'What tools are available for ClickHouse?' +]; + +const grafanaQueries = [ + 'List all available Grafana datasources', + 'What Grafana tools are available?', + 'Show me how to create a simple dashboard' +]; + +const integrationQueries = [ + 'Get ClickHouse tables and create a simple Grafana dashboard', + 'Query ClickHouse data and visualize it in Grafana' +]; + +// Main test runner +async function runMCPTests() { + console.log('Starting MCP Integration Tests\n'); + + const tester = new MCPTester(); + + try { + // Test ClickHouse MCP + const clickhouseResults = await tester.testMCPServer('ClickHouse', clickhouseQueries); + + // Test Grafana MCP + const grafanaResults = await tester.testMCPServer('Grafana', grafanaQueries); + + // Test integration + const integrationResults = await tester.testMCPServer('Integration', integrationQueries); + + // Summary + console.log('\n=== MCP Test Summary ==='); + + const allResults = [...clickhouseResults, ...grafanaResults, ...integrationResults]; + const successful = allResults.filter(r => r.status === 'success').length; + const failed = allResults.filter(r => r.status === 'error').length; + + console.log(`Total MCP tests: ${allResults.length}`); + console.log(`Successful: ${successful}`); + console.log(`Failed: ${failed}`); + + // Detailed results + console.log('\n=== Detailed Results ==='); + allResults.forEach((result, index) => { + console.log(`\n${index + 1}. ${result.query}`); + console.log(` Status: ${result.status}`); + if (result.error) { + console.log(` Error: ${result.error}`); + } + if (result.output && result.output.length > 0) { + console.log(` Output: ${result.output.substring(0, 200)}...`); + } + }); + + return allResults; + + } catch (error) { + console.error('MCP test runner failed:', error); + throw error; + } +} + +module.exports = { + MCPTester, + runMCPTests +}; + +// Run tests if this file is executed directly +if (require.main === module) { + runMCPTests().then(results => { + const hasFailures = results.some(r => r.status !== 'success'); + process.exit(hasFailures ? 1 : 0); + }).catch(error => { + console.error('MCP tests failed:', error); + process.exit(1); + }); +} \ No newline at end of file diff --git a/aws/lambda/grafana-mcp/test/test_session_management.js b/aws/lambda/grafana-mcp/test/test_session_management.js new file mode 100644 index 0000000000..47849cdbd1 --- /dev/null +++ b/aws/lambda/grafana-mcp/test/test_session_management.js @@ -0,0 +1,380 @@ +#!/usr/bin/env node + +/** + * Session Management Integration Tests + * + * Tests the session management functionality in isolation: + * - Session directory setup + * - S3 upload/download simulation + * - Session persistence logic + * - Cross-contamination prevention + */ + +const fs = require('fs'); +const path = require('path'); +const os = require('os'); +const AdmZip = require('adm-zip'); + +class SessionTestRunner { + constructor() { + this.tests = []; + this.passed = 0; + this.failed = 0; + } + + test(name, fn) { + this.tests.push({ name, fn }); + } + + async run() { + console.log('🔐 Session Management Tests'); + console.log('=' .repeat(50)); + + for (const { name, fn } of this.tests) { + try { + console.log(`\n🔍 Testing: ${name}`); + await fn(); + console.log(`✅ PASS: ${name}`); + this.passed++; + } catch (error) { + console.log(`❌ FAIL: ${name}`); + console.log(` Error: ${error.message}`); + this.failed++; + } + } + + console.log('\n' + '=' .repeat(50)); + console.log(`📊 Results: ${this.passed} passed, ${this.failed} failed`); + return this.failed === 0; + } + + assert(condition, message) { + if (!condition) { + throw new Error(message || 'Assertion failed'); + } + } +} + +const runner = new SessionTestRunner(); + +// Mock S3 operations for testing +class MockS3Operations { + constructor() { + this.storage = new Map(); + } + + async uploadSession(userUuid, sessionData) { + const key = `sessions/${userUuid}/session.zip`; + this.storage.set(key, sessionData); + return { success: true, key }; + } + + async downloadSession(userUuid) { + const key = `sessions/${userUuid}/session.zip`; + if (this.storage.has(key)) { + return { success: true, data: this.storage.get(key) }; + } + return { success: false, error: 'NoSuchKey' }; + } + + clear() { + this.storage.clear(); + } +} + +const mockS3 = new MockS3Operations(); + +// Test session directory setup +runner.test('Session Directory Setup', async () => { + const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'session-test-')); + const userUuid = 'test-user-123'; + + async function setupClaudeDirectory(userUuid, tempDir) { + const claudeDir = path.join(tempDir, '.claude'); + + if (!fs.existsSync(claudeDir)) { + fs.mkdirSync(claudeDir, { recursive: true }); + } + + return claudeDir; + } + + const claudeDir = await setupClaudeDirectory(userUuid, tempDir); + + runner.assert(fs.existsSync(claudeDir), 'Claude directory should exist'); + runner.assert(fs.statSync(claudeDir).isDirectory(), 'Should be a directory'); + runner.assert(claudeDir.includes('.claude'), 'Should be named .claude'); + + // Cleanup + fs.rmSync(tempDir, { recursive: true, force: true }); +}); + +// Test session zip creation +runner.test('Session ZIP Creation', async () => { + const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'zip-test-')); + const claudeDir = path.join(tempDir, '.claude'); + fs.mkdirSync(claudeDir, { recursive: true }); + + // Create some test files + fs.writeFileSync(path.join(claudeDir, 'history.json'), '{"conversations": []}'); + fs.writeFileSync(path.join(claudeDir, 'context.txt'), 'Previous context data'); + + const subDir = path.join(claudeDir, 'projects'); + fs.mkdirSync(subDir); + fs.writeFileSync(path.join(subDir, 'project1.json'), '{"name": "test"}'); + + // Create ZIP + const zip = new AdmZip(); + + function addDirectory(dirPath, zipPath = '') { + const files = fs.readdirSync(dirPath); + + for (const file of files) { + const fullPath = path.join(dirPath, file); + const zipFilePath = zipPath ? path.join(zipPath, file) : file; + + if (fs.statSync(fullPath).isDirectory()) { + addDirectory(fullPath, zipFilePath); + } else { + zip.addLocalFile(fullPath, zipPath); + } + } + } + + addDirectory(claudeDir); + const zipBuffer = zip.toBuffer(); + + runner.assert(zipBuffer.length > 0, 'ZIP should not be empty'); + + // Verify ZIP contents + const testZip = new AdmZip(zipBuffer); + const entries = testZip.getEntries(); + const fileNames = entries.map(entry => entry.entryName); + + runner.assert(fileNames.includes('history.json'), 'Should include history.json'); + runner.assert(fileNames.includes('context.txt'), 'Should include context.txt'); + runner.assert(fileNames.some(name => name.includes('project1.json')), 'Should include subdirectory files'); + + fs.rmSync(tempDir, { recursive: true, force: true }); +}); + +// Test session upload/download cycle +runner.test('Session Upload/Download Cycle', async () => { + const tempDir1 = fs.mkdtempSync(path.join(os.tmpdir(), 'upload-test-')); + const tempDir2 = fs.mkdtempSync(path.join(os.tmpdir(), 'download-test-')); + + const userUuid = 'cycle-test-user'; + const claudeDir1 = path.join(tempDir1, '.claude'); + const claudeDir2 = path.join(tempDir2, '.claude'); + + fs.mkdirSync(claudeDir1, { recursive: true }); + fs.mkdirSync(claudeDir2, { recursive: true }); + + // Create session data + const testData = { + conversations: ['Hello', 'How can I help?'], + context: 'Working on dashboards', + timestamp: Date.now() + }; + fs.writeFileSync(path.join(claudeDir1, 'session.json'), JSON.stringify(testData)); + + // Upload session + const zip = new AdmZip(); + zip.addLocalFile(path.join(claudeDir1, 'session.json')); + const zipBuffer = zip.toBuffer(); + + const uploadResult = await mockS3.uploadSession(userUuid, zipBuffer); + runner.assert(uploadResult.success, 'Upload should succeed'); + + // Download session + const downloadResult = await mockS3.downloadSession(userUuid); + runner.assert(downloadResult.success, 'Download should succeed'); + + // Extract and verify + const downloadZip = new AdmZip(downloadResult.data); + downloadZip.extractAllTo(claudeDir2, true); + + const restoredFile = path.join(claudeDir2, 'session.json'); + runner.assert(fs.existsSync(restoredFile), 'Restored file should exist'); + + const restoredData = JSON.parse(fs.readFileSync(restoredFile, 'utf8')); + runner.assert(restoredData.context === testData.context, 'Data should be preserved'); + runner.assert(restoredData.conversations.length === 2, 'Conversations should be preserved'); + + fs.rmSync(tempDir1, { recursive: true, force: true }); + fs.rmSync(tempDir2, { recursive: true, force: true }); +}); + +// Test session isolation +runner.test('Session Isolation', async () => { + const user1 = 'user-1-isolation-test'; + const user2 = 'user-2-isolation-test'; + + // Create different session data for each user + const user1Data = Buffer.from('User 1 session data'); + const user2Data = Buffer.from('User 2 session data'); + + // Upload sessions + await mockS3.uploadSession(user1, user1Data); + await mockS3.uploadSession(user2, user2Data); + + // Download and verify isolation + const user1Result = await mockS3.downloadSession(user1); + const user2Result = await mockS3.downloadSession(user2); + + runner.assert(user1Result.success, 'User 1 download should succeed'); + runner.assert(user2Result.success, 'User 2 download should succeed'); + runner.assert(!user1Result.data.equals(user2Result.data), 'Sessions should be different'); + + // Verify cross-contamination doesn't occur + const user3Result = await mockS3.downloadSession('non-existent-user'); + runner.assert(!user3Result.success, 'Non-existent user should fail'); + runner.assert(user3Result.error === 'NoSuchKey', 'Should return NoSuchKey error'); +}); + +// Test cross-contamination prevention +runner.test('Cross-Contamination Prevention', async () => { + // Simulate multiple concurrent requests + const users = ['user-a', 'user-b', 'user-c']; + const tempDirs = []; + + try { + // Create separate temp directories for each user + for (const user of users) { + const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), `contamination-test-${user}-`)); + const claudeDir = path.join(tempDir, '.claude'); + fs.mkdirSync(claudeDir, { recursive: true }); + + // Create unique data for each user + fs.writeFileSync( + path.join(claudeDir, 'user-data.txt'), + `Data for ${user} - ${Date.now()}` + ); + + tempDirs.push({ user, tempDir, claudeDir }); + } + + // Verify each directory is isolated + for (let i = 0; i < tempDirs.length; i++) { + const currentDir = tempDirs[i]; + const userDataFile = path.join(currentDir.claudeDir, 'user-data.txt'); + const userData = fs.readFileSync(userDataFile, 'utf8'); + + runner.assert(userData.includes(currentDir.user), 'Should contain correct user data'); + + // Verify other users' data is not present + for (let j = 0; j < tempDirs.length; j++) { + if (i !== j) { + const otherUser = tempDirs[j].user; + runner.assert(!userData.includes(otherUser), `Should not contain ${otherUser} data`); + } + } + } + + } finally { + // Cleanup all temp directories + for (const { tempDir } of tempDirs) { + if (fs.existsSync(tempDir)) { + fs.rmSync(tempDir, { recursive: true, force: true }); + } + } + } +}); + +// Test session persistence across requests +runner.test('Session Persistence Across Requests', async () => { + const userUuid = 'persistence-test-user'; + + // Simulate first request + const tempDir1 = fs.mkdtempSync(path.join(os.tmpdir(), 'request1-')); + const claudeDir1 = path.join(tempDir1, '.claude'); + fs.mkdirSync(claudeDir1, { recursive: true }); + + // Simulate Claude creating some context + const initialContext = { + conversation: ['Hi, I need help with dashboards'], + userPreferences: { theme: 'dark', defaultDataSource: 'ClickHouse' }, + workingFiles: ['dashboard-config.json'] + }; + + fs.writeFileSync(path.join(claudeDir1, 'context.json'), JSON.stringify(initialContext)); + fs.writeFileSync(path.join(claudeDir1, 'dashboard-config.json'), '{"panels": []}'); + + // Upload after first request + const zip1 = new AdmZip(); + zip1.addLocalFile(path.join(claudeDir1, 'context.json')); + zip1.addLocalFile(path.join(claudeDir1, 'dashboard-config.json')); + + await mockS3.uploadSession(userUuid, zip1.toBuffer()); + + // Simulate second request + const tempDir2 = fs.mkdtempSync(path.join(os.tmpdir(), 'request2-')); + const claudeDir2 = path.join(tempDir2, '.claude'); + fs.mkdirSync(claudeDir2, { recursive: true }); + + // Download session from first request + const downloadResult = await mockS3.downloadSession(userUuid); + runner.assert(downloadResult.success, 'Should download previous session'); + + const zip2 = new AdmZip(downloadResult.data); + zip2.extractAllTo(claudeDir2, true); + + // Verify context is restored + const restoredContext = JSON.parse(fs.readFileSync(path.join(claudeDir2, 'context.json'), 'utf8')); + runner.assert(restoredContext.userPreferences.theme === 'dark', 'Should restore user preferences'); + runner.assert(restoredContext.conversation[0].includes('dashboards'), 'Should restore conversation'); + + const restoredConfig = fs.readFileSync(path.join(claudeDir2, 'dashboard-config.json'), 'utf8'); + runner.assert(restoredConfig.includes('panels'), 'Should restore working files'); + + // Cleanup + fs.rmSync(tempDir1, { recursive: true, force: true }); + fs.rmSync(tempDir2, { recursive: true, force: true }); +}); + +// Test environment cleanup +runner.test('Environment Cleanup', async () => { + const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'cleanup-test-')); + const claudeDir = path.join(tempDir, '.claude'); + fs.mkdirSync(claudeDir, { recursive: true }); + + // Create some files + fs.writeFileSync(path.join(claudeDir, 'temp-file.txt'), 'temporary data'); + fs.writeFileSync(path.join(tempDir, 'other-file.txt'), 'other data'); + + runner.assert(fs.existsSync(tempDir), 'Temp directory should exist before cleanup'); + + // Simulate cleanup function + function cleanupTempDirectory(dir) { + if (fs.existsSync(dir)) { + fs.rmSync(dir, { recursive: true, force: true }); + } + } + + cleanupTempDirectory(tempDir); + + runner.assert(!fs.existsSync(tempDir), 'Temp directory should not exist after cleanup'); + runner.assert(!fs.existsSync(claudeDir), 'Claude directory should not exist after cleanup'); +}); + +// Run tests +async function main() { + const success = await runner.run(); + + // Clear mock storage + mockS3.clear(); + + if (success) { + console.log('\n🎉 All session management tests passed!'); + process.exit(0); + } else { + console.log('\n💥 Some tests failed'); + process.exit(1); + } +} + +if (require.main === module) { + main().catch(console.error); +} + +module.exports = { SessionTestRunner, MockS3Operations }; \ No newline at end of file diff --git a/aws/lambda/grafana-mcp/test/unit_tests.js b/aws/lambda/grafana-mcp/test/unit_tests.js new file mode 100644 index 0000000000..81fa5ac468 --- /dev/null +++ b/aws/lambda/grafana-mcp/test/unit_tests.js @@ -0,0 +1,395 @@ +/** + * Unit Tests for Grafana MCP Lambda + */ + +const fs = require('fs'); +const path = require('path'); +const os = require('os'); +const AdmZip = require('adm-zip'); +const { MCP_TOOLS } = require('../test_modules/mcp_tools_mock'); + +// Mock AWS SDK for testing +const mockS3Client = { + send: jest.fn().mockImplementation(async (command) => { + // Mock GetObjectCommand + if (command.input && command.input.Key) { + if (command.input.Key.includes('nonexistent')) { + const error = new Error('NoSuchKey'); + error.name = 'NoSuchKey'; + throw error; + } + return { + Body: { + async *[Symbol.asyncIterator]() { + yield Buffer.from('test session data'); + } + } + }; + } + // Mock PutObjectCommand + else { + return { ETag: '"test-etag"' }; + } + }) +}; + +// Test MCP Tools Configuration +describe('MCP Tools Configuration', () => { + test('should have MCP tools defined', () => { + expect(MCP_TOOLS).toBeDefined(); + expect(Object.keys(MCP_TOOLS).length).toBeGreaterThan(0); + }); + + test('should have Grafana dashboard tool', () => { + expect(MCP_TOOLS['mcp__grafana-mcp__get_dashboard']).toBeDefined(); + }); + + test('should have ClickHouse query tool', () => { + expect(MCP_TOOLS['mcp__clickhouse-pip__run_clickhouse_query']).toBeDefined(); + }); + + test('should have correct tool structure', () => { + const tool = MCP_TOOLS['mcp__grafana-mcp__get_dashboard']; + expect(tool.service).toBeDefined(); + expect(tool.method).toBeDefined(); + }); +}); + +// Test Session Directory Setup +describe('Session Directory Setup', () => { + let tempDir; + let claudeDir; + + beforeEach(() => { + tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'test-session-')); + claudeDir = path.join(tempDir, '.claude'); + fs.mkdirSync(claudeDir, { recursive: true }); + }); + + afterEach(() => { + fs.rmSync(tempDir, { recursive: true, force: true }); + }); + + test('should create claude directory', () => { + expect(fs.existsSync(claudeDir)).toBe(true); + expect(fs.statSync(claudeDir).isDirectory()).toBe(true); + }); +}); + +// Test S3 Session Operations (Mocked) +describe('S3 Session Operations', () => { + let tempDir; + let claudeDir; + + beforeEach(() => { + tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'test-s3-')); + claudeDir = path.join(tempDir, '.claude'); + fs.mkdirSync(claudeDir, { recursive: true }); + }); + + afterEach(() => { + fs.rmSync(tempDir, { recursive: true, force: true }); + }); + + test('should download existing session successfully', async () => { + // Mock the download function + async function mockDownloadSessionFromS3(userUuid, claudeDir) { + try { + const command = { input: { Key: `sessions/${userUuid}/session.zip` } }; + const response = await mockS3Client.send(command); + + if (response && response.Body) { + // Simulate extracting to directory + fs.writeFileSync(path.join(claudeDir, 'test-file.txt'), 'test content'); + return true; + } + return false; + } catch (error) { + if (error.name === 'NoSuchKey') { + return false; + } + throw error; + } + } + + const result = await mockDownloadSessionFromS3('test-user', claudeDir); + expect(result).toBe(true); + expect(fs.existsSync(path.join(claudeDir, 'test-file.txt'))).toBe(true); + }); + + test('should handle non-existent session', async () => { + // Mock the download function + async function mockDownloadSessionFromS3(userUuid, claudeDir) { + try { + const command = { input: { Key: `sessions/${userUuid}/session.zip` } }; + const response = await mockS3Client.send(command); + + if (response && response.Body) { + // Simulate extracting to directory + fs.writeFileSync(path.join(claudeDir, 'test-file.txt'), 'test content'); + return true; + } + return false; + } catch (error) { + if (error.name === 'NoSuchKey') { + return false; + } + throw error; + } + } + + mockS3Client.send.mockImplementationOnce(() => { + const error = new Error('NoSuchKey'); + error.name = 'NoSuchKey'; + throw error; + }); + + const result = await mockDownloadSessionFromS3('nonexistent-user', claudeDir); + expect(result).toBe(false); + }); + + test('should upload session successfully', async () => { + async function mockUploadSessionToS3(userUuid, claudeDir) { + if (fs.existsSync(claudeDir)) { + const command = { + input: { + Body: Buffer.from('zipped session data') // No Key for upload + } + }; + const response = await mockS3Client.send(command); + return response && response.ETag !== undefined; + } + return false; + } + + fs.writeFileSync(path.join(claudeDir, 'session-data.txt'), 'test session'); + + const result = await mockUploadSessionToS3('test-user', claudeDir); + expect(result).toBe(true); + }); +}); + +// Test MCP Service Call via SSE (Mocked) +describe('MCP Service Call via SSE', () => { + test('should call Grafana MCP service', async () => { + async function mockCallMCPServiceSSE(serviceUrl, method, params = {}) { + // Simulate successful FastMCP SSE call + if (serviceUrl.includes('grafana') && method === 'get_dashboard') { + return { + dashboard: { + id: 1, + title: 'Test Dashboard', + panels: [] + } + }; + } else if (serviceUrl.includes('clickhouse') && method === 'run_clickhouse_query') { + return { + result: [ + { column1: 'value1', column2: 'value2' }, + { column1: 'value3', column2: 'value4' } + ], + rows: 2 + }; + } + throw new Error(`Unknown service/method: ${serviceUrl}/${method}`); + } + + const grafanaResult = await mockCallMCPServiceSSE('http://grafana-mcp:8000', 'get_dashboard', { id: 1 }); + expect(grafanaResult.dashboard).toBeDefined(); + expect(grafanaResult.dashboard.title).toBe('Test Dashboard'); + }); + + test('should call ClickHouse MCP service', async () => { + async function mockCallMCPServiceSSE(serviceUrl, method, params = {}) { + // Simulate successful FastMCP SSE call + if (serviceUrl.includes('grafana') && method === 'get_dashboard') { + return { + dashboard: { + id: 1, + title: 'Test Dashboard', + panels: [] + } + }; + } else if (serviceUrl.includes('clickhouse') && method === 'run_clickhouse_query') { + return { + result: [ + { column1: 'value1', column2: 'value2' }, + { column1: 'value3', column2: 'value4' } + ], + rows: 2 + }; + } + throw new Error(`Unknown service/method: ${serviceUrl}/${method}`); + } + + const clickhouseResult = await mockCallMCPServiceSSE('http://clickhouse-mcp:8001', 'run_clickhouse_query', { query: 'SELECT * FROM test' }); + expect(clickhouseResult.result).toBeDefined(); + expect(clickhouseResult.rows).toBe(2); + }); +}); + +// Test System Message Creation +describe('System Message Creation', () => { + test('should create proper system message', () => { + function createSystemMessage() { + const availableTools = [ + 'mcp__grafana-mcp__get_dashboard', + 'mcp__clickhouse-pip__run_clickhouse_query' + ]; + + return `You are Claude Code, an AI assistant with access to specialized tools for Grafana and ClickHouse operations. + +Available MCP Tools: +${availableTools.map(tool => `- ${tool}: MCP tool: ${tool}`).join('\n')} + +When you need to use these tools, make function calls using the standard format. The tools will be executed via SSE connections to FastMCP servers running in EKS containers. + +Important: +- Your working directory is /tmp and you have access to a persistent .claude folder for session storage +- All your local data and context is automatically saved and restored between sessions +- Always clean up any temporary files or resources after completing tasks to avoid cross-contamination between requests`; + } + + const systemMessage = createSystemMessage(); + expect(systemMessage).toContain('Claude Code'); + expect(systemMessage).toContain('MCP Tools'); + expect(systemMessage).toContain('/tmp'); + expect(systemMessage).toContain('persistent .claude folder'); + }); +}); + +// Test Request Body Validation +describe('Request Body Validation', () => { + function validateRequestBody(body) { + if (!body) { + throw new Error('Request body is required'); + } + + const { query, userUuid } = body; + + if (!query) { + throw new Error('Query parameter is required'); + } + + if (!userUuid) { + throw new Error('userUuid parameter is required for session management'); + } + + return { query, userUuid }; + } + + test('should validate valid request body', () => { + const validBody = { query: 'test query', userUuid: 'user-123' }; + const result = validateRequestBody(validBody); + expect(result.query).toBe('test query'); + expect(result.userUuid).toBe('user-123'); + }); + + test('should throw for null body', () => { + expect(() => validateRequestBody(null)).toThrow('Request body is required'); + }); + + test('should throw for missing query', () => { + expect(() => validateRequestBody({ userUuid: 'user-123' })).toThrow('Query parameter is required'); + }); + + test('should throw for missing userUuid', () => { + expect(() => validateRequestBody({ query: 'test' })).toThrow('userUuid parameter is required'); + }); +}); + +// Test Environment Variables +describe('Environment Variables', () => { + const originalEnv = process.env; + + beforeEach(() => { + process.env = { ...originalEnv }; + }); + + afterEach(() => { + process.env = originalEnv; + }); + + test('should use environment variables when provided', () => { + process.env.GRAFANA_MCP_URL = 'http://test-grafana:8000'; + process.env.CLICKHOUSE_MCP_URL = 'http://test-clickhouse:8001'; + process.env.SESSION_BUCKET_NAME = 'test-bucket'; + + const GRAFANA_MCP_URL = process.env.GRAFANA_MCP_URL || 'http://grafana-mcp-service:8000'; + const CLICKHOUSE_MCP_URL = process.env.CLICKHOUSE_MCP_URL || 'http://clickhouse-mcp-service:8001'; + const S3_BUCKET = process.env.SESSION_BUCKET_NAME || 'grafana-mcp-sessions'; + + expect(GRAFANA_MCP_URL).toBe('http://test-grafana:8000'); + expect(CLICKHOUSE_MCP_URL).toBe('http://test-clickhouse:8001'); + expect(S3_BUCKET).toBe('test-bucket'); + }); + + test('should use default values when env vars not provided', () => { + delete process.env.GRAFANA_MCP_URL; + delete process.env.CLICKHOUSE_MCP_URL; + delete process.env.SESSION_BUCKET_NAME; + + const GRAFANA_MCP_URL = process.env.GRAFANA_MCP_URL || 'http://grafana-mcp-service:8000'; + const CLICKHOUSE_MCP_URL = process.env.CLICKHOUSE_MCP_URL || 'http://clickhouse-mcp-service:8001'; + const S3_BUCKET = process.env.SESSION_BUCKET_NAME || 'grafana-mcp-sessions'; + + expect(GRAFANA_MCP_URL).toBe('http://grafana-mcp-service:8000'); + expect(CLICKHOUSE_MCP_URL).toBe('http://clickhouse-mcp-service:8001'); + expect(S3_BUCKET).toBe('grafana-mcp-sessions'); + }); +}); + +// Test Temporary Directory Cleanup +describe('Temporary Directory Cleanup', () => { + test('should clean up temporary directory', () => { + function cleanupTempDirectory(tempDir) { + if (fs.existsSync(tempDir)) { + fs.rmSync(tempDir, { recursive: true, force: true }); + return !fs.existsSync(tempDir); + } + return true; + } + + // Create a test temp directory + const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'test-cleanup-')); + const claudeDir = path.join(tempDir, '.claude'); + fs.mkdirSync(claudeDir, { recursive: true }); + fs.writeFileSync(path.join(claudeDir, 'test-file.txt'), 'test content'); + + expect(fs.existsSync(tempDir)).toBe(true); + + const cleanupResult = cleanupTempDirectory(tempDir); + expect(cleanupResult).toBe(true); + expect(fs.existsSync(tempDir)).toBe(false); + }); +}); + +// Test ZIP Operations (AdmZip) +describe('ZIP Operations', () => { + test('should create and extract ZIP files', () => { + // Create test files + const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'test-zip-')); + const testFile1 = path.join(tempDir, 'file1.txt'); + const testFile2 = path.join(tempDir, 'file2.txt'); + + fs.writeFileSync(testFile1, 'content1'); + fs.writeFileSync(testFile2, 'content2'); + + try { + // Create ZIP + const zip = new AdmZip(); + zip.addLocalFile(testFile1); + zip.addLocalFile(testFile2); + + const zipBuffer = zip.toBuffer(); + expect(zipBuffer.length).toBeGreaterThan(0); + + // Extract ZIP + const extractZip = new AdmZip(zipBuffer); + const entries = extractZip.getEntries(); + expect(entries.length).toBe(2); + } finally { + fs.rmSync(tempDir, { recursive: true, force: true }); + } + }); +}); \ No newline at end of file diff --git a/aws/lambda/grafana-mcp/test_modules/mcp_tools_mock.js b/aws/lambda/grafana-mcp/test_modules/mcp_tools_mock.js new file mode 100644 index 0000000000..8c21970eef --- /dev/null +++ b/aws/lambda/grafana-mcp/test_modules/mcp_tools_mock.js @@ -0,0 +1,64 @@ +// Mock MCP Tools for testing +const MCP_TOOLS = { + // Grafana MCP tools + 'mcp__grafana-mcp__get_dashboard': { + service: 'http://grafana-mcp-service:8000', + method: 'get_dashboard' + }, + 'mcp__grafana-mcp__create_dashboard': { + service: 'http://grafana-mcp-service:8000', + method: 'create_dashboard' + }, + 'mcp__grafana-mcp__update_dashboard': { + service: 'http://grafana-mcp-service:8000', + method: 'update_dashboard' + }, + 'mcp__grafana-mcp__list_datasources': { + service: 'http://grafana-mcp-service:8000', + method: 'list_datasources' + }, + 'mcp__grafana-mcp__create_datasource': { + service: 'http://grafana-mcp-service:8000', + method: 'create_datasource' + }, + + // ClickHouse MCP tools + 'mcp__clickhouse-pip__readme_howto_use_clickhouse_tools': { + service: 'http://clickhouse-mcp-service:8001', + method: 'readme_howto_use_clickhouse_tools' + }, + 'mcp__clickhouse-pip__run_clickhouse_query': { + service: 'http://clickhouse-mcp-service:8001', + method: 'run_clickhouse_query' + }, + 'mcp__clickhouse-pip__get_clickhouse_schema': { + service: 'http://clickhouse-mcp-service:8001', + method: 'get_clickhouse_schema' + }, + 'mcp__clickhouse-pip__get_query_execution_stats': { + service: 'http://clickhouse-mcp-service:8001', + method: 'get_query_execution_stats' + }, + 'mcp__clickhouse-pip__explain_clickhouse_query': { + service: 'http://clickhouse-mcp-service:8001', + method: 'explain_clickhouse_query' + }, + 'mcp__clickhouse-pip__get_clickhouse_tables': { + service: 'http://clickhouse-mcp-service:8001', + method: 'get_clickhouse_tables' + }, + 'mcp__clickhouse-pip__get_query_details': { + service: 'http://clickhouse-mcp-service:8001', + method: 'get_query_details' + }, + 'mcp__clickhouse-pip__semantic_search_docs': { + service: 'http://clickhouse-mcp-service:8001', + method: 'semantic_search_docs' + }, + 'mcp__clickhouse-pip__lint_clickhouse_query': { + service: 'http://clickhouse-mcp-service:8001', + method: 'lint_clickhouse_query' + } +}; + +module.exports = { MCP_TOOLS }; \ No newline at end of file diff --git a/aws/lambda/grafana-mcp/yarn.lock b/aws/lambda/grafana-mcp/yarn.lock new file mode 100644 index 0000000000..ef804259b6 --- /dev/null +++ b/aws/lambda/grafana-mcp/yarn.lock @@ -0,0 +1,4270 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@ampproject/remapping@^2.2.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz" + integrity sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw== + dependencies: + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.24" + +"@anthropic-ai/claude-code@^1.0.17": + version "1.0.17" + resolved "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.17.tgz" + integrity sha512-+MX/pKOKXG2HLSh7WJIgiILdumqRgcORUX0iSQmAfn+UEoHSYSuFWZWuWBpixaa8W4tiTCC06uN4pgzinCU6jw== + optionalDependencies: + "@img/sharp-darwin-arm64" "^0.33.5" + "@img/sharp-darwin-x64" "^0.33.5" + "@img/sharp-linux-arm" "^0.33.5" + "@img/sharp-linux-arm64" "^0.33.5" + "@img/sharp-linux-x64" "^0.33.5" + "@img/sharp-win32-x64" "^0.33.5" + +"@aws-crypto/crc32@5.2.0": + version "5.2.0" + resolved "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-5.2.0.tgz" + integrity sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg== + dependencies: + "@aws-crypto/util" "^5.2.0" + "@aws-sdk/types" "^3.222.0" + tslib "^2.6.2" + +"@aws-crypto/crc32c@5.2.0": + version "5.2.0" + resolved "https://registry.npmjs.org/@aws-crypto/crc32c/-/crc32c-5.2.0.tgz" + integrity sha512-+iWb8qaHLYKrNvGRbiYRHSdKRWhto5XlZUEBwDjYNf+ly5SVYG6zEoYIdxvf5R3zyeP16w4PLBn3rH1xc74Rag== + dependencies: + "@aws-crypto/util" "^5.2.0" + "@aws-sdk/types" "^3.222.0" + tslib "^2.6.2" + +"@aws-crypto/sha1-browser@5.2.0": + version "5.2.0" + resolved "https://registry.npmjs.org/@aws-crypto/sha1-browser/-/sha1-browser-5.2.0.tgz" + integrity sha512-OH6lveCFfcDjX4dbAvCFSYUjJZjDr/3XJ3xHtjn3Oj5b9RjojQo8npoLeA/bNwkOkrSQ0wgrHzXk4tDRxGKJeg== + dependencies: + "@aws-crypto/supports-web-crypto" "^5.2.0" + "@aws-crypto/util" "^5.2.0" + "@aws-sdk/types" "^3.222.0" + "@aws-sdk/util-locate-window" "^3.0.0" + "@smithy/util-utf8" "^2.0.0" + tslib "^2.6.2" + +"@aws-crypto/sha256-browser@5.2.0": + version "5.2.0" + resolved "https://registry.npmjs.org/@aws-crypto/sha256-browser/-/sha256-browser-5.2.0.tgz" + integrity sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw== + dependencies: + "@aws-crypto/sha256-js" "^5.2.0" + "@aws-crypto/supports-web-crypto" "^5.2.0" + "@aws-crypto/util" "^5.2.0" + "@aws-sdk/types" "^3.222.0" + "@aws-sdk/util-locate-window" "^3.0.0" + "@smithy/util-utf8" "^2.0.0" + tslib "^2.6.2" + +"@aws-crypto/sha256-js@5.2.0", "@aws-crypto/sha256-js@^5.2.0": + version "5.2.0" + resolved "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-5.2.0.tgz" + integrity sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA== + dependencies: + "@aws-crypto/util" "^5.2.0" + "@aws-sdk/types" "^3.222.0" + tslib "^2.6.2" + +"@aws-crypto/supports-web-crypto@^5.2.0": + version "5.2.0" + resolved "https://registry.npmjs.org/@aws-crypto/supports-web-crypto/-/supports-web-crypto-5.2.0.tgz" + integrity sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg== + dependencies: + tslib "^2.6.2" + +"@aws-crypto/util@5.2.0", "@aws-crypto/util@^5.2.0": + version "5.2.0" + resolved "https://registry.npmjs.org/@aws-crypto/util/-/util-5.2.0.tgz" + integrity sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ== + dependencies: + "@aws-sdk/types" "^3.222.0" + "@smithy/util-utf8" "^2.0.0" + tslib "^2.6.2" + +"@aws-sdk/client-s3@^3.0.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.821.0.tgz" + integrity sha512-enlFiONQD+oCaV+C6hMsAJvyQRT3wZmCtXXq7qjxX8BiLgXsHQ9HHS+Nhoq08Ya6mtd1Y1qHOOYpnD8yyUzTMQ== + dependencies: + "@aws-crypto/sha1-browser" "5.2.0" + "@aws-crypto/sha256-browser" "5.2.0" + "@aws-crypto/sha256-js" "5.2.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/credential-provider-node" "3.821.0" + "@aws-sdk/middleware-bucket-endpoint" "3.821.0" + "@aws-sdk/middleware-expect-continue" "3.821.0" + "@aws-sdk/middleware-flexible-checksums" "3.821.0" + "@aws-sdk/middleware-host-header" "3.821.0" + "@aws-sdk/middleware-location-constraint" "3.821.0" + "@aws-sdk/middleware-logger" "3.821.0" + "@aws-sdk/middleware-recursion-detection" "3.821.0" + "@aws-sdk/middleware-sdk-s3" "3.821.0" + "@aws-sdk/middleware-ssec" "3.821.0" + "@aws-sdk/middleware-user-agent" "3.821.0" + "@aws-sdk/region-config-resolver" "3.821.0" + "@aws-sdk/signature-v4-multi-region" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@aws-sdk/util-endpoints" "3.821.0" + "@aws-sdk/util-user-agent-browser" "3.821.0" + "@aws-sdk/util-user-agent-node" "3.821.0" + "@aws-sdk/xml-builder" "3.821.0" + "@smithy/config-resolver" "^4.1.4" + "@smithy/core" "^3.5.1" + "@smithy/eventstream-serde-browser" "^4.0.4" + "@smithy/eventstream-serde-config-resolver" "^4.1.2" + "@smithy/eventstream-serde-node" "^4.0.4" + "@smithy/fetch-http-handler" "^5.0.4" + "@smithy/hash-blob-browser" "^4.0.4" + "@smithy/hash-node" "^4.0.4" + "@smithy/hash-stream-node" "^4.0.4" + "@smithy/invalid-dependency" "^4.0.4" + "@smithy/md5-js" "^4.0.4" + "@smithy/middleware-content-length" "^4.0.4" + "@smithy/middleware-endpoint" "^4.1.9" + "@smithy/middleware-retry" "^4.1.10" + "@smithy/middleware-serde" "^4.0.8" + "@smithy/middleware-stack" "^4.0.4" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/node-http-handler" "^4.0.6" + "@smithy/protocol-http" "^5.1.2" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + "@smithy/url-parser" "^4.0.4" + "@smithy/util-base64" "^4.0.0" + "@smithy/util-body-length-browser" "^4.0.0" + "@smithy/util-body-length-node" "^4.0.0" + "@smithy/util-defaults-mode-browser" "^4.0.17" + "@smithy/util-defaults-mode-node" "^4.0.17" + "@smithy/util-endpoints" "^3.0.6" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-retry" "^4.0.5" + "@smithy/util-stream" "^4.2.2" + "@smithy/util-utf8" "^4.0.0" + "@smithy/util-waiter" "^4.0.5" + tslib "^2.6.2" + +"@aws-sdk/client-sso@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.821.0.tgz" + integrity sha512-aDEBZUKUd/+Tvudi0d9KQlqt2OW2P27LATZX0jkNC8yVk4145bAPS04EYoqdKLuyUn/U33DibEOgKUpxZB12jQ== + dependencies: + "@aws-crypto/sha256-browser" "5.2.0" + "@aws-crypto/sha256-js" "5.2.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/middleware-host-header" "3.821.0" + "@aws-sdk/middleware-logger" "3.821.0" + "@aws-sdk/middleware-recursion-detection" "3.821.0" + "@aws-sdk/middleware-user-agent" "3.821.0" + "@aws-sdk/region-config-resolver" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@aws-sdk/util-endpoints" "3.821.0" + "@aws-sdk/util-user-agent-browser" "3.821.0" + "@aws-sdk/util-user-agent-node" "3.821.0" + "@smithy/config-resolver" "^4.1.4" + "@smithy/core" "^3.5.1" + "@smithy/fetch-http-handler" "^5.0.4" + "@smithy/hash-node" "^4.0.4" + "@smithy/invalid-dependency" "^4.0.4" + "@smithy/middleware-content-length" "^4.0.4" + "@smithy/middleware-endpoint" "^4.1.9" + "@smithy/middleware-retry" "^4.1.10" + "@smithy/middleware-serde" "^4.0.8" + "@smithy/middleware-stack" "^4.0.4" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/node-http-handler" "^4.0.6" + "@smithy/protocol-http" "^5.1.2" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + "@smithy/url-parser" "^4.0.4" + "@smithy/util-base64" "^4.0.0" + "@smithy/util-body-length-browser" "^4.0.0" + "@smithy/util-body-length-node" "^4.0.0" + "@smithy/util-defaults-mode-browser" "^4.0.17" + "@smithy/util-defaults-mode-node" "^4.0.17" + "@smithy/util-endpoints" "^3.0.6" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-retry" "^4.0.5" + "@smithy/util-utf8" "^4.0.0" + tslib "^2.6.2" + +"@aws-sdk/core@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/core/-/core-3.821.0.tgz" + integrity sha512-8eB3wKbmfciQFmxFq7hAjy7mXdUs7vBOR5SwT0ZtQBg0Txc18Lc9tMViqqdO6/KU7OukA6ib2IAVSjIJJEN7FQ== + dependencies: + "@aws-sdk/types" "3.821.0" + "@smithy/core" "^3.5.1" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/property-provider" "^4.0.4" + "@smithy/protocol-http" "^5.1.2" + "@smithy/signature-v4" "^5.1.2" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + "@smithy/util-middleware" "^4.0.4" + fast-xml-parser "4.4.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-env@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.821.0.tgz" + integrity sha512-C+s/A72pd7CXwEsJj9+Uq9T726iIfIF18hGRY8o82xcIEfOyakiPnlisku8zZOaAu+jm0CihbbYN4NyYNQ+HZQ== + dependencies: + "@aws-sdk/core" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/property-provider" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-http@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.821.0.tgz" + integrity sha512-gIRzTLnAsRfRSNarCag7G7rhcHagz4x5nNTWRihQs5cwTOghEExDy7Tj5m4TEkv3dcTAsNn+l4tnR4nZXo6R+Q== + dependencies: + "@aws-sdk/core" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/fetch-http-handler" "^5.0.4" + "@smithy/node-http-handler" "^4.0.6" + "@smithy/property-provider" "^4.0.4" + "@smithy/protocol-http" "^5.1.2" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + "@smithy/util-stream" "^4.2.2" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-ini@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.821.0.tgz" + integrity sha512-VRTrmsca8kBHtY1tTek1ce+XkK/H0fzodBKcilM/qXjTyumMHPAzVAxKZfSvGC+28/pXyQzhOEyxZfw7giCiWA== + dependencies: + "@aws-sdk/core" "3.821.0" + "@aws-sdk/credential-provider-env" "3.821.0" + "@aws-sdk/credential-provider-http" "3.821.0" + "@aws-sdk/credential-provider-process" "3.821.0" + "@aws-sdk/credential-provider-sso" "3.821.0" + "@aws-sdk/credential-provider-web-identity" "3.821.0" + "@aws-sdk/nested-clients" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/credential-provider-imds" "^4.0.6" + "@smithy/property-provider" "^4.0.4" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-node@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.821.0.tgz" + integrity sha512-oBgbcgOXWMgknAfhIdTeHSSVIv+k2LXN9oTbxu1r++o4WWBWrEQ8mHU0Zo9dfr7Uaoqi3pezYZznsBkXnMLEOg== + dependencies: + "@aws-sdk/credential-provider-env" "3.821.0" + "@aws-sdk/credential-provider-http" "3.821.0" + "@aws-sdk/credential-provider-ini" "3.821.0" + "@aws-sdk/credential-provider-process" "3.821.0" + "@aws-sdk/credential-provider-sso" "3.821.0" + "@aws-sdk/credential-provider-web-identity" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/credential-provider-imds" "^4.0.6" + "@smithy/property-provider" "^4.0.4" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-process@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.821.0.tgz" + integrity sha512-e18ucfqKB3ICNj5RP/FEdvUfhVK6E9MALOsl8pKP13mwegug46p/1BsZWACD5n+Zf9ViiiHxIO7td03zQixfwA== + dependencies: + "@aws-sdk/core" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/property-provider" "^4.0.4" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-sso@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.821.0.tgz" + integrity sha512-Dt+pheBLom4O/egO4L75/72k9C1qtUOLl0F0h6lmqZe4Mvhz+wDtjoO/MdGC/P1q0kcIX/bBKr0NQ3cIvAH8pA== + dependencies: + "@aws-sdk/client-sso" "3.821.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/token-providers" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/property-provider" "^4.0.4" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-web-identity@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.821.0.tgz" + integrity sha512-FF5wnRJkxSQaCVVvWNv53K1MhTMgH8d+O+MHTbkv51gVIgVATrtfFQMKBLcEAxzXrgAliIO3LiNv+1TqqBZ+BA== + dependencies: + "@aws-sdk/core" "3.821.0" + "@aws-sdk/nested-clients" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/property-provider" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/middleware-bucket-endpoint@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.821.0.tgz" + integrity sha512-cebgeytKlWOgGczLo3BPvNY9XlzAzGZQANSysgJ2/8PSldmUpXRIF+GKPXDVhXeInWYHIfB8zZi3RqrPoXcNYQ== + dependencies: + "@aws-sdk/types" "3.821.0" + "@aws-sdk/util-arn-parser" "3.804.0" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + "@smithy/util-config-provider" "^4.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-expect-continue@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.821.0.tgz" + integrity sha512-zAOoSZKe1njOrtynvK6ZORU57YGv5I7KP4+rwOvUN3ZhJbQ7QPf8gKtFUCYAPRMegaXCKF/ADPtDZBAmM+zZ9g== + dependencies: + "@aws-sdk/types" "3.821.0" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/middleware-flexible-checksums@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.821.0.tgz" + integrity sha512-C56sBHXq1fEsLfIAup+w/7SKtb6d8Mb3YBec94r2ludVn1s3ypYWRovFE/6VhUzvwUbTQaxfrA2ewy5GQ1/DJQ== + dependencies: + "@aws-crypto/crc32" "5.2.0" + "@aws-crypto/crc32c" "5.2.0" + "@aws-crypto/util" "5.2.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/is-array-buffer" "^4.0.0" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-stream" "^4.2.2" + "@smithy/util-utf8" "^4.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-host-header@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.821.0.tgz" + integrity sha512-xSMR+sopSeWGx5/4pAGhhfMvGBHioVBbqGvDs6pG64xfNwM5vq5s5v6D04e2i+uSTj4qGa71dLUs5I0UzAK3sw== + dependencies: + "@aws-sdk/types" "3.821.0" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/middleware-location-constraint@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.821.0.tgz" + integrity sha512-sKrm80k0t3R0on8aA/WhWFoMaAl4yvdk+riotmMElLUpcMcRXAd1+600uFVrxJqZdbrKQ0mjX0PjT68DlkYXLg== + dependencies: + "@aws-sdk/types" "3.821.0" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/middleware-logger@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.821.0.tgz" + integrity sha512-0cvI0ipf2tGx7fXYEEN5fBeZDz2RnHyb9xftSgUsEq7NBxjV0yTZfLJw6Za5rjE6snC80dRN8+bTNR1tuG89zA== + dependencies: + "@aws-sdk/types" "3.821.0" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/middleware-recursion-detection@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.821.0.tgz" + integrity sha512-efmaifbhBoqKG3bAoEfDdcM8hn1psF+4qa7ykWuYmfmah59JBeqHLfz5W9m9JoTwoKPkFcVLWZxnyZzAnVBOIg== + dependencies: + "@aws-sdk/types" "3.821.0" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/middleware-sdk-s3@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.821.0.tgz" + integrity sha512-D469De1d4NtcCTVHzUL2Q0tGvPFr7mk2j4+oCYpVyd5awSSOyl8Adkxse8qayZj9ROmuMlsoU5VhBvcc9Hoo2w== + dependencies: + "@aws-sdk/core" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@aws-sdk/util-arn-parser" "3.804.0" + "@smithy/core" "^3.5.1" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/protocol-http" "^5.1.2" + "@smithy/signature-v4" "^5.1.2" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + "@smithy/util-config-provider" "^4.0.0" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-stream" "^4.2.2" + "@smithy/util-utf8" "^4.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-ssec@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.821.0.tgz" + integrity sha512-YYi1Hhr2AYiU/24cQc8HIB+SWbQo6FBkMYojVuz/zgrtkFmALxENGF/21OPg7f/QWd+eadZJRxCjmRwh5F2Cxg== + dependencies: + "@aws-sdk/types" "3.821.0" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/middleware-user-agent@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.821.0.tgz" + integrity sha512-rw8q3TxygMg3VrofN04QyWVCCyGwz3bVthYmBZZseENPWG3Krz1OCKcyqjkTcAxMQlEywOske+GIiOasGKnJ3w== + dependencies: + "@aws-sdk/core" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@aws-sdk/util-endpoints" "3.821.0" + "@smithy/core" "^3.5.1" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/nested-clients@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.821.0.tgz" + integrity sha512-2IuHcUsWw44ftSEDYU4dvktTEqgyDvkOcfpoGC/UmT4Qo6TVCP3U5tWEGpNK9nN+7nLvekruxxG/jaMt5/oWVw== + dependencies: + "@aws-crypto/sha256-browser" "5.2.0" + "@aws-crypto/sha256-js" "5.2.0" + "@aws-sdk/core" "3.821.0" + "@aws-sdk/middleware-host-header" "3.821.0" + "@aws-sdk/middleware-logger" "3.821.0" + "@aws-sdk/middleware-recursion-detection" "3.821.0" + "@aws-sdk/middleware-user-agent" "3.821.0" + "@aws-sdk/region-config-resolver" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@aws-sdk/util-endpoints" "3.821.0" + "@aws-sdk/util-user-agent-browser" "3.821.0" + "@aws-sdk/util-user-agent-node" "3.821.0" + "@smithy/config-resolver" "^4.1.4" + "@smithy/core" "^3.5.1" + "@smithy/fetch-http-handler" "^5.0.4" + "@smithy/hash-node" "^4.0.4" + "@smithy/invalid-dependency" "^4.0.4" + "@smithy/middleware-content-length" "^4.0.4" + "@smithy/middleware-endpoint" "^4.1.9" + "@smithy/middleware-retry" "^4.1.10" + "@smithy/middleware-serde" "^4.0.8" + "@smithy/middleware-stack" "^4.0.4" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/node-http-handler" "^4.0.6" + "@smithy/protocol-http" "^5.1.2" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + "@smithy/url-parser" "^4.0.4" + "@smithy/util-base64" "^4.0.0" + "@smithy/util-body-length-browser" "^4.0.0" + "@smithy/util-body-length-node" "^4.0.0" + "@smithy/util-defaults-mode-browser" "^4.0.17" + "@smithy/util-defaults-mode-node" "^4.0.17" + "@smithy/util-endpoints" "^3.0.6" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-retry" "^4.0.5" + "@smithy/util-utf8" "^4.0.0" + tslib "^2.6.2" + +"@aws-sdk/region-config-resolver@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.821.0.tgz" + integrity sha512-t8og+lRCIIy5nlId0bScNpCkif8sc0LhmtaKsbm0ZPm3sCa/WhCbSZibjbZ28FNjVCV+p0D9RYZx0VDDbtWyjw== + dependencies: + "@aws-sdk/types" "3.821.0" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/types" "^4.3.1" + "@smithy/util-config-provider" "^4.0.0" + "@smithy/util-middleware" "^4.0.4" + tslib "^2.6.2" + +"@aws-sdk/signature-v4-multi-region@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.821.0.tgz" + integrity sha512-UjfyVR/PB/TP9qe1x6tv7qLlD8/0eiSLDkkBUgBmddkkX0l17oy9c2SJINuV3jy1fbx6KORZ6gyvRZ2nb8dtMw== + dependencies: + "@aws-sdk/middleware-sdk-s3" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/protocol-http" "^5.1.2" + "@smithy/signature-v4" "^5.1.2" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/token-providers@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.821.0.tgz" + integrity sha512-qJ7wgKhdxGbPg718zWXbCYKDuSWZNU3TSw64hPRW6FtbZrIyZxObpiTKC6DKwfsVoZZhHEoP/imGykN1OdOTJA== + dependencies: + "@aws-sdk/core" "3.821.0" + "@aws-sdk/nested-clients" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/property-provider" "^4.0.4" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/types@3.821.0", "@aws-sdk/types@^3.222.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/types/-/types-3.821.0.tgz" + integrity sha512-Znroqdai1a90TlxGaJ+FK1lwC0fHpo97Xjsp5UKGR5JODYm7f9+/fF17ebO1KdoBr/Rm0UIFiF5VmI8ts9F1eA== + dependencies: + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/util-arn-parser@3.804.0": + version "3.804.0" + resolved "https://registry.npmjs.org/@aws-sdk/util-arn-parser/-/util-arn-parser-3.804.0.tgz" + integrity sha512-wmBJqn1DRXnZu3b4EkE6CWnoWMo1ZMvlfkqU5zPz67xx1GMaXlDCchFvKAXMjk4jn/L1O3tKnoFDNsoLV1kgNQ== + dependencies: + tslib "^2.6.2" + +"@aws-sdk/util-endpoints@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.821.0.tgz" + integrity sha512-Uknt/zUZnLE76zaAAPEayOeF5/4IZ2puTFXvcSCWHsi9m3tqbb9UozlnlVqvCZLCRWfQryZQoG2W4XSS3qgk5A== + dependencies: + "@aws-sdk/types" "3.821.0" + "@smithy/types" "^4.3.1" + "@smithy/util-endpoints" "^3.0.6" + tslib "^2.6.2" + +"@aws-sdk/util-locate-window@^3.0.0": + version "3.804.0" + resolved "https://registry.npmjs.org/@aws-sdk/util-locate-window/-/util-locate-window-3.804.0.tgz" + integrity sha512-zVoRfpmBVPodYlnMjgVjfGoEZagyRF5IPn3Uo6ZvOZp24chnW/FRstH7ESDHDDRga4z3V+ElUQHKpFDXWyBW5A== + dependencies: + tslib "^2.6.2" + +"@aws-sdk/util-user-agent-browser@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.821.0.tgz" + integrity sha512-irWZHyM0Jr1xhC+38OuZ7JB6OXMLPZlj48thElpsO1ZSLRkLZx5+I7VV6k3sp2yZ7BYbKz/G2ojSv4wdm7XTLw== + dependencies: + "@aws-sdk/types" "3.821.0" + "@smithy/types" "^4.3.1" + bowser "^2.11.0" + tslib "^2.6.2" + +"@aws-sdk/util-user-agent-node@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.821.0.tgz" + integrity sha512-YwMXc9EvuzJgnLBTyiQly2juPujXwDgcMHB0iSN92tHe7Dd1jJ1feBmTgdClaaqCeHFUaFpw+3JU/ZUJ6LjR+A== + dependencies: + "@aws-sdk/middleware-user-agent" "3.821.0" + "@aws-sdk/types" "3.821.0" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@aws-sdk/xml-builder@3.821.0": + version "3.821.0" + resolved "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.821.0.tgz" + integrity sha512-DIIotRnefVL6DiaHtO6/21DhJ4JZnnIwdNbpwiAhdt/AVbttcE4yw925gsjur0OGv5BTYXQXU3YnANBYnZjuQA== + dependencies: + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.27.1": + version "7.27.1" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz" + integrity sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg== + dependencies: + "@babel/helper-validator-identifier" "^7.27.1" + js-tokens "^4.0.0" + picocolors "^1.1.1" + +"@babel/compat-data@^7.27.2": + version "7.27.5" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.27.5.tgz" + integrity sha512-KiRAp/VoJaWkkte84TvUd9qjdbZAdiqyvMxrGl1N6vzFogKmaLgoM3L1kgtLicp2HP5fBJS8JrZKLVIZGVJAVg== + +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9": + version "7.27.4" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.27.4.tgz" + integrity sha512-bXYxrXFubeYdvB0NhD/NBB3Qi6aZeV20GOWVI47t2dkecCEoneR4NPVcb7abpXDEvejgrUfFtG6vG/zxAKmg+g== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.27.1" + "@babel/generator" "^7.27.3" + "@babel/helper-compilation-targets" "^7.27.2" + "@babel/helper-module-transforms" "^7.27.3" + "@babel/helpers" "^7.27.4" + "@babel/parser" "^7.27.4" + "@babel/template" "^7.27.2" + "@babel/traverse" "^7.27.4" + "@babel/types" "^7.27.3" + convert-source-map "^2.0.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.3" + semver "^6.3.1" + +"@babel/generator@^7.27.3", "@babel/generator@^7.7.2": + version "7.27.5" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.27.5.tgz" + integrity sha512-ZGhA37l0e/g2s1Cnzdix0O3aLYm66eF8aufiVteOgnwxgnRP8GoyMj7VWsgWnQbVKXyge7hqrFh2K2TQM6t1Hw== + dependencies: + "@babel/parser" "^7.27.5" + "@babel/types" "^7.27.3" + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.25" + jsesc "^3.0.2" + +"@babel/helper-compilation-targets@^7.27.2": + version "7.27.2" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz" + integrity sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ== + dependencies: + "@babel/compat-data" "^7.27.2" + "@babel/helper-validator-option" "^7.27.1" + browserslist "^4.24.0" + lru-cache "^5.1.1" + semver "^6.3.1" + +"@babel/helper-module-imports@^7.27.1": + version "7.27.1" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz" + integrity sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w== + dependencies: + "@babel/traverse" "^7.27.1" + "@babel/types" "^7.27.1" + +"@babel/helper-module-transforms@^7.27.3": + version "7.27.3" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.27.3.tgz" + integrity sha512-dSOvYwvyLsWBeIRyOeHXp5vPj5l1I011r52FM1+r1jCERv+aFXYk4whgQccYEGYxK2H3ZAIA8nuPkQ0HaUo3qg== + dependencies: + "@babel/helper-module-imports" "^7.27.1" + "@babel/helper-validator-identifier" "^7.27.1" + "@babel/traverse" "^7.27.3" + +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.27.1", "@babel/helper-plugin-utils@^7.8.0": + version "7.27.1" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz" + integrity sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw== + +"@babel/helper-string-parser@^7.27.1": + version "7.27.1" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz" + integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA== + +"@babel/helper-validator-identifier@^7.27.1": + version "7.27.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz" + integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow== + +"@babel/helper-validator-option@^7.27.1": + version "7.27.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz" + integrity sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg== + +"@babel/helpers@^7.27.4": + version "7.27.6" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.6.tgz" + integrity sha512-muE8Tt8M22638HU31A3CgfSUciwz1fhATfoVai05aPXGor//CdWDCbnlY1yvBPo07njuVOCNGCSp/GTt12lIug== + dependencies: + "@babel/template" "^7.27.2" + "@babel/types" "^7.27.6" + +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.27.2", "@babel/parser@^7.27.4", "@babel/parser@^7.27.5": + version "7.27.5" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.27.5.tgz" + integrity sha512-OsQd175SxWkGlzbny8J3K8TnnDD0N3lrIUtB92xwyRpzaenGZhxDvxN/JgU00U3CDZNj9tPuDJ5H0WS4Nt3vKg== + dependencies: + "@babel/types" "^7.27.3" + +"@babel/plugin-syntax-async-generators@^7.8.4": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz" + integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-bigint@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz" + integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-class-properties@^7.12.13": + version "7.12.13" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz" + integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + +"@babel/plugin-syntax-class-static-block@^7.14.5": + version "7.14.5" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz" + integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-import-attributes@^7.24.7": + version "7.27.1" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz" + integrity sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww== + dependencies: + "@babel/helper-plugin-utils" "^7.27.1" + +"@babel/plugin-syntax-import-meta@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz" + integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-json-strings@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz" + integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-jsx@^7.7.2": + version "7.27.1" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz" + integrity sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w== + dependencies: + "@babel/helper-plugin-utils" "^7.27.1" + +"@babel/plugin-syntax-logical-assignment-operators@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz" + integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz" + integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-numeric-separator@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz" + integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-object-rest-spread@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz" + integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-catch-binding@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz" + integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-chaining@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz" + integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-private-property-in-object@^7.14.5": + version "7.14.5" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz" + integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-top-level-await@^7.14.5": + version "7.14.5" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz" + integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-typescript@^7.7.2": + version "7.27.1" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz" + integrity sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ== + dependencies: + "@babel/helper-plugin-utils" "^7.27.1" + +"@babel/template@^7.27.2", "@babel/template@^7.3.3": + version "7.27.2" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz" + integrity sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw== + dependencies: + "@babel/code-frame" "^7.27.1" + "@babel/parser" "^7.27.2" + "@babel/types" "^7.27.1" + +"@babel/traverse@^7.27.1", "@babel/traverse@^7.27.3", "@babel/traverse@^7.27.4": + version "7.27.4" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.27.4.tgz" + integrity sha512-oNcu2QbHqts9BtOWJosOVJapWjBDSxGCpFvikNR5TGDYDQf3JwpIoMzIKrvfoti93cLfPJEG4tH9SPVeyCGgdA== + dependencies: + "@babel/code-frame" "^7.27.1" + "@babel/generator" "^7.27.3" + "@babel/parser" "^7.27.4" + "@babel/template" "^7.27.2" + "@babel/types" "^7.27.3" + debug "^4.3.1" + globals "^11.1.0" + +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.27.1", "@babel/types@^7.27.3", "@babel/types@^7.27.6", "@babel/types@^7.3.3": + version "7.27.6" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.27.6.tgz" + integrity sha512-ETyHEk2VHHvl9b9jZP5IHPavHYk57EhanlRRuae9XCpb/j5bDCbPPMOBfCWhnl/7EDJz0jEMCi/RhccCE8r1+Q== + dependencies: + "@babel/helper-string-parser" "^7.27.1" + "@babel/helper-validator-identifier" "^7.27.1" + +"@bcoe/v8-coverage@^0.2.3": + version "0.2.3" + resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" + integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== + +"@img/sharp-darwin-arm64@^0.33.5": + version "0.33.5" + resolved "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz" + integrity sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ== + optionalDependencies: + "@img/sharp-libvips-darwin-arm64" "1.0.4" + +"@img/sharp-darwin-x64@^0.33.5": + version "0.33.5" + resolved "https://registry.yarnpkg.com/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.5.tgz#e03d3451cd9e664faa72948cc70a403ea4063d61" + integrity sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q== + optionalDependencies: + "@img/sharp-libvips-darwin-x64" "1.0.4" + +"@img/sharp-libvips-darwin-arm64@1.0.4": + version "1.0.4" + resolved "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.4.tgz" + integrity sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcOL72O01QxQsWi761svJ/ev9xEDg== + +"@img/sharp-libvips-darwin-x64@1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.0.4.tgz#e0456f8f7c623f9dbfbdc77383caa72281d86062" + integrity sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ== + +"@img/sharp-libvips-linux-arm64@1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.0.4.tgz#979b1c66c9a91f7ff2893556ef267f90ebe51704" + integrity sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA== + +"@img/sharp-libvips-linux-arm@1.0.5": + version "1.0.5" + resolved "https://registry.yarnpkg.com/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.0.5.tgz#99f922d4e15216ec205dcb6891b721bfd2884197" + integrity sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g== + +"@img/sharp-libvips-linux-x64@1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.4.tgz#d4c4619cdd157774906e15770ee119931c7ef5e0" + integrity sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw== + +"@img/sharp-linux-arm64@^0.33.5": + version "0.33.5" + resolved "https://registry.yarnpkg.com/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.5.tgz#edb0697e7a8279c9fc829a60fc35644c4839bb22" + integrity sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA== + optionalDependencies: + "@img/sharp-libvips-linux-arm64" "1.0.4" + +"@img/sharp-linux-arm@^0.33.5": + version "0.33.5" + resolved "https://registry.yarnpkg.com/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.5.tgz#422c1a352e7b5832842577dc51602bcd5b6f5eff" + integrity sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ== + optionalDependencies: + "@img/sharp-libvips-linux-arm" "1.0.5" + +"@img/sharp-linux-x64@^0.33.5": + version "0.33.5" + resolved "https://registry.yarnpkg.com/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.5.tgz#d806e0afd71ae6775cc87f0da8f2d03a7c2209cb" + integrity sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA== + optionalDependencies: + "@img/sharp-libvips-linux-x64" "1.0.4" + +"@img/sharp-win32-x64@^0.33.5": + version "0.33.5" + resolved "https://registry.yarnpkg.com/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.5.tgz#56f00962ff0c4e0eb93d34a047d29fa995e3e342" + integrity sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg== + +"@istanbuljs/load-nyc-config@^1.0.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz" + integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== + dependencies: + camelcase "^5.3.1" + find-up "^4.1.0" + get-package-type "^0.1.0" + js-yaml "^3.13.1" + resolve-from "^5.0.0" + +"@istanbuljs/schema@^0.1.2", "@istanbuljs/schema@^0.1.3": + version "0.1.3" + resolved "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz" + integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== + +"@jest/console@^29.7.0": + version "29.7.0" + resolved "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz" + integrity sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg== + dependencies: + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + slash "^3.0.0" + +"@jest/core@^29.7.0": + version "29.7.0" + resolved "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz" + integrity sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg== + dependencies: + "@jest/console" "^29.7.0" + "@jest/reporters" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + ci-info "^3.2.0" + exit "^0.1.2" + graceful-fs "^4.2.9" + jest-changed-files "^29.7.0" + jest-config "^29.7.0" + jest-haste-map "^29.7.0" + jest-message-util "^29.7.0" + jest-regex-util "^29.6.3" + jest-resolve "^29.7.0" + jest-resolve-dependencies "^29.7.0" + jest-runner "^29.7.0" + jest-runtime "^29.7.0" + jest-snapshot "^29.7.0" + jest-util "^29.7.0" + jest-validate "^29.7.0" + jest-watcher "^29.7.0" + micromatch "^4.0.4" + pretty-format "^29.7.0" + slash "^3.0.0" + strip-ansi "^6.0.0" + +"@jest/environment@^29.7.0": + version "29.7.0" + resolved "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz" + integrity sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw== + dependencies: + "@jest/fake-timers" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + jest-mock "^29.7.0" + +"@jest/expect-utils@^29.7.0": + version "29.7.0" + resolved "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz" + integrity sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA== + dependencies: + jest-get-type "^29.6.3" + +"@jest/expect@^29.7.0": + version "29.7.0" + resolved "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz" + integrity sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ== + dependencies: + expect "^29.7.0" + jest-snapshot "^29.7.0" + +"@jest/fake-timers@^29.7.0": + version "29.7.0" + resolved "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz" + integrity sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ== + dependencies: + "@jest/types" "^29.6.3" + "@sinonjs/fake-timers" "^10.0.2" + "@types/node" "*" + jest-message-util "^29.7.0" + jest-mock "^29.7.0" + jest-util "^29.7.0" + +"@jest/globals@^29.7.0": + version "29.7.0" + resolved "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz" + integrity sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ== + dependencies: + "@jest/environment" "^29.7.0" + "@jest/expect" "^29.7.0" + "@jest/types" "^29.6.3" + jest-mock "^29.7.0" + +"@jest/reporters@^29.7.0": + version "29.7.0" + resolved "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz" + integrity sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg== + dependencies: + "@bcoe/v8-coverage" "^0.2.3" + "@jest/console" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + "@jridgewell/trace-mapping" "^0.3.18" + "@types/node" "*" + chalk "^4.0.0" + collect-v8-coverage "^1.0.0" + exit "^0.1.2" + glob "^7.1.3" + graceful-fs "^4.2.9" + istanbul-lib-coverage "^3.0.0" + istanbul-lib-instrument "^6.0.0" + istanbul-lib-report "^3.0.0" + istanbul-lib-source-maps "^4.0.0" + istanbul-reports "^3.1.3" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + jest-worker "^29.7.0" + slash "^3.0.0" + string-length "^4.0.1" + strip-ansi "^6.0.0" + v8-to-istanbul "^9.0.1" + +"@jest/schemas@^29.6.3": + version "29.6.3" + resolved "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz" + integrity sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA== + dependencies: + "@sinclair/typebox" "^0.27.8" + +"@jest/source-map@^29.6.3": + version "29.6.3" + resolved "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz" + integrity sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw== + dependencies: + "@jridgewell/trace-mapping" "^0.3.18" + callsites "^3.0.0" + graceful-fs "^4.2.9" + +"@jest/test-result@^29.7.0": + version "29.7.0" + resolved "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz" + integrity sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA== + dependencies: + "@jest/console" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/istanbul-lib-coverage" "^2.0.0" + collect-v8-coverage "^1.0.0" + +"@jest/test-sequencer@^29.7.0": + version "29.7.0" + resolved "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz" + integrity sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw== + dependencies: + "@jest/test-result" "^29.7.0" + graceful-fs "^4.2.9" + jest-haste-map "^29.7.0" + slash "^3.0.0" + +"@jest/transform@^29.7.0": + version "29.7.0" + resolved "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz" + integrity sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw== + dependencies: + "@babel/core" "^7.11.6" + "@jest/types" "^29.6.3" + "@jridgewell/trace-mapping" "^0.3.18" + babel-plugin-istanbul "^6.1.1" + chalk "^4.0.0" + convert-source-map "^2.0.0" + fast-json-stable-stringify "^2.1.0" + graceful-fs "^4.2.9" + jest-haste-map "^29.7.0" + jest-regex-util "^29.6.3" + jest-util "^29.7.0" + micromatch "^4.0.4" + pirates "^4.0.4" + slash "^3.0.0" + write-file-atomic "^4.0.2" + +"@jest/types@^29.6.3": + version "29.6.3" + resolved "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz" + integrity sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw== + dependencies: + "@jest/schemas" "^29.6.3" + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@types/yargs" "^17.0.8" + chalk "^4.0.0" + +"@jridgewell/gen-mapping@^0.3.5": + version "0.3.8" + resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz" + integrity sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA== + dependencies: + "@jridgewell/set-array" "^1.2.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.24" + +"@jridgewell/resolve-uri@^3.1.0": + version "3.1.2" + resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz" + integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== + +"@jridgewell/set-array@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz" + integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A== + +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14": + version "1.5.0" + resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz" + integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== + +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": + version "0.3.25" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz" + integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== + dependencies: + "@jridgewell/resolve-uri" "^3.1.0" + "@jridgewell/sourcemap-codec" "^1.4.14" + +"@sinclair/typebox@^0.27.8": + version "0.27.8" + resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz" + integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA== + +"@sinonjs/commons@^3.0.0", "@sinonjs/commons@^3.0.1": + version "3.0.1" + resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz" + integrity sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ== + dependencies: + type-detect "4.0.8" + +"@sinonjs/fake-timers@^10.0.2": + version "10.3.0" + resolved "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz" + integrity sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA== + dependencies: + "@sinonjs/commons" "^3.0.0" + +"@sinonjs/fake-timers@^11.2.2": + version "11.3.1" + resolved "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-11.3.1.tgz" + integrity sha512-EVJO7nW5M/F5Tur0Rf2z/QoMo+1Ia963RiMtapiQrEWvY0iBUvADo8Beegwjpnle5BHkyHuoxSTW3jF43H1XRA== + dependencies: + "@sinonjs/commons" "^3.0.1" + +"@sinonjs/samsam@^8.0.0": + version "8.0.2" + resolved "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.2.tgz" + integrity sha512-v46t/fwnhejRSFTGqbpn9u+LQ9xJDse10gNnPgAcxgdoCDMXj/G2asWAC/8Qs+BAZDicX+MNZouXT1A7c83kVw== + dependencies: + "@sinonjs/commons" "^3.0.1" + lodash.get "^4.4.2" + type-detect "^4.1.0" + +"@sinonjs/text-encoding@^0.7.2": + version "0.7.3" + resolved "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.3.tgz" + integrity sha512-DE427ROAphMQzU4ENbliGYrBSYPXF+TtLg9S8vzeA+OF4ZKzoDdzfL8sxuMUGS/lgRhM6j1URSk9ghf7Xo1tyA== + +"@smithy/abort-controller@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-4.0.4.tgz" + integrity sha512-gJnEjZMvigPDQWHrW3oPrFhQtkrgqBkyjj3pCIdF3A5M6vsZODG93KNlfJprv6bp4245bdT32fsHK4kkH3KYDA== + dependencies: + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/chunked-blob-reader-native@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@smithy/chunked-blob-reader-native/-/chunked-blob-reader-native-4.0.0.tgz" + integrity sha512-R9wM2yPmfEMsUmlMlIgSzOyICs0x9uu7UTHoccMyt7BWw8shcGM8HqB355+BZCPBcySvbTYMs62EgEQkNxz2ig== + dependencies: + "@smithy/util-base64" "^4.0.0" + tslib "^2.6.2" + +"@smithy/chunked-blob-reader@^5.0.0": + version "5.0.0" + resolved "https://registry.npmjs.org/@smithy/chunked-blob-reader/-/chunked-blob-reader-5.0.0.tgz" + integrity sha512-+sKqDBQqb036hh4NPaUiEkYFkTUGYzRsn3EuFhyfQfMy6oGHEUJDurLP9Ufb5dasr/XiAmPNMr6wa9afjQB+Gw== + dependencies: + tslib "^2.6.2" + +"@smithy/config-resolver@^4.1.4": + version "4.1.4" + resolved "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-4.1.4.tgz" + integrity sha512-prmU+rDddxHOH0oNcwemL+SwnzcG65sBF2yXRO7aeXIn/xTlq2pX7JLVbkBnVLowHLg4/OL4+jBmv9hVrVGS+w== + dependencies: + "@smithy/node-config-provider" "^4.1.3" + "@smithy/types" "^4.3.1" + "@smithy/util-config-provider" "^4.0.0" + "@smithy/util-middleware" "^4.0.4" + tslib "^2.6.2" + +"@smithy/core@^3.5.1": + version "3.5.1" + resolved "https://registry.npmjs.org/@smithy/core/-/core-3.5.1.tgz" + integrity sha512-xSw7bZEFKwOKrm/iv8e2BLt2ur98YZdrRD6nII8ditQeUsY2Q1JmIQ0rpILOhaLKYxxG2ivnoOpokzr9qLyDWA== + dependencies: + "@smithy/middleware-serde" "^4.0.8" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + "@smithy/util-base64" "^4.0.0" + "@smithy/util-body-length-browser" "^4.0.0" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-stream" "^4.2.2" + "@smithy/util-utf8" "^4.0.0" + tslib "^2.6.2" + +"@smithy/credential-provider-imds@^4.0.6": + version "4.0.6" + resolved "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.0.6.tgz" + integrity sha512-hKMWcANhUiNbCJouYkZ9V3+/Qf9pteR1dnwgdyzR09R4ODEYx8BbUysHwRSyex4rZ9zapddZhLFTnT4ZijR4pw== + dependencies: + "@smithy/node-config-provider" "^4.1.3" + "@smithy/property-provider" "^4.0.4" + "@smithy/types" "^4.3.1" + "@smithy/url-parser" "^4.0.4" + tslib "^2.6.2" + +"@smithy/eventstream-codec@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-4.0.4.tgz" + integrity sha512-7XoWfZqWb/QoR/rAU4VSi0mWnO2vu9/ltS6JZ5ZSZv0eovLVfDfu0/AX4ub33RsJTOth3TiFWSHS5YdztvFnig== + dependencies: + "@aws-crypto/crc32" "5.2.0" + "@smithy/types" "^4.3.1" + "@smithy/util-hex-encoding" "^4.0.0" + tslib "^2.6.2" + +"@smithy/eventstream-serde-browser@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-4.0.4.tgz" + integrity sha512-3fb/9SYaYqbpy/z/H3yIi0bYKyAa89y6xPmIqwr2vQiUT2St+avRt8UKwsWt9fEdEasc5d/V+QjrviRaX1JRFA== + dependencies: + "@smithy/eventstream-serde-universal" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/eventstream-serde-config-resolver@^4.1.2": + version "4.1.2" + resolved "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-4.1.2.tgz" + integrity sha512-JGtambizrWP50xHgbzZI04IWU7LdI0nh/wGbqH3sJesYToMi2j/DcoElqyOcqEIG/D4tNyxgRuaqBXWE3zOFhQ== + dependencies: + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/eventstream-serde-node@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-4.0.4.tgz" + integrity sha512-RD6UwNZ5zISpOWPuhVgRz60GkSIp0dy1fuZmj4RYmqLVRtejFqQ16WmfYDdoSoAjlp1LX+FnZo+/hkdmyyGZ1w== + dependencies: + "@smithy/eventstream-serde-universal" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/eventstream-serde-universal@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-4.0.4.tgz" + integrity sha512-UeJpOmLGhq1SLox79QWw/0n2PFX+oPRE1ZyRMxPIaFEfCqWaqpB7BU9C8kpPOGEhLF7AwEqfFbtwNxGy4ReENA== + dependencies: + "@smithy/eventstream-codec" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/fetch-http-handler@^5.0.4": + version "5.0.4" + resolved "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.0.4.tgz" + integrity sha512-AMtBR5pHppYMVD7z7G+OlHHAcgAN7v0kVKEpHuTO4Gb199Gowh0taYi9oDStFeUhetkeP55JLSVlTW1n9rFtUw== + dependencies: + "@smithy/protocol-http" "^5.1.2" + "@smithy/querystring-builder" "^4.0.4" + "@smithy/types" "^4.3.1" + "@smithy/util-base64" "^4.0.0" + tslib "^2.6.2" + +"@smithy/hash-blob-browser@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/hash-blob-browser/-/hash-blob-browser-4.0.4.tgz" + integrity sha512-WszRiACJiQV3QG6XMV44i5YWlkrlsM5Yxgz4jvsksuu7LDXA6wAtypfPajtNTadzpJy3KyJPoWehYpmZGKUFIQ== + dependencies: + "@smithy/chunked-blob-reader" "^5.0.0" + "@smithy/chunked-blob-reader-native" "^4.0.0" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/hash-node@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-4.0.4.tgz" + integrity sha512-qnbTPUhCVnCgBp4z4BUJUhOEkVwxiEi1cyFM+Zj6o+aY8OFGxUQleKWq8ltgp3dujuhXojIvJWdoqpm6dVO3lQ== + dependencies: + "@smithy/types" "^4.3.1" + "@smithy/util-buffer-from" "^4.0.0" + "@smithy/util-utf8" "^4.0.0" + tslib "^2.6.2" + +"@smithy/hash-stream-node@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/hash-stream-node/-/hash-stream-node-4.0.4.tgz" + integrity sha512-wHo0d8GXyVmpmMh/qOR0R7Y46/G1y6OR8U+bSTB4ppEzRxd1xVAQ9xOE9hOc0bSjhz0ujCPAbfNLkLrpa6cevg== + dependencies: + "@smithy/types" "^4.3.1" + "@smithy/util-utf8" "^4.0.0" + tslib "^2.6.2" + +"@smithy/invalid-dependency@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-4.0.4.tgz" + integrity sha512-bNYMi7WKTJHu0gn26wg8OscncTt1t2b8KcsZxvOv56XA6cyXtOAAAaNP7+m45xfppXfOatXF3Sb1MNsLUgVLTw== + dependencies: + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/is-array-buffer@^2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz" + integrity sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA== + dependencies: + tslib "^2.6.2" + +"@smithy/is-array-buffer@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-4.0.0.tgz" + integrity sha512-saYhF8ZZNoJDTvJBEWgeBccCg+yvp1CX+ed12yORU3NilJScfc6gfch2oVb4QgxZrGUx3/ZJlb+c/dJbyupxlw== + dependencies: + tslib "^2.6.2" + +"@smithy/md5-js@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/md5-js/-/md5-js-4.0.4.tgz" + integrity sha512-uGLBVqcOwrLvGh/v/jw423yWHq/ofUGK1W31M2TNspLQbUV1Va0F5kTxtirkoHawODAZcjXTSGi7JwbnPcDPJg== + dependencies: + "@smithy/types" "^4.3.1" + "@smithy/util-utf8" "^4.0.0" + tslib "^2.6.2" + +"@smithy/middleware-content-length@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-4.0.4.tgz" + integrity sha512-F7gDyfI2BB1Kc+4M6rpuOLne5LOcEknH1n6UQB69qv+HucXBR1rkzXBnQTB2q46sFy1PM/zuSJOB532yc8bg3w== + dependencies: + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/middleware-endpoint@^4.1.9": + version "4.1.9" + resolved "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.1.9.tgz" + integrity sha512-AjDgX4UjORLltD/LZCBQTwjQqEfyrx/GeDTHcYLzIgf87pIT70tMWnN87NQpJru1K4ITirY2htSOxNECZJCBOg== + dependencies: + "@smithy/core" "^3.5.1" + "@smithy/middleware-serde" "^4.0.8" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" + "@smithy/url-parser" "^4.0.4" + "@smithy/util-middleware" "^4.0.4" + tslib "^2.6.2" + +"@smithy/middleware-retry@^4.1.10": + version "4.1.10" + resolved "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.1.10.tgz" + integrity sha512-RyhcA3sZIIvAo6r48b2Nx2qfg0OnyohlaV0fw415xrQyx5HQ2bvHl9vs/WBiDXIP49mCfws5wX4308c9Pi/isw== + dependencies: + "@smithy/node-config-provider" "^4.1.3" + "@smithy/protocol-http" "^5.1.2" + "@smithy/service-error-classification" "^4.0.5" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-retry" "^4.0.5" + tslib "^2.6.2" + uuid "^9.0.1" + +"@smithy/middleware-serde@^4.0.8": + version "4.0.8" + resolved "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.0.8.tgz" + integrity sha512-iSSl7HJoJaGyMIoNn2B7czghOVwJ9nD7TMvLhMWeSB5vt0TnEYyRRqPJu/TqW76WScaNvYYB8nRoiBHR9S1Ddw== + dependencies: + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/middleware-stack@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-4.0.4.tgz" + integrity sha512-kagK5ggDrBUCCzI93ft6DjteNSfY8Ulr83UtySog/h09lTIOAJ/xUSObutanlPT0nhoHAkpmW9V5K8oPyLh+QA== + dependencies: + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/node-config-provider@^4.1.3": + version "4.1.3" + resolved "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.1.3.tgz" + integrity sha512-HGHQr2s59qaU1lrVH6MbLlmOBxadtzTsoO4c+bF5asdgVik3I8o7JIOzoeqWc5MjVa+vD36/LWE0iXKpNqooRw== + dependencies: + "@smithy/property-provider" "^4.0.4" + "@smithy/shared-ini-file-loader" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/node-http-handler@^4.0.6": + version "4.0.6" + resolved "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.0.6.tgz" + integrity sha512-NqbmSz7AW2rvw4kXhKGrYTiJVDHnMsFnX4i+/FzcZAfbOBauPYs2ekuECkSbtqaxETLLTu9Rl/ex6+I2BKErPA== + dependencies: + "@smithy/abort-controller" "^4.0.4" + "@smithy/protocol-http" "^5.1.2" + "@smithy/querystring-builder" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/property-provider@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-4.0.4.tgz" + integrity sha512-qHJ2sSgu4FqF4U/5UUp4DhXNmdTrgmoAai6oQiM+c5RZ/sbDwJ12qxB1M6FnP+Tn/ggkPZf9ccn4jqKSINaquw== + dependencies: + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/protocol-http@^5.1.2": + version "5.1.2" + resolved "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-5.1.2.tgz" + integrity sha512-rOG5cNLBXovxIrICSBm95dLqzfvxjEmuZx4KK3hWwPFHGdW3lxY0fZNXfv2zebfRO7sJZ5pKJYHScsqopeIWtQ== + dependencies: + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/querystring-builder@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-4.0.4.tgz" + integrity sha512-SwREZcDnEYoh9tLNgMbpop+UTGq44Hl9tdj3rf+yeLcfH7+J8OXEBaMc2kDxtyRHu8BhSg9ADEx0gFHvpJgU8w== + dependencies: + "@smithy/types" "^4.3.1" + "@smithy/util-uri-escape" "^4.0.0" + tslib "^2.6.2" + +"@smithy/querystring-parser@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-4.0.4.tgz" + integrity sha512-6yZf53i/qB8gRHH/l2ZwUG5xgkPgQF15/KxH0DdXMDHjesA9MeZje/853ifkSY0x4m5S+dfDZ+c4x439PF0M2w== + dependencies: + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/service-error-classification@^4.0.5": + version "4.0.5" + resolved "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-4.0.5.tgz" + integrity sha512-LvcfhrnCBvCmTee81pRlh1F39yTS/+kYleVeLCwNtkY8wtGg8V/ca9rbZZvYIl8OjlMtL6KIjaiL/lgVqHD2nA== + dependencies: + "@smithy/types" "^4.3.1" + +"@smithy/shared-ini-file-loader@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.0.4.tgz" + integrity sha512-63X0260LoFBjrHifPDs+nM9tV0VMkOTl4JRMYNuKh/f5PauSjowTfvF3LogfkWdcPoxsA9UjqEOgjeYIbhb7Nw== + dependencies: + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/signature-v4@^5.1.2": + version "5.1.2" + resolved "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.1.2.tgz" + integrity sha512-d3+U/VpX7a60seHziWnVZOHuEgJlclufjkS6zhXvxcJgkJq4UWdH5eOBLzHRMx6gXjsdT9h6lfpmLzbrdupHgQ== + dependencies: + "@smithy/is-array-buffer" "^4.0.0" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + "@smithy/util-hex-encoding" "^4.0.0" + "@smithy/util-middleware" "^4.0.4" + "@smithy/util-uri-escape" "^4.0.0" + "@smithy/util-utf8" "^4.0.0" + tslib "^2.6.2" + +"@smithy/smithy-client@^4.4.1": + version "4.4.1" + resolved "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.4.1.tgz" + integrity sha512-XPbcHRfd0iwx8dY5XCBCGyI7uweMW0oezYezxXcG8ANgvZ5YPuC6Ylh+n0bTHpdU3SCMZOnhzgVklYz+p3fIhw== + dependencies: + "@smithy/core" "^3.5.1" + "@smithy/middleware-endpoint" "^4.1.9" + "@smithy/middleware-stack" "^4.0.4" + "@smithy/protocol-http" "^5.1.2" + "@smithy/types" "^4.3.1" + "@smithy/util-stream" "^4.2.2" + tslib "^2.6.2" + +"@smithy/types@^4.3.1": + version "4.3.1" + resolved "https://registry.npmjs.org/@smithy/types/-/types-4.3.1.tgz" + integrity sha512-UqKOQBL2x6+HWl3P+3QqFD4ncKq0I8Nuz9QItGv5WuKuMHuuwlhvqcZCoXGfc+P1QmfJE7VieykoYYmrOoFJxA== + dependencies: + tslib "^2.6.2" + +"@smithy/url-parser@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-4.0.4.tgz" + integrity sha512-eMkc144MuN7B0TDA4U2fKs+BqczVbk3W+qIvcoCY6D1JY3hnAdCuhCZODC+GAeaxj0p6Jroz4+XMUn3PCxQQeQ== + dependencies: + "@smithy/querystring-parser" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/util-base64@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-4.0.0.tgz" + integrity sha512-CvHfCmO2mchox9kjrtzoHkWHxjHZzaFojLc8quxXY7WAAMAg43nuxwv95tATVgQFNDwd4M9S1qFzj40Ul41Kmg== + dependencies: + "@smithy/util-buffer-from" "^4.0.0" + "@smithy/util-utf8" "^4.0.0" + tslib "^2.6.2" + +"@smithy/util-body-length-browser@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-4.0.0.tgz" + integrity sha512-sNi3DL0/k64/LO3A256M+m3CDdG6V7WKWHdAiBBMUN8S3hK3aMPhwnPik2A/a2ONN+9doY9UxaLfgqsIRg69QA== + dependencies: + tslib "^2.6.2" + +"@smithy/util-body-length-node@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-4.0.0.tgz" + integrity sha512-q0iDP3VsZzqJyje8xJWEJCNIu3lktUGVoSy1KB0UWym2CL1siV3artm+u1DFYTLejpsrdGyCSWBdGNjJzfDPjg== + dependencies: + tslib "^2.6.2" + +"@smithy/util-buffer-from@^2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz" + integrity sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA== + dependencies: + "@smithy/is-array-buffer" "^2.2.0" + tslib "^2.6.2" + +"@smithy/util-buffer-from@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-4.0.0.tgz" + integrity sha512-9TOQ7781sZvddgO8nxueKi3+yGvkY35kotA0Y6BWRajAv8jjmigQ1sBwz0UX47pQMYXJPahSKEKYFgt+rXdcug== + dependencies: + "@smithy/is-array-buffer" "^4.0.0" + tslib "^2.6.2" + +"@smithy/util-config-provider@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-4.0.0.tgz" + integrity sha512-L1RBVzLyfE8OXH+1hsJ8p+acNUSirQnWQ6/EgpchV88G6zGBTDPdXiiExei6Z1wR2RxYvxY/XLw6AMNCCt8H3w== + dependencies: + tslib "^2.6.2" + +"@smithy/util-defaults-mode-browser@^4.0.17": + version "4.0.17" + resolved "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.0.17.tgz" + integrity sha512-HXq5181qnXmIwB7VrwqwP8rsJybHMoYuJnNoXy4PROs2pfSI4sWDMASF2i+7Lo+u64Y6xowhegcdxczowgJtZg== + dependencies: + "@smithy/property-provider" "^4.0.4" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + bowser "^2.11.0" + tslib "^2.6.2" + +"@smithy/util-defaults-mode-node@^4.0.17": + version "4.0.17" + resolved "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.0.17.tgz" + integrity sha512-RfU2A5LjFhEHw4Nwl1GZNitK4AUWu5jGtigAUDoQtfDUvYHpQxcuLw2QGAdKDtKRflIiHSZ8wXBDR36H9R2Ang== + dependencies: + "@smithy/config-resolver" "^4.1.4" + "@smithy/credential-provider-imds" "^4.0.6" + "@smithy/node-config-provider" "^4.1.3" + "@smithy/property-provider" "^4.0.4" + "@smithy/smithy-client" "^4.4.1" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/util-endpoints@^3.0.6": + version "3.0.6" + resolved "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-3.0.6.tgz" + integrity sha512-YARl3tFL3WgPuLzljRUnrS2ngLiUtkwhQtj8PAL13XZSyUiNLQxwG3fBBq3QXFqGFUXepIN73pINp3y8c2nBmA== + dependencies: + "@smithy/node-config-provider" "^4.1.3" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/util-hex-encoding@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-4.0.0.tgz" + integrity sha512-Yk5mLhHtfIgW2W2WQZWSg5kuMZCVbvhFmC7rV4IO2QqnZdbEFPmQnCcGMAX2z/8Qj3B9hYYNjZOhWym+RwhePw== + dependencies: + tslib "^2.6.2" + +"@smithy/util-middleware@^4.0.4": + version "4.0.4" + resolved "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-4.0.4.tgz" + integrity sha512-9MLKmkBmf4PRb0ONJikCbCwORACcil6gUWojwARCClT7RmLzF04hUR4WdRprIXal7XVyrddadYNfp2eF3nrvtQ== + dependencies: + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/util-retry@^4.0.5": + version "4.0.5" + resolved "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-4.0.5.tgz" + integrity sha512-V7MSjVDTlEt/plmOFBn1762Dyu5uqMrV2Pl2X0dYk4XvWfdWJNe9Bs5Bzb56wkCuiWjSfClVMGcsuKrGj7S/yg== + dependencies: + "@smithy/service-error-classification" "^4.0.5" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@smithy/util-stream@^4.2.2": + version "4.2.2" + resolved "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-4.2.2.tgz" + integrity sha512-aI+GLi7MJoVxg24/3J1ipwLoYzgkB4kUfogZfnslcYlynj3xsQ0e7vk4TnTro9hhsS5PvX1mwmkRqqHQjwcU7w== + dependencies: + "@smithy/fetch-http-handler" "^5.0.4" + "@smithy/node-http-handler" "^4.0.6" + "@smithy/types" "^4.3.1" + "@smithy/util-base64" "^4.0.0" + "@smithy/util-buffer-from" "^4.0.0" + "@smithy/util-hex-encoding" "^4.0.0" + "@smithy/util-utf8" "^4.0.0" + tslib "^2.6.2" + +"@smithy/util-uri-escape@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-4.0.0.tgz" + integrity sha512-77yfbCbQMtgtTylO9itEAdpPXSog3ZxMe09AEhm0dU0NLTalV70ghDZFR+Nfi1C60jnJoh/Re4090/DuZh2Omg== + dependencies: + tslib "^2.6.2" + +"@smithy/util-utf8@^2.0.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.3.0.tgz" + integrity sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A== + dependencies: + "@smithy/util-buffer-from" "^2.2.0" + tslib "^2.6.2" + +"@smithy/util-utf8@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-4.0.0.tgz" + integrity sha512-b+zebfKCfRdgNJDknHCob3O7FpeYQN6ZG6YLExMcasDHsCXlsXCEuiPZeLnJLpwa5dvPetGlnGCiMHuLwGvFow== + dependencies: + "@smithy/util-buffer-from" "^4.0.0" + tslib "^2.6.2" + +"@smithy/util-waiter@^4.0.5": + version "4.0.5" + resolved "https://registry.npmjs.org/@smithy/util-waiter/-/util-waiter-4.0.5.tgz" + integrity sha512-4QvC49HTteI1gfemu0I1syWovJgPvGn7CVUoN9ZFkdvr/cCFkrEL7qNCdx/2eICqDWEGnnr68oMdSIPCLAriSQ== + dependencies: + "@smithy/abort-controller" "^4.0.4" + "@smithy/types" "^4.3.1" + tslib "^2.6.2" + +"@types/babel__core@^7.1.14": + version "7.20.5" + resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz" + integrity sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA== + dependencies: + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" + "@types/babel__generator" "*" + "@types/babel__template" "*" + "@types/babel__traverse" "*" + +"@types/babel__generator@*": + version "7.27.0" + resolved "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz" + integrity sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg== + dependencies: + "@babel/types" "^7.0.0" + +"@types/babel__template@*": + version "7.4.4" + resolved "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz" + integrity sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + +"@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": + version "7.20.7" + resolved "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.7.tgz" + integrity sha512-dkO5fhS7+/oos4ciWxyEyjWe48zmG6wbCheo/G2ZnHx4fs3EU6YC6UM8rk56gAjNJ9P3MTH2jo5jb92/K6wbng== + dependencies: + "@babel/types" "^7.20.7" + +"@types/graceful-fs@^4.1.3": + version "4.1.9" + resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz" + integrity sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ== + dependencies: + "@types/node" "*" + +"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": + version "2.0.6" + resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz" + integrity sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w== + +"@types/istanbul-lib-report@*": + version "3.0.3" + resolved "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz" + integrity sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA== + dependencies: + "@types/istanbul-lib-coverage" "*" + +"@types/istanbul-reports@^3.0.0": + version "3.0.4" + resolved "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz" + integrity sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ== + dependencies: + "@types/istanbul-lib-report" "*" + +"@types/node@*": + version "22.15.30" + resolved "https://registry.npmjs.org/@types/node/-/node-22.15.30.tgz" + integrity sha512-6Q7lr06bEHdlfplU6YRbgG1SFBdlsfNC4/lX+SkhiTs0cpJkOElmWls8PxDFv4yY/xKb8Y6SO0OmSX4wgqTZbA== + dependencies: + undici-types "~6.21.0" + +"@types/stack-utils@^2.0.0": + version "2.0.3" + resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz" + integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw== + +"@types/yargs-parser@*": + version "21.0.3" + resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz" + integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== + +"@types/yargs@^17.0.8": + version "17.0.33" + resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz" + integrity sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA== + dependencies: + "@types/yargs-parser" "*" + +adm-zip@^0.5.10: + version "0.5.16" + resolved "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.16.tgz" + integrity sha512-TGw5yVi4saajsSEgz25grObGHEUaDrniwvA2qwSC060KfqGPdglhvPMA2lPIoxs3PQIItj2iag35fONcQqgUaQ== + +ansi-escapes@^4.2.1: + version "4.3.2" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz" + integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== + dependencies: + type-fest "^0.21.3" + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-styles@^4.0.0, ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +ansi-styles@^5.0.0: + version "5.2.0" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz" + integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== + +anymatch@^3.0.3: + version "3.1.3" + resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + +array-buffer-byte-length@^1.0.1, array-buffer-byte-length@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz" + integrity sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw== + dependencies: + call-bound "^1.0.3" + is-array-buffer "^3.0.5" + +arraybuffer.prototype.slice@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz" + integrity sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ== + dependencies: + array-buffer-byte-length "^1.0.1" + call-bind "^1.0.8" + define-properties "^1.2.1" + es-abstract "^1.23.5" + es-errors "^1.3.0" + get-intrinsic "^1.2.6" + is-array-buffer "^3.0.4" + +async-function@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz" + integrity sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA== + +available-typed-arrays@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz" + integrity sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ== + dependencies: + possible-typed-array-names "^1.0.0" + +aws-sdk-mock@^5.9.0: + version "5.9.0" + resolved "https://registry.npmjs.org/aws-sdk-mock/-/aws-sdk-mock-5.9.0.tgz" + integrity sha512-kTUXaQQ1CTn3Cwxa2g1XqtCDq+FTEbPl/zgaYCok357f7gbWkeYEegqa5RziTRb11oNIUHrLp9DSHwZT3XdBkA== + dependencies: + aws-sdk "^2.1231.0" + sinon "^17.0.0" + traverse "^0.6.6" + +aws-sdk@^2.1231.0: + version "2.1692.0" + resolved "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz" + integrity sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw== + dependencies: + buffer "4.9.2" + events "1.1.1" + ieee754 "1.1.13" + jmespath "0.16.0" + querystring "0.2.0" + sax "1.2.1" + url "0.10.3" + util "^0.12.4" + uuid "8.0.0" + xml2js "0.6.2" + +babel-jest@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz" + integrity sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg== + dependencies: + "@jest/transform" "^29.7.0" + "@types/babel__core" "^7.1.14" + babel-plugin-istanbul "^6.1.1" + babel-preset-jest "^29.6.3" + chalk "^4.0.0" + graceful-fs "^4.2.9" + slash "^3.0.0" + +babel-plugin-istanbul@^6.1.1: + version "6.1.1" + resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz" + integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@istanbuljs/load-nyc-config" "^1.0.0" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-instrument "^5.0.4" + test-exclude "^6.0.0" + +babel-plugin-jest-hoist@^29.6.3: + version "29.6.3" + resolved "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz" + integrity sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg== + dependencies: + "@babel/template" "^7.3.3" + "@babel/types" "^7.3.3" + "@types/babel__core" "^7.1.14" + "@types/babel__traverse" "^7.0.6" + +babel-preset-current-node-syntax@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz" + integrity sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw== + dependencies: + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-bigint" "^7.8.3" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-import-attributes" "^7.24.7" + "@babel/plugin-syntax-import-meta" "^7.10.4" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" + +babel-preset-jest@^29.6.3: + version "29.6.3" + resolved "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz" + integrity sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA== + dependencies: + babel-plugin-jest-hoist "^29.6.3" + babel-preset-current-node-syntax "^1.0.0" + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +base64-js@^1.0.2: + version "1.5.1" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bowser@^2.11.0: + version "2.11.0" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +braces@^3.0.3: + version "3.0.3" + resolved "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz" + integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== + dependencies: + fill-range "^7.1.1" + +browserslist@^4.24.0: + version "4.25.0" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.25.0.tgz" + integrity sha512-PJ8gYKeS5e/whHBh8xrwYK+dAvEj7JXtz6uTucnMRB8OiGTsKccFekoRrjajPBHV8oOY+2tI4uxeceSimKwMFA== + dependencies: + caniuse-lite "^1.0.30001718" + electron-to-chromium "^1.5.160" + node-releases "^2.0.19" + update-browserslist-db "^1.1.3" + +bser@2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz" + integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== + dependencies: + node-int64 "^0.4.0" + +buffer-from@^1.0.0: + version "1.1.2" + resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== + +buffer@4.9.2: + version "4.9.2" + resolved "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz" + integrity sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + isarray "^1.0.0" + +call-bind-apply-helpers@^1.0.0, call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz" + integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ== + dependencies: + es-errors "^1.3.0" + function-bind "^1.1.2" + +call-bind@^1.0.7, call-bind@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz" + integrity sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww== + dependencies: + call-bind-apply-helpers "^1.0.0" + es-define-property "^1.0.0" + get-intrinsic "^1.2.4" + set-function-length "^1.2.2" + +call-bound@^1.0.2, call-bound@^1.0.3, call-bound@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz" + integrity sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg== + dependencies: + call-bind-apply-helpers "^1.0.2" + get-intrinsic "^1.3.0" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +camelcase@^5.3.1: + version "5.3.1" + resolved "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== + +camelcase@^6.2.0: + version "6.3.0" + resolved "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz" + integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== + +caniuse-lite@^1.0.30001718: + version "1.0.30001721" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001721.tgz" + integrity sha512-cOuvmUVtKrtEaoKiO0rSc29jcjwMwX5tOHDy4MgVFEWiUXj4uBMJkwI8MDySkgXidpMiHUcviogAvFi4pA2hDQ== + +chalk@^4.0.0: + version "4.1.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +char-regex@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz" + integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== + +ci-info@^3.2.0: + version "3.9.0" + resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz" + integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== + +cjs-module-lexer@^1.0.0: + version "1.4.3" + resolved "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz" + integrity sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q== + +cliui@^8.0.1: + version "8.0.1" + resolved "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz" + integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.1" + wrap-ansi "^7.0.0" + +co@^4.6.0: + version "4.6.0" + resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz" + integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== + +collect-v8-coverage@^1.0.0: + version "1.0.2" + resolved "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz" + integrity sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q== + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +convert-source-map@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz" + integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== + +create-jest@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz" + integrity sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q== + dependencies: + "@jest/types" "^29.6.3" + chalk "^4.0.0" + exit "^0.1.2" + graceful-fs "^4.2.9" + jest-config "^29.7.0" + jest-util "^29.7.0" + prompts "^2.0.1" + +cross-spawn@^7.0.3: + version "7.0.6" + resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz" + integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +data-uri-to-buffer@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz" + integrity sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A== + +data-view-buffer@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz" + integrity sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ== + dependencies: + call-bound "^1.0.3" + es-errors "^1.3.0" + is-data-view "^1.0.2" + +data-view-byte-length@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz" + integrity sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ== + dependencies: + call-bound "^1.0.3" + es-errors "^1.3.0" + is-data-view "^1.0.2" + +data-view-byte-offset@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz" + integrity sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ== + dependencies: + call-bound "^1.0.2" + es-errors "^1.3.0" + is-data-view "^1.0.1" + +debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: + version "4.4.1" + resolved "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz" + integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ== + dependencies: + ms "^2.1.3" + +dedent@^1.0.0: + version "1.6.0" + resolved "https://registry.npmjs.org/dedent/-/dedent-1.6.0.tgz" + integrity sha512-F1Z+5UCFpmQUzJa11agbyPVMbpgT/qA3/SKyJ1jyBgm7dUcUEa8v9JwDkerSQXfakBwFljIxhOJqGkjUwZ9FSA== + +deepmerge@^4.2.2: + version "4.3.1" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz" + integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== + +define-data-property@^1.0.1, define-data-property@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz" + integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + gopd "^1.0.1" + +define-properties@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz" + integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== + dependencies: + define-data-property "^1.0.1" + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +detect-newline@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz" + integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== + +diff-sequences@^29.6.3: + version "29.6.3" + resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz" + integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q== + +diff@^5.1.0: + version "5.2.0" + resolved "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz" + integrity sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A== + +dotenv@^16.0.0: + version "16.5.0" + resolved "https://registry.npmjs.org/dotenv/-/dotenv-16.5.0.tgz" + integrity sha512-m/C+AwOAr9/W1UOIZUo232ejMNnJAJtYQjUbHoNTBNTJSvqzzDh7vnrei3o3r3m9blf6ZoDkvcw0VmozNRFJxg== + +dunder-proto@^1.0.0, dunder-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz" + integrity sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A== + dependencies: + call-bind-apply-helpers "^1.0.1" + es-errors "^1.3.0" + gopd "^1.2.0" + +electron-to-chromium@^1.5.160: + version "1.5.165" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.165.tgz" + integrity sha512-naiMx1Z6Nb2TxPU6fiFrUrDTjyPMLdTtaOd2oLmG8zVSg2hCWGkhPyxwk+qRmZ1ytwVqUv0u7ZcDA5+ALhaUtw== + +emittery@^0.13.1: + version "0.13.1" + resolved "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz" + integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ== + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +es-abstract@^1.23.5, es-abstract@^1.23.9: + version "1.24.0" + resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.0.tgz" + integrity sha512-WSzPgsdLtTcQwm4CROfS5ju2Wa1QQcVeT37jFjYzdFz1r9ahadC8B8/a4qxJxM+09F18iumCdRmlr96ZYkQvEg== + dependencies: + array-buffer-byte-length "^1.0.2" + arraybuffer.prototype.slice "^1.0.4" + available-typed-arrays "^1.0.7" + call-bind "^1.0.8" + call-bound "^1.0.4" + data-view-buffer "^1.0.2" + data-view-byte-length "^1.0.2" + data-view-byte-offset "^1.0.1" + es-define-property "^1.0.1" + es-errors "^1.3.0" + es-object-atoms "^1.1.1" + es-set-tostringtag "^2.1.0" + es-to-primitive "^1.3.0" + function.prototype.name "^1.1.8" + get-intrinsic "^1.3.0" + get-proto "^1.0.1" + get-symbol-description "^1.1.0" + globalthis "^1.0.4" + gopd "^1.2.0" + has-property-descriptors "^1.0.2" + has-proto "^1.2.0" + has-symbols "^1.1.0" + hasown "^2.0.2" + internal-slot "^1.1.0" + is-array-buffer "^3.0.5" + is-callable "^1.2.7" + is-data-view "^1.0.2" + is-negative-zero "^2.0.3" + is-regex "^1.2.1" + is-set "^2.0.3" + is-shared-array-buffer "^1.0.4" + is-string "^1.1.1" + is-typed-array "^1.1.15" + is-weakref "^1.1.1" + math-intrinsics "^1.1.0" + object-inspect "^1.13.4" + object-keys "^1.1.1" + object.assign "^4.1.7" + own-keys "^1.0.1" + regexp.prototype.flags "^1.5.4" + safe-array-concat "^1.1.3" + safe-push-apply "^1.0.0" + safe-regex-test "^1.1.0" + set-proto "^1.0.0" + stop-iteration-iterator "^1.1.0" + string.prototype.trim "^1.2.10" + string.prototype.trimend "^1.0.9" + string.prototype.trimstart "^1.0.8" + typed-array-buffer "^1.0.3" + typed-array-byte-length "^1.0.3" + typed-array-byte-offset "^1.0.4" + typed-array-length "^1.0.7" + unbox-primitive "^1.1.0" + which-typed-array "^1.1.19" + +es-define-property@^1.0.0, es-define-property@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz" + integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g== + +es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + +es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz" + integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA== + dependencies: + es-errors "^1.3.0" + +es-set-tostringtag@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz" + integrity sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA== + dependencies: + es-errors "^1.3.0" + get-intrinsic "^1.2.6" + has-tostringtag "^1.0.2" + hasown "^2.0.2" + +es-to-primitive@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz" + integrity sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g== + dependencies: + is-callable "^1.2.7" + is-date-object "^1.0.5" + is-symbol "^1.0.4" + +escalade@^3.1.1, escalade@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz" + integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== + +escape-string-regexp@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz" + integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== + +esprima@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + +events@1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/events/-/events-1.1.1.tgz" + integrity sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw== + +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + +exit@^0.1.2: + version "0.1.2" + resolved "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz" + integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== + +expect@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz" + integrity sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw== + dependencies: + "@jest/expect-utils" "^29.7.0" + jest-get-type "^29.6.3" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + +fast-json-stable-stringify@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fast-xml-parser@4.4.1: + version "4.4.1" + resolved "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz" + integrity sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw== + dependencies: + strnum "^1.0.5" + +fb-watchman@^2.0.0: + version "2.0.2" + resolved "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz" + integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== + dependencies: + bser "2.1.1" + +fetch-blob@^3.1.2, fetch-blob@^3.1.4: + version "3.2.0" + resolved "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz" + integrity sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ== + dependencies: + node-domexception "^1.0.0" + web-streams-polyfill "^3.0.3" + +fill-range@^7.1.1: + version "7.1.1" + resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz" + integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== + dependencies: + to-regex-range "^5.0.1" + +find-up@^4.0.0, find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + dependencies: + locate-path "^5.0.0" + path-exists "^4.0.0" + +for-each@^0.3.3, for-each@^0.3.5: + version "0.3.5" + resolved "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz" + integrity sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg== + dependencies: + is-callable "^1.2.7" + +formdata-polyfill@^4.0.10: + version "4.0.10" + resolved "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz" + integrity sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g== + dependencies: + fetch-blob "^3.1.2" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +fsevents@^2.3.2: + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + +function.prototype.name@^1.1.6, function.prototype.name@^1.1.8: + version "1.1.8" + resolved "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.8.tgz" + integrity sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q== + dependencies: + call-bind "^1.0.8" + call-bound "^1.0.3" + define-properties "^1.2.1" + functions-have-names "^1.2.3" + hasown "^2.0.2" + is-callable "^1.2.7" + +functions-have-names@^1.2.3: + version "1.2.3" + resolved "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz" + integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== + +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + +get-caller-file@^2.0.5: + version "2.0.5" + resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz" + integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== + +get-intrinsic@^1.2.4, get-intrinsic@^1.2.5, get-intrinsic@^1.2.6, get-intrinsic@^1.2.7, get-intrinsic@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz" + integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ== + dependencies: + call-bind-apply-helpers "^1.0.2" + es-define-property "^1.0.1" + es-errors "^1.3.0" + es-object-atoms "^1.1.1" + function-bind "^1.1.2" + get-proto "^1.0.1" + gopd "^1.2.0" + has-symbols "^1.1.0" + hasown "^2.0.2" + math-intrinsics "^1.1.0" + +get-package-type@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz" + integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== + +get-proto@^1.0.0, get-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz" + integrity sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g== + dependencies: + dunder-proto "^1.0.1" + es-object-atoms "^1.0.0" + +get-stream@^6.0.0: + version "6.0.1" + resolved "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + +get-symbol-description@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz" + integrity sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg== + dependencies: + call-bound "^1.0.3" + es-errors "^1.3.0" + get-intrinsic "^1.2.6" + +glob@^7.1.3, glob@^7.1.4: + version "7.2.3" + resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + +globalthis@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz" + integrity sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ== + dependencies: + define-properties "^1.2.1" + gopd "^1.0.1" + +gopd@^1.0.1, gopd@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz" + integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== + +graceful-fs@^4.2.9: + version "4.2.11" + resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + +has-bigints@^1.0.2: + version "1.1.0" + resolved "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz" + integrity sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg== + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-property-descriptors@^1.0.0, has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== + dependencies: + es-define-property "^1.0.0" + +has-proto@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz" + integrity sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ== + dependencies: + dunder-proto "^1.0.0" + +has-symbols@^1.0.3, has-symbols@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz" + integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== + +has-tostringtag@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz" + integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== + dependencies: + has-symbols "^1.0.3" + +hasown@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== + dependencies: + function-bind "^1.1.2" + +html-escaper@^2.0.0: + version "2.0.2" + resolved "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz" + integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== + +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + +ieee754@1.1.13, ieee754@^1.1.4: + version "1.1.13" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz" + integrity sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg== + +import-local@^3.0.2: + version "3.2.0" + resolved "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz" + integrity sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA== + dependencies: + pkg-dir "^4.2.0" + resolve-cwd "^3.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@^2.0.3: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +internal-slot@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz" + integrity sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw== + dependencies: + es-errors "^1.3.0" + hasown "^2.0.2" + side-channel "^1.1.0" + +is-arguments@^1.0.4: + version "1.2.0" + resolved "https://registry.npmjs.org/is-arguments/-/is-arguments-1.2.0.tgz" + integrity sha512-7bVbi0huj/wrIAOzb8U1aszg9kdi3KN/CyU19CTI7tAoZYEZoL9yCDXpbXN+uPsuWnP02cyug1gleqq+TU+YCA== + dependencies: + call-bound "^1.0.2" + has-tostringtag "^1.0.2" + +is-array-buffer@^3.0.4, is-array-buffer@^3.0.5: + version "3.0.5" + resolved "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz" + integrity sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A== + dependencies: + call-bind "^1.0.8" + call-bound "^1.0.3" + get-intrinsic "^1.2.6" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-async-function@^2.0.0: + version "2.1.1" + resolved "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz" + integrity sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ== + dependencies: + async-function "^1.0.0" + call-bound "^1.0.3" + get-proto "^1.0.1" + has-tostringtag "^1.0.2" + safe-regex-test "^1.1.0" + +is-bigint@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz" + integrity sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ== + dependencies: + has-bigints "^1.0.2" + +is-boolean-object@^1.2.1: + version "1.2.2" + resolved "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz" + integrity sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A== + dependencies: + call-bound "^1.0.3" + has-tostringtag "^1.0.2" + +is-callable@^1.2.7: + version "1.2.7" + resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz" + integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== + +is-core-module@^2.16.0: + version "2.16.1" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz" + integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w== + dependencies: + hasown "^2.0.2" + +is-data-view@^1.0.1, is-data-view@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz" + integrity sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw== + dependencies: + call-bound "^1.0.2" + get-intrinsic "^1.2.6" + is-typed-array "^1.1.13" + +is-date-object@^1.0.5, is-date-object@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz" + integrity sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg== + dependencies: + call-bound "^1.0.2" + has-tostringtag "^1.0.2" + +is-finalizationregistry@^1.1.0: + version "1.1.1" + resolved "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz" + integrity sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg== + dependencies: + call-bound "^1.0.3" + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-generator-fn@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz" + integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== + +is-generator-function@^1.0.10, is-generator-function@^1.0.7: + version "1.1.0" + resolved "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.0.tgz" + integrity sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ== + dependencies: + call-bound "^1.0.3" + get-proto "^1.0.0" + has-tostringtag "^1.0.2" + safe-regex-test "^1.1.0" + +is-map@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz" + integrity sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw== + +is-negative-zero@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz" + integrity sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw== + +is-number-object@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz" + integrity sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw== + dependencies: + call-bound "^1.0.3" + has-tostringtag "^1.0.2" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-regex@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz" + integrity sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g== + dependencies: + call-bound "^1.0.2" + gopd "^1.2.0" + has-tostringtag "^1.0.2" + hasown "^2.0.2" + +is-set@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz" + integrity sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg== + +is-shared-array-buffer@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz" + integrity sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A== + dependencies: + call-bound "^1.0.3" + +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + +is-string@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz" + integrity sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA== + dependencies: + call-bound "^1.0.3" + has-tostringtag "^1.0.2" + +is-symbol@^1.0.4, is-symbol@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz" + integrity sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w== + dependencies: + call-bound "^1.0.2" + has-symbols "^1.1.0" + safe-regex-test "^1.1.0" + +is-typed-array@^1.1.13, is-typed-array@^1.1.14, is-typed-array@^1.1.15, is-typed-array@^1.1.3: + version "1.1.15" + resolved "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz" + integrity sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ== + dependencies: + which-typed-array "^1.1.16" + +is-weakmap@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz" + integrity sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w== + +is-weakref@^1.0.2, is-weakref@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz" + integrity sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew== + dependencies: + call-bound "^1.0.3" + +is-weakset@^2.0.3: + version "2.0.4" + resolved "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz" + integrity sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ== + dependencies: + call-bound "^1.0.3" + get-intrinsic "^1.2.6" + +isarray@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz" + integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== + +isarray@^2.0.5: + version "2.0.5" + resolved "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz" + integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: + version "3.2.2" + resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz" + integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== + +istanbul-lib-instrument@^5.0.4: + version "5.2.1" + resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz" + integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== + dependencies: + "@babel/core" "^7.12.3" + "@babel/parser" "^7.14.7" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-coverage "^3.2.0" + semver "^6.3.0" + +istanbul-lib-instrument@^6.0.0: + version "6.0.3" + resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz" + integrity sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q== + dependencies: + "@babel/core" "^7.23.9" + "@babel/parser" "^7.23.9" + "@istanbuljs/schema" "^0.1.3" + istanbul-lib-coverage "^3.2.0" + semver "^7.5.4" + +istanbul-lib-report@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz" + integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== + dependencies: + istanbul-lib-coverage "^3.0.0" + make-dir "^4.0.0" + supports-color "^7.1.0" + +istanbul-lib-source-maps@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz" + integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== + dependencies: + debug "^4.1.1" + istanbul-lib-coverage "^3.0.0" + source-map "^0.6.1" + +istanbul-reports@^3.1.3: + version "3.1.7" + resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz" + integrity sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g== + dependencies: + html-escaper "^2.0.0" + istanbul-lib-report "^3.0.0" + +jest-changed-files@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz" + integrity sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w== + dependencies: + execa "^5.0.0" + jest-util "^29.7.0" + p-limit "^3.1.0" + +jest-circus@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz" + integrity sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw== + dependencies: + "@jest/environment" "^29.7.0" + "@jest/expect" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + co "^4.6.0" + dedent "^1.0.0" + is-generator-fn "^2.0.0" + jest-each "^29.7.0" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-runtime "^29.7.0" + jest-snapshot "^29.7.0" + jest-util "^29.7.0" + p-limit "^3.1.0" + pretty-format "^29.7.0" + pure-rand "^6.0.0" + slash "^3.0.0" + stack-utils "^2.0.3" + +jest-cli@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz" + integrity sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg== + dependencies: + "@jest/core" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/types" "^29.6.3" + chalk "^4.0.0" + create-jest "^29.7.0" + exit "^0.1.2" + import-local "^3.0.2" + jest-config "^29.7.0" + jest-util "^29.7.0" + jest-validate "^29.7.0" + yargs "^17.3.1" + +jest-config@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz" + integrity sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ== + dependencies: + "@babel/core" "^7.11.6" + "@jest/test-sequencer" "^29.7.0" + "@jest/types" "^29.6.3" + babel-jest "^29.7.0" + chalk "^4.0.0" + ci-info "^3.2.0" + deepmerge "^4.2.2" + glob "^7.1.3" + graceful-fs "^4.2.9" + jest-circus "^29.7.0" + jest-environment-node "^29.7.0" + jest-get-type "^29.6.3" + jest-regex-util "^29.6.3" + jest-resolve "^29.7.0" + jest-runner "^29.7.0" + jest-util "^29.7.0" + jest-validate "^29.7.0" + micromatch "^4.0.4" + parse-json "^5.2.0" + pretty-format "^29.7.0" + slash "^3.0.0" + strip-json-comments "^3.1.1" + +jest-diff@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz" + integrity sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw== + dependencies: + chalk "^4.0.0" + diff-sequences "^29.6.3" + jest-get-type "^29.6.3" + pretty-format "^29.7.0" + +jest-docblock@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz" + integrity sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g== + dependencies: + detect-newline "^3.0.0" + +jest-each@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz" + integrity sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ== + dependencies: + "@jest/types" "^29.6.3" + chalk "^4.0.0" + jest-get-type "^29.6.3" + jest-util "^29.7.0" + pretty-format "^29.7.0" + +jest-environment-node@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz" + integrity sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw== + dependencies: + "@jest/environment" "^29.7.0" + "@jest/fake-timers" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + jest-mock "^29.7.0" + jest-util "^29.7.0" + +jest-get-type@^29.6.3: + version "29.6.3" + resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz" + integrity sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw== + +jest-haste-map@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz" + integrity sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA== + dependencies: + "@jest/types" "^29.6.3" + "@types/graceful-fs" "^4.1.3" + "@types/node" "*" + anymatch "^3.0.3" + fb-watchman "^2.0.0" + graceful-fs "^4.2.9" + jest-regex-util "^29.6.3" + jest-util "^29.7.0" + jest-worker "^29.7.0" + micromatch "^4.0.4" + walker "^1.0.8" + optionalDependencies: + fsevents "^2.3.2" + +jest-leak-detector@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz" + integrity sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw== + dependencies: + jest-get-type "^29.6.3" + pretty-format "^29.7.0" + +jest-matcher-utils@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz" + integrity sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g== + dependencies: + chalk "^4.0.0" + jest-diff "^29.7.0" + jest-get-type "^29.6.3" + pretty-format "^29.7.0" + +jest-message-util@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz" + integrity sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w== + dependencies: + "@babel/code-frame" "^7.12.13" + "@jest/types" "^29.6.3" + "@types/stack-utils" "^2.0.0" + chalk "^4.0.0" + graceful-fs "^4.2.9" + micromatch "^4.0.4" + pretty-format "^29.7.0" + slash "^3.0.0" + stack-utils "^2.0.3" + +jest-mock@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz" + integrity sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw== + dependencies: + "@jest/types" "^29.6.3" + "@types/node" "*" + jest-util "^29.7.0" + +jest-pnp-resolver@^1.2.2: + version "1.2.3" + resolved "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz" + integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w== + +jest-regex-util@^29.6.3: + version "29.6.3" + resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz" + integrity sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg== + +jest-resolve-dependencies@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz" + integrity sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA== + dependencies: + jest-regex-util "^29.6.3" + jest-snapshot "^29.7.0" + +jest-resolve@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz" + integrity sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA== + dependencies: + chalk "^4.0.0" + graceful-fs "^4.2.9" + jest-haste-map "^29.7.0" + jest-pnp-resolver "^1.2.2" + jest-util "^29.7.0" + jest-validate "^29.7.0" + resolve "^1.20.0" + resolve.exports "^2.0.0" + slash "^3.0.0" + +jest-runner@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz" + integrity sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ== + dependencies: + "@jest/console" "^29.7.0" + "@jest/environment" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + emittery "^0.13.1" + graceful-fs "^4.2.9" + jest-docblock "^29.7.0" + jest-environment-node "^29.7.0" + jest-haste-map "^29.7.0" + jest-leak-detector "^29.7.0" + jest-message-util "^29.7.0" + jest-resolve "^29.7.0" + jest-runtime "^29.7.0" + jest-util "^29.7.0" + jest-watcher "^29.7.0" + jest-worker "^29.7.0" + p-limit "^3.1.0" + source-map-support "0.5.13" + +jest-runtime@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz" + integrity sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ== + dependencies: + "@jest/environment" "^29.7.0" + "@jest/fake-timers" "^29.7.0" + "@jest/globals" "^29.7.0" + "@jest/source-map" "^29.6.3" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + cjs-module-lexer "^1.0.0" + collect-v8-coverage "^1.0.0" + glob "^7.1.3" + graceful-fs "^4.2.9" + jest-haste-map "^29.7.0" + jest-message-util "^29.7.0" + jest-mock "^29.7.0" + jest-regex-util "^29.6.3" + jest-resolve "^29.7.0" + jest-snapshot "^29.7.0" + jest-util "^29.7.0" + slash "^3.0.0" + strip-bom "^4.0.0" + +jest-snapshot@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz" + integrity sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw== + dependencies: + "@babel/core" "^7.11.6" + "@babel/generator" "^7.7.2" + "@babel/plugin-syntax-jsx" "^7.7.2" + "@babel/plugin-syntax-typescript" "^7.7.2" + "@babel/types" "^7.3.3" + "@jest/expect-utils" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + babel-preset-current-node-syntax "^1.0.0" + chalk "^4.0.0" + expect "^29.7.0" + graceful-fs "^4.2.9" + jest-diff "^29.7.0" + jest-get-type "^29.6.3" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + natural-compare "^1.4.0" + pretty-format "^29.7.0" + semver "^7.5.3" + +jest-util@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz" + integrity sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA== + dependencies: + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + ci-info "^3.2.0" + graceful-fs "^4.2.9" + picomatch "^2.2.3" + +jest-validate@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz" + integrity sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw== + dependencies: + "@jest/types" "^29.6.3" + camelcase "^6.2.0" + chalk "^4.0.0" + jest-get-type "^29.6.3" + leven "^3.1.0" + pretty-format "^29.7.0" + +jest-watcher@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz" + integrity sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g== + dependencies: + "@jest/test-result" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + emittery "^0.13.1" + jest-util "^29.7.0" + string-length "^4.0.1" + +jest-worker@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz" + integrity sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw== + dependencies: + "@types/node" "*" + jest-util "^29.7.0" + merge-stream "^2.0.0" + supports-color "^8.0.0" + +jest@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz" + integrity sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw== + dependencies: + "@jest/core" "^29.7.0" + "@jest/types" "^29.6.3" + import-local "^3.0.2" + jest-cli "^29.7.0" + +jmespath@0.16.0: + version "0.16.0" + resolved "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz" + integrity sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw== + +js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^3.13.1: + version "3.14.1" + resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +jsesc@^3.0.2: + version "3.1.0" + resolved "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz" + integrity sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +json5@^2.2.3: + version "2.2.3" + resolved "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + +just-extend@^6.2.0: + version "6.2.0" + resolved "https://registry.npmjs.org/just-extend/-/just-extend-6.2.0.tgz" + integrity sha512-cYofQu2Xpom82S6qD778jBDpwvvy39s1l/hrYij2u9AMdQcGRpaBu6kY4mVhuno5kJVi1DAz4aiphA2WI1/OAw== + +kleur@^3.0.3: + version "3.0.3" + resolved "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz" + integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== + +leven@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz" + integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== + dependencies: + p-locate "^4.1.0" + +lodash.get@^4.4.2: + version "4.4.2" + resolved "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz" + integrity sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ== + +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + +make-dir@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz" + integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== + dependencies: + semver "^7.5.3" + +makeerror@1.0.12: + version "1.0.12" + resolved "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz" + integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== + dependencies: + tmpl "1.0.5" + +math-intrinsics@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz" + integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g== + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +micromatch@^4.0.4: + version "4.0.8" + resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz" + integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== + dependencies: + braces "^3.0.3" + picomatch "^2.3.1" + +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +minimatch@^3.0.4, minimatch@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +ms@^2.1.3: + version "2.1.3" + resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz" + integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== + +nise@^5.1.5: + version "5.1.9" + resolved "https://registry.npmjs.org/nise/-/nise-5.1.9.tgz" + integrity sha512-qOnoujW4SV6e40dYxJOb3uvuoPHtmLzIk4TFo+j0jPJoC+5Z9xja5qH5JZobEPsa8+YYphMrOSwnrshEhG2qww== + dependencies: + "@sinonjs/commons" "^3.0.0" + "@sinonjs/fake-timers" "^11.2.2" + "@sinonjs/text-encoding" "^0.7.2" + just-extend "^6.2.0" + path-to-regexp "^6.2.1" + +node-domexception@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz" + integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ== + +node-fetch@^3.3.2: + version "3.3.2" + resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz" + integrity sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA== + dependencies: + data-uri-to-buffer "^4.0.0" + fetch-blob "^3.1.4" + formdata-polyfill "^4.0.10" + +node-int64@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz" + integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== + +node-releases@^2.0.19: + version "2.0.19" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz" + integrity sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw== + +normalize-path@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + +object-inspect@^1.13.3, object-inspect@^1.13.4: + version "1.13.4" + resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz" + integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +object.assign@^4.1.7: + version "4.1.7" + resolved "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz" + integrity sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw== + dependencies: + call-bind "^1.0.8" + call-bound "^1.0.3" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" + has-symbols "^1.1.0" + object-keys "^1.1.1" + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +onetime@^5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +own-keys@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/own-keys/-/own-keys-1.0.1.tgz" + integrity sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg== + dependencies: + get-intrinsic "^1.2.6" + object-keys "^1.1.1" + safe-push-apply "^1.0.0" + +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + +p-limit@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== + dependencies: + p-limit "^2.2.0" + +p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + +parse-json@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-to-regexp@^6.2.1: + version "6.3.0" + resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz" + integrity sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ== + +picocolors@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz" + integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== + +picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +pirates@^4.0.4: + version "4.0.7" + resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz" + integrity sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA== + +pkg-dir@^4.2.0: + version "4.2.0" + resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz" + integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== + dependencies: + find-up "^4.0.0" + +possible-typed-array-names@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz" + integrity sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg== + +pretty-format@^29.7.0: + version "29.7.0" + resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz" + integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ== + dependencies: + "@jest/schemas" "^29.6.3" + ansi-styles "^5.0.0" + react-is "^18.0.0" + +prompts@^2.0.1: + version "2.4.2" + resolved "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz" + integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== + dependencies: + kleur "^3.0.3" + sisteransi "^1.0.5" + +punycode@1.3.2: + version "1.3.2" + resolved "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz" + integrity sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw== + +pure-rand@^6.0.0: + version "6.1.0" + resolved "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz" + integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA== + +querystring@0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz" + integrity sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g== + +react-is@^18.0.0: + version "18.3.1" + resolved "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz" + integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg== + +reflect.getprototypeof@^1.0.6, reflect.getprototypeof@^1.0.9: + version "1.0.10" + resolved "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz" + integrity sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw== + dependencies: + call-bind "^1.0.8" + define-properties "^1.2.1" + es-abstract "^1.23.9" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + get-intrinsic "^1.2.7" + get-proto "^1.0.1" + which-builtin-type "^1.2.1" + +regexp.prototype.flags@^1.5.4: + version "1.5.4" + resolved "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz" + integrity sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA== + dependencies: + call-bind "^1.0.8" + define-properties "^1.2.1" + es-errors "^1.3.0" + get-proto "^1.0.1" + gopd "^1.2.0" + set-function-name "^2.0.2" + +require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz" + integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== + +resolve-cwd@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz" + integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== + dependencies: + resolve-from "^5.0.0" + +resolve-from@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + +resolve.exports@^2.0.0: + version "2.0.3" + resolved "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz" + integrity sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A== + +resolve@^1.20.0: + version "1.22.10" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz" + integrity sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w== + dependencies: + is-core-module "^2.16.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +safe-array-concat@^1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz" + integrity sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q== + dependencies: + call-bind "^1.0.8" + call-bound "^1.0.2" + get-intrinsic "^1.2.6" + has-symbols "^1.1.0" + isarray "^2.0.5" + +safe-push-apply@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz" + integrity sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA== + dependencies: + es-errors "^1.3.0" + isarray "^2.0.5" + +safe-regex-test@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz" + integrity sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw== + dependencies: + call-bound "^1.0.2" + es-errors "^1.3.0" + is-regex "^1.2.1" + +sax@1.2.1, sax@>=0.6.0: + version "1.2.1" + resolved "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz" + integrity sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA== + +semver@^6.3.0, semver@^6.3.1: + version "6.3.1" + resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz" + integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== + +semver@^7.5.3, semver@^7.5.4: + version "7.7.2" + resolved "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz" + integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== + +set-function-length@^1.2.2: + version "1.2.2" + resolved "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== + dependencies: + define-data-property "^1.1.4" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + gopd "^1.0.1" + has-property-descriptors "^1.0.2" + +set-function-name@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz" + integrity sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ== + dependencies: + define-data-property "^1.1.4" + es-errors "^1.3.0" + functions-have-names "^1.2.3" + has-property-descriptors "^1.0.2" + +set-proto@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz" + integrity sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw== + dependencies: + dunder-proto "^1.0.1" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +side-channel-list@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz" + integrity sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA== + dependencies: + es-errors "^1.3.0" + object-inspect "^1.13.3" + +side-channel-map@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz" + integrity sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA== + dependencies: + call-bound "^1.0.2" + es-errors "^1.3.0" + get-intrinsic "^1.2.5" + object-inspect "^1.13.3" + +side-channel-weakmap@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz" + integrity sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A== + dependencies: + call-bound "^1.0.2" + es-errors "^1.3.0" + get-intrinsic "^1.2.5" + object-inspect "^1.13.3" + side-channel-map "^1.0.1" + +side-channel@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz" + integrity sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw== + dependencies: + es-errors "^1.3.0" + object-inspect "^1.13.3" + side-channel-list "^1.0.0" + side-channel-map "^1.0.1" + side-channel-weakmap "^1.0.2" + +signal-exit@^3.0.3, signal-exit@^3.0.7: + version "3.0.7" + resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +sinon@^17.0.0: + version "17.0.1" + resolved "https://registry.npmjs.org/sinon/-/sinon-17.0.1.tgz" + integrity sha512-wmwE19Lie0MLT+ZYNpDymasPHUKTaZHUH/pKEubRXIzySv9Atnlw+BUMGCzWgV7b7wO+Hw6f1TEOr0IUnmU8/g== + dependencies: + "@sinonjs/commons" "^3.0.0" + "@sinonjs/fake-timers" "^11.2.2" + "@sinonjs/samsam" "^8.0.0" + diff "^5.1.0" + nise "^5.1.5" + supports-color "^7.2.0" + +sisteransi@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz" + integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== + +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + +source-map-support@0.5.13: + version "0.5.13" + resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz" + integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map@^0.6.0, source-map@^0.6.1: + version "0.6.1" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz" + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== + +stack-utils@^2.0.3: + version "2.0.6" + resolved "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz" + integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ== + dependencies: + escape-string-regexp "^2.0.0" + +stop-iteration-iterator@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz" + integrity sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ== + dependencies: + es-errors "^1.3.0" + internal-slot "^1.1.0" + +string-length@^4.0.1: + version "4.0.2" + resolved "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz" + integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ== + dependencies: + char-regex "^1.0.2" + strip-ansi "^6.0.0" + +string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string.prototype.trim@^1.2.10: + version "1.2.10" + resolved "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz" + integrity sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA== + dependencies: + call-bind "^1.0.8" + call-bound "^1.0.2" + define-data-property "^1.1.4" + define-properties "^1.2.1" + es-abstract "^1.23.5" + es-object-atoms "^1.0.0" + has-property-descriptors "^1.0.2" + +string.prototype.trimend@^1.0.9: + version "1.0.9" + resolved "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz" + integrity sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ== + dependencies: + call-bind "^1.0.8" + call-bound "^1.0.2" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" + +string.prototype.trimstart@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz" + integrity sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-bom@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz" + integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== + +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + +strip-json-comments@^3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + +strnum@^1.0.5: + version "1.1.2" + resolved "https://registry.npmjs.org/strnum/-/strnum-1.1.2.tgz" + integrity sha512-vrN+B7DBIoTTZjnPNewwhx6cBA/H+IS7rfW68n7XxC1y7uoiGQBxaKzqucGUgavX15dJgiGztLJ8vxuEzwqBdA== + +supports-color@^7.1.0, supports-color@^7.2.0: + version "7.2.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-color@^8.0.0: + version "8.1.1" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +test-exclude@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz" + integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== + dependencies: + "@istanbuljs/schema" "^0.1.2" + glob "^7.1.4" + minimatch "^3.0.4" + +tmpl@1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz" + integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +traverse@^0.6.6: + version "0.6.11" + resolved "https://registry.npmjs.org/traverse/-/traverse-0.6.11.tgz" + integrity sha512-vxXDZg8/+p3gblxB6BhhG5yWVn1kGRlaL8O78UDXc3wRnPizB5g83dcvWV1jpDMIPnjZjOFuxlMmE82XJ4407w== + dependencies: + gopd "^1.2.0" + typedarray.prototype.slice "^1.0.5" + which-typed-array "^1.1.18" + +tslib@^2.6.2: + version "2.8.1" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz" + integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== + +type-detect@4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz" + integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== + +type-detect@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/type-detect/-/type-detect-4.1.0.tgz" + integrity sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw== + +type-fest@^0.21.3: + version "0.21.3" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz" + integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== + +typed-array-buffer@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz" + integrity sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw== + dependencies: + call-bound "^1.0.3" + es-errors "^1.3.0" + is-typed-array "^1.1.14" + +typed-array-byte-length@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz" + integrity sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg== + dependencies: + call-bind "^1.0.8" + for-each "^0.3.3" + gopd "^1.2.0" + has-proto "^1.2.0" + is-typed-array "^1.1.14" + +typed-array-byte-offset@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz" + integrity sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ== + dependencies: + available-typed-arrays "^1.0.7" + call-bind "^1.0.8" + for-each "^0.3.3" + gopd "^1.2.0" + has-proto "^1.2.0" + is-typed-array "^1.1.15" + reflect.getprototypeof "^1.0.9" + +typed-array-length@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz" + integrity sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg== + dependencies: + call-bind "^1.0.7" + for-each "^0.3.3" + gopd "^1.0.1" + is-typed-array "^1.1.13" + possible-typed-array-names "^1.0.0" + reflect.getprototypeof "^1.0.6" + +typedarray.prototype.slice@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/typedarray.prototype.slice/-/typedarray.prototype.slice-1.0.5.tgz" + integrity sha512-q7QNVDGTdl702bVFiI5eY4l/HkgCM6at9KhcFbgUAzezHFbOVy4+0O/lCjsABEQwbZPravVfBIiBVGo89yzHFg== + dependencies: + call-bind "^1.0.8" + define-properties "^1.2.1" + es-abstract "^1.23.9" + es-errors "^1.3.0" + get-proto "^1.0.1" + math-intrinsics "^1.1.0" + typed-array-buffer "^1.0.3" + typed-array-byte-offset "^1.0.4" + +unbox-primitive@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz" + integrity sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw== + dependencies: + call-bound "^1.0.3" + has-bigints "^1.0.2" + has-symbols "^1.1.0" + which-boxed-primitive "^1.1.1" + +undici-types@~6.21.0: + version "6.21.0" + resolved "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz" + integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ== + +update-browserslist-db@^1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz" + integrity sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw== + dependencies: + escalade "^3.2.0" + picocolors "^1.1.1" + +url@0.10.3: + version "0.10.3" + resolved "https://registry.npmjs.org/url/-/url-0.10.3.tgz" + integrity sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ== + dependencies: + punycode "1.3.2" + querystring "0.2.0" + +util@^0.12.4: + version "0.12.5" + resolved "https://registry.npmjs.org/util/-/util-0.12.5.tgz" + integrity sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA== + dependencies: + inherits "^2.0.3" + is-arguments "^1.0.4" + is-generator-function "^1.0.7" + is-typed-array "^1.1.3" + which-typed-array "^1.1.2" + +uuid@8.0.0: + version "8.0.0" + resolved "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz" + integrity sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw== + +uuid@^9.0.1: + version "9.0.1" + resolved "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz" + integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== + +v8-to-istanbul@^9.0.1: + version "9.3.0" + resolved "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz" + integrity sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA== + dependencies: + "@jridgewell/trace-mapping" "^0.3.12" + "@types/istanbul-lib-coverage" "^2.0.1" + convert-source-map "^2.0.0" + +walker@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz" + integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== + dependencies: + makeerror "1.0.12" + +web-streams-polyfill@^3.0.3: + version "3.3.3" + resolved "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz" + integrity sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw== + +which-boxed-primitive@^1.1.0, which-boxed-primitive@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz" + integrity sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA== + dependencies: + is-bigint "^1.1.0" + is-boolean-object "^1.2.1" + is-number-object "^1.1.1" + is-string "^1.1.1" + is-symbol "^1.1.1" + +which-builtin-type@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz" + integrity sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q== + dependencies: + call-bound "^1.0.2" + function.prototype.name "^1.1.6" + has-tostringtag "^1.0.2" + is-async-function "^2.0.0" + is-date-object "^1.1.0" + is-finalizationregistry "^1.1.0" + is-generator-function "^1.0.10" + is-regex "^1.2.1" + is-weakref "^1.0.2" + isarray "^2.0.5" + which-boxed-primitive "^1.1.0" + which-collection "^1.0.2" + which-typed-array "^1.1.16" + +which-collection@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz" + integrity sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw== + dependencies: + is-map "^2.0.3" + is-set "^2.0.3" + is-weakmap "^2.0.2" + is-weakset "^2.0.3" + +which-typed-array@^1.1.16, which-typed-array@^1.1.18, which-typed-array@^1.1.19, which-typed-array@^1.1.2: + version "1.1.19" + resolved "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.19.tgz" + integrity sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw== + dependencies: + available-typed-arrays "^1.0.7" + call-bind "^1.0.8" + call-bound "^1.0.4" + for-each "^0.3.5" + get-proto "^1.0.1" + gopd "^1.2.0" + has-tostringtag "^1.0.2" + +which@^2.0.1: + version "2.0.2" + resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrappy@1: + version "1.0.2" + resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +write-file-atomic@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz" + integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== + dependencies: + imurmurhash "^0.1.4" + signal-exit "^3.0.7" + +xml2js@0.6.2: + version "0.6.2" + resolved "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz" + integrity sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA== + dependencies: + sax ">=0.6.0" + xmlbuilder "~11.0.0" + +xmlbuilder@~11.0.0: + version "11.0.1" + resolved "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz" + integrity sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA== + +y18n@^5.0.5: + version "5.0.8" + resolved "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz" + integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== + +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + +yargs-parser@^21.1.1: + version "21.1.1" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz" + integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== + +yargs@^17.3.1: + version "17.7.2" + resolved "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz" + integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== + dependencies: + cliui "^8.0.1" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.3" + y18n "^5.0.5" + yargs-parser "^21.1.1" + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== diff --git a/torchci/components/AISpinner.tsx b/torchci/components/AISpinner.tsx new file mode 100644 index 0000000000..51b4a0fbc2 --- /dev/null +++ b/torchci/components/AISpinner.tsx @@ -0,0 +1,201 @@ +import { keyframes } from "@emotion/react"; +import styled from "@emotion/styled"; +import { useTheme } from "@mui/material"; +import React from "react"; + +// Define animations for the cubes and sparkles +const pulse = keyframes` + 0% { transform: scale(0.8); opacity: 0.3; } + 50% { transform: scale(1); opacity: 1; } + 100% { transform: scale(0.8); opacity: 0.3; } +`; + +const float = keyframes` + 0% { transform: translateY(0) rotate(0); opacity: 0.2; } + 50% { transform: translateY(-10px) rotate(45deg); opacity: 1; } + 100% { transform: translateY(-20px) rotate(90deg); opacity: 0; } +`; + +const sparkle = keyframes` + 0% { transform: scale(0); opacity: 0; } + 50% { transform: scale(1); opacity: 1; } + 100% { transform: scale(0); opacity: 0; } +`; + +const Container = styled.div` + position: relative; + width: 70px; + height: 70px; + display: flex; + justify-content: center; + align-items: center; + margin-right: 6px; // Ensures the sparkles don't overlap with text +`; + +const CubeContainer = styled.div` + position: relative; + width: 65px; + height: 65px; + transform-style: preserve-3d; + transform: rotateX(45deg) rotateZ(45deg); +`; + +const Cube = styled.div<{ delay: number; color: string; size: string }>` + position: absolute; + width: ${(props) => props.size}; + height: ${(props) => props.size}; + background: ${(props) => props.color}; + opacity: 0.8; + border-radius: 2px; + animation: ${pulse} 1.8s ease-in-out infinite; + animation-delay: ${(props) => props.delay}s; + box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); +`; + +const Sparkle = styled.div<{ + delay: number; + color: string; + size: string; + top: string; + left: string; +}>` + position: absolute; + width: ${(props) => props.size}; + height: ${(props) => props.size}; + top: ${(props) => props.top}; + left: ${(props) => props.left}; + background: ${(props) => props.color}; + border-radius: 50%; + opacity: 0.8; + animation: ${sparkle} 2s ease-in-out infinite; + animation-delay: ${(props) => props.delay}s; + box-shadow: 0 0 8px ${(props) => props.color}; +`; + +const FloatingParticle = styled.div<{ + delay: number; + color: string; + size: string; + top: string; + left: string; +}>` + position: absolute; + width: ${(props) => props.size}; + height: ${(props) => props.size}; + top: ${(props) => props.top}; + left: ${(props) => props.left}; + background: ${(props) => props.color}; + opacity: 0; + animation: ${float} 3s ease-in-out infinite; + animation-delay: ${(props) => props.delay}s; +`; + +const AISpinner: React.FC = () => { + const theme = useTheme(); + const primaryColor = theme.palette.primary.main; + const secondaryColor = theme.palette.secondary.main; + + // Position for the 4 cubes in a grid - more square now + const cubes = [ + { top: "0px", left: "0px", delay: 0, size: "28px" }, + { top: "0px", left: "32px", delay: 0.3, size: "28px" }, + { top: "32px", left: "0px", delay: 0.6, size: "28px" }, + { top: "32px", left: "32px", delay: 0.9, size: "28px" }, + ]; + + // Create sparkles + const sparkles = [ + { + top: "-10px", + left: "20px", + delay: 0.2, + size: "6px", + color: primaryColor, + }, + { + top: "20px", + left: "-10px", + delay: 0.7, + size: "5px", + color: secondaryColor, + }, + { top: "50px", left: "20px", delay: 0.4, size: "7px", color: primaryColor }, + { + top: "20px", + left: "65px", + delay: 0.9, + size: "5px", + color: secondaryColor, + }, + { top: "70px", left: "60px", delay: 1.2, size: "4px", color: primaryColor }, + { + top: "-15px", + left: "50px", + delay: 1.5, + size: "5px", + color: secondaryColor, + }, + ]; + + // Floating particles + const particles = [ + { top: "20px", left: "5px", delay: 0.2, size: "5px", color: primaryColor }, + { + top: "15px", + left: "60px", + delay: 0.8, + size: "4px", + color: secondaryColor, + }, + { top: "55px", left: "55px", delay: 1.3, size: "6px", color: primaryColor }, + { + top: "40px", + left: "-5px", + delay: 1.7, + size: "3px", + color: secondaryColor, + }, + ]; + + return ( + + + {cubes.map((cube, index) => ( + + ))} + + + {/* Add sparkles */} + {sparkles.map((spark, index) => ( + + ))} + + {/* Add floating particles */} + {particles.map((particle, index) => ( + + ))} + + ); +}; + +export default AISpinner; diff --git a/torchci/components/McpQueryPage.tsx b/torchci/components/McpQueryPage.tsx new file mode 100644 index 0000000000..01b9c636c3 --- /dev/null +++ b/torchci/components/McpQueryPage.tsx @@ -0,0 +1,1924 @@ +import { styled } from '@mui/material/styles' +import ArrowDownwardIcon from "@mui/icons-material/ArrowDownward"; +import CheckBoxIcon from "@mui/icons-material/CheckBox"; +import CheckBoxOutlineBlankIcon from "@mui/icons-material/CheckBoxOutlineBlank"; +import ContentCopyIcon from "@mui/icons-material/ContentCopy"; +import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown"; +import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp"; +import { + Box, + Button, + Collapse, + IconButton, + Paper, + TextField, + Tooltip, + Typography, + useTheme, +} from "@mui/material"; +import { useSession } from "next-auth/react"; +import { useCallback, useEffect, useMemo, useRef, useState } from "react"; +import AISpinner from "./AISpinner"; +import ToolIcon from "./ToolIcon"; + +const McpQueryPageContainer = styled("div")({ + fontFamily: "Roboto", + padding: "20px", + maxWidth: "1200px", + margin: "0 auto", +}); + +const QuerySection = styled(Paper)({ + padding: "20px", + marginBottom: "20px", +}); + +// Use theme-aware styling for the results section +const ResultsSection = styled(Paper)(({ theme }) => ({ + padding: "20px", + minHeight: "300px", + position: "relative", + backgroundColor: theme.palette.mode === "dark" ? "#1a1a1a" : "#f5f5f5", + scrollBehavior: "smooth", // Add smooth scrolling +})); + +// Use theme-aware styling for the response text +const ResponseText = styled("div")(({ theme }) => ({ + whiteSpace: "pre-wrap", + wordBreak: "break-word", + fontFamily: "Roboto, 'Helvetica Neue', Arial, sans-serif", + margin: 0, + lineHeight: 1.5, + paddingTop: "1em", + color: theme.palette.mode === "dark" ? "#e0e0e0" : "inherit", +})); + +// Tool use block styling +const ToolUseBlock = styled(Paper)(({ theme }) => ({ + padding: "12px", + marginTop: "10px", + marginBottom: "10px", + backgroundColor: theme.palette.mode === "dark" ? "#2d3748" : "#e6f7ff", + borderLeft: `4px solid ${ + theme.palette.mode === "dark" ? "#63b3ed" : "#1890ff" + }`, + overflow: "hidden", + transition: "max-height 0.3s ease-in-out", +})); + +// Todo list styling +const TodoListBlock = styled(Paper)(({ theme }) => ({ + padding: "8px 12px", + marginTop: "12px", + marginBottom: "12px", + backgroundColor: theme.palette.mode === "dark" ? "#2d2d3a" : "#f7f9fc", + borderLeft: `4px solid ${ + theme.palette.mode === "dark" ? "#9c27b0" : "#673ab7" + }`, + overflow: "hidden", +})); + +const TodoListTitle = styled(Typography)(({ theme }) => ({ + fontFamily: "Roboto, 'Helvetica Neue', Arial, sans-serif", + fontWeight: 500, + marginBottom: "8px", +})); + +const TodoItem = styled(Box)<{ status: string }>(({ theme, status }) => ({ + display: "flex", + alignItems: "flex-start", + marginBottom: "2px", + padding: "2px 0", + textDecoration: status === "completed" ? "line-through" : "none", + color: + status === "completed" + ? theme.palette.mode === "dark" + ? "#72bb72" + : "#2e7d32" + : status === "in_progress" + ? theme.palette.mode === "dark" + ? "#f0c674" + : "#ed6c02" + : "inherit", + fontWeight: status === "in_progress" ? "bold" : "normal", +})); + +const ToolName = styled(Typography)(({ theme }) => ({ + fontWeight: "bold", + marginBottom: "8px", + color: theme.palette.mode === "dark" ? "#90cdf4" : "#0050b3", +})); + +const ToolInput = styled("pre")(({ theme }) => ({ + whiteSpace: "pre-wrap", + wordBreak: "break-word", + fontFamily: "monospace", + margin: 0, + fontSize: "0.9em", + padding: "8px", + backgroundColor: theme.palette.mode === "dark" ? "#1a202c" : "#f0f7ff", + borderRadius: "4px", + color: theme.palette.mode === "dark" ? "#e2e8f0" : "#333", +})); + +const ChunkMetadata = styled(Typography)(({ theme }) => ({ + fontSize: "0.75em", + color: + theme.palette.mode === "dark" + ? "rgba(255, 255, 255, 0.5)" + : "rgba(0, 0, 0, 0.5)", + textAlign: "right", + marginTop: "4px", + marginBottom: "16px", + fontFamily: "Roboto, 'Helvetica Neue', Arial, sans-serif", +})); + +const LoaderWrapper = styled(Box)(({ theme }) => ({ + display: "flex", + alignItems: "center", + justifyContent: "center", + padding: "20px 25px", // More horizontal padding for the wider spinner + marginTop: "20px", + marginBottom: "20px", + backgroundColor: + theme.palette.mode === "dark" + ? "rgba(255, 255, 255, 0.05)" + : "rgba(0, 0, 0, 0.03)", + borderRadius: "16px", // Larger radius + boxShadow: + theme.palette.mode === "dark" + ? "0 4px 12px rgba(0, 0, 0, 0.2)" + : "0 4px 12px rgba(0, 0, 0, 0.05)", + border: `1px solid ${ + theme.palette.mode === "dark" + ? "rgba(255, 255, 255, 0.1)" + : "rgba(0, 0, 0, 0.05)" + }`, + transition: "all 0.3s ease-in-out", + overflow: "visible", // Allow sparkles to overflow +})); + +const GrafanaChartContainer = styled(Box)(({ theme }) => ({ + marginTop: "15px", + marginBottom: "15px", + borderRadius: "4px", + border: `1px solid ${theme.palette.divider}`, + overflow: "hidden", +})); + +const ChartHeader = styled(Box)(({ theme }) => ({ + padding: "10px", + display: "flex", + justifyContent: "space-between", + alignItems: "center", + borderBottom: `1px solid ${theme.palette.divider}`, + backgroundColor: theme.palette.mode === "dark" ? "#1f1f1f" : "#f5f5f5", +})); + +const ScrollToBottomButton = styled(Button)(({ theme }) => ({ + position: "fixed", + bottom: "20px", + right: "20px", + width: "48px", + height: "48px", + minWidth: "48px", // Ensure consistent size (MUI button default is larger) + borderRadius: "50%", + backgroundColor: theme.palette.primary.main, + color: "white", + display: "flex", + justifyContent: "center", + alignItems: "center", + cursor: "pointer", + zIndex: 2000, // Higher z-index to ensure it's above everything + boxShadow: "0 4px 8px rgba(0, 0, 0, 0.3)", + transition: "all 0.2s ease-in-out", + padding: 0, // Remove default button padding + "&:hover": { + backgroundColor: theme.palette.primary.dark, + transform: "scale(1.1)", + boxShadow: "0 6px 10px rgba(0, 0, 0, 0.4)", + }, +})); + +// Component for embedding Grafana charts +const GrafanaEmbed = ({ dashboardId }: { dashboardId: string }) => { + const { themeMode, darkMode } = useDarkMode(); + + // Set theme parameter based on dark mode context + let chartTheme = "light"; + if (themeMode === "system") { + chartTheme = darkMode ? "dark" : "light"; + } else { + chartTheme = themeMode; + } + + // Replace the host with our proxy + // This assumes your API proxy setup is consistent with other dashboard embeds + const dashboardUrl = `https://disz2yd9jqnwc.cloudfront.net/public-dashboards/${dashboardId}?theme=${chartTheme}`; + + return ( + + + Grafana Dashboard + + + +